1 2014-06-26 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14 Identical file removed.
15 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
19 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
20 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
21 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
22 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
23 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
28 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
36 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
38 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
39 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40 Identical file removed.
41 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
43 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
44 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
45 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
49 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
50 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
51 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
52 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
53 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
54 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
55 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
56 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
57 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
58 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
59 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
62 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
64 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
65 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
66 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
67 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
70 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
71 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
73 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
75 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
76 * sysdeps/unix/sysv/linux/s390/Versions
77 (libpthread: GLIBC_2.19): New version set.
78 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
79 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
80 (librt: GLIBC_2.3.3): New version set.
81 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
82 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
83 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
84 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
85 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
86 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
87 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
88 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
89 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
90 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
91 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
92 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
93 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
94 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
95 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
96 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
97 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
98 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
99 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
100 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
101 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
102 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
103 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
104 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
105 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
106 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
107 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
108 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
109 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
110 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
111 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
112 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
113 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
114 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
115 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
116 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
117 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
118 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
119 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
120 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
121 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
122 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
123 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
124 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
125 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
127 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
128 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
129 (__libc_vfork): Define the function under this name.
130 [!NOT_IN_libc] (__vfork): Make this an alias.
131 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
132 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
133 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
134 (__libc_vfork): Define the function under this name.
135 [!NOT_IN_libc] (__vfork): Make this an alias.
136 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
137 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
138 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
139 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
140 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
141 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
143 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
144 code that was previously under [RESET_PID].
145 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
146 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
147 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
149 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
150 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
151 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
152 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
153 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
154 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
155 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
156 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
157 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
158 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
159 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
161 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
162 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
163 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
164 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
165 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
166 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
167 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
168 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
169 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
170 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
171 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
172 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
173 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
174 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
175 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
176 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
177 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
178 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
179 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
180 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
181 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
182 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
183 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
184 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
185 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
186 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
187 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
188 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
189 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
191 2014-06-25 Roland McGrath <roland@hack.frob.com>
193 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
194 that was previously under [RESET_PID].
195 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
197 2014-06-25 Joseph Myers <joseph@codesourcery.com>
199 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
200 not undefine and redefine.
201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
202 [O_CLOEXEC]: Make code unconditional.
203 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
204 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
206 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
207 conditional variable definition.
208 (shm_open) [O_CLOEXEC]: Make code unconditional.
209 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
212 * configure.ac (USE_REGPARMS): Don't define here.
213 * configure: Regenerated.
214 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
215 * sysdeps/i386/configure: Regenerated.
217 * nptl/createthread.c: Don't include kernel-features.h.
218 * nptl/pthread_cancel.c: Likewise.
219 * nptl/pthread_condattr_setclock.c: Likewise.
220 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
221 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
222 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
223 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
224 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
225 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
226 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
228 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
229 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
230 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
231 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
232 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
233 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
234 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
235 * nscd/gai.c: Likewise.
236 * nss/nss_db/db-open.c: Likewise.
237 * sysdeps/generic/ldsodefs.h: Likewise.
238 * sysdeps/sh/nptl/tls.h: Likewise.
239 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
240 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
241 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
242 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
243 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
244 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
245 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
246 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
247 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
248 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
249 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
250 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
251 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
252 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
253 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
254 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
255 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
256 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
257 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
258 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
259 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
260 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
261 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
262 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
263 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
264 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
265 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
266 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
267 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
268 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
269 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
270 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
271 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
272 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
273 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
274 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
275 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
276 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
277 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
278 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
279 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
280 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
281 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
282 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
283 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
284 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
285 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
286 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
287 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
288 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
289 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
290 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
291 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
292 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
293 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
294 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
295 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
296 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
319 * sysdeps/unix/sysv/linux/pread.c: Likewise.
320 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
321 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
322 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
323 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
324 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
325 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
326 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
327 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
328 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
329 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
330 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
331 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
332 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
333 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
334 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
335 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
336 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
337 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
338 * sysdeps/unix/sysv/linux/system.c: Likewise.
339 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
340 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
341 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
342 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
343 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
344 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
345 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
347 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
348 * configure: Regenerated.
349 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
351 * configure.ac (base_machine): Do not set specially for particular
353 * configure: Regenerated.
354 * sysdeps/powerpc/preconfigure: Move machine and base_machine
355 settings from configure.ac.
356 * sysdeps/i386/preconfigure: New file.
357 * sysdeps/s390/preconfigure: Likewise.
358 * sysdeps/sh/preconfigure: Likewise.
359 * sysdeps/sparc/preconfigure: Likewise.
361 2014-06-25 Roland McGrath <roland@hack.frob.com>
363 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
364 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
365 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
366 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
367 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
368 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
369 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
370 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
371 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
372 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
373 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
374 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
375 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
376 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
377 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
378 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
379 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
380 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
381 * sysdeps/sparc/sparc64/Makefile: ... appended here.
383 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
384 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
385 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
386 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
387 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
388 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
389 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
390 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
391 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
392 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
393 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
394 * sysdeps/sparc/sparc32/sem_post.c: ... here.
395 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
396 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
397 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
398 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
399 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
400 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
401 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
402 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
403 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
404 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
405 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
406 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
407 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
408 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
409 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
410 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
411 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
412 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
413 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
414 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
415 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
416 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
417 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
418 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
419 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
420 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
423 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
425 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
428 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
431 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
433 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
436 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
438 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
440 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
442 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
445 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
448 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
450 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
453 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
455 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
457 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
459 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
461 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
464 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
467 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
469 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
472 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
476 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
478 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
481 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
484 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
486 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
489 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
491 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
493 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
495 2014-06-25 Joseph Myers <joseph@codesourcery.com>
497 * timezone/checktab.awk: Update from tzcode 2014e.
498 * timezone/private.h: Likewise.
499 * timezone/tzfile.h: Likewise.
500 * timezone/zdump.c: Likewise.
501 * timezone/zic.c: Likewise.
503 * sysdeps/unix/sysv/linux/kernel-features.h
504 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
505 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
506 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
507 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
508 Remove conditional code.
510 2014-06-25 Will Newton <will.newton@linaro.org>
512 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
513 (_dl_arm_cap_flags): Add HWCAP2 values.
514 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
515 (_DL_HWCAP_COUNT): Increase to 37.
516 (_DL_HWCAP_LAST): New define.
517 (_DL_HWCAP2_LAST): New define.
518 (_dl_procinfo): Add support for printing
520 (_dl_string_hwcap): Use _dl_hwcap_string.
522 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
526 2014-06-25 Joseph Myers <joseph@codesourcery.com>
528 * README: Do not mention ports directory.
530 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
532 * sysdeps/unix/sysv/linux/futimes.c: Do not include
534 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
535 conditional variable definition.
536 (__futimes): Update comment.
537 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
538 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
541 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
542 arguments close to 0.
543 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
545 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
547 * math/auto-libm-test-in: Add more tests of exp10.
548 * math/auto-libm-test-out: Regenerated.
549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
551 * sysdeps/unix/sysv/linux/kernel-features.h
552 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
553 * sysdeps/unix/sysv/linux/readv.c: Do not include
555 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
556 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
557 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
559 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
561 * sysdeps/unix/sysv/linux/writev.c: Do not include
563 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
564 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
565 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
567 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
570 2014-06-25 Will Newton <will.newton@linaro.org>
572 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
573 comment changes throughout the file. Remove checks
574 for HAVE_*_H definitions that are not required.
575 (__gen_tempname): Call abort if an unknown kind value is
578 2014-06-25 Andreas Schwab <schwab@suse.de>
581 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
582 scalbln, scalblnf, scalblnl in libc.
584 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
587 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
588 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
589 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
591 2014-06-24 Roland McGrath <roland@hack.frob.com>
593 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
594 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
595 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
596 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
598 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
599 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
601 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
602 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
603 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
604 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
605 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
606 * sysdeps/x86/bits/pthreadtypes.h: ... here.
607 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
608 * sysdeps/x86/bits/semaphore.h: ... here.
609 * sysdeps/x86/nptl/elide.h: Moved ...
610 * sysdeps/x86/elide.h: ... here.
611 * sysdeps/x86_64/nptl/Implies: File removed.
612 * sysdeps/i386/nptl/Implies: File removed.
614 2014-06-24 Joseph Myers <joseph@codesourcery.com>
617 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
618 return the argument for normal arguments with exponent below -64.
619 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
621 * math/auto-libm-test-in: Add another test of expm1.
622 * math/auto-libm-test-out: Regenerated.
625 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
626 calling __erfcl for arguments at least 16.
627 * math/auto-libm-test-in: Add more tests of erf.
628 * math/auto-libm-test-out: Regenerated.
630 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
631 individual architectures.
632 * sysdeps/unix/sysv/linux/configure: Regenerated.
633 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
634 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
635 * sysdeps/unix/sysv/linux/powerpc/configure.ac
636 (ldd_rewrite_script): Define variable.
637 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
642 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
643 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
644 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
645 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
646 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
647 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
648 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
649 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
651 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
654 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
655 Rename member __data.d to __data.__elision_data.
657 2014-06-24 Wilco <wdijkstr@arm.com>
659 * NEWS: Add 16918 to fixed bug list.
661 2014-06-24 Wilco <wdijkstr@arm.com>
663 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
665 2014-06-24 Wilco <wdijkstr@arm.com>
667 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
668 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
669 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
670 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
671 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
672 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
673 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
676 2014-06-24 Wilco <wdijkstr@arm.com>
678 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
680 2014-06-24 Wilco <wdijkstr@arm.com>
682 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
683 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
684 * sysdeps/arm/fesetround.c (fesetround): Remove space.
685 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
687 2014-06-24 Wilco <wdijkstr@arm.com>
690 * sysdeps/arm/feupdateenv.c (feupdateenv):
691 Rewrite to reduce FPSCR accesses and fix return value.
693 2014-06-24 Wilco <wdijkstr@arm.com>
695 * sysdeps/arm/fclrexcpt.c (feclearexcept):
696 Optimize to avoid unnecessary FPSCR writes.
697 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
698 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
699 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
700 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
702 2014-06-24 Wilco <wdijkstr@arm.com>
704 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
705 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
706 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
707 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
708 Call libc_fetestexcept_vfp.
709 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
710 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
711 __SOFTFP__ ifdef so that they can be built for softfp.
713 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
715 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
716 argument type signed char.
718 * Makerules (check-abi): Dump diff of symlist if the test
721 2014-06-23 Roland McGrath <roland@hack.frob.com>
723 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
726 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
727 Remove unused variable ST.
729 2014-06-23 Joseph Myers <joseph@codesourcery.com>
733 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
734 small arguments before calling __expm1.
735 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
736 small arguments before calling __expm1f.
737 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
738 small arguments before calling __expm1l.
739 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
741 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
742 * math/auto-libm-test-in: Add more cosh tests. Do not allow
743 spurious underflow for some cosh tests.
744 * math/auto-libm-test-out: Regenerated.
745 * sysdeps/i386/fpu/libm-test-ulps: Update.
748 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
749 (__ieee754_y1): Set errno if return value overflows.
750 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
751 (__ieee754_y1f): Set errno if return value overflows.
752 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
753 (__ieee754_y1l): Set errno if return value overflows.
754 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
755 (__ieee754_y1l): Set errno if return value overflows.
756 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
757 * math/auto-libm-test-out: Regenerated.
759 * math/gen-auto-libm-tests.c: Document use of
760 ignore-zero-inf-sign.
761 (input_flag_type): Add value flag_ignore_zero_inf_sign.
762 (input_flags): Add ignore-zero-inf-sign.
763 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
764 * math/gen-libm-test.pl (generate_testfile): Handle
765 ignore-zero-inf-sign.
766 * math/auto-libm-test-in: Mark some cpow tests with
767 ignore-zero-inf-sign and some with xfail-rounding.
768 * math/auto-libm-test-out: Regenerated.
769 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
770 * sysdeps/i386/fpu/libm-test-ulps: Update.
771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
774 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
775 overflowing or underflowing operations take place with sign of
777 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
778 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
779 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
780 (__ieee754_pow): Recompute overflowing and underflowing results in
781 original rounding mode.
782 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
783 (__powl_helper): Allow negative argument X and scale negated value
784 as needed. Avoid passing value outside [-1, 1] to f2xm1.
785 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
786 overflowing or underflowing operations take place with sign of
788 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
790 * math/auto-libm-test-in: Add more tests of pow.
791 * math/auto-libm-test-out: Regenerated.
792 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
793 (pow_tonearest_test_data): Remove.
794 (pow_test_tonearest): Likewise.
795 (pow_towardzero_test_data): Likewise.
796 (pow_test_towardzero): Likewise.
797 (pow_downward_test_data): Likewise.
798 (pow_test_downward): Likewise.
799 (pow_upward_test_data): Likewise.
800 (pow_test_upward): Likewise.
801 (main): Don't call removed functions.
802 * sysdeps/i386/fpu/libm-test-ulps: Update.
803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
805 2014-06-23 Roland McGrath <roland@hack.frob.com>
807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
981 2014-06-23 Will Newton <will.newton@linaro.org>
982 Wilco <wdijkstr@arm.com>
984 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
985 implementation. Include get-rounding-mode.h.
986 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
987 [!libc_feholdsetround_noex_ctx]: Define
988 libc_feholdsetround_noex_ctx.
989 [!libc_feholdsetround_noexf_ctx]: Define
990 libc_feholdsetround_noexf_ctx.
991 [!libc_feholdsetround_noexl_ctx]: Define
992 libc_feholdsetround_noexl_ctx.
993 (libc_feholdsetround_ctx): New function.
994 (libc_feresetround_ctx): New function.
995 (libc_feholdsetround_noex_ctx): New function.
996 (libc_feresetround_noex_ctx): New function.
998 2014-06-23 Roland McGrath <roland@hack.frob.com>
1000 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1001 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1002 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1003 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1004 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1005 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1007 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1008 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1009 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1010 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1011 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1012 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1013 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1014 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1015 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1016 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1017 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1019 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1021 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1022 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1023 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1024 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1025 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1027 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1028 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1029 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1030 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1031 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1032 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1033 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1034 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1036 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1037 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1039 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1040 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1041 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1042 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1044 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1045 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1046 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1047 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1048 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1049 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1050 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1051 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1052 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1053 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1055 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1057 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1058 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1059 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1060 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1061 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1062 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1063 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1064 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1065 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1066 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1067 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1068 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1069 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1071 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1072 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1073 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1074 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1075 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1076 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1078 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1079 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1080 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1081 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1082 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1084 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1085 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1086 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1087 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1088 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1089 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1090 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1091 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1093 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1094 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1095 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1096 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1097 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1099 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1100 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1101 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1102 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1103 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1104 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1105 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1106 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1107 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1108 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1109 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1110 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1111 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1113 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1115 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1116 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1117 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1118 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1119 (IPV6_PMTUDISC_INTERFACE): Likewise.
1120 (IPV6_PMTUDISC_OMIT): Likewise.
1122 2014-06-23 Andreas Schwab <schwab@suse.de>
1124 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1125 Remove unused errout label.
1127 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1129 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1130 macro: hardware supports Vector Crypto instructions.
1132 2014-06-23 Will Newton <will.newton@linaro.org>
1134 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1135 rather than __builtin_expect.
1137 * elf/dl-lookup.c (undefined_msg): Remove variable.
1138 (_dl_lookup_symbol_x): Replace undefined_msg with string
1141 * elf/dl-lookup.c (do_lookup_unique): New function.
1142 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1143 to a separate function.
1145 2014-06-23 Andreas Schwab <schwab@suse.de>
1148 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1149 before reading the next line.
1151 2014-06-23 Will Newton <will.newton@linaro.org>
1153 * test-skeleton.c (signal_handler): Use printf and %m
1154 rather than perror. Use printf rather than fprintf to
1155 stderr. Use puts rather than fputs to stderr.
1158 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1160 * nscd/nscd.c (thread_info_t): Remove typedef.
1161 (thread_info): Remove variable.
1163 2014-06-21 Allan McRae <allan@archlinux.org>
1165 * NEWS: Mention CVE-2014-4043.
1167 2014-06-20 Roland McGrath <roland@hack.frob.com>
1169 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1170 * nptl/smp.h: ... here.
1172 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1174 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1175 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1176 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1177 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1179 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1180 * nptl/stack-aliasing.h: New file.
1181 * sysdeps/i386/i686/stack-aliasing.h: New file.
1182 * sysdeps/i386/i686/nptl/Makefile: File removed.
1183 * sysdeps/x86_64/stack-aliasing.h: New file.
1184 * sysdeps/x86_64/nptl/Makefile
1185 (CFLAGS-pthread_create.c): Variable removed.
1187 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1188 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1190 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1191 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1194 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1196 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1197 (__ASSUME_SIGFRAME_V2): Remove macro.
1198 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1199 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1200 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1201 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1202 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1203 Declare as function. Remove conditional macro definitions.
1204 (__default_rt_sa_restorer): Likewise.
1205 (__default_sa_restorer_v1): Remove declaration.
1206 (__default_sa_restorer_v2): Likewise.
1207 (__default_rt_sa_restorer_v1): Likewise.
1208 (__default_rt_sa_restorer_v2): Likewise.
1209 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1210 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1211 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1213 2014-06-20 Roland McGrath <roland@hack.frob.com>
1215 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1216 (libpthread-routines): Add sysdep.
1217 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1218 * sysdeps/unix/sysv/linux/sparc/Versions
1219 (libpthread: GLIBC_2.3.3): New version set.
1220 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1221 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1222 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1223 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1224 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1225 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1227 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1228 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1229 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1230 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1231 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1232 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1233 * sysdeps/sparc/nptl/sem_init.c: ... here.
1234 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1235 * sysdeps/sparc/nptl/sem_post.c: ... here.
1236 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1237 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1238 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1239 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1240 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1241 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1242 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1243 (libpthread-routines): Add cpu_relax.
1244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1246 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1247 (librt: GLIBC_2.3.3): New version set.
1248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1249 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1250 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1251 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1253 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1254 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1257 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1259 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1260 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1261 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1263 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1264 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1265 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1268 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1272 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1276 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1280 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1284 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1286 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1288 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1291 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1292 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1294 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1295 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1296 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1297 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1298 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1299 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1300 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1302 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1303 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1304 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1305 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1306 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1308 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1310 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1311 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1312 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1313 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1314 * nscd/nscd.c: Likewise.
1315 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1316 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1317 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1318 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1320 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1321 <kernel-features.h>.
1322 (init_mq_netlink): Remove conditional have_sock_cloexec
1323 definitions. Remove code conditional on have_sock_cloexec < 0.
1324 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1325 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1326 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1327 <kernel-features.h>.
1328 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1329 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1331 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1334 Add tests for memset_chk and memset.
1336 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1339 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1342 * elf/tst-dl-iter-static.c: New file.
1343 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1345 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1348 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1350 * sysdeps/unix/sysv/linux/kernel-features.h
1351 (__ASSUME_F_GETOWN_EX): Remove macro.
1352 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1353 <kernel-features.h>.
1354 (miss_F_GETOWN_EX): Remove variable or macro.
1355 (do_fcntl): Do not check miss_F_GETOWN_EX.
1356 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1358 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1361 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1362 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1364 * sysdeps/unix/sysv/linux/kernel-features.h
1365 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1366 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1367 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1368 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1370 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1373 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1374 Fix calculation of the symbol's value.
1375 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1376 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1377 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1378 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1379 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1380 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1381 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1382 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1383 (modules-names): Add `tst-armtlsdescmod',
1384 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1385 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1386 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1387 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1388 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1389 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1390 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1391 ($(objpfx)tst-armtlsdescloc): New dependency.
1392 ($(objpfx)tst-armtlsdescextnow): Likewise.
1393 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1394 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1396 * sysdeps/arm/configure: Regenerate.
1398 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1400 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1401 (__atfct_seterrno_2): Likewise.
1402 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1403 <kernel-features.h>.
1404 (__ASSUME_ATFCTS): Do not undefine and redefine.
1405 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1406 (__have_atfcts): Remove conditional definition.
1407 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1408 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1409 unreachable if [__ASSUME_ATFCTS].
1410 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1411 not undefine and redefine.
1412 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1413 <kernel-features.h>.
1414 (faccessat) [__NR_faccessat]: Make code unconditional.
1415 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1416 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1417 <kernel-features.h>.
1418 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1419 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1420 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1421 <kernel-features.h>.
1422 (fchownat) [__NR_fchownat]: Make code unconditional.
1423 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1424 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1425 <kernel-features.h>.
1426 (futimesat) [__NR_futimesat]: Make code unconditional.
1427 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1428 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1429 <kernel-features.h>.
1430 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1431 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1432 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1433 <kernel-features.h>.
1434 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1435 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1436 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1437 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1438 <kernel-features.h>.
1439 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1440 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1441 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1442 <kernel-features.h>.
1443 (linkat) [__NR_linkat]: Make code unconditional.
1444 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1445 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1446 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1447 <kernel-features.h>.
1448 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1449 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1450 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1451 <kernel-features.h>.
1452 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1453 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1454 * sysdeps/unix/sysv/linux/openat.c: Do not include
1455 <kernel-features.h>.
1456 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1457 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1458 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1459 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1460 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1461 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1462 <kernel-features.h>.
1463 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1464 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1465 result of INLINE_SYSCALL directly, not via int variable.
1466 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1467 <kernel-features.h>.
1468 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1469 (renameat) [__NR_renameat]: Make code unconditional.
1470 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1471 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1472 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1473 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1474 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1475 (__ASSUME_ATFCTS): Do not undefine and redefine.
1476 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1477 <kernel-features.h>.
1478 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1479 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1480 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1481 <kernel-features.h>.
1482 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1483 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1484 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1485 (__ASSUME_ATFCTS): Do not undefine and redefine.
1486 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1487 <kernel-features.h>.
1488 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1489 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1490 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1491 <kernel-features.h>.
1492 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1493 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1495 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1497 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1499 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1502 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1503 constructed tree before returning error.
1504 * posix/bug-regexp36.c: Expand test case.
1506 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1509 * math/libm-test.inc (scalbln_test_date):
1510 Add errno expectations.
1511 * math/w_scalblnf.c: New File.
1512 Add wrapper which checks for setting errno to ERANGE.
1513 Add weak_alias for corresponding scalbln function.
1514 * math/w_scalbln.c: Likewise.
1515 * math/w_scalblnl.c: Likewise.
1516 * math/Makefile (libm-calls): Add w_scalbln.
1517 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1518 Remove weak_alias for corresponding scalbln function.
1519 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1520 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1521 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1523 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1524 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1525 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1526 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1527 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1528 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1529 Remove long_double_symbol for scalblnl function in libm, libc.
1530 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1531 Add wrapper which checks for setting errno to ERANGE.
1532 Add long_double_symbol for scalblnl function in libm, libc.
1533 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1534 Remove long_double_symbol for scalblnl in libm.
1535 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1536 Add wrapper which checks for setting errno to ERANGE.
1537 Add long_double_symbol for scalblnl function in libm.
1538 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1539 Do not use wrapper because of own implementation.
1541 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1543 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1544 3 bytes for __pad1 for x32.
1545 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1547 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1548 H.J. Lu <hongjiu.lu@intel.com>
1550 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1551 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1552 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1553 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1554 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1556 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1559 * posix/regcomp.c (parse_expression): Deallocate partially
1560 constructed tree before returning error.
1561 * posix/Makefile.c (tests): Add bug-regex36.
1562 (generated): Add bug-regex36.mtrace.
1563 (tests-special): Add $(objpfx)bug-regex36-mem.out
1564 (bug-regex36-ENV): New variable.
1565 ($(objpfx)bug-regex36-mem.out): New rule.
1566 * posix/bug-regex36.c: New file.
1568 2014-06-19 Will Newton <will.newton@linaro.org>
1570 * malloc/malloc.c (systrim): If extra is zero then return
1573 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1575 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1577 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1579 * sysdeps/aarch64/strchr.S: New file.
1581 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1584 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1585 from arguments -2 or below.
1586 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1587 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1589 2014-06-18 Andreas Schwab <schwab@suse.de>
1592 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1593 of a bracket expr not to run off the end of the string.
1594 * posix/Makefile (tests): Add tst-fnmatch3.
1595 * posix/tst-fnmatch3.c: New file.
1597 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1599 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1600 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1601 [$(cross-compiling) = no]: Likewise.
1602 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1603 [$(cross-compiling) = no]: Likewise.
1605 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1608 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1609 double, adjusted for any remainder from the high double.
1610 * math/libm-test.inc (nearbyint): Add tests.
1613 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1615 * nptl/sysdeps/powerpc/Makefile: Moved ...
1616 * sysdeps/powerpc/nptl/Makefile: ... here.
1617 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1618 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1619 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1620 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1621 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1622 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1623 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1624 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1625 * nptl/sysdeps/powerpc/tls.h: Moved ...
1626 * sysdeps/powerpc/nptl/tls.h: ... here.
1628 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1631 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1632 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1633 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1634 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1635 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1636 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1637 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1638 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1639 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1641 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1643 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1645 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1647 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1650 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1653 2014-06-16 Florian Weimer <fweimer@redhat.com>
1656 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1657 non-executed part of the test.
1659 2014-06-16 Andreas Schwab <schwab@suse.de>
1661 * string/bits/string2.h (strdup, strndup): Update feature guard.
1663 2014-06-14 David S. Miller <davem@davemloft.net>
1665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1667 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1669 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1670 that was previously under [RESET_PID].
1671 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1673 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1674 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1675 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1676 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1677 (__libc_vfork): New strong alias.
1678 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1680 2014-06-14 Andi Kleen <ak@linux.intel.com>
1682 * sysdeps/generic/elide.h: New file.
1684 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1686 * Makefile (installed-headers): Adjust path of pthread.h header.
1688 2014-06-13 Roland McGrath <roland@hack.frob.com>
1690 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1691 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1692 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1693 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1695 * nptl/sysdeps/s390/Makefile: Moved ...
1696 * sysdeps/s390/nptl/Makefile: ... here.
1697 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1698 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1699 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1700 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1701 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1702 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1703 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1704 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1705 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1706 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1707 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1708 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1709 * nptl/sysdeps/s390/tls.h: Moved ...
1710 * sysdeps/s390/nptl/tls.h: ... here.
1712 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1713 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1715 2014-06-13 David S. Miller <davem@davemloft.net>
1717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1720 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1724 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1725 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1726 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1727 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1728 Remove RESET_PID cpp guards.
1729 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1730 Remove RESET_PID cpp guards.
1731 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1733 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1735 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1738 2014-06-13 Andi Kleen <ak@linux.intel.com>
1740 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1741 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1742 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1743 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1744 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1745 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1746 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1747 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1748 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1749 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1750 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1751 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1752 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1753 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1754 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1755 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1756 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1757 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1758 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1759 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1761 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1762 (pthread_rwlock_rdlock): Add elision.
1763 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1764 (pthread_rwlock_wrlock): Add elision.
1765 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1766 (pthread_rwlock_trywrlock): Add elision.
1767 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1768 (pthread_rwlock_tryrdlock): Add elision.
1769 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1770 (pthread_rwlock_tryrdlock): Add elision unlock.
1771 * nptl/sysdeps/pthread/pthread.h:
1772 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1773 (PTHREAD_RWLOCK_INITIALIZER,
1774 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1775 Handle new elision field.
1776 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1777 * sysdeps/arm/nptl/bits/pthreadtypes.h
1778 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1779 * sysdeps/sh/nptl/bits/pthreadtypes.h
1780 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1781 * sysdeps/tile/nptl/bits/pthreadtypes.h
1782 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1783 * sysdeps/a/nptl/bits/pthreadtypes.h
1784 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1785 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1786 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1787 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1788 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1789 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1790 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1791 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1792 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1793 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1794 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1795 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1796 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1797 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1798 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1799 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1800 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1801 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1802 (elision_init): Set try_xbegin to zero when no RTM.
1803 * sysdeps/x86/nptl/bits/pthreadtypes.h
1804 (pthread_rwlock_t): Change __pad1 to __rwelision.
1805 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1807 2014-06-13 Andi Kleen <ak@linux.intel.com>
1809 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1810 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1811 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1812 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1814 2014-06-13 Meador Inge <meadori@codesourcery.com>
1817 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1818 that the cached result has been set before returning it.
1820 2014-06-12 Roland McGrath <roland@hack.frob.com>
1822 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1823 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1824 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1825 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1827 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1829 * nptl/sysdeps/sparc/Makefile: Moved ...
1830 * sysdeps/sparc/nptl/Makefile: ... here.
1831 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1832 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1833 * nptl/sysdeps/sparc/tls.h: Moved ...
1834 * sysdeps/sparc/nptl/tls.h: ... here.
1835 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1836 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1837 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1838 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1839 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1840 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1841 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1842 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1843 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1844 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1845 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1846 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1847 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1848 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1849 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1850 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1851 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1852 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1854 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1855 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1857 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1858 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1860 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1861 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1864 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1866 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1867 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1869 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1870 (struct list_links): Type removed.
1871 (struct thread_node, struct timer_node): Replace struct list_links
1872 with struct list_head.
1873 (list_unlink_ip): Likewise.
1874 * sysdeps/pthread/timer_routines.c
1875 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1876 (list_append, list_insbefore): Likewise.
1877 (list_init): Function removed.
1878 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1879 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1880 * sysdeps/pthread/Makefile: ... here, new file.
1882 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1883 * sysdeps/nptl/Implies: ... here.
1884 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1885 * nptl/sysdeps/pthread/list.h: Moved ...
1886 * include/list.h: ... here.
1887 * nptl/sysdeps/pthread/createthread.c: Moved ...
1888 * nptl/createthread.c: ... here.
1889 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1890 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1891 * nptl/pt-longjmp.c: ... here.
1892 * nptl/sysdeps/pthread/Makefile: Moved ...
1893 * sysdeps/nptl/Makefile: ... here.
1894 * nptl/sysdeps/pthread/Subdirs: Moved ...
1895 * sysdeps/nptl/Subdirs: ... here.
1896 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1897 * sysdeps/nptl/aio_misc.h: ... here.
1898 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1899 * sysdeps/nptl/bits/libc-lock.h: ... here.
1900 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1901 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1902 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1903 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1904 * nptl/sysdeps/pthread/configure: Moved ...
1905 * sysdeps/nptl/configure: ... here.
1906 * nptl/sysdeps/pthread/configure.ac: Moved ...
1907 * sysdeps/nptl/configure.ac: ... here.
1908 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1909 * sysdeps/nptl/gai_misc.h: ... here.
1910 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1911 * sysdeps/nptl/librt-cancellation.c: ... here.
1912 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1913 * sysdeps/nptl/malloc-machine.h: ... here.
1914 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1915 * sysdeps/nptl/pthread-functions.h: ... here.
1916 * nptl/sysdeps/pthread/pthread.h: Moved ...
1917 * sysdeps/nptl/pthread.h: ... here.
1918 * nptl/sysdeps/pthread/setxid.h: Moved ...
1919 * sysdeps/nptl/setxid.h: ... here.
1920 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1921 * sysdeps/nptl/sigfillset.c: ... here.
1922 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1923 * sysdeps/nptl/tcb-offsets.h: ... here.
1924 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1925 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1926 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1927 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1928 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1929 * sysdeps/pthread/allocalim.h: ... here.
1930 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1931 * sysdeps/pthread/bits/sigthread.h: ... here.
1932 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1933 * sysdeps/pthread/flockfile.c: ... here.
1934 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1935 * sysdeps/pthread/ftrylockfile.c: ... here.
1936 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1937 * sysdeps/pthread/funlockfile.c: ... here.
1938 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1939 * sysdeps/pthread/posix-timer.h: ... here.
1940 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1941 * sysdeps/pthread/timer_create.c: ... here.
1942 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1943 * sysdeps/pthread/timer_delete.c: ... here.
1944 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1945 * sysdeps/pthread/timer_getoverr.c: ... here.
1946 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1947 * sysdeps/pthread/timer_gettime.c: ... here.
1948 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1949 * sysdeps/pthread/timer_routines.c: ... here.
1950 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1951 * sysdeps/pthread/timer_settime.c: ... here.
1952 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1953 * sysdeps/pthread/tst-timer.c: ... here.
1954 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1955 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1957 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1958 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1960 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1961 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1962 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1963 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1964 Update #include target.
1965 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1966 * sysdeps/i386/i686/nptl/Makefile: ... here.
1967 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1968 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1969 Update #include target.
1970 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1971 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1972 * nptl/sysdeps/i386/Makefile: Moved ...
1973 * sysdeps/i386/nptl/Makefile: ... here.
1974 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1975 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1976 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1977 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1978 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1979 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1980 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1981 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1982 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1983 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1984 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1985 * nptl/sysdeps/i386/tls.h: Moved ...
1986 * sysdeps/i386/nptl/tls.h: ... here.
1988 * sysdeps/sh/Makefile [$(subdir) = csu]
1989 (gen-as-const-headers): Add tcb-offsets.sym.
1990 * nptl/sysdeps/sh/Makefile: File removed.
1991 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1992 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1993 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1994 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1995 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1996 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1997 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1998 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1999 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2000 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2001 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2002 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2003 * nptl/sysdeps/sh/tls.h: Moved ...
2004 * sysdeps/sh/nptl/tls.h: ... here.
2005 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2006 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2007 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2008 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2009 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2010 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2011 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2012 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2013 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2014 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2015 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2016 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2017 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2018 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2019 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2020 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2021 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2022 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2023 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2024 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2025 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2026 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2027 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2028 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2029 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2031 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2032 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2034 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2035 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2036 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2037 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2038 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2039 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2040 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2041 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2042 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2043 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2044 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2045 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2046 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2047 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2048 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2049 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2050 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2051 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2052 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2054 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2056 * posix/spawn_faction_addopen.c: Include string.h.
2058 2014-06-11 Roland McGrath <roland@hack.frob.com>
2060 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2061 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2062 * nptl/sysdeps/x86_64/Makefile: Moved ...
2063 * sysdeps/x86_64/nptl/Makefile: ... here.
2064 * nptl/sysdeps/x86_64/configure: Moved ...
2065 * sysdeps/x86_64/nptl/configure: ... here.
2066 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2067 * sysdeps/x86_64/nptl/configure.ac: ... here.
2068 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2069 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2070 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2071 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2072 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2073 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2074 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2075 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2076 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2077 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2078 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2079 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2080 * nptl/sysdeps/x86_64/tls.h: Moved ...
2081 * sysdeps/x86_64/nptl/tls.h: ... here.
2082 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2083 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2084 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2085 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2087 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2089 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2093 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2095 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2097 [POSIX] (off_t): Likewise.
2098 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2099 [POSIX] (S_ISBLK): Require macro.
2100 [POSIX] (S_ISCHR): Likewise.
2101 [POSIX] (S_ISDIR): Likewise.
2102 [POSIX] (S_ISFIFO): Likewise.
2103 [POSIX] (S_ISREG): Likewise.
2104 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2106 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2108 [POSIX] (time_t): Likewise.
2109 [POSIX] (timer_t): Likewise.
2111 2014-06-11 Florian Weimer <fweimer@redhat.com>
2114 * posix/spawn_int.h (struct __spawn_action): Make the path string
2115 non-const to support deallocation.
2116 * posix/spawn_faction_addopen.c
2117 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2118 * posix/spawn_faction_destroy.c
2119 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2120 path in all spawn_do_open actions.
2121 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2122 posix_spawn_file_actions_addopen.
2124 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2126 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2127 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2128 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2129 conditional code always true.
2130 (__libc_vfork): New alias.
2132 2014-06-11 Roland McGrath <roland@hack.frob.com>
2134 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2135 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2137 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2139 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2140 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2142 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2143 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2145 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2146 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2148 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2150 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2151 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2152 multiarch strcmp for PPC64.
2153 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2154 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2156 multiarch optimizations.
2157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2158 (__libc_ifunc_impl_list): Likewise.
2160 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2162 * benchtests/scripts/validate_benchout.py: New script.
2163 * benchtests/Makefile (bench-func): Call it.
2164 * benchtests/scripts/benchout.schema.json: New file.
2166 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2168 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2169 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2170 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2171 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2172 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2173 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2174 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2175 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2176 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2177 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2178 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2179 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2180 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2181 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2182 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2183 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2287 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2288 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2289 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2290 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2291 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2293 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2295 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2296 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2297 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2298 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2299 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2300 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2301 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2302 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2303 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2304 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2305 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2306 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2307 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2309 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2312 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2313 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2314 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2315 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2317 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2319 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2321 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2322 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2323 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2325 2014-06-10 Wilco <wdijkstr@arm.com>
2327 * math/test-fenv-return.c: New file.
2328 * math/Makefile: Add new test test-fenv-return.
2330 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2333 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2335 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2336 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2337 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2338 0.0L for an argument of 1.0L.
2339 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2341 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2342 value when x - 1 is zero.
2343 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2344 * sysdeps/i386/fpu/libm-test-ulps: Update.
2345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2347 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2350 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2352 2014-06-09 Roland McGrath <roland@hack.frob.com>
2354 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2355 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2357 2014-06-09 Roland McGrath <roland@hack.frob.com>
2359 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2360 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2362 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2363 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2365 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2366 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2368 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2369 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2371 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2372 if not already defined.
2373 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2374 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2375 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2376 (TLS_INIT_TP): Use it.
2377 (TLS_DEFINE_INIT_TP): New macro.
2378 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2380 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2382 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2384 [POSIX] (IXANY): Likewise.
2385 [POSIX] (OLCUC): Likewise.
2386 [POSIX || POSIX2008] (CBAUD): Do not allow.
2387 [POSIX || POSIX2008] (DEFECHO): Likewise.
2388 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2389 [POSIX || POSIX2008] (ECHOKE): Likewise.
2390 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2391 [POSIX || POSIX2008] (EXTA): Likewise.
2392 [POSIX || POSIX2008] (EXTB): Likewise.
2393 [POSIX || POSIX2008] (FLUSHO): Likewise.
2394 [POSIX || POSIX2008] (LOBLK): Likewise.
2395 [POSIX || POSIX2008] (PENDIN): Likewise.
2396 [POSIX || POSIX2008] (SWTCH): Likewise.
2397 [POSIX || POSIX2008] (VDISCARD): Likewise.
2398 [POSIX || POSIX2008] (VDSUSP): Likewise.
2399 [POSIX || POSIX2008] (VLNEXT): Likewise.
2400 [POSIX || POSIX2008] (VREPRINT): Likewise.
2401 [POSIX || POSIX2008] (VSTATUS): Likewise.
2402 [POSIX || POSIX2008] (VWERASE): Likewise.
2403 (B*): Change to B[0123456789]*.
2404 * conform/data/time.h-data [POSIX || UNIX98]
2405 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2406 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2407 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2408 [POSIX] (tm_*): Do not allow.
2410 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2412 * Makefile (install): Don't set LANGUAGE.
2413 * Makefile.in (install): Likewise.
2414 * assert/Makefile (test-assert-ENV): Remove variable.
2415 (test-assert-perr-ENV): Likewise.
2416 * elf/Makefile (neededtest4-ENV): Likewise.
2417 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2418 [$(cross-compiling) = no]: Don't set LANGUAGE.
2419 * io/ftwtest-sh (LANG): Remove variable.
2420 * libio/Makefile (tst-widetext-ENV): Likewise.
2421 * manual/install.texi (Running make install): Don't refer to
2422 environment settings for make install.
2423 * INSTALL: Regenerated.
2424 * nptl/tst-tls6.sh: Don't set LANG.
2425 * posix/globtest.sh (LANG): Remove variable.
2426 * string/Makefile (tester-ENV): Likewise.
2427 (inl-tester-ENV): Likewise.
2428 (noinl-tester-ENV): Likewise.
2429 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2430 [$(cross-compiling) = no]: Don't set LANGUAGE.
2431 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2432 without explicit environment settings.
2434 2014-06-06 Roland McGrath <roland@hack.frob.com>
2436 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2437 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2439 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2441 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2443 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2444 other files in the crypt directory.
2445 * crypt/crypt.c: Remove duplicate includes.
2446 * crypt/crypt-entry.c: Likewise.
2447 * crypt/crypt_util.c: Likewise.
2449 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2451 * Makeconfig (run-program-env): New variable.
2452 (run-program-prefix-before-env): Likewise.
2453 (run-program-prefix-after-env): Likewise.
2454 (run-program-prefix): Define in terms of new variables.
2455 (built-program-cmd-before-env): New variable.
2456 (built-program-cmd-after-env): Likewise.
2457 (built-program-cmd): Define in terms of new variables.
2458 (test-program-prefix-before-env): New variable.
2459 (test-program-prefix-after-env): Likewise.
2460 (test-program-prefix): Define in terms of new variables.
2461 (test-program-cmd-before-env): New variable.
2462 (test-program-cmd-after-env): Likewise.
2463 (test-program-cmd): Define in terms of new variables.
2464 * Rules (make-test-out): Use $(run-program-env).
2465 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2466 (help): Do not mention environment variables. Mention
2467 --timeoutfactor option.
2468 (timeoutfactor): New variable.
2469 (blacklist_exports): Remove function.
2470 (exports): Remove variable.
2471 (command): Do not include ${exports}.
2472 * manual/install.texi (Configuring and compiling): Do not mention
2473 test wrappers preserving environment variables. Mention that last
2474 assignment to a variable must take precedence.
2475 * INSTALL: Regenerated.
2476 * benchtests/Makefile (run-bench): Use $(run-program-env).
2477 * catgets/Makefile ($(objpfx)test1.cat): Use
2478 $(built-program-cmd-before-env), $(run-program-env) and
2479 $(built-program-cmd-after-env).
2480 ($(objpfx)test2.cat): Do not specify environment variables
2482 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2483 $(run-program-env) and $(built-program-cmd-after-env).
2484 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2485 $(run-program-env) and $(test-program-cmd-after-env).
2486 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2488 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2489 run_program_env and test_program_cmd_after_env arguments.
2490 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2491 * elf/tst-pathopt.sh: Use run_program_env argument.
2492 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2493 $(test-wrapper-env) and $(run-program-env).
2494 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2495 run_program_env arguments.
2496 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2497 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2498 $(test-program-prefix-before-env), $(run-program-env) and
2499 $(test-program-prefix-after-env).
2500 ($(objpfx)tst-gettext2.out): Likewise.
2501 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2502 run_program_env and test_program_prefix_after_env arguments.
2503 * intl/tst-gettext2.sh: Likewise.
2504 * intl/tst-gettext4.sh: Do not set environment variables
2506 * intl/tst-gettext6.sh: Likewise.
2507 * intl/tst-translit.sh: Likewise.
2508 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2509 $(test-program-prefix-before-env), $(run-program-env) and
2510 $(test-program-prefix-after-env).
2511 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2512 run_program_env and test_program_prefix_after_env arguments.
2513 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2514 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2515 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2516 explicitly with each use of ${test_wrapper_env}.
2517 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2518 $(test-program-prefix-before-env), $(run-program-env) and
2519 $(test-program-prefix-after-env).
2520 * posix/tst-getconf.sh: Do not set environment variables
2522 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2523 run_program_env and test_program_prefix_after_env arguments.
2524 * stdio-common/tst-printf.sh: Do not set environment variables
2526 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2527 $(test-program-prefix-before-env), $(run-program-env) and
2528 $(test-program-prefix-after-env).
2529 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2530 run_program_env and test_program_prefix_after_env arguments.
2531 Split $test calls into $test_pre and $test.
2532 * timezone/Makefile (build-testdata): Use
2533 $(built-program-cmd-before-env), $(run-program-env) and
2534 $(built-program-cmd-after-env).
2536 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2538 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2539 strlen for non SHARED builds.
2541 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2543 * nptl/allocatestack.c (check_list): Inlined function...
2544 (__reclaim_stacks): ... here.
2546 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2549 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2552 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2554 * Rules (make-test-out): Include
2555 LOCPATH=$(common-objpfx)localedata in default environment.
2556 * debug/Makefile (tst-chk1-ENV): Remove variable.
2557 (tst-chk2-ENV): Likewise.
2558 (tst-chk3-ENV): Likewise.
2559 (tst-chk4-ENV): Likewise.
2560 (tst-chk5-ENV): Likewise.
2561 (tst-chk6-ENV): Likewise.
2562 (tst-lfschk1-ENV): Likewise.
2563 (tst-lfschk2-ENV): Likewise.
2564 (tst-lfschk3-ENV): Likewise.
2565 (tst-lfschk4-ENV): Likewise.
2566 (tst-lfschk5-ENV): Likewise.
2567 (tst-lfschk6-ENV): Likewise.
2568 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2569 (tst-iconv7-ENV): Likewise.
2570 * intl/Makefile (LOCPATH-ENV): Likewise.
2571 (tst-codeset-ENV): Likewise.
2572 (tst-gettext3-ENV): Likewise.
2573 (tst-gettext5-ENV): Likewise.
2574 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2575 (tst-fopenloc-ENV): Likewise.
2576 (tst-fgetws-ENV): Remove variable.
2577 (tst-ungetwc1-ENV): Likewise.
2578 (tst-ungetwc2-ENV): Likewise.
2579 (bug-ungetwc2-ENV): Likewise.
2580 (tst-swscanf-ENV): Likewise.
2581 (bug-ftell-ENV): Likewise.
2582 (tst-fgetwc-ENV): Likewise.
2583 (tst-fseek-ENV): Likewise.
2584 (tst-ftell-partial-wide-ENV): Likewise.
2585 (tst-ftell-active-handler-ENV): Likewise.
2586 (tst-ftell-append-ENV): Likewise.
2587 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2588 (tst-regexloc-ENV): Likewise.
2589 (bug-regex1-ENV): Likewise.
2590 (tst-regex-ENV): Likewise.
2591 (tst-regex2-ENV): Likewise.
2592 (bug-regex5-ENV): Likewise.
2593 (bug-regex6-ENV): Likewise.
2594 (bug-regex17-ENV): Likewise.
2595 (bug-regex18-ENV): Likewise.
2596 (bug-regex19-ENV): Likewise.
2597 (bug-regex20-ENV): Likewise.
2598 (bug-regex22-ENV): Likewise.
2599 (bug-regex23-ENV): Likewise.
2600 (bug-regex25-ENV): Likewise.
2601 (bug-regex26-ENV): Likewise.
2602 (bug-regex30-ENV): Likewise.
2603 (bug-regex32-ENV): Likewise.
2604 (bug-regex33-ENV): Likewise.
2605 (bug-regex34-ENV): Likewise.
2606 (bug-regex35-ENV): Likewise.
2607 (tst-rxspencer-ENV): Likewise.
2608 (tst-rxspencer-no-utf8-ENV): Likewise.
2609 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2610 (tst-sscanf-ENV): Likewise.
2611 (tst-swprintf-ENV): Likewise.
2612 (tst-swscanf-ENV): Likewise.
2613 (test-vfprintf-ENV): Likewise.
2614 (scanf13-ENV): Likewise.
2615 (bug14-ENV): Likewise.
2616 (tst-grouping-ENV): Likewise.
2617 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2618 (tst-strtod3-ENV): Likewise.
2619 (tst-strtod4-ENV): Likewise.
2620 (tst-strtod5-ENV): Likewise.
2621 (testmb2-ENV): Likewise./
2622 * string/Makefile (tst-strxfrm-ENV): Likewise.
2623 (tst-strxfrm2-ENV): Likewise.
2624 (bug-strcoll1-ENV): Likewise.
2625 (test-strcasecmp-ENV): Likewise.
2626 (test-strncasecmp-ENV): Likewise.
2627 * time/Makefile (tst-strptime-ENV): Likewise.
2628 (tst-ftime_l-ENV): Likewise.
2629 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2630 (tst-mbrtowc-ENV): Likewise.
2631 (tst-wcrtomb-ENV): Likewise.
2632 (tst-mbrtowc2-ENV): Likewise.
2633 (tst-c16c32-1-ENV): Likewise.
2634 (tst-mbsnrtowcs-ENV): Likewise.
2636 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2638 * manual/resource.texi (How to get information about the memory
2639 subsystem?): Fix typo.
2640 Reported by Peon de la Parra Ivan <peon@keba.com>
2642 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2645 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2646 (pthread_spin_lock): Branch out of spin loop to proper location.
2647 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2648 (pthread_spin_lock): Likewise.
2650 * nptl/tst-spin4.c: New test.
2651 * nptl/Makefile (tests): Add tst-spin4.
2653 2014-06-03 Andreas Schwab <schwab@suse.de>
2656 * resolv/res_send.c (send_dg): Reload file descriptor after
2659 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2661 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2663 2014-06-03 Richard Henderson <rth@redhat.com>
2665 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2666 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2667 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2668 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2669 in the SAVE_PID block.
2670 (__libc_vfork): New alias.
2671 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2673 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2674 child in registers, not on the stack. Remove RESET_PID conditionals.
2675 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2677 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2679 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2681 2014-06-03 Wilco <wdijkstr@arm.com>
2683 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2684 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2685 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2686 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2687 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2690 2014-06-03 Wilco <wdijkstr@arm.com>
2692 * sysdeps/aarch64/fpu/math_private.h
2693 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2694 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2695 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2696 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2699 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2701 * crypt/crypt-private.h: Include ufc-crypt.h.
2702 (__b64_from_24bit): Declare extern.
2703 * crypt/crypt_util.c(__b64_from_24bit): New function.
2704 (b64t): New static const variable.
2705 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2706 (b64t): Remove variable.
2707 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2708 * crypt/sha256-crypt.c: Include crypt-private.h.
2709 (b64t): Remove variable.
2710 (__sha256_crypt_r): Remove b64_from_24bit and replace
2711 with __b64_from_24bit.
2712 * crypt/sha512-crypt.c: Likewise.
2714 2014-06-02 Roland McGrath <roland@hack.frob.com>
2716 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2717 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2718 Label the code __libc_vfork rather than __vfork.
2719 [!NOT_IN_libc] (vfork): Define as weak alias.
2720 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2721 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2722 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2724 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2726 * malloc/malloc.c (malloc_info): Fix format specifier for
2729 2014-06-02 Wilco <wdijkstr@arm.com>
2731 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2734 2014-06-02 Wilco <wdijkstr@arm.com>
2737 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2738 Rewrite to reduce FPCR/FPSR accesses.
2740 2014-06-01 David S. Miller <davem@davemloft.net>
2742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2744 2014-05-31 David S. Miller <davem@davemloft.net>
2746 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2747 to occur in round to nearest mode when |x| >= 2.0
2749 2014-05-30 Richard Henderson <rth@twiddle.net>
2751 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2752 (PSEUDO_RET_NOERRNO): Remove.
2753 (ret): Don't redefine.
2754 (ret_NOERRNO): Define in terms of ret.
2755 (ret_ERRVAL): Likewise.
2757 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2758 use of PSEUDO_RET; perform the error check directly.
2760 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2762 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2765 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2767 * malloc/malloc (malloc_info): Fix formatting.
2769 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2770 Roland McGrath <roland@hack.frob.com>
2772 * malloc/malloc (malloc_info): Also print mmapped statistics.
2774 2014-05-30 Roland McGrath <roland@hack.frob.com>
2776 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2777 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2779 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2781 * malloc/malloc.c (malloc_info): Inline mi_arena.
2783 2014-05-29 Richard Henderson <rth@twiddle.net>
2785 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2786 Remove comma before expanding ASM_ARGS_##nr.
2787 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2788 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2790 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2791 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2792 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2793 (ASM_ARGS_1): Add leading comma.
2795 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2796 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2797 to __errno_location.
2798 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2799 Remove the expected plt for __errno_location.
2801 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2802 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2805 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2806 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2807 it and break it down.
2808 (DOCARGS_0, DOCARGS_1): Do nothing.
2809 (DOCARGS_2): Update to store into the new stack frame.
2810 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2811 (UNDOCARGS_1): Update to restore from the new stack frame.
2812 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2813 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2815 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2816 (SINGLE_THREAD_P): New parameter for result regno.
2817 (PSEUDO): Update to match; use cbz instead of beq.
2819 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2820 Use ENTRY to define the _nocancel entry point. Share the syscall
2821 and syscall error check paths with the cancel path.
2824 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2825 whitespace; tabs before and after asm mnemonics.
2827 2014-05-29 Eric Wong <normalperson@yhbt.net>
2830 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2831 Call fstat64 or stat64 internally, depending on arguments passed.
2832 Replace stat buffer argument with file descriptor argument.
2833 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2834 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2835 Pass fd to __internal_statvfs instead of calling fstat64.
2836 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2837 Pass fd to __internal_statvfs64 instead of calling fstat64.
2838 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2839 Pass -1 to __internal_statvfs instead of calling stat64.
2840 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2841 Pass -1 to __internal_statvfs64 instead of calling stat64.
2843 2014-05-28 Roland McGrath <roland@hack.frob.com>
2845 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2846 that was previously under [RESET_PID].
2847 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2849 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2850 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2852 2014-05-27 Roland McGrath <roland@hack.frob.com>
2854 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2856 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2857 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2859 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2861 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2863 2014-05-27 Andreas Schwab <schwab@suse.de>
2865 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2867 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2868 * elf/rtld.c (init_tls, dl_main): Likewise.
2869 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2870 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2871 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2872 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2873 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2874 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2875 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2876 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2877 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2878 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2879 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2880 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2881 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2882 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2883 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2884 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2885 * sysdeps/generic/tls.h: Update description.
2887 2014-05-27 Will Newton <will.newton@linaro.org>
2890 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2891 and restore r2 rather than just restoring.
2893 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2896 * libio/tst-ftell-append.c: New test case.
2897 * libio/Makefile (tests): Add test case.
2898 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2900 * libio/wfileops.c (do_ftell_wide): Likewise.
2902 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2906 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2910 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2911 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2912 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2913 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2914 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2915 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2916 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2922 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2923 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2924 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2925 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2926 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2928 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2929 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2931 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2933 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2935 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2936 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2937 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2939 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2940 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2941 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2942 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2944 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2947 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2950 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2957 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2960 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2965 conditional [RESET_PID].
2966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2967 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2969 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2974 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2975 (__libc_vfork): New strong alias.
2976 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2978 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2983 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2984 (__libc_vfork): New strong alias.
2985 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2987 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2990 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2992 * malloc/malloc.c (mi_arena): New function.
2993 (malloc_info): Remove nested function mi_arena. Call non-nosted
2996 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2998 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3000 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3001 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3002 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3003 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3004 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3005 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3006 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3008 2014-05-26 Andreas Schwab <schwab@suse.de>
3011 * locale/programs/repertoire.c (repertoire_read): Add slash
3012 between I18NPATH element and file name.
3013 * locale/programs/locfile.c (locfile_read): Likewise.
3015 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3017 * nptl/pthread_mutexattr_settype.c
3018 (__pthread_mutexattr_settype):
3019 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3021 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3023 * nptl/tst-mutex5 (do_test):
3024 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3026 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3028 * benchtests/README: Document 'init' directive.
3029 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3031 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3032 (parse_file): Recognize 'init' directive.
3034 2014-05-26 Kyle McMartin <kyle@redhat.com>
3037 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3038 alignment of struct pthread.
3040 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3043 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3044 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3045 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3046 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3048 2014-05-25 Richard Henderson <rth@twiddle.net>
3050 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3051 (SINGLE_THREAD_P_PIC): Remove.
3052 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3053 (SINGLE_THREAD_P_PIC): Remove.
3055 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3056 branch to syscall error ...
3058 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3059 from __local_syscall_error to .Lsyscall_error.
3060 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3061 (SYSCALL_ERROR): Update label name.
3063 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3064 Do not use DOARGS/UNDOARGS.
3065 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3066 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3067 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3068 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3069 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3071 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3074 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3075 define if !NOT_IN_libc.
3076 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3077 define with non-default symbol versions.
3079 2014-05-23 Richard Henderson <rth@twiddle.net>
3081 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3082 (vfork, __vfork): Define via compat_symbol.
3084 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3085 [!HAVE_IFUNC] (vfork_compat): Remove.
3086 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3088 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3091 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3092 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3095 2014-05-23 Richard Henderson <rth@twiddle.net>
3097 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3098 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3099 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3100 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3102 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3103 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3104 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3105 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3106 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3107 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3108 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3109 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3110 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3111 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3112 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3113 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3114 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3115 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3116 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3117 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3118 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3119 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3120 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3121 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3122 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3123 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3124 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3125 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3126 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3127 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3128 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3129 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3130 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3131 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3132 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3133 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3134 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3135 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3136 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3137 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3138 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3139 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3140 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3141 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3142 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3143 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3144 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3145 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3146 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3147 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3148 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3149 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3150 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3151 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3152 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3153 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3154 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3155 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3156 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3157 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3159 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3160 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3161 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3162 before exiting on error.
3163 (__libc_vfork): New strong alias.
3164 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3165 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3167 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3168 that was previously under [RESET_PID].
3169 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3171 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3173 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3176 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3177 value when x - 1 is zero.
3178 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3179 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3180 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3181 0.0L for an argument of 1.0L.
3182 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3184 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3185 value when x - 1 is zero.
3186 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3187 * sysdeps/i386/fpu/libm-test-ulps: Update.
3188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3190 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3192 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3193 alphasort and versionsort.
3195 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3197 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3199 [copysignf]: Likewise.
3201 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3203 * crypt/md5-crypt.c: Fix formatting.
3205 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3207 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3208 (b64_from_24bit): New function.
3210 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3212 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3213 libc_hidden_builtin_def to ifunc.
3214 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3215 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3217 2014-05-21 Roland McGrath <roland@hack.frob.com>
3219 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3220 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3222 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3224 * nscd/Depend (linuxthreads): Remove.
3226 * resolv/Depend (linuxthreads): Remove.
3227 * rt/Depend (linuxthreads): Remove.
3229 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3230 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3231 $(common-objpfx)elf/.
3232 (link-libc-before-gnulib): Likewise.
3233 (elfobjdir): Remove variable.
3234 * Makefile (install): Use $(elf-objpfx) instead of
3235 $(common-objpfx)elf/.
3236 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3238 (link-libc-deps): Likewise.
3239 ($(common-objpfx)libc.so): Likewise.
3240 ($(common-objpfx)linkobj/libc.so): Likewise.
3241 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3242 instead of $(common-objpfx)elf/.
3243 (symbolic-link-list): Likewise.
3244 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3245 [$(cross-compiling) = no]: Likewise.
3246 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3248 (static-gnulib-arch): Likewise.
3249 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3250 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3251 $(common-objpfx)elf/.
3253 2014-05-21 Richard Henderson <rth@redhat.com>
3255 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3256 (SINGLE_THREAD_P): Use the correct width load. Fold
3257 into the ldr offset.
3259 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3260 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3262 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3264 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3265 (libgcc_s_resume): Use __attribute_used__.
3266 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3269 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3271 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3272 optimization when used with float constants.
3274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3276 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3279 * locale/nl_langinfo_l.c: Make direct reference to every
3280 _nl_current_CATEGORY symbol.
3281 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3282 (tests-static): Add tst-langinfo-static.
3283 (tests-special): Add tst-langinfo-static.out.
3284 ($(objpfx)tst-langinfo.out): Redirect output.
3285 ($(objpfx)tst-langinfo-static.out): New.
3286 * localedata/tst-langinfo.sh: Send output to stdout.
3287 * localedata/tst-langinfo-static.c: New file.
3290 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3291 when the shift amount is modulo the limb size.
3293 2014-05-20 Richard Henderson <rth@redhat.com>
3296 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3297 Change type of sa_flags from unsigned int to int.
3300 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3302 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3304 2014-05-20 Will Newton <will.newton@linaro.org>
3306 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3307 Test the return value of the system call in the nocancel case.
3309 2014-05-20 Will Newton <will.newton@linaro.org>
3310 Yvan Roux <yvan.roux@linaro.org>
3312 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3313 #include of asm/ptrace.h.
3314 (PTRACE_GET_THREAD_AREA): Remove #undef.
3315 (PTRACE_GETHBPREGS): Likewise.
3316 (PTRACE_SETHBPREGS): Likewise.
3317 (struct user_regs_struct): New structure.
3318 (struct user_fpsimd_struct): New structure.
3319 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3320 #include of asm/ptrace.h and second #include of sys/user.h.
3321 (PTRACE_GET_THREAD_AREA): Remove #undef.
3322 (PTRACE_GETHBPREGS): Likewise.
3323 (PTRACE_SETHBPREGS): Likewise.
3324 (ELF_NGREG): Use new struct user_regs_struct.
3325 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3327 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3329 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3330 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3332 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3335 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3336 membar to avoid block loads/stores to overlap previous stores.
3338 2014-05-17 Richard Henderson <rth@redhat.com>
3340 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3341 Create the __##syscall_name##_nocancel entry point.
3342 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3343 Remove; let the sysdep-cancel.h code create it.
3345 2014-05-17 David S. Miller <davem@davemloft.net>
3347 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3348 Protect with __USE_GNU.
3349 (TIOCSET_TEMPT): Likewise.
3350 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3351 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3352 these are already provided in bits/ioctl-types.h
3354 2014-05-16 Roland McGrath <roland@hack.frob.com>
3356 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3357 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3359 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3360 Use wait4 regardless of [__NR_waitpid].
3362 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3365 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3366 (_FP_NANSIGN_Q): Set the quiet bit.
3368 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3370 * benchtests/Makefile
3371 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3372 not $(common-objpfx)math/libm.so.
3373 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3374 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3375 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3376 $(common-objpfx)dlfcn/libdl.so.
3377 ($(objpfx)tst-audit8): Depend on $(libm), not
3378 $(common-objpfx)math/libm.so.
3379 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3380 not $(common-objpfx)dlfcn/libdl.so.
3382 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3383 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3384 [$(build-shared) = yes].
3385 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3386 $(common-objpfx)nptl/libpthread.so.
3387 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3388 $(common-objpfx)math/libm.so$(libm.so-version) or
3389 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3390 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3391 $(common-objpfx)dlfcn/libdl.so.
3392 * setjmp/Makefile (link-libm): Remove variable.
3393 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3394 * stdio-common/Makefile (link-libm): Remove variable.
3395 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3396 * stdlib/Makefile (link-libm): Remove variable.
3397 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3398 ($(objpfx)tst-strtod-round): Likewise.
3399 ($(objpfx)tst-tininess): Likewise.
3400 ($(objpfx)tst-strtod-underflow): Likewise.
3401 ($(objpfx)tst-strtod6): Likewise.
3402 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3403 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3404 $(common-objpfx)dlfcn/libdl.so.
3406 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3408 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3409 BSD terminal modes definitions.
3411 2014-05-16 Roland McGrath <roland@hack.frob.com>
3413 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3414 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3416 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3417 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3418 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3419 Don't do #include_next.
3420 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3421 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3422 Don't do #include_next.
3423 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3424 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3425 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3426 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3428 2014-05-16 Allan McRae <allan@archlinux.org>
3430 * po/sv.po: Update Swedish translation from translation project.
3432 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3435 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3438 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3439 errno if the TIOCGPTN ioctl fails with an error different than
3441 * login/tst-ptsname.c: New file.
3442 * login/Makefile (tests): Add tst-ptsname.
3445 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3448 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3452 herrno to return EAI_AGAIN.
3454 2014-05-14 Roland McGrath <roland@hack.frob.com>
3456 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3457 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3458 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3459 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3460 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3461 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3462 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3463 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3464 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3465 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3466 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3467 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3468 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3469 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3470 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3471 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3472 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3473 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3474 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3475 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3476 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3477 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3478 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3479 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3480 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3481 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3482 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3483 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3484 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3485 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3487 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3489 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3492 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3494 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3496 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3498 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3500 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3502 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3504 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3506 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3508 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3510 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3512 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3514 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3516 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3518 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3521 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3523 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3525 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3527 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3529 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3531 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3533 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3535 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3537 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3539 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3542 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3544 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3546 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3547 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3548 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3549 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3550 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3551 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3552 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3553 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3554 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3555 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3556 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3557 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3558 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3559 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3560 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3561 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3562 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3563 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3564 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3565 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3566 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3567 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3568 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3569 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3570 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3571 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3572 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3573 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3574 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3575 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3576 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3578 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3579 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3581 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3582 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3583 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3584 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3585 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3586 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3588 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3589 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3591 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3592 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3594 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3595 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3597 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3598 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3599 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3600 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3602 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3603 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3604 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3605 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3606 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3608 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3609 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3611 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3612 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3614 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3616 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3617 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3618 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3619 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3620 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3622 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3624 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3626 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3627 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3628 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3629 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3630 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3631 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3633 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3634 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3636 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3637 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3639 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3640 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3642 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3643 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3644 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3647 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3648 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3649 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3650 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3651 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3652 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3653 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3654 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3656 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3657 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3659 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3661 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3662 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3663 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3664 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3665 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3667 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3669 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3671 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3672 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3673 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3674 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3675 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3676 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3677 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3678 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3679 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3680 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3682 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3683 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3685 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3686 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3688 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3689 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3691 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3692 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3693 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3694 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3695 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3696 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3698 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3699 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3700 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3701 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3702 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3703 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3704 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3705 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3707 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3708 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3710 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3712 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3713 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3714 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3715 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3716 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3718 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3720 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3722 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3723 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3724 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3725 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3726 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3727 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3728 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3729 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3730 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3731 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3732 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3734 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3735 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3737 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3738 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3740 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3741 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3742 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3743 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3744 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3745 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3746 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3747 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3748 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3749 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3750 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3751 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3752 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3753 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3754 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3755 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3756 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3757 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3759 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3761 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3762 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3764 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3765 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3766 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3767 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3768 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3769 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3770 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3771 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3773 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3774 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3776 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3777 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3778 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3779 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3780 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3781 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3782 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3783 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3784 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3785 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3786 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3787 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3788 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3789 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3790 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3791 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3792 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3794 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3795 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3796 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3797 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3798 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3800 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3801 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3802 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3803 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3804 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3805 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3806 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3807 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3808 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3809 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3811 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3812 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3814 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3815 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3817 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3819 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3820 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3821 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3822 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3823 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3824 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3825 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3826 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3827 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3828 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3830 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3832 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3834 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3848 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3849 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3850 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3853 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3854 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3855 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3856 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3857 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3858 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3859 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3860 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3861 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3862 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3864 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3865 that was previously under [RESET_PID].
3866 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3867 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3868 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3870 * sysdeps/i386/nptl/Implies: New file.
3871 * sysdeps/x86_64/nptl/Implies: New file.
3872 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3873 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3874 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3875 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3877 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3878 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3879 (__libc_vfork): New strong alias.
3880 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3881 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3883 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3884 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3885 (__libc_vfork): New strong alias.
3886 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3887 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3889 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3890 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3891 (__libc_vfork): New strong alias.
3892 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3893 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3894 * nptl/pt-vfork.c: New file.
3895 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3896 (libpthread: GLIBC_2.20): New version set (empty).
3898 2014-05-14 Will Newton <will.newton@linaro.org>
3900 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3903 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3906 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3907 arguments with exponent 65 or above.
3908 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3909 arguments 0x1p113L or above.
3910 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3911 to arguments 0x1p107L or above.
3912 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3913 positive arguments with exponent 65 or above.
3914 * math/auto-libm-test-in: Add more tests of log1p.
3915 * math/auto-libm-test-out: Regenerated.
3918 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3919 non-finite arguments is +0.
3920 * math/s_cacosf.c (__cacosf): Likewise.
3921 * math/s_cacosl.c (__cacosl): Likewise.
3922 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3923 * sysdeps/i386/fpu/libm-test-ulps: Update.
3924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3927 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3929 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3930 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3931 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3932 for explicit high bit of mantissa when testing for argument equal
3934 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3935 * sysdeps/i386/fpu/libm-test-ulps: Update.
3936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3939 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3940 (__erf): Scale by 16 instead of 8 in potentially underflowing
3941 case. Ensure exception if result actually underflows.
3942 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3943 (__erff): Scale by 16 instead of 8 in potentially underflowing
3944 case. Ensure exception if result actually underflows.
3945 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3946 (efx8): Remove variable.
3947 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3948 case. Ensure exception if result actually underflows.
3949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3950 (efx8): Remove variable.
3951 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3952 case. Ensure exception if result actually underflows.
3953 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3954 (efx8): Remove variable.
3955 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3956 case. Ensure exception if result actually underflows.
3957 * math/auto-libm-test-in: Add more tests of erf.
3958 * math/auto-libm-test-out: Regenerated.
3960 2014-05-14 Andreas Schwab <schwab@suse.de>
3962 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3963 Remove code conditionalized on USE___THREAD.
3965 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3966 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3969 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3971 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3972 Define unconditionally.
3973 (__ASSUME_O_CLOEXEC): Likewise.
3974 (__ASSUME_SOCK_CLOEXEC): Likewise.
3975 (__ASSUME_IN_NONBLOCK): Likewise.
3976 (__ASSUME_PIPE2): Likewise.
3977 (__ASSUME_EVENTFD2): Likewise.
3978 (__ASSUME_SIGNALFD4): Likewise.
3979 (__ASSUME_DUP3): Likewise.
3980 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3981 (__ASSUME_DUP3): Do not define.
3982 (__ASSUME_EVENTFD2): Likewise.
3983 (__ASSUME_IN_NONBLOCK): Likewise.
3984 (__ASSUME_O_CLOEXEC): Likewise.
3985 (__ASSUME_PIPE2): Likewise.
3986 (__ASSUME_SIGNALFD4): Likewise.
3987 (__ASSUME_SOCK_CLOEXEC): Likewise.
3988 (__ASSUME_UTIMES): Undefine.
3989 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3990 (__ASSUME_UTIMES): Do not define.
3991 (__ASSUME_O_CLOEXEC): Likewise.
3992 (__ASSUME_SOCK_CLOEXEC): Likewise.
3993 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3994 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3996 (__ASSUME_PIPE2): Likewise.
3997 (__ASSUME_EVENTFD2): Likewise.
3998 (__ASSUME_SIGNALFD4): Likewise.
3999 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4000 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4002 (__ASSUME_EVENTFD2): Likewise.
4003 (__ASSUME_SIGNALFD4): Likewise.
4004 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4005 (__ASSUME_32BITUIDS): Likewise.
4006 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4007 (__ASSUME_IPC64): Likewise.
4008 (__ASSUME_ST_INO_64_BIT): Likewise.
4009 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4010 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4011 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4012 (__ASSUME_UTIMES): Do not define.
4013 (__ASSUME_PSELECT): Likewise.
4014 (__ASSUME_PPOLL): Likewise.
4015 (__ASSUME_O_CLOEXEC): Likewise.
4016 (__ASSUME_SOCK_CLOEXEC): Likewise.
4017 (__ASSUME_IN_NONBLOCK): Likewise.
4018 (__ASSUME_PIPE2): Likewise.
4019 (__ASSUME_EVENTFD2): Likewise.
4020 (__ASSUME_SIGNALFD4): Likewise.
4021 (__ASSUME_DUP3): Likewise.
4022 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4023 (__ASSUME_UTIMES): Likewise.
4024 (__ASSUME_O_CLOEXEC): Likewise.
4025 (__ASSUME_SOCK_CLOEXEC): Likewise.
4026 (__ASSUME_IN_NONBLOCK): Likewise.
4027 (__ASSUME_PIPE2): Likewise.
4028 (__ASSUME_EVENTFD2): Likewise.
4029 (__ASSUME_SIGNALFD4): Likewise.
4030 (__ASSUME_DUP3): Likewise.
4031 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4032 (__ASSUME_UTIMES): Likewise.
4033 (__ASSUME_O_CLOEXEC): Likewise.
4034 (__ASSUME_SOCK_CLOEXEC): Likewise.
4035 (__ASSUME_IN_NONBLOCK): Likewise.
4036 (__ASSUME_PIPE2): Likewise.
4037 (__ASSUME_EVENTFD2): Likewise.
4038 (__ASSUME_SIGNALFD4): Likewise.
4039 (__ASSUME_DUP3): Likewise.
4040 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4042 (__ASSUME_UTIMES): Likewise.
4043 (__ASSUME_EVENTFD2): Likewise.
4044 (__ASSUME_SIGNALFD4): Likewise.
4045 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4046 (__ASSUME_O_CLOEXEC): Likewise.
4047 (__ASSUME_SOCK_CLOEXEC): Likewise.
4048 (__ASSUME_IN_NONBLOCK): Likewise.
4049 (__ASSUME_PIPE2): Likewise.
4050 (__ASSUME_EVENTFD2): Likewise.
4051 (__ASSUME_SIGNALFD4): Likewise.
4052 (__ASSUME_DUP3): Likewise.
4053 (__ASSUME_UTIMES): Undefine.
4055 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4056 feclearexcept. Remove symbol versioning code.
4057 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4058 symbol versioning code.
4059 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4060 symbol versioning code.
4061 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4062 feupdateenv. Remove symbol versioning code.
4063 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4064 fegetexceptflag. Remove symbol versioning code.
4065 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4066 fesetexceptflag. Remove symbol versioning code.
4067 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4068 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4069 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4070 (__posix_fadvise64_l32): Remove prototype.
4071 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4074 2014-05-13 Roland McGrath <roland@hack.frob.com>
4076 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4077 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4078 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4079 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4081 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4083 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4084 current working directory
4086 2014-05-13 Roland McGrath <roland@hack.frob.com>
4088 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4089 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4090 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4091 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4092 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4093 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4094 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4095 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4096 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4097 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4098 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4099 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4101 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4102 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4103 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4105 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4107 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4109 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4110 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4111 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4113 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4115 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4117 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4119 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4121 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4122 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4123 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4124 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4125 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4126 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4127 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4128 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4129 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4131 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4132 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4134 * sysdeps/unix/sysv/linux/arm/Makefile
4135 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4136 Add rt-aeabi_unwind_cpp_pr1.
4137 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4138 Add nptl-aeabi_unwind_cpp_pr1.
4139 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4140 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4141 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4142 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4143 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4144 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4146 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4147 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4148 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4149 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4151 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4152 Deconditionalize the code that was previously under [RESET_PID].
4153 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4155 * sysdeps/generic/exit-thread.h: New file.
4156 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4157 * include/unistd.h (__exit_thread): Remove declaration.
4158 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4159 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4160 * csu/libc-start.c: Include <exit-thread.h>.
4161 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4162 * nptl/pthread_create.c: Include <exit-thread.h>.
4163 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4164 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4165 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4166 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4167 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4168 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4169 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4170 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4171 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4172 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4173 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4174 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4175 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4176 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4177 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4178 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4179 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4181 2014-05-13 Andreas Schwab <schwab@suse.de>
4183 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4185 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4187 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4188 (__ASSUME_UTIMES): Do not condition on kernel version.
4189 (__ASSUME_PSELECT): Define unconditionally.
4190 (__ASSUME_PPOLL): Likewise.
4191 (__ASSUME_ATFCTS): Likewise.
4192 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4193 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4194 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4195 (__ASSUME_UTIMENSAT): Define unconditionally.
4196 (__ASSUME_PRIVATE_FUTEX): Likewise.
4197 (__ASSUME_FALLOCATE): Likewise.
4198 (__ASSUME_O_CLOEXEC): Likewise.
4199 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4200 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4201 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4202 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4203 (__ASSUME_IN_NONBLOCK): Likewise.
4204 (__ASSUME_PIPE2): Likewise.
4205 (__ASSUME_EVENTFD2): Likewise.
4206 (__ASSUME_SIGNALFD4): Likewise.
4207 (__ASSUME_DUP3): Likewise.
4208 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4209 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4210 (__ASSUME_AT_RANDOM): Likewise.
4211 (__ASSUME_PREADV): Likewise.
4212 (__ASSUME_PWRITEV): Likewise.
4213 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4214 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4215 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4216 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4217 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4218 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4219 (__ASSUME_O_CLOEXEC): Define unconditionally.
4220 (__ASSUME_PSELECT): Do not undefine conditionally.
4221 (__ASSUME_PPOLL): Likewise.
4222 (__ASSUME_ATFCTS): Likewise.
4223 (__ASSUME_SET_ROBUST_LIST): Likewise.
4224 (__ASSUME_UTIMENSAT): Likewise.
4225 (__ASSUME_FDATASYNC): Define unconditionally.
4226 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4227 (__ASSUME_SIGFRAME_V2): Likewise.
4228 )__ASSUME_EVENTFD2): Likewise.
4229 (__ASSUME_SIGNALFD4): Likewise.
4230 (__ASSUME_PSELECT): Do not undefine conditionally.
4231 (__ASSUME_PPOLL): Likewise.
4232 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4233 (__ASSUME_PSELECT): Define unconditionally.
4234 (__ASSUME_PPOLL): Likewise.
4235 (__ASSUME_O_CLOEXEC): Likewise.
4236 (__ASSUME_SOCK_CLOEXEC): Likewise.
4237 (__ASSUME_IN_NONBLOCK): Likewise.
4238 (__ASSUME_PIPE2): Likewise.
4239 (__ASSUME_EVENTFD2): Likewise.
4240 (__ASSUME_SIGNALFD4): Likewise.
4241 (__ASSUME_DUP3): Likewise.
4242 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4243 (__ASSUME_O_CLOEXEC): Likewise.
4244 (__ASSUME_SOCK_CLOEXEC): Likewise.
4245 (__ASSUME_IN_NONBLOCK): Likewise.
4246 (__ASSUME_PIPE2): Likewise.
4247 (__ASSUME_EVENTFD2): Likewise.
4248 (__ASSUME_SIGNALFD4): Likewise.
4249 (__ASSUME_DUP3): Likewise.
4250 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4251 (__ASSUME_EVENTFD2): Likewise.
4252 (__ASSUME_SIGNALFD4): Likewise.
4253 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4255 2014-05-12 Andreas Schwab <schwab@suse.de>
4258 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4259 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4260 than maximum RPC packet size.
4261 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4262 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4263 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4264 (_nss_nis_getservbyport_r): Likewise.
4266 2014-05-12 Will Newton <will.newton@linaro.org>
4268 * malloc/Makefile (tests): Add tst-mallopt.
4269 * malloc/tst-mallopt.c: New file.
4271 2014-05-09 Roland McGrath <roland@hack.frob.com>
4273 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4274 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4276 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4278 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4279 (tst-tlsmod6.so): Likewise.
4281 2014-05-09 Roland McGrath <roland@hack.frob.com>
4283 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4285 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4288 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4289 and <dl-procinfo.h>.
4290 (__fegetenv): Save SSE state in envp->__eip if supported.
4291 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4292 envp->__eip if supported.
4293 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4294 and <dl-procinfo.h>.
4295 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4296 __data_offset and __data_selector in environment to 0. Set SSE
4298 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4300 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4302 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4304 2014-05-09 Will Newton <will.newton@linaro.org>
4306 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4307 and libc_relro_required for ARM.
4308 * sysdeps/arm/preconfigure: Regenerate.
4310 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4311 Stefan Liebler <stli@linux.vnet.ibm.com>
4313 * config.make.in (enable-lock-elision): New Makefile variable.
4314 * configure.ac: Likewise.
4315 * configure: Regenerate.
4316 * sysdeps/s390/configure.ac:
4317 Add check for gcc transactions support.
4318 * sysdeps/s390/configure: Regenerate.
4319 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4320 Build elision files if enabled.
4321 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4322 Add lock elision support for s390.
4323 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4324 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4325 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4326 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4327 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4328 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4329 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4331 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4333 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4335 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4337 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4338 (__lll_timedlock_elision, __lll_lock_elision)
4339 (__lll_unlock_elision, __lll_trylock_elision)
4340 (lll_timedlock_elision, lll_lock_elision)
4341 (lll_unlock_elision, lll_trylock_elision): Add.
4342 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4343 (pthread_mutex_t): Add lock elision support for s390.
4345 2014-05-14 Wilco <wdijkstr@arm.com>
4347 * sysdeps/arm/fclrexcpt.c: Cleanup.
4348 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4349 * sysdeps/arm/feenablxcpt.c: Cleanup.
4350 * sysdeps/arm/fegetenv.c: Cleanup.
4351 * sysdeps/arm/fegetexcept.c: Cleanup.
4352 * sysdeps/arm/fegetround.c: Cleanup.
4353 * sysdeps/arm/feholdexcpt.c: Cleanup.
4354 * sysdeps/arm/fesetenv.c: Cleanup.
4355 * sysdeps/arm/fesetround.c: Cleanup.
4356 * sysdeps/arm/feupdateenv.c: Cleanup.
4357 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4358 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4359 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4360 * sysdeps/arm/ftestexcept.c: Cleanup.
4361 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4362 * sysdeps/arm/setfpucw.c: Cleanup.
4364 2014-05-09 Will Newton <will.newton@linaro.org>
4366 * sysdeps/arm/armv7/strcmp.S: New file.
4367 * NEWS: Mention addition of ARMv7 optimized strcmp.
4369 2014-05-08 Roland McGrath <roland@hack.frob.com>
4371 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4372 look for %.ac rather than %.in.
4374 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4375 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4376 * sysdeps/mach/hurd/configure: Regenerated.
4377 * sysdeps/unix/sysv/linux/configure: Regenerated.
4379 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4381 2014-05-07 Steve Ellcey <sellcey@mips.com>
4384 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4388 2014-05-07 Andreas Schwab <schwab@suse.de>
4390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4391 when skipping over non-matching result from nscd.
4393 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4396 * nptl/sockperf.c (client): Check socket return value.
4399 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4400 nscd security class.
4402 2014-05-06 Roland McGrath <roland@hack.frob.com>
4404 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4405 * sysdeps/arm/unwind.h: ... here.
4407 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4410 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4413 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4415 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4416 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4417 multiarch strncpy for PPC64.
4418 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4419 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4421 multiarch optimizations.
4422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4423 (__libc_ifunc_impl_list): Likewise.
4424 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4425 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4426 multiarch stpncpy for PPC64.
4427 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4428 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4430 2014-05-06 Andreas Schwab <schwab@suse.de>
4433 * gmon/mcount.c (_MCOUNT_DECL): Use
4434 atomic_compare_and_exchange_bool_acq instead of
4435 catomic_compare_and_exchange_bool_acq.
4437 2014-05-05 Roland McGrath <roland@hack.frob.com>
4439 * elf/Makefile (others, install-bin): Remove pldd.
4440 (pldd-modules): Variable removed.
4441 ($(objpfx)pldd): Target removed.
4442 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4443 (others, install-bin): Append pldd here.
4444 ($(objpfx)pldd): New target.
4446 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4447 to 0, so the first #if test emitted later doesn't see it undefined.
4448 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4449 * sysdeps/gnu/errlist.c: Regenerated.
4451 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4453 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4454 [libc_hidden_builtin_def]: Define to empty value.
4455 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4456 [libc_hidden_builtin_def]: Likewise.
4457 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4458 [libc_hidden_builtin_def]: Likewise.
4459 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4460 [libc_hidden_builtin_def]: Likewise.
4461 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4462 __redirect_memcpy and define ifunc as default hidden symbol.
4463 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4464 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4466 2014-05-04 Adam Conrad <adconrad@0c3.net>
4468 * locale/iso-4217.def: Reintroduce XDR currency.
4470 2014-05-04 Allan McRae <allan@archlinux.org>
4472 * po/eo.po: Update Esperanto translation from translation project.
4474 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4476 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4477 and FEATURE_INDEX_MAX to 1.
4478 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4480 2014-05-01 Steve Ellcey <sellcey@mips.com>
4482 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4483 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4484 * iconvdata/big5.c (ONE_DIRECTION): Define.
4485 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4486 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4487 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4488 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4489 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4490 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4491 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4492 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4493 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4494 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4495 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4496 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4497 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4498 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4499 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4500 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4501 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4502 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4503 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4504 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4505 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4506 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4507 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4508 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4509 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4510 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4511 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4512 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4513 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4514 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4515 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4516 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4517 * iconvdata/johab.c (ONE_DIRECTION): Define.
4518 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4519 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4520 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4521 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4522 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4523 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4524 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4525 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4526 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4527 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4529 2014-05-01 Roland McGrath <roland@hack.frob.com>
4531 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4532 (_IO_JUMPS_OFFSET): Define to 0.
4534 * nptl/sysdeps/pthread/bits/libc-lock.h
4535 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4536 (__libc_lock_define_initialized_recursive): Always define using
4537 initializer. Modern compilers treat uninitialized (implicit zero) and
4538 explicit zero initializers the same (i.e. put the datum in bss).
4540 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4542 * nscd/nscd-client.h: Include <string.h>.
4544 2014-05-01 David S. Miller <davem@davemloft.net>
4547 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4548 multiple zero bytes exist at the end of a string.
4549 Reported by Aurelien Jarno <aurelien@aurel32.net>
4551 * string/test-strcmp.c (check): Add explicit test for situations where
4552 there are multiple zero bytes after the first.
4554 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4557 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4558 when compiling wprintf.
4559 * stdio-common/tstdiomisc.c (t3): New function.
4562 2014-05-01 Steve Ellcey <sellcey@mips.com>
4564 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4565 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4566 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4567 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4569 2014-05-01 Steve Ellcey <sellcey@mips.com>
4571 * stdlib/longlong.h: Updated from GCC.
4573 2014-05-01 Will Newton <will.newton@linaro.org>
4574 Bernard Ogden <bernie.ogden@linaro.org>
4576 * NEWS: Update fixed bug list.
4579 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4581 2014-04-30 David S. Miller <davem@davemloft.net>
4583 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4584 (libc_feholdexcept_setround_sparc_ctx): New function.
4585 (libc_fesetenv_sparc_ctx): Likewise.
4586 (libc_feupdateenv_sparc_ctx): Likewise.
4587 (libc_feholdsetround_sparc_ctx): Likewise.
4588 (libc_feholdexcept_setround_ctx): Define.
4589 (libc_feholdexcept_setroundf_ctx): Likewise.
4590 (libc_feholdexcept_setroundl_ctx): Likewise.
4591 (libc_fesetenv_ctx): Likewise.
4592 (libc_fesetenvf_ctx): Likewise.
4593 (libc_fesetenvl_ctx): Likewise.
4594 (libc_feupdateenv_ctx): Likewise.
4595 (libc_feupdateenvf_ctx): Likewise.
4596 (libc_feupdateenvl_ctx): Likewise.
4597 (libc_feresetround_ctx): Likewise.
4598 (libc_feresetroundf_ctx): Likewise.
4599 (libc_feresetroundl_ctx): Likewise.
4600 (libc_feholdsetround_ctx): Likewise.
4601 (libc_feholdsetroundf_ctx): Likewise.
4602 (libc_feholdsetroundl_ctx): Likewise.
4604 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4605 with __USE_GNU instead of XOPEN cpp guards.
4607 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4610 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4611 with XOPEN cpp guards.
4613 2014-04-30 Julian Brown <julian@codesourcery.com>
4616 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4619 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4622 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4624 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4625 * sysdeps/unix/sysv/linux/configure: Regenerated.
4626 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4627 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4628 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4629 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4630 * README: Update reference to required Linux kernel version.
4631 * manual/install.texi (Linux): Update reference to required Linux
4632 kernel headers version.
4633 * INSTALL: Regenerated.
4635 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4637 [POSIX] (limits.h): Likewise.
4638 [POSIX] (math.h): Likewise.
4639 [POSIX] (sys/wait.h): Likewise.
4640 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4642 [POSIX] (stddef.h): Do not allow header inclusion.
4644 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4646 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4648 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4650 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4651 Return immediately after lll_futex_wake.
4653 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4656 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4658 (datahead_init_pos): Call datahead_init_common early.
4659 (datahead_init_neg): Likewise.
4661 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4662 datahead_init_neg): New functions.
4663 * nscd/aicache.c (addhstaiX): Use them.
4664 * nscd/grpcache.c (cache_addgr): Likewise.
4665 * nscd/hstcache.c (cache_addhst): Likewise.
4666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4667 * nscd/netgroupcache.c (do_notfound): Likewise.
4668 (addgetnetgrentX): Likewise.
4669 (addinnetgrX): Likewise.
4670 * nscd/pwdcache.c (cache_addpw): Likewise.
4671 * nscd/servicescache.c (cache_addserv): Likewise.
4673 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4674 Atsushi Onoe <atsushi@onoe.org>
4679 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4680 one response is valid.
4681 * resolv/res_send.c (send_dg): Check for validity of other
4682 response if the current response is a referral.
4684 2014-04-29 Steve Ellcey <sellcey@mips.com>
4686 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4688 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4691 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4692 Always divide by positive zero when computing -Inf result.
4693 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4694 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4696 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4698 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4699 FPSCR if value do not change.
4700 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4701 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4702 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4703 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4704 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4705 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4708 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4710 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4711 * sysdeps/unix/sysv/linux/hppa: Move directory from
4712 ports/systeps/unix/sysv/linux/hppa.
4713 * README: Update listing for hppa-*-linux-gnu.
4715 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4718 * manual/stdio.texi (Hook functions): Fix types of stream hook
4721 * socket/sys/socket.h: Fix typo in comment.
4723 2014-04-28 Wilco <wdijkstr@arm.com>
4725 * sysdeps/arm/fenv_private.h: New file.
4726 * sysdeps/arm/math_private.h: New file.
4727 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4729 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4731 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4733 (La_x86_64_retval): Likewise.
4735 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4737 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4738 fpsr if value didn't change.
4739 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4740 to fpcr if value didn't change.
4741 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4742 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4743 fpsr or fpcr if value didn't change.
4744 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4745 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4746 fpcr if value didn't change.
4747 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4748 to fpsr if value didn't change.
4750 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4752 * nptl/tst-sem3.c: Use test-skeleton.c
4753 (main): Rename to do_test. Use return instead of
4755 * nptl/tst-sem4.c: Use test-skeleton.c
4756 (main): Rename to do_test.
4758 2014-04-22 David S. Miller <davem@davemloft.net>
4760 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4761 (struct sigaction): New struct member __glibc_reserved0, change
4762 type of sa_flags to int.
4764 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4766 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4767 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4769 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4771 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4772 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4774 2014-04-22 Will Newton <will.newton@linaro.org>
4775 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4777 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4778 (__longjmp): Add longjmp and longjmp_target SystemTap
4780 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4781 (__sigsetjmp): Add setjmp SystemTap probe.
4783 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4785 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4788 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4790 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4792 * sysdeps/powerpc/fpu/fenv_private.h
4793 (libc_feholdexcept_setroundl_ctx): Define to
4794 libc_feholdexcept_setround_ppc_ctx.
4795 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4796 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4797 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4798 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4800 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4802 * sysdeps/aarch64/math-tests.h: New file.
4804 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4806 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4809 Check and set bit_AVX2_Usable.
4810 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4812 (bit_AVX2): Likewise.
4813 (index_AVX2_Usable): Likewise.
4814 (CPUID_AVX2): Likewise.
4815 (HAS_AVX2): Likewise.
4817 2014-04-17 Will Newton <will.newton@linaro.org>
4819 * manual/setjmp.texi (System V contexts): Add note that
4820 calling setcontext on a context created by a call to a
4821 signal handler is undefined. Update text to note that
4822 setcontext from a signal handler is possible but not
4826 * stdlib/tst-setcontext.c: Include signal.h.
4827 (main): Check that the signal stack before and
4828 after swapcontext is the same.
4830 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4831 Re-implement to restore registers in user code and avoid
4832 rt_sigreturn system call.
4834 2014-04-17 Wilco <wdijkstr@arm.com>
4836 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4837 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4838 * math/test-fenv.c: Skip exception trap tests on targets which only
4839 support non-stop mode.
4841 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4842 Wilco Dijkstra <wilco.dijkstra@arm.com>
4844 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4845 (libc_feholdsetround_aarch64_ctx)
4846 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4847 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4848 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4849 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4850 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4851 (libc_feresetround_noexl_ctx): Define.
4853 2014-04-16 Richard Henderson <rth@redhat.com>
4855 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4857 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4860 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4861 const from the non-libc, non-ldso copy.
4863 * sysdeps/alpha/libm-test-ulps: Regenerate.
4865 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4866 Wilco Dijkstra <wilco.dijkstra@arm.com>
4868 * sysdeps/aarch64/fpu/math_private.h: New file.
4870 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4872 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4874 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4876 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4877 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4879 Intel MPX bound registers before _dl_profile_fixup.
4880 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4881 registers after _dl_profile_fixup. Save and restore bound
4882 registers bnd0/bnd1 when calling _dl_call_pltexit.
4883 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4884 (LR_BND_OFFSET): Likewise.
4885 (LRV_BND0_OFFSET): Likewise.
4886 (LRV_BND1_OFFSET): Likewise.
4888 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4890 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4892 * sysdeps/mach/hurd/i386/tls.h: ... here.
4893 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4894 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4897 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4899 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4901 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4903 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4905 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4908 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4909 * sysdeps/s390/configure: Regenerate.
4912 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4913 Set round-to-nearest internally to reduce error accumulation.
4915 2014-04-16 Alan Modra <amodra@gmail.com>
4919 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4920 * math/libm-test.inc (frexp_test_data): Add tests.
4921 * NEWS: Update fixed bug list.
4923 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4925 * benchtests/Makefile: Depend on libraries in build directory.
4926 (bench-math): Separate out math tests.
4927 (bench-pthread): Separate out pthread tests.
4928 (bench): Include math and pthread tests.
4930 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4933 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4934 _dl_debug_initialize.
4936 * configure.ac: Remove SELinux header check.
4937 * configure: Regenerate.
4938 * nscd/selinux.c (perms): Array of const char* to permission names.
4939 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4940 default policy. Call string_to_security_class and string_to_av_perm to
4941 translate strings. Enforce default policy and call avs_has_perm with
4942 results of translated strings.
4944 2014-04-13 David S. Miller <davem@davemloft.net>
4946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4948 2014-04-12 Allan McRae <allan@archlinux.org>
4951 * manual/string.texi (Collation Functions): Fix qsort argument
4953 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4955 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4957 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4958 Make the test a no-op if there are no exceptions defined.
4960 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4962 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4963 enable-hardcoded-path-in-tests
4965 2014-04-11 Will Newton <will.newton@linaro.org>
4967 * benchtests/Makefile (extra-objs): Add json-lib.o.
4968 (bench-func): Tidy up JSON output.
4969 * benchtests/bench-skeleton.c: Include json-lib.h.
4970 (main): Use JSON library functions to do output of
4972 * benchtests/bench-timing-type.c (main): Output the
4973 timing type simply, leaving formatting to the user.
4974 * benchtests/json-lib.c: New file.
4975 * benchtests/json-lib.h: Likewise.
4977 2014-04-11 Torvald Riegel <triegel@redhat.com>
4980 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4981 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4982 memory barriers. Add comments.
4983 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4984 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4985 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4986 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4987 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4988 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4990 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4992 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4993 * sysdeps/s390/s390-64/configure.ac: ... this ...
4994 * sysdeps/s390/configure.ac: ... to here.
4995 * sysdeps/s390/s390-32/configure: Delete file.
4996 * sysdeps/s390/s390-64/configure: Delete file.
4997 * sysdeps/s390/configure: Regenerate.
4999 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5001 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5003 2014-04-11 Will Newton <will.newton@linaro.org>
5005 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5006 to zero if it is not defined elsewhere. (mtrim): Test
5007 the value of MALLOC_DEBUG with #if rather than #ifdef.
5009 2014-04-10 Torvald Riegel <triegel@redhat.com>
5011 * benchtests/pthread_once-inputs: New file.
5012 * benchtests/pthread_once-source.c: New file.
5013 * benchtests/README: Update documentation.
5015 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5016 H.J. Lu <hongjiu.lu@intel.com>
5018 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5019 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5020 * sysdeps/x86_64/configure: Regenerated.
5021 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5023 (REGISTER_SAVE_RAX): Likewise.
5024 (REGISTER_SAVE_RCX): Likewise.
5025 (REGISTER_SAVE_RDX): Likewise.
5026 (REGISTER_SAVE_RSI): Likewise.
5027 (REGISTER_SAVE_RDI): Likewise.
5028 (REGISTER_SAVE_R8): Likewise.
5029 (REGISTER_SAVE_R9): Likewise.
5030 (REGISTER_SAVE_BND0): Likewise.
5031 (REGISTER_SAVE_BND1): Likewise.
5032 (REGISTER_SAVE_BND2): Likewise.
5033 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5034 bound registers when calling _dl_fixup.
5036 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5038 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5039 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5041 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5042 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5043 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5044 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5045 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5046 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5047 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5049 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5052 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5053 pathconf(_PC_NAME_MAX).
5055 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5057 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5059 (__PTHREAD_SPINS): Move definition to ...
5060 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5061 (__PTHREAD_SPINS): ... here.
5062 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5063 (__PTHREAD_SPIN): Likewise.
5064 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5065 (__PTHREAD_SPIN): Likewise.
5066 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5067 (__PTHREAD_SPIN): Likewise.
5068 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5069 (__PTHREAD_SPIN): Likewise.
5070 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5071 (__PTHREAD_SPIN): Likewise.
5072 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5073 (__PTHREAD_SPIN): Likewise.
5074 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5075 (__PTHREAD_SPIN): Likewise.
5076 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5077 (__PTHREAD_SPIN): Likewise.
5078 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5079 (__PTHREAD_SPIN): Likewise.
5080 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5081 (__PTHREAD_SPIN): Likewise.
5082 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5083 (__PTHREAD_SPIN): Likewise.
5084 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5085 (__PTHREAD_SPIN): Likewise.
5087 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5088 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5089 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5090 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5092 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5093 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5094 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5095 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5097 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5098 strlen symbol for non multi-arch builds.
5099 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5100 missing hidden_def and weak_alias.
5102 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5104 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5106 2014-04-07 Will Newton <will.newton@linaro.org>
5108 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5109 and contents. [!_LIBC] Remove #ifndef and contents.
5110 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5111 * string/memccpy.c (__memccpy): Use ANSI prototype.
5112 * string/memfrob.c (memfrob): Likewise.
5113 * string/strcoll.c (STRCOLL): Likewise.
5114 * string/strlen.c (strlen): Likewise.
5115 * string/strtok.c (STRTOK): Likewise.
5116 * string/strcat.c: Remove unused #include of memcopy.h.
5117 (strcat): Use ANSI prototype.
5118 * string/strchr.c: Remove unused #include of memcopy.h.
5119 (strchr): Use ANSI prototype.
5120 * string/strcmp.c: Remove unused #include of memcopy.h.
5121 (strcmp): Use ANSI prototype.
5122 * string/strcpy.c: Remove unused #include of memcopy.h.
5123 (strcpy): Use ANSI prototype.
5125 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5127 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5128 * config.make.in (config-extra-cppflags): Set it from
5129 libc_extra_cppflags.
5130 * configure.ac (libc_extra_cflags): Make it accumulate over
5131 configure fragments.
5132 (libc_extra_cppflags): New flag.
5133 * configure. Regenerate.
5134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5135 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5136 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5140 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5141 result for FE_DOWNWARD rounding mode.
5142 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5146 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5148 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5149 in function argument name.
5151 2014-04-03 David Svoboda <svoboda@cert.org>
5154 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5157 2014-04-03 Roland McGrath <roland@hack.frob.com>
5159 * elf/dl-unmap-segments.h: New file.
5160 * sysdeps/generic/ldsodefs.h
5161 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5162 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5163 * elf/dl-fptr.c: Likewise.
5164 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5165 * sysdeps/aarch64/tlsdesc.c: Likewise.
5166 * sysdeps/arm/tlsdesc.c: Likewise.
5167 * sysdeps/i386/tlsdesc.c: Likewise.
5168 * sysdeps/tile/dl-runtime.c: Likewise.
5169 * sysdeps/x86_64/tlsdesc.c: Likewise.
5170 * elf/dl-load.h: New file.
5171 * elf/dl-load.c: Include it.
5172 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5173 Macros moved to dl-load.h.
5174 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5175 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5176 Use _dl_unmap_segments in place of __munmap.
5177 Break out segment-mapping loop into ...
5178 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5180 2014-04-03 Will Newton <will.newton@linaro.org>
5182 * elf/dl-lookup.c (do_lookup_x): Remove comment
5183 referring to nested function and move variable
5184 declarations down to before first use.
5186 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5190 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5192 * math/s_catanf.c (__catanf): Likewise.
5193 * math/s_catanh.c (__catanh): Likewise.
5194 * math/s_catanhf.c (__catanhf): Likewise.
5195 * math/s_catanhl.c (__catanhl): Likewise.
5196 * math/s_catanl.c (__catanl): Likewise.
5197 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5198 by positive zero when computing -Inf result.
5199 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5200 (catanh_test): Likewise.
5201 * sysdeps/i386/fpu/libm-test-ulps: Update.
5202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5205 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5206 instead of using underflowing value in computing result.
5207 * math/s_clog10.c (__clog10): Likewise.
5208 * math/s_clog10f.c (__clog10f): Likewise.
5209 * math/s_clog10l.c (__clog10l): Likewise.
5210 * math/s_clogf.c (__clogf): Likewise.
5211 * math/s_clogl.c (__clogl): Likewise.
5212 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5213 (clog10_test): Likewise.
5214 * sysdeps/i386/fpu/libm-test-ulps: Update.
5215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5217 2014-04-02 Alan Modra <amodra@gmail.com>
5220 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5221 output when value is near a power of two. Use int64_t for lx and
5222 remove casts. Use decimal rather than hex exponent constants.
5223 Don't use long double multiplication when double will suffice.
5224 * math/libm-test.inc (nextafter_test_data): Add tests.
5225 * NEWS: Add 16739 and 16786 to bug list.
5227 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5229 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5231 2014-04-01 Will Newton <will.newton@linaro.org>
5233 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5234 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5236 2014-04-01 Florian Weimer <fweimer@redhat.com>
5239 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5240 * nptl/tst-setuid2.c: New file.
5241 * nptl/Makefile (xtests): Add tst-setuid2.
5243 2014-04-01 Alan Modra <amodra@gmail.com>
5246 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5248 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5252 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5253 set errno as appropriate.
5254 * math/w_scalbf.c (__scalbf): Likewise.
5255 * math/w_scalbl.c (__scalbl): Likewise.
5256 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5257 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5258 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5262 * math/w_atan2.c: Include <errno.h>.
5263 (__atan2): Set errno for result underflowing to zero.
5264 * math/w_atan2f.c: Include <errno.h>.
5265 (__atan2f): Set errno for result underflowing to zero.
5266 * math/w_atan2l.c: Include <errno.h>.
5267 (__atan2l): Set errno for result underflowing to zero.
5268 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5270 * math/auto-libm-test-out: Regenerated.
5272 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5274 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5275 Encode instruction correctly in little endian.
5276 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5278 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5280 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5282 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5285 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5288 * sysdeps/unix/sysv/linux/kernel-features.h
5289 [__sparc__ && !__arch64__ && !__sparc_v9__]
5290 (__ASSUME_SET_ROBUST_LIST): Do not define.
5291 [__sparc__ && !__arch64__ && !__sparc_v9__]
5292 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5293 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5295 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5296 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5297 (__ASSUME_REQUEUE_PI): Likewise.
5298 (__ASSUME_SET_ROBUST_LIST): Likewise.
5299 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5300 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5302 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5303 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5305 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5307 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5309 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5310 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5312 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5313 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5317 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5318 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5319 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5321 2014-03-31 Will Newton <will.newton@linaro.org>
5323 * benchtests/Makefile (bench): Add ffs and ffsll to list
5325 * benchtests/ffs-inputs: New file.
5326 * benchtests/ffsll-inputs: Likewise.
5328 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5331 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5332 too large before casting to int.
5333 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5334 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5335 * math/libm-test.inc (scalb_test_data): Add more tests.
5337 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5339 * benchtests/Makefile (DETAILED_OPT): New make option.
5340 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5342 * benchtests/bench-skeleton.c: Include stdbool.h.
5343 (main): Store and print timings per input.
5344 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5345 member to each argument value.
5346 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5347 (_print_arg_data): Initialize per-input timing to 0.
5349 * benchtests/Makefile (timing-type): New binary.
5350 (bench-clean): Also remove bench-timing-type.
5351 (bench): New target for timing-type.
5352 (bench-func): Print output in JSON format.
5353 * benchtests/bench-skeleton.c (main): Print output in JSON
5355 * benchtests/bench-timing-type.c: New file.
5356 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5357 (TIMING_PRINT_STATS): Remove.
5358 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5361 * benchtests/bench-modf.c: Remove.
5362 * benchtests/modf-inputs: New inputs file.
5364 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5367 * math/s_clog10.c (M_PI_LOG10E): New macro.
5368 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5369 imaginary parts are 0.
5370 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5371 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5372 imaginary parts are 0.
5373 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5374 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5375 imaginary parts are 0.
5376 * math/libm-test.inc (clog10_test_data): Update expected results
5377 for when real and imaginary parts are 0.
5379 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5381 * elf/dl-load.c: Finish conversion of __builtin_expect into
5384 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5387 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5388 1+x for argument with exponent below -67.
5389 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5391 * math/auto-libm-test-in: Add more tests of exp.
5392 * math/auto-libm-test-out: Regenerated.
5394 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5397 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5398 (nscd_getnetgrent): Use it.
5401 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5404 2014-03-27 Andi Kleen <ak@linux.intel.com>
5406 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5407 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5408 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5409 (lll_robust_unlock): Remove out of line section. Use cfi
5411 (LLL_STUB_UNWIND_INFO*): Remove.
5412 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5413 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5414 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5415 (lll_robust_unlock): Remove out of line section. Use cfi
5417 (LLL_STUB_UNWIND_INFO*): Remove.
5419 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5422 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5425 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5427 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5429 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5432 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5434 * math/test-fenv-preserve.c: New file.
5435 * math/Makefile (tests): Add test-fenv-preserve.
5437 2014-03-26 Will Newton <will.newton@linaro.org>
5439 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5441 2014-03-25 Roland McGrath <roland@hack.frob.com>
5443 * scripts/versionlist.awk: Partition the version sets and emit all
5444 GLIBC_* (sorted) before all others (sorted).
5446 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5448 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5449 GLIBC_2.2.5 version.
5451 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5453 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5456 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5461 2014-03-25 Andreas Schwab <schwab@suse.de>
5463 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5464 label to be used after in6ailist is initialized.
5466 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5468 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5469 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5471 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5475 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5477 (fp_formats): Update initializers.
5478 (init_fp_formats): Initialize new field.
5479 (output_for_one_input_case): Allow underflow for results up to
5481 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5482 * math/auto-libm-test-in: Don't mark some underflows from asin and
5484 * math/auto-libm-test-out: Regenerated.
5485 * sysdeps/i386/fpu/libm-test-ulps: Update.
5486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5488 2014-03-25 Andreas Schwab <schwab@suse.de>
5490 * libio/Makefile (tst-ftell-partial-wide-ENV)
5491 (tst-ftell-active-handler-ENV): Define.
5493 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5495 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5497 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5499 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5501 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5503 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5504 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5505 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5507 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5510 * elf/dl-load.c (open_verify): Add mode parameter.
5511 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5512 (open_path): Change from boolean 'secure' to complete flag 'mode'
5513 (_dl_map_object): Adjust.
5514 * elf/Makefile (tests): Add tst-dlopen-aout.
5515 * elf/tst-dlopen-aout.c: New test.
5517 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5520 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5521 (struct stat): Rename member pad0 to __glibc_reserved0.
5524 * sysdeps/s390/s390-32/bits/wordsize.h
5525 (__WORDSIZE32_SIZE_ULONG): New define.
5526 * sysdeps/s390/s390-64/bits/wordsize.h
5527 (__WORDSIZE32_SIZE_ULONG): Likewise.
5528 * sysdeps/generic/stdint.h (SIZE_MAX):
5529 Define as UL if __WORDSIZE32_SIZE_ULONG.
5532 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5533 (__glibc_reserved0): New variable.
5534 (sa_flags): Change type to int.
5536 * posix/Makefile (before-compile): Use += before-compile instead
5539 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5540 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5542 2014-03-20 Andreas Schwab <schwab@suse.de>
5545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5546 non-matching result from nscd.
5548 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5550 * scripts/bench.py: Moved to ...
5551 * benchtests/scripts/bench.py: ... here.
5552 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5554 2014-03-24 Andreas Schwab <schwab@suse.de>
5557 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5558 alloca_account and account alloca use for struct in6ailist.
5560 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5563 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5564 rounding mode to recompute results that overflow to infinity or
5566 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5568 * math/auto-libm-test-out: Regenerated.
5569 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5570 (ccosh_test): Likewise.
5571 (csin_test_data): Use plus_oflow.
5572 (csin_test): Use ALL_RM_TEST.
5573 (csinh_test_data): Use plus_oflow.
5574 (csinh_test): Use ALL_RM_TEST.
5575 * sysdeps/i386/fpu/libm-test-ulps: Update.
5576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5578 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5580 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5581 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5582 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5585 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5587 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5588 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5589 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5590 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5592 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5593 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5595 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5596 * sysdeps/i386/fpu/libm-test-ulps: Update.
5597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5599 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5601 * scripts/bench.pl: Remove file.
5602 * scripts/bench.py: New benchmark script.
5603 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5604 * benchtests/README: Mention python dependency.
5605 * scripts/pylintrc: New file.
5606 * scripts/pylint: New file.
5608 * bits/mathdef.h: Use #ifdef instead of #if.
5609 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5610 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5611 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5612 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5613 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5614 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5616 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5617 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5619 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5621 and strpbrk-ppc64 objects.
5622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5623 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5624 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5625 multiarch strpbrk for POWER7.
5626 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5627 multiarch strpbrk for PPC64.
5628 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5630 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5633 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5635 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5636 (atan_test): Likewise.
5637 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5638 (atanh_test): Use ALL_RM_TEST.
5639 (atan2_test_data): Likewise.
5640 (cabs_test): Likewise.
5641 (cacosh_test): Likewise.
5642 (carg_test): Likewise.
5643 (casin_test): Likewise.
5644 (casinh_test): Likewise.
5645 (cbrt_test): Likewise.
5646 (csqrt_test): Likewise.
5647 (erf_test): Likewise.
5648 (erfc_test): Likewise.
5649 (pow10_test): Likewise.
5650 (exp2_test): Likewise.
5651 (hypot_test): Likewise.
5652 (j0_test): Likewise.
5653 (j1_test): Likewise.
5654 (lgamma_test): Likewise.
5655 (gamma_test): Likewise.
5656 (sincos_test): Likewise.
5657 (tanh_test): Likewise.
5658 (y0_test): Likewise.
5659 (y1_test): Likewise.
5660 * sysdeps/i386/fpu/libm-test-ulps: Update.
5661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5663 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5665 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5667 and strcspn-ppc64 objects.
5668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5669 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5670 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5671 multiarch strcspn for POWER7.
5672 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5673 multiarch strcspn for PPC64.
5674 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5676 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5679 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5681 * math/gen-libm-test.pl (generate_testfile): Expect only function
5682 name as argument to AUTO_TESTS_* and pass results for all rounding
5683 modes to parse_args.
5684 (parse_auto_input): Separate inputs of automatic tests from
5685 outputs before storing in %auto_tests.
5686 * math/libm-test.inc (acos_test_data): Update call to
5688 (acos_test): Use ALL_RM_TEST.
5689 (acos_tonearest_test_data): Remove.
5690 (acos_test_tonearest): Likewise.
5691 (acos_towardzero_test_data): Likewise.
5692 (acos_test_towardzero): Likewise.
5693 (acos_downward_test_data): Likewise.
5694 (acos_test_downward): Likewise.
5695 (acos_upward_test_data): Likewise.
5696 (acos_test_upward): Likewise.
5697 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5698 (asin_test_data): Likewise.
5699 (asin_test): Use ALL_RM_TEST.
5700 (asin_tonearest_test_data): Remove.
5701 (asin_test_tonearest): Likewise.
5702 (asin_towardzero_test_data): Likewise.
5703 (asin_test_towardzero): Likewise.
5704 (asin_downward_test_data): Likewise.
5705 (asin_test_downward): Likewise.
5706 (asin_upward_test_data): Likewise.
5707 (asin_test_upward): Likewise.
5708 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5709 (atan_test_data): Likewise.
5710 (atanh_test_data): Likewise.
5711 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5712 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5713 (carg_test_data): Likewise.
5714 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5715 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5716 (ccosh_test_data): Likewise.
5717 (cexp_test_data): Likewise.
5718 (clog_test_data): Likewise.
5719 (clog10_test_data): Likewise.
5720 (cos_test_data): Update call to AUTO_TESTS_f_f.
5721 (cos_test): Use ALL_RM_TEST.
5722 (cos_tonearest_test_data): Remove.
5723 (cos_test_tonearest): Likewise.
5724 (cos_towardzero_test_data): Likewise.
5725 (cos_test_towardzero): Likewise.
5726 (cos_downward_test_data): Likewise.
5727 (cos_test_downward): Likewise.
5728 (cos_upward_test_data): Likewise.
5729 (cos_test_upward): Likewise.
5730 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5731 (cosh_test): Use ALL_RM_TEST.
5732 (cosh_tonearest_test_data): Remove.
5733 (cosh_test_tonearest): Likewise.
5734 (cosh_towardzero_test_data): Likewise.
5735 (cosh_test_towardzero): Likewise.
5736 (cosh_downward_test_data): Likewise.
5737 (cosh_test_downward): Likewise.
5738 (cosh_upward_test_data): Likewise.
5739 (cosh_test_upward): Likewise.
5740 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5741 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5742 (ctan_test_data): Likewise.
5743 (ctan_test): Use ALL_RM_TEST.
5744 (ctan_tonearest_test_data): Remove.
5745 (ctan_test_tonearest): Likewise.
5746 (ctan_towardzero_test_data): Likewise.
5747 (ctan_test_towardzero): Likewise.
5748 (ctan_downward_test_data): Likewise.
5749 (ctan_test_downward): Likewise.
5750 (ctan_upward_test_data): Likewise.
5751 (ctan_test_upward): Likewise.
5752 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5753 (ctanh_test): Use ALL_RM_TEST.
5754 (ctanh_tonearest_test_data): Remove.
5755 (ctanh_test_tonearest): Likewise.
5756 (ctanh_towardzero_test_data): Likewise.
5757 (ctanh_test_towardzero): Likewise.
5758 (ctanh_downward_test_data): Likewise.
5759 (ctanh_test_downward): Likewise.
5760 (ctanh_upward_test_data): Likewise.
5761 (ctanh_test_upward): Likewise.
5762 (erf_test_data): Update call to AUTO_TESTS_f_f.
5763 (erfc_test_data): Likewise.
5764 (exp_test_data): Likewise.
5765 (exp_test): Use ALL_RM_TEST.
5766 (exp_tonearest_test_data): Remove.
5767 (exp_test_tonearest): Likewise.
5768 (exp_towardzero_test_data): Likewise.
5769 (exp_test_towardzero): Likewise.
5770 (exp_downward_test_data): Likewise.
5771 (exp_test_downward): Likewise.
5772 (exp_upward_test_data): Likewise.
5773 (exp_test_upward): Likewise.
5774 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5775 (exp10_test): Use ALL_RM_TEST.
5776 (exp10_tonearest_test_data): Remove.
5777 (exp10_test_tonearest): Likewise.
5778 (exp10_towardzero_test_data): Likewise.
5779 (exp10_test_towardzero): Likewise.
5780 (exp10_downward_test_data): Likewise.
5781 (exp10_test_downward): Likewise.
5782 (exp10_upward_test_data): Likewise.
5783 (exp10_test_upward): Likewise.
5784 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5785 (expm1_test_data): Likewise.
5786 (expm1_test): Use ALL_RM_TEST.
5787 (expm1_tonearest_test_data): Remove.
5788 (expm1_test_tonearest): Likewise.
5789 (expm1_towardzero_test_data): Likewise.
5790 (expm1_test_towardzero): Likewise.
5791 (expm1_downward_test_data): Likewise.
5792 (expm1_test_downward): Likewise.
5793 (expm1_upward_test_data): Likewise.
5794 (expm1_test_upward): Likewise.
5795 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5796 (fma_test): Use ALL_RM_TEST.
5797 (fma_towardzero_test_data): Remove.
5798 (fma_test_towardzero): Likewise.
5799 (fma_downward_test_data): Likewise.
5800 (fma_test_downward): Likewise.
5801 (fma_upward_test_data): Likewise.
5802 (fma_test_upward): Likewise.
5803 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5804 (j0_test_data): Update call to AUTO_TESTS_f_f.
5805 (j1_test_data): Likewise.
5806 (jn_test_data): Update call to AUTO_TESTS_if_f.
5807 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5808 (log_test_data): Update call to AUTO_TESTS_f_f.
5809 (log10_test_data): Likewise.
5810 (log1p_test_data): Likewise.
5811 (log2_test_data): Likewise.
5812 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5813 (pow_tonearest_test_data): Likewise.
5814 (sin_test_data): Update call to AUTO_TESTS_f_f.
5815 (sin_test): Use ALL_RM_TEST.
5816 (sin_tonearest_test_data): Remove.
5817 (sin_test_tonearest): Likewise.
5818 (sin_towardzero_test_data): Likewise.
5819 (sin_test_towardzero): Likewise.
5820 (sin_downward_test_data): Likewise.
5821 (sin_test_downward): Likewise.
5822 (sin_upward_test_data): Likewise.
5823 (sin_test_upward): Likewise.
5824 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5825 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5826 (sinh_test): Use ALL_RM_TEST.
5827 (sinh_tonearest_test_data): Remove.
5828 (sinh_test_tonearest): Likewise.
5829 (sinh_towardzero_test_data): Likewise.
5830 (sinh_test_towardzero): Likewise.
5831 (sinh_downward_test_data): Likewise.
5832 (sinh_test_downward): Likewise.
5833 (sinh_upward_test_data): Likewise.
5834 (sinh_test_upward): Likewise.
5835 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5836 (sqrt_test): Use ALL_RM_TEST.
5837 (sqrt_tonearest_test_data): Remove.
5838 (sqrt_test_tonearest): Likewise.
5839 (sqrt_towardzero_test_data): Likewise.
5840 (sqrt_test_towardzero): Likewise.
5841 (sqrt_downward_test_data): Likewise.
5842 (sqrt_test_downward): Likewise.
5843 (sqrt_upward_test_data): Likewise.
5844 (sqrt_test_upward): Likewise.
5845 (tan_test_data): Update call to AUTO_TESTS_f_f.
5846 (tan_test): Use ALL_RM_TEST.
5847 (tan_tonearest_test_data): Remove.
5848 (tan_test_tonearest): Likewise.
5849 (tan_towardzero_test_data): Likewise.
5850 (tan_test_towardzero): Likewise.
5851 (tan_downward_test_data): Likewise.
5852 (tan_test_downward): Likewise.
5853 (tan_upward_test_data): Likewise.
5854 (tan_test_upward): Likewise.
5855 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5856 (tgamma_test_data): Likewise.
5857 (y0_test_data): Likewise.
5858 (y1_test_data): Likewise.
5859 (yn_test_data): Update call to AUTO_TESTS_if_f.
5860 (main): Do not call removed functions.
5862 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5864 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5865 (ldexp_test_data): Remove.
5866 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5868 (scalb_test): Use ALL_RM_TEST.
5870 2014-03-19 Andreas Schwab <schwab@suse.de>
5872 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5874 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5877 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5878 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5879 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5880 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5881 (__ASSUME_PREADV): Undefine.
5882 (__ASSUME_PWRITEV): Likewise.
5884 2014-03-18 Roland McGrath <roland@hack.frob.com>
5886 * bits/mman-linux.h: Add comment about non-Linux use.
5887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5888 bits/mman-linux.h resting place.
5890 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5891 * bits/mman-linux.h: ... here.
5893 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5895 * conform/conformtest.pl: Add standard definition when calling C
5896 preprocessor on data files.
5897 (checknamespace): Remove unused variable.
5899 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5901 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5902 minus_oflow, plus_uflow and minus_uflow in expected results.
5903 * math/libm-test.inc (scalbn_test_data): Add more tests of
5904 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5906 (scalbn_test): Use ALL_RM_TEST.
5907 (scalbln_test_data): Add more tests of negative arguments. Use
5908 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5909 (scalbln_test): Use ALL_RM_TEST.
5911 2014-03-18 Roland McGrath <roland@hack.frob.com>
5913 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5915 2014-03-18 Will Newton <will.newton@linaro.org>
5917 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5920 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5922 * Makerules [!subdir] (check-abi): Exit with error status if a
5925 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5927 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5928 for rint. Include results for all rounding modes.
5929 (nearbyint_test): Use ALL_RM_TEST.
5930 (rint_test_data): Include all tests used for nearbyint.
5932 2014-03-17 Will Newton <will.newton@linaro.org>
5934 * nptl/sysdeps/pthread/pthread.h: Revert previous
5937 * sysdeps/generic/ldsodefs.h: Revert previous
5940 * libio/genops.c: Revert previous change.
5941 * libio/libioP.h: Likewise.
5942 * stdio-common/vfprintf.c: Likewise.
5944 * sysdeps/generic/math_private.h: Revert previous
5947 * sysdeps/generic/math_private.h: Check whether
5948 HAVE_RM_CTX is defined with #ifdef rather
5951 * argp/argp-fmtstream.h: Check whether
5952 __STRICT_ANSI__ is defined with #ifdef rather
5954 * argp/argp.h: Likewise.
5956 * libio/genops.c: Check whether
5957 _IO_JUMPS_OFFSET is defined with #ifdef rather
5959 * libio/libioP.h: Likewise.
5960 * stdio-common/vfprintf.c: Likewise.
5962 * sysdeps/generic/ldsodefs.h: Check whether
5963 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5966 * nptl/sysdeps/pthread/pthread.h: Check
5967 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5970 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5972 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5974 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5978 * libio/fileops.c (_IO_file_open): Seek to end of file but
5979 don't cache the offset.
5980 (get_file_offset): Remove function.
5981 (do_ftell): Use cached offset when available.
5982 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5983 don't cache the offset.
5984 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5986 (do_one_test): Call it.
5987 (do_ftell_test): Fix up expected old offset for a+ mode.
5988 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5991 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5992 up test status with function return status.
5993 (do_write_test): Likewise.
5994 (do_append_test): Likewise.
5996 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5997 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6000 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6002 * math/gen-libm-test.pl (parse_args): Handle results specified for
6003 each rounding mode separately.
6004 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6005 tests and results from lrint_tonearest_test_data,
6006 lrint_towardzero_test_data, lrint_downward_test_data and
6007 lrint_upward_test_data.
6008 (lrint_test): Use ALL_RM_TEST.
6009 (lrint_tonearest_test_data): Remove.
6010 (lrint_test_tonearest): Likewise.
6011 (lrint_towardzero_test_data): Likewise.
6012 (lrint_test_towardzero): Likewise.
6013 (lrint_downward_test_data): Likewise.
6014 (lrint_test_downward): Likewise.
6015 (lrint_upward_test_data): Likewise.
6016 (lrint_test_upward): Likewise.
6017 (llrint_test_data): Merge in per-rounding-mode tests and results
6018 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6019 llrint_downward_test_data and llrint_upward_test_data.
6020 (llrint_test): Use ALL_RM_TEST.
6021 (llrint_tonearest_test_data): Remove.
6022 (llrint_test_tonearest): Likewise.
6023 (llrint_towardzero_test_data): Likewise.
6024 (llrint_test_towardzero): Likewise.
6025 (llrint_downward_test_data): Likewise.
6026 (llrint_test_downward): Likewise.
6027 (llrint_upward_test_data): Likewise.
6028 (llrint_test_upward): Likewise.
6029 (rint_test_data): Merge in per-rounding-mode tests and results
6030 from rint_tonearest_test_data, rint_towardzero_test_data,
6031 rint_downward_test_data and rint_upward_test_data. Add
6032 per-rounding-mode results for tests not in those arrays.
6033 (rint_test): Use ALL_RM_TEST.
6034 (rint_tonearest_test_data): Remove.
6035 (rint_test_tonearest): Likewise.
6036 (rint_towardzero_test_data): Likewise.
6037 (rint_test_towardzero): Likewise.
6038 (rint_downward_test_data): Likewise.
6039 (rint_test_downward): Likewise.
6040 (rint_upward_test_data): Likewise.
6041 (rint_test_upward): Likewise.
6042 (main): Don't call removed functions.
6044 2014-03-14 Roland McGrath <roland@hack.frob.com>
6046 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6047 "Compiled on ..." crapola. It is anti-useful.
6049 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6051 * scripts/evaluate-test.sh: Handle fourth argument to determine
6052 whether test run should stop on failure.
6053 * Makeconfig (stop-on-test-failure): New variable.
6054 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6055 $(stop-on-test-failure).
6056 * Makefile (tests): Give a summary of results from testing and
6057 exit with failure status if they include an ERROR or FAIL.
6059 * manual/install.texi (Configuring and compiling): Mention
6060 stop-on-test-failure=y.
6061 * INSTALL: Regenerated.
6063 2014-03-14 Roland McGrath <roland@hack.frob.com>
6065 * scripts/versionlist.awk: New file.
6066 * Makerules [$(build-shared) = yes]
6067 (postclean-generated): Add Versions.def, not Versions.def.v and
6069 ($(common-objpfx)Versions.def.v.i): Target removed.
6070 ($(common-objpfx)Versions.def): New target.
6071 ($(common-objpfx)Versions.all): Depend on that rather that
6072 $(common-objpfx)Versions.def.v.
6073 * Versions.def: File removed.
6075 * Makeconfig (+gccwarn): Add -Wundef.
6076 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6077 a dl-sysdep.h breaking its contract.
6078 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6079 * include/stackinfo.h: New file.
6080 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6081 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6082 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6083 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6084 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6085 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6086 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6087 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6088 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6089 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6090 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6091 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6092 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6093 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6094 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6096 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6099 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6101 * math/libm-test.inc (round_test_data): Add more tests.
6104 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6106 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6109 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6111 * math/libm-test.inc (ceil_test_data): Add more tests.
6113 * math/libm-test.inc (trunc_test_data): Add more tests related to
6116 2014-03-14 Roland McGrath <roland@hack.frob.com>
6118 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6119 with #if rather than #ifdef.
6120 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6122 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6124 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6125 first. Disable AVX-512 GCC support if assembler doesn't support
6127 * sysdeps/x86_64/configure: Regenerated.
6129 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6131 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6132 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6133 (__old_pthread_attr_setstack): Likewise.
6134 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6135 [!_STACK_GROWS_DOWN]: Likewise.
6137 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6139 * config.make.in (have-bash2): Delete.
6140 * configure.ac (libc_cv_have_bash2): Delete.
6141 * configure: Regenerate.
6142 * elf/Makefile (common-ldd-rewrite): Rename to ...
6143 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6144 (sh-ldd-rewrite): Delete.
6145 (bash-ldd-rewrite): Delete.
6146 (have-bash2): Delete checks.
6147 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6150 * config.make.in (have-ksh): Delete.
6152 * configure.ac (libc_cv_have_ksh): Delete.
6153 * configure: Regenerate.
6155 * elf/Makefile: Delete $(have-ksh) check.
6156 ($(objpfx)sotruss): Change KSH to BASH.
6157 * elf/sotruss.ksh: Rename to ...
6158 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6159 function style to match POSIX. Drop ksh vim mode setting.
6161 * manual/time.texi (Specifying the Time Zone with TZ): Change
6162 Tuesday to Thursday.
6164 * debug/tst-longjmp_chk2.c: Update header comment.
6165 (stackoverflow_handler): Add comment. Call assert on pass value.
6167 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6169 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6170 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6171 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6172 (La_x86_64_vector): Add zmm.
6173 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6174 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6175 ($(objpfx)tst-audit10): New target.
6176 ($(objpfx)tst-audit10.out): Likewise.
6177 (tst-audit10-ENV): New.
6178 (AVX512-CFLAGS): Likewise.
6179 (CFLAGS-tst-audit10.c): Likewise.
6180 (CFLAGS-tst-auditmod10a.c): Likewise.
6181 (CFLAGS-tst-auditmod10b.c): Likewise.
6182 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6183 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6184 * sysdeps/x86_64/configure: Regenerated.
6185 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6186 AVX-512 zmm register support.
6187 (_dl_x86_64_save_sse): Likewise.
6188 (_dl_x86_64_restore_sse): Likewise.
6189 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6190 size vector registers.
6191 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6192 (ZMM_SIZE): Likewise.
6193 * sysdeps/x86_64/tst-audit10.c: New file.
6194 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6195 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6197 2014-03-13 Roland McGrath <roland@hack.frob.com>
6199 * configure.ac (HAVE_EHDR_START): New check.
6200 * configure: Regenerated.
6201 * config.h.in (HAVE_EHDR_START): New #undef.
6202 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6203 assuming the lowest-addressed segment maps the start of the file.
6205 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6207 * INSTALL: Regenerated.
6209 2014-03-13 Will Newton <will.newton@linaro.org>
6211 * manual/setjmp.texi (System V contexts): Improve
6212 clarity and grammar of documentation.
6214 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6217 * elf/Makefile (tests): Add tst-pie2.
6218 (tests-pie): Add tst-pie2.
6219 * elf/tst-pie2.c: New file.
6220 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6222 * elf/rtld.c (map_doit): Load executable as lt_executable.
6223 (dl_main): Likewise.
6225 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6228 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6229 (__ASSUME_PSELECT): Undefine.
6231 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6234 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6235 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6237 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6238 selector for static builds.
6240 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6243 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6246 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6248 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6249 IFUNC selector for static builds.
6251 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6253 * sysdeps/mips/math_private.h [__mips_hard_float]
6254 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6255 libc_feresetround_mips_ctx.
6256 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6257 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6258 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6261 * math/s_nextafter.c (__nextafter): Do not return value from
6262 overflowing computation.
6263 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6264 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6265 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6267 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6269 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6270 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6272 2014-03-11 Roland McGrath <roland@hack.frob.com>
6274 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6275 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6276 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6277 the new mov targetting sp.
6279 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6282 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6283 Define it for static builds as well.
6284 (NO_BZERO_IMPL): Likewise.
6286 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6288 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6289 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6290 multiarch strspn for PPC64.
6291 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6292 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6294 (__libc_ifunc_impl_list): Likewise.
6295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6296 multiarch optimizations
6297 * string/strspn.c (strspn): Using macro to redefine symbol name.
6299 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6300 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6302 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6303 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6304 multiarch strncat for PPC64.
6305 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6306 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6308 (__libc_ifunc_impl_list): Likewise.
6309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6310 multiarch optimizations
6312 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6315 * nscd/nscd.service: Make service type forking.
6317 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6319 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6320 sign in non default rounding modes.
6321 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6323 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6325 * math/libm-test.inc (ALL_RM_TEST): New macro.
6326 (ceil_test): Use ALL_RM_TEST.
6327 (cimag_test): Likewise.
6328 (conj_test): Likewise.
6329 (copysign_test): Likewise.
6330 (cproj_test): Likewise.
6331 (creal_test): Likewise.
6332 (fabs_test): Likewise.
6333 (floor_test): Likewise.
6334 (fmax_test): Likewise.
6335 (fmin_test): Likewise.
6336 (fmod_test): Likewise.
6337 (fpclassify_test): Likewise.
6338 (frexp_test): Likewise.
6339 (ilogb_test): Likewise.
6340 (isfinite_test): Likewise.
6341 (finite_test): Likewise.
6342 (isgreater_test): Likewise.
6343 (isgreaterequal_test): Likewise.
6344 (isinf_test): Likewise.
6345 (isless_test): Likewise.
6346 (islessequal_test): Likewise.
6347 (islessgreater_test): Likewise.
6348 (isnan_test): Likewise.
6349 (isnormal_test): Likewise.
6350 (issignaling_test): Likewise.
6351 (isunordered_test): Likewise.
6352 (logb_test): Likewise.
6353 (logb_downward_test_data): Remove.
6354 (logb_test_downward): Likewise.
6355 (lround_test): Use ALL_RM_TEST.
6356 (llround_test): Likewise.
6357 (modf_test): Likewise.
6358 (nexttoward_test): Likewise.
6359 (remainder_test): Likewise.
6360 (drem_test): Likewise.
6361 (remainder_tonearest_test_data): Likewise.
6362 (remainder_test_tonearest): Likewise.
6363 (drem_test_tonearest): Likewise.
6364 (remainder_towardzero_test_data): Likewise.
6365 (remainder_test_towardzero): Likewise.
6366 (drem_test_towardzero): Likewise.
6367 (remainder_downward_test_data): Likewise.
6368 (remainder_test_downward): Likewise.
6369 (drem_test_downward): Likewise.
6370 (remainder_upward_test_data): Likewise.
6371 (remainder_test_upward): Likewise.
6372 (drem_test_upward): Likewise.
6373 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6374 (round_test): Use ALL_RM_TEST.
6375 (signbit_test): Likewise.
6376 (trunc_test): Likewise.
6377 (significand_test): Likewise.
6378 (main): Don't call removed functions.
6380 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6383 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6385 (ILL_ILLOPN): Likewise.
6386 (ILL_ILLADR): Likewise.
6387 (ILL_ILLTRP): Likewise.
6388 (ILL_PRVOPC): Likewise.
6389 (ILL_PRVREG): Likewise.
6390 (ILL_COPROC): Likewise.
6391 (ILL_BADSTK): Likewise.
6392 (FPE_INTDIV): Likewise.
6393 (FPE_INTOVF): Likewise.
6394 (FPE_FLTDIV): Likewise.
6395 (FPE_FLTOVF): Likewise.
6396 (FPE_FLTUND): Likewise.
6397 (FPE_FLTRES): Likewise.
6398 (FPE_FLTINV): Likewise.
6399 (FPE_FLTSUB): Likewise.
6400 (SEGV_MAPERR): Likewise.
6401 (SEGV_ACCERR): Likewise.
6402 (BUS_ADRALN): Likewise.
6403 (BUS_ADRERR): Likewise.
6404 (BUS_OBJERR): Likewise.
6405 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6406 (TRAP_TRACE): Likewise.
6407 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6409 (CLD_KILLED): Likewise.
6410 (CLD_DUMPED): Likewise.
6411 (CLD_TRAPPED): Likewise.
6412 (CLD_STOPPED): Likewise.
6413 (CLD_CONTINUED): Likewise.
6414 (POLL_IN): Likewise.
6415 (POLL_OUT): Likewise.
6416 (POLL_MSG): Likewise.
6417 (POLL_ERR): Likewise.
6418 (POLL_PRI): Likewise.
6419 (POLL_HUP): Likewise.
6420 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6422 (ILL_ILLOPN): Likewise.
6423 (ILL_ILLADR): Likewise.
6424 (ILL_ILLTRP): Likewise.
6425 (ILL_PRVOPC): Likewise.
6426 (ILL_PRVREG): Likewise.
6427 (ILL_COPROC): Likewise.
6428 (ILL_BADSTK): Likewise.
6429 (FPE_INTDIV): Likewise.
6430 (FPE_INTOVF): Likewise.
6431 (FPE_FLTDIV): Likewise.
6432 (FPE_FLTOVF): Likewise.
6433 (FPE_FLTUND): Likewise.
6434 (FPE_FLTRES): Likewise.
6435 (FPE_FLTINV): Likewise.
6436 (FPE_FLTSUB): Likewise.
6437 (SEGV_MAPERR): Likewise.
6438 (SEGV_ACCERR): Likewise.
6439 (BUS_ADRALN): Likewise.
6440 (BUS_ADRERR): Likewise.
6441 (BUS_OBJERR): Likewise.
6442 (BUS_MCEERR_AR): Likewise.
6443 (BUS_MCEERR_AO): Likewise.
6444 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6445 (TRAP_TRACE): Likewise.
6446 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6448 (CLD_KILLED): Likewise.
6449 (CLD_DUMPED): Likewise.
6450 (CLD_TRAPPED): Likewise.
6451 (CLD_STOPPED): Likewise.
6452 (CLD_CONTINUED): Likewise.
6453 (POLL_IN): Likewise.
6454 (POLL_OUT): Likewise.
6455 (POLL_MSG): Likewise.
6456 (POLL_ERR): Likewise.
6457 (POLL_PRI): Likewise.
6458 (POLL_HUP): Likewise.
6459 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6460 (ILL_ILLOPN): Likewise.
6461 (ILL_ILLADR): Likewise.
6462 (ILL_ILLTRP): Likewise.
6463 (ILL_PRVOPC): Likewise.
6464 (ILL_PRVREG): Likewise.
6465 (ILL_COPROC): Likewise.
6466 (ILL_BADSTK): Likewise.
6467 (FPE_INTDIV): Likewise.
6468 (FPE_INTOVF): Likewise.
6469 (FPE_FLTDIV): Likewise.
6470 (FPE_FLTOVF): Likewise.
6471 (FPE_FLTUND): Likewise.
6472 (FPE_FLTRES): Likewise.
6473 (FPE_FLTINV): Likewise.
6474 (FPE_FLTSUB): Likewise.
6475 (SEGV_MAPERR): Likewise.
6476 (SEGV_ACCERR): Likewise.
6477 (BUS_ADRALN): Likewise.
6478 (BUS_ADRERR): Likewise.
6479 (BUS_OBJERR): Likewise.
6480 (BUS_MCEERR_AR): Likewise.
6481 (BUS_MCEERR_AO): Likewise.
6482 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6483 (TRAP_TRACE): Likewise.
6484 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6486 (CLD_KILLED): Likewise.
6487 (CLD_DUMPED): Likewise.
6488 (CLD_TRAPPED): Likewise.
6489 (CLD_STOPPED): Likewise.
6490 (CLD_CONTINUED): Likewise.
6491 (POLL_IN): Likewise.
6492 (POLL_OUT): Likewise.
6493 (POLL_MSG): Likewise.
6494 (POLL_ERR): Likewise.
6495 (POLL_PRI): Likewise.
6496 (POLL_HUP): Likewise.
6497 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6499 (ILL_ILLOPN): Likewise.
6500 (ILL_ILLADR): Likewise.
6501 (ILL_ILLTRP): Likewise.
6502 (ILL_PRVOPC): Likewise.
6503 (ILL_PRVREG): Likewise.
6504 (ILL_COPROC): Likewise.
6505 (ILL_BADSTK): Likewise.
6506 (ILL_BADIADDR): Likewise.
6507 (ILL_BREAK): Likewise.
6508 (FPE_INTDIV): Likewise.
6509 (FPE_INTOVF): Likewise.
6510 (FPE_FLTDIV): Likewise.
6511 (FPE_FLTOVF): Likewise.
6512 (FPE_FLTUND): Likewise.
6513 (FPE_FLTRES): Likewise.
6514 (FPE_FLTINV): Likewise.
6515 (FPE_FLTSUB): Likewise.
6516 (FPE_DECOVF): Likewise.
6517 (FPE_DECDIV): Likewise.
6518 (FPE_DECERR): Likewise.
6519 (FPE_INVASC): Likewise.
6520 (FPE_INVDEC): Likewise.
6521 (SEGV_MAPERR): Likewise.
6522 (SEGV_ACCERR): Likewise.
6523 (SEGV_PSTKOVF): Likewise.
6524 (BUS_ADRALN): Likewise.
6525 (BUS_ADRERR): Likewise.
6526 (BUS_OBJERR): Likewise.
6527 (BUS_MCEERR_AR): Likewise.
6528 (BUS_MCEERR_AO): Likewise.
6529 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6530 (TRAP_TRACE): Likewise.
6531 (TRAP_BRANCH): Likewise.
6532 (TRAP_HWBKPT): Likewise.
6533 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6535 (CLD_KILLED): Likewise.
6536 (CLD_DUMPED): Likewise.
6537 (CLD_TRAPPED): Likewise.
6538 (CLD_STOPPED): Likewise.
6539 (CLD_CONTINUED): Likewise.
6540 (POLL_IN): Likewise.
6541 (POLL_OUT): Likewise.
6542 (POLL_MSG): Likewise.
6543 (POLL_ERR): Likewise.
6544 (POLL_PRI): Likewise.
6545 (POLL_HUP): Likewise.
6546 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6547 (ILL_ILLOPN): Likewise.
6548 (ILL_ILLADR): Likewise.
6549 (ILL_ILLTRP): Likewise.
6550 (ILL_PRVOPC): Likewise.
6551 (ILL_PRVREG): Likewise.
6552 (ILL_COPROC): Likewise.
6553 (ILL_BADSTK): Likewise.
6554 (FPE_INTDIV): Likewise.
6555 (FPE_INTOVF): Likewise.
6556 (FPE_FLTDIV): Likewise.
6557 (FPE_FLTOVF): Likewise.
6558 (FPE_FLTUND): Likewise.
6559 (FPE_FLTRES): Likewise.
6560 (FPE_FLTINV): Likewise.
6561 (FPE_FLTSUB): Likewise.
6562 (SEGV_MAPERR): Likewise.
6563 (SEGV_ACCERR): Likewise.
6564 (BUS_ADRALN): Likewise.
6565 (BUS_ADRERR): Likewise.
6566 (BUS_OBJERR): Likewise.
6567 (BUS_MCEERR_AR): Likewise.
6568 (BUS_MCEERR_AO): Likewise.
6569 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6570 (TRAP_TRACE): Likewise.
6571 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6573 (CLD_KILLED): Likewise.
6574 (CLD_DUMPED): Likewise.
6575 (CLD_TRAPPED): Likewise.
6576 (CLD_STOPPED): Likewise.
6577 (CLD_CONTINUED): Likewise.
6578 (POLL_IN): Likewise.
6579 (POLL_OUT): Likewise.
6580 (POLL_MSG): Likewise.
6581 (POLL_ERR): Likewise.
6582 (POLL_PRI): Likewise.
6583 (POLL_HUP): Likewise.
6584 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6585 (ILL_ILLOPN): Likewise.
6586 (ILL_ILLADR): Likewise.
6587 (ILL_ILLTRP): Likewise.
6588 (ILL_PRVOPC): Likewise.
6589 (ILL_PRVREG): Likewise.
6590 (ILL_COPROC): Likewise.
6591 (ILL_BADSTK): Likewise.
6592 (FPE_INTDIV): Likewise.
6593 (FPE_INTOVF): Likewise.
6594 (FPE_FLTDIV): Likewise.
6595 (FPE_FLTOVF): Likewise.
6596 (FPE_FLTUND): Likewise.
6597 (FPE_FLTRES): Likewise.
6598 (FPE_FLTINV): Likewise.
6599 (FPE_FLTSUB): Likewise.
6600 (SEGV_MAPERR): Likewise.
6601 (SEGV_ACCERR): Likewise.
6602 (BUS_ADRALN): Likewise.
6603 (BUS_ADRERR): Likewise.
6604 (BUS_OBJERR): Likewise.
6605 (BUS_MCEERR_AR): Likewise.
6606 (BUS_MCEERR_AO): Likewise.
6607 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6608 (TRAP_TRACE): Likewise.
6609 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6611 (CLD_KILLED): Likewise.
6612 (CLD_DUMPED): Likewise.
6613 (CLD_TRAPPED): Likewise.
6614 (CLD_STOPPED): Likewise.
6615 (CLD_CONTINUED): Likewise.
6616 (POLL_IN): Likewise.
6617 (POLL_OUT): Likewise.
6618 (POLL_MSG): Likewise.
6619 (POLL_ERR): Likewise.
6620 (POLL_PRI): Likewise.
6621 (POLL_HUP): Likewise.
6622 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6623 (ILL_ILLOPN): Likewise.
6624 (ILL_ILLADR): Likewise.
6625 (ILL_ILLTRP): Likewise.
6626 (ILL_PRVOPC): Likewise.
6627 (ILL_PRVREG): Likewise.
6628 (ILL_COPROC): Likewise.
6629 (ILL_BADSTK): Likewise.
6630 (FPE_INTDIV): Likewise.
6631 (FPE_INTOVF): Likewise.
6632 (FPE_FLTDIV): Likewise.
6633 (FPE_FLTOVF): Likewise.
6634 (FPE_FLTUND): Likewise.
6635 (FPE_FLTRES): Likewise.
6636 (FPE_FLTINV): Likewise.
6637 (FPE_FLTSUB): Likewise.
6638 (SEGV_MAPERR): Likewise.
6639 (SEGV_ACCERR): Likewise.
6640 (BUS_ADRALN): Likewise.
6641 (BUS_ADRERR): Likewise.
6642 (BUS_OBJERR): Likewise.
6643 (BUS_MCEERR_AR): Likewise.
6644 (BUS_MCEERR_AO): Likewise.
6645 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6646 (TRAP_TRACE): Likewise.
6647 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6649 (CLD_KILLED): Likewise.
6650 (CLD_DUMPED): Likewise.
6651 (CLD_TRAPPED): Likewise.
6652 (CLD_STOPPED): Likewise.
6653 (CLD_CONTINUED): Likewise.
6654 (POLL_IN): Likewise.
6655 (POLL_OUT): Likewise.
6656 (POLL_MSG): Likewise.
6657 (POLL_ERR): Likewise.
6658 (POLL_PRI): Likewise.
6659 (POLL_HUP): Likewise.
6660 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6661 (ILL_ILLOPN): Likewise.
6662 (ILL_ILLADR): Likewise.
6663 (ILL_ILLTRP): Likewise.
6664 (ILL_PRVOPC): Likewise.
6665 (ILL_PRVREG): Likewise.
6666 (ILL_COPROC): Likewise.
6667 (ILL_BADSTK): Likewise.
6668 (ILL_DBLFLT): Likewise.
6669 (ILL_HARDWALL): Likewise.
6670 (FPE_INTDIV): Likewise.
6671 (FPE_INTOVF): Likewise.
6672 (FPE_FLTDIV): Likewise.
6673 (FPE_FLTOVF): Likewise.
6674 (FPE_FLTUND): Likewise.
6675 (FPE_FLTRES): Likewise.
6676 (FPE_FLTINV): Likewise.
6677 (FPE_FLTSUB): Likewise.
6678 (SEGV_MAPERR): Likewise.
6679 (SEGV_ACCERR): Likewise.
6680 (BUS_ADRALN): Likewise.
6681 (BUS_ADRERR): Likewise.
6682 (BUS_OBJERR): Likewise.
6683 (BUS_MCEERR_AR): Likewise.
6684 (BUS_MCEERR_AO): Likewise.
6685 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6686 (TRAP_TRACE): Likewise.
6687 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6689 (CLD_KILLED): Likewise.
6690 (CLD_DUMPED): Likewise.
6691 (CLD_TRAPPED): Likewise.
6692 (CLD_STOPPED): Likewise.
6693 (CLD_CONTINUED): Likewise.
6694 (POLL_IN): Likewise.
6695 (POLL_OUT): Likewise.
6696 (POLL_MSG): Likewise.
6697 (POLL_ERR): Likewise.
6698 (POLL_PRI): Likewise.
6699 (POLL_HUP): Likewise.
6700 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6701 (ILL_ILLOPN): Likewise.
6702 (ILL_ILLADR): Likewise.
6703 (ILL_ILLTRP): Likewise.
6704 (ILL_PRVOPC): Likewise.
6705 (ILL_PRVREG): Likewise.
6706 (ILL_COPROC): Likewise.
6707 (ILL_BADSTK): Likewise.
6708 (FPE_INTDIV): Likewise.
6709 (FPE_INTOVF): Likewise.
6710 (FPE_FLTDIV): Likewise.
6711 (FPE_FLTOVF): Likewise.
6712 (FPE_FLTUND): Likewise.
6713 (FPE_FLTRES): Likewise.
6714 (FPE_FLTINV): Likewise.
6715 (FPE_FLTSUB): Likewise.
6716 (SEGV_MAPERR): Likewise.
6717 (SEGV_ACCERR): Likewise.
6718 (BUS_ADRALN): Likewise.
6719 (BUS_ADRERR): Likewise.
6720 (BUS_OBJERR): Likewise.
6721 (BUS_MCEERR_AR): Likewise.
6722 (BUS_MCEERR_AO): Likewise.
6723 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6724 (TRAP_TRACE): Likewise.
6725 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6727 (CLD_KILLED): Likewise.
6728 (CLD_DUMPED): Likewise.
6729 (CLD_TRAPPED): Likewise.
6730 (CLD_STOPPED): Likewise.
6731 (CLD_CONTINUED): Likewise.
6732 (POLL_IN): Likewise.
6733 (POLL_OUT): Likewise.
6734 (POLL_MSG): Likewise.
6735 (POLL_ERR): Likewise.
6736 (POLL_PRI): Likewise.
6737 (POLL_HUP): Likewise.
6738 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6739 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6742 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6743 before #include of <time.h>.
6744 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6745 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6746 (test-xfail-UNIX98/sched.h/conform): Likewise.
6748 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6750 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6751 error absence of trapping exception support.
6752 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6754 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6756 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6757 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6758 * timezone/Makefile (testdata): Move definition above include of
6760 (test-zones): New variable.
6761 (tests-special): Add zone files.
6762 (build-testdata): Use $(evaluate-test).
6764 * elf/Makefile (tests-special): Rename tests to end with .out.
6765 ($(objpfx)noload-mem): Likewise.
6766 ($(objpfx)tst-leaks1-mem): Likewise.
6767 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6768 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6769 $(objpfx)test-iconvconfig.out.
6770 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6771 set -e inside subshell and redirect output to file.
6772 * iconvdata/Makefile (generated): Rename tests to end with .out.
6774 (tests-special): Rename tests to end with .out.
6775 ($(objpfx)mtrace-tst-loading): Likewise.
6776 * intl/Makefile (generated): Likewise.
6777 (tests-special): Likewise.
6778 ($(objpfx)mtrace-tst-gettext): Likewise.
6779 * misc/Makefile (generated): Likewise.
6780 (tests-special): Likewise.
6781 ($(objpfx)tst-error1-mem): Likewise.
6782 * nptl/Makefile (tests-special): Likewise.
6783 ($(objpfx)tst-stack3-mem): Likewise.
6784 (generated): Likewise.
6785 * posix/Makefile (generated): Likewise.
6786 (tests-special): Likewise.
6787 (xtests-special): Likewise.
6788 ($(objpfx)tst-fnmatch-mem): Likewise.
6789 ($(objpfx)bug-regex2-mem): Likewise.
6790 ($(objpfx)bug-regex14-mem): Likewise.
6791 ($(objpfx)bug-regex21-mem): Likewise.
6792 ($(objpfx)bug-regex31-mem): Likewise.
6793 ($(objpfx)tst-vfork3-mem): Likewise.
6794 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6795 ($(objpfx)tst-pcre-mem): Likewise.
6796 ($(objpfx)tst-boost-mem): Likewise.
6797 ($(objpfx)bug-ga2-mem): Likewise.
6798 ($(objpfx)bug-glob2-mem): Likewise.
6799 * resolv/Makefile (generate): Likewise.
6800 (tests-special): Likewise.
6801 (xtests-special): Likewise.
6802 (generated): Likewise.
6803 ($(objpfx)mtrace-tst-leaks): Likewise.
6804 ($(objpfx)mtrace-tst-leaks2): Likewise.
6806 * scripts/merge-test-results.sh: New file.
6807 * Makefile (tests-special-notdir): New variable.
6808 (tests): Run merge-test-results.sh.
6810 * Rules (tests-special-notdir): New variable.
6811 (xtests-special-notdir): Likewise.
6812 (tests): Run merge-test-results.sh
6815 * Makeconfig (test-xfail-name): New variable.
6816 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6817 compute variable name for expected failures.
6818 * conform/Makefile (conformtest-headers-data): New variable.
6819 (conformtest-standards): Likewise.
6820 (conformtest-headers-ISO): Likewise.
6821 (conformtest-headers-ISO99): Likewise.
6822 (conformtest-headers-ISO11): Likewise.
6823 (conformtest-headers-POSIX): Likewise.
6824 (conformtest-headers-XPG3): Likewise.
6825 (conformtest-headers-XPG4): Likewise.
6826 (conformtest-headers-UNIX98): Likewise.
6827 (conformtest-headers-XOPEN2K): Likewise.
6828 (conformtest-headers-POSIX2008): Likewise.
6829 (conformtest-headers-XOPEN2K8): Likewise.
6830 (conformtest-header-list-base): Likewise.
6831 (conformtest-header-list-tests): Likewise.
6832 (conformtest-header-base): Likewise.
6833 (conformtest-header-tests): Likewise.
6834 (tests-special): Add $(conformtest-header-list-tests). If
6835 [$(fast-check) && !$(cross-compiling)], add
6836 $(conformtest-header-tests) instead of
6837 $(objpfx)run-conformtest.out.
6838 (generated): Add $(conformtest-header-list-base). If
6839 [$(fast-check) && !$(cross-compiling)], add
6840 $(conformtest-header-base). Remove previous setting.
6841 ($(conformtest-header-list-tests)): New target.
6842 (test-xfail-run-conformtest): Remove variable.
6843 ($(objpfx)run-conformtest.out): Remove target.
6844 (test-xfail-ISO11/complex.h/conform): New variable.
6845 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6846 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6847 (test-xfail-XPG3/varargs.h/conform): Likewise.
6848 (test-xfail-XPG4/varargs.h/conform): Likewise.
6849 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6850 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6851 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6852 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6853 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6854 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6855 (test-xfail-XPG3/ftw.h/conform): Likewise.
6856 (test-xfail-XPG3/grp.h/conform): Likewise.
6857 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6858 (test-xfail-XPG3/limits.h/conform): Likewise.
6859 (test-xfail-XPG3/pwd.h/conform): Likewise.
6860 (test-xfail-XPG3/search.h/conform): Likewise.
6861 (test-xfail-XPG3/signal.h/conform): Likewise.
6862 (test-xfail-XPG3/stdio.h/conform): Likewise.
6863 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6864 (test-xfail-XPG3/string.h/conform): Likewise.
6865 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6866 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6867 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6868 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6869 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6870 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6871 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6872 (test-xfail-XPG3/termios.h/conform): Likewise.
6873 (test-xfail-XPG3/time.h/conform): Likewise.
6874 (test-xfail-XPG3/unistd.h/conform): Likewise.
6875 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6876 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6877 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6878 (test-xfail-XPG4/netdb.h/conform): Likewise.
6879 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6880 (test-xfail-XPG4/signal.h/conform): Likewise.
6881 (test-xfail-XPG4/stdio.h/conform): Likewise.
6882 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6883 (test-xfail-XPG4/stropts.h/conform): Likewise.
6884 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6885 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6886 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6887 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6888 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6889 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6890 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6891 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6892 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6893 (test-xfail-XPG4/termios.h/conform): Likewise.
6894 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6895 (test-xfail-XPG4/unistd.h/conform): Likewise.
6896 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6897 (test-xfail-POSIX/sched.h/conform): Likewise.
6898 (test-xfail-POSIX/signal.h/conform): Likewise.
6899 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6900 (test-xfail-POSIX/tar.h/conform): Likewise.
6901 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6902 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6903 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6904 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6905 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6906 (test-xfail-UNIX98/sched.h/conform): Likewise.
6907 (test-xfail-UNIX98/signal.h/conform): Likewise.
6908 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6909 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6910 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6911 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6912 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6913 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6914 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6915 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6916 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6917 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6918 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6919 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6920 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6921 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6922 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6923 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6924 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6925 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6926 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6927 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6928 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6929 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6930 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6931 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6932 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6933 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6934 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6935 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6936 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6937 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6938 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6939 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6940 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6941 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6942 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6943 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6944 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6945 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6946 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6947 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6948 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6949 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6950 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6951 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6952 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6953 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6954 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6955 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6956 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6957 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6958 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6959 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6960 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6961 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6962 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6963 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6964 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6965 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6966 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6967 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6968 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6969 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6970 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6971 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6972 (conformtest-cc-flags): Likewise.
6973 ($(conformtest-header-tests): New target.
6974 * conform/check-header-lists.sh: New file.
6975 * conform/run-conformtest.sh: Remove.
6977 * conform/conformtest.pl: Allow ' and \ in values given for
6979 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6981 [POSIX] (sys/types.h): Likewise.
6982 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6984 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6986 * conform/data/signal.h-data (SIGIO): Remove expectation.
6987 [XPG3] (SIGBUS): Do not expect.
6988 [POSIX || XPG3] (SIGPOLL): Likewise.
6989 [POSIX || XPG3] (SIGPROF): Likewise.
6990 [POSIX || XPG3] (SIGSYS): Likewise.
6991 [XPG3] (SIGTRAP): Likewise.
6992 [POSIX || XPG3] (SIGURG): Likewise.
6993 [POSIX || XPG3] (SIGVTALRM): Likewise.
6994 [POSIX || XPG3] (SIGXCPU): Likewise.
6995 [POSIX || XPG3] (SIGXFSZ): Likewise.
6996 [POSIX] (SA_SIGINFO): Expect.
6997 [XPG3] (siginfo_t): Do not expect type or contents.
6998 [POSIX] (si_pid): Do not expect element.
6999 [POSIX] (si_uid): Likewise.
7000 [POSIX] (si_addr): Likewise.
7001 [POSIX] (si_status): Likewise.
7002 [POSIX] (si_band): Likewise.
7003 [XPG4] (si_value): Likewise.
7004 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7005 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7006 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7007 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7008 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7009 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7010 [POSIX || XPG3] (ILL_COPROC): Likewise.
7011 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7012 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7013 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7014 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7015 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7016 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7017 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7018 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7019 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7020 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7021 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7022 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7023 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7024 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7025 [POSIX || XPG3] (CLD_EXITED): Likewise.
7026 [POSIX || XPG3] (CLD_KILLED): Likewise.
7027 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7028 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7029 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7030 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7031 [POSIX || XPG3] (POLL_IN): Likewise.
7032 [POSIX || XPG3] (POLL_OUT): Likewise.
7033 [POSIX || XPG3] (POLL_MSG): Likewise.
7034 [POSIX || XPG3] (POLL_ERR): Likewise.
7035 [POSIX || XPG3] (POLL_PRI): Likewise.
7036 [POSIX || XPG3] (POLL_HUP): Likewise.
7037 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7038 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7039 (SIG*): Do not allow.
7040 [XPG3] (si_*): Likewise.
7041 [XPG3] (SI_*): Likewise.
7042 [XPG3 || XPG4] (sigev_*): Likewise.
7043 [XPG3 || XPG4] (SIGEV_*): Likewise.
7044 [XPG3 || XPG4] (sival_*): Likewise.
7045 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7046 [POSIX || XPG3] (BUS_*): Likewise.
7047 [POSIX || XPG3] (CLD_*): Likewise.
7048 [POSIX || XPG3] (FPE_*): Likewise.
7049 [POSIX || XPG3] (ILL_*): Likewise.
7050 [POSIX || XPG3] (POLL_*): Likewise.
7051 [POSIX || XPG3] (SEGV_*): Likewise.
7052 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7053 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7054 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7055 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7056 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7057 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7058 Specify type and value.
7059 (TVERSLEN): Likewise.
7060 (REGTYPE): Likewise.
7061 (AREGTYPE): Likewise.
7062 (LNKTYPE): Likewise.
7063 (SYMTYPE): Likewise.
7064 (CHRTYPE): Likewise.
7065 (BLKTYPE): Likewise.
7066 (DIRTYPE): Likewise.
7067 (FIFOTYPE): Likewise.
7068 (CONTTYPE): Likewise.
7073 (TUWRITE): Likewise.
7076 (TGWRITE): Likewise.
7079 (TOWRITE): Likewise.
7081 [POSIX] (TSVTX): Expect constant.
7083 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7085 * Makefile (tests): Change dependencies to ....
7086 (tests-special): ... additions to this variable.
7087 (tests): Depend on $(tests-special).
7088 * Makerules (check-abi-list): New variable.
7089 (check-abi): Depend on $(check-abi-list).
7090 [$(subdir) = elf] (tests-special): Add
7091 $(objpfx)check-abi-libc.out.
7092 [$(build-shared) = yes && subdir] (tests-special): Add
7094 [$(build-shared) = yes && subdir] (tests): Do not depend on
7096 * Rules (tests): Depend on $(tests-special).
7097 (xtests): Depend on $(xtests-special).
7098 * catgets/Makefile (tests): Change dependencies to ....
7099 (tests-special): ... additions to this variable.
7100 * conform/Makefile (tests): Change dependencies to ....
7101 (tests-special): ... additions to this variable.
7102 * elf/Makefile (tests): Change dependencies to ....
7103 (tests-special): ... additions to this variable.
7104 * grp/Makefile (tests): Change dependencies to ....
7105 (tests-special): ... additions to this variable.
7106 * iconv/Makefile (xtests): Change dependencies to ....
7107 (xtests-special): ... additions to this variable.
7108 * iconvdata/Makefile (tests): Change dependencies to ....
7109 (tests-special): ... additions to this variable.
7110 * intl/Makefile (tests): Change dependencies to ....
7111 (tests-special): ... additions to this variable. Also add
7112 $(objpfx)tst-gettext.out.
7113 * io/Makefile (tests): Change dependencies to ....
7114 (tests-special): ... additions to this variable.
7115 * libio/Makefile (tests): Change dependencies to ....
7116 (tests-special): ... additions to this variable.
7117 * malloc/Makefile (tests): Change dependencies to ....
7118 (tests-special): ... additions to this variable.
7119 * misc/Makefile (tests): Change dependencies to ....
7120 (tests-special): ... additions to this variable.
7121 * nptl/Makefile (tests): Change dependencies to ....
7122 (tests-special): ... additions to this variable.
7123 * nptl_db/Makefile (tests): Change dependencies to ....
7124 (tests-special): ... additions to this variable.
7125 * posix/Makefile (tests): Change dependencies to ....
7126 (tests-special): ... additions to this variable.
7127 (xtests): Change dependencies to ....
7128 (xtests-special): ... additions to this variable.
7129 * resolv/Makefile (tests): Change dependencies to ....
7130 (tests-special): ... additions to this variable.
7131 (xtests): Change dependencies to ....
7132 (xtests-special): ... additions to this variable.
7133 * stdio-common/Makefile (tests): Change dependencies to ....
7134 (tests-special): ... additions to this variable.
7135 (do-tst-unbputc): Remove target.
7136 (do-tst-printf): Likewise.
7137 * stdlib/Makefile (tests): Change dependencies to ....
7138 (tests-special): ... additions to this variable.
7139 * string/Makefile (tests): Change dependencies to ....
7140 (tests-special): ... additions to this variable.
7141 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7142 (tests-special): ... additions to this variable.
7144 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7146 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7148 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7149 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7151 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7152 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7153 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7154 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7155 * conform/data/libgen.h-data [XPG3]: Likewise.
7156 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7157 * conform/data/ndbm.h-data [XPG3]: Likewise.
7158 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7159 * conform/data/netdb.h-data [XPG3]: Likewise.
7160 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7161 * conform/data/poll.h-data [XPG3]: Likewise.
7162 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7163 * conform/data/strings.h-data [XPG3]: Likewise.
7164 * conform/data/stropts.h-data [XPG3]: Likewise.
7165 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7166 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7167 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7169 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7170 * conform/data/sys/time.h-data [XPG3]: Likewise.
7171 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7172 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7173 * conform/data/sys/un.h-data [XPG3]: Likewise.
7174 * conform/data/syslog.h-data [XPG3]: Likewise.
7175 * conform/data/ucontext.h-data [XPG3]: Likewise.
7176 * conform/data/utmpx.h-data [XPG3]: Likewise.
7177 * conform/data/varargs.h-data [UNIX98]: Enable file.
7179 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7181 * math/libm-test.inc (struct test_f_f_data): Move expected results
7182 into structure for each rounding mode.
7183 (struct test_ff_f_data): Likewise.
7184 (struct test_ff_f_data_nexttoward): Likewise.
7185 (struct test_fi_f_data): Likewise.
7186 (struct test_fl_f_data): Likewise.
7187 (struct test_if_f_data): Likewise.
7188 (struct test_fff_f_data): Likewise.
7189 (struct test_c_f_data): Likewise.
7190 (struct test_f_f1_data): Likewise.
7191 (struct test_fF_f1_data): Likewise.
7192 (struct test_ffI_f1_data): Likewise.
7193 (struct test_c_c_data): Likewise.
7194 (struct test_cc_c_data): Likewise.
7195 (struct test_f_i_data): Likewise.
7196 (struct test_ff_i_data): Likewise.
7197 (struct test_f_l_data): Likewise.
7198 (struct test_f_L_data): Likewise.
7199 (struct test_fFF_11_data): Likewise.
7201 (RM_FE_DOWNWARD): Likewise.
7202 (RM_FE_TONEAREST): Likewise.
7203 (RM_FE_TOWARDZERO): Likewise.
7204 (RM_FE_UPWARD): Likewise.
7205 (RUN_TEST_LOOP_f_f): Update references to expected results.
7206 (RUN_TEST_LOOP_2_f): Likewise.
7207 (RUN_TEST_LOOP_fff_f): Likewise.
7208 (RUN_TEST_LOOP_c_f): Likewise.
7209 (RUN_TEST_LOOP_f_f1): Likewise.
7210 (RUN_TEST_LOOP_fF_f1): Likewise.
7211 (RUN_TEST_LOOP_fI_f1): Likewise.
7212 (RUN_TEST_LOOP_ffI_f1): Likewise.
7213 (RUN_TEST_LOOP_c_c): Likewise.
7214 (RUN_TEST_LOOP_cc_c): Likewise.
7215 (RUN_TEST_LOOP_f_i): Likewise.
7216 (RUN_TEST_LOOP_f_i_tg): Likewise.
7217 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7218 (RUN_TEST_LOOP_f_b): Likewise.
7219 (RUN_TEST_LOOP_f_b_tg): Likewise.
7220 (RUN_TEST_LOOP_f_l): Likewise.
7221 (RUN_TEST_LOOP_f_L): Likewise.
7222 (RUN_TEST_LOOP_fFF_11): Likewise.
7223 * math/gen-libm-test.pl (parse_args): Output four copies of
7224 expected results for each test.
7226 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7227 (__ASSUME_UTIMES): Remove.
7228 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7229 (__ASSUME_UTIMES): Likewise.
7231 * math/gen-auto-libm-tests.c: Update comment on output format.
7232 (output_for_one_input_case): Generate before-rounding and
7233 after-rounding information as conditions on output flags not
7234 floating-point format.
7235 * math/auto-libm-test-out: Regenerated.
7236 * math/gen-libm-test.pl (cond_value): New function.
7237 (or_cond_value): Use cond_value.
7238 (generate_testfile): Handle conditional exceptions.
7240 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7242 * math/libm-test.inc (max_valid_error): New variable.
7243 (init_max_error): Take new argument specifying whether function
7244 results are exactly determined. Set max_valid_error and bound
7245 other variables for errors based on this argument.
7246 (set_max_error): Do not record results above max_valid_error.
7247 (check_float_internal): Only accept errors of up to 0.5ulps if
7248 also at most max_valid_error.
7249 (START): Take new argument EXACT and pass it to init_max_error.
7250 (acos_test): Update call to START.
7251 (acos_test_tonearest): Likewise.
7252 (acos_test_towardzero): Likewise.
7253 (acos_test_downward): Likewise.
7254 (acos_test_upward): Likewise.
7255 (acosh_test): Likewise.
7256 (asin_test): Likewise.
7257 (asin_test_tonearest): Likewise.
7258 (asin_test_towardzero): Likewise.
7259 (asin_test_downward): Likewise.
7260 (asin_test_upward): Likewise.
7261 (asinh_test): Likewise.
7262 (atan_test): Likewise.
7263 (atanh_test): Likewise.
7264 (atan2_test): Likewise.
7265 (cabs_test): Likewise.
7266 (cacos_test): Likewise.
7267 (cacosh_test): Likewise.
7268 (carg_test): Likewise.
7269 (casin_test): Likewise.
7270 (casinh_test): Likewise.
7271 (catan_test): Likewise.
7272 (catanh_test): Likewise.
7273 (cbrt_test): Likewise.
7274 (ccos_test): Likewise.
7275 (ccosh_test): Likewise.
7276 (ceil_test): Likewise.
7277 (cexp_test): Likewise.
7278 (cimag_test): Likewise.
7279 (clog_test): Likewise.
7280 (clog10_test): Likewise.
7281 (conj_test): Likewise.
7282 (copysign_test): Likewise.
7283 (cos_test): Likewise.
7284 (cos_test_tonearest): Likewise.
7285 (cos_test_towardzero): Likewise.
7286 (cos_test_downward): Likewise.
7287 (cos_test_upward): Likewise.
7288 (cosh_test): Likewise.
7289 (cosh_test_tonearest): Likewise.
7290 (cosh_test_towardzero): Likewise.
7291 (cosh_test_downward): Likewise.
7292 (cosh_test_upward): Likewise.
7293 (cpow_test): Likewise.
7294 (cproj_test): Likewise.
7295 (creal_test): Likewise.
7296 (csin_test): Likewise.
7297 (csinh_test): Likewise.
7298 (csqrt_test): Likewise.
7299 (ctan_test): Likewise.
7300 (ctan_test_tonearest): Likewise.
7301 (ctan_test_towardzero): Likewise.
7302 (ctan_test_downward): Likewise.
7303 (ctan_test_upward): Likewise.
7304 (ctanh_test): Likewise.
7305 (ctanh_test_tonearest): Likewise.
7306 (ctanh_test_towardzero): Likewise.
7307 (ctanh_test_downward): Likewise.
7308 (ctanh_test_upward): Likewise.
7309 (erf_test): Likewise.
7310 (erfc_test): Likewise.
7311 (exp_test): Likewise.
7312 (exp_test_tonearest): Likewise.
7313 (exp_test_towardzero): Likewise.
7314 (exp_test_downward): Likewise.
7315 (exp_test_upward): Likewise.
7316 (exp10_test): Likewise.
7317 (exp10_test_tonearest): Likewise.
7318 (exp10_test_towardzero): Likewise.
7319 (exp10_test_downward): Likewise.
7320 (exp10_test_upward): Likewise.
7321 (pow10_test): Likewise.
7322 (exp2_test): Likewise.
7323 (expm1_test): Likewise.
7324 (expm1_test_tonearest): Likewise.
7325 (expm1_test_towardzero): Likewise.
7326 (expm1_test_downward): Likewise.
7327 (expm1_test_upward): Likewise.
7328 (fabs_test): Likewise.
7329 (fdim_test): Likewise.
7330 (floor_test): Likewise.
7331 (fma_test): Likewise.
7332 (fma_test_towardzero): Likewise.
7333 (fma_test_downward): Likewise.
7334 (fma_test_upward): Likewise.
7335 (fmax_test): Likewise.
7336 (fmin_test): Likewise.
7337 (fmod_test): Likewise.
7338 (fpclassify_test): Likewise.
7339 (frexp_test): Likewise.
7340 (hypot_test): Likewise.
7341 (ilogb_test): Likewise.
7342 (isfinite_test): Likewise.
7343 (finite_test): Likewise.
7344 (isgreater_test): Likewise.
7345 (isgreaterequal_test): Likewise.
7346 (isinf_test): Likewise.
7347 (isless_test): Likewise.
7348 (islessequal_test): Likewise.
7349 (islessgreater_test): Likewise.
7350 (isnan_test): Likewise.
7351 (isnormal_test): Likewise.
7352 (issignaling_test): Likewise.
7353 (isunordered_test): Likewise.
7354 (j0_test): Likewise.
7355 (j1_test): Likewise.
7356 (jn_test): Likewise.
7357 (ldexp_test): Likewise.
7358 (lgamma_test): Likewise.
7359 (gamma_test): Likewise.
7360 (lrint_test): Likewise.
7361 (lrint_test_tonearest): Likewise.
7362 (lrint_test_towardzero): Likewise.
7363 (lrint_test_downward): Likewise.
7364 (lrint_test_upward): Likewise.
7365 (llrint_test): Likewise.
7366 (llrint_test_tonearest): Likewise.
7367 (llrint_test_towardzero): Likewise.
7368 (llrint_test_downward): Likewise.
7369 (llrint_test_upward): Likewise.
7370 (log_test): Likewise.
7371 (log10_test): Likewise.
7372 (log1p_test): Likewise.
7373 (log2_test): Likewise.
7374 (logb_test): Likewise.
7375 (logb_test_downward): Likewise.
7376 (lround_test): Likewise.
7377 (llround_test): Likewise.
7378 (modf_test): Likewise.
7379 (nearbyint_test): Likewise.
7380 (nextafter_test): Likewise.
7381 (nexttoward_test): Likewise.
7382 (pow_test): Likewise.
7383 (pow_test_tonearest): Likewise.
7384 (pow_test_towardzero): Likewise.
7385 (pow_test_downward): Likewise.
7386 (pow_test_upward): Likewise.
7387 (remainder_test): Likewise.
7388 (drem_test): Likewise.
7389 (remainder_test_tonearest): Likewise.
7390 (drem_test_tonearest): Likewise.
7391 (remainder_test_towardzero): Likewise.
7392 (drem_test_towardzero): Likewise.
7393 (remainder_test_downward): Likewise.
7394 (drem_test_downward): Likewise.
7395 (remainder_test_upward): Likewise.
7396 (drem_test_upward): Likewise.
7397 (remquo_test): Likewise.
7398 (rint_test): Likewise.
7399 (rint_test_tonearest): Likewise.
7400 (rint_test_towardzero): Likewise.
7401 (rint_test_downward): Likewise.
7402 (rint_test_upward): Likewise.
7403 (round_test): Likewise.
7404 (scalb_test): Likewise.
7405 (scalbn_test): Likewise.
7406 (scalbln_test): Likewise.
7407 (signbit_test): Likewise.
7408 (sin_test): Likewise.
7409 (sin_test_tonearest): Likewise.
7410 (sin_test_towardzero): Likewise.
7411 (sin_test_downward): Likewise.
7412 (sin_test_upward): Likewise.
7413 (sincos_test): Likewise.
7414 (sinh_test): Likewise.
7415 (sinh_test_tonearest): Likewise.
7416 (sinh_test_towardzero): Likewise.
7417 (sinh_test_downward): Likewise.
7418 (sinh_test_upward): Likewise.
7419 (sqrt_test): Likewise.
7420 (sqrt_test_tonearest): Likewise.
7421 (sqrt_test_towardzero): Likewise.
7422 (sqrt_test_downward): Likewise.
7423 (sqrt_test_upward): Likewise.
7424 (tan_test): Likewise.
7425 (tan_test_tonearest): Likewise.
7426 (tan_test_towardzero): Likewise.
7427 (tan_test_downward): Likewise.
7428 (tan_test_upward): Likewise.
7429 (tanh_test): Likewise.
7430 (tgamma_test): Likewise.
7431 (trunc_test): Likewise.
7432 (y0_test): Likewise.
7433 (y1_test): Likewise.
7434 (yn_test): Likewise.
7435 (significand_test): Likewise.
7437 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7438 individual tests in comment.
7439 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7440 (prev_max_error): New variable.
7441 (prev_real_max_error): Likewise.
7442 (prev_imag_max_error): Likewise.
7443 (compare_ulp_data): Don't refer to test names in comment.
7444 (find_test_ulps): Remove function.
7445 (find_function_ulps): Likewise.
7446 (find_complex_function_ulps): Likewise.
7447 (init_max_error): Take function name as argument. Look up ulps
7449 (print_ulps): Remove function.
7450 (print_max_error): Use prev_max_error instead of calling
7452 (print_complex_max_error): Use prev_real_max_error and
7453 prev_imag_max_error instead of calling find_complex_function_ulps.
7454 (check_float_internal): Take max_ulp parameter instead of calling
7455 find_test_ulps. Don't call print_ulps.
7456 (check_float): Update call to check_float_internal.
7457 (check_complex): Update calls to check_float_internal.
7458 (START): Pass argument to init_max_error.
7459 * math/gen-libm-test.pl (%results): Don't include "kind"
7461 (parse_ulps): Don't handle ulps of individual tests.
7462 (print_ulps_file): Likewise.
7463 (output_ulps): Likewise.
7464 * math/README.libm-test: Update.
7465 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7467 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7468 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7469 * sysdeps/arm/libm-test-ulps: Likewise.
7470 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7471 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7472 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7473 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7474 * sysdeps/microblaze/libm-test-ulps: Likewise.
7475 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7476 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7477 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7478 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7479 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7480 * sysdeps/sh/libm-test-ulps: Likewise.
7481 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7482 * sysdeps/tile/libm-test-ulps: Likewise.
7483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7485 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7487 * math/libm-test.inc (print_complex_max_error): Check separately
7488 whether real and imaginary errors are within allowed range and
7489 pass 0 to print_complex_function_ulps instead of value within
7492 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7494 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7496 (get_handles_fopen): Likewise.
7497 (do_write_test): Likewise.
7499 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7501 * libio/fileops.c (do_ftell): Use cached offset when
7503 * libio/iofwide.c (do_ftell_wide): Likewise.
7504 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7506 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7509 * libio/libioP.h (get_file_offset): New function.
7510 * libio/fileops.c (get_file_offset): Likewise.
7511 (do_ftell): Likewise.
7512 (_IO_new_file_seekoff): Split out ftell logic.
7513 * libio/wfileops.c (do_ftell_wide): Likewise.
7514 (_IO_wfile_seekoff): Split out ftell logic.
7515 * libio/tst-ftell-active-handler.c: New test case.
7516 * libio/Makefile (tests): Add it.
7518 2014-03-03 Roland McGrath <roland@hack.frob.com>
7520 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7521 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7523 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7526 * nscd/connections.c (nscd_init): Call do_exit.
7527 (start_threads): Call do_exit and notify_parent.
7528 (begin_drop_privileges): Call do_exit.
7529 (finish_drop_privileges): Likewise.
7530 * nscd/selinux.c (preserve_capabilities): Likewise.
7531 (install_real_capabilities): Likewise.
7532 (nscd_selinux_enabled): Likewise.
7533 (avc_create_thread): Likewise.
7534 (avc_alloc_lock): Likewise.
7535 (nscd_avc_init): Likewise.
7536 * nscd/nscd.c (parent_fd): New static variable.
7537 (main): Create a pipe between parent and child processes.
7538 Skip closing parent_fd.
7539 (monitor_child): New function.
7540 (do_exit): Likewise.
7541 (notify_parent): Likewise.
7542 * nscd/nscd.h (notify_parent): Likewise.
7543 (do_exit): Likewise.
7545 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7547 * malloc/malloc.c (__libc_calloc): Revert last change.
7549 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7553 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7555 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7559 (__libc_ifunc_impl_list): Likewise.
7560 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7561 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7562 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7563 * string/strrchr.c: Define STRRCHR.
7565 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7567 * benchtest/bench-strtok.c (simple_strtok): Delete.
7568 (strtok_string): Use as benchmark.
7569 * string/strtok (STRTOK): New macro.
7571 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7573 * manual/threads.texi: Add header and standard comments to all
7576 * elf/dl-lookup.c (check_match): New function.
7577 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7578 (do_lookup_x): Remove nested function check_match. Use non-nested
7579 function check_match.
7581 2014-02-28 Roland McGrath <roland@hack.frob.com>
7583 * csu/Makefile (generated, before-compile): Use += rather than =.
7584 * catgets/Makefile (generated, generated-dirs): Likewise.
7585 * debug/Makefile (generated): Likewise.
7586 * dlfcn/Makefile (generated): Likewise.
7587 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7588 * iconvdata/Makefile (before-compile, generated): Likewise.
7589 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7590 * libio/Makefile (generated): Likewise.
7591 * malloc/Makefile (generated): Likewise.
7592 * manual/Makefile (generated, generated-dirs): Likewise.
7593 * misc/Makefile (generated): Likewise.
7594 * posix/Makefile (generated): Likewise.
7595 * resolv/Makefile (generated): Likewise.
7596 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7597 * timezone/Makefile (generated, generated-dirs): Likewise.
7599 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7601 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7604 power8 implementation.
7605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7606 file: POWER8 llround ifunc implementation.
7607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7608 (__lllround): Add POWER8 implementation.
7609 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7610 POWER8 llround implementation.
7612 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7613 power8 implementation.
7614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7615 file: POWER8 llrint ifunc implementation.
7616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7617 Add POWER8 implementation.
7618 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7619 POWER8 llrint implementation.
7621 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7622 power8 implementation.
7623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7624 file: POWER8 finite ifunc implementation.
7625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7626 Add POWER8 implementation.
7627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7629 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7630 POWER8 finite implementation.
7631 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7633 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7634 power8 implementation.
7635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7636 file: POWER8 isinf ifunc implementation.
7637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7638 POWER8 implementation.
7639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7641 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7642 isinf implementation.
7643 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7645 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7646 (INIT_ARCH): Add hwcap2 initialization.
7647 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7648 power8 implementation.
7649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7650 file: POWER8 isnan ifunc implementation.
7651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7652 POWER8 implementation.
7653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7655 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7656 isnan implementation.
7657 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7659 2014-02-27 Joey Ye <joey.ye@arm.com>
7661 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7662 (_FP_NANFRAC_Q): Set to zero.
7664 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7667 * math/auto-libm-test-in: New test inputs.
7668 * math/auto-libm-test-out: Regenerate.
7669 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7672 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7674 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7676 * scripts/evaluate-test.sh: Take new argument indicating whether
7677 failure is expected.
7678 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7679 indicating whether failure is expected.
7680 * conform/Makefile (test-xfail-run-conformtest): New variable.
7681 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7683 * posix/Makefile (test-xfail-annexc): New variable.
7684 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7686 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7688 * argp/Makefile: Include Makeconfig immediately after defining
7690 * assert/Makefile: Likewise.
7691 * benchtests/Makefile: Likewise.
7692 * catgets/Makefile: Likewise.
7693 * conform/Makefile: Likewise.
7694 * crypt/Makefile: Likewise.
7695 * csu/Makefile: Likewise.
7696 (all): Remove target.
7697 * ctype/Makefile: Include Makeconfig immediately after defining
7699 * debug/Makefile: Likewise.
7700 * dirent/Makefile: Likewise.
7701 * dlfcn/Makefile: Likewise.
7702 * gmon/Makefile: Likewise.
7703 * gnulib/Makefile: Likewise.
7704 * grp/Makefile: Likewise.
7705 * gshadow/Makefile: Likewise.
7706 * hesiod/Makefile: Likewise.
7707 * hurd/Makefile: Likewise.
7708 (all): Remove target.
7709 * iconvdata/Makefile: Include Makeconfig immediately after
7711 * inet/Makefile: Likewise.
7712 * intl/Makefile: Likewise.
7713 * io/Makefile: Likewise.
7714 * libio/Makefile: Likewise.
7715 (all): Remove target.
7716 * locale/Makefile: Include Makeconfig immediately after defining
7718 * login/Makefile: Likewise.
7719 * mach/Makefile: Likewise.
7720 (all): Remove target.
7721 * malloc/Makefile: Include Makeconfig immediately after defining
7723 (all): Remove target.
7724 * manual/Makefile: Include Makeconfig immediately after defining
7726 * math/Makefile: Likewise.
7727 * misc/Makefile: Likewise.
7728 * nis/Makefile: Likewise.
7729 * nss/Makefile: Likewise.
7730 * po/Makefile: Likewise.
7731 (all): Remove target.
7732 * posix/Makefile: Include Makeconfig immediately after defining
7734 * pwd/Makefile: Likewise.
7735 * resolv/Makefile: Likewise.
7736 * resource/Makefile: Likewise.
7737 * rt/Makefile: Likewise.
7738 * setjmp/Makefile: Likewise.
7739 * shadow/Makefile: Likewise.
7740 * signal/Makefile: Likewise.
7741 * socket/Makefile: Likewise.
7742 * soft-fp/Makefile: Likewise.
7743 * stdio-common/Makefile: Likewise.
7744 * stdlib/Makefile: Likewise.
7745 * streams/Makefile: Likewise.
7746 * string/Makefile: Likewise.
7747 * sunrpc/Makefile: Likewise.
7748 (all): Remove target.
7749 * sysvipc/Makefile: Include Makeconfig immediately after defining
7751 * termios/Makefile: Likewise.
7752 * time/Makefile: Likewise.
7753 * timezone/Makefile: Likewise.
7754 (all): Remove target.
7755 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7757 * wctype/Makefile: Likewise.
7759 2014-02-26 Steve Ellcey <sellcey@mips.com>
7761 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7762 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7763 (libc_feholdexcept_setround_mips): Ditto.
7764 (libc_feholdsetround): New.
7765 (libc_feholdsetroundf): New.
7766 (libc_feholdsetroundl): New.
7767 (libc_feupdateenv_test_mips): New.
7768 (libc_feupdateenv_test): New.
7769 (libc_feupdateenv_testf): New.
7770 (libc_feupdateenv_testl): New.
7771 (libc_feresetround): New.
7772 (libc_feresetroundf): New.
7773 (libc_feresetroundl): New.
7774 (libc_fetestexcept_mips): New.
7775 (libc_fetestexcept): New.
7776 (libc_fetestexceptf): New.
7777 (libc_fetestexceptl): New.
7779 (libc_feholdexcept_setround_mips_ctx): New.
7780 (libc_feholdexcept_setround_ctx): New.
7781 (libc_feholdexcept_setroundf_ctx): New.
7782 (libc_feholdexcept_setroundl_ctx): New.
7783 (libc_fesetenv_mips_ctx): New.
7784 (libc_fesetenv_ctx): New.
7785 (libc_fesetenv_ctxf): New.
7786 (libc_fesetenv_ctxl): New.
7787 (libc_feupdateenv_mips_ctx): New.
7788 (libc_feupdateenv_ctx): New.
7789 (libc_feupdateenvf_ctx): New.
7790 (libc_feupdateenvl_ctx): New.
7791 (libc_feholdsetround_mips_ctx): New.
7792 (libc_feholdsetround_ctx): New.
7793 (libc_feholdsetroundf_ctx): New.
7794 (libc_feholdsetroundl_ctx): New.
7795 (libc_feresetround_mips_ctx): New.
7796 (libc_feresetround_ctx): New.
7797 (libc_feresetroundf_ctx): New.
7798 (libc_feresetroundl_ctx): New.
7800 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7802 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7804 * manual/ipc.texi: New file.
7805 * manual/Makefile (chapters): Add ipc.
7806 * manual/job.texi: Add "Inter-Process Communication" to next.
7807 * manual/process.texi: Add "Inter-Process Communication" to prev.
7809 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7813 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7815 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7817 * manual/arith.texi: Fix spaces after sentences.
7818 * manual/charset.texi: Likewise.
7819 * manual/errno.texi: Likewise.
7820 * manual/install.texi: Likewise.
7821 * manual/llio.texi: Likewise.
7822 * manual/locale.texi: Likewise.
7823 * manual/maint.texi: Likewise.
7824 * manual/math.texi: Likewise.
7825 * manual/memory.texi: Likewise.
7826 * manual/message.texi: Likewise.
7827 * manual/probes.texi: Likewise.
7828 * manual/resource.texi: Likewise.
7829 * manual/signal.texi: Likewise.
7830 * manual/socket.texi: Likewise.
7831 * manual/stdio.texi: Likewise.
7832 * manual/string.texi: Likewise.
7833 * manual/time.texi: Likewise.
7834 * manual/users.texi: Likewise.
7836 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7839 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7840 _DEFAULT_SOURCE is defined.
7842 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7843 Carlos O'Donell <carlos@redhat.com>
7846 * elf/dl-tls.c (_dl_count_modids): New function.
7847 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7848 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7849 audit library and increment generation counter.
7850 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7851 * elf/tst-audit9.c: New file.
7852 * elf/tst-auditmod9a.c: New file.
7853 * elf/tst-auditmod9b.c: New file.
7854 * elf/Makefile: Add rules to build and run tst-audit9.
7856 2014-02-25 Florian Weimer <fweimer@redhat.com>
7859 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7861 2014-02-25 Will Newton <will.newton@linaro.org>
7863 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7864 (__longjmp): Restore sp and lr before restoring callee
7865 saved registers. Add longjmp and longjmp_target
7866 SystemTap probe point.
7867 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7868 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7869 Define to zero to match jmpbuf layout.
7870 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7871 (__sigsetjmp): Save sp and lr before saving callee
7872 saved registers. Add setjmp SystemTap probe point.
7874 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7876 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7878 2014-02-24 Andreas Schwab <schwab@suse.de>
7881 * elf/pldd.c (wait_for_ptrace_stop): New function.
7882 (main): Call it after attaching.
7884 2014-02-22 Roland McGrath <roland@hack.frob.com>
7886 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7887 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7888 Versions files is now verboten.
7889 * hurd/Versions (libc: GLIBC_2.0):
7890 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7891 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7892 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7893 * mach/Versions: Likewise.
7895 * csu/Versions: Remove unused %include.
7896 * resolv/Versions: Likewise.
7898 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7900 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7901 ($(objpfx)check-local-headers.out): Likewise.
7902 ($(objpfx)begin-end-check.out): Likewise.
7903 * Makerules (check-abi-%.out): Likewise.
7904 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7905 ($(objpfx)test2.cat): Likewise.
7906 ($(objpfx)de/libc.cat): Likewise.
7907 ($(objpfx)test-gencat.out): Likewise.
7908 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7909 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7910 ($(objpfx)noload-mem): Likewise.
7911 ($(objpfx)tst-pathopt.out): Likewise.
7912 ($(objpfx)tst-rtld-load-self.out): Likewise.
7913 ($(objpfx)tst-array1-cmp.out): Likewise.
7914 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7915 ($(objpfx)tst-array2-cmp.out): Likewise.
7916 ($(objpfx)tst-array3-cmp.out): Likewise.
7917 ($(objpfx)tst-array4-cmp.out): Likewise.
7918 ($(objpfx)tst-array5-cmp.out): Likewise.
7919 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7920 ($(objpfx)check-textrel.out): Likewise.
7921 ($(objpfx)check-execstack.out): Likewise.
7922 ($(objpfx)check-localplt.out): Likewise.
7923 ($(objpfx)order2-cmp.out): Likewise.
7924 ($(objpfx)tst-leaks1-mem): Likewise.
7925 ($(objpfx)tst-leaks1-static-mem): Likewise.
7926 ($(objpfx)tst-initorder-cmp.out): Likewise.
7927 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7928 ($(objpfx)tst-unused-dep.out): Likewise.
7929 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7930 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7931 * iconv/Makefile (test-iconvconfig): Likewise.
7932 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7933 ($(objpfx)iconv-test.out): Likewise.
7934 ($(objpfx)tst-tables.out): Likewise.
7935 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7936 ($(objpfx)tst-gettext.out): Likewise.
7937 ($(objpfx)tst-translit.out): Likewise.
7938 ($(objpfx)tst-gettext2.out): Likewise.
7939 ($(objpfx)tst-gettext4.out): Likewise.
7940 ($(objpfx)tst-gettext6.out): Likewise.
7941 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7942 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7943 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7944 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7945 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7946 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7947 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7948 ($(objpfx)wordexp-tst.out): Likewise.
7949 ($(objpfx)annexc.out): Likewise.
7950 ($(objpfx)tst-fnmatch-mem): Likewise.
7951 ($(objpfx)bug-regex2-mem): Likewise.
7952 ($(objpfx)bug-regex14-mem): Likewise.
7953 ($(objpfx)bug-regex21-mem): Likewise.
7954 ($(objpfx)bug-regex31-mem): Likewise.
7955 ($(objpfx)tst-vfork3-mem): Likewise.
7956 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7957 ($(objpfx)tst-pcre-mem): Likewise.
7958 ($(objpfx)tst-boost-mem): Likewise.
7959 ($(objpfx)tst-getconf.out): Likewise.
7960 ($(objpfx)bug-ga2-mem): Likewise.
7961 ($(objpfx)bug-glob2-mem): Likewise.
7962 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7963 ($(objpfx)mtrace-tst-leaks2): Likewise.
7964 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7965 ($(objpfx)tst-printf.out): Likewise.
7966 ($(objpfx)tst-setvbuf1.out): Likewise.
7967 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7968 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7969 ($(objpfx)tst-fmtmsg.out): Likewise.
7970 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7971 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7973 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7974 * bits/sigaction.h [__USE_MISC]: Likewise.
7975 * bits/waitstatus.h: Update #endif comments.
7976 * ctype/ctype.h: Likewise.
7977 * dirent/dirent.h: Likewise.
7978 [__USE_MISC]: Remove redundant conditionals.
7979 * grp/grp.h: Update #endif comments.
7980 [__USE_GNU]: Remove redundant conditionals.
7981 [__USE_MISC]: Likewise.
7982 * inet/netinet/in.h [__USE_GNU]: Likewise.
7983 * io/sys/stat.h [__USE_MISC]: Likewise.
7984 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7985 * libio/bits/stdio.h: Update #endif comments.
7986 [__USE_MISC]: Remove redundant conditionals.
7987 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7988 * libio/stdio.h: Update #endif comments.
7989 [__USE_MISC]: Remove redundant conditionals.
7990 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7991 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7992 * math/math.h: Update #else and #endif comments.
7993 [__USE_MISC]: Remove redundant conditionals.
7994 * misc/sys/uio.h: Update #endif comments.
7995 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7996 * posix/glob.h [__USE_MISC]: Likewise.
7997 * posix/sys/types.h: Update #endif comments.
7998 [__USE_MISC]: Remove redundant conditionals.
7999 * posix/sys/wait.h: Update #endif comments.
8000 [__USE_MISC]: Remove redundant conditionals.
8001 * posix/unistd.h: Update #endif comments.
8002 [__USE_MISC]: Remove redundant conditionals.
8003 * pwd/pwd.h [__USE_GNU]: Likewise.
8004 [__USE_MISC]: Likewise.
8005 * resolv/netdb.h [__USE_GNU]: Likewise.
8006 * signal/signal.h: Update #endif comments.
8007 [__USE_MISC]: Remove redundant conditionals.
8008 * stdlib/stdlib.h: Update #else and #endif comments.
8009 [__USE_MISC]: Remove redundant conditionals.
8010 [__USE_GNU]: Likewise.
8011 * string/bits/string2.h [__USE_MISC]: Likewise.
8012 * string/string.h: Update #endif comments.
8013 [__USE_MISC]: Remove redundant conditionals.
8014 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8016 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8017 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8018 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8020 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8022 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8024 [__USE_MISC]: Remove redundant conditionals.
8025 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8026 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8027 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8028 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8029 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8031 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8032 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8034 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8035 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8037 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8039 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8040 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8042 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8044 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8045 * sysdeps/x86/bits/string.h: Update #endif comments.
8046 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8048 * time/sys/time.h: Update #endif comments.
8049 * time/time.h: Likewise.
8050 [__USE_MISC]: Remove redundant conditionals.
8052 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8055 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8057 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8059 * Versions.def (librt): Add GLIBC_2.17.
8061 2014-02-21 Adam Conrad <adconrad@0c3.net>
8063 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8064 synonym for _SYS_AUXV_H to allow direct inclusion.
8065 * sysdeps/sparc/bits/hwcap.h: Likewise.
8066 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8067 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8068 * sysdeps/sparc/sysdep.h: Likewise.
8070 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8072 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8074 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8076 * benchtests/bench-strrchr.c: Print length instead of position.
8078 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8081 * sysdeps/unix/sysv/linux/kernel-features.h
8082 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8083 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8084 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8085 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8087 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8088 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8089 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8090 (__ASSUME_SENDMMSG): Define instead of using previous
8091 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8092 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8093 (__ASSUME_SENDMMSG_SYSCALL): Define.
8094 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8095 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8097 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8098 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8100 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8101 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8103 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8104 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8105 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8106 [__ASSUME_SENDMMSG]: Change conditionals to
8107 [__ASSUME_SENDMMSG_SOCKETCALL].
8108 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8109 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8111 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8112 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8114 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8115 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8116 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8117 [!__ASSUME_SENDMMSG]: Change conditional to
8118 [!__ASSUME_SENDMMSG_SOCKETCALL].
8119 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8120 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8124 * sysdeps/unix/sysv/linux/kernel-features.h
8125 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8126 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8127 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8128 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8129 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8130 [__i386__ || __sparc__]
8131 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8132 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8133 (__ASSUME_RECVMMSG): Define instead of using previous
8134 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8135 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8136 (__ASSUME_RECVMMSG_SYSCALL): Define.
8137 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8138 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8140 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8141 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8143 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8144 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8146 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8147 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8148 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8149 [__ASSUME_RECVMMSG]: Change condition to
8150 [__ASSUME_RECVMMSG_SOCKETCALL].
8151 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8152 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8154 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8155 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8156 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8158 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8159 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8160 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8161 [!__ASSUME_RECVMMSG]: Change condition to
8162 [!__ASSUME_RECVMMSG_SOCKETCALL].
8163 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8164 (__ASSUME_RECVMMSG_SYSCALL): Define.
8167 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8168 __powerpc__ || __s390__ || __sh__ || __sparc__]
8169 (__ASSUME_SOCKETCALL): Define.
8170 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8171 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8172 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8173 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8174 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8175 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8176 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8177 (__ASSUME_ACCEPT4): Define instead of using previous
8178 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8179 __powerpc__ || __sparc__ || __s390__)] condition.
8180 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8181 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8182 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8183 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8184 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8185 [!__ASSUME_ACCEPT4]: Change condition to
8186 [!__ASSUME_ACCEPT4_SOCKETCALL].
8187 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8188 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8189 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8190 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8191 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8192 __ASSUME_ACCEPT4_SYSCALL.
8193 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8194 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8195 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8196 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8197 __ASSUME_ACCEPT4_SYSCALL.
8198 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8199 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8200 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8201 [__ASSUME_ACCEPT4]: Change condition to
8202 [__ASSUME_ACCEPT4_SOCKETCALL].
8203 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8204 (__ASSUME_SOCKETCALL): Define.
8205 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8206 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8207 (__ASSUME_SOCKETCALL): Define.
8208 (__ASSUME_ACCEPT4): Remove.
8209 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8211 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8212 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8214 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8215 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8217 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8219 (HWCAP_ARM_LPAE): Likewise.
8220 (HWCAP_ARM_EVTSTRM): Likewise.
8221 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8222 Add vpfd32, lpae and evtstrm.
8223 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8226 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8228 * math/auto-libm-test-in: Add tests of clog10.
8229 * math/auto-libm-test-out: Regenerated.
8230 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8231 * sysdeps/i386/fpu/libm-test-ulps: Update.
8232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8234 2014-02-18 Andreas Schwab <schwab@suse.de>
8237 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8238 Store non-zero if the second buffer was newly allocated.
8239 (send_dg): Likewise.
8240 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8241 to send_vc and send_dg.
8242 (res_nsend): Pass NULL for ansp2_malloced.
8243 * resolv/res_query.c (__libc_res_nquery): Add parameter
8244 answerp2_malloced and pass it down to __libc_res_nsend.
8245 (res_nquery): Pass additional NULL to __libc_res_nquery.
8246 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8247 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8248 second answer buffer if answerp2_malloced was set.
8249 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8250 (__libc_res_nquerydomain): Add parameter
8251 answerp2_malloced and pass it down to __libc_res_nquery.
8252 (res_nquerydomain): Pass additional NULL to
8253 __libc_res_nquerydomain.
8254 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8255 additional NULL to __libc_res_nsend and __libc_res_nquery.
8256 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8257 additional NULL to __libc_res_nsearch.
8258 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8259 parameter of __libc_res_nsearch to check for separately allocated
8261 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8263 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8264 additional NULL to __libc_res_nquery.
8265 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8267 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8268 * include/resolv.h: Update prototypes of __libc_res_nquery,
8269 __libc_res_nsearch, __libc_res_nsend.
8271 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8273 * math/auto-libm-test-in: Add tests of fma.
8274 * math/auto-libm-test-out: Regenerated.
8275 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8276 (fma_towardzero_test_data): Likewise.
8277 (fma_downward_test_data): Likewise.
8278 (fma_upward_test_data): Likewise.
8279 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8281 (rounding_modes): Add values for new field.
8282 (func_calc_method): Add value mpfr_fff_f.
8283 (func_calc_desc): Add mpfr_fff_f union field.
8284 (test_function): Add field exact_args.
8285 (FUNC): Add macro argument EXACT_ARGS.
8286 (FUNC_mpfr_f_f): Update call to FUNC.
8287 (FUNC_mpfr_f_f): Likewise.
8288 (FUNC_mpfr_ff_f): Likewise.
8289 (FUNC_mpfr_if_f): Likewise.
8290 (FUNC_mpc_c_f): Likewise.
8291 (FUNC_mpc_c_c): Likewise.
8292 (test_functions): Add fma. Update calls to FUNC.
8293 (handle_input_arg): Add argument exact_args.
8294 (add_test): Update call to handle_input_arg.
8295 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8296 (output_for_one_input_case): Update call to calc_generic_results.
8297 Recalculate exact zero results in each rounding mode.
8299 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8300 non-negative before setting low bit.
8301 * math/auto-libm-test-in: Mark one asin test possibly having
8303 * math/auto-libm-test-out: Regenerated.
8304 * sysdeps/i386/fpu/libm-test-ulps: Update.
8305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8307 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8309 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8310 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8311 ports/sysdeps/unix/sysv/linux/microblaze.
8312 * README: Add missing listing for microblaze*-*-linux-gnu.
8314 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8316 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8317 * sysdeps/unix/sysv/linux/ia64: Move directory from
8318 ports/sysdeps/unix/sysv/linux/ia64.
8319 * README: Update listing for ia64-*-linux-gnu.
8321 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8322 Joseph Myers <joseph@codesourcery.com>
8324 * Makeconfig (test-name): New variable.
8325 (evaluate-test): Likewise.
8326 * Makerules (do-test-clean): Remove .test-result files.
8327 (common-mostlyclean): Likewise.
8328 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8329 * scripts/evaluate-test.sh: New file.
8331 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8333 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8334 separate $(objpfx)tst-fopenloc-cmp.out and
8335 $(objpfx)tst-fopenloc-mem.out targets.
8336 (tests): Update dependencies.
8337 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8338 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8339 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8340 (tst-rxspencer-no-utf8-ARGS): New variable.
8341 (tst-rxspencer-no-utf8-ENV): Likewise.
8342 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8343 instead of $(objpfx)tst-rxspencer-mem.
8344 ($(objpfx)tst-rxspencer-mem): Change target to
8345 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8346 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8347 * posix/tst-rxspencer-no-utf8.c: New file.
8349 * elf/Makefile ($(objpfx)order.out): Remove rule.
8350 [$(run-built-tests) = yes] (tests): Depend on
8351 $(objpfx)order-cmp.out.
8352 ($(objpfx)order-cmp.out): New rule.
8353 [$(run-built-tests) = yes] (tests): Depend on
8354 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8355 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8356 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8357 $(objpfx)tst-array5-static-cmp.out.
8358 ($(objpfx)tst-array1.out): Remove rule.
8359 ($(objpfx)tst-array1-cmp.out): New rule.
8360 ($(objpfx)tst-array1-static.out): Remove rule.
8361 ($(objpfx)tst-array1-static-cmp.out): New rule.
8362 ($(objpfx)tst-array2.out): Remove rule.
8363 ($(objpfx)tst-array2-cmp.out): New rule.
8364 ($(objpfx)tst-array3.out): Remove rule.
8365 ($(objpfx)tst-array3-cmp.out): New rule.
8366 ($(objpfx)tst-array4.out): Remove rule.
8367 ($(objpfx)tst-array4-cmp.out): New rule.
8368 ($(objpfx)tst-array5.out): Remove rule.
8369 ($(objpfx)tst-array5-cmp.out): New rule.
8370 ($(objpfx)tst-array5-static.out): Remove rule.
8371 ($(objpfx)tst-array5-static-cmp.out): New rule.
8372 [$(run-built-tests) = yes] (tests): Depend on
8373 $(objpfx)order2-cmp.out.
8374 ($(objpfx)order2.out): Remove rule.
8375 ($(objpfx)order2-cmp.out): New rule.
8376 ($(objpfx)tst-initorder.out): Remove rule.
8377 [$(run-built-tests) = yes] (tests): Depend on
8378 $(objpfx)tst-initorder-cmp.out.
8379 ($(objpfx)tst-initorder-cmp.out): New rule.
8380 ($(objpfx)tst-initorder2.out): Remove rule.
8381 [$(run-built-tests) = yes] (tests): Depend on
8382 $(objpfx)tst-initorder2-cmp.out.
8383 ($(objpfx)tst-initorder2-cmp.out): New rule.
8384 [$(run-built-tests) = yes] (tests): Depend on
8385 $(objpfx)tst-unused-dep-cmp.out.
8386 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8387 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8388 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8389 on $(objpfx)tst-setvbuf1-cmp.out.
8390 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8391 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8392 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8393 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8394 ($(objpfx)tst-svc.out): Remove rule.
8395 ($(objpfx)tst-svc-cmp.out): New rule.
8397 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8399 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8400 * ctype/ctype.h [__USE_MISC]: Likewise.
8401 * dirent/dirent.h [__USE_MISC]: Likewise.
8402 * grp/grp.h [__USE_MISC]: Likewise.
8403 * io/fcntl.h [__USE_MISC]: Likewise.
8404 * io/sys/stat.h [__USE_MISC]: Likewise.
8405 * libio/stdio.h [__USE_MISC]: Likewise.
8406 * posix/unistd.h [__USE_MISC]: Likewise.
8407 * pwd/pwd.h [__USE_MISC]: Likewise.
8408 * stdlib.h [__USE_MISC]: Likewise.
8409 * string/bits/string2.h [__USE_MISC]: Likewise.
8410 * string/string.h [__USE_MISC]: Likewise.
8411 * time/time.h [__USE_MISC]: Likewise.
8413 2014-02-13 Andreas Schwab <schwab@suse.de>
8416 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8417 second answer buffer if it was separately allocated.
8419 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8421 * sysdeps/mips/math-tests.h: Include <features.h>.
8422 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8423 (ROUNDING_TESTS_long_double): Do not define.
8424 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8425 (EXCEPTION_TESTS_long_double): Likewise.
8426 * sysdeps/mips/mips64/libm-test-ulps: Update.
8428 * include/features.h (__USE_BSD): Remove macro definitions.
8429 (__USE_SVID): Likewise.
8430 (_BSD_SOURCE): Likewise.
8431 (_SVID_SOURCE): Likewise.
8432 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8433 from definition of _DEFAULT_SOURCE.
8434 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8436 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8437 * bits/mman.h [__USE_BSD]: Likewise.
8438 * bits/termios.h [__USE_BSD]: Likewise.
8439 * bits/waitstatus.h [__USE_BSD]: Likewise.
8440 * ctype/ctype.h [__USE_SVID]: Likewise.
8441 * dirent/dirent.h [__USE_BSD]: Likewise.
8442 * grp/grp.h [__USE_SVID]: Likewise.
8443 [__USE_BSD]: Likewise.
8444 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8445 * io/fcntl.h [__USE_BSD]: Likewise.
8446 * io/ftw.h [__USE_BSD]: Likewise.
8447 * io/sys/stat.h [__USE_BSD]: Likewise.
8448 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8449 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8450 * libio/stdio.h [__USE_SVID]: Likewise.
8451 [__USE_BSD]: Likewise.
8452 * math/math.h [__USE_SVID]: Likewise.
8453 [__USE_BSD]: Likewise.
8454 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8455 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8456 * misc/search.h [__USE_SVID]: Likewise.
8457 * misc/sys/mman.h [__USE_BSD]: Likewise.
8458 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8459 * misc/sys/uio.h [__USE_BSD]: Likewise.
8460 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8461 * posix/glob.h [__USE_BSD]: Likewise.
8462 * posix/regex.h [__USE_BSD]: Likewise.
8463 * posix/sys/types.h [__USE_BSD]: Likewise.
8464 [__USE_SVID]: Likewise.
8465 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8466 * posix/sys/wait.h [__USE_BSD]: Likewise.
8467 [__USE_SVID]: Likewise.
8468 * posix/unistd.h [__USE_BSD]: Likewise.
8469 [__USE_SVID]: Likewise.
8470 * pwd/pwd.h [__USE_SVID]: Likewise.
8471 * resolv/netdb.h [__USE_BSD]: Likewise.
8472 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8473 * signal/signal.h [__USE_BSD]: Likewise.
8474 [__USE_SVID]: Likewise.
8475 * socket/sys/socket.h [__USE_BSD]: Likewise.
8476 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8477 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8478 [__USE_SVID]: Likewise.
8479 * string/bits/string2.h [__USE_BSD]: Likewise.
8480 [__USE_SVID]: Likewise.
8481 * string/bits/string3.h [__USE_BSD]: Likewise.
8482 * string/endian.h [__USE_BSD]: Likewise.
8483 * string/string.h [__USE_SVID]: Likewise.
8484 [__USE_BSD]: Likewise.
8485 * string/strings.h [__USE_BSD]: Likewise.
8486 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8487 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8488 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8489 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8490 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8491 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8493 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8495 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8496 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8498 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8499 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8501 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8503 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8504 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8505 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8507 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8509 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8510 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8511 * termios/termios.h [__USE_BSD]: Likewise.
8512 * time/sys/time.h [__USE_BSD]: Likewise.
8513 * time/time.h [__USE_BSD]: Likewise.
8514 [__USE_SVID]: Likewise.
8516 * Makefile (subdir_targets): Remove subdir_lint.out.
8518 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8519 (do-tst-printf): Likewise.
8520 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8521 $(objpfx)tst-printf.out.
8523 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8525 * Makerules (check-abi-%): Change target to
8526 $(objpfx)check-abi-%.out.
8527 (check-abi target): Update dependencies.
8528 (check-abi-pattern variable): Redirect output of diff to $@.
8529 (check-abi variable): Likewise.
8530 * elf/Makefile (check-abi): Update dependencies.
8532 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8534 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8535 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8537 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8538 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8539 value has largest subnormal exponent.
8540 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8541 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8542 * sysdeps/aarch64/soft-fp/sfp-machine.h
8543 (_FP_TININESS_AFTER_ROUNDING): New macro.
8544 * sysdeps/alpha/soft-fp/sfp-machine.h
8545 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8546 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8548 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8549 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8550 * sysdeps/mips/soft-fp/sfp-machine.h
8551 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8552 * sysdeps/powerpc/soft-fp/sfp-machine.h
8553 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8554 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8556 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8557 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8558 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8559 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8560 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8563 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8566 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8569 2014-02-12 Richard Henderson <rth@redhat.com>
8571 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8572 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8573 * sysdeps/unix/sysv/linux/alpha: Move directory from
8574 ports/sysdeps/unix/sysv/linux/alpha.
8575 * README: Update listing for alpha-*-linux-gnu.
8577 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8579 * include/features.h: Update comment documenting feature test
8581 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8583 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8584 (_SVID_SOURCE): Likewise.
8585 (_DEFAULT_SOURCE): Update description of default features.
8586 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8588 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8589 (S_ISVTX): Likewise.
8590 * manual/math.texi (Mathematical Constants): Likewise.
8591 * manual/signal.texi (Interrupted Primitives): Likewise.
8592 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8593 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8594 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8595 Don't refer to _SVID_SOURCE in warning text.
8597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8599 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8601 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8602 * sysdeps/mips/dl-lookup.c: Remove.
8603 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8605 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8608 * math/auto-libm-test-in: Add testcase for expl.
8609 * math/auto-libm-test-out: Regenerate.
8610 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8611 calculation of unsafe.
8612 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8614 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8616 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8617 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8618 ports/sysdeps/unix/sysv/linux/aarch64.
8619 * README: Update listing for aarch64*-*-linux-gnu.
8621 2014-02-11 Will Newton <will.newton@linaro.org>
8623 * manual/probes.texi (Mathematical Function Probes): Use
8624 "triggered" instead of "hit".
8626 * manual/probes.texi (Internal Probes): Add documentation
8627 of setjmp, longjmp and longjmp_target probes.
8629 * include/stap-probe.h: Add comment about probe argument
8632 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8633 definition. (tr_where, tr_freehook, tr_mallochook,
8634 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8636 2014-02-11 David S. Miller <davem@davemloft.net>
8638 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8639 processing int_tests.
8641 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8643 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8644 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8645 * sysdeps/unix/sysv/linux/mips: Move directory from
8646 ports/sysdeps/unix/sysv/linux/mips.
8647 * README: Update listing for mips-*-linux-gnu and
8650 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8652 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8653 * sysdeps/unix/sysv/linux/m68k: Move directory from
8654 ports/sysdeps/unix/sysv/linux/m68k.
8655 * README: Update listing for m68k-*-linux-gnu.
8657 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8659 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8660 * sysdeps/unix/sysv/linux/generic: Move directory from
8661 ports/sysdeps/unix/sysv/linux/generic.
8662 * sysdeps/unix/sysv/linux/tile: Move directory from
8663 ports/sysdeps/unix/sysv/linux/tile.
8664 * README: Update listing for tile*-*-linux-gnu.
8666 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8668 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8670 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8671 * catgets/open_catalog.c (__open_catalog): Likewise.
8672 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8673 * debug/confstr_chk.c: Likewise.
8674 * debug/fread_chk.c (__fread_chk): Likewise.
8675 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8676 * debug/getgroups_chk.c: Likewise.
8677 * debug/mbsnrtowcs_chk.c: Likewise.
8678 * debug/mbsrtowcs_chk.c: Likewise.
8679 * debug/mbstowcs_chk.c: Likewise.
8680 * debug/memcpy_chk.c: Likewise.
8681 * debug/memmove_chk.c: Likewise.
8682 * debug/mempcpy_chk.c: Likewise.
8683 * debug/memset_chk.c: Likewise.
8684 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8685 * debug/strcat_chk.c (__strcat_chk): Likewise.
8686 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8687 * debug/strncat_chk.c (__strncat_chk): Likewise.
8688 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8689 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8690 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8691 * debug/wcpncpy_chk.c: Likewise.
8692 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8693 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8694 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8695 * debug/wcsncpy_chk.c: Likewise.
8696 * debug/wcsnrtombs_chk.c: Likewise.
8697 * debug/wcsrtombs_chk.c: Likewise.
8698 * debug/wcstombs_chk.c: Likewise.
8699 * debug/wmemcpy_chk.c: Likewise.
8700 * debug/wmemmove_chk.c: Likewise.
8701 * debug/wmempcpy_chk.c: Likewise.
8702 * debug/wmemset_chk.c: Likewise.
8703 * dirent/scandirat.c (SCANDIRAT): Likewise.
8704 * dlfcn/dladdr1.c (dladdr1): Likewise.
8705 * dlfcn/dladdr.c (dladdr): Likewise.
8706 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8707 * dlfcn/dlerror.c (__dlerror): Likewise.
8708 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8709 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8710 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8711 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8712 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8713 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8714 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8715 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8717 * elf/dl-conflict.c: Likewise.
8718 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8719 * elf/dl-dst.h: Likewise.
8720 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8721 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8722 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8723 * elf/dl-init.c (call_init, _dl_init): Likewise.
8724 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8725 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8726 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8728 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8730 * elf/dl-minimal.c (__libc_memalign): Likewise.
8731 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8732 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8733 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8734 * elf/dl-sym.c (do_sym): Likewise.
8735 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8736 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8737 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8738 * elf/dl-writev.h (_dl_writev): Likewise.
8739 * elf/ldconfig.c (search_dir): Likewise.
8740 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8741 (dl_main): Likewise.
8742 * elf/setup-vdso.h (setup_vdso): Likewise.
8743 * grp/compat-initgroups.c (compat_call): Likewise.
8744 * grp/fgetgrent.c (fgetgrent): Likewise.
8745 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8746 * grp/putgrent.c (putgrent): Likewise.
8747 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8749 * hurd/hurdinit.c: Likewise.
8750 * iconvdata/8bit-gap.c (struct): Likewise.
8751 * iconvdata/ansi_x3.110.c : Likewise.
8752 * iconvdata/big5.c : Likewise.
8753 * iconvdata/big5hkscs.c : Likewise.
8754 * iconvdata/cp1255.c: Likewise.
8755 * iconvdata/cp1258.c : Likewise.
8756 * iconvdata/cp932.c : Likewise.
8757 * iconvdata/euc-cn.c: Likewise.
8758 * iconvdata/euc-jisx0213.c : Likewise.
8759 * iconvdata/euc-jp.c: Likewise.
8760 * iconvdata/euc-jp-ms.c : Likewise.
8761 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8762 * iconvdata/gb18030.c : Likewise.
8763 * iconvdata/gbbig5.c (const): Likewise.
8764 * iconvdata/gbgbk.c: Likewise.
8765 * iconvdata/gbk.c : Likewise.
8766 * iconvdata/ibm1364.c : Likewise.
8767 * iconvdata/ibm930.c : Likewise.
8768 * iconvdata/ibm932.c: Likewise.
8769 * iconvdata/ibm933.c : Likewise.
8770 * iconvdata/ibm935.c : Likewise.
8771 * iconvdata/ibm937.c : Likewise.
8772 * iconvdata/ibm939.c : Likewise.
8773 * iconvdata/ibm943.c: Likewise.
8774 * iconvdata/iso_11548-1.c: Likewise.
8775 * iconvdata/iso-2022-cn.c : Likewise.
8776 * iconvdata/iso-2022-cn-ext.c : Likewise.
8777 * iconvdata/iso-2022-jp-3.c: Likewise.
8778 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8779 * iconvdata/iso-2022-kr.c : Likewise.
8780 * iconvdata/iso646.c (gconv_end): Likewise.
8781 * iconvdata/iso_6937-2.c : Likewise.
8782 * iconvdata/iso_6937.c : Likewise.
8783 * iconvdata/iso8859-1.c: Likewise.
8784 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8785 * iconvdata/shift_jisx0213.c : Likewise.
8786 * iconvdata/sjis.c : Likewise.
8787 * iconvdata/t.61.c : Likewise.
8788 * iconvdata/tcvn5712-1.c : Likewise.
8789 * iconvdata/tscii.c: Likewise.
8790 * iconvdata/uhc.c : Likewise.
8791 * iconvdata/unicode.c (gconv_end): Likewise.
8792 * iconvdata/utf-16.c (gconv_end): Likewise.
8793 * iconvdata/utf-32.c (gconv_end): Likewise.
8794 * iconvdata/utf-7.c (base64): Likewise.
8795 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8796 * iconv/gconv_close.c (__gconv_close): Likewise.
8797 * iconv/gconv_open.c (__gconv_open): Likewise.
8798 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8799 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8800 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8801 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8802 (ucs4le_internal_loop_single): Likewise.
8803 * iconv/iconv.c (iconv): Likewise.
8804 * iconv/iconv_close.c: Likewise.
8805 * iconv/loop.c (SINGLE): Likewise.
8806 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8807 * include/atomic.h: Likewise.
8808 * inet/inet6_option.c (option_alloc): Likewise.
8809 * intl/bindtextdom.c (set_binding_values): Likewise.
8810 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8811 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8812 * intl/localealias.c (read_alias_file): Likewise.
8813 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8814 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8815 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8816 * libio/fmemopen.c (fmemopen): Likewise.
8817 * libio/iofgets.c (_IO_fgets): Likewise.
8818 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8819 * libio/iofgetws.c (fgetws): Likewise.
8820 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8821 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8822 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8823 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8824 * locale/findlocale.c (_nl_find_locale): Likewise.
8825 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8826 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8828 * locale/setlocale.c (setlocale): Likewise.
8829 * login/programs/pt_chown.c (main): Likewise.
8830 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8831 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8832 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8833 (mmap, mmap64, mremap, munmap): Likewise.
8834 * math/e_exp2l.c: Likewise.
8835 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8836 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8837 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8838 * math/s_catan.c (__catan): Likewise.
8839 * math/s_catanf.c (__catanf): Likewise.
8840 * math/s_catanh.c (__catanh): Likewise.
8841 * math/s_catanhf.c (__catanhf): Likewise.
8842 * math/s_catanhl.c (__catanhl): Likewise.
8843 * math/s_catanl.c (__catanl): Likewise.
8844 * math/s_ccosh.c (__ccosh): Likewise.
8845 * math/s_ccoshf.c (__ccoshf): Likewise.
8846 * math/s_ccoshl.c (__ccoshl): Likewise.
8847 * math/s_cexp.c (__cexp): Likewise.
8848 * math/s_cexpf.c (__cexpf): Likewise.
8849 * math/s_cexpl.c (__cexpl): Likewise.
8850 * math/s_clog10.c (__clog10): Likewise.
8851 * math/s_clog10f.c (__clog10f): Likewise.
8852 * math/s_clog10l.c (__clog10l): Likewise.
8853 * math/s_clog.c (__clog): Likewise.
8854 * math/s_clogf.c (__clogf): Likewise.
8855 * math/s_clogl.c (__clogl): Likewise.
8856 * math/s_csin.c (__csin): Likewise.
8857 * math/s_csinf.c (__csinf): Likewise.
8858 * math/s_csinh.c (__csinh): Likewise.
8859 * math/s_csinhf.c (__csinhf): Likewise.
8860 * math/s_csinhl.c (__csinhl): Likewise.
8861 * math/s_csinl.c (__csinl): Likewise.
8862 * math/s_csqrt.c (__csqrt): Likewise.
8863 * math/s_csqrtf.c (__csqrtf): Likewise.
8864 * math/s_csqrtl.c (__csqrtl): Likewise.
8865 * math/s_ctan.c (__ctan): Likewise.
8866 * math/s_ctanf.c (__ctanf): Likewise.
8867 * math/s_ctanh.c (__ctanh): Likewise.
8868 * math/s_ctanhf.c (__ctanhf): Likewise.
8869 * math/s_ctanhl.c (__ctanhl): Likewise.
8870 * math/s_ctanl.c (__ctanl): Likewise.
8871 * math/w_pow.c: Likewise.
8872 * math/w_powf.c: Likewise.
8873 * math/w_powl.c: Likewise.
8874 * math/w_scalb.c (sysv_scalb): Likewise.
8875 * math/w_scalbf.c (sysv_scalbf): Likewise.
8876 * math/w_scalbl.c (sysv_scalbl): Likewise.
8877 * misc/error.c (error_tail): Likewise.
8878 * misc/pselect.c (__pselect): Likewise.
8879 * nis/nis_callback.c (__nis_create_callback): Likewise.
8880 * nis/nis_call.c (__nisfind_server): Likewise.
8881 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8882 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8883 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8884 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8885 * nis/nis_lookup.c (nis_lookup): Likewise.
8886 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8887 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8888 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8889 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8890 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8891 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8892 * nis/nss_compat/compat-initgroups.c (add_group)
8893 (internal_getgrent_r): Likewise.
8894 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8895 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8896 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8897 (internal_getspnam_r): Likewise.
8898 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8899 (_nss_nis_getaliasbyname_r): Likewise.
8900 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8901 (_nss_nis_getntohost_r): Likewise.
8902 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8903 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8904 (_nss_nis_getgrgid_r): Likewise.
8905 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8906 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8907 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8908 (_nss_nis_gethostbyname4_r): Likewise.
8909 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8910 (initgroups_netid): Likewise.
8911 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8912 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8913 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8914 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8915 (_nss_nis_getprotobynumber_r): Likewise.
8916 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8917 (_nss_nis_getsecretkey): Likewise.
8918 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8919 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8920 (_nss_nis_getpwuid_r): Likewise.
8921 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8922 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8923 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8924 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8925 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8926 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8927 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8929 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8930 (_nss_nisplus_getntohost_r): Likewise.
8931 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8932 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8933 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8934 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8936 * nis/nss_nisplus/nisplus-initgroups.c
8937 (_nss_nisplus_initgroups_dyn): Likewise.
8938 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8939 (_nss_nisplus_getnetbyaddr_r): Likewise.
8940 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8941 (_nss_nisplus_getprotobynumber_r): Likewise.
8942 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8943 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8944 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8946 * nis/nss_nisplus/nisplus-service.c
8947 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8948 (_nss_nisplus_getservbyport_r): Likewise.
8949 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8950 (_nss_nisplus_getspnam_r): Likewise.
8951 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8953 * nscd/aicache.c (addhstaiX): Likewise.
8954 * nscd/cache.c (cache_search, prune_cache): Likewise.
8955 * nscd/connections.c (register_traced_file, send_ro_fd)
8956 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8957 (main_loop_epoll): Likewise.
8958 * nscd/grpcache.c (addgrbyX): Likewise.
8959 * nscd/hstcache.c (addhstbyX): Likewise.
8960 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8961 * nscd/mem.c (gc, mempool_alloc): Likewise.
8962 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8963 (addinnetgrX): Likewise.
8964 * nscd/nscd-client.h (__nscd_acquire_maplock)
8965 (__nscd_drop_map_ref): Likewise.
8966 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8967 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8968 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8970 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8971 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8972 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8973 (__nscd_get_map_ref): Likewise.
8974 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8975 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8977 * nscd/pwdcache.c (addpwbyX): Likewise.
8978 * nscd/selinux.c (preserve_capabilities): Likewise.
8979 * nscd/servicescache.c (addservbyX): Likewise.
8980 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8981 * posix/fnmatch.c (fnmatch): Likewise.
8982 * posix/getopt.c (_getopt_internal_r): Likewise.
8983 * posix/glob.c (glob, glob_in_dir): Likewise.
8984 * posix/wordexp.c (exec_comm_child): Likewise.
8985 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8986 (getanswer_r, gaih_getanswer_slice): Likewise.
8987 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8988 * resolv/res_init.c: Likewise.
8989 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8990 * resolv/res_query.c (__libc_res_nquery): Likewise.
8991 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8993 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8994 * stdio-common/perror.c (perror): Likewise.
8995 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8996 * stdio-common/tmpnam.c (tmpnam): Likewise.
8997 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8998 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8999 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9001 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9002 * stdlib/putenv.c (putenv): Likewise.
9003 * stdlib/setenv.c (__add_to_environ): Likewise.
9004 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9005 * stdlib/strtol_l.c (INTERNAL): Likewise.
9006 * string/memmem.c (memmem): Likewise.
9007 * string/strerror.c (strerror): Likewise.
9008 * string/strnlen.c (__strnlen): Likewise.
9009 * string/test-memmem.c (simple_memmem): Likewise.
9010 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9011 * sunrpc/pm_getport.c (__get_socket): Likewise.
9012 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9013 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9014 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9015 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9017 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9018 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9019 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9020 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9021 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9022 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9024 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9026 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9027 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9028 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9029 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9030 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9032 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9033 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9034 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9035 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9036 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9037 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9039 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9041 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9043 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9045 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9046 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9047 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9048 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9049 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9050 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9051 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9052 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9053 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9055 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9056 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9058 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9060 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9062 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9064 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9066 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9067 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9068 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9070 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9071 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9072 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9073 * sysdeps/posix/sleep.c: Likewise.
9074 * sysdeps/posix/tempname.c: Likewise.
9075 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9076 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9078 * sysdeps/powerpc/powerpc32/dl-machine.h
9079 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9080 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9081 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9082 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9083 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9085 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9086 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9087 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9088 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9089 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9090 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9091 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9092 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9093 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9094 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9095 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9096 (elf_machine_lazy_rel): Likewise.
9097 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9098 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9099 (elf_machine_lazy_rel): Likewise.
9100 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9101 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9102 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9103 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9104 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9105 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9106 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9109 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9110 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9111 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9112 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9113 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9114 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9115 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9116 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9117 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9118 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9119 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9121 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9122 (__posix_fallocate64_l64): Likewise.
9123 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9124 (posix_fallocate): Likewise.
9125 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9127 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9128 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9129 (getifaddrs_internal): Likewise.
9130 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9131 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9132 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9133 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9134 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9135 (__posix_fallocate64_l64): Likewise.
9136 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9138 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9139 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9140 (__get_clockfreq): Likewise.
9141 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9142 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9143 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9144 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9145 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9146 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9147 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9148 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9150 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9151 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9152 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9153 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9154 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9155 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9156 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9158 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9159 (posix_fallocate): Likewise.
9160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9161 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9162 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9163 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9164 (elf_machine_rela, elf_machine_rela_relative)
9165 (elf_machine_lazy_rel): Likewise.
9166 * time/asctime.c (asctime_internal): Likewise.
9167 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9168 * time/tzset.c (__tzset_parse_tz): Likewise.
9169 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9170 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9171 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9172 * wcsmbs/wcsmbsload.h: Likewise.
9175 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9177 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9178 (arena_get2): Remove THREAD_STATS conditionals.
9179 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9180 (__malloc_stats, int): Likewise.
9182 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9184 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9185 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9187 * manual/setjmp.texi: Fix typos/grammar errors.
9189 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9190 Only return early when n is <= 0. Delete unused return statement.
9192 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9193 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9194 * debug/tst-longjmp_chk3.c: New file.
9196 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9197 (test_main): Replace code with set_fortify_handler call.
9198 * debug/test-strcpy_chk.c: Likewise.
9199 * debug/tst-chk1.c: Likewise.
9200 * debug/tst-longjmp_chk.c: Likewise.
9201 * test-skeleton.c: Include fcntl.h & paths.h
9202 (set_fortify_handler): Define.
9204 * debug/tst-longjmp_chk.c: Add header comment and include
9206 (do_test): Mark static.
9207 (TEST_FUNCTION): Define.
9209 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9210 (IP_PMTUDISC_INTERFACE): Likewise.
9211 (IP_MULTICAST_IF): Likewise.
9212 (IP_MULTICAST_TTL): Likewise.
9213 (IP_MULTICAST_LOOP): Likewise.
9214 (IP_ADD_MEMBERSHIP): Likewise.
9215 (IP_DROP_MEMBERSHIP): Likewise.
9216 (IP_UNBLOCK_SOURCE): Likewise.
9217 (IP_BLOCK_SOURCE): Likewise.
9218 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9219 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9220 (IP_MSFILTER): Likewise.
9221 (MCAST_JOIN_GROUP): Likewise.
9222 (MCAST_BLOCK_SOURCE): Likewise.
9223 (MCAST_UNBLOCK_SOURCE): Likewise.
9224 (MCAST_LEAVE_GROUP): Likewise.
9225 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9226 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9227 (MCAST_MSFILTER): Likewise.
9228 (IP_MULTICAST_ALL): Likewise.
9229 (IP_UNICAST_IF): Likewise.
9231 * timezone/Makefile: Delete $(have-ksh) check.
9232 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9233 * timezone/tzselect.ksh: Add +x mode bits.
9235 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9236 (ANON_INODE_FS_MAGIC): Likewise.
9237 (BDEVFS_MAGIC): Likewise.
9238 (BINFMTFS_MAGIC): Likewise.
9239 (BTRFS_TEST_MAGIC): Likewise.
9240 (CRAMFS_MAGIC_WEND): Likewise.
9241 (DEBUGFS_MAGIC): Likewise.
9242 (ECRYPTFS_SUPER_MAGIC): Likewise.
9243 (EXT3_SUPER_MAGIC): Likewise.
9244 (EXT4_SUPER_MAGIC): Likewise.
9245 (FUTEXFS_SUPER_MAGIC): Likewise.
9246 (HOSTFS_SUPER_MAGIC): Likewise.
9247 (HUGETLBFS_MAGIC): Likewise.
9248 (MINIX3_SUPER_MAGIC): Likewise.
9249 (MTD_INODE_FS_MAGIC): Likewise.
9250 (NILFS_SUPER_MAGIC): Likewise.
9251 (OPENPROM_SUPER_MAGIC): Likewise.
9252 (PIPEFS_MAGIC): Likewise.
9253 (PSTOREFS_MAGIC): Likewise.
9254 (QNX6_SUPER_MAGIC): Likewise.
9255 (RAMFS_MAGIC): Likewise.
9256 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9257 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9258 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9259 (SECURITYFS_MAGIC): Likewise.
9260 (SELINUX_MAGIC): Likewise.
9261 (SMACK_MAGIC): Likewise.
9262 (SOCKFS_MAGIC): Likewise.
9263 (SQUASHFS_MAGIC): Likewise.
9264 (STACK_END_MAGIC): Likewise.
9265 (TMPFS_MAGIC): Likewise.
9266 (USBDEVICE_SUPER_MAGIC): Likewise.
9267 (V9FS_MAGIC): Likewise.
9268 (XENFS_SUPER_MAGIC): Likewise.
9269 (CRAMFS_MAGIC): Fix typo in comment.
9270 (EXT2_SUPER_MAGIC): Update comment.
9271 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9273 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9275 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9276 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9277 * sysdeps/unix/sysv/linux/arm: Move directory from
9278 ports/sysdeps/unix/sysv/linux/arm.
9279 * README: Update listing for arm-*-linux-gnueabi.
9281 * README: Remove mention of am33.
9283 2014-02-07 Roland McGrath <roland@hack.frob.com>
9285 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9286 than the comma operator, to avoid "rhs of comma has no effect"
9288 (__sigfillset, __sigandset, __sigorset): Likewise.
9289 * include/signal.h (__sigemptyset): Likewise.
9290 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9292 2014-02-07 Allan McRae <allan@archlinux.org>
9294 * version.h (RELEASE): Set to "development".
9295 (VERSION): Set to "2.19.90"
9296 * NEWS: Add 2.20 section.
9298 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9301 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9303 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9305 * manual/contrib.texi: Update entry for Carlos O'Donell,
9306 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9308 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9310 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9312 * sysdeps/unix/sysv/linux/kernel-features.h
9313 [__LINUX_KERNEL_VERSION >= 0x020621]
9314 (__ASSUME_PROC_PID_TASK_COMM): Define.
9316 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9319 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9320 conversion when destination buffer does not have enough space.
9321 * libio/tst-ftell-partial-wide.c: New test case.
9322 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9324 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9325 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9326 Leonard and Allan McRae.
9328 2014-02-04 David S. Miller <davem@davemloft.net>
9330 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9333 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9362 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9364 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9365 * shlib-versions: Likewise.
9367 2014-02-04 Roland McGrath <roland@hack.frob.com>
9368 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9370 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9371 (abilist-pattern): New variable, set to %-le.abilist.
9373 * Makerules (abilist-pattern): New variable.
9374 (vpath): Use $(abilist-pattern) in place of %.abilist.
9375 (check-abi-% pattern rule): Likewise.
9376 (check-abi, update-abi): Likewise.
9378 2014-02-04 Eric Wong <normalperson@yhbt.net>
9380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9382 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9384 * manual/startup.texi: Add next, previous, and top entries for
9385 the `Program Arguments' and `Environment Variables' nodes.
9387 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9389 * manual/macros.texi: Add comments before MTASC-safety macros.
9391 * manual/users.texi: Document MTASC-safety properties.
9393 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9394 (pthread_getspecific, pthread_setspecific): Format with
9395 @deftypefun, and add @safety note.
9396 * manual/signal.texi: Move comments that analyze the above
9397 functions to their home place.
9399 2014-02-03 Allan McRae <allan@archlinux.org>
9401 * po/sl.po: Update Slovenian translation from translation project.
9403 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9405 * manual/time.texi (timegm): Add missing blank after @c.
9406 Reported by Joseph Myers <joseph@codesourcery.com>.
9408 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9410 * manual/check-safety.sh: New.
9411 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9413 * manual/terminal.texi: Document MTASC-safety properties.
9415 * manual/filesys.texi: Document MTASC-safety properties.
9417 * manual/errno.texi: Document MTASC-safety properties.
9419 * manual/intro.texi: Document safety identifiers and
9422 * manual/string.texi (wcstok): Fix prototype.
9423 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9425 * manual/time.texi: Document MTASC-safety properties.
9427 * manual/string.texi: Document MTASC-safety properties.
9429 * manual/threads.texi: Document MTASC-safety properties.
9431 * manual/stdio.texi: Document MTASC-safety properties.
9433 * manual/syslog.texi: Document MTASC-safety properties.
9435 * manual/sysinfo.texi: Document MTASC-safety properties.
9437 * manual/startup.texi: Document MTASC-safety properties.
9439 * manual/socket.texi: Document MTASC-safety properties.
9441 * manual/signal.texi: Document MTASC-safety properties.
9443 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9445 * manual/setjmp.texi: Document MTASC-safety properties.
9447 * manual/search.texi: Document MTASC-safety properties.
9449 * manual/resource.texi: Document MTASC-safety properties.
9451 * manual/process.texi: Document MTASC-safety properties.
9453 * manual/platform.texi: Document MTASC-safety properties.
9455 * manual/pipe.texi: Document MTASC-safety properties.
9457 * manual/pattern.texi: Document MTASC-safety properties.
9459 * manual/message.texi: Document MTASC-safety properties.
9462 * manual/memory.texi: Document MTASC-safety properties.
9464 * manual/math.texi: Document MTASC-safety properties.
9466 * manual/locale.texi: Document MTASC-safety properties.
9468 * manual/llio.texi: Document MTASC-safety properties.
9470 * manual/libdl.texi: New.
9472 * manual/lang.texi: Document MTASC-safety properties.
9474 * manual/job.texi: Document MTASC-safety properties.
9476 * manual/getopt.texi: Document MTASC-safety properties.
9478 * manual/ctype.texi: Document MTASC-safety properties.
9480 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9483 * csu/libc-tls.c (static_map): Remove variable.
9484 (__libc_setup_tls): Use main executable's link map for TLS data.
9485 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9486 casing for LM_ID_BASE and GL(dl_nns).
9487 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9488 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9489 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9490 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9491 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9493 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9496 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9498 * manual/debug.texi: Document MTASC-safety properties.
9500 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9503 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9504 of __x86_64__ when disabling x87 inline functions.
9506 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9508 * manual/charset.texi: Document MTASC-safety properties.
9510 * manual/crypt.texi: Document MTASC-safety properties.
9512 * manual/conf.texi: Document MTASC-safety properties.
9514 * manual/arith.texi: Document MTASC-safety properties.
9516 * manual/argp.texi: Document MTASC-safety properties.
9518 * manual/macros.texi: Introduce macros to document multi
9519 thread, asynchronous signal and asynchronous cancellation
9521 * manual/intro.texi: Introduce the properties themselves.
9523 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9525 * sysdeps/sh/sh4/Makefile: New file.
9527 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9529 * math/gen-libm-test.pl ($srcdir): New variable.
9530 ($auto_input): Use it.
9532 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9535 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9536 access beyond array bounds when parsing netgroups file.
9538 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9539 the old buffer before realloc.
9541 2014-01-27 Allan McRae <allan@archlinux.org>
9543 * po/fr.po: Update French translation from translation project.
9545 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9547 * sysdeps/sh/libm-test-ulps: Regenerate.
9549 2014-01-24 David S. Miller <davem@davemloft.net>
9551 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9553 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9555 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9556 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9558 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9561 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9562 string pointers after reallocation.
9564 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9566 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9567 __SH4A__ instead of __SH_FPU_ANY__.
9569 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9571 * sysdeps/sh/fpu_control.h: New file.
9572 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9573 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9574 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9575 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9576 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9577 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9578 * sysdeps/sh/sys/ucontext.h: Remove.
9579 * sysdeps/sh/sys: Remove directory.
9581 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9583 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9584 s390/sys/ucontext.h.
9585 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9586 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9588 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9591 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9593 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9596 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9597 Adjust the vDSO correctly for internal calls.
9598 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9600 2014-01-20 Allan McRae <allan@archlinux.org>
9602 * po/ca.po: Update Catalan translation from translation project.
9604 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9606 * sysdeps/s390/sotruss-lib.c: New file.
9608 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9611 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9612 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9613 local calls issues by not having a PLT stub required for IFUNC calls.
9614 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9616 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9618 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9619 * math/test-fpucw-static.c: Likewise.
9621 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9624 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9626 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9628 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9629 implementation for powerpc.
9631 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9634 * sysdeps/posix/system.c (__libc_system): Do not enable
9635 asynchronous cancellation.
9637 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9640 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9641 handling only for numbers special also in the IEEE case.
9643 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9645 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9647 2014-01-11 Allan McRae <allan@archlinux.org>
9649 * po/bg.po: Update Bulgarian translation from translation project.
9651 * po/de.po: Update German translation from translation project.
9653 2014-01-10 Roland McGrath <roland@hack.frob.com>
9655 * sysdeps/generic/gcc-compat.h: New file.
9657 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9659 * benchtests/asin-inputs: Correct slow inputs.
9660 * benchtests/acos-inputs: Likewise.
9662 2014-01-10 Allan McRae <allan@archlinux.org>
9664 * po:sv.po: Update Swedish translation from translation project.
9666 * po/vi.po: Update Vietnamese translation from translation project.
9668 * po/eo.po: Update Esperanto translation from translation project.
9670 * po/cs.po: Update Czech translation from translation project.
9672 * po/nl.po: Update Dutch translation from translation project.
9674 * po/pl.po: Update Polish translation from translation project.
9676 * po/ru.po: Update Russian translation from translation project.
9678 * po/uk.po: Update Ukrainian translation from translation project.
9680 2014-01-08 Brooks Moses <bmoses@google.com>
9682 * elf/dl-load.c: Fix comment typo.
9684 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9686 * po/header.pot: Rename to...
9687 * po/pot.header: ... this.
9688 * po/Makefile: Use pot.header.
9690 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9691 Maxim Kuvyrkov <maxim@kugelworks.com>
9694 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9695 SRC and DEST against LEN.
9697 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9700 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9702 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9704 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9708 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9711 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9712 for large positive arguments.
9714 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9716 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9718 * math/auto-libm-test-in: Mark various tests with
9719 xfail-rounding:ldbl-128ibm.
9720 * math/auto-libm-test-out: Regenerated.
9723 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9724 Increase overflow threshold.
9726 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9729 * stdio-common/vfprintf.c: Check for integer overflow.
9731 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9733 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9734 the first argument and return value of __tls_get_addr_internal.
9736 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9738 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9739 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9741 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9743 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9744 * sysdeps/s390/rtld-global-offsets.sym: New file.
9745 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9747 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9748 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9749 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9751 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9752 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9758 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9759 halfs of GPRs for high_gprs contexts.
9760 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9761 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9763 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9765 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9767 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9768 for high GPRs (uc_high_gprs) and for future extensions
9770 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9771 for future extensions (__reserved).
9772 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9774 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9775 SC_HIGHGPRS offset definition.
9776 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9777 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9779 * Versions.def: Add GLIBC_2.19 for libpthread.
9780 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9781 siglongjmp for libpthread with GLIBC_2.19 symver.
9782 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9783 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9784 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9785 * sysdeps/s390/__longjmp.c: New file.
9786 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9787 * sysdeps/s390/longjmp.c: New file.
9788 * sysdeps/s390/setjmp.S: New file.
9789 * sysdeps/s390/sigjmp.S: New file.
9790 * sysdeps/s390/v1-longjmp.c: New file.
9791 * sysdeps/s390/v1-setjmp.h: New file.
9792 * sysdeps/s390/v1-sigjmp.c: New file.
9793 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9794 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9796 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9797 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9798 versioned symbols for ____longjmp_chk.
9799 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9809 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9810 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9811 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9812 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9813 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9814 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9815 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9816 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9817 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9818 * sysdeps/s390/rtld-__longjmp.c: New file.
9819 * sysdeps/s390/rtld-setjmp.S: New file.
9821 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9824 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9825 Return -__logl (x) for small positive arguments without evaluating
9828 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9830 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9832 (__ptrace_peeksiginfo_args): ... this.
9833 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9834 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9835 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9837 2014-01-06 Allan McRae <allan@archlinux.org>
9839 * inet/netinet/in.h: Fix typo in comment.
9841 2014-01-05 Andreas Jaeger <aj@suse.de>
9843 * sysdeps/i386/fpu/libm-test-ulps: Update.
9845 2014-01-05 Allan McRae <allan@archlinux.org>
9847 * po/libc.pot: Regenerated.
9849 * malloc/memusagestat.c: Fix gettext call formatting.
9851 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9853 * nscd/nscd.c: Improve usage() output.
9855 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9857 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9858 * sysdeps/unix/sysv/linux/configure: Regenerated.
9859 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9860 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9862 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9865 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9866 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9868 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9870 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9871 extra tokens at end of #undef directive.
9872 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9873 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9874 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9876 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9878 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9880 * math/auto-libm-test-in: Mark various tests with
9881 xfail-rounding:ldbl-128ibm.
9882 * math/auto-libm-test-out: Regenerated.
9884 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9887 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9888 numbers with subnormal high part when calculating exponent.
9891 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9895 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9897 (__ieee754_acoshl): Use __log1pl not __log1p.
9899 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9901 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9902 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9903 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9904 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9905 (reused_arena, arena_get2): Convert to GNU style.
9906 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9907 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9908 (memalign_check, __malloc_set_state): Likewise.
9909 * malloc/mallocbug.c (main): Likewise.
9910 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9911 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9912 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9913 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9914 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9915 (__posix_memalign, malloc_info): Likewise.
9916 * malloc/malloc.h: Likewise.
9917 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9918 (mallochook, memalignhook, reallochook, mabort): Likewise.
9919 * malloc/mcheck.h: Likewise.
9920 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9921 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9922 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9923 * malloc/morecore.c (__default_morecore): Likewise.
9924 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9925 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9926 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9927 (print_and_abort): Likewise.
9928 * malloc/obstack.h: Likewise.
9929 * malloc/set-freeres.c (__libc_freeres): Likewise.
9930 * malloc/tst-mallocstate.c (main): Likewise.
9931 * malloc/tst-mtrace.c (main): Likewise.
9932 * malloc/tst-realloc.c (do_test): Likewise.
9934 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9937 * nscd/netgroupcache.c (do_notfound): New function.
9938 (addgetnetgrentX): Use it.
9941 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9942 NSS_STATUS_NOTFOUND.
9944 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9946 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9949 2014-01-01 Allan McRae <allan@archlinux.org>
9951 * scripts/update-copyrights: Update configure input file suffix.
9953 * NEWS: Update copyright year.
9954 * catgets/gencat.c: Likewise.
9955 * csu/version.c: Likewise.
9956 * debug/catchsegv.sh: Likewise.
9957 * debug/pcprofiledump.c: Likewise.
9958 * debug/xtrace.sh: Likewise.
9959 * elf/ldconfig.c: Likewise.
9960 * elf/ldd.bash.in: Likewise.
9961 * elf/pldd.c: Likewise.
9962 * elf/sotruss.ksh: Likewise.
9963 * elf/sprof.c: Likewise.
9964 * iconv/iconv_prog.c: Likewise.
9965 * iconv/iconvconfig.c: Likewise.
9966 * locale/programs/locale.c: Likewise.
9967 * locale/programs/localedef.c: Likewise.
9968 * login/programs/pt_chown.c: Likewise.
9969 * malloc/memusage.sh: Likewise.
9970 * malloc/memusagestat.c: Likewise.
9971 * malloc/mtrace.pl: Likewise.
9972 * manual/libc.texinfo: Likewise.
9973 * nscd/nscd.c: Likewise.
9974 * nss/getent.c: Likewise.
9975 * nss/makedb.c: Likewise.
9976 * posix/getconf.c: Likewise.
9977 * scripts/test-installation.pl: Likewise.
9979 * All files with FSF copyright notices: Update copyright dates
9980 using scripts/update-copyrights.
9981 * intl/plural.c: Regenerated.
9982 * locale/programs/charmap-kw.h: Likewise.
9983 * locale/programs/locfile-kw.h: Likewise.
9985 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9987 * sysdeps/unix/sysv/linux/configure: Regenerated.
9988 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9989 the linux/fanotify.h header.
9990 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9991 HAVE_LINUX_FANOTIFY_H is defined.
9993 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9995 * benchtests/cos-inputs: New inputs.
9996 * benchtests/sin-inputs: Likewise.
9998 * benchtests/atan-inputs: New inputs. Fix name of multiple
9999 precision fallback inputs.
10001 * benchtests/atanh-inputs: New inputs.
10002 * benchtests/tanh-inputs: Likewise.
10004 * benchtests/acosh-inputs: New inputs.
10005 * benchtests/asinh-inputs: Likewise.
10007 * benchtests/cosh-inputs: New inputs.
10008 * benchtests/sinh-inputs: Likewise.
10010 * benchtests/acos-inputs: Add more inputs.
10011 * benchtests/asin-inputs: Likewise.
10013 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10016 * manual/arith.texi: Fix spelling.
10017 * manual/charset.texi: Likewise.
10018 * manual/errno.texi: Likewise.
10019 * manual/filesys.texi: Likewise.
10020 * manual/lang.texi: Likewise.
10021 * manual/llio.texi: Likewise.
10022 * manual/locale.texi: Likewise.
10023 * manual/message.texi: Likewise.
10024 * manual/resource.texi: Likewise.
10025 * manual/search.texi: Likewise.
10026 * manual/setjmp.texi: Likewise.
10027 * manual/stdio.texi: Likewise.
10028 * manual/string.texi: Likewise.
10029 * manual/sysinfo.texi: Likewise.
10030 * manual/time.texi: Likewise.
10032 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10034 * po/sl.po: New file.
10036 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10038 * .gitignore: Add core/.gdbinit/.gdb_history.
10040 2013-12-27 Allan McRae <allan@archlinux.org>
10043 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10044 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10046 2013-12-24 Brooks Moses <bmoses@google.com>
10048 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10049 all compilers that claim C++98 compliance, not just GCC.
10050 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10053 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10055 * NEWS: Restore accidentally deleted bug-fix entries.
10057 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10058 Ondřej Bílka <neleai@seznam.cz>
10061 * malloc/malloc.c (_int_free): Perform sanity check only if we
10064 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10067 * manual/stdio.texi (String Input Conversions): Clarify that character
10068 classes are not supported.
10070 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10074 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10077 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10078 Calculate results for small negative arguments directly rather
10079 than using reflection formula with special underflow handling.
10081 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10082 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10083 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10084 (fchflags): Likewise.
10085 (revoke): Likewise.
10086 (setlogin): Likewise.
10087 (sigaltstack): Likewise.
10089 (sigblock): Remove.
10090 (sigsetmask): Likewise.
10092 (waitpid): Likewise.
10093 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10094 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10096 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10097 * sysdeps/unix/bsd/Makefile: ... here.
10098 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10099 * sysdeps/unix/bsd/Versions: ... here.
10100 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10101 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10102 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10103 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10104 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10105 * sysdeps/unix/bsd/sigblock.c: ... here.
10106 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10107 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10108 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10109 * sysdeps/unix/bsd/sigvec.c: ... here.
10110 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10111 * sysdeps/unix/bsd/tcdrain.c: ... here.
10112 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10113 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10114 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10115 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10116 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10117 * sysdeps/unix/bsd/wait.c: ... here.
10118 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10119 * sysdeps/unix/bsd/wait3.c: ... here.
10120 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10121 * sysdeps/unix/bsd/waitpid.c: ... here.
10123 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10126 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10127 round-to-nearest for [!USE_AS_EXPM1L].
10128 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10129 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10130 more tests of exp and exp10. Expect some exp10 tests to miss
10131 exceptions or fail in directed rounding modes.
10132 * math/auto-libm-test-out: Regenerated.
10133 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10134 (exp10_test_tonearest): New function.
10135 (exp10_towardzero_test_data): New array.
10136 (exp10_test_towardzero): New function.
10137 (exp10_downward_test_data): New array.
10138 (exp10_test_downward): New function.
10139 (exp10_upward_test_data): New array.
10140 (exp10_test_upward): New function.
10141 (main): Call the new functions.
10142 * sysdeps/i386/fpu/libm-test-ulps: Update.
10143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10145 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10147 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10148 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10149 * math/auto-libm-test-out: Regenerated.
10150 * math/libm-test.inc (acosh_test_data): Add more tests.
10151 (atanh_test_data): Likewise.
10152 (ceil_test_data): Likewise.
10153 (copysign_test_data): Likewise.
10154 * sysdeps/i386/fpu/libm-test-ulps: Update.
10155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10157 * timezone/checktab.awk: Update from tzcode 2013i.
10158 * timezone/private.h: Likewise.
10159 * timezone/scheck.c: Likewise.
10160 * timezone/tzfile.h: Likewise.
10161 * timezone/tzselect.ksh: Likewise.
10162 * timezone/zdump.c: Likewise.
10163 * timezone/zic.c: Likewise.
10165 * math/auto-libm-test-in: Add tests of cpow.
10166 * math/auto-libm-test-out: Regenerated.
10167 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10168 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10170 (func_calc_desc): Add mpc_cc_c union field.
10171 (test_functions): Add cpow.
10172 (special_fill_2pi): New function.
10173 (special_real_inputs): Add 2pi.
10174 (calc_generic_results): Handle mpc_cc_c.
10175 * sysdeps/i386/fpu/libm-test-ulps: Update.
10176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10178 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10179 csqrt, ctan and ctanh.
10180 * math/auto-libm-test-out: Regenerated.
10181 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10182 (TEST_COND_x86): Likewise.
10183 (ccos_test_data): Use AUTO_TESTS_c_c.
10184 (ccosh_test_data): Likewise.
10185 (cexp_test_data): Likewise.
10186 (clog_test_data): Likewise.
10187 (csqrt_test_data): Likewise.
10188 (ctan_test_data): Likewise.
10189 (ctan_tonearest_test_data): Likewise.
10190 (ctan_towardzero_test_data): Likewise.
10191 (ctan_downward_test_data): Likewise.
10192 (ctan_upward_test_data): Likewise.
10193 (ctanh_test_data): Likewise.
10194 (ctanh_tonearest_test_data): Likewise.
10195 (ctanh_towardzero_test_data): Likewise.
10196 (ctanh_downward_test_data): Likewise.
10197 (ctanh_upward_test_data): Likewise.
10198 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10200 (func_calc_desc): Add mpc_c_c union field.
10201 (FUNC_mpc_c_c): New macro.
10202 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10203 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10205 (special_fill_min_subnorm_p120): New function.
10206 (special_real_inputs): Add min_subnorm_p120.
10207 (calc_generic_results): Handle mpc_c_c.
10208 * sysdeps/i386/fpu/libm-test-ulps: Update.
10209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10211 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10213 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10214 (do_sin_slow): New functions.
10215 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10216 (cslow2, csloww1, csloww2): Use the new functions.
10218 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10219 Use M to change sign of result instead of X. Assume X is
10221 (csloww1): Likewise.
10225 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10226 arguments A and DA.
10230 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10232 (sloww1): Don't adjust sign of DX.
10233 (csloww1): Likewise.
10234 (sloww2): Use X directly and don't adjust sign of DX.
10235 (csloww2): Likewise.
10237 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10239 * math/auto-libm-test-in: Add tests of cabs and carg.
10240 * math/auto-libm-test-out: Regenerated.
10241 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10242 (carg_test_data): Likewise.
10243 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10245 (func_calc_desc): Add mpc_c_f union field.
10246 (test_functions): Add cabs and carg.
10247 (calc_generic_results): Handle mpc_c_f.
10249 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10250 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10251 as a macro and a compat symbol.
10252 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10253 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10254 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10255 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10256 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10257 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10259 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10261 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10263 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10265 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10267 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10269 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10270 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10273 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10277 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10279 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10280 trailing whitespace removed.
10281 * scripts/config.guess: Update to version 2013-11-29.
10282 * scripts/config.sub: Update to version 2013-10-01.
10284 * math/auto-libm-test-in: Add tests of sincos.
10285 * math/auto-libm-test-out: Regenerated.
10286 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10287 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10289 (func_calc_desc): Add mpfr_f_11 union field.
10290 (test_functions): Add sincos.
10291 (calc_generic_results): Handle mpfr_f_11.
10292 * sysdeps/i386/fpu/libm-test-ulps: Update.
10293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10295 2013-12-19 Andreas Schwab <schwab@suse.de>
10297 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10299 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10300 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10301 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10303 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10305 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10306 * sysdeps/i386/fpu/libm-test-ulps: Update.
10307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10310 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10311 round-to-nearest mode when using frndint.
10312 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10313 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10314 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10316 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10318 * math/auto-libm-test-out: Regenerated.
10319 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10320 (TEST_COND_x86): Likewise.
10321 (expm1_tonearest_test_data): New array.
10322 (expm1_test_tonearest): New function.
10323 (expm1_towardzero_test_data): New array.
10324 (expm1_test_towardzero): New function.
10325 (expm1_downward_test_data): New array.
10326 (expm1_test_downward): New function.
10327 (expm1_upward_test_data): New array.
10328 (expm1_test_upward): New function.
10329 (main): Run the new test functions.
10330 * sysdeps/i386/fpu/libm-test-ulps: Update.
10331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10333 * include/features.h: Update comment documenting feature test
10334 macros. Mention _DEFAULT_SOURCE in comment.
10335 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10336 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10337 _BSD_SOURCE and _SVID_SOURCE.
10338 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10339 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10340 !_SVID_SOURCE]: Likewise.
10341 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10342 (__USE_POSIX_IMPLICITLY): Define.
10343 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10344 (_POSIX_SOURCE): Undefine and redefine.
10345 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10346 (_POSIX_C_SOURCE): Likewise.
10347 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10348 (Feature Test Macros): Update documentation of default features.
10350 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10352 * benchtests/Makefile: Add bench-strtok.
10353 * benchtests/bench-strtok.c: New file: strtok benchtest.
10355 2013-12-19 Allan McRae <allan@archlinux.org>
10357 * manual/install.texi: Suppress menu for plain text output.
10358 * INSTALL: Regenerated.
10360 2013-12-18 Brooks Moses <bmoses@google.com>
10363 * misc/getauxval.c: Include errno.h.
10364 (__getauxval): Set errno to ENOENT if the requested type is not
10366 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10367 don't declare with __attribute_const__.
10368 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10369 * manual/startup.texi: Document that getauxval sets errno.
10371 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10373 * math/auto-libm-test-in: Add tests of jn and yn.
10374 * math/auto-libm-test-out: Regenerated.
10375 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10376 (yn_test_data): Likewise.
10377 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10379 (func_calc_desc): Add mpfr_if_f union field.
10380 (FUNC_mpfr_if_f): New macro.
10381 (test_functions): Add jn and yn.
10382 (calc_generic_results): Assert type of second input for
10383 mpfr_ff_f. Handle mpfr_if_f.
10384 (output_for_one_input_case): Disable all checking for arguments
10385 fitting floating-point types in case of an integer argument.
10386 * sysdeps/i386/fpu/libm-test-ulps: Update.
10387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10390 Don't expect fegetround reference in libm.so.
10392 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10394 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10395 $(config-cflags-nofma).
10397 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10399 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10400 * math/auto-libm-test-out: Regenerated.
10403 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10404 to determine exponent and adjust argument to have exponent of -1.
10405 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10407 * math/auto-libm-test-out: Regenerated.
10408 * sysdeps/i386/fpu/libm-test-ulps: Update.
10409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10411 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10413 * manual/probes.texi: Remove cases when per-thread arenas are
10416 2013-12-18 Andreas Schwab <schwab@suse.de>
10418 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10419 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10420 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10421 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10422 * sysdeps/i386/i686/multiarch/Makefile: Update.
10423 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10425 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10427 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10428 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10430 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10433 Support TZ transition times < 00:00:00.
10434 This is needed for version-3 tz-format files; it supports time
10435 stamps past 2037 for America/Godthab (the only entry in the tz
10436 database for which this change is relevant).
10437 * manual/time.texi (TZ Variable): Document transition times
10438 from -167:59:59 through -00:00:01.
10439 * time/tzset.c (tz_rule): Time of day is now signed.
10440 (__tzset_parse_tz): Parse negative time of day.
10442 Document TZ transition times >= 25:00:00.
10443 * manual/time.texi (TZ Variable): Document transition times from
10444 25:00:00 through 167:59:59. These are already supported, and this
10445 support will help with version-3 tz-format files.
10447 * manual/time.texi (TZ Variable): Modernize North America example
10448 to reflect current (i.e., 2007-and-later) daylight saving rules.
10450 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10452 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10454 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10455 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10456 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10458 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10459 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10460 * sysdeps/unix/bsd/clock.c: Likewise.
10461 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10462 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10463 * sysdeps/unix/bsd/init-posix.c: Likewise.
10464 * sysdeps/unix/bsd/poll.c: Likewise.
10465 * sysdeps/unix/bsd/ptsname.c: Likewise.
10466 * sysdeps/unix/bsd/seekdir.c: Likewise.
10467 * sysdeps/unix/bsd/setegid.c: Likewise.
10468 * sysdeps/unix/bsd/seteuid.c: Likewise.
10469 * sysdeps/unix/bsd/setgid.c: Likewise.
10470 * sysdeps/unix/bsd/setrgid.c: Likewise.
10471 * sysdeps/unix/bsd/setruid.c: Likewise.
10472 * sysdeps/unix/bsd/setsid.c: Likewise.
10473 * sysdeps/unix/bsd/setuid.c: Likewise.
10474 * sysdeps/unix/bsd/sigaction.c: Likewise.
10475 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10476 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10477 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10478 * sysdeps/unix/bsd/telldir.c: Likewise.
10479 * sysdeps/unix/bsd/times.c: Likewise.
10480 * sysdeps/unix/bsd/usleep.c: Likewise.
10482 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10483 ($(objpfx)libbsd-compat.a): Remove rule.
10485 * include/features.h (__FAVOR_BSD): Do not define.
10486 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10487 features conflicting with POSIX.
10488 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10489 (_BSD_SOURCE): Remove description of not being a subset of other
10490 feature test macros.
10491 * manual/job.texi (getpgrp): Do not document BSD version.
10492 (getpgid): Do not document by reference to BSD getpgrp.
10493 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10494 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10495 * signal/signal.h [__FAVOR_BSD]: Likewise.
10496 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10497 instead of making contents conditional on [__FAVOR_BSD].
10498 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10500 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10504 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10507 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10508 values below 2**-450, not 2**-500.
10509 * math/auto-libm-test-in: Don't allow spurious underflow from
10511 * math/auto-libm-test-out: Regenerated.
10515 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10516 values of ha and hb and sort them after adjusting subnormal
10518 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10520 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10521 values of ea and eb and sort them after adjusting subnormal
10523 * math/auto-libm-test-in: Do not expect some hypot tests of
10524 subnormals to fail. Add more hypot tests.
10525 * math/auto-libm-test-out: Regenerated.
10527 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10530 * sysdeps/sh/s_fma.c: New file.
10531 * sysdeps/sh/s_fmaf.c: New file.
10532 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10534 * sysdeps/sh/Implies: Add sh/soft-fp.
10536 2013-12-16 Roland McGrath <roland@hack.frob.com>
10538 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10539 level of indirection to members `objname', `errstring', `malloced'.
10540 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10541 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10542 it as the __longjmp argument (just pass 1 instead).
10543 (_dl_catch_error): Initialize C with argument pointers and address of
10544 volatile local ERRCODE rather than copying values out of C at return.
10546 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10548 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10549 * math/auto-libm-test-out: Regenerated.
10550 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10551 (hypot_test_data): Likewise.
10552 (pow_test_data): Likewise.
10553 (pow_tonearest_test_data): Likewise.
10554 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10556 (func_calc_desc): Add mpfr_ff_f union field.
10557 (FUNC_mpfr_ff_f): New macro.
10558 (test_functions): Add atan2, hypot and pow.
10559 (special_fill_min): New function.
10560 (special_fill_minus_min): Likewise.
10561 (special_fill_min_subnorm): Likewise.
10562 (special_fill_minus_min_subnorm): Likewise.
10563 (special_real_inputs): Add min, -min, min_subnorm and
10565 (calc_generic_results): Handle mpfr_ff_f.
10566 * sysdeps/i386/fpu/libm-test-ulps: Update.
10567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10569 2013-12-16 Will Newton <will.newton@linaro.org>
10571 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10572 (Aligned Memory Blocks): Add documentation for aligned_alloc
10573 and suggest it as an alternative to posix_memalign.
10574 (Hooks for Malloc): Document __memalign_hook is also called
10575 for aligned_alloc. (Summary of Malloc): Add summary for
10576 aligned alloc. Document __memalign_hook is also called
10579 2013-12-16 Will Newton <will.newton@linaro.org>
10581 * manual/memory.texi (Malloc Examples): Clarify default
10582 alignment documentation. Suggest posix_memalign rather
10583 than memalign or valloc.
10584 (Aligned Memory Blocks): Remove suggestion to use memalign
10585 or valloc. Remove obsolete comment about BSD.
10586 Document memalign errno values and mark the function obsolete.
10587 Document posix_memalign returned error codes. Mark valloc
10588 as obsolete. (Hooks for Malloc): __memalign_hook is also
10589 called for posix_memalign and valloc.
10590 (Summary of Malloc): Add posix_memalign to function summary.
10591 __memalign_hook is also called for posix_memalign and valloc.
10593 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10595 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10599 (sloww): Use mynumber union. Expand ternary operator into
10600 if-else statements.
10601 (cslow): use mynumber union.
10603 2013-12-16 Allan McRae <allan@archlinux.org>
10605 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10606 * configure: Regenerated.
10608 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10611 * configure.ac: Added --enable-maintainer-mode. Check for
10612 autoconf when enabled.
10613 * configure: Regenerated.
10615 * nscd/nscd.service: New file.
10616 * nscd/nscd.tmpfiles: New file.
10618 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10621 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10622 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10623 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10624 (strstr): Add __strstr_sse2_unaligned ifunc.
10625 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10626 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10627 (strcasestr): Remove __strcasestr_sse42 ifunc.
10628 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10632 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10634 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10635 * sysdeps/sh/bits/fenv.h: ... here.
10636 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10638 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10640 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10642 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10643 hypotf multiarch implementations.
10644 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10645 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10646 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10647 multiarch hypot for PPC64.
10648 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10649 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10650 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10651 multiarch hypotf for PPC64.
10653 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10654 modff multiarch implementations.
10655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10658 multiarch modf for PPC64.
10659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10662 multiarch modff for PPC64.
10664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10665 and logl multiarch implementations.
10666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10669 multiarch logb for PPC64.
10670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10673 multiarch logb for PPC64.
10674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10677 multiarch logb for PPC64.
10679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10680 isinff multiarch implementation.
10681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10685 multiarch isinf for PPC64.
10686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10689 multiarch isinff for PPC64.
10691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10692 finitef multiarch implementation.
10693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10697 multiarch finite for PPC64.
10698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10701 multiarch finitef for PPC64.
10703 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10704 lrint multiarch implementation.
10705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10709 multiarch llrint for PPC64.
10710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10711 multiarch lrint for PPC64.
10713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10714 copysignf multiarch implementation.
10715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10720 multiarch copysign for PPC64.
10721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10722 multiarch copysignf for PPC64.
10724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10725 multiarch implementation.
10726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10734 multiarch llround for PPC64.
10735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10736 multiarch trunc for PPC64.
10737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10738 multiarch truncf for PPC64.
10740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10741 multiarch implementation.
10742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10750 multiarch llround for PPC64.
10751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10752 multiarch round for PPC64.
10753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10754 multiarch roundf for PPC64.
10756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10757 multiarch implementation.
10758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10766 multiarch llround for PPC64.
10767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10768 multiarch floor for PPC64.
10769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10770 multiarch floorf for PPC64.
10772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10773 multiarch implementation.
10774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10782 multiarch llround for PPC64.
10783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10784 multiarch ceil for PPC64.
10785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10786 multiarch ceilf for PPC64.
10788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10789 multiarch implementation.
10790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10797 multiarch llround for PPC64.
10798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10799 multiarch lround for PPC64.
10801 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10802 multiarch implementation.
10803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10810 multiarch isnan for PPC64.
10811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10812 multiarch isnanf for PPC64.
10814 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10815 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10816 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10817 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10818 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10821 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10822 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10823 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10824 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10827 multiarch implementations.
10828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10829 (__libc_ifunc_impl_list): Likewise.
10830 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10831 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10832 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10833 multiarch stpcpy for PPC64.
10835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10836 multiarch implementations.
10837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10838 (__libc_ifunc_impl_list): Likewise.
10839 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10840 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10841 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10842 multiarch strcpy for PPC64.
10844 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10845 redefine function name.
10846 (_wordcopy_fwd_dest_aligned): Likewise.
10847 (_wordcopy_bwd_aligned): Likewise.
10848 (_wordcopy_bwd_dest_aligned): Likewise.
10849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10850 multiarch implementations.
10851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10852 (__libc_ifunc_impl_list): Likewise.
10853 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10854 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10855 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10856 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10857 multiarch wcscpy for PPC64.
10859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10860 multiarch implementations.
10861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10862 (__libc_ifunc_impl_list): Likewise.
10863 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10864 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10865 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10866 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10867 multiarch wcscpy for PPC64.
10869 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10870 multiarch implementations.
10871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10872 (__libc_ifunc_impl_list): Likewise.
10873 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10874 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10875 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10876 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10877 multiarch wcsrchr for PPC64.
10879 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10880 multiarch implementations.
10881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10882 (__libc_ifunc_impl_list): Likewise.
10883 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10884 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10885 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10886 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10887 multiarch wcschr for PPC64.
10889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10890 multiarch implementations.
10891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10892 (__libc_ifunc_impl_list): Likewise.
10893 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10894 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10895 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10896 multiarch strchrnul for PPC64.
10898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10901 (__libc_ifunc_impl_list): Likewise.
10902 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10903 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10904 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10905 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10911 (__libc_ifunc_impl_list): Likewise.
10912 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10913 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10914 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10915 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10919 multiarch implementations.
10920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10921 (__libc_ifunc_impl_list): Likewise.
10922 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10923 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10924 strncasecmp for PPC64.
10925 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10926 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10927 multiarch strncasecmp_l for PPC64.
10929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10930 multiarch implementations.
10931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10932 (__libc_ifunc_impl_list): Likewise.
10933 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10934 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10935 multiarch strcasecmp for PPC64.
10936 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10938 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10939 multiarch strcasecmp_l for PPC64.
10941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10944 (__libc_ifunc_impl_list): Likewise.
10945 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10946 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10947 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10953 (__libc_ifunc_impl_list): Likewise.
10954 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10955 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10956 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10962 (__libc_ifunc_impl_list): Likewise.
10963 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10964 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10965 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10966 rawmemrchr for PPC64.
10968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10971 (__libc_ifunc_impl_list): Likewise.
10972 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10973 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10974 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10980 (__libc_ifunc_impl_list): Likewise.
10981 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10982 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10983 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10989 (__libc_ifunc_impl_list): Likewise.
10990 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10991 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10992 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10995 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10996 avoid cretion of __bzero symbol.
10997 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10999 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11001 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11004 multiarch implementations.
11005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11006 (__libc_ifunc_impl_list): Likewise.
11007 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11008 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11009 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11010 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11012 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11013 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11014 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11015 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11016 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11018 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11020 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11024 (__libc_ifunc_impl_list): Likewise.
11025 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11026 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11027 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11028 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11032 multiarch for POWER/PPC64.
11033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11034 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11035 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11036 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11037 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11038 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11039 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11040 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11041 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11044 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11045 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11046 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11047 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11048 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11049 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11050 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11051 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11052 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11053 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11054 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11055 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11056 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11057 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11058 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11067 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11069 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11071 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11073 * benchtests/Makefile (bench): Add exp2 and log2.
11074 (LDLIBS-bench-exp2): Add -lm.
11075 (LDLIBS-bench-log2): Likewise.
11076 * benchtests/exp2-inputs: New inputs file.
11077 * benchtests/log2-inputs: New inputs file.
11078 * benchtests/log-inputs: Add new inputs.
11079 * benchtests/tan-inputs: Likewise.
11081 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11083 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11085 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11086 (csloww2): ... from here.
11088 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11089 instead of structures.
11090 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11091 (POLYNOMIAL): Likewise.
11092 (TAYLOR_SLOW): Likewise.
11098 (sloww1); Likewise.
11099 (sloww2): Likewise.
11100 (bsloww1): Likewise.
11101 (bsloww2): Likewise.
11102 (cslow2): Likewise.
11103 (csloww): Likewise.
11104 (csloww1): Likewise.
11105 (csloww2): Likewise.
11107 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11109 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11110 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11111 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11112 * malloc/hooks.c (realloc_check): Likewise.
11114 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11115 * malloc/arena.c: Remove PER_THREAD conditional.
11116 [!PER_THREAD]: Remove code.
11117 (ptmalloc_unlock_all2): Likewise.
11118 (ptmalloc_init): Likewise.
11119 (_int_new_arena): Likewise.
11120 (arena_get2): Likewise.
11121 * malloc/hooks.c (__malloc_get_state): Likewise.
11122 (__malloc_set_state): Likewise.
11123 * malloc/malloc.c: Likewise.
11124 (struct malloc_state): Likewise.
11125 (struct malloc_par): Likewise.
11126 (__libc_realloc): Likewise.
11127 (__libc_mallopt): Likewise.
11129 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11131 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11133 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11135 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11136 macro to a function. Check for zero perturb_byte.
11137 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11139 * malloc/malloc.c: (force_reg): Remove.
11140 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11141 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11142 force_reg by atomic_forced_read.
11143 * malloc/arena.c (ptmalloc_init): Likewise.
11144 * malloc/hooks.c (top_check): Likewise.
11146 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11150 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11154 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11156 * math/auto-libm-test-in: Add tests of lgamma.
11157 * math/auto-libm-test-out: Regenerated.
11158 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11159 (M_LOG_2_SQRT_PIl): Likewise.
11160 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11161 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11163 (func_calc_desc): Add mpfr_f_f1 union field.
11164 (ARGS1): New macro.
11172 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11173 (test_functions): Add lgamma.
11174 (calc_generic_results): Handle mpfr_f_f1.
11175 * sysdeps/i386/fpu/libm-test-ulps: Update.
11176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11178 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11180 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11181 __mpn_add_n for PowerPC64/POWER7.
11182 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11183 __mpn_sub_n for PowerPC64/POWER7.
11185 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11186 __mpn_addmul_1 for PowerPC64.
11187 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11188 __mpn_submul_1 for PowerPC64.
11189 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11191 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11194 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11197 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11199 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11201 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11203 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11204 add multiarch folders.
11205 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11206 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11207 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11208 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11209 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11210 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11211 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11212 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11213 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11214 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11215 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11224 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11230 multiarch __ieee754_hypot for PowerPC32.
11231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11236 multiarch __ieee754_hypotf for PowerPC32.
11238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11239 long_double_symbol only if __logbl is defined.
11240 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11241 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11242 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11243 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11244 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11245 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11246 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11247 path for implementation.
11248 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11249 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11251 logb, and logbl multiarch implementations for PowerPC32.
11252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11257 multiarch logb for PowerPC32.
11258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11263 multiarch logbf for PowerPC32.
11264 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11268 multiarch logbl implementation for PowerPC32.
11270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11271 and modff multiarch implementations.
11272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11277 multiarch modf for PowerPC32.
11278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11283 multiarch modff for PowerPC32.
11285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11286 and lrintf multiarch implementations.
11287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11292 multiarch lrint for PowerPC32.
11293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11294 file: multiarch lrintf for PowerPC32.
11296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11297 and lroundf multiarch implementations.
11298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11305 multiarch lround for PowerPC32.
11306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11307 file: multiarch lroundf for PowerPC32.
11309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11310 copysign and copysignf multiarch implementations.
11311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11316 file: multiarch copysign for PowerPC32.
11317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11318 file: multiarch copysignf for PowerPC32.
11320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11321 and truncf multiarch implementations.
11322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11327 multiarch trunc for PowerPC32.
11328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11333 multiarch truncf for PowerPC32.
11335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11336 and roundf multiarch implementations.
11337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11342 multiarch round for PowerPC32.
11343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11348 multiarch roundf for PowerPC32.
11350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11351 and floorf multiarch implementations.
11352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11357 multiarch floor for PowerPC32.
11358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11363 multiarch floorf for PowerPC32.
11365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11366 and ceilf multiarch implementations.
11367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11372 multiarch ceil for PowerPC32.
11373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11378 multiarch ceilf for PowerPC32.
11380 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11382 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11383 FINITEF is defined.
11384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11385 and finitef multiarch implementations.
11386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11391 multiarch finite for PowerPC32.
11392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11395 file: multiarch finitef for PowerPC32.
11397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11398 and isinff multiarch implementations.
11399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11404 multiarch isinf for PowerPC32.
11405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11408 multiarch isinff for PowerPC32.
11410 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11411 alias when __isnan is defined.
11412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11413 and isnanf multiarch implementations.
11414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11423 multiarch isnan for PowerPC32.
11424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11429 multiarch isnanf for PowerPC32.
11431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11432 and sqrtf multiarch implementations.
11433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11438 multiarch sqrt for PowerPC32.
11439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11444 multiarch sqrtf for PowerPC32.
11446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11447 and llroundf multiarch implementations.
11448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11455 file: multiarch llround for PowerPC32.
11456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11457 file: multiarch llroundf for PowerPC32.
11459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11460 multiarch PowerPC32 fpu implementations.
11461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11466 multiarch llrint for PowerPC32.
11467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11476 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11478 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11480 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11482 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11483 multiarch wordcopy for PPC32.
11484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11487 (__libc_ifunc_impl_list): Likewise.
11488 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11489 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11490 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11491 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11492 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11493 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11495 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11496 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11498 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11500 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11502 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11503 multiarch wcscpy for PPC32.
11504 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11506 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11507 (__libc_ifunc_impl_list): Likewise.
11508 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11509 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11510 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11511 sysdeps/powerpc/power6/wcscpy.c.
11513 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11514 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11518 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11520 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11521 multiarch wcsrchr for PPC32.
11522 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11524 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11525 (__libc_ifunc_impl_list): Likewise.
11526 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11527 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11528 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11529 sysdeps/powerpc/power6/wcsrchr.c.
11531 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11533 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11535 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11536 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11537 multiarch wcschr for PPc32.
11538 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11540 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11541 (__libc_ifunc_impl_list): Likewise.
11542 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11543 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11544 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11545 sysdeps/powerpc/power6/wcschr.c.
11547 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11548 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11550 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11551 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11552 file: multiarch strchr for PPC32.
11553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11556 (__libc_ifunc_impl_list): Likewise.
11558 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11560 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11562 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11564 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11565 multiarch strchrnul for PPC32.
11566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11568 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11569 (__libc_ifunc_impl_list): Likewise.
11571 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11573 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11574 multiarch strncasecmp for PPC32.
11575 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11577 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11578 multiarch strncasecmp_l for PPC32.
11579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11580 strncasecmp multiarch objects.
11581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11582 (__libc_ifunc_impl_list): Likewise.
11584 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11586 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11587 multiarch strncasecmp for PPC32.
11588 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11590 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11591 multiarch strcasecmp_l for PPC32.
11592 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11594 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11595 (__libc_ifunc_impl_list): Likewise.
11597 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11599 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11601 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11602 multiarch strncmp for PPC32.
11603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11605 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11606 (__libc_ifunc_impl_list): Likewise.
11608 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11609 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11611 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11612 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11613 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11615 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11616 (__libc_ifunc_impl_list): Likewise.
11618 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11620 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11622 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11623 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11625 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11626 (__libc_ifunc_impl_list): Likewise.
11628 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11630 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11632 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11633 multiarch rawmemchr for PPC32.
11634 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11636 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11637 (__libc_ifunc_impl_list): Likewise.
11639 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11641 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11643 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11644 file: memrchr multiarch for PPC32.
11645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11648 (__libc_ifunc_impl_list): Likewise.
11650 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11651 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11653 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11654 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11655 multiarch memchr for PPC32.
11656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11659 (__libc_ifunc_impl_list): Likewise.
11661 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11662 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11664 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11666 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11667 file: multiarch mempcpy for PPC32.
11668 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11670 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11671 (__libc_ifunc_impl_list): Likewise.
11673 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11674 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11675 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11676 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11677 multiarch bzero for PPC32.
11678 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11680 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11682 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11683 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11684 file: multiarch memset for PPC32.
11685 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11686 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11687 memset multiarch objects.
11688 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11689 (__libc_ifunc_impl_list): Likewise.
11691 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11693 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11694 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11696 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11700 (__libc_ifunc_impl_list): Likewise.
11702 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11703 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11704 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11706 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11708 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11710 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11711 multiarch memcpy for PPC32.
11712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11715 (__libc_ifunc_impl_list): Likewise.
11717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11718 support multiarch for POWER/PPC32.
11719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11721 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11723 Implies file to make multiarch folder appers before the fpu and
11724 default folder for power4 configuration.
11726 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11728 * scripts/bench.pl: Append volatile keyword to type.
11730 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11732 * sysdeps/sh/sotruss-lib.c: New file.
11733 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11735 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11739 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11742 * math/w_tgamma.c: Include <errno.h>.
11743 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11744 * math/w_tgammaf.c: Include <errno.h>.
11745 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11746 * math/w_tgammal.c: Include <errno.h>.
11747 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11748 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11749 underflow. Add more tgamma tests.
11750 * math/auto-libm-test-out: Regenerated.
11751 * sysdeps/i386/fpu/libm-test-ulps: Update.
11752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11754 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11755 sin, sinh, tan, tanh, tgamma, y0 and y1.
11756 * math/auto-libm-test-out: Regenerated.
11757 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11758 (TEST_COND_x86): Likewise.
11759 (M_E2l): Remove macro.
11761 (M_2_SQRT_PIl): Likewise.
11762 (M_SQRT_PIl): Likewise.
11763 (M_1_DIV_El): Likewise.
11764 (log_test_data): Use AUTO_TESTS_f_f.
11765 (log10_test_data): Likewise.
11766 (log1p_test_data): Likewise.
11767 (log2_test_data): Likewise.
11768 (sin_test_data): Likewise.
11769 (sin_tonearest_test_data): Likewise.
11770 (sin_towardzero_test_data): Likewise.
11771 (sin_downward_test_data): Likewise.
11772 (sin_upward_test_data): Likewise.
11773 (sinh_test_data): Likewise.
11774 (sinh_tonearest_test_data): Likewise.
11775 (sinh_towardzero_test_data): Likewise.
11776 (sinh_downward_test_data): Likewise.
11777 (sinh_upward_test_data): Likewise.
11778 (tan_test_data): Likewise.
11779 (tan_tonearest_test_data): Likewise.
11780 (tan_towardzero_test_data): Likewise.
11781 (tan_downward_test_data): Likewise.
11782 (tan_upward_test_data): Likewise.
11783 (tanh_test_data): Likewise.
11784 (tgamma_test_data): Likewise.
11785 (y0_test_data): Likewise.
11786 (y1_test_data): Likewise.
11787 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11788 (special_real_inputs): Add pi/4.
11789 * sysdeps/i386/fpu/libm-test-ulps: Update.
11790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11792 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11794 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11795 "longjmp_target" static probes.
11796 (__longjmp): Rename to __longjmp_symbol.
11797 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11798 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11799 on which longjmp to generate.
11800 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11801 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11803 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11804 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11805 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11806 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11807 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11808 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11810 __longjmp_symbol based on which __longjmp to generate.
11811 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11813 (setjmp): Rename to setjmp_symbol.
11814 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11815 (_setjmp): Rename to _setjmp_symbol.
11816 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11817 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11818 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11819 which setjmp to generate.
11820 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11821 "longjmp_target" static probes.
11823 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11825 * benchtests/README: Add note about output arguments.
11826 * benchtests/bench-sincos.c: Remove file.
11827 * benchtests/sincos-inputs: New file.
11828 * scripts/bench.pl: Identify output arguments and define
11829 static variables for them.
11831 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11834 * Makefile (INSTALL): Add install-plain.texi as the primary
11836 * manual/install-plain.texi: New file.
11837 * manual/install.texi: Include node directive only for
11838 non-plaintext output.
11840 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11842 * stdlib/longlong.h: Update from GCC.
11846 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11847 * math/w_j0f.c (y0f): Likewise.
11848 * math/w_j0l.c (__y0l): Likewise.
11849 * math/w_j1.c (y1): Likewise.
11850 * math/w_j1f.c (y1f): Likewise.
11851 * math/w_j1l.c (__y1l): Likewise
11852 * math/w_jn.c (yn): Likewise.
11853 * math/w_jnf.c (ynf): Likewise.
11854 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11855 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11856 value for Bessel function domain errors outside _SVID_ mode.
11857 Adjust sign of return value for yn (negative integer, 0).
11858 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11859 by zero in return for negative x and set sign appropriately for
11861 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11862 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11863 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11864 expectations in error cases.
11865 (y1_test_data): Likewise.
11866 (yn_test_data): Likewise.
11867 * sysdeps/i386/fpu/libm-test-ulps: Update.
11868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11870 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11872 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11873 "64" to "64-v1". Add "64-v2".
11874 (abi-64-options): Rename to ...
11875 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11876 (abi-64-condition): Rename to ...
11877 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11878 (abi-64-ld-soname): Rename to ...
11879 (abi-64-v1-ld-soname): ... this.
11880 (abi-64-v2-options): Define.
11881 (abi-64-v2-condition): Likewise.
11882 (abi-64-v2-ld-soname): Likewise.
11883 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11884 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11889 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11890 Alan Modra <amodra@gmail.com>
11892 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11893 New versions for use with the ELFv2 ABI.
11894 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11895 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11897 (struct La_ppc64v2_retval): Likewise.
11898 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11899 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11900 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11901 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11902 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11903 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11904 Do not save or restore CR.
11905 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11906 (_dl_profile_resolve): Do no save or restore CR. Support extended
11907 return values for ELFv2 ABI. Fix location of FPR return registers.
11908 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11909 updated values for _CALL_ELF == 2.
11910 (La_regs, La_retval, int_retval): Likewise.
11912 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11914 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11915 (FRAME_MIN_SIZE_PARM): Likewise.
11916 (FRAME_BACKCHAIN): Likewise.
11917 (FRAME_CR_SAVE): Likewise.
11918 (FRAME_LR_SAVE): Likewise.
11919 (FRAME_TOC_SAVE): Likewise.
11920 (FRAME_PARM_SAVE): Likewise.
11921 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11922 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11923 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11924 (call_mcount_parm_offset): New macro.
11925 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11926 (PROF): Use symbolic stack frame offsets.
11927 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11928 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11929 Redefine in terms of FRAME_MIN_SIZE.
11930 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11931 (_dl_profile_resolve): Likewise. Update comment.
11932 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11933 symbols stack frame offsets.
11934 (__sigsetjmp): Likewise.
11935 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11936 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11937 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11938 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11941 (FRAME_BACKCHAIN): Remove.
11942 (FRAME_CR_SAVE): Likewise.
11943 (FRAME_LR_SAVE): Likewise.
11944 (FRAME_COMPILER_DW): Likewise.
11945 (FRAME_LINKER_DW): Likewise.
11946 (FRAME_TOC_SAVE): Likewise.
11947 (FRAME_PARM_SAVE): Likewise.
11948 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11949 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11950 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11952 (CHECK_SP): Use symbolic stack frame offsets.
11953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11954 zone" instead of caller's parameter save area for temp storage.
11955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11956 Likewise. Also, use symbolic stack frame offsets.
11957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11958 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11959 our own stack frame instead of the caller's.
11960 (__socket): Use symbolic stack frame offsets.
11962 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11963 Alan Modra <amodra@gmail.com>
11965 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11967 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11968 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11969 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11971 (elf_machine_fixup_plt): Call it.
11972 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11974 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11975 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11976 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11977 r2 before calling target.
11979 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11980 Alan Modra <amodra@gmail.com>
11982 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11983 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11984 versions of macros to support ELFv2 ABI.
11985 (LOCALENTRY): New macro.
11986 (ENTRY, EALIGN): Use it.
11987 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11988 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11989 fall through into ENTRY entry point.
11990 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11991 Only define if _CALL_ELF != 2.
11993 (elf_machine_matches_host): Verify ABI version matches.
11994 (RTLD_START): Use LOCALENTRY.
11995 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11996 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11997 (PLT_ENTRY_WORDS): New macro.
11998 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11999 (elf_machine_runtime_setup): Support ELFv2 ABI.
12000 (elf_machine_fixup_plt): Likewise.
12001 (elf_machine_plt_conflict): Likewise.
12002 (resolve_ifunc): Likewise.
12003 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12004 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12007 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12009 (makecontext): Support ELFv2 ABI.
12010 * elf/elf.h (EF_PPC64_ABI): Define.
12012 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12014 * sysdeps/powerpc/powerpc64/sysdep.h
12015 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12016 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12017 (ENTRY) [ASSEMBLER]: ... but instead here ...
12018 (EALIGN) [ASSEMBLER]: ... and here.
12019 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12020 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12021 (ENTRY_2) [!ASSEMBLER]: Use it.
12022 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12023 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12024 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12025 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12026 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12028 Use PPC64_LOAD_FUNCPTR.
12030 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12032 2013-12-04 Alan Modra <amodra@gmail.com>
12034 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12035 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12036 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12037 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12039 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12040 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12041 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12042 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12043 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12044 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12046 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12049 (__makecontext): Fix incorrect CFI when backtracing out of
12050 context created via makecontext.
12051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12052 (__setcontext): Fix incorrect CFI during switch to new context.
12053 (__novec_setcontext): Likewise.
12055 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12058 * time/strptime_l.c (__strptime_internal): Allow modifiers
12060 * time/tst-strptime.c (day_tests): Add testcase.
12062 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12064 * scripts/bench.pl: Skip over blank lines.
12066 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12069 * manual/time.texi (Calendar Time): Clarify what timezone functions
12072 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12076 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12078 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12080 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12081 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12082 * debug/memset_chk.c (__memset_chk): Likewise.
12083 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12084 * debug/strncpy_chk.c: Likewise.
12086 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12090 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12091 (__ieee754_exp): For possibly underflowing results, check size of
12092 result and force underflow exception if required.
12093 * math/auto-libm-test-in: Add more tests of exp.
12094 * math/auto-libm-test-out: Regenerated.
12095 * sysdeps/i386/fpu/libm-test-ulps: Update.
12096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12099 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12100 * math/w_exp2f.c (__exp2f): Likewise.
12101 * math/w_exp2l.c (__exp2l): Likewise.
12102 * math/auto-libm-test-in: Do not allow missing errno on exp2
12104 * math/auto-libm-test-out: Regenerated.
12106 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12109 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12110 handle filename validation.
12111 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12114 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12117 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12118 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12119 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12121 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12122 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12123 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12124 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12125 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12126 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12127 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12128 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12129 Add more erfc tests.
12130 * math/auto-libm-test-out: Regenerated.
12131 * sysdeps/i386/fpu/libm-test-ulps: Update.
12132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12134 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12135 exp2, expm1, j0 and j1.
12136 * math/auto-libm-test-out: Regenerated.
12137 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12138 (erfc_test_data): Likewise.
12139 (exp_test_data): Likewise.
12140 (exp_tonearest_test_data): Likewise.
12141 (exp_towardzero_test_data): Likewise.
12142 (exp_downward_test_data): Likewise.
12143 (exp_upward_test_data): Likewise.
12144 (exp10_test_data): Likewise.
12145 (exp2_test_data): Likewise.
12146 (expm1_test_data): Likewise.
12147 (j0_test_data): Likewise.
12148 (j1_test_data): Likewise.
12149 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12150 (input_flag_type): Add flag_xfail_rounding.
12151 (input_flags): Add xfail-rounding.
12152 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12153 (output_for_one_input_case): Handle flag_xfail_rounding.
12154 * sysdeps/i386/fpu/libm-test-ulps: Update.
12155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12157 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12160 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12163 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12166 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12167 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12168 (STAP_PROBE0): New macro.
12169 (STAP_PROBE1): Likewise.
12170 (STAP_PROBE2): Likewise.
12171 (STAP_PROBE3): Likewise.
12172 (STAP_PROBE4): Likewise.
12174 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12176 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12178 2013-12-02 Steve Ellcey <sellcey@mips.com>
12180 * benchtests/Makefile (bench): Add sqrt.
12181 (LDLIBS-bench-sqrt): New.
12182 * benchtests/sqrt-input: New.
12184 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12186 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12187 (GAIH_EAI): Likewise.
12188 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12189 (gaih_inet): Likewise.
12190 (getaddrinfo): Don't use GAIH_EAI.
12192 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12193 (struct gaih): Remove definition.
12195 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12197 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12198 Use HERRNOP directly.
12200 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12204 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12206 * math/gen-auto-libm-tests.c (test_functions): Add more
12207 single-argument functions.
12208 (special_fill_pi_2): New function.
12209 (special_fill_minus_pi_2): Likewise.
12210 (special_fill_pi_6): Likewise.
12211 (special_fill_minus_pi_6): Likewise.
12212 (special_fill_pi_3): Likewise.
12213 (special_fill_2pi_3): Likewise.
12214 (special_fill_e): Likewise.
12215 (special_fill_1_e): Likewise.
12216 (special_fill_e_minus_1): Likewise.
12217 (special_real_inputs): Add more special inputs.
12218 (output_for_one_input_case): Do not require ERANGE on underflow to
12219 zero if round-to-nearest result does not underflow to zero, unless
12220 exact results required.
12221 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12222 atan, atanh, cbrt, cos and cosh.
12223 * math/auto-libm-test-out: Regenerated.
12224 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12225 (acos_tonearest_test_data): Likewise.
12226 (acos_towardzero_test_data): Likewise.
12227 (acos_downward_test_data): Likewise.
12228 (acos_upward_test_data): Likewise.
12229 (acosh_test_data): Likewise.
12230 (asin_test_data): Likewise.
12231 (asin_tonearest_test_data): Likewise.
12232 (asin_towardzero_test_data): Likewise.
12233 (asin_upward_test_data): Likewise.
12234 (asinh_test_data): Likewise.
12235 (atan_test_data): Likewise.
12236 (atanh_test_data): Likewise.
12237 (cbrt_test_data): Likewise.
12238 (cos_test_data): Likewise.
12239 (cos_tonearest_test_data): Likewise.
12240 (cos_towardzero_test_data): Likewise.
12241 (cos_downward_test_data): Likewise.
12242 (cos_upward_test_data): Likewise.
12243 (cosh_test_data): Likewise.
12244 (cosh_tonearest_test_data): Likewise.
12245 (cosh_towardzero_test_data): Likewise.
12246 (cosh_downward_test_data): Likewise.
12247 (cosh_upward_test_data): Likewise.
12248 * sysdeps/i386/fpu/libm-test-ulps: Update.
12249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12251 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12254 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12255 * math/w_exp10f.c (__exp10f): Likewise.
12256 * math/w_exp10l.c (__exp10l): Likewise.
12257 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12258 errno settings in existing tests.
12261 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12262 precision control set to double precision.
12263 * sysdeps/i386/fpu/w_sqrt.c: New file.
12264 * math/auto-libm-test-in: Add more tests.
12265 * math/auto-libm-test-out: Update.
12267 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12268 (sqrt_test_tonearest): New function.
12269 (sqrt_towardzero_test_data): New variable.
12270 (sqrt_test_towardzero): New function.
12271 (sqrt_downward_test_data): New variable.
12272 (sqrt_test_downward): New function.
12273 (sqrt_upward_test_data): New variable.
12274 (sqrt_test_upward): New function.
12275 (main): Call the new functions.
12277 * math/gen-auto-libm-tests.c: New file.
12278 * math/auto-libm-test-in: Likewise.
12279 * math/auto-libm-test-out: New generated file.
12280 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12282 (%beautify): Add generated representations of zero.
12283 (top level): Set $auto_input and call parse_auto_input.
12284 (beautify): Remove trailing "f" from hex float constants.
12285 (parse_args): Handle XFAIL_TEST.
12286 (convert_condition): New function.
12287 (or_value): Likewise.
12288 (or_cond_value): Likewise.
12289 (generate_testfile): Handle AUTO_TESTS_* lines.
12290 (parse_auto_input): New function.
12291 * math/libm-test.inc (XFAIL_TEST): New macro.
12292 (ERRNO_UNCHANGED): Update value.
12293 (ERRNO_EDOM): Likewise.
12294 (ERRNO_ERANGE): Likewise.
12295 (IGNORE_RESULT): Likewise.
12296 (TEST_COND_flt_32): New macro.
12297 (TEST_COND_dbl_64): Likewise.
12298 (TEST_COND_ldbl_96_intel): Likewise.
12299 (TEST_COND_ldbl_96_m68k): Likewise.
12300 (TEST_COND_ldbl_128): Likewise.
12301 (TEST_COND_ldbl_128ibm): Likewise.
12302 (TEST_COND_long32): Likewise.
12303 (TEST_COND_long64): Likewise.
12304 (TEST_COND_before_rounding): Likewise.
12305 (TEST_COND_after_rounding): Likewise.
12306 (enable_test): Handle XFAIL_TEST flag.
12307 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12308 with finite results.
12309 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12310 auto-libm-test-out.
12312 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12313 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12316 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12317 __tls_get_addr_internal instead of __tls_get_offset in order to
12318 avoid GOT pointer dependency. Make rtld export
12319 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12320 __tls_get_addr since we are a __tls_get_offset platform.
12321 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12322 GOT pointer being set up before.
12323 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12325 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12327 * manual/math.texi (Errors in Math Functions): Document accuracy
12331 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12332 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12335 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12337 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12338 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12339 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12340 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12342 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12343 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12344 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12345 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12346 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12348 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12349 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12350 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12351 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12352 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12354 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12356 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12358 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12359 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12360 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12361 atomic-feupdateenv and flt-rounds.
12362 * sysdeps/powerpc/nofpu/Versions (libc): Add
12363 __atomic_feholdexcept, __atomic_feclearexcept,
12364 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12365 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12366 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12367 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12368 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12373 * manual/arith.texi (FP Exceptions): Document that exceptions may
12374 not be raised when matherr is used.
12375 (Math Error Reporting): Document overflow in directed rounding
12376 modes. Document that errno may not be set when finite values are
12377 returned on overflow. Document intent to set errno on underflow
12378 only for underflow to zero.
12381 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12382 round-to-nearest then adjust result for other rounding modes.
12383 * include/fenv.h (fegetround): Use libm_hidden_proto.
12384 * math/fegetround.c (fegetround): Use libm_hidden_def.
12385 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12386 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12387 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12388 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12390 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12391 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12392 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12393 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12395 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12398 * nss/Versions (libnss_files): Add
12399 _nss_files_gethostbyname3_r.
12400 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12402 (HOST_DB_LOOKUP): Remove macro.
12403 (_nss_files_gethostbyname_r): Implement function without the
12404 HOST_DB_LOOKUP macro.
12405 (_nss_files_gethostbyname2_r): Likewise.
12407 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12409 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12411 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12413 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12414 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12417 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12419 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12420 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12421 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12422 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12423 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12424 __fe_nomask_env_priv and attribute_hidden.
12425 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12426 (libc_feupdateenv_test_ppc): Likewise.
12427 (libc_feresetround_ppc): Likewise.
12428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12429 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12430 compat_symbol macro.
12431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12432 (__fe_nomask_env): Likewise.
12433 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12435 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12437 * string/Makefile: Remove ifunc tests.
12438 * string/test-string.h: Define TEST_IFUNC.
12439 * string/test-bcopy-ifunc.c: Remove.
12440 * string/test-bzero-ifunc.c: Likewise.
12441 * string/test-memccpy-ifunc.c: Likewise.
12442 * string/test-memchr-ifunc.c: Likewise.
12443 * string/test-memcmp-ifunc.c: Likewise.
12444 * string/test-memcpy-ifunc.c: Likewise.
12445 * string/test-memmem-ifunc.c: Likewise.
12446 * string/test-memmove-ifunc.c: Likewise.
12447 * string/test-mempcpy-ifunc.c: Likewise.
12448 * string/test-memrchr-ifunc.c: Likewise.
12449 * string/test-memset-ifunc.c: Likewise.
12450 * string/test-rawmemchr-ifunc.c: Likewise.
12451 * string/test-stpcpy-ifunc.c: Likewise.
12452 * string/test-stpncpy-ifunc.c: Likewise.
12453 * string/test-strcasecmp-ifunc.c: Likewise.
12454 * string/test-strcasestr-ifunc.c: Likewise.
12455 * string/test-strcat-ifunc.c: Likewise.
12456 * string/test-strchr-ifunc.c: Likewise.
12457 * string/test-strchrnul-ifunc.c: Likewise.
12458 * string/test-strcmp-ifunc.c: Likewise.
12459 * string/test-strcpy-ifunc.c: Likewise.
12460 * string/test-strcspn-ifunc.c: Likewise.
12461 * string/test-strlen-ifunc.c: Likewise.
12462 * string/test-strncasecmp-ifunc.c: Likewise.
12463 * string/test-strncat-ifunc.c: Likewise.
12464 * string/test-strncmp-ifunc.c: Likewise.
12465 * string/test-strncpy-ifunc.c: Likewise.
12466 * string/test-strnlen-ifunc.c: Likewise.
12467 * string/test-strpbrk-ifunc.c: Likewise.
12468 * string/test-strrchr-ifunc.c: Likewise.
12469 * string/test-strspn-ifunc.c: Likewise.
12470 * string/test-strstr-ifunc.c: Likewise.
12472 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12474 * benchtests/Makefile: Remove ifunc tests.
12475 * benchtests/bench-string.h: Define TEST_IFUNC.
12476 * benchtests/bench-bcopy-ifunc.c: Remove.
12477 * benchtests/bench-bzero-ifunc.c: Likewise.
12478 * benchtests/bench-memccpy-ifunc.c: Likewise.
12479 * benchtests/bench-memchr-ifunc.c: Likewise.
12480 * benchtests/bench-memcmp-ifunc.c: Likewise.
12481 * benchtests/bench-memcpy-ifunc.c: Likewise.
12482 * benchtests/bench-memmem-ifunc.c: Likewise.
12483 * benchtests/bench-memmove-ifunc.c: Likewise.
12484 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12485 * benchtests/bench-memrchr-ifunc.c: Likewise.
12486 * benchtests/bench-memset-ifunc.c: Likewise.
12487 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12488 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12489 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12490 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12491 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12492 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12493 * benchtests/bench-strcat-ifunc.c: Likewise.
12494 * benchtests/bench-strchr-ifunc.c: Likewise.
12495 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12496 * benchtests/bench-strcmp-ifunc.c: Likewise.
12497 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12498 * benchtests/bench-strcpy-ifunc.c: Likewise.
12499 * benchtests/bench-strcspn-ifunc.c: Likewise.
12500 * benchtests/bench-strlen-ifunc.c: Likewise.
12501 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12502 * benchtests/bench-strncat-ifunc.c: Likewise.
12503 * benchtests/bench-strncmp-ifunc.c: Likewise.
12504 * benchtests/bench-strncpy-ifunc.c: Likewise.
12505 * benchtests/bench-strnlen-ifunc.c: Likewise.
12506 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12507 * benchtests/bench-strrchr-ifunc.c: Likewise.
12508 * benchtests/bench-strsep-ifunc.c: Likewise.
12509 * benchtests/bench-strspn-ifunc.c: Likewise.
12510 * benchtests/bench-strstr-ifunc.c: Likewise.
12512 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12514 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12516 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12518 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12519 * rt/aio.h: Likewise.
12520 * sysdeps/gnu/bits/utmp.h: Likewise.
12521 * sysdeps/gnu/bits/utmpx.h: Likewise.
12522 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12523 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12524 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12525 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12526 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12527 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12528 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12529 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12530 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12531 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12532 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12533 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12534 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12536 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12537 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12538 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12539 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12540 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12541 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12542 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12543 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12544 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12545 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12546 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12548 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12549 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12550 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12551 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12552 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12553 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12554 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12555 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12556 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12557 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12558 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12559 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12560 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12561 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12562 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12563 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12565 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12568 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12569 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12571 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12573 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12574 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12577 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12579 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12580 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12581 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12582 (__fesetround): Remove define.
12583 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12584 rounding and exceptions handling.
12585 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12586 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12587 (__fe_nomask_env): Likewise.
12588 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12589 __fegetround instead of fegetround.
12590 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12591 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12593 2013-11-21 Roland McGrath <roland@hack.frob.com>
12595 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12598 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12600 2013-11-21 Meador Inge <meadori@codesourcery.com>
12603 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12604 (encrypt_r): Likewise.
12605 * malloc/obstack.h (obstack_free): Likewise.
12606 * posix/unistd.h (encrypt): Likewise.
12608 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12610 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12611 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12612 DL_CALL_DT_FINI() that call the functions directly.
12613 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12614 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12615 * elf/dl-fini.c: Likewise.
12617 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12619 * malloc/hooks.c (memalign_check): Add alignment rounding.
12620 * malloc/malloc.c (_mid_memalign): New function.
12621 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12622 Implement by calling _mid_memalign.
12623 * manual/probes.texi (Memory Allocation Probes): Remove
12624 memory_valloc_retry and memory_pvalloc_retry.
12626 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12628 * locale/programs/locarchive.c (open_archive): Add const
12629 qualifier to ARCHIVEFNAME and copy default fname to
12633 * libio/tst-widetext.input: Rename Oriya to Odia.
12634 * locale/iso-639.def: Likewise.
12636 * manual/probes.texi (Mathematical Function Probes): Add
12637 documentation for sin, cos, asin and acos probes.
12638 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12639 (__sin32): Add slowasin probe.
12640 (__cos32): Add slowacos probe.
12641 (__mpsin): Add slowsin probe.
12642 (__mpcos): Add slowcos probe.
12644 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12647 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12648 thread-local __sim_exceptions_thread and global
12649 __sim_exceptions_global.
12650 (__sim_disabled_exceptions): Change to thread-local
12651 __sim_disabled_exceptions_thread and global
12652 __sim_disabled_exceptions_global.
12653 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12654 and global __sim_round_mode_global.
12655 (__simulate_exceptions): Use thread-local floating-point state and
12656 set global state from it as needed.
12657 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12658 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12659 __sim_round_mode_thread.
12660 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12661 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12662 and global __sim_exceptions_global.
12663 (__sim_disabled_exceptions): Change to thread-local
12664 __sim_disabled_exceptions_thread and global
12665 __sim_disabled_exceptions_global.
12666 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12667 and global __sim_round_mode_global.
12668 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12669 (SIM_SET_GLOBAL): Likewise.
12670 * sysdeps/powerpc/soft-fp/sfp-machine.h
12671 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12672 __sim_round_mode_thread.
12673 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12674 __sim_disabled_exceptions_thread.
12675 (__sim_exceptions): Change to __sim_exceptions_thread.
12676 (__sim_disabled_exceptions): Change to
12677 __sim_disabled_exceptions_thread.
12678 (__sim_round_mode): Change to __sim_round_mode_thread.
12679 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12680 thread-local floating-point state and set global state from it as
12682 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12683 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12684 (__sim_disabled_exceptions): Remove extern declaration.
12685 (feenableexcept): Use thread-local floating-point state and set
12686 global state from it as needed.
12687 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12688 extern declaration.
12689 (__sim_disabled_exceptions): Likewise.
12690 (__sim_round_mode): Likewise.
12691 (__fegetenv): Use thread-local floating-point state.
12692 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12693 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12694 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12695 floating-point state and set global state from it as needed.
12696 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12697 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12698 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12700 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12701 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12703 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12704 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12705 Use __sim_round_mode_thread.
12706 * math/test-fenv-tls.c: New file.
12707 * math/Makefile (tests): Add test-fenv-tls.
12708 ($(objpfx)test-fenv-tls): Depend on
12709 $(common-objpfx)nptl/libpthread.so.
12711 2013-11-19 Andreas Schwab <schwab@suse.de>
12713 * locale/programs/locale.c (show_info): Decode wordarray elements.
12714 * locale/categories.def (LC_MONETARY): Add element for
12715 _NL_MONETARY_CRNCYSTR.
12716 * locale/C-monetary.c (conversion_rate): New variable.
12717 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12720 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12722 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12723 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12725 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12727 * elf/Makefile (tst-auxv): New test.
12728 * elf/tst-auxv.c: New
12729 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12731 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12733 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12734 (hidden_proto): Caller changed.
12735 (hidden_tls_proto): New macro.
12736 (libc_hidden_tls_proto): Likewise.
12737 (rtld_hidden_tls_proto): Likewise.
12738 (libm_hidden_tls_proto): Likewise.
12739 (libresolv_hidden_tls_proto): Likewise.
12740 (librt_hidden_tls_proto): Likewise.
12741 (libdl_hidden_tls_proto): Likewise.
12742 (libnss_files_hidden_tls_proto): Likewise.
12743 (libnsl_hidden_tls_proto): Likewise.
12744 (libnss_nisplus_hidden_tls_proto): Likewise.
12745 (libutil_hidden_tls_proto): Likewise.
12747 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12750 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12751 (decompose_rpath): Defer expansion to fillin_rpath.
12752 (_dl_init_paths): Pass linkmap to fillin_rpath.
12754 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12756 * benchtests/Makefile: Add strsep.
12757 * benchtests/bench-strsep.c: New file: strsep benchtest.
12758 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12760 2013-11-18 Andreas Schwab <schwab@suse.de>
12762 * locale/programs/locale.c (show_info) [case byte]: Check for
12763 '\377' instead of '\177'.
12764 * locale/C-monetary.c (not_available): Always use "\377".
12765 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12766 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12767 detect unavailable sign_posn locale elements.
12768 * locale/localeconv.c (__localeconv): For grouping and
12769 mon_grouping handle "\177" and "\377" like no grouping.
12770 (INT_ELEM): New macro. Use it to set all numeric members.
12771 * locale/programs/ld-monetary.c (monetary_read)
12772 <tok_mon_grouping>: Normalize single -1 to the empty string.
12773 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12776 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12779 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12780 when we match (nil).
12781 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12783 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12785 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12786 (NO_TEST_INLINE): Update value.
12787 (ERRNO_UNCHANGED): Likewise.
12788 (ERRNO_EDOM): Likewise.
12789 (ERRNO_ERANGE): Likewise.
12790 (IGNORE_RESULT): Likewise.
12791 (check_float_internal): Check signs of NaN results if
12792 TEST_NAN_SIGN used.
12793 (check_complex): Pass TEST_NAN_SIGN flag through to second
12794 check_float_internal call.
12795 (copysign_test_data): Add tests with quiet NaNs as second
12796 argument. Use TEST_NAN_SIGN.
12797 (fabs_test_data): Add test of negative quiet NaN argument. Use
12799 (signbit_test_data): Add tests of quiet NaN argument.
12800 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12802 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12804 (parse_args): Handle function results specified as IGNORE.
12805 * math/libm-test.inc (IGNORE_RESULT): New macro.
12806 (check_float_internal): Do not check numerical result if flag
12808 (check_complex): Pass through IGNORE_RESULT to second
12809 check_float_internal call.
12810 (check_int): Do not check numerical result if flag IGNORE_RESULT
12812 (check_long): Likewise.
12813 (check_bool): Likewise.
12814 (check_longlong): Likewise.
12815 (lrint_test_data): Add tests of infinite and NaN arguments.
12816 (lrint_tonearest_test_data): Likewise.
12817 (lrint_towardzero_test_data): Likewise.
12818 (lrint_downward_test_data): Likewise.
12819 (lrint_upward_test_data): Likewise.
12820 (llrint_test_data): Likewise.
12821 (llrint_tonearest_test_data): Likewise.
12822 (llrint_towardzero_test_data): Likewise.
12823 (llrint_downward_test_data): Likewise.
12824 (llrint_upward_test_data): Likewise.
12825 (lround_test_data): Likewise.
12826 (llround_test_data): Likewise.
12828 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12829 (ERRNO_UNCHANGED): Update value.
12830 (ERRNO_EDOM): Likewise.
12831 (ERRNO_ERANGE): Likewise.
12832 (NO_TEST_INLINE_FLOAT): New macro.
12833 (NO_TEST_INLINE_DOUBLE): Likewise.
12834 (enable_test): New function.
12835 (RUN_TEST_f_f): Check enable_test before running test.
12836 (RUN_TEST_2_f): Likewise.
12837 (RUN_TEST_fff_f): Likewise.
12838 (RUN_TEST_c_f): Likewise.
12839 (RUN_TEST_f_f1): Likewise.
12840 (RUN_TEST_fF_f1): Likewise.
12841 (RUN_TEST_fI_f1): Likewise.
12842 (RUN_TEST_ffI_f1): Likewise.
12843 (RUN_TEST_c_c): Likewise.
12844 (RUN_TEST_cc_c): Likewise.
12845 (RUN_TEST_f_i): Likewise.
12846 (RUN_TEST_f_i_tg): Likewise.
12847 (RUN_TEST_ff_i_tg): Likewise.
12848 (RUN_TEST_f_b): Likewise.
12849 (RUN_TEST_f_b_tg): Likewise.
12850 (RUN_TEST_f_l): Likewise.
12851 (RUN_TEST_f_L): Likewise.
12852 (RUN_TEST_fFF_11): Likewise.
12853 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12855 (cosh_test_data): Likewise.
12856 (exp_test_data): Likewise.
12857 (expm1_test_data): Likewise.
12858 (hypot_test_data): Likewise.
12859 (pow_test_data): Likewise.
12860 (sinh_test_data): Likewise.
12861 (tanh_test_data): Likewise.
12862 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12865 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12866 tests with quiet NaN input and output.
12867 (acosh_test_data): Likewise.
12868 (asin_test_data): Likewise.
12869 (asinh_test_data): Likewise.
12870 (atan_test_data): Likewise.
12871 (atanh_test_data): Likewise.
12872 (atan2_test_data): Likewise.
12873 (cbrt_test_data): Likewise.
12874 (cos_test_data): Likewise.
12875 (cosh_test_data): Likewise.
12876 (erf_test_data): Likewise.
12877 (erfc_test_data): Likewise.
12878 (exp_test_data): Likewise.
12879 (exp10_test_data): Likewise.
12880 (exp2_test_data): Likewise.
12881 (expm1_test_data): Likewise.
12882 (hypot_test_data): Likewise.
12883 (j0_test_data): Likewise.
12884 (j1_test_data): Likewise.
12885 (jn_test_data): Likewise.
12886 (lgamma_test_data): Likewise.
12887 (log_test_data): Likewise.
12888 (log10_test_data): Likewise.
12889 (log1p_test_data): Likewise.
12890 (log2_test_data): Likewise.
12891 (pow_test_data): Likewise.
12892 (scalb_test_data): Likewise.
12893 (sin_test_data): Likewise.
12894 (sincos_test_data): Likewise.
12895 (sinh_test_data): Likewise.
12896 (tan_test_data): Likewise.
12897 (tanh_test_data): Likewise.
12898 (tgamma_test_data): Likewise.
12899 (y0_test_data): Likewise.
12900 (y1_test_data): Likewise.
12901 (yn_test_data): Likewise.
12904 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12905 argument being NaN and avoid computations with second argument in
12907 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12908 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12909 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12911 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12913 * locale/iso-639.def: Add Chitwani Tharu (the).
12915 2013-11-14 Andreas Schwab <schwab@suse.de>
12917 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12918 word instead of empty string.
12920 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12923 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12925 (__fe_nomask_env): Likewise.
12927 2013-11-13 Steve Ellcey <sellcey@mips.com>
12929 * benchtests/bench-timing.h: Include time.h.
12931 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12934 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12936 * sysdeps/unix/sysv/linux/configure: Regenerated.
12938 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12941 * stdlib/strtod_l.c (round_and_return): Do not consider
12942 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12943 exponent one less than half the least subnormal exponent.
12944 * stdlib/test-strtod-round-data: Add more tests.
12945 * stdlib/tst-strtod-round.c (tests): Regenerated.
12947 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12950 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12951 (__fe_mask_env): Likewise.
12952 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12953 libm_hidden_proto and add function prototype.
12954 (__fe_mask_env): Add function prototype.
12955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12956 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12958 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12960 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12962 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12964 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12965 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12967 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12969 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12970 of htab_find_slot().
12972 2013-11-11 David S. Miller <davem@davemloft.net>
12975 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12976 symbol in the non-vis3 case in static builds.
12977 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12978 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12979 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12980 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12982 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12985 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12988 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12990 * benchtests/Makefile: Add bench-strtod.
12991 * benchtests/bench-strtod.c: New file: strtod benchtest
12993 2013-11-11 Andreas Schwab <schwab@suse.de>
12996 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12997 terminating NUL in key length.
12999 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13001 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13002 Add artificial ODP entry for vDSO symbol for PPC64.
13003 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13004 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13006 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13009 * nss/getent.c (services_keys): Recognize services starting with digit.
13011 2013-11-06 David S. Miller <davem@davemloft.net>
13014 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13015 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13017 2013-11-06 Will Newton <will.newton@linaro.org>
13019 * manual/memory.texi (Malloc Examples): Remove register
13020 keyword from examples.
13022 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13024 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13026 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13029 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13030 depending on [__GCC_IEC_559 > 0].
13031 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13032 depending on [__GCC_IEC_559_COMPLEX > 0].
13034 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13036 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13039 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13041 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13043 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13046 * malloc/malloc (malloc_info): Do not handle first bin as
13049 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13051 * locale/iso-639.def: Add Central Nahuatl (nhn).
13053 2013-11-01 Bruno Haible <bruno@clisp.org>
13056 * manual/math.texi (BSD Random): Specify range upper bound as
13059 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13061 * locale/iso-639.def: Add Meadow Mari (mhr).
13063 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13065 [BZ #14752], [BZ #15763]
13066 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13068 * rt/tst_shm.c: Add test for escaping directory.
13070 2013-10-31 Andreas Schwab <schwab@suse.de>
13073 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13074 followed by 'x' as part of digit sequence.
13075 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13077 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13080 * configure.ac: allow GNU Make 4.0 and greater.
13081 * configure: Regenerated.
13083 2013-10-30 Will Newton <will.newton@linaro.org>
13086 * malloc/hooks.c (memalign_check): Limit alignment to the
13087 maximum representable power of two.
13088 * malloc/malloc.c (__libc_memalign): Likewise.
13089 * malloc/tst-memalign.c (do_test): Add test for very
13090 large alignment values.
13091 * malloc/tst-posix_memalign.c (do_test): Likewise.
13093 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13096 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13097 (munmap_chunk): Likewise.
13098 (mremap_chunk): Likewise.
13100 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13103 * stdlib/div.c (div): Remove obsolete code.
13104 * stdlib/ldiv.c (ldiv): Likewise.
13105 * stdlib/lldiv.c (lldiv): Likewise.
13107 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13110 * nss/nss_files/files-XXX.c (get_contents_ret): New
13112 (get_contents): New function.
13113 (internal_getent): Use it. Expand size of LINEBUFLEN.
13115 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13117 * configure.in: Moved to ...
13118 * configure.ac: ... here. Change reference to configure.in
13120 * sysdeps/arm/preconfigure.ac: ... here.
13121 configure.in to configure.ac.
13122 * sysdeps/gnu/configure.in: Moved to ...
13123 * sysdeps/gnu/configure.ac: ... here.
13124 * sysdeps/i386/configure.in: Moved to ...
13125 * sysdeps/i386/configure.ac: ... here.
13126 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13127 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13128 * sysdeps/mach/configure.in: Moved to ...
13129 * sysdeps/mach/configure.ac: ... here.
13130 * sysdeps/mach/hurd/configure.in: Moved to ...
13131 * sysdeps/mach/hurd/configure.ac: ... here.
13132 * sysdeps/powerpc/configure.in: Moved to ...
13133 * sysdeps/powerpc/configure.ac: ... here.
13134 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13135 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13136 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13137 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13138 * sysdeps/s390/s390-32/configure.in: Moved to ...
13139 * sysdeps/s390/s390-32/configure.ac: ... here.
13140 * sysdeps/s390/s390-64/configure.in: Moved to ...
13141 * sysdeps/s390/s390-64/configure.ac: ... here.
13142 * sysdeps/sh/configure.in: Moved to ...
13143 * sysdeps/sh/configure.ac: ... here.
13144 * sysdeps/sparc/configure.in: Moved to ...
13145 * sysdeps/sparc/configure.ac: ... here.
13146 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13147 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13148 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13149 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13150 * sysdeps/x86_64/configure.in: Moved to ...
13151 * sysdeps/x86_64/configure.ac: ... here.
13152 * sysdeps/x86_64/preconfigure.in: Moved to ...
13153 * sysdeps/x86_64/preconfigure.ac: ... here.
13154 * aclocal.m4: Change reference to configure.in to configure.ac.
13155 * config.h.in: Likewise.
13156 * manual/install.texi: Likewise.
13157 * manual/maint.texi: Likewise.
13158 * Makefile: Likewise.
13159 * malloc/Makefile: Likewise.
13160 * nscd/Makefile: Likewise.
13161 * Makeconfig: Change reference to configure.in and
13162 preconfigure.in to configure.ac and preconfigure.ac
13164 * INSTALL: Regenerated.
13165 * configure: Likewise.
13166 * sysdeps/gnu/configure: Likewise.
13167 * sysdeps/i386/configure: Likewise.
13168 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13169 * sysdeps/mach/configure: Likewise.
13170 * sysdeps/mach/hurd/configure: Likewise.
13171 * sysdeps/powerpc/configure: Likewise.
13172 * sysdeps/powerpc/powerpc32/configure: Likewise.
13173 * sysdeps/powerpc/powerpc64/configure: Likewise.
13174 * sysdeps/s390/s390-32/configure: Likewise.
13175 * sysdeps/s390/s390-64/configure: Likewise.
13176 * sysdeps/sh/configure: Likewise.
13177 * sysdeps/sparc/configure: Likewise.
13178 * sysdeps/unix/sysv/linux/configure: Likewise.
13179 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13180 * sysdeps/x86_64/configure: Likewise.
13181 * sysdeps/x86_64/preconfigure: Likewise.
13183 2013-10-29 Andreas Schwab <schwab@suse.de>
13185 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13187 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13189 * benchtests/pow-inputs: Add new inputs.
13191 * benchtests/exp-inputs: Add new inputs.
13193 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13194 conditional check for return value.
13195 (__cos32): Likewise.
13197 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13199 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13200 to provide a boost for large inputs with word alignment.
13201 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13202 implementation based on optimized PPC64 strcpy.
13203 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13204 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13205 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13206 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13208 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13211 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13213 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13216 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13217 * time/tst-strptime.c (day_tests): Add testcase.
13219 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13222 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13224 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13227 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13228 MAP_FAILED on error.
13230 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13233 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13234 heap for large requests.
13236 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13239 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13240 result if the result has no associated interface.
13241 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13242 interface for all 127.X.Y.Z addresses.
13244 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13246 * locale/iso-639.def: Add Ligurian (lij)
13248 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13251 * sunrpc/rpc_main.c: Document rpcgen -5.
13253 2013-10-19 Michael Stahl <mstahl@redhat.com>
13255 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13257 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13260 * posix/glob.c: Match only directories when trailing slash is present.
13261 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13262 (main): Add testcase.
13264 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13267 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13269 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13271 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13272 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13273 AUTH_DES and cindex for FIPS 140-2.
13274 (DES Encryption): Add cindex FIPS 46-3.
13276 * locale/locarchive.h (struct locarhandle): Add fname.
13277 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13278 if an optional argument was specified to --list-archive,
13280 * locale/programs/locarchive.c (show_archive_content): Take new
13281 argument fname and pass it via ah.fname to open_archive.
13282 * locale/programs/localedef.h: Update decl.
13283 (open_archive): If AH->fname is non-null, open that file
13284 rather than the default file name, and don't ignore ENOENT.
13285 (create_archive): Set AH.fname to NULL.
13286 (delete_locales_from_archive): Likewise.
13287 (add_locales_to_archive): Likewise.
13288 * locale/programs/locfile.c (write_all_categories): Likewise.
13290 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13291 Aldy Hernandez <aldyh@redhat.com>
13293 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13294 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13295 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13296 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13297 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13298 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13299 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13300 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13301 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13302 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13303 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13304 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13305 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13306 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13307 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13309 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13311 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13313 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13315 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13316 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13318 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13319 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13320 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13321 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13323 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13324 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13325 * sysdeps/powerpc/preconfigure: Likewise.
13326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13328 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13329 Replace contents of file by #include of <fenv_libc.h>.
13330 * sysdeps/powerpc/soft-fp/sfp-machine.h
13331 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13333 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13334 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13335 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13336 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13337 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13338 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13340 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13341 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13342 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13343 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13344 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13346 Allow copysignl PLT reference to be missing.
13348 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13349 Joseph Myers <joseph@codesourcery.com
13352 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13354 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13356 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13358 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13359 * elf/tst-tls1.c: Likewise.
13360 * elf/tst-tls10.h: Likewise.
13361 * elf/tst-tls14.c: Likewise.
13362 * elf/tst-tls2.c: Likewise.
13363 * elf/tst-tls3.c: Likewise.
13364 * elf/tst-tls4.c: Likewise.
13365 * elf/tst-tls5.c: Likewise.
13366 * elf/tst-tls6.c: Likewise.
13367 * elf/tst-tls7.c: Likewise.
13368 * elf/tst-tls8.c: Likewise.
13369 * elf/tst-tls9.c: Likewise.
13370 * elf/tst-tlsmod1.c: Likewise.
13371 * elf/tst-tlsmod13.c: Likewise.
13372 * elf/tst-tlsmod13a.c: Likewise.
13373 * elf/tst-tlsmod14a.c: Likewise.
13374 * elf/tst-tlsmod16a.c: Likewise.
13375 * elf/tst-tlsmod16b.c: Likewise.
13376 * elf/tst-tlsmod2.c: Likewise.
13377 * elf/tst-tlsmod3.c: Likewise.
13378 * elf/tst-tlsmod4.c: Likewise.
13379 * elf/tst-tlsmod5.c: Likewise.
13380 * elf/tst-tlsmod6.c: Likewise.
13382 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13385 * malloc/malloc.c: remove checks for statistics.
13387 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13390 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13391 * inet/tst-network.c: Add testcase.
13393 2013-10-17 Andreas Schwab <schwab@suse.de>
13396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13397 to determine canonical name.
13399 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13401 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13402 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13403 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13404 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13406 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13407 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13408 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13409 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13410 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13411 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13412 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13413 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13414 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13415 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13416 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13418 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13419 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13420 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13421 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13423 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13424 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13425 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13426 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13427 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13428 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13429 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13431 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13432 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13433 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13434 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13436 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13438 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13440 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13442 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13443 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13444 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13446 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13447 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13449 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13450 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13451 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13452 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13453 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13454 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13455 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13456 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13458 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13460 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13463 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13464 make result into a quiet NaN.
13466 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13468 * soft-fp/adddf3.c: Fix horizontal whitespace.
13469 * soft-fp/addsf3.c: Likewise.
13470 * soft-fp/addtf3.c: Likewise.
13471 * soft-fp/divdf3.c: Likewise.
13472 * soft-fp/divsf3.c: Likewise.
13473 * soft-fp/divtf3.c: Likewise.
13474 * soft-fp/double.h: Likewise.
13475 * soft-fp/eqdf2.c: Likewise.
13476 * soft-fp/eqsf2.c: Likewise.
13477 * soft-fp/eqtf2.c: Likewise.
13478 * soft-fp/extenddftf2.c: Likewise.
13479 * soft-fp/extended.h: Likewise.
13480 * soft-fp/extendsfdf2.c: Likewise.
13481 * soft-fp/extendsftf2.c: Likewise.
13482 * soft-fp/extendxftf2.c: Likewise.
13483 * soft-fp/fixdfdi.c: Likewise.
13484 * soft-fp/fixdfsi.c: Likewise.
13485 * soft-fp/fixdfti.c: Likewise.
13486 * soft-fp/fixsfdi.c: Likewise.
13487 * soft-fp/fixsfsi.c: Likewise.
13488 * soft-fp/fixsfti.c: Likewise.
13489 * soft-fp/fixtfdi.c: Likewise.
13490 * soft-fp/fixtfsi.c: Likewise.
13491 * soft-fp/fixtfti.c: Likewise.
13492 * soft-fp/fixunsdfdi.c: Likewise.
13493 * soft-fp/fixunsdfsi.c: Likewise.
13494 * soft-fp/fixunsdfti.c: Likewise.
13495 * soft-fp/fixunssfdi.c: Likewise.
13496 * soft-fp/fixunssfsi.c: Likewise.
13497 * soft-fp/fixunssfti.c: Likewise.
13498 * soft-fp/fixunstfdi.c: Likewise.
13499 * soft-fp/fixunstfsi.c: Likewise.
13500 * soft-fp/fixunstfti.c: Likewise.
13501 * soft-fp/floatdidf.c: Likewise.
13502 * soft-fp/floatdisf.c: Likewise.
13503 * soft-fp/floatditf.c: Likewise.
13504 * soft-fp/floatsidf.c: Likewise.
13505 * soft-fp/floatsisf.c: Likewise.
13506 * soft-fp/floatsitf.c: Likewise.
13507 * soft-fp/floattidf.c: Likewise.
13508 * soft-fp/floattisf.c: Likewise.
13509 * soft-fp/floattitf.c: Likewise.
13510 * soft-fp/floatundidf.c: Likewise.
13511 * soft-fp/floatundisf.c: Likewise.
13512 * soft-fp/floatunditf.c: Likewise.
13513 * soft-fp/floatunsidf.c: Likewise.
13514 * soft-fp/floatunsisf.c: Likewise.
13515 * soft-fp/floatunsitf.c: Likewise.
13516 * soft-fp/floatuntidf.c: Likewise.
13517 * soft-fp/floatuntisf.c: Likewise.
13518 * soft-fp/floatuntitf.c: Likewise.
13519 * soft-fp/fmadf4.c: Likewise.
13520 * soft-fp/fmasf4.c: Likewise.
13521 * soft-fp/fmatf4.c: Likewise.
13522 * soft-fp/gedf2.c: Likewise.
13523 * soft-fp/gesf2.c: Likewise.
13524 * soft-fp/getf2.c: Likewise.
13525 * soft-fp/ledf2.c: Likewise.
13526 * soft-fp/lesf2.c: Likewise.
13527 * soft-fp/letf2.c: Likewise.
13528 * soft-fp/muldf3.c: Likewise.
13529 * soft-fp/mulsf3.c: Likewise.
13530 * soft-fp/multf3.c: Likewise.
13531 * soft-fp/negdf2.c: Likewise.
13532 * soft-fp/negsf2.c: Likewise.
13533 * soft-fp/negtf2.c: Likewise.
13534 * soft-fp/op-1.h: Likewise.
13535 * soft-fp/op-2.h: Likewise.
13536 * soft-fp/op-4.h: Likewise.
13537 * soft-fp/op-8.h: Likewise.
13538 * soft-fp/op-common.h: Likewise.
13539 * soft-fp/quad.h: Likewise.
13540 * soft-fp/single.h: Likewise.
13541 * soft-fp/soft-fp.h: Likewise.
13542 * soft-fp/sqrtdf2.c: Likewise.
13543 * soft-fp/sqrtsf2.c: Likewise.
13544 * soft-fp/sqrttf2.c: Likewise.
13545 * soft-fp/subdf3.c: Likewise.
13546 * soft-fp/subsf3.c: Likewise.
13547 * soft-fp/subtf3.c: Likewise.
13548 * soft-fp/truncdfsf2.c: Likewise.
13549 * soft-fp/trunctfdf2.c: Likewise.
13550 * soft-fp/trunctfsf2.c: Likewise.
13551 * soft-fp/trunctfxf2.c: Likewise.
13552 * soft-fp/unorddf2.c: Likewise.
13553 * soft-fp/unordsf2.c: Likewise.
13554 * soft-fp/unordtf2.c: Likewise.
13556 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13558 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13559 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13561 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13563 * elf/dl-libc.c: Clear initfini list after freeing.
13565 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13567 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13568 * soft-fp/addsf3.c: Likewise.
13569 * soft-fp/addtf3.c: Likewise.
13570 * soft-fp/divdf3.c: Likewise.
13571 * soft-fp/divsf3.c: Likewise.
13572 * soft-fp/divtf3.c: Likewise.
13573 * soft-fp/double.h: Likewise.
13574 * soft-fp/eqdf2.c: Likewise.
13575 * soft-fp/eqsf2.c: Likewise.
13576 * soft-fp/eqtf2.c: Likewise.
13577 * soft-fp/extenddftf2.c: Likewise.
13578 * soft-fp/extended.h: Likewise.
13579 * soft-fp/extendsfdf2.c: Likewise.
13580 * soft-fp/extendsftf2.c: Likewise.
13581 * soft-fp/extendxftf2.c: Likewise.
13582 * soft-fp/fixdfdi.c: Likewise.
13583 * soft-fp/fixdfsi.c: Likewise.
13584 * soft-fp/fixdfti.c: Likewise.
13585 * soft-fp/fixsfdi.c: Likewise.
13586 * soft-fp/fixsfsi.c: Likewise.
13587 * soft-fp/fixsfti.c: Likewise.
13588 * soft-fp/fixtfdi.c: Likewise.
13589 * soft-fp/fixtfsi.c: Likewise.
13590 * soft-fp/fixtfti.c: Likewise.
13591 * soft-fp/fixunsdfdi.c: Likewise.
13592 * soft-fp/fixunsdfsi.c: Likewise.
13593 * soft-fp/fixunsdfti.c: Likewise.
13594 * soft-fp/fixunssfdi.c: Likewise.
13595 * soft-fp/fixunssfsi.c: Likewise.
13596 * soft-fp/fixunssfti.c: Likewise.
13597 * soft-fp/fixunstfdi.c: Likewise.
13598 * soft-fp/fixunstfsi.c: Likewise.
13599 * soft-fp/fixunstfti.c: Likewise.
13600 * soft-fp/floatdidf.c: Likewise.
13601 * soft-fp/floatdisf.c: Likewise.
13602 * soft-fp/floatditf.c: Likewise.
13603 * soft-fp/floatsidf.c: Likewise.
13604 * soft-fp/floatsisf.c: Likewise.
13605 * soft-fp/floatsitf.c: Likewise.
13606 * soft-fp/floattidf.c: Likewise.
13607 * soft-fp/floattisf.c: Likewise.
13608 * soft-fp/floattitf.c: Likewise.
13609 * soft-fp/floatundidf.c: Likewise.
13610 * soft-fp/floatundisf.c: Likewise.
13611 * soft-fp/floatunsidf.c: Likewise.
13612 * soft-fp/floatunsisf.c: Likewise.
13613 * soft-fp/floatuntidf.c: Likewise.
13614 * soft-fp/floatuntisf.c: Likewise.
13615 * soft-fp/floatuntitf.c: Likewise.
13616 * soft-fp/fmadf4.c: Likewise.
13617 * soft-fp/fmasf4.c: Likewise.
13618 * soft-fp/fmatf4.c: Likewise.
13619 * soft-fp/gedf2.c: Likewise.
13620 * soft-fp/gesf2.c: Likewise.
13621 * soft-fp/getf2.c: Likewise.
13622 * soft-fp/ledf2.c: Likewise.
13623 * soft-fp/lesf2.c: Likewise.
13624 * soft-fp/letf2.c: Likewise.
13625 * soft-fp/muldf3.c: Likewise.
13626 * soft-fp/mulsf3.c: Likewise.
13627 * soft-fp/multf3.c: Likewise.
13628 * soft-fp/negdf2.c: Likewise.
13629 * soft-fp/negsf2.c: Likewise.
13630 * soft-fp/negtf2.c: Likewise.
13631 * soft-fp/op-1.h: Likewise.
13632 * soft-fp/op-2.h: Likewise.
13633 * soft-fp/op-4.h: Likewise.
13634 * soft-fp/op-8.h: Likewise.
13635 * soft-fp/op-common.h: Likewise.
13636 * soft-fp/quad.h: Likewise.
13637 * soft-fp/single.h: Likewise.
13638 * soft-fp/soft-fp.h: Likewise.
13639 * soft-fp/sqrtdf2.c: Likewise.
13640 * soft-fp/sqrtsf2.c: Likewise.
13641 * soft-fp/sqrttf2.c: Likewise.
13642 * soft-fp/subdf3.c: Likewise.
13643 * soft-fp/subsf3.c: Likewise.
13644 * soft-fp/subtf3.c: Likewise.
13645 * soft-fp/truncdfsf2.c: Likewise.
13646 * soft-fp/trunctfdf2.c: Likewise.
13647 * soft-fp/trunctfsf2.c: Likewise.
13648 * soft-fp/trunctfxf2.c: Likewise.
13649 * soft-fp/unorddf2.c: Likewise.
13650 * soft-fp/unordsf2.c: Likewise.
13651 * soft-fp/unordtf2.c: Likewise.
13653 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13656 * misc/error.c (error_tail): Fix possible buffer overflow.
13658 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13661 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13664 2013-10-14 P. J. McDermott <pj@pehjota.net>
13667 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13668 testing pipefail option.
13670 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13672 * soft-fp/double.h: Indent preprocessor directives inside #if.
13673 * soft-fp/extended.h: Likewise.
13674 * soft-fp/op-2.h: Likewise.
13675 * soft-fp/op-4.h: Likewise.
13676 * soft-fp/op-common.h: Likewise.
13677 * soft-fp/quad.h: Likewise.
13678 * soft-fp/single.h: Likewise.
13679 * soft-fp/soft-fp.h: Likewise.
13681 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13683 * iconv/iconv_prog.c: Fix typos.
13684 * stdio-common/psiginfo-data.h: Likewise.
13686 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13689 * locale/setlocale.c: Fix typo.
13691 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13694 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13695 signaling NaN arguments.
13696 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13697 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13700 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13701 unordered operands.
13702 * soft-fp/gesf2.c (__gesf2): Likewise.
13703 * soft-fp/getf2.c (__getf2): Likewise.
13704 * soft-fp/ledf2.c (__ledf2): Likewise.
13705 * soft-fp/lesf2.c (__lesf2): Likewise.
13706 * soft-fp/letf2.c (__letf2): Likewise.
13708 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13709 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13710 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13711 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13712 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13713 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13714 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13715 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13716 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13717 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13718 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13719 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13720 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13721 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13722 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13723 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13724 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13725 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13726 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13727 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13728 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13729 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13730 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13731 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13732 * soft-fp/floattidf.c (__floattidf): Likewise.
13733 * soft-fp/floattisf.c (__floattisf): Likewise.
13734 * soft-fp/floattitf.c (__floattitf): Likewise.
13735 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13736 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13737 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13738 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13739 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13740 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13741 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13742 * soft-fp/gesf2.c (__gesf2): Likewise.
13743 * soft-fp/getf2.c (__getf2): Likewise.
13744 * soft-fp/ledf2.c (__ledf2): Likewise.
13745 * soft-fp/lesf2.c (__lesf2): Likewise.
13746 * soft-fp/letf2.c (__letf2): Likewise.
13748 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13749 Undefine and redefine.
13750 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13751 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13752 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13753 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13754 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13755 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13756 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13757 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13758 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13759 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13760 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13761 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13762 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13763 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13764 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13767 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13768 without decrementing exponent if mantissa >= that for the
13769 denominator, not >.
13770 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13771 denominator, not >. Decrement exponent in < case instead of
13772 incrementing in >= case.
13773 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13774 without decrementing exponent if mantissa >= that for the
13775 denominator, not >.
13777 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13778 computing saturated result for unsigned overflow.
13780 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13781 Jeff Law <law@redhat.com>
13783 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13784 (atan2Mp): Add systemtap probe marker.
13785 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13786 (__ieee754_log): Add systemtap probe marker.
13787 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13788 (atanMp): Add systemtap probe marker.
13789 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13790 (tanMp): Add systemtap probe marker.
13791 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13792 (__slowexp): Add systemtap probe marker.
13793 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13794 (__slowpow): Add systemtap probe marker.
13795 * manual/probes.texi: Document probes.
13797 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13800 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13802 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13804 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13805 written to buffer but not flushed.
13806 * libio/iofwrite_u.c: Likewise.
13807 * libio/iopadn.c: Return bytes returned even if EOF was
13809 * libio/iowpadn.c: Likewise.
13810 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13811 if _IO_padn does not write the whole buffer.
13812 [!COMPILE_WPRINTF] (PAD): Likewise.
13814 2013-10-10 David S. Miller <davem@davemloft.net>
13816 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13819 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13821 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13822 instead of FSF address.
13823 * soft-fp/fixdfti.c: Likewise.
13824 * soft-fp/fixsfti.c: Likewise.
13825 * soft-fp/fixtfti.c: Likewise.
13826 * soft-fp/fixunsdfti.c: Likewise.
13827 * soft-fp/fixunssfti.c: Likewise.
13828 * soft-fp/fixunstfti.c: Likewise.
13829 * soft-fp/floattidf.c: Likewise.
13830 * soft-fp/floattisf.c: Likewise.
13831 * soft-fp/floattitf.c: Likewise.
13832 * soft-fp/floatuntidf.c: Likewise.
13833 * soft-fp/floatuntisf.c: Likewise.
13834 * soft-fp/floatuntitf.c: Likewise.
13835 * soft-fp/trunctfxf2.c: Likewise.
13837 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13838 * soft-fp/fixdfti.c: Likewise.
13839 * soft-fp/fixsfti.c: Likewise.
13840 * soft-fp/fixtfti.c: Likewise.
13841 * soft-fp/fixunsdfti.c: Likewise.
13842 * soft-fp/fixunssfti.c: Likewise.
13843 * soft-fp/fixunstfti.c: Likewise.
13844 * soft-fp/floattidf.c: Likewise.
13845 * soft-fp/floattisf.c: Likewise.
13846 * soft-fp/floattitf.c: Likewise.
13847 * soft-fp/floatuntidf.c: Likewise.
13848 * soft-fp/floatuntisf.c: Likewise.
13849 * soft-fp/floatuntitf.c: Likewise.
13850 * soft-fp/trunctfxf2.c: Likewise.
13852 2013-10-10 David S. Miller <davem@davemloft.net>
13854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13856 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13858 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13859 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13860 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13861 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13862 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13863 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13864 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13867 for NaNs before doing comparisons on argument.
13868 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13871 2013-10-10 Will Newton <will.newton@linaro.org>
13873 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13874 passed to _int_memalign does not overflow.
13876 2013-10-10 Torvald Riegel <triegel@redhat.com>
13878 * scripts/bench.pl: Add include-sources directive.
13879 * benchtests/README: Update documentation.
13881 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13883 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13884 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13885 instead of FP_INIT_ROUNDMODE.
13886 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13887 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13890 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13891 copy class of input value.
13892 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13893 not handle exceptions.
13894 * soft-fp/negsf2.c (__negsf2): Likewise.
13895 * soft-fp/negtf2.c (__negtf2): Likewise.
13896 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13898 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13900 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13901 semicolon. From Linux kernel.
13903 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13905 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13907 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13910 * manual/socket.texi: Added statement about buffer
13911 for gethostbyname2_r.
13913 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13915 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13916 Use .p2align directive instead, throughout.
13917 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13918 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13919 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13920 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13921 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13922 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13923 * sysdeps/x86_64/strchr.S: Likewise.
13924 * sysdeps/x86_64/strrchr.S: Likewise.
13926 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13928 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13930 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13932 * sysdeps/generic/math_private.h (__mpsin1): Remove
13934 (__mpcos1): Likewise.
13935 (__mpsin): New argument __range_reduce.
13936 (__mpcos): Likewise.
13937 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13938 (slow): Use __mpsin and __mpcos.
13942 (sloww1): Likewise.
13943 (sloww2): Likewise.
13944 (bsloww): Likewise.
13945 (bsloww1): Likewise.
13946 (bsloww2): Likewise.
13947 (cslow2): Likewise.
13948 (csloww): Likewise.
13949 (csloww1): Likewise.
13950 (csloww2): Likewise.
13951 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13952 range_reduce. Merge in __mpsin1.
13953 (__mpcos): Likewise.
13954 (__mpsin1): Remove.
13955 (__mpcos1): Likewise.
13957 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13959 * locale/loadlocale.c (_nl_intern_locale_data): Use
13961 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13962 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13963 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13964 obstack data is appropriately aligned.
13965 (obstack_int32_grow_fast): Likewise.
13966 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13967 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13968 (add_locale_uint32_array): Likewise.
13970 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13972 * benchtests/Makefile: Remove ARGLIST and RET variables.
13973 ($(objpfx)bench-%.c): Pass only function name to the script.
13974 * benchtests/README: Update documentation.
13975 * benchtests/acos-inputs: Add new directives.
13976 * benchtests/acosh-inputs: Likewise.
13977 * benchtests/asin-inputs: Likewise.
13978 * benchtests/asinh-inputs: Likewise.
13979 * benchtests/atan-inputs: Likewise.
13980 * benchtests/atanh-inputs: Likewise.
13981 * benchtests/cos-inputs: Likewise.
13982 * benchtests/cosh-inputs: Likewise.
13983 * benchtests/exp-inputs: Likewise.
13984 * benchtests/log-inputs: Likewise.
13985 * benchtests/pow-inputs: Likewise.
13986 * benchtests/rint-inputs: Likewise.
13987 * benchtests/sin-inputs: Likewise.
13988 * benchtests/sinh-inputs: Likewise.
13989 * benchtests/tan-inputs: Likewise.
13990 * benchtests/tanh-inputs: Likewise.
13991 * scripts/bench.pl: Add support for new directives.
13993 2013-10-07 Alan Modra <amodra@gmail.com>
13995 * README: Fix careless merge.
13997 2013-10-05 Alan Modra <amodra@gmail.com>
13999 * NEWS: Mention powerpc64le support and bugs fixed.
14000 * README: Both big-endian and little-endian powerpc64 supported.
14002 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14004 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14005 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14006 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14007 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14009 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14011 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14014 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14016 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14017 Move -mhard-float appending from
14018 ports/sysdeps/powerpc/powerpc32/Makefile.
14019 [$(with-fp) = yes] (ASFLAGS): Likewise.
14020 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14021 * sysdeps/powerpc/nofpu: Move directory from
14022 ports/sysdeps/powerpc/nofpu.
14023 * sysdeps/powerpc/soft-fp: Move directory from
14024 ports/sysdeps/powerpc/soft-fp.
14025 * sysdeps/powerpc/powerpc32/405: Move directory from
14026 ports/sysdeps/powerpc/powerpc32/405.
14027 * sysdeps/powerpc/powerpc32/440: Move directory from
14028 ports/sysdeps/powerpc/powerpc32/440.
14029 * sysdeps/powerpc/powerpc32/464: Move directory from
14030 ports/sysdeps/powerpc/powerpc32/464.
14031 * sysdeps/powerpc/powerpc32/476: Move directory from
14032 ports/sysdeps/powerpc/powerpc32/476.
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14034 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14036 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14038 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14040 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14042 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14043 * README: Update for powerpc-*-linux-gnu software floating point
14046 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14047 case to powerpc/powerpc32*.
14048 * sysdeps/unix/sysv/linux/configure: Regenerated.
14050 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14051 (_FPU_MASK_OM): Define as 0x04.
14052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14057 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14060 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14063 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14066 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14067 and setcontext_e500.
14069 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14071 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14073 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14075 * manual/threads.texi (Default Thread Attributes): Fix typo.
14077 2013-10-04 Will Newton <will.newton@linaro.org>
14079 * malloc/Makefile: Add tst-memalign.
14080 * malloc/tst-memalign.c: New file.
14082 * malloc/tst-posix_memalign.c: Add comments.
14083 (do_test): Add comments and call free on all potentially
14084 allocated pointers. Add space after cast.
14086 * malloc/tst-pvalloc.c: Add comments.
14087 (do_test): Add comments and call free on all potentially
14088 allocated pointers. Remove duplicate check for NULL pointer.
14089 Add space after cast.
14091 * malloc/tst-valloc.c: Add comments.
14092 (do_test): Add comments and call free on all potentially
14093 allocated pointers. Remove duplicate check for NULL pointer.
14094 Add space after cast.
14096 2013-10-04 Alan Modra <amodra@gmail.com>
14098 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14099 Use stdint types in rather than __attribute__((mode())).
14100 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14102 2013-10-04 Alan Modra <amodra@gmail.com>
14104 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14105 Correct handling of unaligned relocs for little-endian.
14106 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14108 2013-10-04 Alan Modra <amodra@gmail.com>
14110 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14111 * configure: Regenerate.
14112 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14113 * shlib-versions: Likewise.
14115 2013-10-04 Alan Modra <amodra@gmail.com>
14117 * string/tester.c (test_memrchr): Increment reported test cycle.
14119 2013-10-04 Alan Modra <amodra@gmail.com>
14121 * string/test-memcpy.c (do_one_test): When reporting errors, print
14122 string address and don't overrun end of string.
14124 2013-10-04 Alan Modra <amodra@gmail.com>
14126 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14127 insrdi. Make better use of reg selection to speed exit slightly.
14128 Schedule entry path a little better. Remove useless "are we done"
14129 checks on entry to main loop. Handle wrapping around zero address.
14130 Correct main loop count. Handle single left-over word from main
14131 loop inline rather than by using loop_small. Remove extra word
14132 case in loop_small caused by wrong loop count. Add little-endian
14134 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14135 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14137 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14138 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14139 support. Avoid rlwimi.
14140 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14142 2013-10-04 Alan Modra <amodra@gmail.com>
14144 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14145 insrdi. Formatting.
14146 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14147 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14148 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14149 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14150 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14151 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14153 2013-10-04 Alan Modra <amodra@gmail.com>
14155 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14156 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14157 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14158 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14159 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14160 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14161 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14162 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14163 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14164 use of regs. Use power7 mtocrf. Tidy function tails.
14166 2013-10-04 Alan Modra <amodra@gmail.com>
14168 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14169 Formatting. Consistently use rXXX register defines or rN defines.
14170 Use early exit labels that avoid restoring unused non-volatile regs.
14171 Make cr field use more consistent with rWORDn compares. Rename
14172 regs used as shift registers for unaligned loop, using rN defines
14173 for short lifetime/multiple use regs.
14174 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14175 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14176 addi 1,1,64 to pop stack frame. Simplify return value code.
14177 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14179 2013-10-04 Alan Modra <amodra@gmail.com>
14181 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14182 support. Correct typos, formatting. Optimize tail. Use insrdi
14183 rather than rlwimi.
14184 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14185 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14186 little-endian support. Correct typos.
14187 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14188 rather than rlwimi.
14189 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14190 in loop and entry code to keep "and." results.
14191 (strchr): Add little-endian support. Comment. Move cntlzd
14193 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14195 2013-10-04 Alan Modra <amodra@gmail.com>
14197 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14198 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14199 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14200 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14202 2013-10-04 Alan Modra <amodra@gmail.com>
14204 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14205 (rTMP): Define as r11.
14206 (strcmp): Add little-endian support. Optimise tail.
14207 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14208 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14209 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14210 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14211 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14212 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14215 2013-10-04 Alan Modra <amodra@gmail.com>
14217 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14218 little-endian support. Remove unnecessary "are we done" tests.
14219 Handle "s" wrapping around zero and extremely large "size".
14220 Correct main loop count. Handle single left-over word from main
14221 loop inline rather than by using small_loop. Correct comments.
14222 Delete "zero" tail, use "end_max" instead.
14223 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14225 2013-10-04 Alan Modra <amodra@gmail.com>
14227 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14228 support. Don't branch over align.
14229 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14230 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14231 support. Rearrange tmp reg use to suit. Comment.
14232 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14234 2013-10-04 Alan Modra <amodra@gmail.com>
14236 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14238 2013-10-04 Alan Modra <amodra@gmail.com>
14240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14241 conditional form of branch and link when obtaining pc.
14242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14244 2013-10-04 Alan Modra <amodra@gmail.com>
14246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14251 2013-10-04 Alan Modra <amodra@gmail.com>
14253 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14254 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14255 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14256 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14257 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14258 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14259 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14260 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14261 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14262 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14264 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14265 Alistair Popple <alistair@ozlabs.au.ibm.com>
14266 Alan Modra <amodra@gmail.com>
14269 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14270 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14271 _dl_hwcap access for little-endian.
14272 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14273 destroy vmx regs when saving unaligned.
14274 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14275 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14276 destroy vmx regs when saving unaligned.
14278 2013-10-04 Alan Modra <amodra@gmail.com>
14280 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14281 Don't use a union to pack hi/low value.
14283 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14285 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14287 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14289 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14290 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14291 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14293 2013-10-04 Alan Modra <amodra@gmail.com>
14295 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14296 constants to usual value for .cst8 section, and remove redundant
14298 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14299 constant for 0x1p52. Load little-endian words of double from
14300 correct stack offsets.
14302 2013-10-04 Alan Modra <amodra@gmail.com>
14304 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14305 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14306 words of double from correct stack offsets.
14307 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14308 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14309 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14310 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14311 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14312 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14313 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14314 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14315 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14316 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14317 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14318 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14319 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14320 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14321 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14322 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14323 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14325 2013-10-04 Alan Modra <amodra@gmail.com>
14327 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14328 64-bit int/double union.
14329 (_FPU_SETCW): Likewise.
14330 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14331 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14333 2013-10-04 Alan Modra <amodra@gmail.com>
14335 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14336 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14338 2013-10-04 Alan Modra <amodra@gmail.com>
14340 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14341 use vector int constants.
14342 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14344 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14346 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14347 array with long long.
14348 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14349 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14350 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14351 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14352 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14353 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14354 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14355 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14356 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14357 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14358 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14359 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14360 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14362 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14364 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14365 (__signbit): Likewise. Correct for little-endian.
14366 (__signbitl): Call __signbit.
14367 (lrint): Correct for little-endian.
14368 (lrintf): Call lrint.
14370 2013-10-04 Alan Modra <amodra@gmail.com>
14372 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14373 union 32-bit int array member with 64-bit int array.
14374 (t515, tm256): Double rather than long double.
14375 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14377 2013-10-04 Alan Modra <amodra@gmail.com>
14379 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14381 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14382 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14383 version of math_ldbl.h.
14385 2013-10-04 Alan Modra <amodra@gmail.com>
14387 [BZ #15734], [BZ #15735]
14388 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14389 all uses of ieee875 long double macros and unions. Simplify test
14390 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14391 ldbl_extract_mantissa value for ix,iy exponents. Properly
14392 normalize after ldbl_extract_mantissa, and don't add hidden bit
14393 already handled. Don't treat low word of ieee854 mantissa like
14394 low word of IBM long double and mask off bit when testing for
14396 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14397 all uses of ieee875 long double macros and unions. Simplify tests
14398 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14399 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14400 two1022, instead use their values. Recognise that tests for large
14401 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14402 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14403 Rewrite all uses of ieee875 long double macros and unions. Simplify
14404 test for 0.0L and nan. Correct negation.
14405 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14406 ieee875 long double macros and unions. Correct output for large
14407 magnitude x. Correct absolute value calculation.
14408 (__erfcl): Likewise.
14409 * math/libm-test.inc: Add tests for errors discovered in IBM long
14410 double versions of fmodl, remainderl, erfl and erfcl.
14412 2013-10-04 Alan Modra <amodra@gmail.com>
14414 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14415 all uses of ieee854 long double macros and unions. Simplify tests
14416 for long doubles that are fully specified by the high double.
14417 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14419 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14420 Remove dead code too.
14421 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14422 (__ieee754_ynl): Likewise.
14423 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14424 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14425 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14426 Remove dead code too.
14427 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14428 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14429 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14430 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14432 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14434 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14435 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14436 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14437 Comment on variable precision.
14438 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14439 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14441 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14442 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14443 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14444 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14445 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14447 2013-10-04 Alan Modra <amodra@gmail.com>
14449 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14450 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14451 all uses of ieee854 long double macros and unions.
14452 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14453 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14454 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14455 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14456 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14457 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14459 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14460 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14461 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14462 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14463 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14464 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14465 Simplify sign and nan test too.
14466 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14467 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14468 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14469 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14471 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14472 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14474 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14475 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14476 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14477 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14478 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14481 2013-10-04 Alan Modra <amodra@gmail.com>
14483 * stdio-common/printf_size.c (__printf_size): Don't use
14484 union ieee854_long_double in fpnum union.
14485 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14486 signbit macro to retrieve sign from long double.
14487 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14488 retrieve sign from long double.
14489 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14490 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14491 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14492 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14493 * math/test-misc.c (main): Don't use union ieee854_long_double.
14495 2013-10-04 Alan Modra <amodra@gmail.com>
14498 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14499 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14500 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14501 calculation. Remove unnecessary test for denormal exponent.
14502 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14503 Correct handling of denormals. Avoid undefined shift behaviour.
14504 Correct normalisation of low mantissa when low double is denormal.
14505 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14506 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14507 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14508 Correct normalisation of low mantissa. Test for overflow of high
14509 mantissa and normalise.
14510 (ldbl_nearbyint): Use more readable constant for two52.
14511 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14512 (__mpn_construct_long_double): Fix test for overflow of high
14513 mantissa and correct normalisation. Avoid undefined shift.
14515 2013-10-04 Alan Modra <amodra@gmail.com>
14517 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14518 (union ibm_extended_long_double): Define as an array of ieee754_double.
14519 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14520 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14521 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14522 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14523 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14524 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14525 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14526 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14527 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14528 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14529 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14531 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14533 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14534 page size instead of calling getpagesize.
14536 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14537 (LOCFILE_ALIGN_MASK): Likewise.
14538 (LOCFILE_ALIGN_UP): Likewise.
14539 (LOCFILE_ALIGNED_P): Likewise.
14540 * locale/programs/ld-collate.c (collate_output): Use the new
14541 macros instead of __alignof__ (int32_t).
14542 * locale/weight.h (findidx): Likewise.
14544 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14547 * manual/string.texi: Fix strncat and wcsncat.
14549 2013-10-03 Brooks Moses <bmoses@google.com>
14552 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14553 * Makerules: ...here, and adjust associated comments.
14555 2013-10-02 Will Newton <will.newton@linaro.org>
14557 * malloc/Makefile: Add tst-pvalloc.
14558 * malloc/tst-pvalloc.c: New file.
14560 2013-10-02 Will Newton <will.newton@linaro.org>
14562 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14563 improve test coverage.
14565 2013-10-02 Will Newton <will.newton@linaro.org>
14567 * malloc/Makefile: Add tst-posix_memalign.
14568 * malloc/tst-posix_memalign.c: New file.
14570 2013-10-01 Eric Blake <eblake@redhat.com>
14572 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14573 Use __THROWNL rather than __THROW on static functions.
14575 2013-09-30 Petr Machata <pmachata@redhat.com>
14577 * elf/elf.h (R_AARCH64_ABS16): New macro.
14578 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14579 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14580 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14581 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14582 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14583 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14584 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14585 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14586 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14587 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14588 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14589 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14590 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14591 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14592 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14593 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14594 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14595 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14596 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14597 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14598 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14599 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14600 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14601 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14602 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14603 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14604 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14605 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14606 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14607 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14608 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14609 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14610 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14611 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14612 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14613 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14614 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14615 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14616 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14617 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14618 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14619 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14620 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14621 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14622 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14623 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14624 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14625 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14626 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14627 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14628 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14629 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14630 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14631 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14632 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14633 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14634 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14635 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14636 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14637 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14638 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14639 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14640 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14641 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14642 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14643 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14644 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14645 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14646 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14647 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14648 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14649 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14650 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14651 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14652 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14653 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14654 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14655 (R_AARCH64_TLSDESC_LDR): Likewise.
14656 (R_AARCH64_TLSDESC_ADD): Likewise.
14657 (R_AARCH64_TLSDESC_CALL): Likewise.
14659 2013-09-30 Andreas Schwab <schwab@suse.de>
14662 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14663 the nss database lookup.
14664 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14667 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14669 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14671 2013-09-28 P. J. McDermott <pj@pehjota.net>
14673 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14674 ${Bash-specific parameter/pattern/string} parameter expansion.
14675 * sysdeps/unix/make-syscalls.sh: Likewise.
14677 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14679 * sysdeps/sh/stackguard-macros.h: New file.
14681 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14685 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14686 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14687 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14688 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14690 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14692 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14693 Fix thread ID register.
14695 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14697 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14698 [POSIX || UNIX98]: Require rather than permitting all symbols from
14700 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14701 element of struct sched_param.
14702 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14703 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14704 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14705 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14708 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14710 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14711 argument calculation.
14713 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14715 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14717 [POSIX] (pthread_attr_t): Do not require type.
14718 [POSIX] (pthread_cond_t): Likewise.
14719 [POSIX] (pthread_condattr_t): Likewise.
14720 [POSIX] (pthread_key_t): Likewise.
14721 [POSIX] (pthread_mutex_t): Likewise.
14722 [POSIX] (pthread_mutexattr_t): Likewise.
14723 [POSIX] (pthread_once_t): Likewise.
14724 [POSIX] (pthread_t): Likewise.
14725 [POSIX-based standards] (pthread_atfork): Expect function.
14727 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14728 Richard Sandiford <richard@codesourcery.com>
14730 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14731 (swap_endianness_p): New extern variable.
14732 (set_big_endian): New inline function.
14733 (maybe_swap_uint32): Likewise.
14734 (maybe_swap_uint32_array): Likewise.
14735 (maybe_swap_uint32_obstack): Likewise.
14736 * locale/programs/locfile.c: Include <stdbool.h>.
14737 (swap_endianness_p): New variable.
14738 (add_locale_uint32): Call maybe_swap_uint32.
14739 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14740 (write_locale_data): Call maybe_swap_uint32_array.
14741 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14743 (obstack_int32_grow_fast): Likewise.
14744 (output_weightwc): Call maybe_swap_uint32_obstack.
14745 (collate_output): Likewise.
14746 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14747 (OPT_LITTLE_ENDIAN): Likewise.
14748 (options): Add --little-endian and --big-endian options.
14749 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14750 * locale/programs/locarchive.c: Include "locfile.h".
14754 (create_archive): Use the new macros to access fields of
14755 structures directly mapped from or written to locale archives.
14756 (oldlocrecentcmp): Likewise.
14757 (enlarge_archive): Likewise.
14758 (insert_name): Likewise.
14759 (add_alias): Likewise.
14760 (add_locale): Likewise.
14761 (delete_locales_from_archive): Likewise.
14762 (show_archive_content): Likewise.
14763 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14766 2013-09-24 Roland McGrath <roland@hack.frob.com>
14768 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14769 http://www.gnu.org/doc/freemanuals.texi.
14770 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14772 2013-09-24 Will Newton <will.newton@linaro.org>
14774 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14777 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14779 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14782 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14784 * manual/threads.texi (POSIX Threads): Fix a typo.
14786 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14789 * string/tst-strcoll-overflow.c: New test case.
14790 * string/Makefile (xtests): Add tst-strcoll-overflow.
14791 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14792 cache if string sizes may cause integer overflow.
14795 * string/strcoll_l.c (coll_seq): New members rule, idx,
14796 save_idx and back_us.
14797 (get_next_seq_nocache): New function.
14798 (do_compare_nocache): New function.
14799 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14802 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14805 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14806 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14807 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14810 * elf/Makefile (tests): Add tst-ptrguard1.
14811 (tests-static): Add tst-ptrguard1-static.
14812 (tst-ptrguard1-ARGS): Define.
14813 (tst-ptrguard1-static-ARGS): Define.
14814 * elf/tst-ptrguard1.c: New file.
14815 * elf/tst-ptrguard1-static.c: New file.
14816 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14817 * sysdeps/i386/stackguard-macros.h: Likewise.
14818 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14819 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14820 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14821 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14822 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14823 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14825 2013-09-23 Hector Marco <hecmargi@upv.es>
14826 Ismael Ripoll <iripoll@disca.upv.es>
14827 Carlos O'Donell <carlos@redhat.com>
14830 * sysdeps/generic/stackguard-macros.h: Define
14831 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14832 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14833 Define __pointer_chk_guard_local.
14834 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14835 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14837 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14840 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14842 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14844 * include/string.h (__ffs): Declare as hidden.
14845 * string/ffs.c (__ffs): Define as hidden.
14846 * sysdeps/i386/ffs.c (__ffs): Likewise.
14847 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14848 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14849 * sysdeps/s390/ffs.c (__ffs): Likewise.
14850 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14852 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14854 * NEWS: Mention malloc probes.
14856 * malloc/arena.c (new_heap): New memory_heap_new probe.
14857 (grow_heap): New memory_heap_more probe.
14858 (shrink_heap): New memory_heap_less probe.
14859 (heap_trim): New memory_heap_free probe.
14860 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14861 (systrim): New memory_sbrk_less probe.
14862 * manual/probes.texi: Document them.
14864 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14865 * manual/probes.texi: Document it.
14867 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14868 (__libc_realloc): Add memory_realloc_retry probe.
14869 (__libc_memalign): Add memory_memalign_retry probe.
14870 (__libc_valloc): Add memory_valloc_retry probe.
14871 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14872 (__libc_calloc): Add memory_calloc_retry probe.
14873 * manual/probes.texi: Document them.
14875 * malloc/arena.c (get_free_list): Add probe
14876 memory_arena_reuse_free_list.
14877 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14878 and memory_arena_reuse.
14879 (arena_get2) [!PER_THREAD]: Likewise.
14880 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14881 memory_arena_reuse_realloc.
14882 * manual/probes.texi: Document them.
14884 * malloc/malloc.c (__libc_free): Add
14885 memory_mallopt_free_dyn_thresholds probe.
14886 (__libc_mallopt): Add multiple memory_mallopt probes.
14887 * manual/probes.texi: Document them.
14889 * malloc/malloc.c: Include stap-probe.h.
14890 (__libc_mallopt): Add memory_mallopt probe.
14891 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14892 * manual/probes.texi: New.
14893 * manual/Makefile (chapters): Add probes.
14894 * manual/threads.texi: Set next node.
14896 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14898 [BZ #15963, #13985]
14899 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14900 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14901 Add `Chinese' to `nan' entry name.
14903 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14905 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14906 (POLYNOMIAL): Likewise.
14907 (TAYLOR_SINCOS): Likewise.
14908 (TAYLOR_SLOW): Likewise.
14909 (__sin): Use TAYLOR_SINCOS.
14911 (slow): Use TAYLOR_SLOW.
14913 (bsloww): Likewise.
14914 (csloww): Likewise.
14916 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14918 * stdlib/strtod_l.c: Fix buffer overrun.
14920 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14922 * benchtests/Makefile (bench): Add sincos.
14923 * benchtests/bench-sincos.c: New file.
14925 * math/libm-test.inc (cos_test_data): New test inputs.
14926 (sin_test_data): Likewise.
14928 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14934 (sloww1): Likewise.
14935 (sloww2): Likewise.
14936 (bsloww1): Likewise.
14937 (bsloww2): Likewise.
14938 (cslow2): Likewise.
14939 (csloww1): Likewise.
14940 (csloww2): Likewise.
14942 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14947 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14951 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14953 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14954 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14955 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14956 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14957 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14958 * elf/cache.c (print_entry): Handle the new cache flags.
14960 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14961 Aldy Hernandez <aldyh@redhat.com>
14963 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14964 Change condition to [_SOFT_FLOAT].
14965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14974 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14975 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14977 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14980 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14983 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14985 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14986 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14987 (__longjmp): Use LOAD_GP to load saved GPRs.
14988 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14989 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14990 (__sigsetjmp): Use SAVE_GP to save GPRs.
14992 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14993 Do not append -msoft-float.
14994 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14996 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14998 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15000 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15003 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15004 (_FPU_GETCW): Use initial "__" on variable and field names but not
15005 on macro parameter name.
15006 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15007 parentheses around reference to macro parameter.
15009 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15011 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15013 (ctype_startup): Use uint32_t in cast and sizeof for
15016 2013-09-11 Jia Liu <proljc@gmail.com>
15018 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15020 [__FreeBSD__]: Likewise.
15022 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15024 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15025 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15026 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15027 (strchr): Remove __strchr_sse42 ifunc selection.
15028 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15029 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15031 2013-09-11 Will Newton <will.newton@linaro.org>
15033 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15034 parameter to RES. Remove hardcoded 1000 value.
15035 * benchtests/bench-skeleton.c (main): Pass RES parameter
15036 to TIMING_INIT and multiply result by 1000.
15038 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15042 2013-09-11 Andreas Schwab <schwab@suse.de>
15044 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15046 (O_TMPFILE) [__USE_GNU]: Define.
15047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15050 2013-09-11 Will Newton <will.newton@linaro.org>
15053 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15056 2013-09-11 Will Newton <will.newton@linaro.org>
15059 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15062 2013-09-11 Will Newton <will.newton@linaro.org>
15065 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15068 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15070 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15071 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15072 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15073 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15074 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15076 2013-09-10 Allan McRae <allan@archlinux.org>
15079 * manual/arith.texi (Parsing of Floats): Clarify
15083 * manual/install.texi (Running make install): Mention
15085 * INSTALL: Regenerated.
15087 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15089 * csu/init-first.c (_init): Remove the !SHARED condition around
15090 FPU control word initialization.
15091 * elf/dl-support.c (_dl_fpu_control): New variable.
15092 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15093 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15094 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15095 * math/test-fpucw-static.c: New file.
15096 * math/test-fpucw-ieee.c: New file.
15097 * math/test-fpucw-ieee-static.c: New file.
15098 * math/Makefile (tests): Add `test-fpucw-ieee' and
15100 (tests-static): New variable.
15101 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15103 [($(build-shared),yes)]
15104 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15106 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15109 2013-09-09 Allan McRae <allan@archlinux.org>
15112 * manual/string.texi (Collation Functions): Fix typo in
15114 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15117 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15120 * libio/memstream.c (open_memstream): Fix memory leak.
15121 * libio/wmemstream.c (open_wmemstream): Likewise.
15124 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15126 2013-09-09 Will Newton <will.newton@linaro.org>
15128 * malloc/Makefile: Add tst-realloc to tests.
15129 * malloc/tst-realloc.c: New file.
15131 2013-09-09 Allan McRae <allan@archlinux.org>
15134 * COPYING: Update from GNU website to fix FSF address.
15135 * COPYING.LIB: Likewise.
15137 2013-09-06 David S. Miller <davem@davemloft.net>
15139 * po/zh_TW.po: Update Chinese (traditional) translation from
15140 translation project.
15142 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15143 Joseph Myers <joseph@codesourcery.com>
15145 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15147 (obstack_chunk_alloc): New macro.
15148 (obstack_chunk_free): Likewise.
15149 (record_offset): New function.
15150 (init_locale_data): Likewise.
15151 (align_locale_data): Likewise.
15152 (add_locale_empty): Likewise.
15153 (add_locale_raw_data): Likewise.
15154 (add_locale_raw_obstack): Likewise.
15155 (add_locale_string): Likewise.
15156 (add_locale_wstring): Likewise.
15157 (add_locale_uint32): Likewise.
15158 (add_locale_uint32_array): Likewise.
15159 (add_locale_char): Likewise.
15160 (start_locale_structure): Likewise.
15161 (end_locale_structure): Likewise.
15162 (start_locale_prelude): Likewise.
15163 (end_locale_prelude): Likewise.
15164 (write_locale_data): Take locale_file structure rather than an
15166 * locale/programs/locfile.h: Include "obstack.h".
15167 (struct locale_file): Change to store locale file contents instead
15169 (init_locale_data): New prototype.
15170 (align_locale_data): Likewise.
15171 (add_locale_empty): Likewise.
15172 (add_locale_raw_data): Likewise.
15173 (add_locale_raw_obstack): Likewise.
15174 (add_locale_string): Likewise.
15175 (add_locale_wstring): Likewise.
15176 (add_locale_uint32): Likewise.
15177 (add_locale_uint32_array): Likewise.
15178 (add_locale_char): Likewise.
15179 (start_locale_structure): Likewise.
15180 (end_locale_structure): Likewise.
15181 (start_locale_prelude): Likewise.
15182 (end_locale_prelude): Likewise.
15183 (write_locale_data): Update prototype.
15184 * locale/programs/3level.h (struct TABLE): Remove result field.
15185 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15186 Use new locale_file interface.
15187 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15188 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15189 * locale/programs/ld-address.c (address_output): Use new
15190 locale_file interface.
15191 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15193 (collate_finish): Don't call collseq_table_finalize.
15194 (collate_output): Use new locale_file interface.
15195 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15197 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15198 (TABLE): Move defines earlier in file.
15199 (ELEMENT): Likewise.
15200 (DEFAULT): Likewise.
15201 (wctrans_table_add): Move macro and inline function earlier in
15203 (struct wctype_table): Move type earlier in file.
15204 (add_locale_wctype_table): New static prototype.
15205 (struct locale_ctype_t): Use logical types instead of struct iovec
15206 pointers for members.
15207 (ctype_output): Use new locale_file interface.
15208 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15209 new locale_file interface.
15210 (allocate_arrays): Update for use of new locale_file interface.
15211 * locale/programs/ld-identification.c (identification_output): Use
15212 new locale_file interface.
15213 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15214 * locale/programs/ld-messages.c (messages_output): Likewise.
15215 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15216 * locale/programs/ld-name.c (name_output): Likewise.
15217 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15218 * locale/programs/ld-paper.c (paper_output): Likewise.
15219 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15220 * locale/programs/ld-time.c (time_output): Likewise.
15222 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15224 * benchtests/Makefile: Add memrchr benchmark.
15225 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15226 benchmark as memrchr.
15227 * benchtests/bench-memrchr-ifunc.c: New file.
15228 * benchtests/bench-memrchr.c: New file.
15230 2013-09-06 Will Newton <will.newton@linaro.org>
15232 * benchtests/Makefile (string-bench): Add memcpy.
15234 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15235 Cong Wang <amwang@redhat.com>
15238 * sysdeps/unix/sysv/linux/bits/in.h
15239 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15240 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15241 before __USE_KERNEL_IPV6_DEFS uses.
15242 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15244 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15245 sockaddr_in6, or ipv6_mreq.
15247 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15249 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15250 memory access for final bytes in some large inputs.
15251 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15253 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15255 * string/test-memrchr.c: New file.
15256 * string/test-memrchr-ifunc.c: New file.
15257 * string/Makefile: Add new memrchr testcase.
15259 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15261 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15262 fanotify_init returns EPERM.
15264 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15266 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15268 (top level): Treat second token from macro or constant entries for
15269 allowed headers as allowed.
15270 * include/complex.h: Condition internal declarations on
15272 * include/fenv.h: Condition include of <stdbool.h> and internal
15273 declarations on [!_ISOMAC].
15275 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15278 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15280 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15282 * configure.in (--enable-versioning): Remove configure option.
15283 (libc_cv_asm_symver_directive): Remove configure test.
15284 (libc_cv_ld_version_script_option): Likewise.
15285 (VERSIONING): Remove variable and AC_SUBST.
15286 (DO_VERSIONING): Remove AC_DEFINE.
15287 * configure: Regenerated.
15288 * config.h.in (DO_VERSIONING): Remove macro.
15289 * Makerules [$(versioning) = yes]: Change conditionals to
15290 [$(build-shared) = yes].
15291 * config.make.in (versioning): Remove variable.
15292 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15293 [$(build-shared) = yes].
15294 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15295 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15296 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15297 [$(build-shared) = yes].
15298 * extra-lib.mk [$(versioning) = yes]: Likewise.
15299 * hurd/Makefile [$(versioning) = yes]: Likewise.
15300 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15302 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15304 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15305 [SHARED && !NO_HIDDEN].
15306 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15308 [SHARED && DO_VERSIONING]: Likewise..
15309 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15310 [$(build-shared) = yes].
15311 * manual/install.texi (--disable-versioning): Remove
15313 * INSTALL: Regenerated.
15314 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15316 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15317 [$(build-shared) = yes].
15318 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15319 * sysdeps/i386/i686/multiarch/strstr-c.c
15320 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15321 [SHARED && !NO_HIDDEN].
15322 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15323 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15324 * sysdeps/powerpc/powerpc32/dl-machine.c
15325 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15326 * sysdeps/powerpc/powerpc32/sysdep.h
15327 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15328 to [SHARED && PIC && !NO_HIDDEN].
15329 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15330 conditional to [SHARED].
15332 2013-09-04 Will Newton <will.newton@linaro.org>
15334 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15335 * benchtests/bench-string.h: Include bench-timing.h instead
15336 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15337 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15338 call to HP_TIMING_DIFF_INIT.
15339 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15340 instead of hp-timing.h macros.
15341 * benchtests/bench-memchr.c: Likewise.
15342 * benchtests/bench-memcmp.c: Likewise.
15343 * benchtests/bench-memcpy.c: Likewise.
15344 * benchtests/bench-memmem.c: Likewise.
15345 * benchtests/bench-memmove.c: Likewise.
15346 * benchtests/bench-memset.c: Likewise.
15347 * benchtests/bench-rawmemchr.c: Likewise.
15348 * benchtests/bench-strcasecmp.c: Likewise.
15349 * benchtests/bench-strcasestr.c: Likewise.
15350 * benchtests/bench-strcat.c: Likewise.
15351 * benchtests/bench-strchr.c: Likewise.
15352 * benchtests/bench-strcmp.c: Likewise.
15353 * benchtests/bench-strcpy.c: Likewise.
15354 * benchtests/bench-strcpy_chk.c: Likewise.
15355 * benchtests/bench-strlen.c: Likewise.
15356 * benchtests/bench-strncasecmp.c: Likewise.
15357 * benchtests/bench-strncat.c: Likewise.
15358 * benchtests/bench-strncmp.c: Likewise.
15359 * benchtests/bench-strncpy.c: Likewise.
15360 * benchtests/bench-strnlen.c: Likewise.
15361 * benchtests/bench-strpbrk.c: Likewise.
15362 * benchtests/bench-strrchr.c: Likewise.
15363 * benchtests/bench-strspn.c: Likewise.
15364 * benchtests/bench-strstr.c: Likewise.
15366 2013-09-04 Will Newton <will.newton@linaro.org>
15368 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15370 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15373 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15374 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15375 * math/libm-test.inc (lgamma_test_data): Add more tests.
15376 * sysdeps/i386/fpu/libm-test-ulps: Update.
15377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15379 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15381 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15382 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15385 Add strcmp-sse2-unaligned
15386 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15388 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15390 * Versions.def (libc): Add GLIBC_2.19.
15392 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15394 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15395 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15397 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15400 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15401 intermediate calculations in recurrence.
15402 (__ieee754_ynf): Likewise.
15403 * math/libm-test.inc (jn_test_data): Do not allow spurious
15404 underflow exception. Add more tests.
15405 (yn_test_data): Add more tests.
15406 * sysdeps/i386/fpu/libm-test-ulps: Update.
15407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15409 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15411 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15413 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15415 * csu/init-first.c: Fix then/than typos.
15416 * locale/programs/ld-collate.c: Likewise.
15417 * locale/programs/linereader.h: Likewise.
15418 * manual/charset.texi: Likewise.
15419 * manual/filesys.texi: Likewise.
15420 * manual/stdio.texi: Likewise.
15421 * manual/string.texi: Likewise.
15422 * stdlib/fmtmsg.c: Likewise.
15423 * sysdeps/i386/stpncpy.S: Likewise.
15424 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15425 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15426 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15427 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15429 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15431 * elf/dl-open.c: Fix typos.
15432 * iconvdata/gbbig5.c: Likewise.
15433 * iconvdata/iso-2022-jp.c: Likewise.
15434 * iconv/gconv_int.h: Likewise.
15435 * iconv/loop.c: Likewise.
15436 * nis/rpcsvc/nis.h: Likewise.
15437 * resolv/ns_name.c: Likewise.
15438 * stdio-common/vfscanf.c: Likewise.
15439 * streams/stropts.h: Likewise.
15440 * sunrpc/rpc_thread.c: Likewise.
15441 * sysdeps/i386/strpbrk.S: Likewise.
15442 * sysdeps/ieee754/k_standard.c: Likewise.
15443 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15444 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15445 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15446 * sysdeps/mach/hurd/profil.c: Likewise.
15447 * sysdeps/s390/dl-procinfo.h: Likewise.
15448 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15449 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15450 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15451 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15452 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15454 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15456 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15457 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15459 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15461 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15462 aix specific files.
15463 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15464 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15465 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15466 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15467 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15468 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15469 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15470 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15472 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15473 Roland McGrath <roland@hack.frob.com>
15475 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15476 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15478 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15480 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15481 __executable_start symbol instead of _start.
15483 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15485 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15486 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15488 * sysdeps/gnu/ldsodefs.h: ... this new file.
15490 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15491 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15492 instead of ELFOSABI_LINUX.
15494 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15495 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15496 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15497 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15499 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15500 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15501 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15503 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15504 (ibm_extended_long_double): Add ieee_nan member.
15505 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15506 (do_test): New function.
15508 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15510 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15511 functions, renamed from truncdfsf_test, trunctfsf_test,
15513 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15515 (do_test): Run all these.
15517 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15519 * argp/argp-help.c: Fix typos.
15520 * argp/argp-parse.c: Likewise.
15521 * debug/backtracesyms.c: Likewise.
15522 * elf/elf.h: Likewise.
15523 * malloc/malloc.c: Likewise.
15524 * nis/nis_print.c: Likewise.
15525 * resolv/res_comp.c: Likewise.
15526 * stdlib/stdlib.h: Likewise.
15527 * sunrpc/clnt_tcp.c: Likewise.
15528 * sunrpc/clnt_udp.c: Likewise.
15529 * sunrpc/clnt_unix.c: Likewise.
15530 * sysdeps/unix/bsd/ptsname.c: Likewise.
15531 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15532 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15539 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15541 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15543 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15546 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15549 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15550 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15551 ($(objpfx)bug-dl-leaf): New rule.
15552 ($(objpfx)bug-dl-leaf.so): Likewise.
15553 ($(objpfx)bug-dl-leaf.out): Likewise.
15554 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15555 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15556 * dlfcn/bug-dl-leaf.c: New test.
15557 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15558 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15559 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15560 (dlclose): Likewise.
15561 (dlmopen): Likewise.
15563 2013-08-27 Roland McGrath <roland@hack.frob.com>
15565 * include/netdb.h [!_ISOMAC]:
15566 Don't include <tls.h>.
15567 (h_errno, __libc_h_errno): Move declaration and macros out of
15570 * include/resolv.h [_RESOLV_H_]:
15571 Don't include <tls.h>.
15572 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15573 * resolv/res_libc.c: Don't include <tls.h>.
15574 (_res): Use __attribute__ ((nocommon)) in place of
15575 __attribute__ ((section (".bss"))).
15577 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15578 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15580 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15582 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15583 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15585 * resolv/res_mkquery.c: Include <sys/time.h>.
15587 * inet/ifreq.c: Moved to ...
15588 * sysdeps/unix/ifreq.c: ... here.
15589 * inet/ifreq.c: New file, true stub version.
15591 * socket/sa_len.c: New file.
15592 * socket/Makefile (aux): Add it.
15593 * sysdeps/unix/sysv/linux/Makefile
15594 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15595 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15596 and #include <socket/sa_len.c>.
15597 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15598 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15600 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15601 * bits/socket.h: ... here.
15603 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15604 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15605 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15607 2013-08-27 Andreas Schwab <schwab@suse.de>
15610 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15611 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15612 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15613 * string/test-strcasecmp.c (test_main): Run tests in several
15615 * string/test-strncasecmp.c (test_main): Likewise.
15617 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15618 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15619 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15620 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15621 (__strncasecmp_ssse3) [PIC]: Likewise.
15623 2013-08-26 Roland McGrath <roland@hack.frob.com>
15625 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15627 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15628 instead of explicitly declaring xdecrypt.
15629 * nis/nss_nis/nis-publickey.c: Likewise.
15631 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15634 * nscd/aicache.c: Include res_hconf.h.
15635 (addhstaiX): Initialize res_hconf.
15637 2013-08-26 Andreas Schwab <schwab@suse.de>
15639 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15640 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15642 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15644 * nscd/aicache.c (addhstaiX): Fix indentation.
15646 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15648 * configure.ac: Quote $build_pt_chown test.
15649 * configure: Regenerated.
15651 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15654 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15655 * math/s_cexpf.c (__cexpf): Likewise.
15656 * math/s_cexpl.c (__cexpl): Likewise.
15657 * math/libm-test.inc (cexp_test_data): Correct expected return
15658 value for NaN + i0. Add another test.
15660 2013-08-22 David S. Miller <davem@davemloft.net>
15662 * po/ca.po: Update Catalan translation from translation project.
15663 * po/uk.po: Add Ukrainian translations from translation project.
15665 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15668 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15669 is infinite, not alongside NaN test.
15670 * math/s_fdimf.c (__fdimf): Likewise.
15671 * math/s_fdiml.c (__fdiml): Likewise.
15672 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15673 errno is unchanged.
15675 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15677 * argp/argp-help.c: Fix typos.
15678 * crypt/speeds.c: Likewise.
15679 * csu/check_fds.c: Likewise.
15680 * elf/dl-load.c: Likewise.
15681 * elf/dl-open.c: Likewise.
15682 * elf/reldep3.c: Likewise.
15683 * elf/reldep.c: Likewise.
15684 * elf/sprof.c: Likewise.
15685 * iconv/iconv_charmap.c: Likewise.
15686 * iconv/skeleton.c: Likewise.
15687 * iconv/strtab.c: Likewise.
15688 * io/lockf64.c: Likewise.
15689 * libio/libioP.h: Likewise.
15690 * resolv/gai_notify.c: Likewise.
15691 * resolv/ns_name.c: Likewise.
15692 * resolv/ns_samedomain.c: Likewise.
15693 * resolv/res_send.c: Likewise.
15694 * stdlib/random.c: Likewise.
15695 * sunrpc/rpc/xdr.h: Likewise.
15696 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15697 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15698 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15699 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15700 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15701 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15702 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15703 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15704 * sysdeps/mach/hurd/check_fds.c: Likewise.
15705 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15706 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15707 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15709 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15710 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15711 * sysdeps/pthread/aio_notify.c: Likewise.
15712 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15713 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15714 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15715 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15716 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15718 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15720 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15721 version if bit_Slow_SSE4_2 is set.
15722 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15723 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15725 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15728 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15729 trampoline stack frame information.
15730 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15731 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15732 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15733 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15734 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15735 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15736 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15737 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15739 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15740 interrupting a syscall and set with option SA_SIGINFO.
15742 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15745 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15746 argument is infinite.
15747 * math/s_cprojf.c (__cprojf): Likewise.
15748 * math/s_cprojl.c (__cprojl): Likewise.
15749 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15750 * math/libm-test.inc (cproj_test_data): Add more tests.
15752 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15754 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15755 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15756 size. Use __ffs to determine corresponding shift.
15758 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15759 Roland McGrath <roland@hack.frob.com>
15761 * Makefile (INSTALL): Remove trailing blank lines from output of
15764 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15766 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15767 Align 32 bit compat elf_greg to 8 bytes.
15769 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15771 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15773 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15775 * string/strcoll_l.c (coll_seq): New structure.
15776 (get_next_seq_cached): New function.
15777 (get_next_seq): New function.
15778 (do_compare): New function.
15779 (STRCOLL): Use GNU style definition. Simplify implementation
15780 by using get_next_seq, get_next_seq_cached and do_compare.
15782 2013-08-16 Florian Weimer <fweimer@redhat.com>
15786 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15788 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15790 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15791 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15792 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15794 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15795 GETDENTS_64BIT_ALIGNED.
15796 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15797 * manual/filesys.texi (Reading/Closing Directory): Document
15798 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15800 * manual/conf.texi (Limits for Files): Add portability note to
15801 NAME_MAX, PATH_MAX.
15802 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15804 2013-08-13 Andreas Schwab <schwab@suse.de>
15807 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15809 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15810 LDBL_MAX_EXP >= 16384]: Add tests for it.
15812 2013-08-12 David S. Miller <davem@davemloft.net>
15814 * version.h (RELEASE): Set to "development".
15815 (VERSION): Set to "2.18.90".
15816 * NEWS: Add 2.19 section.
15818 2013-08-03 David S. Miller <davem@davemloft.net>
15820 * po/ko.po: Update Korean translation from translation project.
15822 2013-08-01 David S. Miller <davem@davemloft.net>
15824 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15825 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15828 2013-07-30 David S. Miller <davem@davemloft.net>
15830 * po/fr.po: Update French translation from translation project.
15832 2013-07-28 David S. Miller <davem@davemloft.net>
15834 * po/cs.po: Update Czech translation from translation project.
15836 * po/sv.po: Update Swedish translation from translation project.
15838 2013-07-27 David S. Miller <davem@davemloft.net>
15840 * po/eo.po: Update Esperanto translation from translation project.
15842 * po/vi.po: Update Vietnamese translation from translation project.
15844 * po/de.po: Update German translation from translation project.
15846 2013-07-26 David S. Miller <davem@davemloft.net>
15848 * po/bg.po: Update Bulgarian translation from translation project.
15850 * po/nl.po: Update Dutch translation from translation project.
15851 * po/pl.po: Update Polish translation from translation project.
15852 * po/ru.po: Update Russian translation from translation project.
15854 2013-07-24 David S. Miller <davem@davemloft.net>
15856 * po/libc.pot: Update.
15858 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15860 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15861 variable page size.
15862 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15863 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15864 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15866 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15868 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15870 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15871 Andreas Schwab <schwab@suse.de>
15872 Roland McGrath <roland@hack.frob.com>
15873 Joseph Myers <joseph@codesourcery.com>
15874 Carlos O'Donell <carlos@redhat.com>
15877 * config.h.in: Define HAVE_PT_CHOWN.
15878 * config.make.in (build-pt-chown): New variable.
15879 * configure.in (--enable-pt_chown): New configure option.
15880 * configure: Regenerate.
15881 * login/Makefile: Include Makeconfig. Build pt_chown only if
15882 build-pt-chown is enabled.
15883 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15884 pt_chown to fix pty ownership.
15885 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15887 * manual/install.texi (Configuring and compiling): Mention
15888 --enable-pt_chown. Add @findex for grantpt.
15889 * INSTALL: Regenerate.
15891 2013-07-20 David S. Miller <davem@davemloft.net>
15893 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15894 difference between 32-bit and 64-bit.
15896 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15899 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15900 Avoid system header dependency with -ffreestanding.
15901 ($(objpfx)bits/syscall%d): Likewise.
15903 2013-07-13 David S. Miller <davem@davemloft.net>
15905 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15906 underflows from atanl/atan2l due to bug 15319.
15907 (casinh_test_data): Likewise.
15909 2013-07-07 David S. Miller <davem@davemloft.net>
15911 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15913 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15915 * sysdeps/i386/fpu/libm-test-ulps: Update.
15916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15918 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15920 * configure.in (--enable-lock-elision): Fix message text.
15921 * INSTALL: Regenerate.
15922 * configure: Regenerate.
15924 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15928 2013-07-03 Andreas Jaeger <aj@suse.de>
15930 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15932 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15933 (ptrace_peeksiginfo_args): Add.
15934 (__ptrace_peeksiginfo_flags): Add.
15935 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15936 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15937 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15939 2013-07-03 Allan McRae <allan@archlinux.org>
15941 * sysdeps/i386/fpu/libm-test-ulps: Update.
15943 2013-07-02 David S. Miller <davem@davemloft.net>
15945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15947 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15951 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15953 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15956 2013-07-02 Andi Kleen <ak@linux.intel.com>
15958 * config.h.in (ENABLE_LOCK_ELISION): Add.
15959 * configure.in (--enable-lock-elision): Add option.
15960 * manual/install.texi: Document --enable lock elision.
15961 * configure: Regenerate
15962 * INSTALL: Regenerate.
15964 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15966 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15967 SSE4.2 strcasecmp for libc.a.
15968 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15970 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15973 * soft-fp/op-common.h (_FP_FMA): New macro.
15974 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15975 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15976 (_FP_MUL_MEAT_1_imm): ... here.
15977 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15978 (_FP_MUL_MEAT_1_wide): ... here.
15979 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15980 (_FP_MUL_MEAT_1_hard): ... here.
15981 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15982 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15983 (_FP_MUL_MEAT_2_wide): ... here.
15984 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15985 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15986 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15987 (_FP_MUL_MEAT_2_gmp): ... here.
15988 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15989 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15990 (_FP_MUL_MEAT_4_wide): ... here.
15991 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15992 (_FP_MUL_MEAT_4_gmp): ... here.
15993 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15994 (_FP_WFRACBITS_DW_S): Likewise.
15995 (_FP_WFRACXBITS_DW_S): Likewise.
15996 (_FP_HIGHBIT_DW_S): Likewise.
15997 (FP_FMA_S): Likewise.
15998 (_FP_FRAC_HIGH_DW_S): Likewise.
15999 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16000 (_FP_WFRACBITS_DW_D): Likewise.
16001 (_FP_WFRACXBITS_DW_D): Likewise.
16002 (_FP_HIGHBIT_DW_D): Likewise.
16003 (FP_FMA_D): Likewise.
16004 (_FP_FRAC_HIGH_DW_D): Likewise.
16005 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16006 (_FP_WFRACBITS_DW_E): Likewise.
16007 (_FP_WFRACXBITS_DW_E): Likewise.
16008 (_FP_HIGHBIT_DW_E): Likewise.
16009 (FP_FMA_E): Likewise.
16010 (_FP_FRAC_HIGH_DW_E): Likewise.
16011 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16012 (_FP_WFRACBITS_DW_Q): Likewise.
16013 (_FP_WFRACXBITS_DW_Q): Likewise.
16014 (_FP_HIGHBIT_DW_Q): Likewise.
16015 (FP_FMA_Q): Likewise.
16016 (_FP_FRAC_HIGH_DW_Q): Likewise.
16017 * soft-fp/fmasf4.c: New file.
16018 * soft-fp/fmadf4.c: Likewise.
16019 * soft-fp/fmatf4.c: Likewise.
16021 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16024 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16026 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16028 (index_Slow_SSE4_2): Likewise.
16029 (index_Prefer_PMINUB_for_stringop): Likewise.
16030 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16031 bit_Slow_SSE4_2 is set.
16032 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16033 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16035 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16037 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16038 rtld_global._dl_hwcap2.
16039 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16041 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16042 POWER8 feature descriptions defined in _dl_hwcap2.
16043 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16044 string handling for POWER8 feature bits.
16045 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16046 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16047 _dl_powerpc_cap_flags.
16048 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16049 * sysdeps/powerpc/rtld-global-offsets.sym
16050 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16051 _dl_hwcap2 in the rtld_global_ro structure.
16053 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16055 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16056 hardware capabilities in support of AT_HWCAP2.
16057 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16058 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16060 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16061 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16062 explicitly the unknown a_type display mechanism is used.
16063 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16064 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16066 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16067 to macro prototype for AT_HWCAP2 support.
16068 * sysdeps/i386/dl-procinfo.h: Likewise.
16069 * sysdeps/s390/dl-procinfo.h: Likewise.
16070 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16071 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16072 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16073 return -1 for unknown a_type display fallback.
16074 * sysdeps/sparc/dl-procinfo.h: Likewise.
16075 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16076 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16078 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16080 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16081 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16083 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16086 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16087 mprotect making __stack_prot writable.
16089 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16090 Joseph Myers <joseph@codesourcery.com>
16092 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16093 as being properly aligned.
16095 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16097 * dlfcn/modstatic5.c: New file.
16098 * dlfcn/tststatic5.c: New file.
16099 * dlfcn/Makefile (tests): Add tststatic5.
16100 (tests-static): Likewise.
16101 (modules-names): Add modstatic5.
16102 (tststatic5-ENV): New variable.
16103 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16106 * elf/dl-support.c (_dl_main_map): New variable.
16107 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16108 (_dl_nns, _dl_load_adds): Set to 1.
16109 (_dl_initial_searchlist): Refer to _dl_main_map.
16110 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16111 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16112 call to _dl_get_origin.
16113 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16115 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16116 * dlfcn/modstatic3.c: New file.
16117 * dlfcn/tststatic3.c: New file.
16118 * dlfcn/tststatic4.c: New file.
16119 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16120 (tests-static): Likewise.
16121 (modules-names): Add modstatic3.
16122 (tststatic3-ENV, tststatic4-ENV): New variables.
16123 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16124 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16126 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16128 * configure.in (CC): Require GCC version 4.4 or later.
16129 * configure: Regenerated.
16130 * manual/install.texi (Tools for Compilation): Update GCC version
16132 * INSTALL: Regenerated.
16134 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16137 * string/test-memcmp.c (check2): New.
16138 (main): Call check2.
16140 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16142 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16145 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16147 (dl_open_worker) [!SHARED]: ... here.
16149 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16151 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16153 2013-06-25 Richard Henderson <rth@redhat.com>
16155 * locale/programs/locarchive.c: Include <libc-internal.h>
16157 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16159 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16160 trailing whitespace removed.
16162 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16165 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16166 * locale/programs/locarchive.c: Include libc-mmap.h.
16167 (prepare_address_space): Take two new outputs (the mmap base and len).
16168 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16170 (create_archive): Declare new mmap base and len values for
16171 prepare_address_space, and store the result in ah.
16172 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16173 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16174 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16175 Declare new mmap base and len values for
16176 prepare_address_space, and store the result in new_ah.
16177 (open_archive): Declare new mmap base and len values for
16178 prepare_address_space, and store the result in ah.
16179 (close_archive): If ah->mmap_base is not NULL, use that and
16180 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16181 * sysdeps/generic/libc-mmap.h: New file.
16183 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16185 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16186 (ALIGN_UP): Likewise.
16187 (PTR_ALIGN_DOWN): Likewise.
16188 (PTR_ALIGN_UP): Likewise.
16190 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16192 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16193 entry mapped to PPC_PLATFORM_POWER8.
16194 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16196 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16197 (_dl_string_platform): Add case for exporting platform position for
16199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16200 search path to sysdeps/powerpc/powerpc32/power8 directory.
16201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16202 search path to sysdeps/powerpc/powerpc64/power8 directory.
16203 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16204 power7 directories.
16205 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16206 power7 directories.
16208 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16210 * INSTALL: Regenerate.
16212 * nscd/connections.c (nscd_init): Fix comment.
16214 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16216 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16219 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16220 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16222 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16224 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16226 (DL_DST_REQ_STATIC): Remove macro.
16228 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16231 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16232 with a shift of 0 bits.
16234 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16236 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16239 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16242 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16244 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16246 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16247 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16248 accepts -fno-tree-loop-distribute-patterns.
16249 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16250 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16252 * string/memset.c (memset): Likewise.
16253 * string/test-memmove.c (simple_memmove): Disable loop transformation
16255 * string/test-memset.c (simple_memset): Likewise.
16256 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16257 * benchtests/bench-memset.c (simple_memset): Likewise.
16258 * configure: Regenerated.
16260 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16262 * math/test-misc.c (main): Ignore fesetround failure when failures
16263 of subsequent rounding tests would be ignored.
16266 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16267 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16268 * math/fegetenv.c (__fegetenv): Return 0.
16269 * math/fegetexcept.c (fegetexcept): Return 0.
16270 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16272 * math/feholdexcpt.c (feholdexcept): Return 0.
16273 * math/fesetenv.c (__fesetenv): Return 0.
16274 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16275 argument FE_TONEAREST.
16276 * math/feupdateenv.c (__feupdateenv): Return 0.
16277 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16279 2013-06-18 Roland McGrath <roland@hack.frob.com>
16281 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16282 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16283 ($(objpfx)rtld-%.os rules): Use them.
16285 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16287 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16290 2013-06-17 Roland McGrath <roland@hack.frob.com>
16292 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16293 length of target pattern, then descending length of dependency pattern.
16294 * configure.in (AWK): Require gawk 3.1.2 or newer.
16295 * manual/install.texi (Tools for Compilation): Say that we do.
16296 * configure: Regenerated.
16298 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16299 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16300 * scripts/sysd-rules.awk: ... this new script.
16301 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16302 than a glob-style pattern.
16304 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16306 * math/test-misc.c (main): Do not treat incorrectly rounded
16307 conversions as failure unless ROUNDING_TESTS passes.
16309 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16312 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16313 restore exception state around main square root computation, then
16314 check for inexactness explicitly.
16316 * math/libm-test.inc (fma_test_data): Add another test.
16318 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16320 * manual/threads.texi (Non-POSIX Extensions): New document
16321 node. Document pthread_getattr_default_np and
16322 pthread_setattr_default_np.
16324 * Versions.def (libpthread): Add GLIBC_2.18.
16325 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16334 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16345 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16348 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16350 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16351 H.J. Lu <hjl.tools@gmail.com>
16354 * sysdeps/x86_64/rtld-memset.c: Remove file.
16355 * sysdeps/x86_64/rtld-memset.S: New file.
16357 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16359 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16360 (test_in_one_mode): Take arguments for whether the rounding mode
16361 is supported for each floating-point type.
16362 (do_test): Pass new arguments to test_in_one_mode using
16365 2013-06-13 Roland McGrath <roland@hack.frob.com>
16367 * posix/tst-waitid.c (do_test): Distinguish different instances of
16368 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16369 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16370 before entering the kernel for waitpid.
16372 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16374 * NEWS: Fix note on clock function precision. Text by Roland
16377 2013-06-13 Roland McGrath <roland@hack.frob.com>
16379 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16380 it into place only when and if the sanity check passes.
16382 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16384 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16385 output for whether conversion result is exact. Take argument
16386 indicating whether type is IBM long double.
16387 (round_for_all): Change need_exact field to ibm_ld.
16388 * stdlib/tst-strtod-round.c (struct exactness): New type.
16389 (struct test): Change bool ld_ok field to struct exactness exact.
16390 (TEST): Update all definitions for change to field.
16391 (tests): Regenerate array contents.
16392 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16393 field value. Check for IBM long double here.
16394 (do_test): Update calls to test_in_one_mode.
16396 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16399 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16400 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16402 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16405 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16406 generated by the compiler on loop optimizations.
16407 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16408 general definitions.
16410 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16412 * math/bug-nextafter.c: Include <math-tests.h>.
16413 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16415 * math/bug-nexttoward.c: Include <math-tests.h>.
16416 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16418 * math/test-misc.c: Include <math-tests.h>.
16419 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16422 2013-06-12 Andreas Jaeger <aj@suse.de>
16424 * po/ia.po: Update Interlingua translation from translation
16427 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16429 * include/fenv.h: Include stdbool.h.
16430 (struct rm_ctx): New structure.
16431 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16433 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16434 (SET_RESTORE_ROUNDF): Likewise.
16435 (SET_RESTORE_ROUNDL): Likewise.
16436 (SET_RESTORE_ROUND_NOEX): Likewise.
16437 (SET_RESTORE_ROUND_NOEXF): Likewise.
16438 (SET_RESTORE_ROUND_NOEXL): Likewise.
16439 (SET_RESTORE_ROUND_53BIT): Likewise.
16440 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16441 (libc_feresetround_noexf_ctx): Likewise.
16442 (libc_feresetround_noexl_ctx): Likewise.
16443 (libc_feholdsetround_53bit_ctx): Likewise.
16444 (libc_feresetround_53bit_ctx): Likewise.
16445 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16446 (libc_feholdexcept_setround_sse_ctx): New function.
16447 (libc_fesetenv_sse_ctx): Likewise.
16448 (libc_feupdateenv_sse_ctx): Likewise.
16449 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16450 (libc_feholdexcept_setround_387_ctx): Likewise.
16451 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16452 (libc_feholdsetround_387_prec_ctx): Likewise.
16453 (libc_feholdsetround_387_ctx): Likewise.
16454 (libc_feholdsetround_387_53bit_ctx): Likewise.
16455 (libc_feholdsetround_sse_ctx): Likewise.
16456 (libc_feresetround_sse_ctx): Likewise.
16457 (libc_feresetround_387_ctx): Likewise.
16458 (libc_feupdateenv_387_ctx): Likewise.
16459 (libc_feholdexcept_setroundf_ctx): Define macro.
16460 (libc_fesetenvf_ctx): Likewise.
16461 (libc_feupdateenvf_ctx): Likewise.
16462 (libc_feholdsetroundf_ctx): Likewise.
16463 (libc_feresetroundf_ctx): Likewise.
16464 (libc_feholdexcept_setround_ctx): Likewise.
16465 (libc_fesetenv_ctx): Likewise.
16466 (libc_feupdateenv_ctx): Likewise.
16467 (libc_feholdsetround_ctx): Likewise.
16468 (libc_feresetround_ctx): Likewise.
16469 (libc_feholdexcept_setroundl_ctx): Likewise.
16470 (libc_feupdateenvl_ctx): Likewise.
16471 (libc_feholdsetroundl_ctx): Likewise.
16472 (libc_feresetroundl_ctx): Likewise.
16473 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16474 (libc_feresetround_53bit_ctx): Likewise.
16476 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16478 * locale/iso-639.def: Convert to UTF-8.
16480 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16482 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16483 (EXCEPTION_TESTS_double): Likewise.
16484 (EXCEPTION_TESTS_long_double): Likewise.
16485 (EXCEPTION_TESTS): Likewise.
16486 * math/libm-test.inc (test_exceptions): Only test exceptions if
16487 EXCEPTION_TESTS (FLOAT).
16489 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16491 * benchtests/Makefile (string-bench): Add strcpy_chk and
16493 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16494 * benchtests/bench-stpcpy_chk.c: New file.
16495 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16496 * benchtests/bench-strcpy_chk.c: New file.
16497 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16499 (do_test): Likewise.
16501 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16503 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16504 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16505 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16506 with tabs where appropriate.
16507 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16509 [PPC_PLATFORM_PPC440]: Likewise.
16510 [PPC_PLATFORM_PPC464]: Likewise.
16511 [PPC_PLATFORM_PPC476]: Likewise.
16512 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16513 ppc464, and ppc476 platform strings merging from ports/
16516 2013-06-11 Andreas Schwab <schwab@suse.de>
16519 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16520 (from_ucs4_idx): Regenerate.
16521 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16522 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16523 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16524 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16525 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16526 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16527 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16528 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16529 from FROM_LOOP and TO_LOOP specific macros.
16530 (BODY): Handle combining characters.
16531 * iconvdata/BIG5HKSCS.irreversible: Update.
16532 * iconvdata/BIG5HKSCS.precomposed: New file.
16533 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16535 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16537 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16539 * include/sys/time.h: Fix indentation and add copyright header.
16541 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16542 (do_test): Likewise.
16543 * string/test-memchr.c (do_one_test): Likewise.
16544 (do_test): Likewise.
16545 * string/test-memcmp.c (do_one_test): Likewise.
16546 (do_test): Likewise.
16547 * string/test-memcpy.c (do_one_test): Likewise.
16548 (do_test): Likewise.
16549 * string/test-memmem.c (do_one_test): Likewise.
16550 (do_test): Likewise.
16551 (do_random_tests): Likewise.
16552 * string/test-memmove.c (do_one_test): Likewise.
16553 (do_test): Likewise.
16554 * string/test-memset.c (do_one_test): Likewise.
16555 (do_test): Likewise.
16556 * string/test-rawmemchr.c (do_one_test): Likewise.
16557 (do_test): Likewise.
16558 * string/test-strcasecmp.c (do_one_test): Likewise.
16559 (do_test): Likewise.
16560 * string/test-strcasestr.c (do_one_test): Likewise.
16561 (do_test): Likewise.
16562 * string/test-strcat.c (do_one_test): Likewise.
16563 (do_test): Likewise.
16564 * string/test-strchr.c (do_one_test): Likewise.
16565 (do_test): Likewise.
16566 * string/test-strcmp.c (do_one_test): Likewise.
16567 (do_test): Likewise.
16568 * string/test-strcpy.c (do_one_test): Likewise.
16569 (do_test): Likewise.
16570 * string/test-string.h: Likewise.
16571 (test_init): Likewise.
16572 * string/test-strlen.c (do_one_test): Likewise.
16573 (do_test): Likewise.
16574 * string/test-strncasecmp.c (do_one_test): Likewise.
16575 (do_test): Likewise.
16576 * string/test-strncat.c (do_one_test): Likewise.
16577 (do_test): Likewise.
16578 * string/test-strncmp.c (do_one_test): Likewise.
16579 (do_test_limit): Likewise.
16580 (do_test): Likewise.
16581 * string/test-strncpy.c (do_one_test): Likewise.
16582 (do_test): Likewise.
16583 * string/test-strnlen.c (do_one_test): Likewise.
16584 (do_test): Likewise.
16585 * string/test-strpbrk.c (do_one_test): Likewise.
16586 (do_test): Likewise.
16587 * string/test-strrchr.c (do_one_test): Likewise.
16588 (do_test): Likewise.
16589 * string/test-strspn.c (do_one_test): Likewise.
16590 (do_test): Likewise.
16591 * string/test-strstr.c (do_one_test): Likewise.
16592 (do_test): Likewise.
16594 * benchtests/Makefile (string-bench): Add string benchmarks.
16595 * benchtests/bench-bcopy-ifunc.c: New file.
16596 * benchtests/bench-bcopy.c: New file.
16597 * benchtests/bench-bzero-ifunc.c: New file.
16598 * benchtests/bench-bzero.c: New file.
16599 * benchtests/bench-memccpy-ifunc.c: New file.
16600 * benchtests/bench-memccpy.c: New file.
16601 * benchtests/bench-memchr-ifunc.c: New file.
16602 * benchtests/bench-memchr.c: New file.
16603 * benchtests/bench-memcmp-ifunc.c: New file.
16604 * benchtests/bench-memcmp.c: New file.
16605 * benchtests/bench-memmem-ifunc.c: New file.
16606 * benchtests/bench-memmem.c: New file.
16607 * benchtests/bench-memmove-ifunc.c: New file.
16608 * benchtests/bench-memmove.c: New file.
16609 * benchtests/bench-mempcpy-ifunc.c: New file.
16610 * benchtests/bench-mempcpy.c: New file.
16611 * benchtests/bench-memset-ifunc.c: New file.
16612 * benchtests/bench-memset.c: New file.
16613 * benchtests/bench-rawmemchr-ifunc.c: New file.
16614 * benchtests/bench-rawmemchr.c: New file.
16615 * benchtests/bench-stpcpy-ifunc.c: New file.
16616 * benchtests/bench-stpcpy.c: New file.
16617 * benchtests/bench-stpncpy-ifunc.c: New file.
16618 * benchtests/bench-stpncpy.c: New file.
16619 * benchtests/bench-strcasecmp-ifunc.c: New file.
16620 * benchtests/bench-strcasecmp.c: New file.
16621 * benchtests/bench-strcasestr-ifunc.c: New file.
16622 * benchtests/bench-strcasestr.c: New file.
16623 * benchtests/bench-strcat-ifunc.c: New file.
16624 * benchtests/bench-strcat.c: New file.
16625 * benchtests/bench-strchr-ifunc.c: New file.
16626 * benchtests/bench-strchr.c: New file.
16627 * benchtests/bench-strchrnul-ifunc.c: New file.
16628 * benchtests/bench-strchrnul.c: New file.
16629 * benchtests/bench-strcmp-ifunc.c: New file.
16630 * benchtests/bench-strcmp.c: New file.
16631 * benchtests/bench-strcpy-ifunc.c: New file.
16632 * benchtests/bench-strcpy.c: New file.
16633 * benchtests/bench-strcspn-ifunc.c: New file.
16634 * benchtests/bench-strcspn.c: New file.
16635 * benchtests/bench-strlen-ifunc.c: New file.
16636 * benchtests/bench-strlen.c: New file.
16637 * benchtests/bench-strncasecmp-ifunc.c: New file.
16638 * benchtests/bench-strncasecmp.c: New file.
16639 * benchtests/bench-strncat-ifunc.c: New file.
16640 * benchtests/bench-strncat.c: New file.
16641 * benchtests/bench-strncmp-ifunc.c: New file.
16642 * benchtests/bench-strncmp.c: New file.
16643 * benchtests/bench-strncpy-ifunc.c: New file.
16644 * benchtests/bench-strncpy.c: New file.
16645 * benchtests/bench-strnlen-ifunc.c: New file.
16646 * benchtests/bench-strnlen.c: New file.
16647 * benchtests/bench-strpbrk-ifunc.c: New file.
16648 * benchtests/bench-strpbrk.c: New file.
16649 * benchtests/bench-strrchr-ifunc.c: New file.
16650 * benchtests/bench-strrchr.c: New file.
16651 * benchtests/bench-strspn-ifunc.c: New file.
16652 * benchtests/bench-strspn.c: New file.
16653 * benchtests/bench-strstr-ifunc.c: New file.
16654 * benchtests/bench-strstr.c: New file.
16656 * benchtests/Makefile: Disable parallel execution of targets.
16657 (string-bench): Add memcpy.
16658 (benchset): New variable to store a list of benchmark sets.
16659 (bench-func): Renamed from bench.
16660 (bench-set): New target.
16661 (bench): Depend on bench-func and bench-set.
16662 * benchtests/README: Add section on benchmark sets.
16663 * benchtests/bench-memcpy-ifunc.c: New file.
16664 * benchtests/bench-memcpy.c: New file.
16665 * benchtests/bench-string.h: New file.
16667 2013-06-11 Andreas Schwab <schwab@suse.de>
16670 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16671 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16672 values in the triple.
16673 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16674 terminator in the group key.
16676 2013-06-11 Andreas Jaeger <aj@suse.de>
16678 * po/zh_TW.po: Update Chinese (traditional) translation from
16679 translation project.
16681 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16683 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16684 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16685 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16686 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16687 (clock_getcpuclockid): Likewise.
16688 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16689 Add weak_alias and libc_hidden_def.
16690 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16691 * rt/clock_gettime.c (clock_gettime): Rename to
16692 __clock_gettime. Add weak_alias and libc_hidden_def.
16693 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16694 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16695 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16696 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16697 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16699 * rt/clock_settime.c (clock_settime): Rename to
16700 __clock_settime. Add weak_alias and libc_hidden_def.
16701 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16703 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16705 * mach/err_boot.sub: Remove trailing whitespace.
16706 * mach/err_ipc.sub: Likewise.
16707 * mach/err_mach.sub: Likewise.
16709 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16710 (ROUNDING_TESTS_double): Likewise.
16711 (ROUNDING_TESTS_long_double): Likewise.
16712 (ROUNDING_TESTS): Likewise.
16713 * math/libm-test.inc: Include <math-tests.h>.
16714 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16715 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16716 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16717 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16719 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16721 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16724 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16726 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16727 otherwise empty TRANS lines.
16728 * sysdeps/gnu/errlist.c: Regenerated.
16730 * catgets/gencat.c (error_print): Use (void) in function
16732 * crypt/crypt_util.c (__init_des): Likewise.
16733 * crypt/speeds.c (Stop): Likewise.
16735 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16736 * inet/ruserpass.c (token): Likewise.
16737 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16738 * intl/localealias.c (extend_alias_table): Likewise.
16739 * intl/plural-exp.c (init_germanic_plural): Likewise.
16740 * libio/fcloseall.c (__fcloseall): Likewise.
16741 * libio/genops.c (_IO_flush_all): Likewise.
16742 (_IO_flush_all_linebuffered): Likewise.
16743 (_IO_cleanup): Likewise.
16744 (_IO_iter_begin): Likewise.
16745 (_IO_iter_end): Likewise.
16746 (_IO_list_lock): Likewise.
16747 (_IO_list_unlock): Likewise.
16748 (_IO_list_resetlock): Likewise.
16749 * libio/getchar.c (getchar): Likewise.
16750 * libio/getchar_u.c (getchar_unlocked): Likewise.
16751 * libio/getwchar.c (getwchar): Likewise.
16752 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16753 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16754 * login/getpt.c (__getpt): Likewise.
16755 * login/tst-utmp.c (main): Likewise.
16756 * malloc/hooks.c (__malloc_check_init): Likewise.
16757 * malloc/malloc.c (__malloc_stats): Likewise.
16758 * malloc/mtrace.c (tr_break): Likewise.
16759 (mtrace): Likewise.
16760 (muntrace): Likewise.
16761 * misc/fstab.c (endfsent): Likewise.
16762 * misc/getclktck.c (__getclktck): Likewise.
16763 * misc/getdtsz.c (__getdtablesize): Likewise.
16764 * misc/gethostid.c (gethostid): Likewise.
16765 * misc/getpagesize.c (__getpagesize): Likewise.
16766 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16767 (__get_nprocs): Likewise.
16768 (__get_phys_pages): Likewise.
16769 (__get_avphys_pages): Likewise.
16770 * misc/getttyent.c (getttyent): Likewise.
16771 (setttyent): Likewise.
16772 (endttyent): Likewise.
16773 * misc/getusershell.c (getusershell): Likewise.
16774 (endusershell): Likewise.
16775 (setusershell): Likewise.
16776 (initshells): Likewise.
16777 * misc/hsearch.c (__hdestroy): Likewise.
16778 * misc/sync.c (sync): Likewise.
16779 * misc/syslog.c (closelog_internal): Likewise.
16780 (closelog): Likewise.
16781 * misc/ttyslot.c (ttyslot): Likewise.
16782 * misc/vhangup.c (vhangup): Likewise.
16783 * posix/fork.c (__fork): Likewise.
16784 * posix/getegid.c (__getegid): Likewise.
16785 * posix/geteuid.c (__geteuid): Likewise.
16786 * posix/getgid.c (__getgid): Likewise.
16787 * posix/getpid.c (__getpid): Likewise.
16788 * posix/getppid.c (__getppid): Likewise.
16789 * posix/getuid.c (__getuid): Likewise.
16790 * posix/pause.c (pause): Likewise.
16791 * posix/setpgrp.c (setpgrp): Likewise.
16792 * posix/setsid.c (__setsid): Likewise.
16793 * posix/test-vfork.c (noop): Likewise.
16794 * resolv/gethnamaddr.c (_endhtent): Likewise.
16795 (_gethtent): Likewise.
16796 (ht_endhostent): Likewise.
16797 (gethostent): Likewise.
16798 (dns_service): Likewise.
16799 * stdlib/drand48.c (drand48): Likewise.
16800 * stdlib/lrand48.c (lrand48): Likewise.
16801 * stdlib/mrand48.c (mrand48): Likewise.
16802 * stdlib/rand.c (rand): Likewise.
16803 * stdlib/random.c (__random): Likewise.
16804 * stdlib/setenv.c (clearenv): Likewise.
16805 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16806 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16807 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16808 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16809 (__get_nprocs): Likewise.
16810 (__get_phys_pages): Likewise.
16811 (__get_avphys_pages): Likewise.
16812 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16813 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16814 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16815 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16816 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16817 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16818 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16819 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16820 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16821 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16822 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16823 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16824 * sysdeps/posix/clock.c (clock): Likewise.
16825 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16826 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16827 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16828 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16829 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16830 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16831 (__get_nprocs_conf): Likewise.
16832 (__get_phys_pages): Likewise.
16833 (__get_avphys_pages): Likewise.
16834 * time/clock.c (clock): Likewise.
16835 * time/tzset.c (__tzname_max): Likewise.
16837 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16839 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16840 (__bswap_32): Do not use "register".
16841 * crypt/crypt.c (_ufc_doit_r): Likewise.
16842 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16843 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16844 * gmon/gmon.c (__monstartup): Likewise.
16845 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16846 * hurd/hurdmalloc.c (more_memory): Likewise.
16847 (malloc): Likewise.
16849 (realloc): Likewise.
16850 (malloc_fork_prepare): Likewise.
16851 (malloc_fork_parent): Likewise.
16852 (malloc_fork_child): Likewise.
16853 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16854 (_svcauth_des): Likewise.
16855 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16856 * inet/inet_net.c (inet_network): Likewise.
16857 * inet/inet_netof.c (inet_netof): Likewise.
16858 * inet/rcmd.c (__validuser2_sa): Likewise.
16859 * io/fts.c (fts_open): Likewise.
16860 (fts_load): Likewise.
16861 (fts_close): Likewise.
16862 (fts_read): Likewise.
16863 (fts_children): Likewise.
16864 (fts_build): Likewise.
16865 (fts_stat): Likewise.
16866 (fts_sort): Likewise.
16867 (fts_alloc): Likewise.
16868 (fts_lfree): Likewise.
16869 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16870 (_IO_file_xsgetn): Likewise.
16871 (_IO_file_xsgetn_mmap): Likewise.
16872 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16873 (_IO_cookie_write): Likewise.
16874 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16875 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16876 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16877 * malloc/obstack.c (_obstack_begin): Likewise.
16878 (_obstack_begin_1): Likewise.
16879 (_obstack_newchunk): Likewise.
16880 (_obstack_allocated_p): Likewise.
16881 (obstack_free): Likewise.
16882 (_obstack_memory_used): Likewise.
16883 * misc/getttyent.c (getttynam): Likewise.
16884 (getttyent): Likewise.
16887 * misc/getusershell.c (initshells): Likewise.
16888 * misc/syslog.c (__vsyslog_chk): Likewise.
16889 * misc/ttyslot.c (ttyslot): Likewise.
16890 * nis/nis_hash.c (__nis_hash): Likewise.
16891 * posix/fnmatch_loop.c (FCT): Likewise.
16892 * posix/getconf.c (print_all): Likewise.
16894 * posix/getopt.c (exchange): Likewise.
16895 * posix/glob.c (globfree): Likewise.
16896 (prefix_array): Likewise.
16897 (__glob_pattern_type): Likewise.
16898 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16899 (NS_GET32): Likewise.
16900 (NS_PUT16): Likewise.
16901 (NS_PUT32): Likewise.
16902 * resolv/gethnamaddr.c (getanswer): Likewise.
16903 (gethostbyname2): Likewise.
16904 (gethostbyaddr): Likewise.
16905 (_gethtent): Likewise.
16906 (_gethtbyname2): Likewise.
16907 (_gethtbyaddr): Likewise.
16908 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16909 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16910 * resolv/res_init.c (__res_vinit): Likewise.
16911 (net_mask): Likewise.
16912 * resolv/res_mkquery.c (outchar): Likewise.
16914 * stdio-common/printf_fp.c (outchar): Likewise.
16916 * stdio-common/printf_fphex.c (outchar): Likewise.
16918 * stdio-common/printf_size.c (outchar): Likewise.
16920 * stdio-common/test_rdwr.c (main): Likewise.
16921 * stdio-common/tfformat.c (matches): Likewise.
16922 * stdio-common/vfprintf.c (outchar): Likewise.
16923 (printf_unknown): Likewise.
16924 (buffered_vfprintf): Likewise.
16925 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16926 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16927 (ReadFile): Likewise.
16928 * stdlib/qsort.c (SWAP): Likewise.
16929 (_quicksort): Likewise.
16930 * stdlib/setenv.c (__add_to_environ): Likewise.
16931 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16932 * stdlib/strtol_l.c (__strtol_l): Likewise.
16933 * stdlib/tst-strtod.c (main): Likewise.
16934 * stdlib/tst-strtol.c (main): Likewise.
16935 * stdlib/tst-strtoll.c (main): Likewise.
16936 * string/bits/string2.h (__strcmp_cc): Likewise.
16937 (__strcmp_cg): Likewise.
16938 (__strcspn_c1): Likewise.
16939 (__strcspn_c2): Likewise.
16940 (__strcspn_c3): Likewise.
16941 (__strspn_c1): Likewise.
16942 (__strspn_c2): Likewise.
16943 (__strspn_c3): Likewise.
16944 (__strsep_1c): Likewise.
16945 (__strsep_2c): Likewise.
16946 (__strsep_3c): Likewise.
16947 * string/memccpy.c (__memccpy): Likewise.
16948 * string/stpcpy.c (__stpcpy): Likewise.
16949 * string/strcmp.c (strcmp): Likewise.
16950 * string/strrchr.c (strrchr): Likewise.
16951 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16953 * sysdeps/mach/hurd/getcwd.c
16954 (_hurd_canonicalize_directory_name_internal): Likewise.
16955 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16956 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16957 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16958 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16959 Likewise, in both definitions.
16960 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16962 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16963 64] (__bswap_64): Likewise.
16964 * time/test_time.c (main): Likewise.
16965 * time/tzfile.c (__tzfile_read): Likewise.
16966 (__tzfile_compute): Likewise.
16967 * time/tzset.c (__tzset_parse_tz): Likewise.
16968 (tzset_internal): Likewise.
16969 (compute_change): Likewise.
16970 * wcsmbs/wcscat.c (__wcscat): Likewise.
16971 * wcsmbs/wcschr.c (wcschr): Likewise.
16972 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16973 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16974 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16975 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16976 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16977 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16978 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16979 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16980 * wcsmbs/wmemset.c (wmemset): Likewise.
16982 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16984 * scripts/config.guess: Update to version 2013-05-16.
16985 * scripts/config.sub: Update to version 2013-04-24.
16986 * scripts/install-sh: Update to version 2011-11-20.07.
16987 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16988 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16990 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16992 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16993 * elf/sln.c: Likewise.
16994 * hurd/hurd/ioctl.h: Likewise.
16995 * hurd/hurdmalloc.c: Likewise.
16996 * hurd/xattr.c: Likewise.
16997 * include/shlib-compat.h: Likewise.
16998 * inet/ruserpass.c: Likewise.
16999 * libio/iofgets_u.c: Likewise.
17000 * libio/iofgetws_u.c: Likewise.
17001 * locale/programs/ld-identification.c: Likewise.
17002 * locale/programs/ld-time.c: Likewise.
17003 * mach/msg-destroy.c: Likewise.
17004 * nss/nss_files/files-netgrp.c: Likewise.
17005 * resolv/res_data.c: Likewise.
17006 * soft-fp/op-1.h: Likewise.
17007 * soft-fp/op-2.h: Likewise.
17008 * soft-fp/op-4.h: Likewise.
17009 * soft-fp/op-common.h: Likewise.
17010 * stdio-common/printf_fphex.c: Likewise.
17011 * stdlib/strtod_l.c: Likewise.
17012 * sunrpc/rpc/clnt.h: Likewise.
17013 * sysdeps/generic/framestate.c: Likewise.
17014 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17015 * sysdeps/i386/bsd-setjmp.S: Likewise.
17016 * sysdeps/i386/__longjmp.S: Likewise.
17017 * sysdeps/i386/setjmp.S: Likewise.
17018 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17019 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17020 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17021 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17025 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17026 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17027 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17036 * sysdeps/ieee754/support.c: Likewise.
17037 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17038 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17039 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17040 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17041 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17042 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17043 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17044 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17045 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17046 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17047 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17048 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17049 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17050 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17051 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17052 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17053 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17056 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17058 * posix/transbug.c: Remove executable mode.
17060 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17062 * crypt/speeds.c: Remove trailing whitespace.
17063 * dlfcn/default.c: Likewise.
17064 * elf/ifuncdep2.c: Likewise.
17065 * elf/ifuncmain1.c: Likewise.
17066 * elf/ifuncmain1vis.c: Likewise.
17067 * elf/testobj.h: Likewise.
17068 * elf/tst-stackguard1.c: Likewise.
17069 * gmon/sys/gmon.h: Likewise.
17070 * hurd/hurdmsg.c: Likewise.
17071 * hurd/new-fd.c: Likewise.
17072 * hurd/ports-get.c: Likewise.
17073 * iconvdata/ibm1008_420.c: Likewise.
17074 * inet/tst-getni1.c: Likewise.
17075 * inet/tst-getni2.c: Likewise.
17076 * libio/ioungetc.c: Likewise.
17077 * libio/wfiledoalloc.c: Likewise.
17078 * manual/libm-err-tab.pl: Likewise.
17079 * math/w_dremf.c: Likewise.
17080 * misc/ftruncate.c: Likewise.
17081 * posix/bug-glob2.c: Likewise.
17082 * posix/tst-pcre.c: Likewise.
17083 * posix/wait4.c: Likewise.
17084 * resolv/README: Likewise.
17085 * resolv/res_debug.h: Likewise.
17086 * resolv/tst-inet_ntop.c: Likewise.
17087 * setjmp/bug269-setjmp.c: Likewise.
17088 * soft-fp/extended.h: Likewise.
17089 * soft-fp/op-1.h: Likewise.
17090 * soft-fp/op-2.h: Likewise.
17091 * soft-fp/op-4.h: Likewise.
17092 * soft-fp/op-8.h: Likewise.
17093 * soft-fp/testit.c: Likewise.
17094 * stdio-common/bug16.c: Likewise.
17095 * stdlib/random.c: Likewise.
17096 * sunrpc/rpcsvc/rquota.x: Likewise.
17097 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17098 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17099 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17100 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17101 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17102 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17103 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17104 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17105 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17106 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17107 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17108 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17109 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17110 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17111 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17112 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17113 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17114 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17115 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17116 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17117 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17118 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17119 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17120 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17121 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17122 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17123 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17124 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17125 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17126 * sysdeps/ieee754/s_lib_version.c: Likewise.
17127 * sysdeps/mach/hurd/check_fds.c: Likewise.
17128 * sysdeps/mach/hurd/getsockname.c: Likewise.
17129 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17130 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17131 * sysdeps/powerpc/bits/link.h: Likewise.
17132 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17133 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17134 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17135 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17136 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17137 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17138 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17139 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17140 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17141 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17142 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17143 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17144 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17145 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17146 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17147 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17148 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17149 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17150 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17151 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17152 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17153 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17154 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17155 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17156 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17157 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17158 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17159 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17160 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17161 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17162 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17163 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17164 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17165 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17166 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17167 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17168 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17169 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17170 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17171 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17172 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17173 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17174 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17175 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17176 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17177 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17178 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17179 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17180 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17181 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17182 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17183 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17184 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17185 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17186 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17187 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17188 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17189 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17190 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17191 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17192 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17193 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17194 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17195 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17196 * sysdeps/powerpc/sysdep.h: Likewise.
17197 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17198 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17199 * sysdeps/sh/dl-trampoline.S: Likewise.
17200 * sysdeps/sh/memset.S: Likewise.
17201 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17202 * sysdeps/sh/strlen.S: Likewise.
17203 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17204 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17205 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17206 * sysdeps/sparc/sparc32/rem.S: Likewise.
17207 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17208 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17209 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17210 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17211 * sysdeps/sparc/sparc32/urem.S: Likewise.
17212 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17213 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17214 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17215 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17216 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17217 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17218 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17219 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17220 * sysdeps/unix/bsd/times.c: Likewise.
17221 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17222 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17226 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17227 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17228 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17229 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17230 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17231 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17232 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17233 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17234 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17235 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17236 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17237 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17238 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17239 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17240 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17241 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17242 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17243 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17244 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17245 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17246 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17247 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17248 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17249 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17250 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17251 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17252 * sysdeps/x86_64/strcspn.S: Likewise.
17254 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17256 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17257 generated file. Regenerate properly from gen-translit.pl.
17258 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17259 locale/C-translit.h.
17261 2013-06-05 Andreas Schwab <schwab@suse.de>
17264 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17265 week as 6 instead of -1.
17266 * time/tst-strptime.c (day_tests): Add test case.
17268 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17270 * sysdeps/generic/math_private.h
17271 (libc_feholdexcept_setround_53bit): Replace with
17272 libc_feholdsetround_53bit.
17273 (libc_feupdateenv_53bit): Replace with
17274 libc_feresetround_53bit.
17275 (SET_RESTORE_ROUND_53BIT): Adjust.
17277 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17279 * string/test-strchrnul.c: Add copyright header.
17281 * posix/tst-getaddrinfo4.c: Increase test timeout.
17283 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17286 * math/libm-test.inc (MAX_EXP): Remove
17288 (ulp): Use MIN_EXP - MANT_DIG.
17289 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17291 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17293 * po/be.po: Revert last change.
17294 * po/zh_CN.po: Likewise.
17295 * po/header.pot: Likewise.
17297 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17299 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17300 link-libc-deps to empty as target-specific variable.
17301 * Makerules (link-libc-args): New variable.
17302 (libc-for-link): Likewise.
17303 (link-libc-deps): Likewise.
17304 (lib%.so): Depend on $(link-libc-deps). Link with
17306 (build-module): Link with $(link-libc-args).
17307 (build-module-asneeded): Likewise.
17308 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17310 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17311 target-specific variable.
17312 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17313 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17314 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17316 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17318 ($(objpfx)libpcprofile.so): Likewise.
17319 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17321 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17322 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17323 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17325 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17326 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17327 * login/Makefile ($(objpfx)libutil.so): Likewise.
17328 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17329 * math/Makefile ($(objpfx)libm.so): Likewise.
17330 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17331 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17332 variable instead of depending directly on libc.
17333 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17334 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17336 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17338 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17339 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17340 ($(objpfx)libanl.so): Likewise.
17341 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17343 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17345 * sysdeps/i386/fpu/Makefile: Remove file.
17346 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17347 ($(objpfx)libm.so): Remove dependency on ld.so.
17349 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17352 * nis/yp_xdr.c (XDRMAXNAME): Define.
17353 (XDRMAXRECORD): Define.
17354 (xdr_domainname): Use XDRMAXNAME.
17355 (xdr_mapname): Likewise.
17356 (xdr_peername): Likewise.
17357 (xdr_keydat): Use XDRMAXRECORD.
17358 (xdr_valdat): Likewise.
17360 2013-05-30 Jeff Law <law@redhat.com>
17363 * manual/errno.texi (ESTALE): Update to account for more than
17364 just NFS file systems.
17365 * sysdeps/gnu/errlist.c: Regenerated.
17367 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17370 * elf/Makefile (tests): Add tst-null-argv.
17371 (modules-names): Add tst-null-argv-lib.
17372 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17373 (tst-null-argv-ENV): Set environment for tst-null-argv.
17374 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17375 (RTLD_PROGNAME): New macro.
17376 * elf/tst-null-argv.c: New test case.
17377 * elf/tst-null-argv-lib.c: Library for test case.
17378 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17379 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17380 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17381 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17382 * elf/dl-init.c (call_init): Likewise.
17383 (_dl_init): Likewise.
17384 * elf/dl-load.c (print_search_path): Likewise.
17385 (_dl_map_object): Likewise.
17386 * elf/dl-lookup.c (do_lookup_x): Likewise.
17387 (add_dependency): Likewise.
17388 (_dl_lookup_symbol_x): Likewise.
17389 (_dl_debug_bindings): Likewise.
17390 * elf/dl-open.c (_dl_show_scope): Likewise.
17391 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17392 * elf/dl-version.c (match_symbol): Likewise.
17393 (_dl_check_map_versions): Likewise.
17394 * elf/rtld.c (dl_main): Likewise.
17395 (print_unresolved): Use RTLD_PROGNAME.
17396 (print_missing_version): Likewise.
17397 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17398 (elf_machine_rela): Likewise.
17399 * sysdeps/powerpc/powerpc32/dl-machine.c
17400 (__process_machine_rela): Likewise.
17401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17403 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17405 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17407 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17408 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17410 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17412 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17414 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17416 * po/be.po: Add descriptive title.
17417 * po/zh_CN.po: Likewise.
17418 * po/header.pot: Likewise.
17420 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17422 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17424 (enlarge_archive): Likewise.
17426 2013-05-28 Ben North <ben@redfrontdoor.org>
17428 * manual/arith.texi (frexp): It is the magnitude of the return
17429 value which lies in [0.5, 1), not the return value itself.
17431 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17435 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17437 * stdio-common/bug26.c (main): Correct fscanf template.
17439 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17440 declare _dl_skip_args.
17442 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17445 * manual/platform.texi: Add missing @end deftypefun.
17447 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17450 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17451 bit of mantissa of 2^16382.
17452 * math/libm-test.inc (hypot_test_data): Add more tests.
17454 * math/libm-test.inc: Add drem and pow10 to list of tested
17456 (pow10_test): New function.
17457 (drem_test): Likewise.
17458 (drem_test_tonearest): Likewise.
17459 (drem_test_towardzero): Likewise.
17460 (drem_test_downward): Likewise.
17461 (drem_test_upward): Likewise.
17462 (main): Call the new functions.
17464 * math/libm-test.inc (finite_test_data): Remove.
17465 (finite_test): Run tests from isfinite_test_data.
17466 (gamma_test_data): Remove.
17467 (gamma_test): Run tests from lgamma_test_data.
17468 * sysdeps/i386/fpu/libm-test-ulps: Update.
17469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17471 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17473 * manual/platform.texi: Add PowerPC PPR function set documentation.
17474 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17477 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17479 * math/libm-test.inc (MAX_EXP): Define.
17481 (ulp): New function.
17482 (check_float_internal): Use ULPDIFF.
17483 (cpow_test): Disable failing test.
17484 (check_ulp): Test ulp() implemetnation.
17485 (main): Call check_ulp before starting tests.
17487 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17489 * math/gen-libm-test.pl (generate_testfile): Do not handle
17490 START_DATA and END_DATA.
17491 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17493 (acos_tonearest_test_data): Likewise.
17494 (acos_towardzero_test_data): Likewise.
17495 (acos_downward_test_data): Likewise.
17496 (acos_upward_test_data): Likewise.
17497 (acosh_test_data): Likewise.
17498 (asin_test_data): Likewise.
17499 (asin_tonearest_test_data): Likewise.
17500 (asin_towardzero_test_data): Likewise.
17501 (asin_downward_test_data): Likewise.
17502 (asin_upward_test_data): Likewise.
17503 (asinh_test_data): Likewise.
17504 (atan_test_data): Likewise.
17505 (atanh_test_data): Likewise.
17506 (atan2_test_data): Likewise.
17507 (cabs_test_data): Likewise.
17508 (cacos_test_data): Likewise.
17509 (cacosh_test_data): Likewise.
17510 (carg_test_data): Likewise.
17511 (casin_test_data): Likewise.
17512 (casinh_test_data): Likewise.
17513 (catan_test_data): Likewise.
17514 (catanh_test_data): Likewise.
17515 (cbrt_test_data): Likewise.
17516 (ccos_test_data): Likewise.
17517 (ccosh_test_data): Likewise.
17518 (ceil_test_data): Likewise.
17519 (cexp_test_data): Likewise.
17520 (cimag_test_data): Likewise.
17521 (clog_test_data): Likewise.
17522 (clog10_test_data): Likewise.
17523 (conj_test_data): Likewise.
17524 (copysign_test_data): Likewise.
17525 (cos_test_data): Likewise.
17526 (cos_tonearest_test_data): Likewise.
17527 (cos_towardzero_test_data): Likewise.
17528 (cos_downward_test_data): Likewise.
17529 (cos_upward_test_data): Likewise.
17530 (cosh_test_data): Likewise.
17531 (cosh_tonearest_test_data): Likewise.
17532 (cosh_towardzero_test_data): Likewise.
17533 (cosh_downward_test_data): Likewise.
17534 (cosh_upward_test_data): Likewise.
17535 (cpow_test_data): Likewise.
17536 (cproj_test_data): Likewise.
17537 (creal_test_data): Likewise.
17538 (csin_test_data): Likewise.
17539 (csinh_test_data): Likewise.
17540 (csqrt_test_data): Likewise.
17541 (ctan_test_data): Likewise.
17542 (ctan_tonearest_test_data): Likewise.
17543 (ctan_towardzero_test_data): Likewise.
17544 (ctan_downward_test_data): Likewise.
17545 (ctan_upward_test_data): Likewise.
17546 (ctanh_test_data): Likewise.
17547 (ctanh_tonearest_test_data): Likewise.
17548 (ctanh_towardzero_test_data): Likewise.
17549 (ctanh_downward_test_data): Likewise.
17550 (ctanh_upward_test_data): Likewise.
17551 (erf_test_data): Likewise.
17552 (erfc_test_data): Likewise.
17553 (exp_test_data): Likewise.
17554 (exp_tonearest_test_data): Likewise.
17555 (exp_towardzero_test_data): Likewise.
17556 (exp_downward_test_data): Likewise.
17557 (exp_upward_test_data): Likewise.
17558 (exp10_test_data): Likewise.
17559 (exp2_test_data): Likewise.
17560 (expm1_test_data): Likewise.
17561 (fabs_test_data): Likewise.
17562 (fdim_test_data): Likewise.
17563 (finite_test_data): Likewise.
17564 (floor_test_data): Likewise.
17565 (fma_test_data): Likewise.
17566 (fma_towardzero_test_data): Likewise.
17567 (fma_downward_test_data): Likewise.
17568 (fma_upward_test_data): Likewise.
17569 (fmax_test_data): Likewise.
17570 (fmin_test_data): Likewise.
17571 (fmod_test_data): Likewise.
17572 (fpclassify_test_data): Likewise.
17573 (frexp_test_data): Likewise.
17574 (gamma_test_data): Likewise.
17575 (hypot_test_data): Likewise.
17576 (ilogb_test_data): Likewise.
17577 (isfinite_test_data): Likewise.
17578 (isgreater_test_data): Likewise.
17579 (isgreaterequal_test_data): Likewise.
17580 (isinf_test_data): Likewise.
17581 (isless_test_data): Likewise.
17582 (islessequal_test_data): Likewise.
17583 (islessgreater_test_data): Likewise.
17584 (isnan_test_data): Likewise.
17585 (isnormal_test_data): Likewise.
17586 (issignaling_test_data): Likewise.
17587 (isunordered_test_data): Likewise.
17588 (j0_test_data): Likewise.
17589 (j1_test_data): Likewise.
17590 (jn_test_data): Likewise.
17591 (ldexp_test_data): Likewise.
17592 (lgamma_test_data): Likewise.
17593 (lrint_test_data): Likewise.
17594 (lrint_tonearest_test_data): Likewise.
17595 (lrint_towardzero_test_data): Likewise.
17596 (lrint_downward_test_data): Likewise.
17597 (lrint_upward_test_data): Likewise.
17598 (llrint_test_data): Likewise.
17599 (llrint_tonearest_test_data): Likewise.
17600 (llrint_towardzero_test_data): Likewise.
17601 (llrint_downward_test_data): Likewise.
17602 (llrint_upward_test_data): Likewise.
17603 (log_test_data): Likewise.
17604 (log10_test_data): Likewise.
17605 (log1p_test_data): Likewise.
17606 (log2_test_data): Likewise.
17607 (logb_test_data): Likewise.
17608 (logb_downward_test_data): Likewise.
17609 (lround_test_data): Likewise.
17610 (llround_test_data): Likewise.
17611 (modf_test_data): Likewise.
17612 (nearbyint_test_data): Likewise.
17613 (nextafter_test_data): Likewise.
17614 (nexttoward_test_data): Likewise.
17615 (pow_test_data): Likewise.
17616 (pow_tonearest_test_data): Likewise.
17617 (pow_towardzero_test_data): Likewise.
17618 (pow_downward_test_data): Likewise.
17619 (pow_upward_test_data): Likewise.
17620 (remainder_test_data): Likewise.
17621 (remainder_tonearest_test_data): Likewise.
17622 (remainder_towardzero_test_data): Likewise.
17623 (remainder_downward_test_data): Likewise.
17624 (remainder_upward_test_data): Likewise.
17625 (remquo_test_data): Likewise.
17626 (rint_test_data): Likewise.
17627 (rint_tonearest_test_data): Likewise.
17628 (rint_towardzero_test_data): Likewise.
17629 (rint_downward_test_data): Likewise.
17630 (rint_upward_test_data): Likewise.
17631 (round_test_data): Likewise.
17632 (scalb_test_data): Likewise.
17633 (scalbn_test_data): Likewise.
17634 (scalbln_test_data): Likewise.
17635 (signbit_test_data): Likewise.
17636 (sin_test_data): Likewise.
17637 (sin_tonearest_test_data): Likewise.
17638 (sin_towardzero_test_data): Likewise.
17639 (sin_downward_test_data): Likewise.
17640 (sin_upward_test_data): Likewise.
17641 (sincos_test_data): Likewise.
17642 (sinh_test_data): Likewise.
17643 (sinh_tonearest_test_data): Likewise.
17644 (sinh_towardzero_test_data): Likewise.
17645 (sinh_downward_test_data): Likewise.
17646 (sinh_upward_test_data): Likewise.
17647 (sqrt_test_data): Likewise.
17648 (tan_test_data): Likewise.
17649 (tan_tonearest_test_data): Likewise.
17650 (tan_towardzero_test_data): Likewise.
17651 (tan_downward_test_data): Likewise.
17652 (tan_upward_test_data): Likewise.
17653 (tanh_test_data): Likewise.
17654 (tgamma_test_data): Likewise.
17655 (trunc_test_data): Likewise.
17656 (y0_test_data): Likewise.
17657 (y1_test_data): Likewise.
17658 (yn_test_data): Likewise.
17659 (significand_test_data): Likewise.
17661 * math/gen-libm-test.pl (@functions): Remove variable.
17662 (generate_testfile): Don't handle START and END lines.
17663 * math/libm-test.inc (START): New macro.
17665 (END_COMPLEX): Likewise.
17666 (acos_test): Use END macro without arguments.
17667 (acos_test_tonearest): Likewise.
17668 (acos_test_towardzero): Likewise.
17669 (acos_test_downward): Likewise.
17670 (acos_test_upward): Likewise.
17671 (acosh_test): Likewise.
17672 (asin_test): Likewise.
17673 (asin_test_tonearest): Likewise.
17674 (asin_test_towardzero): Likewise.
17675 (asin_test_downward): Likewise.
17676 (asin_test_upward): Likewise.
17677 (asinh_test): Likewise.
17678 (atan_test): Likewise.
17679 (atanh_test): Likewise.
17680 (atan2_test): Likewise.
17681 (cabs_test): Likewise.
17682 (cacos_test): Use END_COMPLEX macro without arguments.
17683 (cacosh_test): Likewise.
17684 (carg_test): Use END macro without arguments.
17685 (casin_test): Use END_COMPLEX macro without arguments.
17686 (casinh_test): Likewise.
17687 (catan_test): Likewise.
17688 (catanh_test): Likewise.
17689 (cbrt_test): Use END macro without arguments.
17690 (ccos_test): Use END_COMPLEX macro without arguments.
17691 (ccosh_test): Likewise.
17692 (ceil_test): Use END macro without arguments.
17693 (cexp_test): Use END_COMPLEX macro without arguments.
17694 (cimag_test): Use END macro without arguments.
17695 (clog_test): Use END_COMPLEX macro without arguments.
17696 (clog10_test): Likewise.
17697 (conj_test): Likewise.
17698 (copysign_test): Use END macro without arguments.
17699 (cos_test): Likewise.
17700 (cos_test_tonearest): Likewise.
17701 (cos_test_towardzero): Likewise.
17702 (cos_test_downward): Likewise.
17703 (cos_test_upward): Likewise.
17704 (cosh_test): Likewise.
17705 (cosh_test_tonearest): Likewise.
17706 (cosh_test_towardzero): Likewise.
17707 (cosh_test_downward): Likewise.
17708 (cosh_test_upward): Likewise.
17709 (cpow_test): Use END_COMPLEX macro without arguments.
17710 (cproj_test): Likewise.
17711 (creal_test): Use END macro without arguments.
17712 (csin_test): Use END_COMPLEX macro without arguments.
17713 (csinh_test): Likewise.
17714 (csqrt_test): Likewise.
17715 (ctan_test): Likewise.
17716 (ctan_test_tonearest): Likewise.
17717 (ctan_test_towardzero): Likewise.
17718 (ctan_test_downward): Likewise.
17719 (ctan_test_upward): Likewise.
17720 (ctanh_test): Likewise.
17721 (ctanh_test_tonearest): Likewise.
17722 (ctanh_test_towardzero): Likewise.
17723 (ctanh_test_downward): Likewise.
17724 (ctanh_test_upward): Likewise.
17725 (erf_test): Use END macro without arguments.
17726 (erfc_test): Likewise.
17727 (exp_test): Likewise.
17728 (exp_test_tonearest): Likewise.
17729 (exp_test_towardzero): Likewise.
17730 (exp_test_downward): Likewise.
17731 (exp_test_upward): Likewise.
17732 (exp10_test): Likewise.
17733 (exp2_test): Likewise.
17734 (expm1_test): Likewise.
17735 (fabs_test): Likewise.
17736 (fdim_test): Likewise.
17737 (finite_test): Likewise.
17738 (floor_test): Likewise.
17739 (fma_test): Likewise.
17740 (fma_test_towardzero): Likewise.
17741 (fma_test_downward): Likewise.
17742 (fma_test_upward): Likewise.
17743 (fmax_test): Likewise.
17744 (fmin_test): Likewise.
17745 (fmod_test): Likewise.
17746 (fpclassify_test): Likewise.
17747 (frexp_test): Likewise.
17748 (gamma_test): Likewise.
17749 (hypot_test): Likewise.
17750 (ilogb_test): Likewise.
17751 (isfinite_test): Likewise.
17752 (isgreater_test): Likewise.
17753 (isgreaterequal_test): Likewise.
17754 (isinf_test): Likewise.
17755 (isless_test): Likewise.
17756 (islessequal_test): Likewise.
17757 (islessgreater_test): Likewise.
17758 (isnan_test): Likewise.
17759 (isnormal_test): Likewise.
17760 (issignaling_test): Likewise.
17761 (isunordered_test): Likewise.
17762 (j0_test): Likewise.
17763 (j1_test): Likewise.
17764 (jn_test): Likewise.
17765 (ldexp_test): Likewise.
17766 (lgamma_test): Likewise.
17767 (lrint_test): Likewise.
17768 (lrint_test_tonearest): Likewise.
17769 (lrint_test_towardzero): Likewise.
17770 (lrint_test_downward): Likewise.
17771 (lrint_test_upward): Likewise.
17772 (llrint_test): Likewise.
17773 (llrint_test_tonearest): Likewise.
17774 (llrint_test_towardzero): Likewise.
17775 (llrint_test_downward): Likewise.
17776 (llrint_test_upward): Likewise.
17777 (log_test): Likewise.
17778 (log10_test): Likewise.
17779 (log1p_test): Likewise.
17780 (log2_test): Likewise.
17781 (logb_test): Likewise.
17782 (logb_test_downward): Likewise.
17783 (lround_test): Likewise.
17784 (llround_test): Likewise.
17785 (modf_test): Likewise.
17786 (nearbyint_test): Likewise.
17787 (nextafter_test): Likewise.
17788 (nexttoward_test): Likewise.
17789 (pow_test): Likewise.
17790 (pow_test_tonearest): Likewise.
17791 (pow_test_towardzero): Likewise.
17792 (pow_test_downward): Likewise.
17793 (pow_test_upward): Likewise.
17794 (remainder_test): Likewise.
17795 (remainder_test_tonearest): Likewise.
17796 (remainder_test_towardzero): Likewise.
17797 (remainder_test_downward): Likewise.
17798 (remainder_test_upward): Likewise.
17799 (remquo_test): Likewise.
17800 (rint_test): Likewise.
17801 (rint_test_tonearest): Likewise.
17802 (rint_test_towardzero): Likewise.
17803 (rint_test_downward): Likewise.
17804 (rint_test_upward): Likewise.
17805 (round_test): Likewise.
17806 (scalb_test): Likewise.
17807 (scalbn_test): Likewise.
17808 (scalbln_test): Likewise.
17809 (signbit_test): Likewise.
17810 (sin_test): Likewise.
17811 (sin_test_tonearest): Likewise.
17812 (sin_test_towardzero): Likewise.
17813 (sin_test_downward): Likewise.
17814 (sin_test_upward): Likewise.
17815 (sincos_test): Likewise.
17816 (sinh_test): Likewise.
17817 (sinh_test_tonearest): Likewise.
17818 (sinh_test_towardzero): Likewise.
17819 (sinh_test_downward): Likewise.
17820 (sinh_test_upward): Likewise.
17821 (sqrt_test): Likewise.
17822 (tan_test): Likewise.
17823 (tan_test_tonearest): Likewise.
17824 (tan_test_towardzero): Likewise.
17825 (tan_test_downward): Likewise.
17826 (tan_test_upward): Likewise.
17827 (tanh_test): Likewise.
17828 (tgamma_test): Likewise.
17829 (trunc_test): Likewise.
17830 (y0_test): Likewise.
17831 (y1_test): Likewise.
17832 (yn_test): Likewise.
17833 (significand_test): Likewise.
17835 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17838 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17840 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17843 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17844 __ppc_mdoio and __ppc_mdoom.
17845 * manual/platform.texi: Document new functions __ppc_yield,
17846 __ppc_mdoio and __ppc_mdoom.
17848 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17850 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17851 (main): Mention "tls" pseudo-hwcap is legacy.
17852 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17854 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17856 * math/gen-libm-test.pl (parse_args): Output only string of
17857 arguments as text for test name, not full call or descriptions of
17858 tests for extra outputs.
17859 (generate_testfile): Do not pass function name to parse_args.
17860 Generate this_func variable from START.
17861 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17863 (struct test_ff_f_data): Likewise.
17864 (test_ff_f_data_nexttoward): Likewise.
17865 (struct test_fi_f_data): Likewise.
17866 (struct test_fl_f_data): Likewise.
17867 (struct test_if_f_data): Likewise.
17868 (struct test_fff_f_data): Likewise.
17869 (struct test_c_f_data): Likewise.
17870 (struct test_f_f1_data): Likewise. Remove field extra_name.
17871 (struct test_fF_f1_data): Likewise.
17872 (struct test_ffI_f1_data): Likewise.
17873 (struct test_c_c_data): Rename test_name field to arg_str.
17874 (struct test_cc_c_data): Likewise.
17875 (struct test_f_i_data): Likewise.
17876 (struct test_ff_i_data): Likewise.
17877 (struct test_f_l_data): Likewise.
17878 (struct test_f_L_data): Likewise.
17879 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17881 (COMMON_TEST_SETUP): New macro.
17882 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17883 (COMMON_TEST_CLEANUP): Likewise.
17884 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17885 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17887 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17888 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17890 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17891 (RUN_TEST_fff_f): Take argument string. Call new setup and
17893 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17894 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17896 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17897 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17899 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17900 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17902 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17903 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17905 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17906 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17908 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17909 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17911 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17912 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17914 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17915 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17917 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17918 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17920 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17921 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17923 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17924 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17926 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17927 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17929 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17930 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17932 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17933 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17935 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17936 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17938 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17940 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17942 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17943 to _sifields.sigfault.
17944 (si_addr_lsb): Define new macro.
17945 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17946 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17947 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17949 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17952 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17954 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17956 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17957 loading the domain.
17959 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17961 * math/gen-libm-test.pl (parse_args): Do not include expected
17962 result in test name.
17963 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17964 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17965 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17966 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17967 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17970 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17972 * benchtests/Makefile: Sort function entries.
17974 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17975 tanh, asinh, acosh, atanh.
17976 * benchtests/acos-inputs: New file.
17977 * benchtests/acosh-inputs: New file.
17978 * benchtests/asin-inputs: New file.
17979 * benchtests/asinh-inputs: New file.
17980 * benchtests/atanh-inputs: New file.
17981 * benchtests/cosh-inputs: New file.
17982 * benchtests/log-inputs: New file.
17983 * benchtests/sinh-inputs: New file.
17984 * benchtests/tanh-inputs: New file.
17986 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17989 * posix/tst-getaddrinfo4.c: New test.
17990 * posix/Makefile (tests): Add it.
17992 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17995 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17996 when no services were used.
17997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17998 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18000 2013-05-21 Andreas Schwab <schwab@suse.de>
18003 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18004 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18006 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18007 redundant variable declarations and reallocation of buffer when
18008 parsing as IPv6 address. Always set NSS status when called from
18009 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18010 buffer too small. Correct computation of needed size.
18011 * nss/Makefile (tests): Add test-digits-dots.
18012 * nss/test-digits-dots.c: New test.
18014 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18016 * benchtests/Makefile: Remove instructions for adding
18018 * benchtests/README: New file to explain how to execute and
18019 enhance the benchmark tests.
18021 2013-05-21 Andreas Schwab <schwab@suse.de>
18024 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18025 * setjmp/tst-sigsetjmp.c: New test.
18027 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18029 * sysdeps/x86_64/memset.S (memset): New implementation.
18030 (__bzero): Likewise.
18031 (__memset_tail): New function.
18033 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18035 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18036 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18037 __memcpy_sse2_unaligned ifunc selection.
18038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18039 Add memcpy-sse2-unaligned.S.
18040 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18041 Add: __memcpy_sse2_unaligned.
18043 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18046 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18047 math_force_eval before restoring floating-point envrionment.
18048 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18051 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18053 (__nearbyintl): Use math_force_eval before restoring
18054 floating-point environment.
18055 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18057 * math/gen-libm-test.pl (special_functions): Remove.
18058 (parse_args): Don't handle TEST_extra. Handle functions with no
18060 * math/libm-test.inc (struct test_sincos_data): Replace with
18061 struct test_fFF_11_data.
18062 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18063 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18064 (sincos_test_data): Change element type to struct
18065 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18066 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18067 RUN_TEST_LOOP_sincos.
18068 * math/README.libm-test: Don't mention special handling of
18069 individual functions.
18070 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18071 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18072 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18073 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18074 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18077 * math/gen-libm-test.pl (get_variable): Remove function.
18078 (parse_args): Don't show pointer parameters to call in test
18079 names. Use "extra output N" in test names for extra outputs
18080 rather than naming variables.
18082 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18085 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18086 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18087 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18089 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18091 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18094 * math/gen-libm-test.pl (@tests): Remove variable.
18095 ($count): Likewise.
18096 (new_test): Remove function.
18097 (show_exceptions): New function.
18098 (special_functions): Use show_exceptions instead of new_test.
18099 (parse_args): Likewise.
18100 (generate_testfile): Pass only function name in generated call to
18101 print_max_error or print_complex_max_error.
18102 (get_ulps): Do not handle complex tests specially.
18103 (output_test): Rename to ...
18104 (get_all_ulps_for_test): ... this. Return a string rather than
18105 printing to a file. Require ulps to be present.
18106 (output_ulps): Generate arrays rather than #defines.
18107 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18108 (struct ulp_data): New type.
18109 (BUILD_COMPLEX_ULP): Remove macro.
18110 (compare_ulp_data): New function.
18111 (find_ulps): Likewise.
18112 (find_test_ulps): Likewise.
18113 (find_function_ulps): Likewise.
18114 (find_complex_function_ulps): Likewise.
18115 (print_max_error): Determine allowed ulps using
18116 find_function_ulps.
18117 (print_complex_max_error): Determine allowed ulps using
18118 find_complex_function_ulps.
18119 (check_float_internal): Determine max ulps using find_test_ulps.
18120 (check_float): Do not take max_ulp parameter. Update call to
18121 check_float_internal.
18122 (check_complex): Likewise.
18123 (check_int): Do not take max_ulp parameter.
18124 (check_long): Likewise.
18125 (check_bool): Likewise.
18126 (check_longlong): Likewise.
18127 (struct test_f_f_data): Remove max_ulp field.
18128 (struct test_ff_f_data): Likewise.
18129 (struct test_ff_f_data_nexttoward): Likewise.
18130 (struct test_fi_f_data): Likewise.
18131 (struct test_fl_f_data): Likewise.
18132 (struct test_if_f_data): Likewise.
18133 (struct test_fff_f_data): Likewise.
18134 (struct test_c_f_data): Likewise.
18135 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18136 (struct test_fF_f1_data): Likewise.
18137 (struct test_ffI_f1_data): Likewise.
18138 (struct test_c_c_data): Remove max_ulp field.
18139 (struct test_cc_c_data): Likewise.
18140 (struct test_f_i_data): Likewise.
18141 (struct test_ff_i_data): Likewise.
18142 (struct test_f_l_data): Likewise.
18143 (struct test_f_L_data): Likewise.
18144 (struct test_sincos_data): Likewise.
18145 (RUN_TEST_f_f): Do not handle ulps.
18146 (RUN_TEST_LOOP_f_f): Likewise.
18147 (RUN_TEST_2_f): Likewise.
18148 (RUN_TEST_LOOP_2_f): Likewise.
18149 (RUN_TEST_fff_f): Likewise.
18150 (RUN_TEST_LOOP_fff_f): Likewise.
18151 (RUN_TEST_c_f): Likewise.
18152 (RUN_TEST_LOOP_c_f): Likewise.
18153 (RUN_TEST_f_f1): Likewise.
18154 (RUN_TEST_LOOP_f_f1): Likewise.
18155 (RUN_TEST_fF_f1): Likewise.
18156 (RUN_TEST_LOOP_fF_f1): Likewise.
18157 (RUN_TEST_fI_f1): Likewise.
18158 (RUN_TEST_LOOP_fI_f1): Likewise.
18159 (RUN_TEST_ffI_f1): Likewise.
18160 (RUN_TEST_LOOP_ffI_f1): Likewise.
18161 (RUN_TEST_c_c): Likewise.
18162 (RUN_TEST_LOOP_c_c): Likewise.
18163 (RUN_TEST_cc_c): Likewise.
18164 (RUN_TEST_LOOP_cc_c): Likewise.
18165 (RUN_TEST_f_i): Likewise.
18166 (RUN_TEST_LOOP_f_i): Likewise.
18167 (RUN_TEST_f_i_tg): Likewise.
18168 (RUN_TEST_LOOP_f_i_tg): Likewise.
18169 (RUN_TEST_ff_i_tg): Likewise.
18170 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18171 (RUN_TEST_f_b): Likewise.
18172 (RUN_TEST_LOOP_f_b): Likewise.
18173 (RUN_TEST_f_b_tg): Likewise.
18174 (RUN_TEST_LOOP_f_b_tg): Likewise.
18175 (RUN_TEST_f_l): Likewise.
18176 (RUN_TEST_LOOP_f_l): Likewise.
18177 (RUN_TEST_f_L): Likewise.
18178 (RUN_TEST_LOOP_f_L): Likewise.
18179 (RUN_TEST_sincos): Likewise.
18180 (RUN_TEST_LOOP_sincos): Likewise.
18182 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18186 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18187 main case of finite arguments, set rounding mode to FE_TONEAREST
18188 and discard exceptions.
18189 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18191 (remainder_tonearest_test_data): New variable.
18192 (remainder_test_tonearest): New function.
18193 (remainder_towardzero_test_data): New variable.
18194 (remainder_test_towardzero): New function.
18195 (remainder_downward_test_data): New variable.
18196 (remainder_test_downward): New function.
18197 (remainder_upward_test_data): New variable.
18198 (remainder_test_upward): New function.
18199 (main): Call the new test functions.
18201 * math/libm-test.inc (struct test_f_f1_data): Remove field
18203 (struct test_fF_f1_data): Likewise.
18204 (struct test_ffI_f1_data): Likewise.
18205 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18206 based on value of EXTRA_EXPECTED.
18207 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18208 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18209 EXTRA_VAR based on value of EXTRA_EXPECTED.
18210 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18211 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18212 EXTRA_VAR based on value of EXTRA_EXPECTED.
18213 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18214 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18215 EXTRA_VAR based on value of EXTRA_EXPECTED.
18216 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18217 * math/gen-libm-test.pl (parse_args): Don't output initializers
18218 for extra output values.
18220 * math/libm-test.inc (check_int): Expect result to be exactly
18221 equal to expected value and do not handle ulps.
18222 (check_long): Likewise.
18223 (check_longlong): Likewise.
18225 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18227 (cimag_test_data): Likewise.
18228 (conj_test_data): Likewise.
18229 (copysign_test_data): Likewise.
18230 (cproj_test_data): Likewise.
18231 (creal_test_data): Likewise.
18232 (fabs_test_data): Likewise.
18233 (fdim_test_data): Likewise.
18234 (finite_test_data): Likewise.
18235 (floor_test_data): Likewise.
18236 (fmax_test_data): Likewise.
18237 (fmin_test_data): Likewise.
18238 (fmod_test_data): Likewise.
18239 (fpclassify_test_data): Likewise.
18240 (frexp_test_data): Likewise.
18241 (ilogb_test_data): Likewise.
18242 (isfinite_test_data): Likewise.
18243 (isgreater_test_data): Likewise.
18244 (isgreaterequal_test_data): Likewise.
18245 (isinf_test_data): Likewise.
18246 (isless_test_data): Likewise.
18247 (islessequal_test_data): Likewise.
18248 (islessgreater_test_data): Likewise.
18249 (isnan_test_data): Likewise.
18250 (isnormal_test_data): Likewise.
18251 (issignaling_test_data): Likewise.
18252 (isunordered_test_data): Likewise.
18253 (ldexp_test_data): Likewise.
18254 (lrint_test_data): Likewise.
18255 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18256 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18257 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18258 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18259 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18260 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18262 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18263 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18264 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18265 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18267 (lrint_downward_test_data): Test for "inexact" exceptions.
18268 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18269 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18270 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18272 (lrint_upward_test_data): Test for "inexact" exceptions.
18273 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18275 (llrint_test_data): Test for "inexact" exceptions.
18276 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18277 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18278 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18279 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18280 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18281 (llrint_downward_test_data): Test for "inexact" exceptions.
18282 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18283 (llrint_upward_test_data): Test for "inexact" exceptions.
18284 (logb_test_data): Likewise.
18285 (logb_downward_test_data): Likewise.
18286 (nextafter_test_data): Likewise.
18287 (nexttoward_test_data): Likewise.
18288 (remainder_test_data): Likewise.
18289 (remquo_test_data): Likewise.
18290 (scalbn_test_data): Likewise.
18291 (scalbln_test_data): Likewise.
18292 (signbit_test_data): Likewise.
18293 (sqrt_test_data): Likewise.
18294 (significand_test_data): Likewise.
18296 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18299 * benchtests/bench-modf.c (struct args): Mark arg0 as
18301 * scripts/bench.pl: Mark members of struct args as volatile.
18303 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18306 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18307 negative infinity on POWER6 or lower.
18308 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18310 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18313 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18314 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18315 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18316 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18317 (_FP_SETQNAN): New macro.
18318 (_FP_SETQNAN_SEMIRAW): Likewise.
18319 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18320 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18321 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18322 (FP_EXTEND): Use _FP_FRAC_SNANP.
18323 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18324 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18326 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18328 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18331 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18333 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18334 with DIVIDE_BY_ZERO_EXCEPTION.
18335 (gamma_test_data): Likewise.
18336 (lgamma_test_data): Likewise.
18337 (log_test_data): Likewise.
18338 (log10_test_data): Likewise.
18339 (log2_test_data): Likewise.
18340 (tgamma_test_data): Likewise.
18342 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18343 (acos_test_tonearest): Likewise.
18344 (acos_test_towardzero): Likewise.
18345 (acos_test_downward): Likewise.
18346 (acos_test_upward): Likewise.
18347 (acosh_test): Likewise.
18348 (asin_test): Likewise.
18349 (asin_test_tonearest): Likewise.
18350 (asin_test_towardzero): Likewise.
18351 (asin_test_downward): Likewise.
18352 (asin_test_upward): Likewise.
18353 (asinh_test): Likewise.
18354 (atan_test): Likewise.
18355 (atanh_test): Likewise.
18356 (atan2_test): Likewise.
18357 (cabs_test): Likewise.
18358 (cacos_test): Likewise.
18359 (cacosh_test): Likewise.
18360 (casin_test): Likewise.
18361 (casinh_test): Likewise.
18362 (catan_test): Likewise.
18363 (catanh_test): Likewise.
18364 (cbrt_test): Likewise.
18365 (ccos_test): Likewise.
18366 (ccosh_test): Likewise.
18367 (cexp_test): Likewise.
18368 (clog_test): Likewise.
18369 (clog10_test): Likewise.
18370 (cos_test): Likewise.
18371 (cos_test_tonearest): Likewise.
18372 (cos_test_towardzero): Likewise.
18373 (cos_test_downward): Likewise.
18374 (cos_test_upward): Likewise.
18375 (cosh_test): Likewise.
18376 (cosh_test_tonearest): Likewise.
18377 (cosh_test_towardzero): Likewise.
18378 (cosh_test_downward): Likewise.
18379 (cosh_test_upward): Likewise.
18380 (cpow_test): Likewise.
18381 (csin_test): Likewise.
18382 (csinh_test): Likewise.
18383 (csqrt_test): Likewise.
18384 (ctan_test): Likewise.
18385 (ctan_test_tonearest): Likewise.
18386 (ctan_test_towardzero): Likewise.
18387 (ctan_test_downward): Likewise.
18388 (ctan_test_upward): Likewise.
18389 (ctanh_test): Likewise.
18390 (ctanh_test_tonearest): Likewise.
18391 (ctanh_test_towardzero): Likewise.
18392 (ctanh_test_downward): Likewise.
18393 (ctanh_test_upward): Likewise.
18394 (erf_test): Likewise.
18395 (erfc_test): Likewise.
18396 (exp_test): Likewise.
18397 (exp_test_tonearest): Likewise.
18398 (exp_test_towardzero): Likewise.
18399 (exp_test_downward): Likewise.
18400 (exp_test_upward): Likewise.
18401 (exp10_test): Likewise.
18402 (exp2_test): Likewise.
18403 (expm1_test): Likewise.
18404 (fmod_test): Likewise.
18405 (gamma_test): Likewise.
18406 (hypot_test): Likewise.
18407 (j0_test): Likewise.
18408 (j1_test): Likewise.
18409 (jn_test): Likewise.
18410 (lgamma_test): Likewise.
18411 (log_test): Likewise.
18412 (log10_test): Likewise.
18413 (log1p_test): Likewise.
18414 (log2_test): Likewise.
18415 (logb_test_downward): Likewise.
18416 (pow_test): Likewise.
18417 (pow_test_tonearest): Likewise.
18418 (pow_test_towardzero): Likewise.
18419 (pow_test_downward): Likewise.
18420 (pow_test_upward): Likewise.
18421 (remainder_test): Likewise.
18422 (remquo_test): Likewise.
18423 (sin_test): Likewise.
18424 (sin_test_tonearest): Likewise.
18425 (sin_test_towardzero): Likewise.
18426 (sin_test_downward): Likewise.
18427 (sin_test_upward): Likewise.
18428 (sincos_test): Likewise.
18429 (sinh_test): Likewise.
18430 (sinh_test_tonearest): Likewise.
18431 (sinh_test_towardzero): Likewise.
18432 (sinh_test_downward): Likewise.
18433 (sinh_test_upward): Likewise.
18434 (sqrt_test): Likewise.
18435 (tan_test): Likewise.
18436 (tan_test_tonearest): Likewise.
18437 (tan_test_towardzero): Likewise.
18438 (tan_test_downward): Likewise.
18439 (tan_test_upward): Likewise.
18440 (tanh_test): Likewise.
18441 (tgamma_test): Likewise.
18442 (y0_test): Likewise.
18443 (y1_test): Likewise.
18444 (yn_test): Likewise.
18446 * math/gen-libm-test.pl (adjust_arg): Remove function.
18447 (special_function): Remove argument $in_func. Only handle
18448 generating output for tables of tests, not inside functions.
18449 (parse_args): Likewise.
18450 (generate_testfile): Remove variable $in_func. Update call to
18452 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18453 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18454 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18455 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18456 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18457 (MAX_VALUE_INIT): Rename macro to max_value.
18458 (MIN_VALUE_INIT): Rename macro to min_value.
18459 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18460 (plus_zero): Remove variable.
18461 (minus_zero): Likewise.
18462 (plus_infty): Likewise.
18463 (minus_infty): Likewise.
18464 (qnan_value): Likewise.
18465 (max_value): Likewise.
18466 (min_value): Likewise.
18467 (min_subnorm_value): Likewise.
18469 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18471 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18472 uint64_t or uint32_t usage.
18473 * crypt/sha256-block.c: Likewise.
18474 * crypt/sha256-crypt.c: Likewise.
18475 * crypt/sha256.c: Likewise.
18476 * crypt/sha512-block.c: Likewise.
18477 * crypt/sha512-crypt.c: Likewise.
18478 * crypt/sha512.c: Likewise.
18479 * debug/backtrace-tst.c: Likewise.
18480 * debug/pcprofiledump.c: Likewise.
18481 * elf/cache.c: Likewise.
18482 * elf/dl-cache.c: Likewise.
18483 * elf/dl-misc.c: Likewise.
18484 * elf/dl-profile.c: Likewise.
18485 * elf/dl-support.c: Likewise.
18486 * elf/ldconfig.c: Likewise.
18487 * elf/sprof.c: Likewise.
18488 * iconv/dummy-repertoire.c: Likewise.
18489 * iconv/iconv_charmap.c: Likewise.
18490 * iconv/skeleton.c: Likewise.
18491 * iconvdata/8bit-generic.c: Likewise.
18492 * iconvdata/cp737.h: Likewise.
18493 * iconvdata/cp775.h: Likewise.
18494 * iconvdata/ibm1008.h: Likewise.
18495 * iconvdata/ibm1025.h: Likewise.
18496 * iconvdata/ibm1046.h: Likewise.
18497 * iconvdata/ibm1097.h: Likewise.
18498 * iconvdata/ibm1112.h: Likewise.
18499 * iconvdata/ibm1122.h: Likewise.
18500 * iconvdata/ibm1123.h: Likewise.
18501 * iconvdata/ibm1124.h: Likewise.
18502 * iconvdata/ibm1129.h: Likewise.
18503 * iconvdata/ibm1130.h: Likewise.
18504 * iconvdata/ibm1132.h: Likewise.
18505 * iconvdata/ibm1133.h: Likewise.
18506 * iconvdata/ibm1137.h: Likewise.
18507 * iconvdata/ibm1140.h: Likewise.
18508 * iconvdata/ibm1141.h: Likewise.
18509 * iconvdata/ibm1142.h: Likewise.
18510 * iconvdata/ibm1143.h: Likewise.
18511 * iconvdata/ibm1144.h: Likewise.
18512 * iconvdata/ibm1145.h: Likewise.
18513 * iconvdata/ibm1146.h: Likewise.
18514 * iconvdata/ibm1147.h: Likewise.
18515 * iconvdata/ibm1148.h: Likewise.
18516 * iconvdata/ibm1149.h: Likewise.
18517 * iconvdata/ibm1153.h: Likewise.
18518 * iconvdata/ibm1154.h: Likewise.
18519 * iconvdata/ibm1155.h: Likewise.
18520 * iconvdata/ibm1156.h: Likewise.
18521 * iconvdata/ibm1157.h: Likewise.
18522 * iconvdata/ibm1158.h: Likewise.
18523 * iconvdata/ibm1160.h: Likewise.
18524 * iconvdata/ibm1161.h: Likewise.
18525 * iconvdata/ibm1162.h: Likewise.
18526 * iconvdata/ibm1163.h: Likewise.
18527 * iconvdata/ibm1164.h: Likewise.
18528 * iconvdata/ibm1166.h: Likewise.
18529 * iconvdata/ibm1167.h: Likewise.
18530 * iconvdata/ibm12712.h: Likewise.
18531 * iconvdata/ibm1390.h: Likewise.
18532 * iconvdata/ibm1399.h: Likewise.
18533 * iconvdata/ibm16804.h: Likewise.
18534 * iconvdata/ibm4517.h: Likewise.
18535 * iconvdata/ibm4899.h: Likewise.
18536 * iconvdata/ibm4909.h: Likewise.
18537 * iconvdata/ibm4971.h: Likewise.
18538 * iconvdata/ibm5347.h: Likewise.
18539 * iconvdata/ibm803.h: Likewise.
18540 * iconvdata/ibm856.h: Likewise.
18541 * iconvdata/ibm901.h: Likewise.
18542 * iconvdata/ibm902.h: Likewise.
18543 * iconvdata/ibm9030.h: Likewise.
18544 * iconvdata/ibm9066.h: Likewise.
18545 * iconvdata/ibm921.h: Likewise.
18546 * iconvdata/ibm922.h: Likewise.
18547 * iconvdata/ibm9448.h: Likewise.
18548 * iconvdata/isiri-3342.h: Likewise.
18549 * iconvdata/jis0201.h: Likewise.
18550 * include/link.h: Likewise.
18551 * include/netdb.h: Likewise.
18552 * inet/check_native.c: Likewise.
18553 * inet/check_pf.c: Likewise.
18554 * inet/getipv4sourcefilter.c: Likewise.
18555 * inet/getnameinfo.c: Likewise.
18556 * inet/getsourcefilter.c: Likewise.
18557 * inet/htonl.c: Likewise.
18558 * inet/setipv4sourcefilter.c: Likewise.
18559 * inet/setsourcefilter.c: Likewise.
18560 * inet/test-inet6_opt.c: Likewise.
18561 * inet/tst-network.c: Likewise.
18562 * locale/C-collate.c: Likewise.
18563 * locale/C-ctype.c: Likewise.
18564 * locale/C-time.c: Likewise.
18565 * locale/C-translit.h: Likewise.
18566 * locale/loadarchive.c: Likewise.
18567 * locale/programs/3level.h: Likewise.
18568 * locale/programs/charmap.c: Likewise.
18569 * locale/programs/charmap.h: Likewise.
18570 * locale/programs/ld-address.c: Likewise.
18571 * locale/programs/ld-collate.c: Likewise.
18572 * locale/programs/ld-ctype.c: Likewise.
18573 * locale/programs/ld-identification.c: Likewise.
18574 * locale/programs/ld-measurement.c: Likewise.
18575 * locale/programs/ld-messages.c: Likewise.
18576 * locale/programs/ld-monetary.c: Likewise.
18577 * locale/programs/ld-name.c: Likewise.
18578 * locale/programs/ld-numeric.c: Likewise.
18579 * locale/programs/ld-paper.c: Likewise.
18580 * locale/programs/ld-telephone.c: Likewise.
18581 * locale/programs/ld-time.c: Likewise.
18582 * locale/programs/linereader.c: Likewise.
18583 * locale/programs/locale.c: Likewise.
18584 * locale/programs/locarchive.c: Likewise.
18585 * locale/programs/locfile.h: Likewise.
18586 * locale/programs/repertoire.c: Likewise.
18587 * locale/programs/simple-hash.c: Likewise.
18588 * locale/programs/simple-hash.h: Likewise.
18589 * malloc/memusage.c: Likewise.
18590 * malloc/memusagestat.c: Likewise.
18591 * nis/nis_defaults.c: Likewise.
18592 * nis/nis_hash.c: Likewise.
18593 * nis/nis_print.c: Likewise.
18594 * nis/nis_xdr.c: Likewise.
18595 * nscd/connections.c: Likewise.
18596 * nscd/hstcache.c: Likewise.
18597 * nscd/nscd_gethst_r.c: Likewise.
18598 * nscd/nscd_getserv_r.c: Likewise.
18599 * nscd/nscd_helper.c: Likewise.
18600 * nscd/servicescache.c: Likewise.
18601 * nss/makedb.c: Likewise.
18602 * nss/nss_db/db-XXX.c: Likewise.
18603 * nss/nss_db/db-initgroups.c: Likewise.
18604 * nss/nss_db/db-netgrp.c: Likewise.
18605 * nss/nss_files/files-network.c: Likewise.
18606 * nss/nss_files/files-parse.c: Likewise.
18607 * posix/bug-regex5.c: Likewise.
18608 * posix/fnmatch_loop.c: Likewise.
18609 * posix/regcomp.c: Likewise.
18610 * posix/regexec.c: Likewise.
18611 * posix/tst-rfc3484-2.c: Likewise.
18612 * posix/tst-rfc3484-3.c: Likewise.
18613 * posix/tst-rfc3484.c: Likewise.
18614 * resolv/nss_dns/dns-canon.c: Likewise.
18615 * resolv/nss_dns/dns-network.c: Likewise.
18616 * resolv/res_init.c: Likewise.
18617 * resolv/res_mkquery.c: Likewise.
18618 * resolv/tst-aton.c: Likewise.
18619 * stdlib/cxa_atexit.c: Likewise.
18620 * stdlib/cxa_finalize.c: Likewise.
18621 * stdlib/gen-fpioconst.c: Likewise.
18622 * stdlib/strtol_l.c: Likewise.
18623 * string/tst-endian.c: Likewise.
18624 * sunrpc/auth_des.c: Likewise.
18625 * sunrpc/clnt_udp.c: Likewise.
18626 * sunrpc/rtime.c: Likewise.
18627 * sunrpc/svcauth_des.c: Likewise.
18628 * sunrpc/xdr.c: Likewise.
18629 * sunrpc/xdr_intXX_t.c: Likewise.
18630 * sunrpc/xdr_rec.c: Likewise.
18631 * sysdeps/generic/ldconfig.h: Likewise.
18632 * sysdeps/generic/ldsodefs.h: Likewise.
18633 * sysdeps/generic/memusage.h: Likewise.
18634 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18635 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18636 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18637 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18638 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18642 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18643 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18644 * sysdeps/posix/getaddrinfo.c: Likewise.
18645 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18646 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18647 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18648 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18649 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18650 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18651 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18652 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18653 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18654 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18655 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18656 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18657 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18658 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18659 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18660 * sysdeps/x86_64/dl-tls.h: Likewise.
18661 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18662 * time/alt_digit.c: Likewise.
18663 * time/era.c: Likewise.
18664 * wcsmbs/tst-c16c32-1.c: Likewise.
18666 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18668 * math/libm-test.inc (struct test_sincos_data): New type.
18669 (RUN_TEST_LOOP_sincos): New macro.
18670 (sincos_test_data): New variable.
18671 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18673 2013-05-16 Richard Henderson <rth@redhat.com>
18675 * math/atest-exp2.c (LIMB64): New macro.
18676 (CONSTSZ): New macro.
18677 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18679 (print_mpn_fp): ... to function scope.
18680 (read_mpn_hex): Remove.
18681 (get_log2): Remove.
18682 (exp2_mpn): Use mp_log2.
18683 (main): Use mp_exp1.
18685 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18687 * math/libm-test.inc: Remove comment about not testing "inexact"
18689 (INEXACT_EXCEPTION): New macro.
18690 (NO_INEXACT_EXCEPTION): Likewise.
18691 (INVALID_EXCEPTION_OK): Update value.
18692 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18693 (OVERFLOW_EXCEPTION_OK): Likewise.
18694 (UNDERFLOW_EXCEPTION_OK): Likewise.
18695 (IGNORE_ZERO_INF_SIGN): Likewise.
18696 (ERRNO_UNCHANGED): Likewise.
18697 (ERRNO_EDOM): Likewise.
18698 (ERRNO_ERANGE): Likewise.
18699 (test_exceptions): Handle testing "inexact" exceptions.
18700 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18701 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18702 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18703 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18705 (rint_towardzero_test_data): Likewise.
18706 (rint_downward_test_data): Likewise.
18707 (rint_upward_test_data): Likewise.
18709 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18710 with OVERFLOW_EXCEPTION.
18711 (exp10_test_data): Likewise.
18712 (exp2_test_data): Likewise.
18713 (expm1_test_data): Likewise.
18714 (lgamma_test_data): Likewise.
18715 (pow_test_data): Likewise.
18716 (tgamma_test_data): Likewise.
18717 (yn_test_data): Remove duplicate test of overflow.
18719 * math/libm-test.inc (struct test_cc_c_data): New type.
18720 (RUN_TEST_LOOP_cc_c): New macro.
18721 (cpow_test_data): New variable.
18722 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18724 * math/libm-test.inc (struct test_f_L_data): New type.
18725 (RUN_TEST_LOOP_f_L): New macro.
18726 (llrint_test_data): New variable.
18727 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18728 (llrint_tonearest_test_data): New variable.
18729 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18730 (llrint_towardzero_test_data): New variable.
18731 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18732 (llrint_downward_test_data): New variable.
18733 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18734 (llrint_upward_test_data): New variable.
18735 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18736 (llround_test_data): New variable.
18737 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18739 2013-05-13 Peter Collingbourne <pcc@google.com>
18741 * math/atest-exp2.c (get_log2): Remove const attribute.
18743 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18745 * math/libm-test.inc (struct test_f_l_data): New type.
18746 (RUN_TEST_LOOP_f_l): New macro.
18747 (lrint_test_data): New variable.
18748 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18749 (lrint_tonearest_test_data): New variable.
18750 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18751 (lrint_towardzero_test_data): New variable.
18752 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18753 (lrint_downward_test_data): New variable.
18754 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18755 (lrint_upward_test_data): New variable.
18756 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18757 (lround_test_data): New variable.
18758 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18760 2013-05-15 Peter Collingbourne <pcc@google.com>
18762 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18763 (EXTRACT_WORDS64) Use where appropriate.
18764 (INSERT_WORDS64) Likewise.
18766 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18767 constraints with x constraints.
18768 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18770 * malloc/obstack.c (_obstack_compat): Add initializer.
18772 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18774 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18775 si_trapno and add si_addr_lsb to _sifields.sigfault.
18776 (si_trapno): Remove macro.
18777 (si_addr_lsb): Define new macro.
18778 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18780 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18782 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18783 instead of TEST_f_l.
18784 (llrint_test_tonearest): Likewise.
18785 (llrint_test_towardzero): Likewise.
18786 (llrint_test_downward): Likewise.
18787 (llrint_test_upward): Likewise.
18788 (llround_test): Likewise.
18790 * math/libm-test.inc (struct test_f_i_data): Add comment.
18791 (RUN_TEST_LOOP_f_b): New macro.
18792 (RUN_TEST_LOOP_f_b_tg): Likewise.
18793 (finite_test_data): New variable.
18794 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18795 (isfinite_test_data): New variable.
18796 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18797 (isinf_test_data): New variable.
18798 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18799 (isnan_test_data): New variable.
18800 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18801 (isnormal_test_data): New variable.
18802 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18803 (issignaling_test_data): New variable.
18804 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18805 (signbit_test_data): New variable.
18806 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18808 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18809 with INVALID_EXCEPTION.
18810 (acosh_test_data): Likewise.
18811 (asin_test_data): Likewise.
18812 (atanh_test_data): Likewise.
18813 (fmod_test_data): Likewise.
18814 (log_test_data): Likewise.
18815 (log10_test_data): Likewise.
18816 (log2_test_data): Likewise.
18817 (pow_test_data): Likewise.
18818 (sqrt_test_data): Likewise.
18819 (y0_test_data): Likewise.
18820 (y1_test_data): Likewise.
18821 (yn_test_data): Likewise.
18823 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18826 * math/libm-test.inc (struct test_ff_i_data): New type.
18827 (RUN_TEST_LOOP_ff_i_tg): New macro.
18828 (isgreater_test_data): New variable.
18829 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18830 (isgreaterequal_test_data): New variable.
18831 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18832 (isless_test_data): New variable.
18833 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18834 (islessequal_test_data): New variable.
18835 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18836 (islessgreater_test_data): New variable.
18837 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18838 (isunordered_test_data): New variable.
18839 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18841 2013-05-14 David S. Miller <davem@davemloft.net>
18843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18845 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18847 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18849 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18851 (struct test_f_i_data): Change type of max_ulp to int.
18853 * math/libm-test.inc (test_ffI_f1_data): New type.
18854 (RUN_TEST_LOOP_ffI_f1): New macro.
18855 (remquo_test_data): New variable.
18856 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18858 * setjmp/tst-setjmp-fp.c: New file.
18859 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18860 (link-libm): New variable.
18861 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18863 * math/libm-test.inc (struct test_f_i_data): New type.
18864 (RUN_TEST_LOOP_f_i): New macro.
18865 (RUN_TEST_LOOP_f_i_tg): Likewise.
18866 (fpclassify_test_data): New variable.
18867 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18868 (ilogb_test_data): New variable.
18869 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18871 * math/libm-test.inc (scalbln_test): Correct function name in END
18874 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18875 (RUN_TEST_LOOP_fI_f1): New macro.
18876 (frexp_test_data): New variable.
18877 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18879 * math/libm-test.inc (struct test_fF_f1_data): New type.
18880 (RUN_TEST_LOOP_fF_f1): New macro.
18881 (modf_test_data): New variable.
18882 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18884 * math/libm-test.inc (struct test_f_f1_data): New type.
18885 (RUN_TEST_LOOP_f_f1): New macro.
18886 (gamma_test_data): New variable.
18887 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18888 (lgamma_test_data): New variable.
18889 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18891 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18893 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18894 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18895 (main): Comment "tls" pseudo-hwcap.
18897 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18899 * math/libm-test.inc (struct test_fl_f_data): New type.
18900 (RUN_TEST_LOOP_fl_f): New variable.
18901 (scalbln_test_data): New variable.
18902 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18904 * math/libm-test.inc (struct test_fi_f_data): New type.
18905 (RUN_TEST_LOOP_fi_f): New macro.
18906 (ldexp_test_data): New variable.
18907 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18908 (scalbn_test_data): New variable.
18909 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18911 * math/libm-test.inc (struct test_c_f_data): New type.
18912 (RUN_TEST_LOOP_c_f): New macro.
18913 (cabs_test_data): New variable.
18914 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18915 (carg_test_data): New variable.
18916 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18917 (cimag_test_data): New variable.
18918 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18919 (creal_test_data): New variable.
18920 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18922 * math/libm-test.inc (struct test_if_f_data): New type.
18923 (RUN_TEST_LOOP_if_f): New macro.
18924 (jn_test_data): New variable.
18925 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18926 (yn_test_data): New variable.
18927 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18929 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18931 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18933 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18934 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18936 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18938 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18939 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18940 (bench-deps): Add bench-timing.h.
18941 * benchtests-bench-skeleton.c: Include bench-timing.h.
18942 (main): Use TIMING_* macros instead of clock_gettime.
18943 * benchtests/bench-timing.h: New file.
18946 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18947 Renamed from _LIB_VERSION.
18948 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18950 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18952 * math/libm-test.inc (struct test_fff_f_data): New type.
18953 (RUN_TEST_LOOP_fff_f): New macro.
18954 (fma_test_data): New variable.
18955 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18956 (fma_towardzero_test_data): New variable.
18957 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18958 (fma_downward_test_data): New variable.
18959 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18960 (fma_upward_test_data): New variable.
18961 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18963 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18964 (struct test_c_c_data): New type.
18965 (RUN_TEST_LOOP_c_c): New macro.
18966 (cacos_test_data): New variable.
18967 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18968 (cacosh_test_data): New variable.
18969 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18970 (casin_test_data): New variable.
18971 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18972 (casinh_test_data): New variable.
18973 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18974 (catan_test_data): New variable.
18975 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18976 (catanh_test_data): New variable.
18977 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18978 (ccos_test_data): New variable.
18979 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18980 (ccosh_test_data): New variable.
18981 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18982 (cexp_test_data): New variable.
18983 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18984 (clog_test_data): New variable.
18985 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18986 (clog10_test_data): New variable.
18987 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18988 (conj_test_data): New variable.
18989 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18990 (cproj_test_data): New variable.
18991 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18992 (csin_test_data): New variable.
18993 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18994 (csinh_test_data): New variable.
18995 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18996 (csqrt_test_data): New variable.
18997 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18998 (ctan_test_data): New variable.
18999 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19000 (ctan_tonearest_test_data): New variable.
19001 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19002 (ctan_towardzero_test_data): New variable.
19003 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19004 (ctan_downward_test_data): New variable.
19005 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19006 (ctan_upward_test_data): New variable.
19007 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19008 (ctanh_test_data): New variable.
19009 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19010 (ctanh_tonearest_test_data): New variable.
19011 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19012 (ctanh_towardzero_test_data): New variable.
19013 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19014 (ctanh_downward_test_data): New variable.
19015 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19016 (ctanh_upward_test_data): New variable.
19017 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19018 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19021 * math/libm-test.inc (struct test_ff_f_data): New type.
19022 (struct test_ff_f_data_nexttoward): Likewise.
19023 (RUN_TEST_LOOP_2_f): New macro.
19024 (RUN_TEST_LOOP_ff_f): Likewise.
19025 (atan2_test_data): New variable.
19026 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19027 (copysign_test_data): New variable.
19028 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19029 (fdim_test_data): New variable.
19030 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19031 (fmax_test_data): New variable.
19032 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19033 (fmin_test_data): New variable.
19034 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19035 (fmod_test_data): New variable.
19036 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19037 (hypot_test_data): New variable.
19038 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19039 (nextafter_test_data): New variable.
19040 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19041 (nexttoward_test_data): New variable.
19042 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19043 (pow_test_data): New variable.
19044 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19045 (pow_tonearest_test_data): New variable.
19046 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19047 (pow_towardzero_test_data): New variable.
19048 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19049 (pow_downward_test_data): New variable.
19050 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19051 (pow_upward_test_data): New variable.
19052 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19053 (remainder_test_data): New variable.
19054 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19055 (scalb_test_data): New variable.
19056 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19057 * sysdeps/i386/fpu/libm-test-ulps: Update.
19059 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19061 * math/libm-test.inc (fma_test): Use max_value instead of local
19063 (nextafter_test): Likewise.
19065 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19066 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19067 (acos_downward_test_data): New variable.
19068 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19069 (acos_upward_test_data): New variable.
19070 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19071 (acosh_test_data): New variable.
19072 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19073 (asin_test_data): New variable.
19074 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19075 (asin_tonearest_test_data): New variable.
19076 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19077 (asin_towardzero_test_data): New variable.
19078 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19079 (asin_downward_test_data): New variable.
19080 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19081 (asin_upward_test_data): New variable.
19082 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19083 (asinh_test_data): New variable.
19084 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19085 (atan_test_data): New variable.
19086 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19087 (atanh_test_data): New variable.
19088 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19089 (cbrt_test_data): New variable.
19090 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19091 (ceil_test_data): New variable.
19092 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19093 (cos_test_data): New variable.
19094 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19095 (cos_tonearest_test_data): New variable.
19096 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19097 (cos_towardzero_test_data): New variable.
19098 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19099 (cos_downward_test_data): New variable.
19100 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19101 (cos_upward_test_data): New variable.
19102 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19103 (cosh_test_data): New variable.
19104 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19105 (cosh_tonearest_test_data): New variable.
19106 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19107 (cosh_towardzero_test_data): New variable.
19108 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19109 (cosh_downward_test_data): New variable.
19110 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19111 (cosh_upward_test_data): New variable.
19112 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19113 (erf_test_data): New variable.
19114 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19115 (erfc_test_data): New variable.
19116 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19117 (exp_test_data): New variable.
19118 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19119 (exp_tonearest_test_data): New variable.
19120 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19121 (exp_towardzero_test_data): New variable.
19122 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19123 (exp_downward_test_data): New variable.
19124 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19125 (exp_upward_test_data): New variable.
19126 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19127 (exp10_test_data): New variable.
19128 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19129 (exp2_test_data): New variable.
19130 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19131 (expm1_test_data): New variable.
19132 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19133 (fabs_test_data): New variable.
19134 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19135 (floor_test_data): New variable.
19136 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19137 (j0_test_data): New variable.
19138 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19139 (j1_test_data): New variable.
19140 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19141 (log_test_data): New variable.
19142 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19143 (log10_test_data): New variable.
19144 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19145 (log1p_test_data): New variable.
19146 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19147 (log2_test_data): New variable.
19148 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19149 (logb_test_data): New variable.
19150 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19151 (logb_downward_test_data): New variable.
19152 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19153 (nearbyint_test_data): New variable.
19154 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19155 (rint_test_data): New variable.
19156 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19157 (rint_tonearest_test_data): New variable.
19158 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19159 (rint_towardzero_test_data): New variable.
19160 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19161 (rint_downward_test_data): New variable.
19162 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19163 (rint_upward_test_data): New variable.
19164 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19165 (round_test_data): New variable.
19166 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19167 (sin_test_data): New variable.
19168 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19169 (sin_tonearest_test_data): New variable.
19170 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19171 (sin_towardzero_test_data): New variable.
19172 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19173 (sin_downward_test_data): New variable.
19174 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19175 (sin_upward_test_data): New variable.
19176 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19177 (sinh_test_data): New variable.
19178 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19179 (sinh_tonearest_test_data): New variable.
19180 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19181 (sinh_towardzero_test_data): New variable.
19182 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19183 (sinh_downward_test_data): New variable.
19184 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19185 (sinh_upward_test_data): New variable.
19186 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19187 (sqrt_test_data): New variable.
19188 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19189 (tan_test_data): New variable.
19190 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19191 (tan_tonearest_test_data): New variable.
19192 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19193 (tan_towardzero_test_data): New variable.
19194 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19195 (tan_downward_test_data): New variable.
19196 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19197 (tan_upward_test_data): New variable.
19198 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19199 (tanh_test_data): New variable.
19200 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19201 (tgamma_test_data): New variable.
19202 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19203 (trunc_test_data): New variable.
19204 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19205 (y0_test_data): New variable.
19206 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19207 (y1_test_data): New variable.
19208 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19209 (significand_test_data): New variable.
19210 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19212 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19215 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19217 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19219 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19221 2013-05-10 Andreas Jaeger <aj@suse.de>
19224 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19225 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19227 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19229 * math/gen-libm-test.pl (adjust_arg): New function.
19230 (special_functions): Handle generating output in both functions
19232 (parse_args): Likewise.
19233 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19234 $in_func argument to parse_args.
19235 * math/libm-test.inc (struct test_f_f_data): New type.
19236 (IF_ROUND_INIT_): New macro.
19237 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19238 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19239 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19240 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19241 (ROUND_RESTORE_): Likewise.
19242 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19243 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19244 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19245 (ROUND_RESTORE_FE_UPWARD): Likewise.
19246 (RUN_TEST_LOOP_f_f): New macro.
19247 (acos_test_data): New variable.
19248 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19249 (acos_tonearest_test_data): New variable.
19250 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19252 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19254 * benchtests/bench-skeleton.c (startup): Fix coding style.
19256 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19259 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19260 negative infinity argument.
19261 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19262 negative infinity argument.
19263 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19264 negative infinity argument.
19265 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19268 2013-05-10 Florian Weimer <fweimer@redhat.com>
19270 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19271 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19272 * iconv/iconv_prog.c (main): Likewise.
19273 * locale/programs/charmap-dir.c (charmap_readdir)
19274 (fopen_uncompressed): Likewise.
19275 * locale/programs/locfile.c (siblings_uncached)
19276 (write_locale_data): Use lstat64 instead of lstat.
19277 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19280 2013-05-10 Andreas Jaeger <aj@suse.de>
19283 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19285 Include <locale.h>.
19287 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19289 * elf/dl-close.c (_dl_close_worker): Add comments.
19291 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19294 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19296 (__ieee754_rem_pio2l): Update comments.
19299 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19301 (__ieee754_rem_pio2l): Update comments.
19303 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19304 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19306 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19309 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19310 (M_PI_34_LOG10El): Likewise.
19311 (M_PI2_LOG10El): Likewise.
19312 (M_PI4_LOG10El): Likewise.
19313 (M_PI_LOG10El): Likewise.
19315 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19319 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19321 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19322 (MINUS_ZERO_INIT): Likewise.
19323 (PLUS_INFTY_INIT): Likewise.
19324 (MINUS_INFTY_INIT): Likewise.
19325 (QNAN_VALUE_INIT): Likewise.
19326 (MAX_VALUE_INIT): Likewise.
19327 (MIN_VALUE_INIT): Likewise.
19328 (MIN_SUBNORM_VALUE_INIT): Likewise.
19329 (plus_zero): Initialize with PLUS_ZERO_INIT.
19330 (minus_zero): Initialize with MINUS_ZERO_INIT.
19331 (plus_infty): Initialize with PLUS_INFTY_INIT.
19332 (minus_infty): Initialize with MINUS_INFTY_INIT.
19333 (qnan_value): Initialize with QNAN_VALUE_INIT.
19334 (max_value): Initialize with MAX_VALUE_INIT.
19335 (min_value): Initialize with MIN_VALUE_INIT.
19336 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19338 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19339 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19340 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19341 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19343 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19344 (RUN_TEST_2_f): Likewise.
19345 (RUN_TEST_ff_f): Likewise.
19346 (RUN_TEST_fi_f): Likewise.
19347 (RUN_TEST_fl_f): Likewise.
19348 (RUN_TEST_fff_f): Likewise.
19349 (RUN_TEST_c_f): Likewise.
19350 (RUN_TEST_f_f1): Likewise.
19351 (RUN_TEST_fF_f1): Likewise.
19352 (RUN_TEST_fI_f1): Likewise.
19353 (RUN_TEST_ffI_f1): Likewise.
19354 (RUN_TEST_c_c): Likewise.
19355 (RUN_TEST_cc_c): Likewise.
19356 (RUN_TEST_f_i): Likewise.
19357 (RUN_TEST_f_i_tg): Likewise.
19358 (RUN_TEST_ff_i_tg): Likewise.
19359 (RUN_TEST_f_b): Likewise.
19360 (RUN_TEST_f_b_tg): Likewise.
19361 (RUN_TEST_f_l): Likewise.
19362 (RUN_TEST_f_L): Likewise.
19363 (RUN_TEST_sincos): Likewise.
19364 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19365 whether to show exceptions. Do not include ");\n" in return
19367 (special_functions): Output call to RUN_TEST_sincos instead of
19368 check_float calls. Update calls to new_test.
19369 (parse_args): Output call to single RUN_TEST_* macro instead of
19370 check_* calls and other assignments. Update calls to new_test.
19376 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19377 input to result for tgamma overflow.
19378 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19379 (gamma_coeff): New variable.
19380 (NCOEFF): New macro.
19381 (gamma_positive): New function.
19382 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19383 underflow here. Use gamma_positive instead of exp (lgamma) for
19385 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19386 (gamma_coeff): New variable.
19387 (NCOEFF): New macro.
19388 (gammaf_positive): New function.
19389 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19390 underflow here. Use gamma_positive instead of exp (lgamma) for
19392 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19393 (gamma_coeff): New variable.
19394 (NCOEFF): New macro.
19395 (gammal_positive): New function.
19396 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19397 underflow here. Use gamma_positive instead of exp (lgamma) for
19399 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19400 (gamma_coeff): New variable.
19401 (NCOEFF): New macro.
19402 (gammal_positive): New function.
19403 (__ieee754_gammal_r): Handle positive infinity, overflow and
19404 underflow here. Handle NaN the same as positive infinity. Remove
19405 check x < 0xffffffff for negative integers. Use gamma_positive
19406 instead of exp (lgamma) for other arguments.
19407 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19408 (gamma_coeff): New variable.
19409 (NCOEFF): New macro.
19410 (gammal_positive): New function.
19411 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19412 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19413 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19414 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19415 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19416 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19417 * sysdeps/generic/math_private.h (__gamma_productf): New
19419 (__gamma_product): Likewise.
19420 (__gamma_productl): Likewise.
19421 * math/Makefile (libm-calls): Add gamma_product.
19422 * math/libm-test.inc (tgamma_test): Add more tests.
19423 * sysdeps/i386/fpu/libm-test-ulps: Update.
19424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19426 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19428 * benchtests/bench-skeleton.c (main): Preheat CPU.
19430 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19432 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19434 2013-05-07 Roland McGrath <roland@hack.frob.com>
19436 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19437 and _dl_skip_args_internal.
19439 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19441 * manual/message.texi (Message Translation): Talk about users.
19442 Message to key mapping impacts design.
19444 2013-05-06 Roland McGrath <roland@hack.frob.com>
19446 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19448 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19450 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19451 * sysdeps/wordsize-64/glob64.c: ... here.
19453 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19454 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19457 * debug/getlogin_r_chk.c: Moved to ...
19458 * login/getlogin_r_chk.c: ... here.
19459 * debug/Makefile (routines): Move getlogin_r_chk to ...
19460 * login/Makefile (routines): ... here.
19461 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19462 * login/Versions (libc: GLIBC_2.4): ... here.
19464 * io/poll.c (__poll): Renamed from poll.
19465 Add libc_hidden_def.
19466 (poll): Define as weak alias.
19468 * debug/ptsname_r_chk.c: Moved to ...
19469 * login/ptsname_r_chk.c: ... here.
19470 * debug/Makefile (routines): Move ptsname_r_chk to ...
19471 * login/Makefile (routines): ... here.
19472 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19473 * login/Versions (libc: GLIBC_2.4): ... here.
19475 * posix/getlogin.c: Moved to ...
19476 * login/getlogin.c: ... here.
19477 * posix/getlogin_r.c: Moved to ...
19478 * login/getlogin_r.c: ... here.
19479 * posix/getlogin_r.c: Moved to ...
19480 * login/getlogin_r.c: ... here.
19481 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19482 * login/Makefile (routines): ... here.
19483 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19484 * login/Versions (libc: GLIBC_2.0): ... here.
19486 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19487 (setrlimit): Define as weak alias.
19489 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19490 Call __ names for open, ftruncate, and close.
19491 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19492 (truncate): Define as weak alias.
19494 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19496 * math/gen-libm-test.pl (parse_args): Initialize x before each
19497 test of frexp, modf and remquo.
19499 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19500 test signgam value.
19502 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19506 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19508 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19510 2013-05-06 Roland McGrath <roland@hack.frob.com>
19512 * elf/dl-writev.h: New file.
19513 * elf/dl-misc.c: Include it.
19514 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19515 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19517 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19519 * math/libm-test.inc (noXFails): Remove variable.
19520 (noXPasses): Likewise.
19521 (BUILD_COMPLEX_INT): Remove macro.
19522 (print_screen): Remove xfail argument.
19523 (print_screen_max_error): Likewise.
19524 (update_stats): Likewise.
19525 (print_max_error): Likewise. Update calls to other affected
19527 (print_complex_max_error): Likewise.
19528 (test_single_exception): Update calls to print_screen.
19529 (test_single_errno): Likewise.
19530 (check_float_internal): Remove xfail argument. Update calls to
19531 other affected functions.
19532 (check_float): Likewise.
19533 (check_complex): Likewise.
19534 (check_int): Likewise.
19535 (check_long): Likewise.
19536 (check_bool): Likewise.
19537 (check_longlong): Likewise.
19538 (main): Don't print noXFails and noXPasses.
19539 * math/gen-libm-test.pl (top level): Don't mention expected
19540 failure handling in comment.
19541 (new_test): Don't handle expected failures.
19542 (parse_args): Don't mention expected failure handling in comment.
19543 (generate_testfile): Don't handle expected failures.
19544 (parse_ulps): Likewise.
19545 (print_ulps_file): Likewise.
19546 (get_failure): Remove function.
19547 (output_test): Don't handle expected failures.
19548 * make/README.libm-test: Don't mention expected failure handling.
19550 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19551 (minus_zero): Likewise.
19552 (plus_infty): Likewise.
19553 (minus_infty): Likewise.
19554 (qnan_value): Likewise.
19555 (max_value): Likewise.
19556 (min_value): Likewise.
19557 (min_subnorm_value): Likewise.
19558 (initialize): Do not initialize those variables dynamically.
19560 2013-05-03 Roland McGrath <roland@hack.frob.com>
19562 * io/open.c (__open_2): Moved to ...
19563 * io/open_2.c: ... this new file.
19564 * io/open64.c (__open64_2): Moved to ...
19565 * io/open64_2.c: ... this new file.
19566 * io/openat.c (__openat_2): Moved to ...
19567 * io/openat_2.c: ... this new file.
19568 * io/openat64.c (__openat64_2): Moved to ...
19569 * io/openat64_2.c: ... this new file.
19570 * io/Makefile (routines): Add them.
19571 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19572 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19573 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19574 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19575 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19576 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19577 (__openat64): Add hidden_ver.
19578 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19579 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19581 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19582 Separately conditionalize setting of GLRO(dl_sysinfo) so
19583 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19584 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19586 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19588 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19589 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19591 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19592 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19593 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19594 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19595 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19597 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19599 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19600 test signgam value.
19602 * math/libm-test.inc (hypot_test): Do not use
19603 IGNORE_ZERO_INF_SIGN.
19605 2013-05-03 Andreas Jaeger <aj@suse.de>
19607 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19609 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19610 (PF_MAX): Adjust for VSOCK change.
19612 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19616 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19619 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19620 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19621 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19623 2013-05-02 David S. Miller <davem@davemloft.net>
19625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19627 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19629 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19631 2013-05-01 Roland McGrath <roland@hack.frob.com>
19633 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19635 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19638 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19639 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19640 Use __attribute__ ((__gnu_inline__)).
19641 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19642 Don't use __attribute__ ((__gnu_inline__)).
19644 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19647 * math/s_catan.c (__catan): Handle small real or imaginary part of
19648 input specially to avoid spurious underflow.
19649 * math/s_catanf.c (__catanf): Likewise.
19650 * math/s_catanh.c (__catanh): Likewise.
19651 * math/s_catanhf.c (__catanhf): Likewise.
19652 * math/s_catanhl.c (__catanhl): Likewise.
19653 * math/s_catanl.c (__catanl): Likewise.
19654 * math/libm-test.inc (catan_test): Add more tests.
19655 (catanh_test): Likewise.
19656 * sysdeps/i386/fpu/libm-test-ulps: Update.
19657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19659 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19663 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19666 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19667 accurately for denominator in atan2.
19668 * math/s_catanf.c (__catanf): Likewise.
19669 * math/s_catanh.c (__catanh): Likewise.
19670 * math/s_catanhf.c (__catanhf): Likewise.
19671 * math/s_catanhl.c (__catanhl): Likewise.
19672 * math/s_catanl.c (__catanl): Likewise.
19673 * math/libm-test.inc (catan_test): Add more tests.
19674 (catanh_test): Likewise.
19675 * sysdeps/i386/fpu/libm-test-ulps: Update.
19676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19678 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19680 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19682 * benchtests/Makefile (bench): Remove slow benchmarks.
19683 * benchtests/atan-inputs: Add slow benchmark inputs.
19684 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19685 (BENCH_FUNC): Accept variant offset.
19687 * benchtests/bench-skeleton.c (main): Run benchmark for each
19689 * benchtests/cos-inputs: Add slow benchmark inputs.
19690 * benchtests/exp-inputs: Likewise.
19691 * benchtests/pow-inputs: Likewise.
19692 * benchtests/sin-inputs: Likewise.
19693 * benchtests/slowatan-inputs: Remove.
19694 * benchtests/slowatan.c: Remove.
19695 * benchtests/slowcos-inputs: Remove.
19696 * benchtests/slowcos.c: Remove.
19697 * benchtests/slowexp-inputs: Remove.
19698 * benchtests/slowexp.c: Remove.
19699 * benchtests/slowpow-inputs: Remove.
19700 * benchtests/slowpow.c: Remove.
19701 * benchtests/slowsin-inputs: Remove.
19702 * benchtests/slowsin.c: Remove.
19703 * benchtests/slowtan-inputs: Remove.
19704 * benchtests/slowtan.c: Remove.
19705 * benchtests/tan-inputs: Add slow benchmark inputs.
19706 * scripts/bench.pl: Parse comments and directives.
19708 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19710 ($(objpfx)bench-%.c): Remove *-ITER.
19711 * benchtests/bench-modf.c: Remove definition of ITER.
19712 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19713 (main): Loop for DURATION seconds instead of fixed number of
19715 * scripts/bench.pl: Don't expect iterations in parameters.
19717 2013-04-29 Roland McGrath <roland@hack.frob.com>
19719 * io/fchdir.c (__fchdir): Renamed from fchdir.
19720 (fchdir): Define as weak alias.
19722 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19724 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19725 (ERRNO_EDOM): Likewise.
19726 (ERRNO_ERANGE): Likewise.
19727 (noErrnoTests): New variable.
19728 (init_max_error): Set errno to 0.
19729 (test_single_errno): New function.
19730 (test_errno): Likewise.
19731 (check_float_internal): Call test_errno. Set errno to 0.
19732 (check_complex): Refer to errno tests in comment.
19733 (check_int): Call test_errno. Set errno to 0.
19734 (check_long): Likewise.
19735 (check_bool): Likewise.
19736 (check_longlong): Likewise.
19737 (cos_test): Use ERRNO_* flags for errno tests instead of
19739 (expm1_test): Likewise.
19740 (fmod_test): Likewise.
19741 (ilogb_test): Likewise.
19742 (lgamma_test): Likewise.
19743 (pow_test): Likewise.
19744 (remainder_test): Likewise.
19745 (sin_test): Likewise.
19746 (tan_test): Likewise.
19747 (yn_test): Likewise.
19748 (initialize): Set errno to 0.
19749 (main): Print number of errno tests.
19750 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19752 2013-04-29 Andreas Jaeger <aj@suse.de>
19755 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19759 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19760 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19764 * stdlib/random.c (__initstate): Return NULL if
19768 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19769 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19772 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19776 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19778 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19779 of individual tests.
19780 (casin_test): Likewise.
19781 (casinh_test): Likewise.
19783 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19786 * math/s_catan.c (__catan): Handle arguments with large real or
19787 imaginary part separately without squaring.
19788 * math/s_catanf.c (__catanf): Likewise.
19789 * math/s_catanh.c (__catanh): Likewise.
19790 * math/s_catanhf.c (__catanhf): Likewise.
19791 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19793 (__catanhl): Handle arguments with large real or imaginary part
19794 separately without squaring.
19795 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19797 (__catanl): Handle arguments with large real or imaginary part
19798 separately without squaring.
19799 * math/libm-test.inc (catan_test): Add more tests.
19800 (catanh_test): Likewise.
19801 * sysdeps/i386/fpu/libm-test-ulps: Update.
19802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19804 2013-04-27 Andreas Jaeger <aj@suse.de>
19807 * stdlib/stdlib.h: Update guards for qecvt.
19808 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19811 2013-04-27 Allan McRae <allan@archlinux.org>
19813 * sysdeps/i386/fpu/libm-test-ulps: Update.
19815 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19818 * math/s_catan.c: Include <float.h>.
19819 (__catan): Ensure underflow exception occurs for underflowed
19821 * math/s_catanf.c: Include <float.h>.
19822 (__catanf): Ensure underflow exception occurs for underflowed
19824 * math/s_catanh.c: Include <float.h>.
19825 (__catanh): Ensure underflow exception occurs for underflowed
19827 * math/s_catanhf.c: Include <float.h>.
19828 (__catanhf): Ensure underflow exception occurs for underflowed
19830 * math/s_catanhl.c: Include <float.h>.
19831 (__catanhl): Ensure underflow exception occurs for underflowed
19833 * math/s_catanl.c: Include <float.h>.
19834 (__catanl): Ensure underflow exception occurs for underflowed
19836 * math/libm-test.inc (catan_test): Add more tests.
19837 (catanh_test): Likewise.
19840 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19841 underflowed result.
19842 * math/s_ccoshf.c (__ccoshf): Likewise.
19843 * math/s_ccoshl.c (__ccoshl): Likewise.
19844 * math/s_csin.c (__csin): Likewise.
19845 * math/s_csinf.c (__csinf): Likewise.
19846 * math/s_csinh.c (__csinh): Likewise.
19847 * math/s_csinhf.c (__csinhf): Likewise.
19848 * math/s_csinhl.c (__csinhl): Likewise.
19849 * math/s_csinl.c (__csinl): Likewise.
19850 * math/libm-test.inc (ccos_test): Add more tests.
19851 (ccosh_test): Likewise.
19852 (csin_test): Likewise.
19853 (csinh_test): Likewise.
19855 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19857 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19858 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19859 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19860 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19861 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19862 powerpc/power5+/fpu folders.
19863 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19866 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19870 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19872 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19873 additions to variable.
19874 [$(config-machine) = x86_64] (modules-names): Likewise.
19875 ($(objpfx)tst-audit3): Remove dependency.
19876 ($(objpfx)tst-audit3.out): Likewise.
19877 ($(objpfx)tst-audit4): Likewise.
19878 ($(objpfx)tst-audit4.out): Likewise.
19879 ($(objpfx)tst-audit5): Likewise.
19880 ($(objpfx)tst-audit5.out): Likewise.
19881 ($(objpfx)tst-audit6): Likewise.
19882 ($(objpfx)tst-audit6.out): Likewise.
19883 ($(objpfx)tst-audit7): Likewise.
19884 ($(objpfx)tst-audit7.out): Likewise.
19885 (tst-audit3-ENV): Remove variable.
19886 (tst-audit4-ENV): Likewise.
19887 (tst-audit5-ENV): Likewise.
19888 (tst-audit6-ENV): Likewise.
19889 (tst-audit7-ENV): Likewise.
19890 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19891 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19892 addition to variable.
19893 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19894 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19895 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19896 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19897 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19898 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19899 tst-audit3, tst-audit4 and tst-audit5.
19900 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19901 tst-audit6 and tst-audit7.
19902 [$(subdir) = elf] (modules-names): Add audit modules for those
19904 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19905 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19906 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19907 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19908 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19909 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19910 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19911 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19912 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19913 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19914 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19915 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19916 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19917 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19918 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19919 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19921 [$(subdir) = elf && $(config-cflags-avx) = yes]
19922 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19923 [$(subdir) = elf && $(config-cflags-avx) = yes]
19924 (CFLAGS-tst-auditmod4a.c): Likewise.
19925 [$(subdir) = elf && $(config-cflags-avx) = yes]
19926 (CFLAGS-tst-auditmod4b.c): Likewise.
19927 [$(subdir) = elf && $(config-cflags-avx) = yes]
19928 (CFLAGS-tst-auditmod6b.c): Likewise.
19929 [$(subdir) = elf && $(config-cflags-avx) = yes]
19930 (CFLAGS-tst-auditmod6c.c): Likewise.
19931 [$(subdir) = elf && $(config-cflags-avx) = yes]
19932 (CFLAGS-tst-auditmod7b.c): Likewise.
19933 * elf/tst-audit3.c: Move to ...
19934 * sysdeps/x86_64/tst-audit3.c: ... here.
19935 * elf/tst-audit4.c: Move to ...
19936 * sysdeps/x86_64/tst-audit4.c: ... here.
19937 * elf/tst-audit5.c: Move to ...
19938 * sysdeps/x86_64/tst-audit5.c: ... here.
19939 * elf/tst-audit6.c: Move to ...
19940 * sysdeps/x86_64/tst-audit6.c: ... here.
19941 * elf/tst-audit7.c: Move to ...
19942 * sysdeps/x86_64/tst-audit7.c: ... here.
19943 * elf/tst-auditmod3a.c: Move to ...
19944 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19945 * elf/tst-auditmod3b.c: Move to ...
19946 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19947 * elf/tst-auditmod4a.c: Move to ...
19948 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19949 * elf/tst-auditmod4b.c: Move to ...
19950 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19951 * elf/tst-auditmod5a.c: Move to ...
19952 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19953 * elf/tst-auditmod5b.c: Move to ...
19954 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19955 * elf/tst-auditmod6a.c: Move to ...
19956 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19957 * elf/tst-auditmod6b.c: Move to ...
19958 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19959 * elf/tst-auditmod6c.c: Move to ...
19960 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19961 * elf/tst-auditmod7a.c: Move to ...
19962 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19963 * elf/tst-auditmod7b.c: Move to ...
19964 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19966 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19969 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19970 define unconditionally.
19971 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19972 define unconditionally.
19973 (INT8_C, INT16_C, etc.): Likewise.
19975 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19977 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19978 __ehdr_start with hidden visibility.
19980 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19982 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19984 * math/libm-test.inc (cos_test): Use accurate hex constants.
19985 (sincost_test): Likewise.
19987 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19989 * math/libm-test.inc (catan_test): Add more tests.
19990 (catanh_test): Likewise.
19992 * math/s_catanf.c (__catanf): Use suffixed floating-point
19994 * math/s_catanhf.c (__catanhf): Likewise.
19995 * math/s_catanhl.c (__catanhl): Likewise.
19996 * math/s_catanl.c (__catanl): Likewise.
19999 * math/s_catan.c (__catan): Calculate imaginary part of result
20000 with log1p not log unless computing log of number close to 0.
20001 * math/s_catanf.c (__catanf): Likewise.
20002 * math/s_catanl.c (__catanl): Likewise.
20003 * math/s_catanh.c (__catanh): Calculate real part of result with
20004 log1p not log unless computing log of number close to 0.
20005 * math/s_catanhf.c (__catanhf): Likewise.
20006 * math/s_catanhl.c (__catanhl): Likewise.
20007 * math/libm-test.inc (catan_test): Add more tests.
20008 (catanh_test): Likewise.
20009 * sysdeps/i386/fpu/libm-test-ulps: Update.
20010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20012 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20014 * benchtests/Makefile: Mention files in which fast and slow
20015 paths of math functions are implemented.
20017 2013-04-23 Roland McGrath <roland@hack.frob.com>
20019 * sysdeps/posix/timespec_get.c: New file.
20021 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20023 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20025 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20027 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20028 powerpc/power5/fpu folders.
20029 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20030 * benchtests/Makefile: Add modf testcase.
20031 * benchtests/bench-modf.c: New file: Benchmark test for mo
20033 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20036 * time/Makefile (tests): Add tst-strptime-whitespace.
20037 * time/strptime_l.c (get_number): Use ISSPACE.
20038 (__strptime_internal): Likewise.
20039 * time/tst-strptime-whitespace.c: New test case.
20041 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20043 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20045 (_nss_files_init): Set it here.
20047 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20049 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20050 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20053 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20055 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20057 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20059 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20062 2013-04-21 David S. Miller <davem@davemloft.net>
20064 * po/ru.po: Update Russion translation from translation project.
20066 2013-04-17 Adam Conrad <adconrad@0c3.net>
20068 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20071 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20073 * configure.in: Remove i386 configure warning. Remove i386 case.
20074 * configure: Regenerate.
20075 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20076 Add example to error message.
20077 * sysdeps/i386/configure: Regenerate.
20079 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20081 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20083 * benchtests/cos-inputs: New file.
20084 * benchtests/slowcos-inputs: New file.
20085 * benchtests/slowcos.c: New file.
20086 * benchtests/slowtan-inputs: New file.
20087 * benchtests/slowtan.c: New file.
20088 * benchtests/tan-inputs: New file.
20090 2013-04-16 Roland McGrath <roland@hack.frob.com>
20092 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20095 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20097 * benchtests/Makefile: Include cppflags-iterator.mk to add
20098 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20100 * Makefile.in (bench-clean): New target.
20101 * benchtests/Makefile (bench-clean): Likewise.
20103 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20105 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20107 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20109 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20111 2013-04-15 Andreas Schwab <schwab@suse.de>
20113 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20114 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20115 * nscd/pwdcache.c (cache_addpw): Likewise.
20116 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20119 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20121 * benchtests/Makefile (bench): Write all output to
20122 bench-out.tmp together.
20124 2013-04-15 Andreas Schwab <schwab@suse.de>
20126 * nscd/nscd.c (main): Don't fork again after closing files.
20128 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20130 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20132 * benchtests/Rules (bench-deps): Collect dependencies into a
20133 single variable. Add Makefile to dependencies.
20134 ($(objpfx)bench-%.c): Depend on bench-deps.
20136 2013-04-12 Roland McGrath <roland@hack.frob.com>
20137 Xavier Roche <roche+kml2@exalead.com>
20140 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20141 just that it's a file descriptor.
20142 * manual/llio.texi (Synchronizing AIO Operations): Update description
20143 for EBADF error from aio_fsync.
20145 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20147 * Rules (bench): Move target definition...
20148 * benchtests/Makefile: ... here.
20150 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20152 * math/libm-test.inc (cos_test): Fix PI/2 test.
20153 (sincos_test): Likewise.
20154 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20155 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20157 2013-04-11 Andreas Schwab <schwab@suse.de>
20160 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20161 accept exponent character only when digits were seen.
20162 * stdio-common/Makefile (tests): Add bug26.
20163 * stdio-common/bug26.c: New file.
20166 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20169 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20171 * Makeconfig (rtld-prefix): Define built linker prefix.
20172 * Rules (run-bench): Use it.
20173 * math/Makefile (run-regen-ulps): Likewise.
20175 * Rules (bench): Remove eval.
20177 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20178 Roland McGrath <roland@hack.frob.com>
20179 Ondrej Bilka <neleai@seznam.cz>
20182 * time/getdate.c: Include ctype.h and alloca.h.
20183 (__getdate_r): Trim leading and trailing spaces of input.
20184 * time/tst-getdate.c (tests): Add tests with leading and
20187 2013-04-08 Roland McGrath <roland@hack.frob.com>
20190 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20191 when computing value.
20193 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20195 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20196 Use testrun.sh to run libm tests.
20199 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20201 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20204 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20206 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20208 * Makefile.in (regen-ulps): New target.
20209 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20210 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20211 [ifneq (no,$(PERL)] (regen-ulps): New target.
20212 [ifeq (no,$(PERL)] (regen-ulps): New target.
20213 * math/libm-test.inc (ulps_file_name): Define.
20214 (output_dir): New variable.
20215 (options): Add "output-dir" option.
20216 (parse_opt): Handle 'o' case.
20217 (main): If output_dir is non-NULL use it as a prefix
20219 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20221 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20223 [BZ #10060, #10062]
20224 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20225 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20226 fail configure if __sync_val_compare_and_swap is not inlined.
20227 * sysdeps/i386/configure: Regenerate.
20228 * configure.in: Build for i686 when configured for i386.
20229 * configure: Regenerate.
20230 * README: Remove i386 reference.
20232 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20234 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20235 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20237 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20239 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20240 (lmsnanval): New variables.
20241 (F): Add conversion tests.
20242 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20243 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20245 * stdio-common/tstdiomisc.c (F): Properly collect individual
20248 [BZ #14686, #15336]
20249 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20250 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20251 Instead, use input NaN values or generate a qNaN by arithmetic
20252 operation. Also fix bugs to comply with the standard.
20253 * math/libm-test.inc (remainder_test): Add more tests.
20255 [BZ #15335, #15342]
20256 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20257 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20258 input NaN values or generate a qNaN by arithmetic operation.
20260 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20263 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20266 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20269 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20270 underflowed result.
20271 * math/s_cexpf.c (__cexpf): Likewise.
20272 * math/s_cexpl.c (__cexpl): Likewise.
20273 * math/libm-test.inc (cexp_test): Add more tests.
20275 2013-04-03 Andreas Schwab <schwab@suse.de>
20278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20279 order arrays from heap if bigger than alloca cutoff.
20281 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20283 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20284 (SNAN_TESTS_double): Refer to GCC PR56831.
20285 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20288 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20290 * Rules (bench): Move bench.out after the run is complete.
20292 * Rules (bench): Echo currently running benchmark.
20294 * benchtests/Makefile (bench): Add atan and slowatan.
20295 * benchtests/atan-inputs: New file.
20296 * benchtests/slowatan-inputs: New file.
20297 * benchtests/slowatan.c: New file.
20299 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20300 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20304 * sysdeps/unix/sysv/linux/kernel-features.h
20305 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20306 __ASSUME_XFS_RESTRICTED_CHOWN.
20307 * sysdeps/unix/sysv/linux/pathconf.c
20308 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20309 Save and restore errno.
20311 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20314 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20315 arguments using __kernel_casinh.
20316 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20317 arguments using __kernel_casinhf.
20318 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20319 arguments using __kernel_casinhl.
20320 * math/libm-test.inc (cacosh_test): Add more tests.
20321 * sysdeps/i386/fpu/libm-test-ulps: Update.
20322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20324 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20326 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20327 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20329 * bench/Makefile (bench): Add sin and slowsin.
20330 * benchtests/sin-inputs: New file.
20331 * benchtests/slowsin-inputs: New file.
20332 * benchtests/slowsin.c: New file.
20334 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20335 (bench): Add slowexp and slowpow.
20336 (exp-ITER): Increase iterations.
20337 (pow-ITER): Likewise.
20338 * benchtests/exp-inputs: Change input.
20339 * benchtests/pow-inputs: Likewise.
20340 * benchtests/slowexp-inputs: New file.
20341 * benchtests/slowexp.c: New file.
20342 * benchtests/slowpow-inputs: New file.
20343 * benchtests/slowpow.c: New file.
20345 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20347 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20349 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20350 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20351 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20352 * benchtests/Makefile: Add rint benchtest.
20353 * benchtests/rint-inputs: Input for rint benchtest.
20355 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20357 * Versions.def (libm): Add GLIBC_2.18.
20358 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20359 hidden libm prototypes.
20360 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20361 * math/Makefile (libm-calls): Add s_issignaling.
20362 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20363 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20364 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20366 * math/math.h [__USE_GNU] (issignaling): New macro.
20367 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20368 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20369 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20370 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20371 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20372 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20373 * manual/arith.texi (issignaling): New section.
20374 * manual/libm-err-tab.pl (@all_functions): Update comment.
20375 * math/gen-libm-test.pl (parse_args): Apply special handling for
20377 * math/libm-test.inc (print_float, issignaling_test): New
20379 (check_float_internal): Add issignaling checks.
20380 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20381 default definition.
20382 * sysdeps/powerpc/math-tests.h: New file.
20383 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20385 * math/test-snan.c (TEST_FUNC): Likewise.
20387 2013-03-30 David S. Miller <davem@davemloft.net>
20389 * po/de.po: Update from translation team.
20391 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20394 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20395 imaginary part less than 1.0 and real part less than 0.5
20397 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20398 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20399 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20400 (cacos_test): Add more tests.
20401 (casin_test): Likewise.
20402 (casinh_test): Likewise.
20403 * sysdeps/i386/fpu/libm-test-ulps: Update.
20404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20406 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20408 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20409 ONE with its value.
20411 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20412 (__pow_mp): Replace ONE and MONE with their values.
20413 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20414 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20415 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20416 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20417 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20418 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20420 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20422 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20423 (__pow_mp): Replace ZERO and MZERO with their values.
20424 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20425 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20426 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20428 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20429 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20432 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20434 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20436 2013-03-28 Roland McGrath <roland@hack.frob.com>
20438 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20439 Declare with __attribute__ ((weak)).
20440 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20441 Call __call_tls_dtors only if it's not NULL.
20443 2013-03-28 Roland McGrath <roland@hack.frob.com>
20445 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20446 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20447 magic __ehdr_start linker symbol if it's defined.
20448 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20449 them up here if it was already done.
20451 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20452 (_dl_aux_init): Use const in cast when setting it.
20453 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20454 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20455 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20457 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20459 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20460 * csu/libc-tls.c: Nor here.
20461 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20463 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20464 (__libc_message): Never call vsyslog.
20466 2013-03-28 Alan Modra <amodra@gmail.com>
20468 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20470 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20473 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20476 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20480 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20483 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20484 Don't add gid passed as argument.
20486 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20488 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20491 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20492 imaginary part between 1.0 and 1.5 and real part less than 0.5
20494 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20495 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20496 * math/libm-test.inc (cacos_test): Add more tests.
20497 (casin_test): Likewise.
20498 (casinh_test): Likewise.
20499 * sysdeps/i386/fpu/libm-test-ulps: Update.
20500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20502 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20504 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20507 (denorm): Likewise.
20508 (__dbl_mp): Likewise.
20509 (add_magnitudes): Likewise.
20510 (sub_magnitudes): Likewise.
20518 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20520 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20521 (__dubcos): Likewise.
20522 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20523 (__ieee754_acos): Likewise.
20524 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20525 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20526 (__exp1): Likewise.
20527 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20528 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20530 (my_log2): Likewise.
20531 (checkint): Likewise.
20532 * sysdeps/ieee754/dbl-64/e_remainder.c
20533 (__ieee754_remainder): Likewise.
20534 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20535 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20536 (bsloww): Likewise.
20537 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20539 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20540 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20541 MANTISSA_STORE_T to store computations on mantissa. Use
20542 macros for rounding and division.
20543 (denorm): Likewise.
20544 (__dbl_mp): Likewise.
20545 (add_magnitudes): Likewise.
20546 (sub_magnitudes): Likewise.
20549 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20550 powers of two in terms of TWOPOW macro.
20551 (mp_no): Make type of mantissa as MANTISSA_T.
20552 [!RADIXI]: Define RADIXI.
20553 [!TWO52]: Define TWO52.
20554 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20556 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20558 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20559 llroundl symbol when building for PPC32.
20561 2013-03-24 Mark H Weaver <mhw@netris.org>
20563 * manual/arith.texi (Normalization Functions): Fix prototypes for
20564 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20566 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20569 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20570 high value to check if expl overflow.
20571 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20572 to check for underflow and overflow.
20573 * math/libm-test.inc: Add exp test.
20575 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20578 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20581 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20583 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20586 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20588 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20589 wrap blocks consisting of several statements.
20591 * sysdeps/generic/math-tests.h: New file.
20592 * sysdeps/i386/fpu/math-tests.h: Likewise.
20593 * math/test-snan.c: Include it.
20594 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20596 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20599 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20600 (__ieee754_j0l): Do not improve calculations using cos of twice
20601 input for inputs above LDBL_MAX / 2.0L.
20602 (__ieee754_y0l): Likewise.
20603 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20604 (__ieee754_j1l): Do not improve calculations using cos of twice
20605 input for inputs above LDBL_MAX / 2.0L.
20606 (__ieee754_y1l): Likewise.
20607 * math/libm-test.inc (j0_test): Add another test.
20608 (j1_test): Likewise.
20609 (y0_test): Likewise.
20610 (y1_test): Likewise.
20611 * sysdeps/i386/fpu/libm-test-ulps: Update.
20613 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20615 * Rules ($(objpfx)bench-%.c): Include code from a C source
20618 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20621 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20622 imaginary part 1.0 and real part less than 0.5 specially.
20623 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20624 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20625 * math/libm-test.inc (cacos_test): Add more tests.
20626 (casin_test): Likewise.
20627 (casinh_test): Likewise.
20628 * sysdeps/i386/fpu/libm-test-ulps: Update.
20629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20631 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20633 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20634 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20636 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20638 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20639 * config.make.in (config-cflags-sse4): Remove variable.
20640 (config-cflags-avx): Likewise.
20641 (config-cflags-sse2avx): Likewise.
20642 (config-cflags-novzeroupper): Likewise.
20643 (config-asflags-i686): Likewise.
20644 (have-mfma4): Likewise.
20645 (have-as-vis3): Likewise.
20647 * configure.in (MIG): Do not AC_SUBST.
20648 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20649 (libc_cv_cc_sse4): Do not AC_SUBST.
20650 (libc_cv_cc_avx): Likewise.
20651 (libc_cv_cc_sse2avx): Likewise.
20652 (libc_cv_cc_novzeroupper): Likewise.
20653 (libc_cv_cc_fma4): Likewise.
20654 (libc_cv_as_i686): Likewise.
20655 (libc_cv_sparc_as_vis3): Likewise.
20656 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20658 (config-asflags-i686): Likewise.
20659 (config-cflags-avx): Likewise.
20660 (config-cflags-sse2avx): Likewise.
20661 (have-mfma4): Likewise.
20662 (config-cflags-novzeroupper): Likewise.
20663 * sysdeps/mach/configure.in (MIG): Likewise.
20664 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20665 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20667 (config-cflags-avx): Likewise.
20668 (config-cflags-sse2avx): Likewise.
20669 (have-mfma4): Likewise.
20670 (config-cflags-novzeroupper): Likewise.
20671 * configure: Regenerated.
20672 * sysdeps/i386/configure: Likewise.
20673 * sysdeps/mach/configure: Likewise.
20674 * sysdeps/sparc/configure: Likewise.
20675 * sysdeps/x86_64/configure: Likewise.
20677 2013-03-20 Roland McGrath <roland@hack.frob.com>
20680 * locale/programs/localedef.c (options): Put N_ translation marker
20681 on argument names, not just descriptions.
20683 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20685 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20687 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20690 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20692 2013-03-19 Roland McGrath <roland@hack.frob.com>
20694 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20695 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20696 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20697 [!BEFORE_ABORT] (before_abort): New function.
20698 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20699 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20700 (writev_for_fatal): New function.
20701 (WRITEV_FOR_FATAL): New macro; call that.
20702 (backtrace_and_maps): New function.
20703 (BEFORE_ABORT): New macro; call that.
20704 (struct str_list): Type removed.
20705 (__libc_message, __libc_fatal): Functions removed.
20706 Include <sysdeps/posix/libc_fatal.c> instead.
20708 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20710 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20712 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20715 2013-03-19 Andreas Schwab <schwab@suse.de>
20717 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20718 * sysdeps/gnu/configure: Regenerate.
20720 * configure.in: Substitute libc_cv_rtlddir.
20721 * configure: Regenerate.
20722 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20723 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20724 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20725 * elf/Makefile (install-others, CFLAGS-interp.c)
20726 (ldso_install, common-ldd-rewrite): Likewise.
20727 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20728 $(inst_slibdir)/$(rtld-installed-name).
20729 * scripts/rellns-sh: Add -p option.
20730 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20733 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20735 * manual/nptl.texi: Renamed to ...
20736 * manual/threads.texi: ... this.
20737 * manual/Makefile (chapters): Update.
20739 2013-03-18 Roland McGrath <roland@hack.frob.com>
20742 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20743 on argument names, not just descriptions.
20744 * malloc/memusagestat.c (options): Likewise.
20745 * nss/getent.c (options): Likewise.
20747 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20750 * iconv/iconv_prog.c (options): Put N_ translation marker
20751 on argument names, not just descriptions.
20752 * iconv/iconvconfig.c (options): Likewise.
20754 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20756 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20757 implementation which is faster on all x86_64 architectures.
20758 Tested on AMD, Intel Nehalem, SNB, IVB.
20759 * sysdeps/x86_64/strnlen.S: Likewise.
20761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20762 Remove all multiarch strlen and strnlen versions.
20763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20764 Remove strlen and strnlen related parts.
20766 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20767 Inline strlen part.
20768 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20770 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20771 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20772 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20773 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20774 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20775 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20777 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20779 * manual/memory.texi (Malloc Tunable Parameters):
20780 Sort parameters alphabetically. Add comments for missing entries.
20782 2013-03-17 David S. Miller <davem@davemloft.net>
20784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20786 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20789 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20790 for arguments at most half maximum finite value.
20791 * math/libm-test.inc (j0_test): Add more tests.
20792 (j1_test): Likewise.
20793 (y0_test): Likewise.
20794 (y1_test): Likewise.
20795 * sysdeps/i386/fpu/libm-test-ulps: Update.
20796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20799 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20800 1 / x and functions P and Q for arguments above 0x1p256L.
20801 (__ieee754_y0l): Likewise.
20802 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20803 (__ieee754_y1l): Likewise.
20804 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20805 (j1_test): Likewise.
20806 (y0_test): Likewise.
20807 (y1_test): Likewise.
20809 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20811 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20814 2013-03-15 Roland McGrath <roland@hack.frob.com>
20816 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20817 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20818 zero since it's initialized to EXEC_PAGESIZE.
20820 * sysdeps/unix/sysv/linux/ldsodefs.h
20821 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20822 * sysdeps/generic/ldsodefs.h: ... here.
20824 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20826 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20828 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20830 * math/test-snan.c: Renamed from
20831 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20832 * math/Makefile (tests): Add test-snan.
20833 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20836 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20837 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20839 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20840 __builtin_nan family of functions.
20841 * math/libm-test.inc (initialize): Initialize qnan_value with
20842 __builtin_nan family of functions.
20843 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20845 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20847 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20848 storage class. Initialize qNaN_var and sNaN_var with
20849 __builtin_nan and __builtin_nans families of functions,
20852 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20853 (sqrt_test): Remove duplicate test with qNaN input.
20854 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20855 (round_test, signbit_test, significand_test): Note missing +/-Inf
20856 as well as qNaN tests.
20858 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20859 qNaN_var. Fix a few strings, too.
20860 * math/libm-test.inc (nan_value): Rename to qnan_value.
20861 * math/gen-libm-test.pl (%beautify): Adjust to that.
20862 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20863 * math/test-misc.c (main): Likewise.
20864 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20865 to __qnan_bytes, and __qnan_union, respectively.
20866 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20868 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20869 and lqnanval, respectively.
20870 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20871 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20872 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20873 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20875 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20876 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20879 * math/test-misc.c (main): Fix copy'n'pastos.
20880 * misc/tst-efgcvt.c (special): Likewise.
20882 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20883 Remove declarations.
20885 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20887 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20888 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20889 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20890 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20892 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20894 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20895 macro to return vdso values correctly in IFUNC implementations.
20896 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20897 Optimization by using IFUNC.
20899 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20900 Richard Henderson <rth@redhat.com>
20901 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20903 * Makefile.in (bench): New target.
20904 * NEWS: Mention the benchmark framework.
20905 * Rules (bench): Likewise.
20906 (binaries-bench): Generate binaries for functions to
20908 * benchtests/Makefile: New makefile for benchmark tests.
20909 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20911 * benchtests/exp-inputs: New input file for EXP function.
20912 * benchtests/pow-inputs: New input file for POW function.
20913 * scripts/bench.pl: New script to generate source files for
20914 benchmark programs.
20916 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20918 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20919 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20920 computations on mantissa. Use macros for rounding and
20922 (denorm): Likewise.
20923 (__dbl_mp): Likewise.
20924 (add_magnitudes): Likewise.
20925 (sub_magnitudes): Likewise.
20928 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20929 powers of two in terms of TWOPOW macro.
20930 (mp_no): Make type of mantissa as MANTISSA_T.
20931 [!RADIXI]: Define RADIXI.
20932 [!TWO52]: Define TWO52.
20933 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20935 * manual/nptl.texi (cindex): Modify threads to pthreads.
20937 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20939 * sysdeps/x86_64/preconfigure: Regenerated.
20941 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20944 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20946 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20947 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20949 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20950 * math/libm-test.inc (j0_test): Do not allow one spurious
20951 underflow exception.
20952 (y1_test): Likewise.
20954 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20956 * manual/Makefile (chapters): Add nptl.
20957 * manual/debug.texi (Debugging Support): Add link to Threads
20959 * manual/nptl.texi: New file.
20961 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20963 2013-03-14 Petr Baudis <pasky@ucw.cz>
20965 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20966 for non-NULL pointer before the memory validity test. Pointed
20967 out by Holger Brunck <holger.brunck@keymile.com>.
20969 2013-03-13 Andreas Schwab <schwab@suse.de>
20971 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20974 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20976 * timezone/zic.c: Update from tzcode 2013b.
20978 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20980 * manual/install.texi (Configuring and compiling):
20981 Mention i686 and i586.
20982 * INSTALL: Regenerate.
20984 2013-03-12 Roland McGrath <roland@hack.frob.com>
20986 * sysdeps/init_array/elf-init.c: New file.
20988 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20989 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20991 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20992 __gmon_start__ as global, but as static with a .preinit_array pointer.
20993 * sysdeps/init_array/gmon-start.c: New file. Use that.
20994 * sysdeps/init_array/crti.S: New file, empty except for comments.
20995 * sysdeps/init_array/crtn.S: Likewise.
20997 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20999 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21002 Remove Prefer_SSE_for_memop.
21003 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21004 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21005 HAS_PREFER_SSE_FOR_MEMOP.
21006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21009 Remove bzero, memset ifunc support.
21010 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21011 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21012 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21013 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21015 2013-03-11 Andreas Schwab <schwab@suse.de>
21018 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21021 (GLIBC_2.16): Remove pthread_atfork.
21023 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21025 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21026 (ptestcases.h): Likewise.
21028 2013-03-08 Roland McGrath <roland@hack.frob.com>
21030 * Makeconfig ($(common-objpfx)config.status): Depend on
21031 sysdeps/*/preconfigure{,.in} too.
21033 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21035 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21036 (__free_hook): Use void * instead of __malloc_ptr_t.
21037 (__malloc_hook): Likewise.
21038 (__realloc_hook): Likewise.
21039 (__memalign_hook): Likewise.
21040 (__after_morecore_hook): Likewise.
21041 * malloc/arena.c (save_malloc_hook): Likewise.
21042 (save_free_hook): Likewise.
21043 * malloc/hooks.c (malloc_hook_ini): Likewise.
21044 (realloc_hook_ini): Likewise.
21045 (memalign_hook_ini): Likewise.
21046 * malloc/malloc.c (malloc_hook_ini): Likewise.
21047 (realloc_hook_ini): Likewise.
21048 (memalign_hook_ini): Likewise.
21049 (__free_hook): Likewise.
21050 (__malloc_hook): Likewise.
21051 (__realloc_hook): Likewise.
21052 (__memalign_hook): Likewise.
21053 (__libc_malloc): Likewise.
21054 (__libc_free): Likewise.
21055 (__libc_realloc): Likewise.
21056 (__libc_memalign): Likewise.
21057 (__libc_valloc): Likewise.
21058 (__libc_pvalloc): Likewise.
21059 (__libc_calloc): Likewise.
21060 (__posix_memalign): Likewise.
21061 * malloc/morecore.c (__sbrk): Likewise.
21062 (__default_morecore): Likewise.
21064 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21066 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21067 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21068 __malloc_ptrdiff_t.
21070 * malloc/malloc.h (__malloc_size_t): Remove macro.
21071 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21073 (old_memalign_hook): Likewise.
21074 (old_realloc_hook): Likewise.
21075 (struct hdr): Likewise.
21077 (mallochook): Likewise.
21078 (memalignhook): Likewise.
21079 (reallochook): Likewise.
21080 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21081 (tr_old_realloc_hook): Likewise.
21082 (tr_old_memalign_hook): Likewise.
21083 (tr_mallochook): Likewise.
21084 (tr_reallochook): Likewise.
21085 (tr_memalignhook): Likewise.
21087 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21089 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21090 default_ldbl_pack and using as default implementation.
21091 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21093 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21094 redundant definition.
21095 (ldbl_insert_mantissa): Likewise.
21096 (ldbl_canonicalize): Likewise.
21097 (ldbl_nearbyint): Likewise.
21098 (ldbl_pack): Rename to ldbl_pack_ppc.
21099 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21100 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21101 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21103 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21106 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21107 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21108 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21110 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21111 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21112 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21114 2013-03-07 Andreas Jaeger <aj@suse.de>
21116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21119 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21121 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21122 Include mpa.h and declare __MPEXP.
21123 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21124 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21125 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21126 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21127 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21128 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21129 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21131 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21132 (__slowpow): Use long double EXPL and LOGL functions to
21134 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21135 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21136 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21137 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21138 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21139 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21142 intermediate variable to calculate exponent.
21144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21148 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21149 [!NO__SQR]: Define __sqr.
21150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21151 and NO__SQR. Remove all code except __mul and __sqr. Include
21152 sysdeps/ieee754/dbl-64/mpa.c.
21153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21156 * posix/Makefile (tests): Add tst-pathconf.
21157 * posix/tst-pathconf.c: New test case.
21158 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21160 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21162 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21164 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21166 2013-03-06 Andreas Jaeger <aj@suse.de>
21168 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21169 definition via __MAP_ANONYMOUS.
21171 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21172 it's not part of Linux headers.
21174 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21175 (MAP_HUGE_MASK): Define.
21177 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21179 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21180 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21182 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21183 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21185 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21186 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21188 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21190 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21191 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21192 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21193 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21194 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21195 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21197 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21200 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21201 Handle f2fs and efivarfs.
21203 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21206 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21207 (EFIVARFS_MAGIC): Add.
21208 (F2FS_LINK_MAX): Add.
21210 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21212 * stdio-common/vfprintf.c: Replace __builtin_expect with
21215 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21218 * sysdeps/generic/bp-sym.h: Remove file.
21219 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21220 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21221 <bp-sym.h> and <bp-asm.h>.
21222 (__longjmp): Don't use BP_SYM.
21223 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21225 (memcpy): Don't use BP_SYM.
21226 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21227 <bp-sym.h> and <bp-asm.h>.
21228 (memcpy): Don't use BP_SYM.
21229 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21231 (memcpy): Don't use BP_SYM.
21232 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21234 (memset): Don't use BP_SYM.
21235 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21236 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21237 (__bzero): Don't use BP_SYM.
21238 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21239 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21240 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21241 <bp-sym.h> and <bp-asm.h>.
21242 (memcmp): Don't use BP_SYM. Remove comment about bounded
21244 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21245 <bp-sym.h> and <bp-asm.h>.
21246 (memcpy): Don't use BP_SYM.
21247 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21248 <bp-sym.h> and <bp-asm.h>.
21249 (memset): Don't use BP_SYM.
21250 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21251 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21252 (__bzero): Don't use BP_SYM.
21253 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21254 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21255 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21256 <bp-sym.h> and <bp-asm.h>.
21257 (strncmp): Don't use BP_SYM. Remove comment about bounded
21259 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21260 <bp-sym.h> and <bp-asm.h>.
21261 (memcpy): Don't use BP_SYM.
21262 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21263 <bp-sym.h> and <bp-asm.h>.
21264 (memset): Don't use BP_SYM.
21265 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21266 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21267 (__bzero): Don't use BP_SYM.
21268 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21269 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21270 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21271 <bp-sym.h> and <bp-asm.h>.
21272 (__memchr): Don't use BP_SYM.
21273 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21274 <bp-sym.h> and <bp-asm.h>.
21275 (memcmp): Don't use BP_SYM. Remove comment about bounded
21277 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21278 <bp-sym.h> and <bp-asm.h>.
21279 (memcpy): Don't use BP_SYM.
21280 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21281 <bp-sym.h> and <bp-asm.h>.
21282 (__mempcpy): Don't use BP_SYM.
21283 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21284 <bp-sym.h> and <bp-asm.h>.
21285 (__memrchr): Don't use BP_SYM.
21286 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21287 <bp-sym.h> and <bp-asm.h>.
21288 (memset): Don't use BP_SYM.
21289 (__bzero): Likewise.
21290 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21291 <bp-sym.h> and <bp-asm.h>.
21292 (__rawmemchr): Don't use BP_SYM.
21293 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21294 <bp-sym.h> and <bp-asm.h>.
21295 (__STRCMP): Don't use BP_SYM.
21296 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21297 <bp-sym.h> and <bp-asm.h>.
21298 (strchr): Don't use BP_SYM.
21299 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21300 <bp-sym.h> and <bp-asm.h>.
21301 (__strchrnul): Don't use BP_SYM.
21302 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21303 <bp-sym.h> and <bp-asm.h>.
21304 (strlen): Don't use BP_SYM.
21305 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21306 <bp-sym.h> and <bp-asm.h>.
21307 (strncmp): Don't use BP_SYM. Remove comment about bounded
21309 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21310 <bp-sym.h> and <bp-asm.h>.
21311 (__strnlen): Don't use BP_SYM.
21312 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21313 <bp-sym.h> and <bp-asm.h>.
21314 (__GI__setjmp): Don't use BP_SYM.
21315 (_setjmp): Likewise.
21316 (__sigsetjmp): Likewise.
21317 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21318 (L(start_addresses)): Don't use BP_SYM.
21319 (_start): Likewise.
21320 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21322 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21323 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21324 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21325 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21326 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21328 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21329 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21330 about bounded pointers.
21331 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21332 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21333 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21335 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21336 about bounded pointers. Remove GKM FIXME comments.
21337 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21338 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21340 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21341 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21342 Remove GKM FIXME comments.
21343 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21344 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21345 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21347 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21348 about bounded pointers. Remove GKM FIXME comment.
21349 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21351 (strncmp): Don't use BP_SYM. Remove comment about bounded
21353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21354 <bp-sym.h> and <bp-asm.h>.
21355 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21357 <bp-sym.h> and <bp-asm.h>.
21358 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21361 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21363 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21366 2013-03-05 David S. Miller <davem@davemloft.net>
21368 * po/es.po: Update from translation team.
21370 2013-03-05 Andreas Jaeger <aj@suse.de>
21372 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21373 <bits/mman-linux.h>.
21374 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21376 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21377 <bits/mman-linux.h> to end of file.
21378 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21380 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21381 <bits/mman-linux.h> to end of file.
21382 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21384 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21385 <bits/mman-linux.h> to end of file.
21387 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21388 (MCL_CURRENT, MCL_FUTURE): Define here.
21390 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21393 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21395 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21397 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21399 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21400 fourth parameter needed for rt_sigprocmask syscall.
21401 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21402 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21403 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21404 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21405 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21406 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21408 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21411 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21412 comment about bounded pointers.
21413 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21414 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21416 2013-03-04 Andreas Jaeger <aj@suse.de>
21418 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21419 common definitions.
21421 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21422 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21423 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21424 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21425 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21426 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21428 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21431 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21432 __ieee754_sqrl instead of __sqrl.
21434 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21436 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21437 * sysdeps/powerpc/fpu_control.h: ... here.
21438 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21439 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21440 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21441 * sysdeps/powerpc/bits/mathinline.h: ... here.
21443 2013-03-01 Roland McGrath <roland@hack.frob.com>
21445 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21446 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21447 to just [NEED_DL_SYSINFO_DSO].
21448 * elf/dl-support.c: Likewise.
21449 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21450 * elf/rtld.c (dl_main): Likewise.
21451 * elf/setup-vdso.h (setup_vdso): Likewise.
21452 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21453 * sysdeps/unix/sysv/linux/dl-sysdep.c
21454 (_dl_discover_osversion): Likewise.
21456 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21458 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21459 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21461 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21463 * NEWS: Mention libm performance improvements and non-x86 PI
21466 * csu/libc-start.c (__pthread_initialize_minimal): Change
21467 function arguments.
21468 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21470 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21473 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21474 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21475 <bp-sym.h> and <bp-asm.h>.
21476 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21477 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21479 (memcpy): Don't use BP_SYM.
21480 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21482 (__mpn_add_n): Don't use BP_SYM.
21483 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21484 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21486 (__mpn_addmul_1): Don't use BP_SYM.
21487 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21488 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21490 (_setjmp): Don't use BP_SYM.
21491 (__novmx_setjmp): Likewise.
21492 (__GI__setjmp): Likewise.
21493 (__vmx_setjmp): Likewise.
21494 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21496 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21497 (__bzero): Don't use BP_SYM.
21498 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21499 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21500 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21501 <bp-sym.h> and <bp-asm.h>.
21502 (memcpy): Don't use BP_SYM.
21503 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21504 <bp-sym.h> and <bp-asm.h>.
21505 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21506 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21507 <bp-sym.h> and <bp-asm.h>.
21508 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21509 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21511 (__mpn_lshift): Don't use BP_SYM.
21512 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21513 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21515 (memset): Don't use BP_SYM.
21516 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21517 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21518 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21520 (__mpn_mul_1): Don't use BP_SYM.
21521 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21522 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21523 <bp-sym.h> and <bp-asm.h>.
21524 (memcmp): Don't use BP_SYM.
21525 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21526 <bp-sym.h> and <bp-asm.h>.
21527 (memcpy): Don't use BP_SYM.
21528 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21529 <bp-sym.h> and <bp-asm.h>.
21530 (memset): Don't use BP_SYM.
21531 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21532 <bp-sym.h> and <bp-asm.h>.
21533 (strncmp): Don't use BP_SYM.
21534 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21535 <bp-sym.h> and <bp-asm.h>.
21536 (memcpy): Don't use BP_SYM.
21537 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21538 <bp-sym.h> and <bp-asm.h>.
21539 (memset): Don't use BP_SYM.
21540 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21541 <bp-sym.h> and <bp-asm.h>.
21542 (__memchr): Don't use BP_SYM.
21543 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21544 <bp-sym.h> and <bp-asm.h>.
21545 (memcmp): Don't use BP_SYM.
21546 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21547 <bp-sym.h> and <bp-asm.h>.
21548 (memcpy): Don't use BP_SYM.
21549 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21550 <bp-sym.h> and <bp-asm.h>.
21551 (__mempcpy): Don't use BP_SYM.
21552 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21553 <bp-sym.h> and <bp-asm.h>.
21554 (__memrchr): Don't use BP_SYM.
21555 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21556 <bp-sym.h> and <bp-asm.h>.
21557 (memset): Don't use BP_SYM.
21558 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21559 <bp-sym.h> and <bp-asm.h>.
21560 (__rawmemchr): Don't use BP_SYM.
21561 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21562 <bp-sym.h> and <bp-asm.h>.
21563 (__STRCMP): Don't use BP_SYM.
21564 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21565 <bp-sym.h> and <bp-asm.h>.
21566 (strchr): Don't use BP_SYM.
21567 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21568 <bp-sym.h> and <bp-asm.h>.
21569 (__strchrnul): Don't use BP_SYM.
21570 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21571 <bp-sym.h> and <bp-asm.h>.
21572 (strlen): Don't use BP_SYM.
21573 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21574 <bp-sym.h> and <bp-asm.h>.
21575 (strncmp): Don't use BP_SYM.
21576 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21577 <bp-sym.h> and <bp-asm.h>.
21578 (__strnlen): Don't use BP_SYM.
21579 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21581 (__mpn_rshift): Don't use BP_SYM.
21582 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21583 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21584 <bp-sym.h> and <bp-asm.h>.
21585 (__sigsetjmp): Don't use BP_SYM.
21586 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21587 (L(start_addresses)): Don't use BP_SYM.
21588 (_start): Likewise.
21589 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21591 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21592 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21593 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21594 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21596 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21597 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21598 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21599 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21601 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21603 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21604 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21606 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21608 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21609 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21610 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21612 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21614 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21616 (strncmp): Don't use BP_SYM,
21617 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21619 (__mpn_sub_n): Don't use BP_SYM.
21620 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21621 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21623 (__mpn_submul_1): Don't use BP_SYM.
21624 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21626 <bp-sym.h> and <bp-asm.h>.
21627 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21629 <bp-sym.h> and <bp-asm.h>.
21630 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21633 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21636 Use ZK to minimize writes to Z.
21637 (sub_magnitudes): Simplify code a bit.
21638 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21639 Use ZK to minimize writes to Z.
21640 (sub_magnitudes): Simplify code a bit.
21642 2013-02-27 Roland McGrath <roland@hack.frob.com>
21644 * csu/gmon-start.c: Add special exception to license text.
21646 2013-02-27 Richard Henderson <rth@redhat.com>
21648 * scripts/config.guess: Update from config.git.
21649 * scripts/config.sub: Likewise.
21651 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21653 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21655 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21657 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21659 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21661 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21663 2013-02-26 Roland McGrath <roland@hack.frob.com>
21665 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21666 [$(build-shared = yes].
21668 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21670 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21671 (__mul): Reduce iterations for calculating mantissa.
21673 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21675 (__mpranred): Likewise.
21678 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21679 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21681 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21683 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21684 Define __attribute__.
21686 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21688 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21690 * posix/regex_internal.h (__attribute): Remove.
21691 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21692 (re_string_context_at): Likewise.
21693 (bitset_not): Use __attribute__ and mark function as possibly
21695 (bitset_merge): Likewise.
21696 (bitset_mask): Likewise.
21697 (re_string_char_size_at): Likewise.
21698 (re_string_wchar_at): Likewise.
21699 (re_string_elem_size_at): Likewise.
21701 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21703 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21707 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21711 (denorm): Likewise.
21712 (__dbl_mp): Likewise.
21713 (add_magnitudes): Likewise.
21714 (sub_magnitudes): Likewise.
21718 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21721 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21724 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21728 up changes with default code.
21729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21732 2013-02-24 Allan McRae <allan@archlinux.org>
21734 * manual/socket.texi (The Internet Namespace): Order menu items
21735 to match that in the file.
21737 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21738 node listing of the info page menu.
21740 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21743 * sysdeps/i386/bp-asm.h: Remove file.
21744 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21745 (PARMS): Do not use macros from bp-asm.h.
21749 (__mpn_add_n): Do not use BP_SYM
21750 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21752 (PARMS): Do not use macros from bp-asm.h.
21755 (__mpn_addmul_1): Do not use BP_SYM
21756 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21758 (PARMS): Do not use macros from bp-asm.h.
21759 (SIGMSK): Likewise.
21760 (_setjmp): Likewise. Do not use BP_SYM.
21761 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21763 (PARMS): Do not use macros from bp-asm.h.
21764 (SIGMSK): Likewise.
21765 (setjmp): Likewise. Do not use BP_SYM.
21766 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21768 (PARMS): Do not use macros from bp-asm.h.
21769 (__frexp): Do not use BP_SYM.
21771 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21773 (PARMS): Do not use macros from bp-asm.h.
21774 (__frexpf): Do not use BP_SYM.
21775 (frexpf): Likewise.
21776 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21778 (PARMS): Do not use macros from bp-asm.h.
21779 (__frexpl): Do not use BP_SYM.
21780 (frexpl): Likewise.
21781 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21783 (PARMS): Do not use macros from bp-asm.h.
21784 (__remquo): Do not use BP_SYM.
21785 (remquo): Likewise.
21786 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21788 (PARMS): Do not use macros from bp-asm.h.
21789 (__remquof): Do not use BP_SYM.
21790 (remquof): Likewise.
21791 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21793 (PARMS): Do not use macros from bp-asm.h.
21794 (__remquol): Do not use BP_SYM.
21795 (remquol): Likewise.
21796 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21798 (PARMS): Do not use macros from bp-asm.h.
21801 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21802 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21804 (PARMS): Do not use macros from bp-asm.h.
21805 (strlen): Do not use BP_SYM.
21806 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21808 (PARMS): Do not use macros from bp-asm.h.
21812 (__mpn_add_n): Do not use BP_SYM.
21813 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21815 (PARMS): Do not use macros from bp-asm.h.
21818 (__mpn_addmul_1): Do not use BP_SYM.
21819 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21822 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21824 (PARMS): Do not use macros from bp-asm.h.
21827 (__mpn_lshift): Do not use BP_SYM.
21828 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21830 (PARMS): Do not use macros from bp-asm.h.
21834 (memcpy): Likewise. Do not use BP_SYM.
21835 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21836 libc_hidden_def and weak_alias.
21837 (mempcpy): Do not use BP_SYM in weak_alias.
21838 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21840 (PARMS): Do not use macros from bp-asm.h.
21843 [!BZERO_P] (CHR): Likewise.
21844 (memset): Likewise. Do not use BP_SYM.
21845 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21847 (PARMS): Do not use macros from bp-asm.h.
21850 (__mpn_mul_1): Do not use BP_SYM.
21851 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21853 (PARMS): Do not use macros from bp-asm.h.
21856 (__mpn_rshift): Do not use BP_SYM.
21857 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21859 (PARMS): Do not use macros from bp-asm.h.
21862 (strchr): Likewise. Do not use BP_SYM.
21863 (index): Do not use BP_SYM in weak_alias.
21864 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21866 (PARMS): Do not use macros from bp-asm.h.
21869 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21870 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21872 (PARMS): Do not use macros from bp-asm.h.
21873 (strlen): Do not use BP_SYM.
21874 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21876 (PARMS): Do not use macros from bp-asm.h.
21880 (__mpn_sub_n): Do not use BP_SYM.
21881 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21883 (PARMS): Do not use macros from bp-asm.h.
21886 (__mpn_submul_1): Do not use BP_SYM.
21887 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21889 (PARMS): Do not use macros from bp-asm.h.
21893 (__mpn_add_n): Do not use BP_SYM.
21894 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21897 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21899 (PARMS): Do not use macros from bp-asm.h.
21902 (memcmp): Do not use BP_SYM.
21903 (bcmp): Do not use BP_SYM in weak_alias.
21904 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21906 (PARMS): Do not use macros from bp-asm.h.
21910 (memcpy): Likewise. Do not use BP_SYM.
21911 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21913 (PARMS): Do not use macros from bp-asm.h.
21917 (memmove): Likewise. Do not use BP_SYM.
21918 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21920 (PARMS): Do not use macros from bp-asm.h.
21924 (__mempcpy): Likewise. Do not use BP_SYM.
21925 (mempcpy): Do not use BP_SYM in weak_alias.
21926 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21928 (PARMS): Do not use macros from bp-asm.h.
21931 [!BZERO_P] (CHR): Likewise.
21932 (memset): Likewise. Do not use BP_SYM.
21933 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21935 (PARMS): Do not use macros from bp-asm.h.
21937 (strcmp): Do not use BP_SYM.
21938 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21940 (PARMS): Do not use macros from bp-asm.h.
21943 [USE_AS_STRTOK_R] (SAVE): Likewise.
21944 (FUNCTION): Likewise. Do not use BP_SYM.
21945 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21947 (strtok_r): Likewise.
21948 (__GI___strtok_r): Likewise.
21949 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21950 (PARMS): Do not use macros from bp-asm.h.
21953 (__mpn_lshift): Do not use BP_SYM.
21954 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21955 (PARMS): Do not use macros from bp-asm.h.
21958 (__memchr): Do not use BP_SYM.
21959 (memchr): Do not use BP_SYM in weak_alias.
21960 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21961 (PARMS): Do not use macros from bp-asm.h.
21964 (memcmp): Do not use BP_SYM.
21965 (bcmp): Do not use BP_SYM in weak_alias.
21966 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21967 (PARMS): Do not use macros from bp-asm.h.
21970 (__mpn_mul_1): Do not use BP_SYM.
21971 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21973 (PARMS): Do not use macros from bp-asm.h.
21976 (__rawmemchr): Do not use BP_SYM.
21977 (rawmemchr): Do not use BP_SYM in weak_alias.
21978 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21979 (PARMS): Do not use macros from bp-asm.h.
21982 (__mpn_rshift): Do not use BP_SYM.
21983 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21984 (PARMS): Do not use macros from bp-asm.h.
21985 (SIGMSK): Likewise.
21986 (__sigsetjmp): Likewise. Do not use BP_SYM.
21987 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21988 (_start): Do not use BP_SYM.
21989 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21990 (PARMS): Do not use macros from bp-asm.h.
21993 (__stpcpy): Likewise. Do not use BP_SYM.
21994 (stpcpy): Do not use BP_SYM in weak_alias.
21995 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21997 (PARMS): Do not use macros from bp-asm.h.
22001 (__stpncpy): Likewise. Do not use BP_SYM.
22002 (stpncpy): Do not use BP_SYM in weak_alias.
22003 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22004 (PARMS): Do not use macros from bp-asm.h.
22007 (strchr): Likewise. Do not use BP_SYM.
22008 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22010 (PARMS): Do not use macros from bp-asm.h.
22013 (__strchrnul): Likewise. Do not use BP_SYM.
22014 (strchrnul): Do not use BP_SYM in weak_alias.
22015 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22017 (PARMS): Do not use macros from bp-asm.h.
22019 (strcspn): Do not use BP_SYM.
22020 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22022 (PARMS): Do not use macros from bp-asm.h.
22025 (strpbrk): Likewise. Do not use BP_SYM.
22026 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22028 (PARMS): Do not use macros from bp-asm.h.
22031 (strrchr): Likewise. Do not use BP_SYM.
22032 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22033 (PARMS): Do not use macros from bp-asm.h.
22035 (strspn): Do not use BP_SYM.
22036 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22037 (PARMS): Do not use macros from bp-asm.h.
22041 (FUNCTION): Likewise. Do not use BP_SYM.
22042 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22044 (strtok_r): Likewise.
22045 (__GI___strtok_r): Likewise.
22046 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22047 (PARMS): Do not use macros from bp-asm.h.
22051 (__mpn_sub_n): Do not use BP_SYM.
22052 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22054 (PARMS): Do not use macros from bp-asm.h.
22057 (__mpn_submul_1): Do not use BP_SYM.
22058 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22060 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22062 (PARMS): Do not use macros from bp-asm.h.
22067 (__clone): Do not use BP_SYM.
22068 (clone): Do not use BP_SYM in weak_alias.
22069 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22071 (PARMS): Do not use macros from bp-asm.h.
22073 (__mmap64): Do not use BP_SYM.
22074 (mmap64): Do not use BP_SYM in weak_alias.
22075 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22076 <bp-sym.h> and <bp-asm.h>.
22077 (PARMS): Do not use macros from bp-asm.h.
22078 (__posix_fadvise64_l64): Do not use BP_SYM.
22079 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22080 (PARMS): Do not use macros from bp-asm.h.
22082 (semtimedop): Do not use BP_SYM.
22083 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22086 2013-02-21 Allan McRae <allan@archlinux.org>
22088 * manual/message.texi (Charset conversion in gettext):
22089 Move @end statement to beginning of line.
22091 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22098 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22099 (denorm): Likewise.
22100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22103 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22105 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22106 tail-call to the resolved function if pltexit isn't needed.
22108 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22110 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22111 or Y being zero as being unlikely.
22112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22115 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22117 * manual/nss.texi (System Databases and Name Service Switch):
22118 Remove frobnicate @pxref.
22120 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22122 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22123 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22125 2013-02-20 Petr Machata <pmachata@redhat.com>
22127 * elf/elf.h (R_ARM_TARGET1): New macro.
22128 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22129 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22130 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22131 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22132 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22133 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22134 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22135 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22136 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22137 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22138 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22139 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22140 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22141 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22142 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22143 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22144 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22145 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22146 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22147 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22148 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22149 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22150 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22151 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22152 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22153 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22154 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22155 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22156 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22157 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22158 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22159 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22160 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22161 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22162 (R_ARM_THM_GOT_BREL12): Likewise.
22163 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22164 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22165 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22166 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22167 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22168 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22169 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22170 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22171 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22173 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22175 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22176 __attribute_used__ to __attribute__ ((unused)).
22178 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22180 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22183 comment formatting.
22184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22186 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22189 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22191 (ENTER): Remove both macro definitions.
22193 (CHECK_BOUNDS_LOW): Likewise.
22194 (CHECK_BOUNDS_HIGH): Likewise.
22195 (CHECK_BOUNDS_BOTH): Likewise.
22196 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22197 (RETURN_BOUNDED_POINTER): Likewise.
22198 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22199 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22200 (POP_ERRNO_LOCATION_RETURN): Likewise.
22201 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22202 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22203 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22205 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22206 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22207 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22208 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22209 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22210 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22211 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22212 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22213 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22214 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22215 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22216 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22217 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22218 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22220 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22221 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22223 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22224 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22225 * sysdeps/i386/i586/memset.S (memset): Likewise.
22226 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22227 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22228 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22230 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22231 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22232 Change uses of L(2) to L(out).
22233 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22234 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22235 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22236 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22237 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22239 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22240 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22242 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22243 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22244 (RETURN): Do not use macro LEAVE.
22245 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22246 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22247 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22248 * sysdeps/i386/i686/memset.S (memset): Likewise.
22249 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22250 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22251 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22252 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22254 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22255 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22256 L(1_2) and L(1_3) into L(1).
22257 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22258 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22259 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22260 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22261 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22262 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22263 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22264 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22265 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22267 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22268 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22269 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22270 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22271 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22272 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22273 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22274 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22275 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22276 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22277 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22278 * sysdeps/i386/strspn.S (strspn): Likewise.
22279 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22281 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22282 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22283 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22284 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22285 L(1_3) into L(1_1).
22286 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22287 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22288 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22290 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22292 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22294 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22297 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22299 * math/atest-exp.c (exp_mpn): Remove ROUND.
22300 * math/atest-exp2.c (exp_mpn): Likewise.
22301 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22303 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22304 * stdlib/tst-tls-atexit-lib.c: Likewise.
22305 * stdlib/tst-tls-atexit.c: Likewise.
22307 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22309 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22310 and __attribute_alloc_size__.
22312 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22314 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22315 __attribute_alloc_size__.
22316 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22317 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22319 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22321 * include/programs/xmalloc.h: New file.
22322 * catgets/gencat.c: Include it.
22323 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22324 * elf/pldd.c: Likewise.
22325 * iconv/iconv_charmap.c: Likewise.
22326 * iconv/iconvconfig.c: Likewise.
22327 * iconv/strtab.c: Likewise.
22328 * locale/programs/locale.c: Likewise.
22329 * locale/programs/localedef.h: Likewise.
22330 * locale/programs/simple-hash.c: Likewise.
22331 * nscd/nscd.h: Likewise.
22332 * nss/makedb.c: Likewise.
22333 * sysdeps/generic/ldconfig.h: Likewise.
22335 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22337 * Versions.def: Add GLIBC_2.18.
22338 * include/link.h (struct link_map): New member l_tls_dtor_count.
22339 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22340 (__call_tls_dtors): Likewise.
22341 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22342 __cxa_thread_atexit_impl.
22343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22359 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22360 (tests): Add test case tst-tls-atexit.
22361 (modules-names): Add shared library for tst-tls-atexit.
22362 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22363 (GLIBC_PRIVATE): Add __call_tls_dtors.
22364 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22366 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22367 * stdlib/tst-tls-atexit.c: New test case.
22368 * stdlib/tst-tls-atexit-lib.c: New test case.
22370 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22372 * elf/Versions (ld): Add _dl_find_dso_for_object.
22373 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22374 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22375 (dl_open_worker): Use _dl_find_dso_for_object.
22376 * elf/dl-sym.c (do_sym): Likewise.
22377 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22379 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22381 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22382 Syntactic changes only.
22383 (_dl_runtime_profile): Do a tail-call to the resolved function.
22385 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22388 * sysdeps/x86_64/bp-asm.h: Remove file.
22389 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22390 <bp-sym.h> and <bp-asm.h>.
22391 (__clone): Do not use BP_SYM.
22392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22393 <bp-sym.h> and <bp-asm.h>.
22394 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22395 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22397 (_setjmp): Do not use BP_SYM.
22398 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22400 (setjmp): Do not use BP_SYM.
22401 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22403 (mempcpy): Do not use BP_SYM in weak_alias.
22404 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22406 (strchr): Do not use BP_SYM.
22407 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22409 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22410 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22411 (_start): Do not use BP_SYM.
22412 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22414 (strcat): Do not use BP_SYM.
22415 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22417 (STRCMP): Do not use BP_SYM.
22418 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22420 (STRCPY): Do not use BP_SYM.
22421 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22423 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22425 (FUNCTION): Do not use BP_SYM.
22426 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22428 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22430 2013-02-17 Andreas Jaeger <aj@suse.de>
22432 * time/Versions: Sort entries.
22433 * string/Versions: Likewise.
22434 * resolv/Versions: Likewise.
22435 * posix/Versions: Likewise.
22436 * iconv/Versions: Likewise.
22437 * elf/Versions: Likewise.
22438 * wcsmbs/Versions: Likewise.
22440 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22442 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22443 loop termination condition.
22445 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22446 variable to calculate EZ.
22449 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22450 the lower precision input.
22452 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22455 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22456 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22457 (run-via-rtld-prefix): Do not handle %-bp tests.
22458 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22459 (all-object-suffixes): Remove .ob.
22460 (bppfx): Remove variable.
22461 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22462 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22463 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22464 [$(build-bounded) = yes] (libtype.ob): Likewise.
22465 * Makerules (elide-routines.ob): Remove variable.
22466 (do-tests-clean): Do not handle *-bp.out.
22467 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22468 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22469 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22470 (tests): Do not include $(tests-bp.out).
22471 (xtests): Do not include $(xtests-bp.out).
22472 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22473 [$(build-bounded) = yes] ($(addprefix
22474 $(objpfx),$(binaries-bounded))): Remove rule.
22475 ($(objpfx)%-bp.out): Remove rule.
22476 * config.make.in (build-bounded): Remove variable.
22477 * crypt/Makefile [$(build-bounded) = yes]
22478 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22479 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22480 append to variable.
22481 [$(build-bounded) = yes] (install-lib): Likewise.
22482 [$(build-bounded) = yes] (generated): Likewise.
22483 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22485 * intl/Makefile [$(build-bounded) = yes]
22486 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22487 * math/Makefile [$(build-bounded) = yes]
22488 ($(tests:%=$(objpfx)%-bp): Likewise.
22489 * misc/Makefile [$(build-bounded) = yes]
22490 ($(objpfx)tst-tsearch-bp): Likewise.
22491 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22492 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22494 * string/Makefile (o-objects.ob): Remove variable.
22495 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22496 (CFLAGS-.ob): Remove variable.
22497 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22498 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22499 both definitions of variable.
22500 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22501 (ASFLAGS-.ob): Remove variable.
22503 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22506 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22507 Remove __BOUNDED_POINTERS__ from condition.
22508 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22509 * string/bits/string2.h [!__NO_STRING_INLINES &&
22510 !__BOUNDED_POINTERS__]: Likewise.
22511 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22513 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22514 Remove conditional code.
22515 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22516 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22517 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22521 * csu/libc-start.c: Do not include <bp-sym.h>.
22522 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22523 * elf/dl-open.c: Do not include <bp-sym.h>.
22524 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22525 * math/fegetenv.c: Do not include <bp-sym.h>.
22526 (fegetenv): Do not use BP_SYM in versioned symbols.
22527 * nptl/sysdeps/pthread/bits/libc-lockP.h
22528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22531 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22533 (__pthread_mutex_destroy): Likewise.
22534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22535 (__pthread_mutex_lock): Likewise.
22536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22537 (__pthread_mutex_trylock): Likewise.
22538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22539 (__pthread_mutex_unlock): Likewise.
22540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22541 (__pthread_mutexattr_init): Likewise.
22542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22543 (__pthread_mutexattr_destroy): Likewise.
22544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22545 (__pthread_mutexattr_settype): Likewise.
22546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22547 (__pthread_rwlock_init): Likewise.
22548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22549 (__pthread_rwlock_destroy): Likewise.
22550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22551 (__pthread_rwlock_rdlock): Likewise.
22552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22553 (__pthread_rwlock_tryrdlock): Likewise.
22554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22555 (__pthread_rwlock_wrlock): Likewise.
22556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22557 (__pthread_rwlock_trywrlock): Likewise.
22558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22559 (__pthread_rwlock_unlock): Likewise.
22560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22561 (__pthread_key_create): Likewise.
22562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22563 (__pthread_setspecific): Likewise.
22564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22565 (__pthread_getspecific): Likewise.
22566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22569 (_pthread_cleanup_push_defer): Likewise.
22570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22571 (_pthread_cleanup_pop_restore): Likewise.
22572 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22573 (pthread_setcancelstate): Likewise.
22574 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22576 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22577 (memchr): Do not use BP_SYM in weak_alias.
22578 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22579 (fegetenv): Do not use BP_SYM in versioned symbols.
22580 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22581 (fesetenv): Do not use BP_SYM in versioned symbols.
22582 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22583 (feupdateenv): Do not use BP_SYM in versioned symbols.
22584 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22585 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22586 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22587 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22588 (open64): Do not use BP_SYM in weak_alias.
22589 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22590 (fegetenv): Do not use BP_SYM in versioned symbols.
22591 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22592 (fesetenv): Do not use BP_SYM in versioned symbols.
22593 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22594 (feupdateenv): Do not use BP_SYM in versioned symbols.
22595 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22596 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22597 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22598 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22599 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22600 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22601 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22603 (__libc_start_main): Do not use BP_SYM.
22605 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22608 redundant return line.
22610 (denorm): Likewise.
22611 (dbl_mp): Likewise.
22612 (sub_magnitudes): Likewise.
22618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22620 (denorm): Likewise.
22621 (dbl_mp): Likewise.
22622 (sub_magnitudes): Likewise.
22629 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22631 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22632 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22635 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22636 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22637 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22638 of __mul for squares.
22639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22643 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22644 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22646 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22649 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22651 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22652 prototype or function definition. Rename ubp_* variables and
22653 parameters. Remove argv definitions conditional on
22654 [__BOUNDED_POINTERS__].
22655 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22656 * elf/dl-runtime.c (_dl_fixup): Likewise.
22657 * include/set-hooks.h (RUN_HOOK): Likewise.
22658 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22660 * string/strcpy.c (strcpy): Do not use __unbounded.
22661 * sysdeps/generic/frame.h (struct layout): Likewise.
22662 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22663 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22664 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22665 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22666 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22667 (__backtrace): Likewise.
22668 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22670 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22671 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22672 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22674 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22675 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22676 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22677 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22678 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22679 Do not use __unbounded.
22680 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22681 Rename __unboundedrlimits parameter to rlimits in prototype.
22682 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22683 Do not use __unbounded.
22684 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22685 not use __ptrvalue.
22686 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22687 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22688 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22689 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22690 __ptrvalue or __unbounded.
22691 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22692 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22694 (__new_msgctl): Do not use __ptrvalue.
22695 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22697 (__libc_msgrcv): Do not use __ptrvalue.
22698 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22699 startup_info): Do not use __unbounded.
22700 (__libc_start_main): Likewise. Rename ubp_* variables and
22701 parameters. Remove argv definitions conditional on
22702 [__BOUNDED_POINTERS__].
22703 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22705 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22707 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22709 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22711 (__new_shmctl): Do not use __ptrvalue.
22712 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22713 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22715 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22716 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22717 (__libc_sigaction): Likewise.
22718 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22719 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22721 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22723 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22725 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22727 * string/mempcpy.c: Implement by calling memcpy.
22729 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22736 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22737 values in the mantissa.
22739 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22740 minimize writes to Z.
22741 (sub_magnitudes): Simplify code a bit.
22743 2013-02-12 Roland McGrath <roland@hack.frob.com>
22745 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22746 from the message. The linker prefixes all warnings with that already.
22748 2013-02-12 Andreas Schwab <schwab@suse.de>
22751 * posix/regexec.c (extend_buffers): Add parameter min_len.
22752 (check_matching): Pass minimum needed length.
22753 (clean_state_log_if_needed): Likewise.
22754 (get_subexp): Likewise.
22755 * posix/Makefile (tests): Add bug-regex34.
22756 (bug-regex34-ENV): Define.
22757 * posix/bug-regex34.c: New file.
22760 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22761 elements compare against the byte sequence of it, not its name.
22762 * posix/Makefile (tests): Add bug-regex35.
22763 (bug-regex35-ENV): Define.
22764 * posix/bug-regex35.c: New file.
22766 2013-02-11 Tom de Vries <tom@codesourcery.com>
22768 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22770 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22771 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22772 (CHECK_EOL): Add undef.
22774 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22776 * bits/stdlib-bsearch.h: New file.
22777 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22778 * stdlib/stdlib.h: Likewise.
22780 2013-02-11 Roland McGrath <roland@hack.frob.com>
22782 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22783 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22785 * manual/search.texi (Array Search Function): Add missing const in
22787 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22788 declaration to use rlim_t.
22789 (Basic Scheduling Functions): Remove erroneous const from
22790 sched_getparam prototype. Remove erroneous * from
22791 sched_get_priority_max and sched_get_priority_min prototypes.
22792 (Resource Usage): Fix summary @comment on vtimes to refer to
22793 sys/vtimes.h rather than vtimes.h.
22794 Add missing *s in vtimes prototype.
22795 (Limits on Resources): Fix ulimit prototype to return long int.
22796 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22797 prototypes to use long int rather than double.
22798 (BSD Random): Fix initstate and setstate to use char *, not void *.
22799 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22800 prototype to make second argument 'struct aiocb64 *const[]'.
22801 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22802 (Status of AIO Operations): Remove erroneous const in aio_return and
22803 aio_return64 prototypes.
22804 (Synchronizing I/O): Fix sync prototype to return void.
22805 * manual/startup.texi (Suboptions): Remove an erroneous const in
22806 getsubopt prototype.
22807 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22808 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22809 use size_t rather than int.
22810 (Scanning All Users): Likewise for getpwent_r.
22811 (Setting Groups): Add missing const to setgroups prototype.
22812 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22813 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22814 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22815 'const void *' rather than 'const char *'.
22816 (Host Address Functions): Likewise for inet_ntop.
22817 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22818 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22819 ssize_t for return value.
22820 (Sending Data): Likewise for send, sendto, sendmsg.
22821 (Socket Option Functions): Add a missing const in setsockopt prototype.
22822 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22823 use wchar_t for the argument.
22824 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22825 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22827 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22828 double/float/long double for second argument.
22829 Fix return types of significand, significandf, significandl.
22830 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22831 argument in fchmod prototype.
22832 (File Owner): Use uid_t and gid_t in fchown prototype.
22833 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22834 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22835 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22836 use 'const struct dirent **' as argument types to CMP function pointer
22838 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22839 (File Times): Fix summary magic @comment for struct utimbuf and utime
22840 to refer to utime.h, not time.h.
22841 * manual/string.texi (Argz Functions): Add missing const in
22842 argz_extract and argz_next prototypes.
22843 (Finding Tokens in a String): Likewise for basename.
22844 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22845 (Copying and Concatenation): Fix typo in wmemmove prototype.
22846 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22847 (Signal Stack): Remove erroneous const in sigstack prototype.
22848 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22850 (Simple Calendar Time): Likewise for stime.
22851 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22853 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22854 say sys/sysctl.h instead.
22855 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22856 and vsyslog prototypes.
22858 2013-02-11 Tom de Vries <tom@codesourcery.com>
22860 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22863 2013-02-11 Roland McGrath <roland@hack.frob.com>
22865 * misc/sys/mman.h: Fix typo in mremap comment.
22867 2013-02-08 Roland McGrath <roland@hack.frob.com>
22869 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22870 the '\0' terminator.
22872 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22875 * debug/segfault.c: Don't include <bp-checks.h>.
22876 * sysdeps/generic/bp-checks.h: Remove file.
22877 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22878 (__GETDENTS): Don't use CHECK_N.
22879 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22880 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22881 (__getgroups): Don't use CHECK_N.
22882 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22883 (setgroups): Don't use CHECK_N.
22884 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22885 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22886 (__libc_msgrcv): Don't use CHECK_N.
22887 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22888 (__libc_msgsnd): Don't use CHECK_N.
22889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22891 (__libc_pread): Don't use CHECK_N.
22892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22893 include <bp-checks.h>.
22894 (__libc_pread64): Don't use CHECK_N.
22895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22896 include <bp-checks.h>.
22897 (__libc_pwrite): Don't use CHECK_N.
22898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22899 include <bp-checks.h>.
22900 (__libc_pwrite64): Don't use CHECK_N.
22901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22903 (__libc_pread): Don't use CHECK_N.
22904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22905 include <bp-checks.h>.
22906 (__libc_pread64): Don't use CHECK_N.
22907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22908 include <bp-checks.h>.
22909 (__libc_pwrite): Don't use CHECK_N.
22910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22911 include <bp-checks.h>.
22912 (__libc_pwrite64): Don't use CHECK_N.
22913 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22914 (do_pread): Don't use CHECK_N.
22915 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22916 (do_pread64): Don't use CHECK_N.
22917 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22918 (do_pwrite): Don't use CHECK_N.
22919 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22920 (do_pwrite64): Don't use CHECK_N.
22921 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22922 (__libc_readv): Don't use CHECK_N.
22923 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22924 (semop): Don't use CHECK_N.
22925 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22927 (semtimedop): Don't use CHECK_N.
22928 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22929 (__libc_pread): Don't use CHECK_N.
22930 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22932 (__libc_pread64): Don't use CHECK_N.
22933 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22935 (__libc_pwrite): Don't use CHECK_N.
22936 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22938 (__libc_pwrite64): Don't use CHECK_N.
22939 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22941 (__libc_msgrcv): Don't use CHECK_N.
22942 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22943 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22944 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22945 (__libc_writev): Don't use CHECK_N.
22947 2013-02-08 Roland McGrath <roland@hack.frob.com>
22949 * string/strcpy.c: Removed unused variable.
22951 * Makeconfig (+sysdep-includes): Define with := rather than =.
22952 Use an existing include/ subdir of each sysdeps dir before it.
22954 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22956 * nscd/connection.c (register_traced_file): Comment function.
22957 [HAVE_INOTIFY] (union __inev): Define.
22958 [HAVE_INOTIFY] (inotify_check_files): New function.
22959 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22960 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22962 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22964 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22966 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22967 loaded if not already and that a failure is permanent.
22969 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22972 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22973 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22975 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22978 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22979 (CHECK_1_NULL_OK): Likewise.
22980 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22981 (__fxstat): Do not use CHECK_1.
22982 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22984 (___fxstat64): Do not use CHECK_1.
22985 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22987 (__fxstatat): Do not use CHECK_1.
22988 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22990 (__fxstatat64): Do not use CHECK_1.
22991 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22993 (__fxstat): Do not use CHECK_1.
22994 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22996 (__fxstatat): Do not use CHECK_1.
22997 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22999 (__getresgid): Do not use CHECK_1.
23000 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23002 (__getresuid): Do not use CHECK_1.
23003 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23005 (__lxstat): Do not use CHECK_1.
23006 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23008 (__old_msgctl): Do not use CHECK_1.
23009 (__new_msgctl): Likewise.
23010 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23012 (__new_setrlimit): Do not use CHECK_1.
23013 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23015 (__old_shmctl): Do not use CHECK_1.
23016 (__new_shmctl): Likewise.
23017 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23019 (__xstat): Do not use CHECK_1.
23020 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23021 (__lxstat): Do not use CHECK_1.
23022 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23024 (___lxstat64): Do not use CHECK_1.
23025 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23026 (__old_msgctl): Do not use CHECK_1.
23027 (__new_msgctl): Likewise.
23028 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23030 (__gettimeofday): Do not use CHECK_1.
23031 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23032 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23033 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23035 (__gettimeofday): Do not use CHECK_1.
23036 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23037 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23038 (__new_shmctl): Do not use CHECK_1.
23039 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23041 (do_sigtimedwait): Do not use CHECK_1.
23042 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23044 (do_sigwaitinfo): Do not use CHECK_1.
23045 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23047 (msgctl): Do not use CHECK_1.
23048 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23050 (shmctl): Do not use CHECK_1.
23051 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23052 (ustat): Do not use CHECK_1.
23053 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23055 (__fxstat): Do not use CHECK_1.
23056 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23058 (__fxstatat): Do not use CHECK_1.
23059 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23061 (__lxstat): Do not use CHECK_1.
23062 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23064 (__xstat): Do not use CHECK_1.
23065 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23066 (__xstat): Do not use CHECK_1.
23067 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23068 (___xstat64): Do not use CHECK_1.
23071 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23073 (CHECK_BOUNDS_HIGH): Likewise.
23074 * string/strcpy.c: Do not include <bp-checks.h>.
23075 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23077 2013-02-07 Roland McGrath <roland@hack.frob.com>
23079 * nscd/nscd-client.h (__nscd_drop_map_ref):
23080 Add __attribute__ ((unused)).
23081 * nis/nss-nisplus.h (niserr2nss): Likewise.
23083 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23084 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23086 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23087 Remove inline keyword.
23088 * include/rounding-mode.h (round_away): Likewise.
23089 * libio/wfileops.c (adjust_wide_data): Likewise.
23090 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23091 (__m128i_strloadu_tolower): Likewise.
23092 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23093 (__m128i_strloadu_tolower): Likewise.
23094 * time/mktime.c (ydhms_diff): Likewise.
23095 * locale/elem-hash.h (elem_hash): Likewise.
23096 * locale/setlocale.c (setdata): Likewise.
23097 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23098 (re_string_wchar_at): Likewise.
23099 (bitset_not, bitset_merge, bitset_mask): Likewise.
23100 [!(__GNUC__ > 3)] (inline): Remove macro.
23101 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23102 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23103 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23104 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23105 * string/memcmp.c (memcmp_bytes): Likewise.
23106 * locale/programs/locarchive.c (compute_hashval): Likewise.
23107 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23108 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23109 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23110 * nss/getent.c (print_rpc, print_protocols): Likewise.
23111 (print_passwd, print_group, print_aliases): Likewise.
23112 * nis/nss-nisplus.h (niserr2nss): Likewise.
23113 * nscd/connections.c (restart_p): Likewise.
23114 Change return type to bool.
23116 2013-02-05 Roland McGrath <roland@hack.frob.com>
23118 * Makeconfig (all-Depend-files): Add existing
23119 $(sorted-subdirs:=/Depend) files.
23120 (all-subdirs): Remove nss.
23121 * sysdeps/unix/inet/Subdirs: Add it here instead.
23122 * hesiod/Depend: New file.
23124 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23125 instead of calling alloca.
23127 * io/lseek.c (__lseek): Rename to __libc_lseek.
23128 Define __lseek as an alias.
23130 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23132 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23134 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23135 else clause and remove check for non-standard endianness.
23137 2013-02-04 David S. Miller <davem@davemloft.net>
23139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23141 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23144 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23145 (__ubp_memchr): Remove prototype.
23146 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23147 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23148 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23149 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23150 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23152 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23153 (__ubp_memchr): Likewise.
23154 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23155 (__ubp_memchr): Likewise.
23156 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23157 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23158 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23159 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23161 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23162 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23163 (__getcwd): Do not use CHECK_STRING.
23164 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23166 (__real_chown): Do not use CHECK_STRING.
23167 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23169 (fchownat): Do not use CHECK_STRING.
23170 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23172 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23174 (__lchown): Do not use CHECK_STRING.
23175 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23176 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23177 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23178 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23180 include <bp-checks.h>.
23181 (truncate64): Do not use CHECK_STRING.
23182 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23184 (__real_chown): Do not use CHECK_STRING.
23185 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23187 (__lchown): Do not use CHECK_STRING.
23188 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23190 (__chown): Do not use CHECK_STRING.
23191 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23193 (truncate64): Do not use CHECK_STRING.
23194 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23196 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23197 (__xmknod): Do not use CHECK_STRING.
23198 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23200 (__xmknodat): Do not use CHECK_STRING.
23201 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23202 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23204 2013-02-04 Andreas Schwab <schwab@suse.de>
23207 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23208 * include/netdb.h: Likewise for h_errno.
23209 * elf/tst-stackguard1.c: Include <tls.h>.
23211 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23213 * elf/link.h (struct link_map): Extend the l_addr comment.
23214 * include/link.h (struct link_map): Likewise.
23216 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23219 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23220 (BOUNDED_1): Remove macro.
23221 * debug/backtrace.c: Don't include <bp-checks.h>.
23222 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23223 (__backtrace): Likewise.
23224 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23226 (__backtrace): Don't use BOUNDED_1.
23227 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23229 (__backtrace): Don't use BOUNDED_1.
23230 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23231 (__backtrace): Don't use BOUNDED_1.
23232 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23233 (shmat): Don't use BOUNDED_N.
23235 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23238 * sysdeps/generic/bp-start.h: Remove file.
23239 * csu/libc-start.c: Don't include <bp-start.h>.
23240 (LIBC_START_MAIN): Set up __environ directly instead of using
23241 INIT_ARGV_and_ENVIRON.
23242 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23246 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23248 (CHECK_FCNTL): Likewise.
23249 (CHECK_N_PAGES): Likewise.
23252 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23254 (CHECK_SIGSET_NULL_OK): Likewise.
23255 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23257 (sigpending): Don't use CHECK_SIGSET.
23258 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23260 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23261 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23263 (do_sigsuspend): Don't use CHECK_SIGSET.
23264 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23266 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23267 (do_sigwait): Don't use CHECK_SIGSET.
23268 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23270 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23271 include <bp-checks.h>.
23272 (sigpending): Don't use CHECK_SIGSET.
23273 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23274 include <bp-checks.h>.
23275 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23276 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23278 (sigpending): Don't use CHECK_SIGSET.
23279 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23281 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23284 * sysdeps/generic/bp-semctl.h: Remove file.
23285 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23286 <bp-checks.h> and <bp-semctl.h>.
23287 (__old_semctl): Don't use CHECK_SEMCTL.
23288 (__new_semctl): Likewise.
23289 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23291 (__old_semctl): Don't use CHECK_SEMCTL.
23292 (__new_semctl): Likewise.
23293 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23294 <bp-checks.h> and <bp-semctl.h>.
23295 (__old_semctl): Don't use CHECK_SEMCTL.
23296 (__new_semctl): Likewise.
23297 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23298 <bp-checks.h> and <bp-semctl.h>.
23299 (semctl): Don't use CHECK_SEMCTL.
23302 * Makerules (elide-bp-thunks): Remove variable.
23303 (elide-routines.oS): Don't use $(elide-bp-thunks).
23304 (elide-routines.os): Likewise.
23305 (elide-routines.o): Likewise.
23306 (elide-routines.op): Likewise.
23307 (elide-routines.og): Likewise.
23308 (objects): Don't use $(bp-thunks).
23309 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23311 (common-generated): Do not add s-proto-bp.d.
23312 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23315 Do not generate makefile rules for bounded-pointer thunks.
23316 * sysdeps/generic/bp-thunks.h: Remove file.
23317 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23318 * sysdeps/unix/s-proto-bp.S: Likewise.
23321 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23322 parts of result separately when argument is not close to line from
23323 -i to i and one part of argument is small.
23324 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23325 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23326 * math/libm-test.inc (cacos_test): Add more tests.
23327 (casin_test): Likewise.
23328 (casinh_test): Likewise.
23329 * sysdeps/i386/fpu/libm-test-ulps: Update.
23330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23332 2013-01-31 David S. Miller <davem@davemloft.net>
23334 * po/de.po: Update from translation team.
23336 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23338 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23340 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23342 * configure.in (_AC_PROG_CC_C89): New definition.
23343 * configure: Regenerate.
23345 * configure.in (AC_PROG_CPP): New definition.
23346 * configure: Regenerate.
23348 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23350 * debug/tst-backtrace.h: New file.
23351 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23352 (ret): Remove variable.
23354 (FAIL): Remove macro.
23355 (NO_INLINE): Likewise.
23356 (fn1): Use match function instead of strstr.
23357 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23358 (ret): Remove variable.
23360 (FAIL): Remove macro.
23361 (NO_INLINE): Likewise.
23362 (fn): Use match function instead of strstr.
23363 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23364 (ret): Remove variable.
23366 (FAIL): Remove macro.
23367 (NO_INLINE): Likewise.
23368 (handle_signal): Use match function instead of strstr.
23369 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23370 (ret): Remove variable.
23372 (FAIL): Remove macro.
23373 (NO_INLINE): Likewise.
23374 (handle_signal): Use match function instead of strstr.
23376 2013-01-23 Roland McGrath <roland@hack.frob.com>
23378 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23380 2013-01-23 David S. Miller <davem@davemloft.net>
23382 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23383 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23384 argument of CAS if possible.
23385 * sysdeps/sparc/sparc64/bits/atomic.h
23386 (__arch_compare_and_exchange_val_32_acq): Likewise.
23387 (__arch_compare_and_exchange_val_64_acq): Likewise.
23389 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23391 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23392 * sysdeps/posix/ulimit.c: ... this.
23393 Include <limits.h>.
23394 * sysdeps/unix/bsd/ulimit.c: Remove file.
23396 2013-01-23 Adam Conrad <adconrad@0c3.net>
23398 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23399 (LDFLAGS-tst-array5): Likewise.
23401 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23404 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23405 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23406 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23407 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23409 2013-01-21 David S. Miller <davem@davemloft.net>
23411 * sysdeps/sparc/backtrace.c: New file.
23412 * sysdeps/sparc/sparc32/backtrace.h: New file.
23413 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23414 * sysdeps/sparc/sparc64/backtrace.h: New file.
23415 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23416 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23419 2013-01-21 Andreas Schwab <schwab@suse.de>
23422 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23425 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23431 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23432 Mark Mitchell <mark@codesourcery.com>
23433 Tom de Vries <tom@codesourcery.com>
23434 Paul Pluzhnikov <ppluzhnikov@google.com>
23436 * debug/tst-backtrace2.c: New file.
23437 * debug/tst-backtrace3.c: Likewise.
23438 * debug/tst-backtrace4.c: Likewise.
23439 * debug/tst-backtrace5.c: Likewise.
23440 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23441 (CFLAGS-tst-backtrace3.c): Likewise.
23442 (CFLAGS-tst-backtrace4.c): Likewise.
23443 (CFLAGS-tst-backtrace5.c): Likewise.
23444 (LDFLAGS-tst-backtrace2): Likewise.
23445 (LDFLAGS-tst-backtrace3): Likewise.
23446 (LDFLAGS-tst-backtrace4): Likewise.
23447 (LDFLAGS-tst-backtrace5): Likewise.
23448 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23449 tst-backtrace4 and tst-backtrace5.
23451 2013-01-18 Anton Blanchard <anton@samba.org>
23452 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23454 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23455 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23456 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23457 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23459 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23460 "+r" and remove output regs list as redundant. Add explicit inline
23461 asm to specify register of return val to work around compiler codegen
23462 bug. Remove (int) cast on return value. Add return type parameter to
23463 use in macro so that this macro does not truncate return value for
23465 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23466 pass to INTERNAL_VSYSCALL_NCS.
23467 (INLINE_VSYSCALL): Add 'long int' as return type to
23468 INTERNAL_VSYSCALL_NCS macro invocation.
23469 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23470 INTERNAL_VSYSCALL_NCS macro invocation.
23471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23473 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23476 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23477 Fix application of SIMD FP exception mask.
23479 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23480 mp_no from a power of two.
23481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23482 __mpexp_twomm1. Use __pow_mp.
23484 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23487 2013-01-17 David S. Miller <davem@davemloft.net>
23489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23491 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23494 * include/complex.h: Condition contents on [!_COMPLEX_H].
23495 (__kernel_casinhf): New prototype.
23496 (__kernel_casinh): Likewise.
23497 (__kernel_casinhl): Likewise.
23498 * math/Makefile (libm_calls): Add k_casinh.
23499 * math/k_casinh.c: New file.
23500 * math/k_casinhf.c: Likewise.
23501 * math/k_casinhl.c: Likewise.
23502 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23503 finite nonzero arguments.
23504 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23505 finite nonzero arguments.
23506 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23507 finite nonzero arguments.
23508 * math/s_casinh.c: Do not include <float.h>.
23509 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23510 * math/s_casinhf.c: Do not include <float.h>.
23511 (__casinhf): Move code for finite nonzero arguments to
23513 * math/s_casinhl.c: Do not include <float.h>.
23514 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23516 (__casinhl): Move code for finite nonzero arguments to
23518 * math/libm-test.inc (cacos_test): Add more tests.
23519 * sysdeps/i386/fpu/libm-test-ulps: Update.
23520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23522 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23524 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23525 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23526 [!HAVE_MREMAP]: Remove [defined linux] case.
23527 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23529 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23531 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23533 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23535 * elf/elf.h (R_386_SIZE32): New relocation.
23536 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23538 (elf_machine_rela): Likewise.
23539 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23540 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23542 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23544 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23545 (FP_FAST_FMA): Do not define.
23546 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23547 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23548 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23549 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23550 !_SOFT_FLOAT]: Likewise.
23551 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23552 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23554 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23555 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23556 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23557 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23558 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23559 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23562 2013-01-16 Andreas Schwab <schwab@suse.de>
23565 * include/stdlib.h (__mktemp): Add declaration.
23566 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23567 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23569 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23571 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23573 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23574 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23575 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23577 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23578 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23580 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23582 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23583 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23584 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23586 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23587 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23589 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23591 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23593 2013-01-15 David S. Miller <davem@davemloft.net>
23595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23596 trunc{,f} to libm-sysdep_routes.
23597 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23607 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23608 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23609 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23610 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23611 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23612 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23615 nearbyint{,f} to libm-sysdep_routes.
23616 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23627 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23629 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23630 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23632 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23633 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23634 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23636 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23637 libc_feholdexcept and libc_fesetenv.
23639 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23641 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23643 2013-01-14 David S. Miller <davem@davemloft.net>
23645 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23646 (SPARC_ASM_VIS2_IFUNC): Likewise.
23647 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23649 use of 'siam' instruction.
23650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23656 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23683 routines to libm-sysdep_routines.
23684 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23687 fdim/fdimf to libm-sysdep_routines.
23688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23696 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23697 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23698 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23699 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23701 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23703 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23704 to optimize copies.
23706 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23711 local variable MPTWO.
23712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23715 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23717 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23720 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23722 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23724 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23726 * manual/pattern.texi (glob_t): Document gl_flags.
23727 (glob64_t): Likewise.
23729 2013-01-11 David S. Miller <davem@davemloft.net>
23731 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23732 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23733 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23734 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23735 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23736 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23737 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23738 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23739 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23740 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23741 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23742 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23743 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23745 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23746 sparc V9 rather than using V8 code.
23747 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23748 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23750 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23752 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23755 2013-01-11 Roland McGrath <roland@hack.frob.com>
23757 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23758 not in the main loop.
23759 * configure: Regenerated.
23761 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23763 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23764 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23766 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23767 [!__GLIBC_HAVE_LONG_LONG] case.
23768 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23769 condition to just #else.
23770 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23771 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23772 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23773 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23775 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23776 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23777 #elif condition to just #else.
23778 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23779 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23780 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23781 #elif condition to just #else.
23783 2013-01-11 Steve Ellcey <sellcey@mips.com>
23785 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23786 (EF_MIPS_ARCH_64): Fix value.
23787 (EF_MIPS_ARCH_32R2): New.
23788 (EF_MIPS_ARCH_64R2): New.
23790 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23792 * Makeconfig (+link-pie-before-libc): New.
23793 (+link-pie-after-libc): Likewise.
23794 (+link-pie-tests): Likewise.
23795 (+link-pie): Rewritten.
23796 (link-before-libc): Remove $(config-LDFLAGS).
23797 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23798 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23799 (config-LDFLAGS): Renamed to ...
23800 (rtld-LDFLAGS): This.
23801 (rtld-tests-LDFLAGS): New macro.
23802 (link-libc-rpath-link): Likewise.
23803 (link-libc-tests-rpath-link): Likewise.
23804 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23805 (link-libc): Prepand $(link-libc-rpath-link).
23806 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23807 (test-program-prefix): New macro.
23808 (test-via-rtld-prefix): Likewise.
23809 (test-program-cmd): Likewise.
23810 (host-test-program-cmd): Likewise.
23811 * Makefile ($(common-objpfx)testrun.sh): Replace
23812 $(run-program-prefix) with $(test-program-prefix).
23813 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23815 ($(common-objpfx)shlib.lds): Likewise.
23816 (build-module-helper): Likewise.
23817 ($(common-objpfx)format.lds): Likewise.
23818 * Rules (binaries-pie-tests): New.
23819 (binaries-pie-notests): Likewise.
23820 (binaries-pie): Rewritten.
23821 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23822 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23823 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23824 (make-test-out): Replace $(host-built-program-cmd) with
23825 $(host-test-program-cmd).
23826 * config.make.in (build-hardcoded-path-in-tests): New variable.
23827 * configure.in (--enable-hardcoded-path-in-tests): New configure
23829 (hardcoded_path_in_tests): New AC_SUBST.
23830 * configure: Regenerated.
23831 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23832 $(built-program-cmd) with $(test-program-cmd).
23833 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23834 (test_program_cmd): This.
23835 * elf/Makefile ($(objpfx)order.out): Run test with
23836 $(test-program-prefix).
23837 ($(objpfx)order2.out): Likewise.
23838 ($(objpfx)tst-initorder.out): Likewise.
23839 ($(objpfx)tst-initorder2.out): Likewise.
23840 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23841 $(test-program-cmd).
23842 ($(objpfx)tst-array1-static.out): Likewise.
23843 ($(objpfx)tst-array2.out): Likewise.
23844 ($(objpfx)tst-array3.out): Likewise.
23845 ($(objpfx)tst-array4.out): Likewise.
23846 ($(objpfx)tst-array5.out): Likewise.
23847 ($(objpfx)tst-array5-static.out): Likewise.
23848 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23849 $(test-program-cmd).
23850 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23851 $(run-program-prefix) with $(test-program-prefix).
23852 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23853 (test_program_prefix): This.
23854 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23855 $(run-program-prefix) with $(test-program-prefix).
23856 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23857 (test_program_prefix): This.
23858 * iconvdata/tst-tables.sh: Likewise.
23859 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23860 $(run-program-prefix) with $(test-program-prefix).
23861 ($(objpfx)tst-translit.out): Likewise.
23862 ($(objpfx)tst-gettext2.out): Likewise.
23863 ($(objpfx)tst-gettext4.out): Likewise.
23864 ($(objpfx)tst-gettext6.out): Likewise.
23865 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23866 (test_program_prefix): This.
23867 * intl/tst-gettext2.sh: Likewise.
23868 * intl/tst-gettext4.sh Likewise.
23869 * intl/tst-gettext6.sh: Likewise.
23870 * intl/tst-translit.sh: Likewise.
23871 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23872 with $(test-program-cmd).
23873 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23874 $(run-program-prefix) with $(test-program-prefix).
23875 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23876 (test_program_prefix): This.
23877 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23878 $(run-program-prefix) with $(test-program-prefix).
23879 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23880 (test_program_prefix): This.
23881 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23882 * posix/Makefile ($(objpfx)globtest.out): Replace
23883 $(run-via-rtld-prefix) and $(test-wrapper) with
23884 $(test-program-prefix) and $(test-via-rtld-prefix).
23885 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23886 $(test-program-prefix).
23887 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23888 $(host-test-program-cmd).
23889 (tst-spawn-ARGS): Likewise.
23890 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23891 $(test-program-prefix).
23892 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23893 (test_via_rtld_prefix): This.
23894 (test_wrapper): Renamed to ...
23895 (test_program_prefix): This.
23896 (run_program_prefix): Replaced by test_program_prefix.
23897 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23898 (test_program_prefix): This.
23899 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23900 with $(host-test-program-cmd).
23901 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23902 $(run-program-prefix) with $(test-program-prefix).
23903 ($(objpfx)tst-printf.out): Likewise.
23904 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23905 $(test-program-cmd).
23906 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23907 (test_program_prefix): This.
23908 * stdio-common/tst-unbputc.sh: Likewise.
23909 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23910 $(run-program-prefix) with $(test-program-prefix).
23911 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23912 (test_program_prefix): This.
23913 * string/Makefile ($(objpfx)tst-svc.out): Replace
23914 $(built-program-cmd) with $(test-program-cmd).
23916 2013-01-11 Andreas Jaeger <aj@suse.de>
23919 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23920 value. Sync with Linux 3.7.
23922 2013-01-10 David S. Miller <davem@davemloft.net>
23924 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23925 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23926 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23928 2013-01-10 Roland McGrath <roland@hack.frob.com>
23930 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23932 * configure: Regenerated.
23934 2013-01-10 David S. Miller <davem@davemloft.net>
23936 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23937 sparc V9 rather than using V8 code.
23938 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23939 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23941 2013-01-10 Roland McGrath <roland@hack.frob.com>
23943 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23944 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23945 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23946 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23947 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23948 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23949 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23950 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23951 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23952 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23953 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23954 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23955 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23956 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23957 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23958 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23959 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23960 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23961 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23962 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23963 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23964 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23965 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23966 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23967 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23968 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23969 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23971 2013-01-10 David S. Miller <davem@davemloft.net>
23973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23975 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23977 * posix/Makefile (tests-static): New variable.
23978 (tests): Add $(tests-static).
23979 (tst-exec-static-ARGS): New variable.
23980 (tst-spawn-static-ARGS): Likewise.
23981 * posix/tst-exec-static.c: New file.
23982 * posix/tst-spawn-static.c: Likewise.
23983 * posix/tst-exec.c: Support run directly.
23984 * posix/tst-spawn.c: Likewise.
23986 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23988 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23990 * math/bits/mathcalls.h (llrint): Likewise.
23991 (llround): Likewise.
23992 * stdlib/stdlib.h (struct drand48_data): Likewise.
23993 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23994 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23995 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23997 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23999 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24000 (elf_greg_t): Likewise.
24001 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24002 (__jmp_buf): Likewise.
24003 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24005 (llrint): Likewise, for all definitions.
24006 (llrintl): Likewise.
24008 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24009 Remove [__GNUC__] condition.
24010 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24011 condition to just [__USE_ISOC99].
24012 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24014 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24017 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24018 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24020 (_POSIX_V6_ILP32_OFF32): Likewise.
24021 (_XBS5_ILP32_OFF32): Likewise.
24022 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24023 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24025 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24027 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24030 doubles __mpexp_twomm1. Adjust usage.
24031 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24034 2013-01-10 Andreas Schwab <schwab@suse.de>
24037 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24038 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24040 2013-01-09 David S. Miller <davem@davemloft.net>
24043 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24044 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24045 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24046 (TCP_FASTOPEN): Define.
24047 (tcp_repair_opt): New structure.
24048 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24050 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24051 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24052 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24053 (tcp_cookie_transactions): New structure.
24055 2013-01-09 Anton Blanchard <anton@samba.org>
24057 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24058 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24059 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24060 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24062 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24064 * include/features.h (__USE_ANSI): Remove.
24066 2013-01-09 Roland McGrath <roland@hack.frob.com>
24068 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24070 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24072 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24074 * sysdeps/s390/fpu/libm-test-ulps: Update.
24076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24078 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24082 (denorm): Likewise.
24083 (__mp_dbl): Likewise.
24084 (__dbl_mp): Likewise.
24085 (add_magnitudes): Likewise.
24086 (sub_magnitudes): Likewise.
24092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24096 (denorm): Likewise.
24097 (__mp_dbl): Likewise.
24098 (__dbl_mp): Likewise.
24099 (add_magnitudes): Likewise.
24100 (sub_magnitudes): Likewise.
24106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24110 (denorm): Likewise.
24111 (__mp_dbl): Likewise.
24112 (__dbl_mp): Likewise.
24113 (add_magnitudes): Likewise.
24114 (sub_magnitudes): Likewise.
24121 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24123 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24124 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24125 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24126 2 && __USE_EXTERN_INLINES]: Likewise.
24128 2013-01-08 Andreas Jaeger <aj@suse.de>
24131 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24133 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24134 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24136 2013-01-07 Anton Blanchard <anton@samba.org>
24138 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24139 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24140 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24141 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24142 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24143 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24144 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24145 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24147 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24148 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24149 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24150 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24151 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24152 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24153 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24154 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24155 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24156 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24157 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24158 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24159 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24160 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24161 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24162 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24163 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24164 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24165 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24166 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24167 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24168 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24169 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24170 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24171 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24172 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24173 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24174 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24175 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24176 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24177 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24178 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24179 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24180 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24182 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24184 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24185 (__MALLOC_PMT): Likewise.
24186 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24187 [__GNUC__], only on [_LIBC].
24188 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24189 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24190 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24191 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24192 forward declaration.
24193 (realloc_hook_ini): Likewise.
24194 (memalign_hook_ini): Likewise.
24195 (__libc_memalign): Do not use __MALLOC_PMT in variable
24197 (__libc_valloc): Likewise.
24198 (__libc_pvalloc): Likewise.
24199 (__libc_calloc): Likewise.
24200 (__posix_memalign): Likewise.
24203 * math/s_casinh.c: Include <float.h>.
24204 (__casinh): Do not do computation with squaring and square root
24205 for large arguments.
24206 * math/s_casinhf.c: Include <float.h>.
24207 (__casinhf): Do not do computation with squaring and square root
24208 for large arguments.
24209 * math/s_casinhl.c: Include <float.h>.
24210 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24211 (__casinhl): Do not do computation with squaring and square root
24212 for large arguments.
24213 * math/libm-test.inc (casin_test): Add more tests.
24214 (casinh_test): Likewise.
24215 * sysdeps/i386/fpu/libm-test-ulps: Update.
24216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24218 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24220 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24221 (__x86_64_raw_data_cache_size): Likewise.
24222 (__x86_64_data_cache_size_half): Likewise.
24223 (__x86_64_raw_data_cache_size_half): Likewise.
24224 (__x86_64_shared_cache_size): Likewise.
24225 (__x86_64_raw_shared_cache_size): Likewise.
24226 (__x86_64_shared_cache_size_half): Likewise.
24227 (__x86_64_raw_shared_cache_size_half): Likewise.
24228 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24230 (__x86_data_cache_size): This.
24231 (__x86_64_raw_data_cache_size): Renamed to ...
24232 (__x86_raw_data_cache_size): This.
24233 (__x86_64_data_cache_size_half): Renamed to ...
24234 (__x86_data_cache_size_half): This.
24235 (__x86_64_raw_data_cache_size_half): Renamed to ...
24236 (__x86_raw_data_cache_size_half): This.
24237 (__x86_64_shared_cache_size): Renamed to ...
24238 (__x86_shared_cache_size): This.
24239 (__x86_64_raw_shared_cache_size): Renamed to ...
24240 (__x86_raw_shared_cache_size): This.
24241 (__x86_64_shared_cache_size_half): Renamed to ...
24242 (__x86_shared_cache_size_half): This.
24243 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24244 (__x86_raw_shared_cache_size_half): This.
24245 * sysdeps/x86_64/memcpy.S: Updated.
24246 * sysdeps/x86_64/memset.S: Likewise.
24247 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24249 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24251 2013-01-04 David S. Miller <davem@davemloft.net>
24253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24255 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24257 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24258 1 to avoid redefinition warning.
24259 (__USE_GNU): Don't define.
24260 (init_signaling_nan): Protoize.
24262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24264 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24266 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24268 (__cpymn): Likewise.
24269 (norm): Remove commented code.
24270 (denorm): Likewise.
24271 (__mp_dbl): Likewise.
24273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24274 (__cpymn): Likewise.
24275 (norm): Remove commented code.
24276 (denorm): Likewise.
24277 (__mp_dbl): Likewise.
24280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24281 mp_no value for 1.0 and 2.0.
24282 (norm): Use RADIXI instead of radixi.d.
24283 (denorm): Likewise.
24284 (__mul): Use 0.0 instead of zero.d.
24285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24286 mp_no value for 1.0 and 2.0.
24287 (norm): Use RADIXI instead of radixi.d.
24288 (denorm): Likewise.
24289 (__mul): Use 0.0 instead of zero.d.
24291 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24294 * math/s_casinh.c (__casinh): Reduce finite argument to first
24295 quadrant then set signs of results at the end.
24296 * math/s_casinhf.c (__casinhf): Likewise.
24297 * math/s_casinhl.c (__casinhl): Likewise.
24298 * math/libm-test.inc (casin_test): Add more tests.
24299 (casinh_test): Likewise.
24300 * sysdeps/i386/fpu/libm-test-ulps: Update.
24301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24303 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24305 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24307 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24309 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24311 (denorm): Likewise.
24312 (__mp_dbl): Likewise.
24315 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24316 and adjust the header comment.
24318 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24319 variable name from declaration.
24321 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24324 Initialize COMMON_CPUID_INDEX_7 element.
24325 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24326 (CPUID_RTM): Likewise.
24327 (HAS_RTM): Likewise.
24328 (COMMON_CPUID_INDEX_7): New enum.
24330 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24333 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24334 size is zero, record memory as freed.
24336 2013-01-03 Andreas Jaeger <aj@suse.de>
24338 * po/ia.po: Add new Interlingua translation.
24340 2012-01-03 Allan McRae <allan@archlinux.org>
24342 * locale/programs/localedef.c: Fix description of '--posix' flag.
24344 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24346 * NEWS: Update dates in second copyright notice.
24347 * README: Update copyright dates in example.
24348 * manual/libc.texinfo: Update copyright dates.
24349 * scripts/test-installation.pl: Update copyright date in --version
24352 * hurd/ctty-input.c: Fix copyright notice formatting.
24353 * hurd/ctty-output.c: Likewise.
24354 * hurd/dtable.c: Likewise.
24355 * hurd/hurd-raise.c: Likewise.
24356 * hurd/hurdprio.c: Likewise.
24357 * hurd/msgportdemux.c: Likewise.
24358 * misc/sys/file.h: Likewise.
24359 * misc/sys/ioctl.h: Likewise.
24360 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24361 * sysdeps/mach/hurd/chdir.c: Likewise.
24362 * sysdeps/mach/hurd/fchdir.c: Likewise.
24363 * sysdeps/mach/hurd/rename.c: Likewise.
24364 * sysdeps/mach/hurd/rmdir.c: Likewise.
24365 * sysdeps/mach/hurd/seekdir.c: Likewise.
24366 * sysdeps/mach/hurd/setsid.c: Likewise.
24367 * sysdeps/posix/wait3.c: Likewise.
24369 * All files with FSF copyright notices: Update copyright dates
24370 using scripts/update-copyrights.
24371 * intl/plural.c: Regenerated.
24372 * locale/programs/charmap-kw.h: Likewise.
24373 * locale/programs/locfile-kw.h: Likewise.
24375 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24377 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24380 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24381 calculation loop and add branch prediction.
24383 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24384 check access beyond bounds of m1np.
24386 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24388 (__inv): Remove local variable MPTWO to use the global
24390 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24391 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24393 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24394 MP3HALFS static const.
24396 2013-01-01 David S. Miller <davem@davemloft.net>
24398 * po/ca.po: Update from translation team.
24400 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24402 * scripts/update-copyrights: New file.
24403 * Makeconfig: Reformat copyright notice.
24404 * ctype/ctype.h: Likewise.
24405 * debug/swprintf_chk.c: Likewise.
24406 * elf/dl-cache.c: Likewise.
24407 * elf/dl-debug.c: Likewise.
24408 * elf/dl-object.c: Likewise.
24409 * grp/initgroups.c: Likewise.
24410 * hurd/Makefile: Likewise.
24411 * hurd/hurd/signal.h: Likewise.
24412 * hurd/hurdfault.c: Likewise.
24413 * hurd/hurdioctl.c: Likewise.
24414 * hurd/hurdlookup.c: Likewise.
24415 * hurd/intr-msg.c: Likewise.
24416 * iconv/gconv_open.c: Likewise.
24417 * libio/swprintf.c: Likewise.
24418 * locale/lc-ctype.c: Likewise.
24419 * locale/nl_langinfo.c: Likewise.
24420 * mach/Machrules: Likewise.
24421 * mach/Makefile: Likewise.
24422 * malloc/obstack.h: Likewise.
24423 * manual/Makefile: Likewise.
24424 * manual/tsort.awk: Likewise.
24425 * misc/bits/stab.def: Likewise.
24426 * nis/nis_print_group_entry.c: Likewise.
24427 * nis/nis_table.c: Likewise.
24428 * nis/nss_compat/compat-pwd.c: Likewise.
24429 * nis/nss_compat/compat-spwd.c: Likewise.
24430 * po/Makefile: Likewise.
24431 * posix/fnmatch.c: Likewise.
24432 * posix/regex.h: Likewise.
24433 * resolv/Makefile: Likewise.
24434 * resolv/nss_dns/dns-network.c: Likewise.
24435 * resolv/res_hconf.c: Likewise.
24436 * scripts/gen-sorted.awk: Likewise.
24437 * soft-fp/soft-fp.h: Likewise.
24438 * stdio-common/printf.h: Likewise.
24439 * stdlib/monetary.h: Likewise.
24440 * stdlib/random.c: Likewise.
24441 * stdlib/random_r.c: Likewise.
24442 * sysdeps/generic/Makefile: Likewise.
24443 * sysdeps/gnu/Makefile: Likewise.
24444 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24446 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24448 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24449 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24451 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24452 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24453 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24454 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24455 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24456 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24457 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24458 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24459 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24460 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24461 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24462 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24464 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24465 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24466 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24467 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24468 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24469 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24470 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24471 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24472 * sysdeps/mach/hurd/errnos.awk: Likewise.
24473 * sysdeps/mach/hurd/fork.c: Likewise.
24474 * sysdeps/mach/hurd/getcwd.c: Likewise.
24475 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24476 * sysdeps/mach/hurd/mmap.c: Likewise.
24477 * sysdeps/mach/hurd/utimes.c: Likewise.
24478 * sysdeps/mach/hurd/xmknod.c: Likewise.
24479 * sysdeps/posix/profil.c: Likewise.
24480 * sysdeps/posix/readdir_r.c: Likewise.
24481 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24482 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24483 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24484 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24486 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24487 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24488 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24490 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24491 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24492 * sysdeps/pthread/lio_listio.c: Likewise.
24493 * sysdeps/sparc/dl-procinfo.h: Likewise.
24494 * sysdeps/unix/i386/sysdep.S: Likewise.
24495 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24496 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24497 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24498 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24500 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24501 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24502 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24503 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24504 * sysdeps/wordsize-32/divdi3.c: Likewise.
24505 * time/sys/time.h: Likewise.
24506 * wcsmbs/Makefile: Likewise.
24508 2013-01-01 David S. Miller <davem@davemloft.net>
24510 * po/fr.po: Update from translation team.
24512 * catgets/gencat.c: Update copyright year.
24513 * csu/version.c: Likewise.
24514 * debug/catchsegv.sh: Likewise.
24515 * debug/pcprofiledump.c: Likewise.
24516 * debug/xtrace.sh: Likewise.
24517 * elf/ldconfig.c: Likewise.
24518 * elf/ldd.bash.in: Likewise.
24519 * elf/pldd.c: Likewise.
24520 * elf/sotruss.ksh: Likewise.
24521 * elf/sprof.c: Likewise.
24522 * iconv/iconv_prog.c: Likewise.
24523 * iconv/iconvconfig.c: Likewise.
24524 * locale/programs/locale.c: Likewise.
24525 * locale/programs/localedef.c: Likewise.
24526 * login/programs/pt_chown.c: Likewise.
24527 * malloc/memusage.sh: Likewise.
24528 * malloc/memusagestat.c: Likewise.
24529 * malloc/mtrace.pl: Likewise.
24530 * nscd/nscd.c: Likewise.
24531 * nss/getent.c: Likewise.
24532 * nss/makedb.c: Likewise.
24533 * posix/getconf.c: Likewise.
24535 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24537 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24540 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24542 * math/bits/mathcalls.h (modf): Use __nonnull.
24544 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24546 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24547 (split): Use macro CN instead of the bare value.
24548 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24550 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24551 instead of the bare value.
24552 (power1): Likewise.
24554 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24556 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24558 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24560 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24562 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24563 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24564 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24565 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24567 2012-12-28 Andreas Jaeger <aj@suse.de>
24569 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24570 values are from Linux 3.7.
24572 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24573 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24575 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24577 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24580 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24582 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24583 variables with preprocessor constants.
24584 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24585 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24586 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24588 2012-12-27 Bruno Haible <bruno@clisp.org>
24591 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24594 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24596 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24597 and use variable directly.
24598 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24600 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24602 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24603 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24605 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24606 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24607 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24608 include directive. Remove local variable MPONE.
24609 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24610 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24611 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24613 2012-12-25 David S. Miller <davem@davemloft.net>
24615 * version.h (RELEASE): Set to "development".
24616 (VERSION): Set to "2.17.90".
24617 * NEWS: Add 2.18 section.
24619 2012-12-21 David S. Miller <davem@davemloft.net>
24621 * po/hr.po: Update from translation team.
24623 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24625 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24627 2012-12-19 Steve Ellcey <sellcey@mips.com>
24629 * NEWS: Mention new memcpy for MIPS.
24631 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24633 * manual/contrib.texi (Contributors): Spelling correction.
24635 2012-12-15 David S. Miller <davem@davemloft.net>
24637 * po/ru.po: Update from translation team.
24639 2012-12-13 David S. Miller <davem@davemloft.net>
24641 * NEWS: Mention IFUNC testsuite enhancements.
24643 * po/pl.po: Update from translation team.
24644 * po/bg.po: Likewise.
24646 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24647 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24649 2012-12-11 David S. Miller <davem@davemloft.net>
24651 * po/sv.po: Update from translation team.
24653 * po/vi.po: Update from translation team.
24655 * po/cs.po: Update from translation team.
24657 * po/de.po: Update from translation team.
24658 * po/eo.po: Likewise.
24659 * po/nl.po: Likewise.
24661 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24664 * manual/argp.texi (Argp Helper Functions): Move node to follow
24665 Argp Parsing State.
24668 * manual/conf.texi (Limits on File System Capacity): Mention if
24669 terminating null is included in the max size.
24671 2012-12-10 Andreas Jaeger <aj@suse.de>
24673 * po/cs.po: Update from translation team.
24675 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24677 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24678 void pointer and cast to uintptr_t.
24679 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24681 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24682 * sysdeps/s390/s390-64/memset.S: Likewise.
24684 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24687 * menual/message.texi (Message Translation): Fix typos.
24688 (Helper programs for gettext): Likewise.
24690 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24693 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24696 2012-12-07 David S. Miller <davem@davemloft.net>
24698 * po/libc.pot: Update.
24700 2012-12-07 Richard Henderson <rth@redhat.com>
24703 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24704 normal/normal case to before the switch.
24705 (_FP_DIV): Likewise.
24707 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24708 Mike Frysinger <vapier@gentoo.org>
24710 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24711 check for __NR_fadvise64_64.
24713 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24715 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24716 0, not just to plain "0" as a statement.
24717 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24720 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24722 * NEWS: Use sourceware.org in Bugzilla URL.
24724 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24727 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24729 * stdio-common/tst-put-error.c (do_test): Add newline to the
24730 padded test to ensure flush.
24732 2012-12-05 Jeff Law <law@redhat.com>
24734 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24736 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24738 * README: Don't refer to ports add-on as distributed separately.
24739 Mention AArch64 in list of systems supported in the ports add-on.
24741 * LICENSES: Add more non-FSF copyright and license notices.
24743 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24746 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24748 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24749 10000 as width of padded output.
24751 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24753 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24755 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24756 variable LX with __attribute__ ((unused)).
24757 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24759 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24761 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24762 with __attribute__ ((unused)).
24764 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24766 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24768 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24770 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24771 (CFLAGS-nldbl-acos.c): New variable.
24772 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24773 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24774 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24775 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24776 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24777 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24778 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24779 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24780 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24781 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24782 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24783 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24784 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24785 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24786 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24787 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24788 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24789 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24790 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24791 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24792 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24793 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24794 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24795 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24796 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24797 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24798 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24799 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24800 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24801 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24802 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24803 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24804 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24805 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24806 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24807 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24808 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24809 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24810 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24811 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24812 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24813 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24814 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24815 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24816 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24817 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24818 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24819 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24820 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24821 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24822 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24823 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24824 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24825 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24826 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24827 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24828 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24829 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24830 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24831 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24832 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24833 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24834 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24835 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24836 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24837 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24838 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24839 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24840 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24841 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24842 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24843 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24844 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24845 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24846 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24847 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24848 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24849 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24850 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24851 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24852 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24853 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24854 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24855 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24856 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24857 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24858 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24859 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24860 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24861 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24862 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24863 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24864 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24865 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24866 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24867 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24868 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24871 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24874 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24875 whole low double instead of just low 47 bits when splitting values
24878 2012-12-03 Allan McRae <allan@archlinux.org>
24880 * manual/stdio.texi (Predefined Printf Handlers): Remove
24881 @hsep and @vsep usage.
24883 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24885 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24886 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24888 2012-12-03 Jeff Law <law@redhat.com>
24890 * time/sys/time.h (settimeofday): Do not mark TV argument
24893 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24895 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24896 when currently writing and seek to current position when not.
24897 * libio/Makefile (tests): Remove bug-fclose1.
24898 * libio/bug-fclose1.c: Delete.
24900 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24902 * manual/arith.texi (feenableexcept): Fix typo.
24903 (fedisableexcept): Likewise.
24905 2012-11-30 Roland McGrath <roland@hack.frob.com>
24907 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24908 second, differently-typed declaration, rather than a cast.
24910 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24912 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24913 * include/rpc/svc.h: ... here.
24915 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24918 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24919 depending n and resplen2 to catch cases where answer
24922 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24924 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24925 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24927 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24929 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24931 2012-11-29 Roland McGrath <roland@hack.frob.com>
24933 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24935 2012-11-28 Jeff Law <law@redhat.com>
24938 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24939 dataset_temporary. Track alloca usage into alloca_used.
24940 If dataset is large allocate and release it via malloc/free.
24942 2012-06-04 Florian Weimer <fweimer@redhat.com>
24945 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24947 2012-11-28 David S. Miller <davem@davemloft.net>
24949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24951 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24954 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24955 of pi/2 rounded to nearest to 64 bits.
24956 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24957 nearest to 64 bits.
24958 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24961 2012-11-28 Jeff Law <law@redhat.com>
24962 Martin Osvald <mosvald@redhat.com>
24965 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24966 * sunrpc/svc.c: Include time.h.
24967 (__svc_accept_failed): New function.
24968 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24969 any reason other than EINTR, call __svc_accept_failed.
24970 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24971 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24973 2012-11-28 Andreas Schwab <schwab@suse.de>
24975 * scripts/abilist.awk: Also handle indirect functions in .opd
24978 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24981 * sysdeps/x86/fpu/powl_helper.c: New file.
24982 * sysdeps/x86/fpu/Makefile: Likewise.
24983 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24985 (__ieee754_powl): Use __powl_helper for finite arguments except
24986 integer exponents below 8.
24987 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24989 (__ieee754_powl): Use __powl_helper for finite arguments except
24990 integer exponents below 8.
24991 * math/libm-test.inc (pow_test): Add more tests and enable some
24992 previously disabled tests.
24993 * sysdeps/i386/fpu/libm-test-ulps: Update.
24994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24996 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24997 Carlos O'Donell <carlos_odonell@mentor.com>
24999 * nss/makedb.c (is_prime): Assert that input is odd and greater
25000 than 4. Note that fact in a comment too.
25001 (next_prime): Add 4 to input.
25003 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25006 * libio/Makefile (tests): Add test case tst-fwrite-error.
25007 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25008 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25009 * libio/tst-fwrite-error.c: New test case.
25011 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25013 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25014 before casting to void *.
25015 * include/libc-internal.h (__pointer_type): New macro.
25016 (__integer_if_pointer_type_sub): Likewise.
25017 (__integer_if_pointer_type): Likewise.
25018 (cast_to_integer): Likewise.
25019 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25020 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25021 before casting to atomic64_t.
25022 (atomic_exchange_acq): Likewise.
25023 (__arch_exchange_and_add_body): Likewise.
25024 (__arch_add_body): Likewise.
25025 (atomic_add_negative): Likewise.
25026 (atomic_add_zero): Likewise.
25028 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25030 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25031 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25032 (add_fdes): Likewise.
25033 (linear_search_fdes): Likewise.
25034 (binary_search_unencoded_fdes): Likewise.
25036 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25038 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25040 2012-11-24 Adam Conrad <adconrad@0c3.net>
25042 * configure.in: Autodetect C++ header directories.
25043 * configure: Regenerated.
25045 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25047 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25049 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25053 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25055 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25056 LDBL_MANT_DIG == 106]: Disable some tests.
25057 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25059 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25063 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25064 input for small inputs. Return +/- pi/2 for large inputs.
25065 * math/libm-test.inc (atan_test): Add more tests.
25067 * sysdeps/generic/unwind-dw2-fde-glibc.c
25068 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25069 __attribute__ ((unused)).
25072 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25073 x * y if x and y are nonzero and z is zero.
25076 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25077 nonzero exponents with absolute value below 0x1p-117 to +/-
25081 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25082 up arguments below 2**-450, not just those below 2**-500.
25083 * math/libm-test.inc (hypot_test): Add another test.
25086 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25087 Return a+b for ratio over 2**120, not 2**60.
25088 * math/libm-test.inc (hypot_test): Add another test.
25090 * math/libm-test.inc (clog_test): Use
25091 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25092 (clog10_test): Likewise.
25095 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25097 2012-11-22 Andreas Schwab <schwab@suse.de>
25099 * sysdeps/i386/fpu/libm-test-ulps: Update.
25101 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25103 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25104 printf output with newline.
25106 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25109 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25110 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25111 -z nodlopen, -z initfirst and -z execstack support.
25112 * configure: Regenerated.
25114 * elf/elf.h (DF_1_NODIRECT): New macro.
25115 (DF_1_IGNMULDEF): Likewise.
25116 (DF_1_NOKSYMS): Likewise.
25117 (DF_1_NOHDR): Likewise.
25118 (DF_1_EDITED): Likewise.
25119 (DF_1_NORELOC): Likewise.
25120 (DF_1_SYMINTPOSE): Likewise.
25121 (DF_1_GLOBAUDIT): Likewise.
25122 (DF_1_SINGLETON): Likewise.
25123 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25124 DT_1_SUPPORTED_MASK bits.
25125 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25127 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25129 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25131 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25133 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25136 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25137 (sendmmsg): Move declarations...
25138 * socket/sys/socket.h: ... here.
25139 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25140 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25142 * socket/recvmmsg.c: ... this new file.
25143 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25144 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25145 definition of __sendmmsg hidden.
25146 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25147 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25148 Move ENOSYS stub into and include it from...
25149 * socket/sendmmsg.c: ... this new file.
25150 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25151 (sysdep_routines): Move recvmmsg and sendmmsg...
25152 * socket/Makefile (routines): ... here.
25153 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25154 (GLIBC_PRIVATE): Add __sendmmsg.
25155 * include/sys/socket.h (__sendmmsg): Add declarations.
25156 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25159 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25161 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25162 variable I1 with __attribute__ ((unused)).
25163 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25165 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25167 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25168 DUMMY variables with __attribute__ ((unused)).
25170 * bits/byteswap.h: Include <bits/types.h>.
25171 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25173 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25175 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25176 string_t. Do not manually set errno.
25177 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25178 length with __strnlen. Make sure to both set errno and return it on
25181 2012-11-19 David S. Miller <davem@davemloft.net>
25183 With help from Joseph Myers.
25184 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25185 very large arguments properly.
25186 * math/libm-test.inc (atan_test): New tests.
25187 (atan2_test): New tests.
25188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25191 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25194 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25197 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25198 [POSIX] (EADDRNOTAVAIL): Likewise.
25199 [POSIX] (EAFNOSUPPORT): Likewise.
25200 [POSIX] (EALREADY): Likewise.
25201 [POSIX] (ECONNABORTED): Likewise.
25202 [POSIX] (ECONNREFUSED): Likewise.
25203 [POSIX] (ECONNRESET): Likewise.
25204 [POSIX] (EDESTADDRREQ): Likewise.
25205 [POSIX] (EDQUOT): Likewise.
25206 [POSIX] (EHOSTUNREACH): Likewise.
25207 [POSIX] (EIDRM): Likewise.
25208 [POSIX] (EISCONN): Likewise.
25209 [POSIX] (ELOOP): Likewise.
25210 [POSIX] (EMULTIHOP): Likewise.
25211 [POSIX] (ENETDOWN): Likewise.
25212 [POSIX] (ENETUNREACH): Likewise.
25213 [POSIX] (ENOBUFS): Likewise.
25214 [POSIX] (ENODATA): Likewise.
25215 [POSIX] (ENOLINK): Likewise.
25216 [POSIX] (ENOMSG): Likewise.
25217 [POSIX] (ENOPROTOOPT): Likewise.
25218 [POSIX] (ENOSR): Likewise.
25219 [POSIX] (ENOSTR): Likewise.
25220 [POSIX] (ENOTCONN): Likewise.
25221 [POSIX] (ENOTSOCK): Likewise.
25222 [POSIX] (EOPNOTSUPP): Likewise.
25223 [POSIX] (EOVERFLOW): Likewise.
25224 [POSIX] (EPROTO): Likewise.
25225 [POSIX] (EPROTONOSUPPORT): Likewise.
25226 [POSIX] (EPROTOTYPE): Likewise.
25227 [POSIX] (ESTALE): Likewise.
25228 [POSIX] (ETIME): Likewise.
25229 [POSIX] (ETXTBSY): Likewise.
25230 [POSIX] (EWOULDBLOCK): Likewise.
25231 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25232 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25233 [POSIX] (SEEK_CUR): Likewise.
25234 [POSIX] (SEEK_END): Likewise.
25235 [POSIX || UNIX98] (mode_t): Do not require.
25236 [POSIX] (off_t): Likewise.
25237 [POSIX] (pid_t): Likewise.
25238 [POSIX] (sys/stat.h): Do not allow header.
25239 [POSIX] (unistd.h): Likewise.
25240 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25241 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25242 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25243 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25245 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25246 sigevent): Specify elements.
25247 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25249 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25250 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25252 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25253 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25254 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25255 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25256 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25257 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25258 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25259 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25260 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25261 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25262 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25263 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25264 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25265 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25267 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25269 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25271 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25273 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25274 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25275 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25276 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25277 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25278 Specify lower bound on value.
25279 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25280 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25281 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25282 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25283 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25284 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25285 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25286 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25288 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25290 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25291 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25292 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25293 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25294 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25295 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25296 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25297 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25298 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25299 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25300 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25301 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25302 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25303 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25304 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25305 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25307 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25309 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25310 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25311 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25312 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25313 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25314 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25316 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25317 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25318 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25319 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25320 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25321 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25322 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25324 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25325 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25326 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25327 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25328 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25329 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25330 specify as optional.
25331 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25332 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25333 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25334 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25335 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25336 [XPG3] (NL_LANGMAX): Likewise.
25337 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25338 [POSIX || XPG3] (NL_NMAX): Likewise.
25339 [POSIX || XPG3] (NL_SETMAX): Likewise.
25340 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25341 [XPG3] (NZERO): Likewise.
25342 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25343 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25344 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25345 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25346 (REG_ERANGE): Expect.
25347 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25349 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25350 Use (void) in prototype.
25351 [POSIX] (*_t): Allow.
25352 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25353 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25354 (WRDE_BADVAL): Expect.
25356 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25358 [XPG3 || XPG4] (O_RSYNC): Likewise.
25359 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25361 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25362 [XPG3 || XPG4] (sigqueue): Likewise.
25363 [XPG3 || XPG4] (sigtimedwait): Likewise.
25364 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25365 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25366 [XPG3 || XPG4] (vsnprintf): Likewise.
25367 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25369 [XPG3 || XPG4] (blksize_t): Likewise.
25370 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25372 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25373 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25374 [XPG3 || XPG4] (struct itimerspec): Likewise.
25375 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25376 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25377 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25378 [XPG3 || XPG4] (clockid_t): Likewise.
25379 [XPG3 || XPG4] (timer_t): Likewise.
25380 [XPG3 || XPG4] (clock_getres): Likewise.
25381 [XPG3 || XPG4] (clock_gettime): Likewise.
25382 [XPG3 || XPG4] (clock_settime): Likewise.
25383 [XPG3 || XPG4] (nanosleep): Likewise.
25384 [XPG3 || XPG4] (timer_create): Likewise.
25385 [XPG3 || XPG4] (timer_delete): Likewise.
25386 [XPG3 || XPG4] (timer_gettime): Likewise.
25387 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25388 [XPG3 || XPG4] (timer_settime): Likewise.
25389 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25390 [XPG3 || XPG4] (getlogin_r): Likewise.
25391 [XPG3 || XPG4] (pread): Likewise.
25392 [XPG3 || XPG4] (pthread_atfork): Likewise.
25393 [XPG3 || XPG4] (pwrite): Likewise.
25396 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25399 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25401 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25402 finalizing MALLSTREAM.
25404 * sysdeps/mach/hurd/syncfs.c: New file.
25406 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25409 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25410 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25411 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25412 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25413 (_nss_dns_gethostbyname4_r): Likewise.
25414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25415 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25417 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25420 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25422 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25424 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25425 * elf/cache.c (print_entry): Print ",AArch64" for
25428 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25429 * elf/cache.c (print_entry): Print ",hard-float" for
25432 2012-11-18 David S. Miller <davem@davemloft.net>
25434 With help from Joseph Myers.
25435 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25437 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25439 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25440 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25442 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25443 * math/libm-test.inc (y0_test): New tests.
25444 (y1_test): New tests.
25445 * sysdeps/i386/fpu/libm-test-ulps: Update.
25446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25449 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25451 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25453 * configure: Regenerated.
25455 2012-11-17 David S. Miller <davem@davemloft.net>
25458 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25459 nonzero exponents with absolute value below 0x1p-128 to +/-
25462 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25464 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25466 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25468 * posix/getconf-speclist.c: New file.
25469 * posix/posix-envs.def: Likewise.
25470 * posix/confstr.c (START_ENV_GROUP): New macro.
25471 (END_ENV_GROUP): Likewise.
25472 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25473 (KNOWN_PRESENT_ENV_STRING): Likewise.
25474 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25475 (UNKNOWN_ENVIRONMENT): Likewise.
25476 (confstr): Include posix-envs.def instead of handling
25477 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25478 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25479 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25480 (END_ENV_GROUP): Likewise.
25481 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25482 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25483 (UNKNOWN_ENVIRONMENT): Likewise.
25484 (__sysconf): Include posix-envs.def instead of handling associated
25485 cases directly here.
25486 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25487 preprocessing getconf-speclist.c rather than running getconf or
25488 generating empty file.
25490 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25492 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25494 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25497 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25499 2012-11-16 David S. Miller <davem@davemloft.net>
25501 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25502 smaller than LDBL_EPSILON/2.0L, just return xm1.
25504 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25506 * elf/tst-array1.c (init): Set constructor priority to 1000.
25507 (fini): Set destructor priority to 1000.
25508 * elf/tst-array2dep.c: Likewise.
25510 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25513 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25514 (_IO_new_file_xsputn): Also return EOF if none of the input
25515 data was written when overflow failed.
25516 * libio/iopadn.c (_IO_padn): Likewise.
25517 * libio/iowpadn.c (_IO_wpadn): Likewise.
25518 * stdio-common/tst-put-error.c: Add copyright notice.
25519 (do_test): Add case for printing padded string.
25520 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25521 _IO_padn returned error.
25522 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25523 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25526 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25528 * libio/libioP.h: Add comment note that the references to C++
25529 bits are now obsolete.
25531 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25533 * math/libm-test.inc (check_complex): Use asprintf.
25535 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25537 * debug/pcprofiledump.c (print_version): Update copyright year.
25538 * malloc/memusagestat.c (print_version): Likewise.
25540 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25543 * elf/Makefile (tests): Add tst-audit8.
25544 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25545 ($(objpfx)tst-audit8.out): New target.
25546 (tst-audit8-ENV): New variable.
25547 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25548 audit if l_reloc_result is NULL.
25549 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25550 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25551 * elf/tst-audit8.c: New file.
25553 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25555 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25556 * misc/Makefile (CFLAGS-select.c): Define.
25557 * posix/Makefile (CFLAGS-pause.c): Define.
25559 2012-11-13 David S. Miller <davem@davemloft.net>
25561 * crypt/Makefile: Move test targets after toplevel Rules
25562 inclusion. Grab any necessary sysdep routines when linking.
25563 * crypt/md5.c (md5_process_block): Remove define, we will always
25564 name it __md5_process_block.
25565 (md5_finish_ctx): Update md5_process_block call.
25566 (md5_stream): Likewise.
25567 (md5_process_bytes): Likewise.
25568 (md5_process_block): Rename to __md5_process_block and move to ...
25569 * crypt/md5-block.c: ... here.
25570 * crypt/sha256.c (sha256_process_block): Move to ...
25571 * crypt/sha256-block.c: ... here.
25572 * crypt/sha512.c (sha512_process_block): Move to ...
25573 * crypt/sha512-block.c: ... here.
25574 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25576 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25577 * sysdeps/sparc/sparc64/multiarch/Makefile
25578 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25580 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25581 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25583 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25584 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25585 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25586 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25587 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25588 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25589 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25590 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25591 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25593 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25594 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25596 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25598 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25600 * timezone/tzselect.ksh: Update from tzcode git revision
25601 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25602 * timezone/zdump.c: Likewise.
25603 * timezone/zic.c: Likewise.
25604 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25605 in TZVERSION setting, not $(PKGVERSION).
25606 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25607 REPORT_BUGS_TO settings.
25610 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25613 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25615 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25616 detection to immediately after _FP_ROUND().
25617 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25620 2012-11-11 David S. Miller <davem@davemloft.net>
25622 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25624 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25625 __close rather than their public counterparts.
25627 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25629 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25631 [UNIX98] (sem_timedwait): Do not expect.
25632 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25633 [XPG4 || UNIX98] (sockatmark): Do not expect.
25634 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25635 (clock_getcpuclockid): Do not expect.
25636 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25637 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25639 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25640 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25641 [UNIX98] (vwscanf): Likewise.
25642 [UNIX98] (vswscanf): Likewise.
25644 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25646 * timezone/version.h: Remove file.
25647 * timezone/README: Do not refer to version.h.
25648 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25649 $(objpfx)version.h.
25650 ($(objpfx)zdump.o): Likewise.
25651 ($(objpfx)version.h): New target.
25653 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25655 * timezone/README: Don't mention modification to tzselect.ksh.
25656 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25657 work on unmodified tzselect.ksh. Substitute version numbers in
25660 * Makefile (format-me): Remove.
25661 (INSTALL): Adjust indentation. Use commands directly instead of
25662 using $(format-me).
25664 * aclocal.m4 (ACX_PKGVERSION): New macro.
25665 (ACX_BUGURL): Likewise.
25666 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25667 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25668 (REPORT_BUGS_TO): Likewise.
25669 * configure: Regenerated.
25670 * config.h.in (PKGVERSION): New macro.
25671 (REPORT_BUGS_TO): Likewise.
25672 * config.make.in (PKGVERSION): New variable.
25673 (PKGVERSION_TEXI): Likewise.
25674 (REPORT_BUGS_TO): Likewise.
25675 (REPORT_BUGS_TEXI): Likewise.
25676 * Makefile (format-me): Use -I$(common-objpfx)manual.
25677 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25678 ($(common-objpfx)manual/%): New target.
25679 (manual/%): Remove target.
25680 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25681 (print_version): Use PKGVERSION.
25682 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25683 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25684 and REPORT_BUGS_TO.
25685 ($(objpfx)xtrace): Likewise.
25686 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25687 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25688 (print_version): Use PKGVERSION.
25689 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25690 (do_version): Use PKGVERSION.
25691 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25693 (common-ldd-rewrite): Likewise.
25694 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25695 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25696 (print_version): Use PKGVERSION.
25697 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25698 * elf/pldd.c (argp_program_bug_address): Remove variable.
25699 (more_help): New function.
25700 (argp): Use more_help.
25701 (print_version): Use PKGVERSION.
25702 * elf/sln.c (main): Use PKGVERSION.
25703 (usage): Use REPORT_BUGS_TO.
25704 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25705 (top level): Use PKGVERSION.
25706 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25707 (print_version): Use PKGVERSION.
25708 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25709 (print_version): Use PKGVERSION.
25710 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25711 (print_version): Use PKGVERSION.
25712 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25713 (print_version): Use PKGVERSION.
25714 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25715 (print_version): Use PKGVERSION.
25716 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25717 (print_version): Use PKGVERSION.
25718 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25720 ($(objpfx)memusage): Likewise.
25721 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25722 (do_version): Use PKGVERSION.
25723 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25724 (print_version): Use PKGVERSION.
25725 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25726 ($PKGVERSION): New variable.
25727 ($REPORT_BUGS_TO): Likewise.
25728 (usage): Use $REPORT_BUGS_TO.
25729 (top level): Use $PKGVERSION.
25730 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25731 ($(objpfx)pkgvers.texi): New rule.
25732 ($(objpfx)stamp-pkgvers): Likewise.
25733 * manual/install.texi: Include pkgvers.texi.
25734 (--with-pkgversion): Document new configure option.
25735 (--with-bugurl): Likewise.
25736 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25737 than necessarily for this particular distribution. Use
25738 REPORT_BUGS_TO for where to report bugs.
25739 * INSTALL: Regenerated.
25740 * manual/libc.texinfo: Include pkgvers.texi.
25741 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25742 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25743 (print_version): Use PKGVERSION.
25744 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25745 (print_version): Use PKGVERSION.
25746 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25747 (print_version): Use PKGVERSION.
25748 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25749 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25751 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25752 (print_version): Use PKGVERSION.
25753 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25754 (print_version): Use PKGVERSION.
25755 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25758 * timezone/checktab.awk: Update from tzcode 2012i.
25759 * timezone/ialloc.c: Likewise.
25760 * timezone/private.h: Likewise.
25761 * timezone/scheck.c: Likewise.
25762 * timezone/tzfile.h: Likewise.
25763 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25764 (TZVERSION): Hardcode tzcode version number.
25765 * timezone/zdump.c: Update from tzcode 2012i.
25766 * timezone/zic.c: Likewise.
25767 * timezone/version.h: New file.
25768 * timezone/README: Describe version.h. Update upstream location.
25771 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25772 (mktemp): Enable declaration.
25773 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25774 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25775 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25776 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25778 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25780 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25782 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25784 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25786 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25790 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25791 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25792 for copies of such integer values.
25793 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25794 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25796 2012-11-09 Andreas Jaeger <aj@suse.de>
25798 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25799 definitions and declarations that are provided by
25800 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25802 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25804 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25805 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25806 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25809 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25811 * elf/elf.h: Update comment before AArch64 relocations.
25813 2012-11-07 David S. Miller <davem@davemloft.net>
25815 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25816 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25817 (__start_context): Declare.
25818 (__makecontext_ret): Delete.
25819 (__makecontext): Hook up __start_context instead of
25821 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25822 (sysdep_routines): Add __start_context when in stdlib.
25824 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25826 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25827 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25828 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25830 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25831 (READELF): New variable. Use it instead of hardcoded "readelf".
25833 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25835 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25836 * sysdeps/x86/Makefile: Here.
25837 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25838 * sysdeps/x86/tst-xmmymm.sh: This.
25840 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25842 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25844 [UNIX98] (pthread_barrier_t): Do not expect.
25845 [UNIX98] (pthread_barrierattr_t): Likewise.
25846 [UNIX98] (pthread_spinlock_t): Likewise.
25847 [UNIX98] (pthread_barrier_destroy): Likewise.
25848 [UNIX98] (pthread_barrier_init): Likewise.
25849 [UNIX98] (pthread_barrier_wait): Likewise.
25850 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25851 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25852 [UNIX98] (pthread_barrierattr_init): Likewise.
25853 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25854 [UNIX98] (pthread_getcpuclockid): Likewise.
25855 [UNIX98] (pthread_mutex_timedlock): Likewise.
25856 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25857 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25858 [UNIX98] (pthread_sigmask): Likewise.
25859 [UNIX98] (pthread_spin_destroy): Likewise.
25860 [UNIX98] (pthread_spin_init): Likewise.
25861 [UNIX98] (pthread_spin_lock): Likewise.
25862 [UNIX98] (pthread_spin_trylock): Likewise.
25863 [UNIX98] (pthread_spin_unlock): Likewise.
25864 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25866 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25867 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25868 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25869 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25870 [XPG3 || XPG4] (pthread_key_t): Likewise.
25871 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25872 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25873 [XPG3 || XPG4] (pthread_once_t): Likewise.
25874 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25875 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25876 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25877 [XPG3 || XPG4] (pthread_t): Likewise.
25879 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25881 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25883 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25884 Change function return type to int.
25886 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25887 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25888 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25889 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25890 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25891 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25892 [!POSIX] (posix_madvise): Likewise.
25893 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25895 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25896 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25897 (mode_t): Likewise.
25898 (posix_mem_offset): Likewise.
25899 (posix_typed_mem_get_info): Likewise.
25900 (posix_typed_mem_open): Likewise.
25902 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25903 Change condition to [XOPEN2K8].
25905 * conform/conformtest.pl: Preprocess allow-header data with -x c
25906 instead of from stdin.
25907 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25908 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25909 [C99-based standards] (cerfc): Likewise.
25910 [C99-based standards] (cexp2): Likewise.
25911 [C99-based standards] (cexpm1): Likewise.
25912 [C99-based standards] (clog10): Likewise.
25913 [C99-based standards] (clog1p): Likewise.
25914 [C99-based standards] (clog2): Likewise.
25915 [C99-based standards] (clgamma): Likewise.
25916 [C99-based standards] (ctgamma): Likewise.
25917 [C99-based standards] (cerff): Likewise.
25918 [C99-based standards] (cerfcf): Likewise.
25919 [C99-based standards] (cexp2f): Likewise.
25920 [C99-based standards] (cexpm1f): Likewise.
25921 [C99-based standards] (clog10f): Likewise.
25922 [C99-based standards] (clog1pf): Likewise.
25923 [C99-based standards] (clog2f): Likewise.
25924 [C99-based standards] (clgammaf): Likewise.
25925 [C99-based standards] (ctgammaf): Likewise.
25926 [C99-based standards] (cerfl): Likewise.
25927 [C99-based standards] (cerfcl): Likewise.
25928 [C99-based standards] (cexp2l): Likewise.
25929 [C99-based standards] (cexpm1l): Likewise.
25930 [C99-based standards] (clog10l): Likewise.
25931 [C99-based standards] (clog1pl): Likewise.
25932 [C99-based standards] (clog2l): Likewise.
25933 [C99-based standards] (clgammal): Likewise.
25934 [C99-based standards] (ctgammal): Likewise.
25935 * conform/data/inttypes.h-data [C99-based standards]: Include
25936 stdint.h-data. Remove all expectations for stdint.h contents.
25937 [C99-based standards] (PRI*): Do not allow.
25938 [C99-based standards] (SCN*): Likewise.
25939 [C99-based standards] (*_t): Likewise.
25940 [C99-based-standards] (PRId8): Expect macro.
25941 [C99-based-standards] (PRIi8): Likewise.
25942 [C99-based-standards] (PRIo8): Likewise.
25943 [C99-based-standards] (PRIu8): Likewise.
25944 [C99-based-standards] (PRIx8): Likewise.
25945 [C99-based-standards] (PRIX8): Likewise.
25946 [C99-based-standards] (SCNd8): Likewise.
25947 [C99-based-standards] (SCNi8): Likewise.
25948 [C99-based-standards] (SCNo8): Likewise.
25949 [C99-based-standards] (SCNu8): Likewise.
25950 [C99-based-standards] (SCNx8): Likewise.
25951 [C99-based-standards] (PRIdLEAST8): Likewise.
25952 [C99-based-standards] (PRIiLEAST8): Likewise.
25953 [C99-based-standards] (PRIoLEAST8): Likewise.
25954 [C99-based-standards] (PRIuLEAST8): Likewise.
25955 [C99-based-standards] (PRIxLEAST8): Likewise.
25956 [C99-based-standards] (PRIXLEAST8): Likewise.
25957 [C99-based-standards] (SCNdLEAST8): Likewise.
25958 [C99-based-standards] (SCNiLEAST8): Likewise.
25959 [C99-based-standards] (SCNoLEAST8): Likewise.
25960 [C99-based-standards] (SCNuLEAST8): Likewise.
25961 [C99-based-standards] (SCNxLEAST8): Likewise.
25962 [C99-based-standards] (PRIdFAST8): Likewise.
25963 [C99-based-standards] (PRIiFAST8): Likewise.
25964 [C99-based-standards] (PRIoFAST8): Likewise.
25965 [C99-based-standards] (PRIuFAST8): Likewise.
25966 [C99-based-standards] (PRIxFAST8): Likewise.
25967 [C99-based-standards] (PRIXFAST8): Likewise.
25968 [C99-based-standards] (SCNdFAST8): Likewise.
25969 [C99-based-standards] (SCNiFAST8): Likewise.
25970 [C99-based-standards] (SCNoFAST8): Likewise.
25971 [C99-based-standards] (SCNuFAST8): Likewise.
25972 [C99-based-standards] (SCNxFAST8): Likewise.
25973 [C99-based-standards] (PRId16): Likewise.
25974 [C99-based-standards] (PRIi16): Likewise.
25975 [C99-based-standards] (PRIo16): Likewise.
25976 [C99-based-standards] (PRIu16): Likewise.
25977 [C99-based-standards] (PRIx16): Likewise.
25978 [C99-based-standards] (PRIX16): Likewise.
25979 [C99-based-standards] (SCNd16): Likewise.
25980 [C99-based-standards] (SCNi16): Likewise.
25981 [C99-based-standards] (SCNo16): Likewise.
25982 [C99-based-standards] (SCNu16): Likewise.
25983 [C99-based-standards] (SCNx16): Likewise.
25984 [C99-based-standards] (PRIdLEAST16): Likewise.
25985 [C99-based-standards] (PRIiLEAST16): Likewise.
25986 [C99-based-standards] (PRIoLEAST16): Likewise.
25987 [C99-based-standards] (PRIuLEAST16): Likewise.
25988 [C99-based-standards] (PRIxLEAST16): Likewise.
25989 [C99-based-standards] (PRIXLEAST16): Likewise.
25990 [C99-based-standards] (SCNdLEAST16): Likewise.
25991 [C99-based-standards] (SCNiLEAST16): Likewise.
25992 [C99-based-standards] (SCNoLEAST16): Likewise.
25993 [C99-based-standards] (SCNuLEAST16): Likewise.
25994 [C99-based-standards] (SCNxLEAST16): Likewise.
25995 [C99-based-standards] (PRIdFAST16): Likewise.
25996 [C99-based-standards] (PRIiFAST16): Likewise.
25997 [C99-based-standards] (PRIoFAST16): Likewise.
25998 [C99-based-standards] (PRIuFAST16): Likewise.
25999 [C99-based-standards] (PRIxFAST16): Likewise.
26000 [C99-based-standards] (PRIXFAST16): Likewise.
26001 [C99-based-standards] (SCNdFAST16): Likewise.
26002 [C99-based-standards] (SCNiFAST16): Likewise.
26003 [C99-based-standards] (SCNoFAST16): Likewise.
26004 [C99-based-standards] (SCNuFAST16): Likewise.
26005 [C99-based-standards] (SCNxFAST16): Likewise.
26006 [C99-based-standards] (PRId32): Likewise.
26007 [C99-based-standards] (PRIi32): Likewise.
26008 [C99-based-standards] (PRIo32): Likewise.
26009 [C99-based-standards] (PRIu32): Likewise.
26010 [C99-based-standards] (PRIx32): Likewise.
26011 [C99-based-standards] (PRIX32): Likewise.
26012 [C99-based-standards] (SCNd32): Likewise.
26013 [C99-based-standards] (SCNi32): Likewise.
26014 [C99-based-standards] (SCNo32): Likewise.
26015 [C99-based-standards] (SCNu32): Likewise.
26016 [C99-based-standards] (SCNx32): Likewise.
26017 [C99-based-standards] (PRIdLEAST32): Likewise.
26018 [C99-based-standards] (PRIiLEAST32): Likewise.
26019 [C99-based-standards] (PRIoLEAST32): Likewise.
26020 [C99-based-standards] (PRIuLEAST32): Likewise.
26021 [C99-based-standards] (PRIxLEAST32): Likewise.
26022 [C99-based-standards] (PRIXLEAST32): Likewise.
26023 [C99-based-standards] (SCNdLEAST32): Likewise.
26024 [C99-based-standards] (SCNiLEAST32): Likewise.
26025 [C99-based-standards] (SCNoLEAST32): Likewise.
26026 [C99-based-standards] (SCNuLEAST32): Likewise.
26027 [C99-based-standards] (SCNxLEAST32): Likewise.
26028 [C99-based-standards] (PRIdFAST32): Likewise.
26029 [C99-based-standards] (PRIiFAST32): Likewise.
26030 [C99-based-standards] (PRIoFAST32): Likewise.
26031 [C99-based-standards] (PRIuFAST32): Likewise.
26032 [C99-based-standards] (PRIxFAST32): Likewise.
26033 [C99-based-standards] (PRIXFAST32): Likewise.
26034 [C99-based-standards] (SCNdFAST32): Likewise.
26035 [C99-based-standards] (SCNiFAST32): Likewise.
26036 [C99-based-standards] (SCNoFAST32): Likewise.
26037 [C99-based-standards] (SCNuFAST32): Likewise.
26038 [C99-based-standards] (SCNxFAST32): Likewise.
26039 [C99-based-standards] (PRId64): Likewise.
26040 [C99-based-standards] (PRIi64): Likewise.
26041 [C99-based-standards] (PRIo64): Likewise.
26042 [C99-based-standards] (PRIu64): Likewise.
26043 [C99-based-standards] (PRIx64): Likewise.
26044 [C99-based-standards] (PRIX64): Likewise.
26045 [C99-based-standards] (SCNd64): Likewise.
26046 [C99-based-standards] (SCNi64): Likewise.
26047 [C99-based-standards] (SCNo64): Likewise.
26048 [C99-based-standards] (SCNu64): Likewise.
26049 [C99-based-standards] (SCNx64): Likewise.
26050 [C99-based-standards] (PRIdLEAST64): Likewise.
26051 [C99-based-standards] (PRIiLEAST64): Likewise.
26052 [C99-based-standards] (PRIoLEAST64): Likewise.
26053 [C99-based-standards] (PRIuLEAST64): Likewise.
26054 [C99-based-standards] (PRIxLEAST64): Likewise.
26055 [C99-based-standards] (PRIXLEAST64): Likewise.
26056 [C99-based-standards] (SCNdLEAST64): Likewise.
26057 [C99-based-standards] (SCNiLEAST64): Likewise.
26058 [C99-based-standards] (SCNoLEAST64): Likewise.
26059 [C99-based-standards] (SCNuLEAST64): Likewise.
26060 [C99-based-standards] (SCNxLEAST64): Likewise.
26061 [C99-based-standards] (PRIdFAST64): Likewise.
26062 [C99-based-standards] (PRIiFAST64): Likewise.
26063 [C99-based-standards] (PRIoFAST64): Likewise.
26064 [C99-based-standards] (PRIuFAST64): Likewise.
26065 [C99-based-standards] (PRIxFAST64): Likewise.
26066 [C99-based-standards] (PRIXFAST64): Likewise.
26067 [C99-based-standards] (SCNdFAST64): Likewise.
26068 [C99-based-standards] (SCNiFAST64): Likewise.
26069 [C99-based-standards] (SCNoFAST64): Likewise.
26070 [C99-based-standards] (SCNuFAST64): Likewise.
26071 [C99-based-standards] (SCNxFAST64): Likewise.
26072 [C99-based-standards] (PRIdMAX): Likewise.
26073 [C99-based-standards] (PRIiMAX): Likewise.
26074 [C99-based-standards] (PRIoMAX): Likewise.
26075 [C99-based-standards] (PRIuMAX): Likewise.
26076 [C99-based-standards] (PRIxMAX): Likewise.
26077 [C99-based-standards] (PRIXMAX): Likewise.
26078 [C99-based-standards] (SCNdMAX): Likewise.
26079 [C99-based-standards] (SCNiMAX): Likewise.
26080 [C99-based-standards] (SCNoMAX): Likewise.
26081 [C99-based-standards] (SCNuMAX): Likewise.
26082 [C99-based-standards] (SCNxMAX): Likewise.
26083 [C99-based-standards] (PRIdPTR): Likewise.
26084 [C99-based-standards] (PRIiPTR): Likewise.
26085 [C99-based-standards] (PRIoPTR): Likewise.
26086 [C99-based-standards] (PRIuPTR): Likewise.
26087 [C99-based-standards] (PRIxPTR): Likewise.
26088 [C99-based-standards] (PRIXPTR): Likewise.
26089 [C99-based-standards] (SCNdPTR): Likewise.
26090 [C99-based-standards] (SCNiPTR): Likewise.
26091 [C99-based-standards] (SCNoPTR): Likewise.
26092 [C99-based-standards] (SCNuPTR): Likewise.
26093 [C99-based-standards] (SCNxPTR): Likewise.
26094 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26096 * conform/data/stdint.h-data: Update comments to clarify
26098 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26100 [C99-based standards] (INT8_MAX): Likewise.
26101 [C99-based standards] (INT16_MIN): Likewise.
26102 [C99-based standards] (INT16_MAX): Likewise.
26103 [C99-based standards] (INT32_MIN): Likewise.
26104 [C99-based standards] (INT32_MAX): Likewise.
26105 [C99-based standards] (INT64_MIN): Likewise.
26106 [C99-based standards] (INT64_MAX): Likewise.
26107 [C99-based standards] (UINT8_MAX): Likewise.
26108 [C99-based standards] (UINT16_MAX): Likewise.
26109 [C99-based standards] (UINT32_MAX): Likewise.
26110 [C99-based standards] (UINT64_MAX): Likewise.
26111 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26112 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26113 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26114 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26115 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26116 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26117 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26118 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26119 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26120 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26121 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26122 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26123 [C99-based standards] (INT_FAST8_MIN): Likewise.
26124 [C99-based standards] (INT_FAST8_MAX): Likewise.
26125 [C99-based standards] (INT_FAST16_MIN): Likewise.
26126 [C99-based standards] (INT_FAST16_MAX): Likewise.
26127 [C99-based standards] (INT_FAST32_MIN): Likewise.
26128 [C99-based standards] (INT_FAST32_MAX): Likewise.
26129 [C99-based standards] (INT_FAST64_MIN): Likewise.
26130 [C99-based standards] (INT_FAST64_MAX): Likewise.
26131 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26132 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26133 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26134 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26135 [C99-based standards] (INTPTR_MIN): Likewise.
26136 [C99-based standards] (INTPTR_MAX): Likewise.
26137 [C99-based standards] (UINTPTR_MAX): Likewise.
26138 [C99-based standards] (INTMAX_MIN): Likewise.
26139 [C99-based standards] (INTMAX_MAX): Likewise.
26140 [C99-based standards] (UINTMAX_MAX): Likewise.
26141 [C99-based standards] (PTRDIFF_MIN): Likewise.
26142 [C99-based standards] (PTRDIFF_MAX): Likewise.
26143 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26144 [C99-based standards] (SIZE_MAX): Likewise.
26145 [C99-based standards] (WCHAR_MAX): Likewise.
26146 [C99-based standards] (WINT_MAX): Likewise.
26147 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26148 constraint on value.
26149 [C99-based standards] (WCHAR_MIN): Likewise.
26150 [C99-based standards] (WINT_MIN): Likewise.
26151 [C99-based standards] (*_t): Allow.
26152 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26153 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26154 Include math.h-data and complex.h-data. Remove all expectations
26155 of math.h and complex.h contents.
26156 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26158 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26159 (struct tm): Expect tag.
26160 [C99-based-standards] (wcstof): Expect function.
26161 [C99-based-standards] (wcstold): Likewise.
26162 [C99-based-standards] (wcstoll): Likewise.
26163 [C99-based-standards] (wcstoull): Likewise.
26164 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26165 macro-int-constant. Specify type.
26166 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26167 constraint on value.
26168 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26170 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26172 [ISO C standards]: Do not allow headers.
26173 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26174 wcs[abcdefghijklmnopqrstuvwxyz]*.
26175 [ISO C standards] (*_t): Do not allow.
26176 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26178 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26179 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26181 [ISO C standards]: Do not allow headers.
26182 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26183 is[abcdefghijklmnopqrstuvwxyz]*.
26184 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26185 to[abcdefghijklmnopqrstuvwxyz]*.
26186 [ISO C standards] (*_t): Do not allow.
26187 * conform/data/stdalign.h-data: New file.
26188 * conform/data/stdbool.h-data: Likewise.
26189 * conform/data/stdnoreturn.h-data: Likewise.
26191 2012-11-07 Roland McGrath <roland@hack.frob.com>
26194 * manual/filesys.texi (Directory Entries): Typo fix.
26195 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26197 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26199 * elf/elf.h (EM_AARCH64): New macro.
26200 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26201 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26202 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26203 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26204 (R_AARCH64_TLSDESC): Likewise.
26205 (NT_ARM_TLS): Likewise.
26206 (NT_ARM_HW_BREAK): Likewise.
26207 (NT_ARM_HW_WATCH): Likewise.
26209 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26212 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26213 (__ieee754_powl): Saturate nonzero exponents with absolute value
26214 below 0x1p-79 to +/- 0x1p-79.
26215 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26216 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26217 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26218 nonzero exponents with absolute value below 0x1p-32 to +/-
26220 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26221 (__ieee754_powl): Saturate nonzero exponents with absolute value
26222 below 0x1p-79 to +/- 0x1p-79.
26223 * math/libm-test.inc (pow_test): Add more tests.
26225 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26227 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26228 _dl_s390_cap_flags with kernel. Increase string length.
26229 (_dl_s390_platforms): Add z196 and zEC12.
26231 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26233 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26234 Change XOPEN21K to XOPEN2K.
26236 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26238 * string/memmove.c: Use memcpy when possible.
26240 2012-11-06 Andreas Jaeger <aj@suse.de>
26242 * po/eo.po: Update from translation team.
26244 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26248 exponent and small x and y exponents, scale x or y up. Increase
26249 by 2 the exponent used in scaling up.
26250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26251 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26252 * math/libm-test.inc (fma_test): Add more tests.
26253 (fma_test_towardzero): Likewise.
26254 (fma_test_downward): Likewise.
26255 (fma_test_upward): Likewise.
26257 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26260 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26264 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26265 namespace for names of struct fields.
26266 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26268 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26269 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26271 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26274 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26276 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26278 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26282 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26285 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26289 definitely overflow as x * y not x * y + z.
26290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26292 * math/libm-test.inc (fma_test): Add more tests.
26293 (fma_test_towardzero): Likewise.
26294 (fma_test_downward): Likewise.
26295 (fma_test_upward): Likewise.
26297 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26301 * include/stub-tag.h: Remove file.
26302 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26304 * manual/maint.texi (Porting): Don't reference it.
26305 * Makerules ($(objpfx)stubs): Likewise.
26306 * dirent/closedir.c: Don't include <stub-tag.h>.
26307 * dirent/dirfd.c: Likewise.
26308 * dirent/fdopendir.c: Likewise.
26309 * dirent/getdents.c: Likewise.
26310 * dirent/getdents64.c: Likewise.
26311 * dirent/opendir.c: Likewise.
26312 * dirent/readdir.c: Likewise.
26313 * dirent/readdir64.c: Likewise.
26314 * dirent/readdir64_r.c: Likewise.
26315 * dirent/readdir_r.c: Likewise.
26316 * dirent/rewinddir.c: Likewise.
26317 * dirent/seekdir.c: Likewise.
26318 * dirent/telldir.c: Likewise.
26319 * gmon/profil.c: Likewise.
26320 * grp/setgroups.c: Likewise.
26321 * inet/if_index.c: Likewise.
26322 * io/access.c: Likewise.
26323 * io/chdir.c: Likewise.
26324 * io/chmod.c: Likewise.
26325 * io/chown.c: Likewise.
26326 * io/close.c: Likewise.
26327 * io/dup.c: Likewise.
26328 * io/dup2.c: Likewise.
26329 * io/dup3.c: Likewise.
26330 * io/euidaccess.c: Likewise.
26331 * io/faccessat.c: Likewise.
26332 * io/fchdir.c: Likewise.
26333 * io/fchmod.c: Likewise.
26334 * io/fchmodat.c: Likewise.
26335 * io/fchown.c: Likewise.
26336 * io/fchownat.c: Likewise.
26337 * io/fcntl.c: Likewise.
26338 * io/flock.c: Likewise.
26339 * io/fstatfs.c: Likewise.
26340 * io/fstatfs64.c: Likewise.
26341 * io/fstatvfs.c: Likewise.
26342 * io/fstatvfs64.c: Likewise.
26343 * io/futimens.c: Likewise.
26344 * io/fxstat.c: Likewise.
26345 * io/fxstat64.c: Likewise.
26346 * io/fxstatat.c: Likewise.
26347 * io/fxstatat64.c: Likewise.
26348 * io/getcwd.c: Likewise.
26349 * io/isatty.c: Likewise.
26350 * io/lchmod.c: Likewise.
26351 * io/lchown.c: Likewise.
26352 * io/link.c: Likewise.
26353 * io/linkat.c: Likewise.
26354 * io/lseek.c: Likewise.
26355 * io/lseek64.c: Likewise.
26356 * io/lxstat64.c: Likewise.
26357 * io/mkdir.c: Likewise.
26358 * io/mkdirat.c: Likewise.
26359 * io/mkfifo.c: Likewise.
26360 * io/mkfifoat.c: Likewise.
26361 * io/open.c: Likewise.
26362 * io/open64.c: Likewise.
26363 * io/openat.c: Likewise.
26364 * io/openat64.c: Likewise.
26365 * io/pipe.c: Likewise.
26366 * io/pipe2.c: Likewise.
26367 * io/poll.c: Likewise.
26368 * io/posix_fadvise.c: Likewise.
26369 * io/posix_fadvise64.c: Likewise.
26370 * io/posix_fallocate.c: Likewise.
26371 * io/posix_fallocate64.c: Likewise.
26372 * io/read.c: Likewise.
26373 * io/readlink.c: Likewise.
26374 * io/readlinkat.c: Likewise.
26375 * io/rmdir.c: Likewise.
26376 * io/sendfile.c: Likewise.
26377 * io/sendfile64.c: Likewise.
26378 * io/statfs.c: Likewise.
26379 * io/statfs64.c: Likewise.
26380 * io/statvfs.c: Likewise.
26381 * io/statvfs64.c: Likewise.
26382 * io/symlink.c: Likewise.
26383 * io/symlinkat.c: Likewise.
26384 * io/ttyname.c: Likewise.
26385 * io/ttyname_r.c: Likewise.
26386 * io/umask.c: Likewise.
26387 * io/unlink.c: Likewise.
26388 * io/unlinkat.c: Likewise.
26389 * io/utime.c: Likewise.
26390 * io/utimensat.c: Likewise.
26391 * io/write.c: Likewise.
26392 * io/xmknod.c: Likewise.
26393 * io/xmknodat.c: Likewise.
26394 * io/xstat.c: Likewise.
26395 * io/xstat64.c: Likewise.
26396 * login/getpt.c: Likewise.
26397 * login/grantpt.c: Likewise.
26398 * login/unlockpt.c: Likewise.
26399 * math/e_acoshl.c: Likewise.
26400 * math/e_acosl.c: Likewise.
26401 * math/e_asinl.c: Likewise.
26402 * math/e_atan2l.c: Likewise.
26403 * math/e_atanhl.c: Likewise.
26404 * math/e_coshl.c: Likewise.
26405 * math/e_expl.c: Likewise.
26406 * math/e_fmodl.c: Likewise.
26407 * math/e_gammal_r.c: Likewise.
26408 * math/e_hypotl.c: Likewise.
26409 * math/e_j0l.c: Likewise.
26410 * math/e_j1l.c: Likewise.
26411 * math/e_jnl.c: Likewise.
26412 * math/e_lgammal_r.c: Likewise.
26413 * math/e_log10l.c: Likewise.
26414 * math/e_log2l.c: Likewise.
26415 * math/e_logl.c: Likewise.
26416 * math/e_powl.c: Likewise.
26417 * math/e_rem_pio2l.c: Likewise.
26418 * math/e_sinhl.c: Likewise.
26419 * math/e_sqrtl.c: Likewise.
26420 * math/fclrexcpt.c: Likewise.
26421 * math/fedisblxcpt.c: Likewise.
26422 * math/feenablxcpt.c: Likewise.
26423 * math/fegetenv.c: Likewise.
26424 * math/fegetexcept.c: Likewise.
26425 * math/fegetround.c: Likewise.
26426 * math/feholdexcpt.c: Likewise.
26427 * math/fesetenv.c: Likewise.
26428 * math/fesetround.c: Likewise.
26429 * math/feupdateenv.c: Likewise.
26430 * math/fgetexcptflg.c: Likewise.
26431 * math/fraiseexcpt.c: Likewise.
26432 * math/fsetexcptflg.c: Likewise.
26433 * math/ftestexcept.c: Likewise.
26434 * math/k_cosl.c: Likewise.
26435 * math/k_rem_pio2l.c: Likewise.
26436 * math/k_sinl.c: Likewise.
26437 * math/k_tanl.c: Likewise.
26438 * math/s_asinhl.c: Likewise.
26439 * math/s_atanl.c: Likewise.
26440 * math/s_cbrtl.c: Likewise.
26441 * math/s_erfl.c: Likewise.
26442 * math/s_expm1l.c: Likewise.
26443 * math/s_log1pl.c: Likewise.
26444 * math/s_tanhl.c: Likewise.
26445 * misc/acct.c: Likewise.
26446 * misc/brk.c: Likewise.
26447 * misc/chflags.c: Likewise.
26448 * misc/chroot.c: Likewise.
26449 * misc/fchflags.c: Likewise.
26450 * misc/fgetxattr.c: Likewise.
26451 * misc/flistxattr.c: Likewise.
26452 * misc/fremovexattr.c: Likewise.
26453 * misc/fsetxattr.c: Likewise.
26454 * misc/fsync.c: Likewise.
26455 * misc/ftruncate.c: Likewise.
26456 * misc/futimes.c: Likewise.
26457 * misc/futimesat.c: Likewise.
26458 * misc/getdomain.c: Likewise.
26459 * misc/getdtsz.c: Likewise.
26460 * misc/gethostid.c: Likewise.
26461 * misc/gethostname.c: Likewise.
26462 * misc/getloadavg.c: Likewise.
26463 * misc/getpagesize.c: Likewise.
26464 * misc/getsysstats.c: Likewise.
26465 * misc/getxattr.c: Likewise.
26466 * misc/gtty.c: Likewise.
26467 * misc/ioctl.c: Likewise.
26468 * misc/lgetxattr.c: Likewise.
26469 * misc/listxattr.c: Likewise.
26470 * misc/llistxattr.c: Likewise.
26471 * misc/lremovexattr.c: Likewise.
26472 * misc/lsetxattr.c: Likewise.
26473 * misc/lutimes.c: Likewise.
26474 * misc/madvise.c: Likewise.
26475 * misc/mincore.c: Likewise.
26476 * misc/mlock.c: Likewise.
26477 * misc/mlockall.c: Likewise.
26478 * misc/mmap.c: Likewise.
26479 * misc/mprotect.c: Likewise.
26480 * misc/msync.c: Likewise.
26481 * misc/munlock.c: Likewise.
26482 * misc/munlockall.c: Likewise.
26483 * misc/munmap.c: Likewise.
26484 * misc/preadv.c: Likewise.
26485 * misc/preadv64.c: Likewise.
26486 * misc/ptrace.c: Likewise.
26487 * misc/pwritev.c: Likewise.
26488 * misc/pwritev64.c: Likewise.
26489 * misc/readv.c: Likewise.
26490 * misc/reboot.c: Likewise.
26491 * misc/remap_file_pages.c: Likewise.
26492 * misc/removexattr.c: Likewise.
26493 * misc/revoke.c: Likewise.
26494 * misc/select.c: Likewise.
26495 * misc/setdomain.c: Likewise.
26496 * misc/setegid.c: Likewise.
26497 * misc/seteuid.c: Likewise.
26498 * misc/sethostid.c: Likewise.
26499 * misc/sethostname.c: Likewise.
26500 * misc/setregid.c: Likewise.
26501 * misc/setreuid.c: Likewise.
26502 * misc/setxattr.c: Likewise.
26503 * misc/sstk.c: Likewise.
26504 * misc/stty.c: Likewise.
26505 * misc/swapoff.c: Likewise.
26506 * misc/swapon.c: Likewise.
26507 * misc/sync.c: Likewise.
26508 * misc/syncfs.c: Likewise.
26509 * misc/syscall.c: Likewise.
26510 * misc/truncate.c: Likewise.
26511 * misc/ualarm.c: Likewise.
26512 * misc/usleep.c: Likewise.
26513 * misc/ustat.c: Likewise.
26514 * misc/utimes.c: Likewise.
26515 * misc/vhangup.c: Likewise.
26516 * misc/writev.c: Likewise.
26517 * posix/_exit.c: Likewise.
26518 * posix/alarm.c: Likewise.
26519 * posix/execve.c: Likewise.
26520 * posix/fexecve.c: Likewise.
26521 * posix/fork.c: Likewise.
26522 * posix/fpathconf.c: Likewise.
26523 * posix/getaddrinfo.c: Likewise.
26524 * posix/getegid.c: Likewise.
26525 * posix/geteuid.c: Likewise.
26526 * posix/getgid.c: Likewise.
26527 * posix/getgroups.c: Likewise.
26528 * posix/getlogin.c: Likewise.
26529 * posix/getlogin_r.c: Likewise.
26530 * posix/getpgid.c: Likewise.
26531 * posix/getpid.c: Likewise.
26532 * posix/getppid.c: Likewise.
26533 * posix/getresgid.c: Likewise.
26534 * posix/getresuid.c: Likewise.
26535 * posix/getsid.c: Likewise.
26536 * posix/getuid.c: Likewise.
26537 * posix/glob64.c: Likewise.
26538 * posix/nanosleep.c: Likewise.
26539 * posix/pathconf.c: Likewise.
26540 * posix/pause.c: Likewise.
26541 * posix/posix_madvise.c: Likewise.
26542 * posix/pread.c: Likewise.
26543 * posix/pread64.c: Likewise.
26544 * posix/pwrite.c: Likewise.
26545 * posix/pwrite64.c: Likewise.
26546 * posix/sched_getaffinity.c: Likewise.
26547 * posix/sched_getp.c: Likewise.
26548 * posix/sched_gets.c: Likewise.
26549 * posix/sched_primax.c: Likewise.
26550 * posix/sched_primin.c: Likewise.
26551 * posix/sched_rr_gi.c: Likewise.
26552 * posix/sched_setaffinity.c: Likewise.
26553 * posix/sched_setp.c: Likewise.
26554 * posix/sched_sets.c: Likewise.
26555 * posix/sched_yield.c: Likewise.
26556 * posix/setgid.c: Likewise.
26557 * posix/setlogin.c: Likewise.
26558 * posix/setpgid.c: Likewise.
26559 * posix/setresgid.c: Likewise.
26560 * posix/setresuid.c: Likewise.
26561 * posix/setsid.c: Likewise.
26562 * posix/setuid.c: Likewise.
26563 * posix/sleep.c: Likewise.
26564 * posix/spawni.c: Likewise.
26565 * posix/sysconf.c: Likewise.
26566 * posix/times.c: Likewise.
26567 * posix/wait.c: Likewise.
26568 * posix/wait3.c: Likewise.
26569 * posix/wait4.c: Likewise.
26570 * posix/waitpid.c: Likewise.
26571 * resolv/gai_sigqueue.c: Likewise.
26572 * resource/getpriority.c: Likewise.
26573 * resource/getrlimit.c: Likewise.
26574 * resource/getrusage.c: Likewise.
26575 * resource/nice.c: Likewise.
26576 * resource/setpriority.c: Likewise.
26577 * resource/setrlimit.c: Likewise.
26578 * resource/ulimit.c: Likewise.
26579 * rt/aio_cancel.c: Likewise.
26580 * rt/aio_fsync.c: Likewise.
26581 * rt/aio_read.c: Likewise.
26582 * rt/aio_sigqueue.c: Likewise.
26583 * rt/aio_suspend.c: Likewise.
26584 * rt/aio_write.c: Likewise.
26585 * rt/clock_getres.c: Likewise.
26586 * rt/clock_gettime.c: Likewise.
26587 * rt/clock_nanosleep.c: Likewise.
26588 * rt/clock_settime.c: Likewise.
26589 * rt/lio_listio.c: Likewise.
26590 * rt/mq_close.c: Likewise.
26591 * rt/mq_getattr.c: Likewise.
26592 * rt/mq_notify.c: Likewise.
26593 * rt/mq_open.c: Likewise.
26594 * rt/mq_receive.c: Likewise.
26595 * rt/mq_send.c: Likewise.
26596 * rt/mq_setattr.c: Likewise.
26597 * rt/mq_timedreceive.c: Likewise.
26598 * rt/mq_timedsend.c: Likewise.
26599 * rt/mq_unlink.c: Likewise.
26600 * rt/shm_open.c: Likewise.
26601 * rt/shm_unlink.c: Likewise.
26602 * rt/timer_create.c: Likewise.
26603 * rt/timer_delete.c: Likewise.
26604 * rt/timer_getoverr.c: Likewise.
26605 * rt/timer_gettime.c: Likewise.
26606 * rt/timer_settime.c: Likewise.
26607 * setjmp/__longjmp.c: Likewise.
26608 * setjmp/setjmp.c: Likewise.
26609 * signal/kill.c: Likewise.
26610 * signal/killpg.c: Likewise.
26611 * signal/raise.c: Likewise.
26612 * signal/sigaction.c: Likewise.
26613 * signal/sigaltstack.c: Likewise.
26614 * signal/sigblock.c: Likewise.
26615 * signal/sigignore.c: Likewise.
26616 * signal/sigintr.c: Likewise.
26617 * signal/signal.c: Likewise.
26618 * signal/sigpause.c: Likewise.
26619 * signal/sigpending.c: Likewise.
26620 * signal/sigqueue.c: Likewise.
26621 * signal/sigreturn.c: Likewise.
26622 * signal/sigset.c: Likewise.
26623 * signal/sigsetmask.c: Likewise.
26624 * signal/sigstack.c: Likewise.
26625 * signal/sigsuspend.c: Likewise.
26626 * signal/sigtimedwait.c: Likewise.
26627 * signal/sigvec.c: Likewise.
26628 * signal/sigwait.c: Likewise.
26629 * signal/sigwaitinfo.c: Likewise.
26630 * signal/sysv_signal.c: Likewise.
26631 * socket/accept.c: Likewise.
26632 * socket/accept4.c: Likewise.
26633 * socket/bind.c: Likewise.
26634 * socket/connect.c: Likewise.
26635 * socket/getpeername.c: Likewise.
26636 * socket/getsockname.c: Likewise.
26637 * socket/getsockopt.c: Likewise.
26638 * socket/isfdtype.c: Likewise.
26639 * socket/listen.c: Likewise.
26640 * socket/recv.c: Likewise.
26641 * socket/recvfrom.c: Likewise.
26642 * socket/recvmsg.c: Likewise.
26643 * socket/send.c: Likewise.
26644 * socket/sendmsg.c: Likewise.
26645 * socket/sendto.c: Likewise.
26646 * socket/setsockopt.c: Likewise.
26647 * socket/shutdown.c: Likewise.
26648 * socket/sockatmark.c: Likewise.
26649 * socket/socket.c: Likewise.
26650 * socket/socketpair.c: Likewise.
26651 * stdio-common/ctermid.c: Likewise.
26652 * stdio-common/cuserid.c: Likewise.
26653 * stdio-common/remove.c: Likewise.
26654 * stdio-common/rename.c: Likewise.
26655 * stdio-common/renameat.c: Likewise.
26656 * stdio-common/tempname.c: Likewise.
26657 * stdlib/getcontext.c: Likewise.
26658 * stdlib/makecontext.c: Likewise.
26659 * stdlib/setcontext.c: Likewise.
26660 * stdlib/swapcontext.c: Likewise.
26661 * stdlib/system.c: Likewise.
26662 * streams/fattach.c: Likewise.
26663 * streams/fdetach.c: Likewise.
26664 * streams/getmsg.c: Likewise.
26665 * streams/getpmsg.c: Likewise.
26666 * streams/putmsg.c: Likewise.
26667 * streams/putpmsg.c: Likewise.
26668 * sysdeps/unix/bsd/getpt.c: Likewise.
26669 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26670 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26671 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26674 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26675 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26676 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26677 * sysvipc/msgctl.c: Likewise.
26678 * sysvipc/msgget.c: Likewise.
26679 * sysvipc/msgrcv.c: Likewise.
26680 * sysvipc/msgsnd.c: Likewise.
26681 * sysvipc/semctl.c: Likewise.
26682 * sysvipc/semget.c: Likewise.
26683 * sysvipc/semop.c: Likewise.
26684 * sysvipc/semtimedop.c: Likewise.
26685 * sysvipc/shmat.c: Likewise.
26686 * sysvipc/shmctl.c: Likewise.
26687 * sysvipc/shmdt.c: Likewise.
26688 * sysvipc/shmget.c: Likewise.
26689 * termios/tcdrain.c: Likewise.
26690 * termios/tcflow.c: Likewise.
26691 * termios/tcflush.c: Likewise.
26692 * termios/tcgetattr.c: Likewise.
26693 * termios/tcgetpgrp.c: Likewise.
26694 * termios/tcsendbrk.c: Likewise.
26695 * termios/tcsetattr.c: Likewise.
26696 * termios/tcsetpgrp.c: Likewise.
26697 * time/adjtime.c: Likewise.
26698 * time/clock.c: Likewise.
26699 * time/getitimer.c: Likewise.
26700 * time/gettimeofday.c: Likewise.
26701 * time/setitimer.c: Likewise.
26702 * time/settimeofday.c: Likewise.
26703 * time/stime.c: Likewise.
26704 * time/time.c: Likewise.
26706 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26708 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26711 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26713 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26715 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26719 FE_TONEAREST before applying Dekker multiplication and Knuth
26720 addition. Clear inexact exceptions and check for exact zero
26721 results afterwards.
26722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26723 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): 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.
26729 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26731 (libc_fesetround): New macro.
26732 (libc_fesetroundf): Likewise.
26733 (libc_fesetroundl): Likewise.
26734 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26736 (libc_fesetround_387): Likewise.
26737 (libc_fesetroundf): New macro.
26738 (libc_fesetround): Likewise.
26739 (libc_fesetroundl): Likewise.
26740 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26742 (libc_fesetroundf): New macro.
26743 (libc_fesetround): Likewise.
26744 (libc_fesetroundl): Likewise.
26745 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26746 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26747 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26749 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26750 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26752 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26753 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26755 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26759 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26760 integer constant usable in #if and use that to give value to enum
26762 (FE_DIVBYZERO): Likewise.
26763 (FE_UNDERFLOW): Likewise.
26764 (FE_OVERFLOW): Likewise.
26765 (FE_INVALID): Likewise.
26766 (FE_INVALID_SNAN): Likewise.
26767 (FE_INVALID_ISI): Likewise.
26768 (FE_INVALID_IDI): Likewise.
26769 (FE_INVALID_ZDZ): Likewise.
26770 (FE_INVALID_IMZ): Likewise.
26771 (FE_INVALID_COMPARE): Likewise.
26772 (FE_INVALID_SOFTWARE): Likewise.
26773 (FE_INVALID_SQRT): Likewise.
26774 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26775 (FE_TONEAREST): Likewise.
26776 (FE_TOWARDZERO): Likewise.
26777 (FE_UPWARD): Likewise.
26778 (FE_DOWNWARD): Likewise.
26779 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26780 (FE_DIVBYZERO): Likewise.
26781 (FE_OVERFLOW): Likewise.
26782 (FE_UNDERFLOW): Likewise.
26783 (FE_INEXACT): Likewise.
26784 (FE_TONEAREST): Likewise.
26785 (FE_DOWNWARD): Likewise.
26786 (FE_UPWARD): Likewise.
26787 (FE_TOWARDZERO): Likewise.
26788 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26789 (FE_UNDERFLOW): Likewise.
26790 (FE_OVERFLOW): Likewise.
26791 (FE_DIVBYZERO): Likewise.
26792 (FE_INVALID): Likewise.
26793 (FE_TONEAREST): Likewise.
26794 (FE_TOWARDZERO): Likewise.
26795 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26796 (FE_OVERFLOW): Likewise.
26797 (FE_UNDERFLOW): Likewise.
26798 (FE_DIVBYZERO): Likewise.
26799 (FE_INEXACT): Likewise.
26800 (FE_TONEAREST): Likewise.
26801 (FE_TOWARDZERO): Likewise.
26802 (FE_UPWARD): Likewise.
26803 (FE_DOWNWARD): Likewise.
26804 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26805 (FE_DIVBYZERO): Likewise.
26806 (FE_OVERFLOW): Likewise.
26807 (FE_UNDERFLOW): Likewise.
26808 (FE_INEXACT): Likewise.
26809 (FE_TONEAREST): Likewise.
26810 (FE_DOWNWARD): Likewise.
26811 (FE_UPWARD): Likewise.
26812 (FE_TOWARDZERO): Likewise.
26814 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26816 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26818 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26820 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26821 commands. Quote $PWD.
26822 (blacklist_exports): Don't use remove_newlines. Replace "declare
26824 (remove_newlines): Remove.
26826 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26828 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26829 * stdlib/stdlib.h (atof): Moved to ...
26830 * include/bits/stdlib-float.h: Here. New file.
26831 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26832 * stdlib/bits/stdlib-float.h: New file.
26833 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26838 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26840 * conform/conformtest.pl (@headers): Add fenv.h.
26841 * conform/data/fenv.h-data: New file.
26842 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26843 include of <math/fenv.h>.
26845 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26846 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26847 && !UNIX98]. Enables tests for XOPEN2K8.
26848 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26849 POSIX2008]: Likewise.
26851 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26852 (struct rusage): Do not expect type or its members.
26855 * math/math.h (FP_NAN): Define macro to integer constant usable in
26856 #if and use that to give value to enum constant.
26857 (FP_INFINITE): Likewise.
26858 (FP_ZERO): Likewise.
26859 (FP_SUBNORMAL): Likewise.
26860 (FP_NORMAL): Likewise.
26862 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26864 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26865 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26868 2012-11-02 Roland McGrath <roland@hack.frob.com>
26870 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26871 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26872 autoconf-time if not.
26873 * configure.in: Remove AC_PREREQ.
26875 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26877 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26878 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26879 of the internal implementation.
26881 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26883 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26884 except include of <misc/sys/syslog.h>.
26886 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26889 function returns with a NULL context exit with zero.
26891 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26893 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26895 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26897 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26898 (run_program_cmd): This.
26899 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26900 (tst_langinfo): New variable. Use it.
26902 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26904 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26905 floating point opcodes.
26907 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26909 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26912 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26914 * sysdeps/mach/hurd/powerpc: Remove directory.
26915 * sysdeps/mach/powerpc: Likewise.
26917 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26919 * scripts/check-local-headers.sh: Ignore c++ headers.
26921 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26923 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26924 __libc_cleanup_region_start argument.
26926 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26931 x * y using scaling, not as x * y + z.
26932 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26933 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26934 * math/libm-test.inc (fma_test): Add more tests.
26935 (fma_test_towardzero): Likewise.
26936 (fma_test_downward): Likewise.
26937 (fma_test_upward): Likewise.
26939 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26941 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26943 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26945 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26948 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26950 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26952 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26959 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26962 Fix the order of the list for glibc 2.17.
26963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26966 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26970 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26973 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26974 for low part of x being zero before using __atanl (y).
26975 * math/libm-test.inc (atan2_test): Add another test.
26977 * manual/install.texi (Configuring and compiling): Document
26978 general use of test-wrapper and test-wrapper-env.
26979 * INSTALL: Regenerated.
26981 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26982 (__fma): Do not extract and scale down low bits on after-rounding
26983 systems when result rounded to normal precision would have normal
26985 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26986 (__fmal): Do not extract and scale down low bits on after-rounding
26987 systems when result rounded to normal precision would have normal
26989 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26990 (__fmal): Do not extract and scale down low bits on after-rounding
26991 systems when result rounded to normal precision would have normal
26993 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26995 (fma_test): Add more tests.
26996 (fma_test_towardzero): Likewise.
26997 (fma_test_downward): Likewise.
26998 (fma_test_upward): Likewise.
27000 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27002 * sysdeps/i386/tininess.h: Renamed to ...
27003 * sysdeps/x86/tininess.h: This.
27004 * sysdeps/x86_64/tininess.h: Removed.
27006 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27008 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27009 input. Use $(build-program-cmd).
27010 ($(objpfx)tst-array1-static.out): Likewise.
27011 ($(objpfx)tst-array2.out): Likewise.
27012 ($(objpfx)tst-array3.out): Likewise.
27013 ($(objpfx)tst-array4.out): Likewise.
27014 ($(objpfx)tst-array5.out): Likewise.
27015 ($(objpfx)tst-array5-static.out): Likewise.
27017 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27019 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27022 * nss/nsswitch.h (nss_interface_function): Provide new
27023 macro for use with NSS functions.
27024 * grp/initgroups.c: Use new macro.
27025 * nss/getXXbyYY.c: Likewise.
27026 * nss/getXXbyYY_r.c: Likewise.
27027 * nss/getXXent.c: Likewise.
27028 * nss/getXXent_r.c: Likewise.
27029 * sysdeps/posix/getaddrinfo.c: Likewise.
27031 2012-10-30 Andreas Jaeger <aj@suse.de>
27033 * po/ru.po: Update Russion translation from translation project.
27035 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27040 result and shift together with sticky bit instead of replicating
27041 round-to-nearest rounding.
27042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27043 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27044 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27045 missing underflow exceptions.
27046 (fma_test_towardzero): Add more tests.
27047 (fma_test_downward): Likewise.
27048 (fma_test_upward): Likewise.
27051 * sysdeps/generic/tininess.h: New file.
27052 * sysdeps/i386/tininess.h: Likewise.
27053 * sysdeps/sh/tininess.h: Likewise.
27054 * sysdeps/x86_64/tininess.h: Likewise.
27055 * stdlib/tst-strtod-underflow.c: Likewise.
27056 * stdlib/tst-tininess.c: Likewise.
27057 * stdlib/strtod_l.c: Include <tininess.h>.
27058 (round_and_return): Do not set errno for exact underflow cases.
27059 Force an underflow exception when setting errno for underflow.
27060 Determine underflow based on rounding to normal precision if
27061 TININESS_AFTER_ROUNDING.
27062 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27063 ERANGE for exact underflow cases.
27064 * stdlib/Makefile (tests): Add tst-tininess and
27065 tst-strtod-underflow.
27066 ($(objpfx)tst-tininess): Use $(link-libm).
27067 ($(objpfx)tst-strtod-underflow): Likewise.
27069 2012-10-30 Andreas Jaeger <aj@suse.de>
27072 * elf/Makefile (tests): Remove conditional for have-initfini-array
27073 since this is now always required and the variable does not exist
27075 (tests-static): Likewise.
27076 (modules-names): Likewise.
27078 * po/eo.po: Add Esperanto translation from translation project.
27080 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27081 merged with constructor/destructor.
27082 (init_array): Likewise.
27083 * elf/tst-array2dep.c (fini_array): Likewise.
27084 (init_array): Likewise.
27086 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27088 * manual/message.texi: Delete @cartouche tags.
27090 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27092 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27094 * sysdeps/mach/hurd/fsync.c: Likewise.
27096 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27097 [_POSIX_REALTIME_SIGNALS]: Change condition to
27098 [_POSIX_REALTIME_SIGNALS > 0].
27100 2012-10-27 Andreas Jaeger <aj@suse.de>
27102 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27103 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27105 [__WORDSIZE != 64]: Likewise.
27107 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27109 * iconvdata/tst-table.sh: Remove ${SHELL}.
27110 * iconvdata/tst-tables.sh: Likewise.
27112 2012-10-25 David S. Miller <davem@davemloft.net>
27114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27115 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27118 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27120 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27121 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27122 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27125 2012-10-25 Roland McGrath <roland@hack.frob.com>
27127 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27128 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27131 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27132 Jim Blandy <jimb@codesourcery.com>
27134 * scripts/cross-test-ssh.sh: New file.
27135 * manual/install.texi (Configuring and compiling): Document use of
27137 * INSTALL: Regenerated.
27139 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27141 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27144 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27146 * Makeconfig (run-program-prefix): Fix comment.
27148 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27149 Jim Blandy <jimb@codesourcery.com>
27151 * Makeconfig (test-wrapper): New variable,
27152 (test-wrapper-env): Likewise.
27153 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27154 (run-built-tests): Define to yes.
27155 (run-program-prefix): Use $(test-wrapper).
27156 (built-program-cmd): Likewise.
27157 * Rules (make-test-out): Use $(test-wrapper-env) and
27158 $(host-built-program-cmd).
27159 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27160 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27162 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27163 $(test-wrapper-env) to tst-rtld-load-self.sh.
27164 ($(objpfx)order2.out): Use $(test-wrapper).
27165 ($(objpfx)tst-initorder.out): Likewise.
27166 ($(objpfx)tst-initorder2.out): Likewise.
27167 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27168 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27169 (test_wrapper_env): New variable. Use it to run ld.so.
27170 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27171 Use it to run ld.so.
27172 (test_wrapper_env): Likewise.
27173 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27174 $(test-wrapper) to run-iconv-test.sh.
27175 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27176 (ICONV): Use $test_wrapper.
27177 * posix/Makefile ($(objpfx)globtest.out): Pass
27178 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27179 globtest.sh, not $(run-program-prefix).
27180 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27181 (test_wrapper): Likewise.
27182 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27183 set together with run_via_rtld_prefix.
27184 (run_program_prefix): Define in terms of test_wrapper and
27185 run_via_rtld_prefix.
27187 2012-10-24 Roland McGrath <roland@hack.frob.com>
27189 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27190 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27194 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27195 Declare __clock_getres, __clock_gettime, __clock_settime,
27196 __clock_nanosleep, and __clock_getcpuclockid.
27197 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27198 Remove librt_hidden_def (clock_gettime).
27199 * sysdeps/unix/clock_gettime.c: Likewise.
27200 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27201 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27202 * rt/clock_getres.c: Define __clock_getres as an alias.
27203 * sysdeps/posix/clock_getres.c: Likewise.
27204 * rt/clock_settime.c: Define __clock_settime as an alias.
27205 * sysdeps/unix/clock_settime.c: Likewise.
27206 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27207 * sysdeps/unix/clock_nanosleep.c: Likewise.
27208 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27209 * rt/clock-compat.c: New file.
27210 * rt/Makefile (librt-routines): Add clock-compat and move
27211 $(clock-routines) to ...
27212 (routines): ... here, new variable.
27213 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27214 Don't add get_clockfreq here.
27215 * rt/Versions (libc: GLIBC_2.17): New version set.
27216 Add clock_* symbols here.
27217 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27218 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27219 (GLIBC_2.17): Add clock_* symbols.
27220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27222 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27231 * NEWS: Mention the move.
27233 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27234 Use __open, __read, __close rather than their public counterparts.
27235 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27236 (__get_clockfreq_via_cpuinfo): Likewise.
27237 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27238 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27240 * config.h.in (HAVE_IFUNC): New #undef.
27241 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27243 * configure: Regenerated.
27245 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27247 * configure.in: Move READELF check to start of file.
27248 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27249 libc_cv_asm_gnu_indirect_function in the process.
27250 * configure: Regenerated.
27252 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27254 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27255 send the output to /dev/null.
27256 (libc_cv_cc_with_libunwind): Likewise.
27257 (libc_cv_as_noexecstack): Likewise.
27258 * configure: Regenerate.
27260 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27262 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27264 * posix/globtest.sh (TMPDIR): Do not set.
27265 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27266 (testout): Likewise.
27268 2012-10-24 Andreas Jaeger <aj@suse.de>
27270 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27271 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27272 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27273 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27274 posix_fadvise64, posix_fallocate64.
27276 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27277 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27278 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27280 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27282 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27285 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27286 <bits/fcntl-linux.h>.
27287 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27290 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27291 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27292 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27293 [__WORDSIZE != 64]: Likewise.
27295 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27297 * Makeconfig (run-built-tests): New variable.
27298 * Rules [$(cross-compiling) = yes]: Change condition to
27299 [$(run-built-tests) = no].
27300 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27301 to [$(run-built-tests) = yes].
27302 * elf/Makefile [$(cross-compiling) = no]: Likewise
27303 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27304 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27305 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27306 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27307 * io/Makefile [$(cross-compiling) = no]: Likewise.
27308 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27309 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27310 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27311 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27312 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27313 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27314 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27315 * string/Makefile [$(cross-compiling) = no]: Likewise.
27317 * posix/Makefile ($(objpfx)globtest.out): Pass
27318 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27319 $(rtld-installed-name).
27320 * posix/globtest.sh (elf_objpfx): Remove variable.
27321 (rtld_installed_name): Likewise.
27322 (library_path): Likewise.
27323 (run_program_prefix): New variable. Use for running globtest
27326 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27327 Joseph Myers <joseph@codesourcery.com>
27329 * Makeconfig (host-built-program-cmd): New variable.
27330 * elf/Makefile (tst-stackguard1-ARGS): Use
27331 $(host-built-program-cmd).
27332 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27333 (tst-spawn-ARGS): Likewise.
27334 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27336 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27337 Jim Blandy <jimb@codesourcery.com>
27339 * Makeconfig (run-via-rtld-prefix): New variable.
27340 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27341 (built-program-cmd): Likewise.
27343 2012-10-22 Andreas Jaeger <aj@suse.de>
27345 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27346 __O_RSYNC if it exists, otherwise to O_SYNC.
27348 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27349 Joseph Myers <joseph@codesourcery.com>
27351 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27353 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27355 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27358 2012-10-22 Andreas Jaeger <aj@suse.de>
27360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27362 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27365 bits/fcntl-linux.h.
27367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27368 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27370 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27375 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27376 Joseph Myers <joseph@codesourcery.com>
27378 * config.make.in (NM): New variable.
27380 2012-10-21 Andreas Jaeger <aj@suse.de>
27382 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27383 definitions and declarations that are provided by
27384 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27386 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27389 * elf/Makefile (tests-static): Add tst-leaks1-static.
27390 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27391 ($(objpfx)tst-leaks1-static): New rule.
27392 ($(objpfx)tst-leaks1-static-mem): Likewise.
27393 (tst-leaks1-static-ENV): New macro.
27394 * elf/dl-open.c (dl_open_worker): Check the main application
27395 only if SHARED is defined.
27396 * elf/tst-leaks1-static.c: New file.
27398 2012-10-20 Andreas Jaeger <aj@suse.de>
27400 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27401 generic values for Linux.
27402 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27403 and declarations that are provided by <bits/fcntl-linux.h> and
27404 include <bits/fcntl-linux.h>.
27405 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27408 2012-10-20 Roland McGrath <roland@hack.frob.com>
27410 * io/fcntl.h: Move include of <bits/types.h> to the top and
27411 include it unconditionally.
27413 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27415 * wcsmbs/Makefile (tests-ifunc): New variable.
27416 (tests): Add $(tests-ifunc).
27417 * wcsmbs/test-wcschr-ifunc.c: New file.
27418 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27419 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27420 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27421 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27422 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27424 * string/Makefile (tests-ifunc): New variable.
27425 (tests): Add $(tests-ifunc).
27426 * string/test-memccpy.c (TEST_NAME): New macro.
27427 * string/test-memchr.c (TEST_NAME): Likewise.
27428 * string/test-memcmp.c (TEST_NAME): Likewise.
27429 * string/test-memcpy.c (TEST_NAME): Likewise.
27430 * string/test-memmem.c (TEST_NAME): Likewise.
27431 * string/test-memmove.c (TEST_NAME): Likewise.
27432 * string/test-memset.c (TEST_NAME): Likewise.
27433 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27434 * string/test-stpcpy.c (TEST_NAME): Likewise.
27435 * string/test-stpncpy.c (TEST_NAME): Likewise.
27436 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27437 * string/test-strcasestr.c (TEST_NAME): Likewise.
27438 * string/test-strcat.c (TEST_NAME): Likewise.
27439 * string/test-strchr.c (TEST_NAME): Likewise.
27440 * string/test-strcmp.c(TEST_NAME): Likewise.
27441 * string/test-strcpy.c (TEST_NAME): Likewise.
27442 * string/test-strcspn.c (TEST_NAME): Likewise.
27443 * string/test-strlen.c (TEST_NAME): Likewise.
27444 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27445 * string/test-strncmp.c (TEST_NAME): Likewise.
27446 * string/test-strncpy.c (TEST_NAME): Likewise.
27447 * string/test-strnlen.c (TEST_NAME): Likewise.
27448 * string/test-strpbrk.c (TEST_NAME): Likewise.
27449 * string/test-strrchr.c (TEST_NAME): Likewise.
27450 * string/test-strspn.c (TEST_NAME): Likewise.
27451 * string/test-strstr.c (TEST_NAME): Likewise.
27452 * string/test-bcopy-ifunc.c: New file.
27453 * string/test-bzero-ifunc.c: Likewise.
27454 * string/test-memccpy-ifunc.c: Likewise.
27455 * string/test-memchr-ifunc.c: Likewise.
27456 * string/test-memcmp-ifunc.c: Likewise.
27457 * string/test-memcpy-ifunc.c: Likewise.
27458 * string/test-memmem-ifunc.c: Likewise.
27459 * string/test-memmove-ifunc.c: Likewise.
27460 * string/test-mempcpy-ifunc.c: Likewise.
27461 * string/test-memset-ifunc.c: Likewise.
27462 * string/test-rawmemchr-ifunc.c: Likewise.
27463 * string/test-stpcpy-ifunc.c: Likewise.
27464 * string/test-stpncpy-ifunc.c: Likewise.
27465 * string/test-strcasecmp-ifunc.c: Likewise.
27466 * string/test-strcasestr-ifunc.c: Likewise.
27467 * string/test-strcat-ifunc.c: Likewise.
27468 * string/test-strchr-ifunc.c: Likewise.
27469 * string/test-strchrnul-ifunc.c: Likewise.
27470 * string/test-strcmp-ifunc.c: Likewise.
27471 * string/test-strcpy-ifunc.c: Likewise.
27472 * string/test-strcspn-ifunc.c: Likewise.
27473 * string/test-strlen-ifunc.c: Likewise.
27474 * string/test-strncasecmp-ifunc.c: Likewise.
27475 * string/test-strncat-ifunc.c: Likewise.
27476 * string/test-strncmp-ifunc.c: Likewise.
27477 * string/test-strncpy-ifunc.c: Likewise.
27478 * string/test-strnlen-ifunc.c: Likewise.
27479 * string/test-strpbrk-ifunc.c: Likewise.
27480 * string/test-strrchr-ifunc.c: Likewise.
27481 * string/test-strspn-ifunc.c: Likewise.
27482 * string/test-strstr-ifunc.c: Likewise.
27484 * debug/Makefile (tests-ifunc): New variable.
27485 (tests): Add $(tests-ifunc).
27486 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27487 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27488 * debug/test-stpcpy_chk-ifunc.c: New file.
27489 * debug/test-strcpy_chk-ifunc.c: Likewise.
27491 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27494 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27495 header is not read in.
27497 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27499 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27500 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27501 directly. Pass built executable to script as
27502 $(built-program-cmd).
27503 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27504 $testprogram without using LD_LIBRARY_PATH and $ldso.
27506 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27507 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27508 $(rtld-installed-name).
27509 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27510 (rtld_installed_name): Likewise.
27511 (library_path): Likewise.
27512 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27513 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27514 $(run-program-prefix) to tst-tables.sh.
27515 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27516 it to run tst-table-from and tst-table-to.
27517 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27518 Pass it to tst-table.sh.
27519 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27520 $(run-program-prefix) to tst-gettext.sh.
27521 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27523 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27525 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27526 to run tst-gettext.
27527 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27528 to run tst-gettext2.
27529 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27530 to run tst-translit.
27531 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27532 $(run-program-prefix) to tst-mtrace.sh.
27533 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27535 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27536 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27537 $(rtld-installed-name).
27538 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27539 (rtld_installed_name): Likewise.
27540 (run_program_prefix): New variable. Use it to run wordexp-test.
27542 * Makeconfig (ARCH): Remove all definitions.
27543 (machine): Likewise.
27544 [ARCH]: Remove conditional code.
27545 [!objdir]: Give error.
27546 [!objdir] (objpfx): Remove.
27547 [!objdir] (common-objpfx): Likewise.
27548 [!objdir] (common-objdir): Likewise.
27549 * configure.in (config_makefile): Remove. Hardcode Makefile in
27550 AC_CONFIG_FILES call.
27551 * configure: Regenerated.
27554 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27556 (testout): Likewise.
27558 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27559 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27560 $(rtld-installed-name).
27561 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27562 (rtld_installed_name): Likwise.
27563 (runit): Remove function.
27564 (run_getconf): New variable, Use it for running getconf binary.
27566 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27569 * string/test-memmem.c (check_result): New function.
27570 (do_one_test): Use it.
27571 (check1): New function.
27572 (test_main): Use it.
27574 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27576 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27578 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27580 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27581 (_G_LSEEK64): Likewise.
27582 (_G_MMAP64): Likewise.
27583 (_G_FSTAT64): Likewise.
27584 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27585 (_G_LSEEK64): Likewise.
27586 (_G_MMAP64): Likewise.
27587 (_G_FSTAT64): Likewise.
27588 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27589 unconditional. Call __mmap64 directly.
27590 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27591 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27592 __lseek64 directly.
27593 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27594 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27596 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27597 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27598 __lseek64 directly.
27599 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27600 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27601 __lseek64 directly.
27602 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27603 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27604 __lseek64 directly.
27605 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27606 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27607 __fxstat64 directly.
27608 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27609 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27611 (freopen64) [!_G_OPEN64]: Remove conditional code.
27612 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27614 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27615 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27617 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27618 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27620 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27621 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27623 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27624 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27626 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27627 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27629 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27630 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27632 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27634 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27637 * manual/memory.texi (Malloc Tunable Parameters): Add note
27638 about free list pointers overwriting some perturb bytes.
27639 Wording suggested by Roland McGrath.
27641 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27643 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27644 (lgamma_test): Likewise.
27645 (tgamma_test): Likewise.
27647 2012-10-16 Florian Weimer <fweimer@redhat.com>
27650 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27651 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27653 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27655 * NEWS: Mention BZ #14716.
27656 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27657 when removing AVAILABLE1_USES_J macro.
27659 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27661 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27662 (__bswap_64): __uint64_t for unsigned 64-bit int.
27664 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27666 * include/string.h (memmem): Declare libc hidden alias.
27667 * string/memmem.c (memmem): Define libc hidden alias.
27668 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27669 __read, __close instead of open, read, close.
27671 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27673 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27674 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27676 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27677 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27678 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27680 (__rawmemchr_sse2): Likewise.
27681 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27682 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27683 (__strchr_sse2): Likewise.
27684 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27685 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27686 (__strcasecmp_sse2): Likewise.
27687 (__strncasecmp_sse2): Likewise.
27688 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27689 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27690 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27691 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27692 (__strrchr_sse2): Likewise.
27693 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27695 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27696 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27697 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27698 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27699 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27700 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27701 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27702 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27703 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27704 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27705 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27706 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27707 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27708 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27709 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27710 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27711 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27712 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27713 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27714 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27715 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27716 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27717 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27718 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27719 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27720 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27721 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27722 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27723 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27724 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27726 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27728 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27729 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27730 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27731 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27733 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27735 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27736 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27737 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27738 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27740 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27741 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27742 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27743 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27744 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27745 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27746 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27747 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27748 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27749 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27750 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27751 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27752 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27753 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27754 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27755 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27756 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27757 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27758 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27759 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27760 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27761 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27762 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27763 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27764 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27765 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27766 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27767 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27768 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27769 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27770 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27771 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27772 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27773 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27774 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27775 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27776 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27777 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27778 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27779 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27780 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27782 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27783 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27784 * include/ifunc-impl-list.h: New file.
27785 * misc/ifunc-impl-list.c: Likewise.
27786 * misc/Makefile (routines): Add ifunc-impl-list.
27787 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27788 * string/test-string.h: Include <ifunc-impl-list.h>.
27789 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27790 TEST_NAME]: New variables.
27791 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27793 (test_init): Call __libc_ifunc_impl_list to initialize
27794 func_list if TEST_IFUNC and TEST_NAME are defined.
27796 * string/Makefile (strop-tests): Add bcopy and bzero.
27797 * string/test-bcopy.c: New file.
27798 * string/test-bzero.c: Likewise.
27799 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27801 * string/test-memset.c: Support bzero test if TEST_BZERO is
27803 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27805 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27807 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27810 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27812 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27813 * configure: Regenerated.
27815 * Makeconfig (+link-static-before-libc): Don't include
27816 $(link-static-libc).
27818 * libio/libio.h (_IO_pos_t): Remove.
27820 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27822 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27825 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27827 * crypt/crypt-entry.c: Include fips-private.h.
27828 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27829 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27830 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27831 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27833 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27835 * crypt/crypt-private.h: Include stdbool.h.
27836 (_ufc_setup_salt_r): Return bool.
27837 * crypt/crypt-entry.c: Include errno.h.
27838 (__crypt_r): Return NULL with EINVAL for bad salt.
27839 * crypt/crypt_util.c (bad_for_salt): New.
27840 (_ufc_setup_salt_r): Check that salt is long enough and within
27841 the specified alphabet.
27842 * crypt/badsalttest.c: New file.
27843 * crypt/Makefile (tests): Add it.
27844 ($(objpfx)badsalttest): New.
27846 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27848 * NEWS: Add entry for BZ #14602.
27850 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27852 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27854 * math/libm-test.inc: Update comment listing what functions and
27856 (isgreater_test): New function.
27857 (isgreaterequal_test): Likewise.
27858 (isless_test): Likewise.
27859 (islessequal_test): Likewise.
27860 (islessgreater_test): Likewise.
27861 (isunordered_test): Likewise.
27862 (main): Call the new functions.
27864 2012-10-09 Roland McGrath <roland@hack.frob.com>
27866 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27867 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27868 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27869 * sysdeps/i386/configure: Regenerated.
27870 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27871 * sysdeps/mach/configure: Regenerated.
27872 * sysdeps/mach/hurd/configure: Regenerated.
27873 * sysdeps/powerpc/configure: Regenerated.
27874 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27875 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27876 * sysdeps/s390/s390-32/configure: Regenerated.
27877 * sysdeps/s390/s390-64/configure: Regenerated.
27878 * sysdeps/sh/configure: Regenerated.
27879 * sysdeps/sparc/configure: Regenerated.
27880 * sysdeps/unix/sysv/linux/configure: Regenerated.
27881 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27882 * sysdeps/x86_64/configure: Regenerated.
27884 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27885 defined. Don't check if MAP is NULL.
27887 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27889 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27890 (_G_stat64): Likewise.
27891 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27892 (_G_stat64): Likewise.
27893 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27894 instead of struct _G_stat64.
27895 * libio/fileops.c (mmap_remap_check): Likewise.
27896 (decide_maybe_mmap): Likewise.
27897 (_IO_new_file_seekoff): Likewise.
27898 (_IO_file_stat): Likewise.
27899 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27901 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27902 instead of struct _G_stat64.
27903 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27905 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27908 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27910 (CHECK_EOL): New macro.
27911 (two_way_short_needle): Check beginning of haystack for EOL. Use
27913 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27914 Replace with CHECK_EOL.
27915 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27916 Replace with CHECK_EOL.
27918 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27920 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27922 * math/libm-test.inc: Update comment listing what functions and
27924 (finite_test): New function.
27925 (isinf_test): Likewise.
27926 (isnan_test): Likewise.
27927 (fpclassify_test): Test subnormal input.
27928 (isfinite_test): Likewise.
27929 (isnormal_test): Likewise.
27930 (main): Call the new functions.
27932 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27935 * Makerules (%.dynsym): Force C locale when running
27936 $(OBJDUMP) --dynamic-syms.
27938 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27940 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27943 2012-10-06 David S. Miller <davem@davemloft.net>
27945 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27946 upper 32-bits of the length value in %o2 since we use branch-on-register
27947 tests which consider the entire 64-bit register.
27949 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27951 * string/test-strstr.c (check2): Add a test for page boundary.
27953 2012-10-05 David S. Miller <davem@davemloft.net>
27955 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27956 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27958 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27960 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27961 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27962 and bzero when HWCAP_SPARC_CRYPTO is present.
27964 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27967 * string/test-strstr.c (check2): New function.
27968 (test_main): Call check2.
27970 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27972 * string/bug-strcasestr1.c (do_test): Moved to ...
27973 * string/test-strcasestr.c (check1): Here. New function.
27974 (do_one_test): Break out result checking code into ...
27975 (check_result): This. New function.
27976 (do_one_test): Call check_result.
27977 (test_main): Call check1.
27978 * string/bug-strchr1.c (do_test): Moved to ...
27979 * string/test-strchr.c (check1): Here. New function.
27980 (do_one_test): Break out result checking code into ...
27981 (check_result): This. New function.
27982 (do_one_test): Call check_result.
27983 (test_main): Call check1.
27984 * string/bug-strstr1.c (main): Moved to ...
27985 * string/test-strstr.c (check1): Here. New function.
27986 (do_one_test): Break out result checking code into ...
27987 (check_result): This. New function.
27988 (do_one_test): Call check_result.
27989 (test_main): Call check1.
27990 * string/bug-strcasestr1.c: Removed.
27991 * string/bug-strchr1.c: Likewise.
27992 * string/bug-strstr1.c: Likewise.
27994 * elf/Makefile (dl-routines): Add hwcaps.
27995 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27996 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27997 (_dl_important_hwcaps): Moved to ...
27998 * elf/dl-hwcaps.c: Here. New file.
27999 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28002 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28003 if IS_IN_rtld isn't defined.
28005 * elf/dl-support.c (_dl_sysinfo_map): New.
28006 Include "get-dynamic-info.h" and "setup-vdso.h".
28007 (_dl_non_dynamic_init): Call setup_vdso.
28008 * elf/dynamic-link.h: Don't include <assert.h>.
28009 (elf_get_dynamic_info): Moved to ...
28010 * elf/get-dynamic-info.h: Here. New file.
28011 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28012 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28013 * elf/setup-vdso.h: Here. New file.
28014 * elf/rtld.c: Include "setup-vdso.h".
28015 (dl_main): Call setup_vdso.
28017 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28019 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28020 creal in comment listing functions tested. List finite, isinf,
28021 isnan, isless, islessequal, isgreater, isgreaterequal,
28022 islessgreater, isunordered, lgamma_r and pow10 as functions and
28023 macros not tested. Mention which functions not tested are aliases
28024 for other functions. Fix typo. Note that signs of NaNs are not
28027 * scripts/config.guess: Update from config.git.
28028 * scripts/config.sub: Likewise.
28030 2012-10-04 Roland McGrath <roland@hack.frob.com>
28032 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28033 * misc/madvise.c (madvise): Renamed to __madvise.
28034 Make madvise a weak alias.
28035 * include/sys/mman.h: Declare __madvise.
28036 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28037 * sysdeps/unix/syscalls.list
28038 (madvise): Make __madvise the strong name, and madvise a weak alias.
28039 * sysdeps/unix/sysv/linux/syscalls.list
28040 (madvise, mmap): Remove redundant entries.
28041 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28042 * malloc/malloc.c (mtrim): Likewise.
28043 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28045 2012-10-03 Roland McGrath <roland@hack.frob.com>
28047 * sysdeps/mach/hurd/dl-cache.c: File removed.
28048 * config.h.in (USE_LDCONFIG): New #undef.
28049 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28050 * configure: Regenerated.
28051 * elf/Makefile (dl-routines): Add dl-cache only under
28052 [$(use-ldconfig) = yes].
28053 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28054 cache on [USE_LDCONFIG].
28055 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28057 * elf/rtld.c (dl_main): Likewise.
28059 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28061 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28062 _SC_LEVEL4_CACHE_LINESIZE.
28064 2012-10-03 Roland McGrath <roland@hack.frob.com>
28066 * sysdeps/unix/bsd/confstr.h: File removed.
28068 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28070 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28073 2012-10-02 Roland McGrath <roland@hack.frob.com>
28075 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28076 Make 'mapoff' field ElfW(Off) rather than off_t.
28078 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28080 * nscd/Makefile: Remove nscd-cflags and all its users.
28081 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28082 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28085 * malloc.c (malloc_printerr): Clarify error message.
28087 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28091 Set bit_FMA_Usable if FMA is supported.
28092 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28094 (bit_FMA4_Usable): Updated.
28095 (index_FMA_Usable): New macro.
28096 (CPUID_FMA): Likewise
28097 (HAS_FMA): Defined with bit_FMA_Usable.
28099 2012-10-01 Roland McGrath <roland@hack.frob.com>
28101 * bits/types.h (__swblk_t): Type removed.
28102 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28103 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28104 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28105 (__SWBLK_T_TYPE): Likewise.
28106 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28107 (__SWBLK_T_TYPE): Likewise.
28108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28109 (__SWBLK_T_TYPE): Likewise.
28110 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28111 (__SWBLK_T_TYPE): Likewise.
28113 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28114 Honza Horak <hhorak@redhat.com>
28116 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28117 (xdr_mapname): Use YPMAXMAP as maxsize.
28118 (xdr_peername): Use YPMAXPEER as maxsize.
28119 (xdr_keydat): Use YPAXRECORD as maxsize.
28120 (xdr_valdat): Use YPMAXRECORD as maxsize.
28122 2012-10-01 Roland McGrath <roland@hack.frob.com>
28124 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28126 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28127 * csu/init-first.c: ... here.
28128 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28129 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28130 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28131 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28132 * sysdeps/i386/init-first.c: File removed.
28133 * sysdeps/sh/init-first.c: File removed.
28135 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28139 if x * y might underflow to zero and z is zero.
28140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28141 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28142 * math/libm-test.inc (min_subnorm_value): New variable.
28143 (fma_test): Add more tests.
28144 (fma_test_towardzero): Likewise.
28145 (fma_test_downward): Likewise
28146 (fma_test_upward): Likewise.
28147 (initialize): Set min_subnorm_value.
28149 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28155 mode for addition resulting in exact zero.
28156 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28157 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28159 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28160 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28161 * math/libm-test.inc (fma_test): Add more tests.
28162 (fma_test_towardzero): New function.
28163 (fma_test_downward): Likewise.
28164 (fma_test_upward): Likewise.
28165 (main): Call the new functions.
28167 2012-09-28 David S. Miller <davem@davemloft.net>
28169 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28171 2012-09-28 Roland McGrath <roland@hack.frob.com>
28173 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28174 instead of SIGALRM.
28176 * sysdeps/gnu/_G_config.h: Moved to ...
28177 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28178 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28179 * sysdeps/generic/_G_config.h: ... here.
28181 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28183 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28185 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28186 Conditionalize target on [libnss_test1.so-version].
28188 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28190 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28191 (elfobjdir): Move out of conditionals.
28193 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28194 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28195 (__nss_lookup_function): Conditionalize label remove_from_tree on
28196 [!DO_STATIC_NSS || SHARED], matching its only use.
28198 2012-09-28 David S. Miller <davem@davemloft.net>
28200 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28201 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28203 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28205 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28206 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28207 when HWCAP_SPARC_CRYPTO is present.
28209 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28211 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28213 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28216 * stdio-common/vfprintf.c (process_string_arg): Revert
28219 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28221 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28223 * stdio-common/tst-sprintf.c: Include <locale.h>
28224 (main): Test sprintf's handling of incomplete multibyte
28227 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28229 * elf/dl-runtime.c (VERSYMIDX): Removed.
28230 * elf/dl-version.c (VERSYMIDX): Likewise.
28231 * elf/do-rel.h (VERSYMIDX): Likewise.
28232 (VALIDX): Likewise.
28233 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28234 * elf/rtld.c (VALIDX): Likewise.
28235 (ADDRIDX): Likewise.
28236 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28237 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28238 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28239 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28240 (VALIDX): Likewise.
28241 (ADDRIDX): Likewise.
28243 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28245 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28247 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28250 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28252 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28253 addresses are in the same scope as 192.0.2/24.
28254 * posix/gai.conf: Document new scope table defaults.
28256 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28259 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28260 for ftell. Compute offsets from write pointers instead.
28261 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28263 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28266 * libio/Makefile (tests): New test case tst-fseek.
28267 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28268 combination works in wide mode.
28269 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28270 state when the external buffer state changes.
28272 2012-09-27 David S. Miller <davem@davemloft.net>
28275 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28276 pass reloc->r_addend in as the 'high' argument to
28277 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28281 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28283 * rt/tst-aio2.c: Include <pthread.h>.
28284 * rt/tst-aio3.c: Likewise.
28286 2012-09-27 Steve Ellcey <sellcey@mips.com>
28288 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28290 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28292 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28293 contents on [SHARED].
28295 2012-09-26 Marek Polacek <polacek@redhat.com>
28299 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28300 for C++ and GCC <4.3 as well as for non GCC compilers.
28302 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28306 2012-09-25 Roland McGrath <roland@hack.frob.com>
28308 * Makefile.in (all, install): Declare with .PHONY.
28309 Reported by Michael Hope <michael.hope@linaro.org>.
28311 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28313 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28314 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28316 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28318 (sydep_routines): Add the new and the internal functions.
28319 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28320 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28322 (GLIBC_2.17): Add the new function.
28323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28324 (GLIBC_2.17): Likewise.
28325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28326 (GLIBC_2.17): Likewise.
28327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28328 (GLIBC_2.17): Likewise.
28329 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28331 2012-09-25 Alan Modra <amodra@gmail.com>
28333 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28334 Add release barrier before setting once_control to say
28335 initialisation is done. Add hints on lwarx. Use macro in
28337 (clear_once_control): Add release barrier.
28339 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28342 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28344 * math/s_clog10.c (__clog10): Likewise.
28345 * math/s_clog10f.c (__clog10f): Likewise.
28346 * math/s_clog10l.c (__clog10l): Likewise.
28347 * math/s_clogf.c (__clogf): Likewise.
28348 * math/s_clogl.c (__clogl): Likewise.
28349 * math/Makefile (libm-calls): Add x2y2m1.
28350 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28351 (__x2y2m1): Likewise.
28352 (__x2y2m1l): Likewise.
28353 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28354 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28355 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28356 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28357 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28358 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28359 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28360 * sysdeps/i386/fpu/libm-test-ulps: Update.
28361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28364 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28365 int as type of variable DEPTH.
28366 (glob): Use size_t instead of int as type of variables NEWCOUNT
28369 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28371 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28372 Add s_sincosf-sse2.
28373 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28374 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28375 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28376 macros for using routine as __sincosf_ia32.
28377 Use macro for function declaration and weak_alias.
28378 * sysdeps/i386/fpu/libm-test-ulps: Update.
28380 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28383 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28384 subnormal argument.
28385 * math/s_cexpf.c (__cexpf): Likewise.
28386 * math/s_csinf.c (__csinf): Likewise.
28387 * math/s_csinhf.c (__csinhf): Likewise.
28388 * math/s_ctanf.c (__ctanf): Likewise.
28389 * math/s_ctanhf.c (__ctanhf): Likewise.
28390 * math/s_ccosh.c (__ccoshf): Likewise.
28391 * math/s_cexp.c (__cexpl): Likewise.
28392 * math/s_csin.c (__csin): Likewise.
28393 * math/s_csinh.c (__csinh): Likewise.
28394 * math/s_ctan.c (__ctan): Likewise.
28395 * math/s_ctanh.c (ctanh): Likewise.
28396 * math/s_ccoshl.c (__ccoshl): Likewise.
28397 * math/s_cexpl.c (__cexpl): Likewise.
28398 * math/s_csinl.c (__csinl): Likewise.
28399 * math/s_csinhl.c (__csinhl): Likewise.
28400 * math/s_ctanl.c (__ctanl): Likewise.
28401 * math/s_ctanhl.c (__ctanhl): Likewise.
28403 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28405 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28406 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28407 (_IO_off_t): Define to __off_t, not _G_off_t.
28408 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28409 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28410 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28411 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28412 type of __dummy and __dummy2 fields.
28413 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28414 (_G_ssize_t): Likewise.
28415 (_G_off_t): Likewise.
28416 (_G_pid_t): Likewise.
28417 (_G_uid_t): Likewise.
28418 (_G_wchar_t): Likewise.
28419 (_G_wint_t): Likewise.
28420 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28421 (_G_ssize_t): Likewise.
28422 (_G_off_t): Likewise.
28423 (_G_pid_t): Likewise.
28424 (_G_uid_t): Likewise.
28425 (_G_wchar_t): Likewise.
28426 (_G_wint_t): Likewise.
28427 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28428 (_G_ssize_t): Likewise.
28429 (_G_off_t): Likewise.
28430 (_G_pid_t): Likewise.
28431 (_G_uid_t): Likewise.
28432 (_G_wchar_t): Likewise.
28433 (_G_wint_t): Likewise.
28435 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28437 * malloc/arena.c: Include malloc-sysdep.h.
28438 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28439 is sufficient to shrink the heap or an unmap is needed.
28440 * sysdeps/generic/malloc-sysdep.h: New file. Define
28441 new function check_may_shrink_heap.
28442 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28443 new function check_may_shrink_heap.
28445 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28447 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28450 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28452 * catgets/test-gencat.sh: Add "set -e".
28453 * elf/tst-pathopt.sh: Likewise.
28454 * grp/tst_fgetgrent.sh: Likewise.
28455 * iconvdata/run-iconv-test.sh: Likewise.
28456 * intl/tst-gettext.sh: Likewise.
28457 * intl/tst-gettext2.sh: Likewise.
28458 * intl/tst-gettext4.sh: Likewise.
28459 * intl/tst-gettext6.sh: Likewise.
28460 * intl/tst-translit.sh: Likewise.
28461 * io/ftwtest-sh: Likewise.
28462 * libio/test-freopen.sh: Likewise.
28463 * malloc/tst-mtrace.sh: Likewise.
28464 * posix/globtest.sh: Likewise.
28465 * posix/tst-getconf.sh: Likewise.
28466 * posix/wordexp-tst.sh: Likewise.
28467 * stdio-common/tst-printf.sh: Likewise.
28468 * stdio-common/tst-unbputc.sh: Likewise.
28469 * stdlib/tst-fmtmsg.sh: Likewise.
28470 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28471 * catgets/Makefile: Do not specify -e option when running
28472 testsuite shell scripts.
28473 * elf/Makefile: Likewise.
28474 * grp/Makefile: Likewise.
28475 * iconvdata/Makefile: Likewise.
28476 * intl/Makefile: Likewise.
28477 * io/Makefile: Likewise.
28478 * libio/Makefile: Likewise.
28479 * malloc/Makefile: Likewise.
28480 * posix/Makefile: Likewise.
28481 * stdio-common/Makefile: Likewise.
28482 * stdlib/Makefile: Likewise.
28483 * sysdeps/x86_64/Makefile: Likewise.
28485 * io/ftwtest-sh: Add copyright header.
28486 * posix/globtest.sh: Likewise.
28487 * posix/tst-getconf.sh: Likewise.
28488 * posix/wordexp-tst.sh: Likewise.
28489 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28491 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28494 * Makeconfig (+link): Defined as $(+link-static) if
28495 $(build-shared) isn't yes.
28496 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28498 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28500 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28503 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28504 new chunk size with MALLOC_ALIGN_MASK.
28506 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28509 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28511 (__printf_fphex): Determine rounding using get_rounding_mode and
28513 * stdio-common/tst-printf-round.c (struct hex_test): New
28515 (hex_tests): New variable.
28516 (test_hex_in_one_mode): New function.
28517 (do_test): Also run tests for hex float output.
28519 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28521 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28522 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28523 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28524 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28525 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28526 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28527 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28528 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28530 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28532 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28533 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28534 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28535 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28537 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28540 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28542 * elf/tst-rtld-load-self.sh: New test.
28543 * elf/Makefile: Run it.
28545 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28547 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28548 (tst-writev-ENV): Remove.
28549 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28551 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28553 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28555 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28557 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28559 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28561 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28562 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28563 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28566 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28569 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28570 * config.make.in (have-cpp-asm-debuginfo): Removed.
28571 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28572 * configure: Regenerated.
28574 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28577 * stdio-common/printf_fp.c: Include <stdbool.h> and
28579 (___printf_fp): Determine rounding using get_rounding_mode and
28581 * stdio-common/tst-printf-round.c: New file.
28582 * stdio-common/Makefile (tests): Add tst-printf-round.
28583 (link-libm): New variable.
28584 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28586 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28589 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28590 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28592 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28595 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28597 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28598 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28599 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28600 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28602 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28605 * include/rounding-mode.h: New file.
28606 * sysdeps/generic/get-rounding-mode.h: Likewise.
28607 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28608 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28609 (MAX_VALUE): New macro.
28610 (MIN_VALUE): Likewise.
28611 (overflow_value): New function.
28612 (underflow_value): Likewise.
28613 (round_and_return): Use overflow_value and underflow_value to
28614 determine return values in overflow and underflow cases. Use
28615 round_away to determine rounding depending on rounding mode.
28616 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28617 determine return values in overflow and underflow cases.
28618 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28619 (struct test_results): New structure.
28620 (struct test): Use struct test_results to store expected results
28621 for all rounding modes.
28622 (TEST): Include expected results for all rounding modes.
28623 (test_in_one_mode): New function.
28624 (do_test): Use test_in_one_mode to compute and check results.
28625 Check results for all rounding modes.
28626 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28629 2012-12-09 Allan McRae <allan@archlinux.org>
28631 * sysdeps/i386/fpu/libm-test-ulps: Update
28633 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28635 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28636 (_G_int32_t): Likewise.
28637 (_G_uint16_t): Likewise.
28638 (_G_uint32_t): Likewise.
28639 (_G_HAVE_BOOL): Likewise.
28640 (_G_HAVE_ATEXIT): Likewise.
28641 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28642 (_G_HAVE_IO_FILE_OPEN): Likewise.
28643 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28644 (_G_int32_t): Likewise.
28645 (_G_uint16_t): Likewise.
28646 (_G_uint32_t): Likewise.
28647 (_G_HAVE_BOOL): Likewise.
28648 (_G_HAVE_ATEXIT): Likewise.
28649 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28650 (_G_HAVE_IO_FILE_OPEN): Likewise.
28651 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28652 (_G_int32_t): Likewise.
28653 (_G_uint16_t): Likewise.
28654 (_G_uint32_t): Likewise.
28655 (_G_HAVE_BOOL): Likewise.
28656 (_G_HAVE_ATEXIT): Likewise.
28657 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28658 (_G_HAVE_IO_FILE_OPEN): Likewise.
28660 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28662 * csu/libc-tls.c: Update copyright years.
28664 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28666 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28667 [!_G_USING_THUNKS]: Remove conditional code.
28668 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28669 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28671 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28672 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28673 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28674 (_G_VTABLE_LABEL_PREFIX): Likewise.
28675 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28676 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28677 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28678 (_G_VTABLE_LABEL_PREFIX): Likewise.
28679 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28680 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28681 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28682 (_G_VTABLE_LABEL_PREFIX): Likewise.
28683 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28685 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28687 * libio/Makefile: Include ../Makeconfig before tests.
28688 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28689 only if $(build-shared) is yes.
28691 * iconv/gconv_db.c: Update copyright years.
28693 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28695 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28696 unwind info if defined PIC. Fix special cases description.
28697 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28699 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28701 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28703 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28705 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28707 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28710 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28711 (LDLIBS-tst-chk4): This.
28712 (LDFLAGS-tst-chk5): Renamed to ...
28713 (LDLIBS-tst-chk5): This.
28714 (LDFLAGS-tst-chk6): Renamed to ...
28715 (LDLIBS-tst-chk6): This.
28716 (LDFLAGS-tst-lfschk4): Renamed to ...
28717 (LDLIBS-tst-lfschk4): This.
28718 (LDFLAGS-tst-lfschk5): Renamed to ...
28719 (LDLIBS-tst-lfschk5): This.
28720 (LDFLAGS-tst-lfschk6): Renamed to ...
28721 (LDLIBS-tst-lfschk6): This.
28723 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28724 on $(common-objpfx)soversions.mk.
28726 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28729 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28732 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28734 * malloc/arena.c (arena_get_retry): New function that gets
28735 another arena for the caller to try its request on.
28736 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28737 current arena cannot fulfill the request.
28738 (__libc_memalign): Likewise.
28739 (__libc_memalign): Likewise.
28740 (__libc_pvalloc): Likewise.
28741 (__libc_calloc): Likewise.
28743 2012-09-05 John Tobey <john.tobey@gmail.com>
28746 * manual/arith.texi (Operations on Complex): Fix description
28747 of carg branch cut.
28749 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28752 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28756 * manual/memory.texi (Memory): Make order of menu items match
28759 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28761 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28762 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28763 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28765 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28767 * csu/libc-tls.c (static_dtv): Renamed to ...
28768 (_dl_static_dtv): This. Make it global.
28769 (_dl_initial_dtv): Removed.
28770 (__libc_setup_tls): Updated.
28771 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28772 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28775 2012-09-06 Petr Machata <pmachata@redhat.com>
28777 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28778 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28779 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28780 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28782 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28785 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28786 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28789 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28792 * Makeconfig (link-static-before-libc): Replace $(+prector)
28794 (link-static-after-libc): Replace $(+postctor) with
28796 (link-bounded): Replace $(+prector)/$(+postctor) with
28797 $(+prectorT)/$(+postctorT).
28798 (+prectorT): New macro.
28799 (+postctorT): Likewise.
28801 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28803 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28804 (round_str): Handle values above the maximum for IBM long double
28806 * stdlib/tst-strtod-round.c (tests): Regenerated.
28808 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28810 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28812 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28813 zarch_nohighgprs around the zarch optimized routines.
28814 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28815 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28816 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28819 2012-09-05 David S. Miller <davem@davemloft.net>
28821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28823 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28824 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28825 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28826 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28829 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28831 * malloc/arena.c: Fold copyright years.
28832 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28834 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28836 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28838 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28840 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28842 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28844 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28845 change internal state upon failure.
28847 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28849 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28850 * malloc/memusage.c (mmap): Likewise.
28851 (mmap64, mremap): Likewise. Adjust name in comment.
28853 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28855 * libio/fileops.c: Fix typos in comments.
28856 * libio/oldfileops.c: Likewise.
28857 * libio/wfileops.c: Likewise.
28859 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28862 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28863 (tst-malloc-usable-ENV): Set environment for test case.
28864 * malloc/hooks.c (malloc_check_get_size): New function to get
28866 * malloc/malloc.c (musable): Use malloc_check_get_size.
28867 * malloc/tst-malloc-usable.c: New test case.
28869 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28871 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28873 2012-09-05 Allan McRae <allan@archlinux.org>
28876 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28877 determine header location.
28878 * configure: Regenerated.
28880 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28882 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28884 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28885 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28887 (test): Regenerate.
28889 2012-09-04 David S. Miller <davem@davemloft.net>
28891 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28892 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28893 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28895 2012-09-04 Florian Weimer <fweimer@redhat.com>
28897 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28900 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28902 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28905 * libio/iogetdelim.c: Include <limits.h>.
28906 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28907 + len + 1 would overflow.
28909 2012-09-03 Andreas Jaeger <aj@suse.de>
28911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28912 * sysdeps/i386/fpu/libm-test-ulps: Update.
28914 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28916 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28917 Add s_sinf-sse2, s_conf-sse2.
28919 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28920 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28921 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28922 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28924 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28925 for using routine as __sinf_ia32.
28926 Use macro for function declaration and weak_alias.
28927 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28928 for using routine as __cosf_ia32.
28929 Use macro for function declaration and weak_alias.
28931 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28932 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28934 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28935 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28938 * math/libm-test.inc (cos_test): Add more test cases.
28939 (sin_test): Likewise.
28940 (sincos_test): Likewise.
28942 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28944 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28945 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28947 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28949 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28952 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28953 first element of the GOT.
28954 (elf_machine_load_address): Return the difference between
28955 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28957 2012-09-01 Allan McRae <allan@archlinux.org>
28960 * configure.in (AWK): Require gawk version 3.0 or later.
28961 * configure: Regenerated.
28963 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28965 * sysdeps/unix/sysv/linux/kernel-features.h
28966 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28967 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28968 [__NR_clock_getres]: Make code unconditional.
28969 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28970 (clock_getcpuclockid): Remove code left unreachable by removal of
28972 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28973 code unconditional.
28974 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28975 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28976 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28977 Make code unconditional.
28978 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28979 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28980 * sysdeps/unix/sysv/linux/clock_settime.c
28981 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28983 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28984 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28986 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28989 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28990 scripts/test-installation.pl.
28992 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28993 and $ld_so_version if it is set.
28995 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28998 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28999 failure if reading from procfs failed.
29000 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29002 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29004 * sysdeps/unix/sysv/linux/kernel-features.h
29005 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29006 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29007 Remove conditional code.
29008 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29009 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29010 Remove conditional code.
29011 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29012 * sysdeps/unix/sysv/linux/i386/fxstat.c
29013 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29014 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29015 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29016 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29017 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29018 * sysdeps/unix/sysv/linux/i386/lxstat.c
29019 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29020 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29021 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29022 Remove conditional code.
29023 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29024 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29025 Remove conditional code.
29026 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29027 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29028 <kernel-features.h>.
29029 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29031 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29032 Remove conditional code.
29033 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29034 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29035 Remove conditional.
29037 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29040 * NEWS: Add fixed bug number.
29042 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29045 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29046 underflowing exponent in case of negative sign.
29047 * stdlib/tst-strtod-round-data: Add more tests.
29048 * stdlib/tst-strtod-round.c (tests): Regenerated.
29051 * stdlib/strtod_l.c (NDIG): Remove.
29052 (HEXNDIG): Likewise.
29053 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29054 smallest representable value.
29055 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29056 lie within an exact representation of 1/2 ulp of the result.
29057 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29059 (TENS_P9_IDX): Define unconditionally.
29060 (TENS_P9_SIZE): Likewise.
29061 (TENS_P10_IDX): Likewise.
29062 (TENS_P10_SIZE): Likewise.
29063 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29064 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29065 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29066 entries for 10^2^13 and 10^2^14.
29067 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29068 (TENS_P13_IDX): Define.
29069 (TENS_P13_SIZE): Likewise.
29070 (TENS_P14_IDX): Likewise.
29071 (TENS_P14_SIZE): Likewise.
29072 (_fpioconst_pow10): Change array size to
29073 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29075 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29076 1024]: Add entries for 10^2^13 and 10^2^14.
29077 [LAST_POW10 > _LAST_POW10]: Remove #error.
29078 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29079 (_fpioconst_pow10): Change array size to
29080 FPIOCONST_POW10_ARRAY_SIZE.
29081 * stdlib/gen-fpioconst.c: New file.
29082 * stdlib/gen-tst-strtod-round.c: Likewise.
29083 * stdlib/tst-strtod-round-data: Likewise.
29084 * stdlib/tst-strtod-round.c: Likewise.
29085 * stdlib/Makefile (tests): Add tst-strtod-round.
29088 * stdlib/strtod_l.c: Include <stdint.h>.
29089 (NDEBUG): Do not define.
29090 (round_and_return): Change EXPONENT parameter to type intmax_t.
29091 Rearrange calculations to avoid internal overflow possibilities.
29092 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29093 Rearrange calculations to avoid internal overflow possibilities.
29094 Assert that number fits inside MPNSIZE limbs.
29095 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29096 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29097 calculations and add assertions to avoid internal overflow
29098 possibilities. Add casts to avoid signed/unsigned operations.
29099 * stdlib/tst-strtod-overflow.c: New file.
29100 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29102 2012-08-25 Marek Polacek <polacek@redhat.com>
29104 * time/time.h: Fix some typos in comments.
29106 2012-08-23 Roland McGrath <roland@hack.frob.com>
29108 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29109 * posix/tst-rfc3484-2.c: Likewise.
29110 * posix/tst-rfc3484-3.c: Likewise.
29112 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29114 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29115 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29117 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29119 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29120 #include of fxstatat64.c.
29122 2012-08-22 Roland McGrath <roland@hack.frob.com>
29124 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29125 * shadow/getspent_r.c: Likewise.
29126 * shadow/getspnam.c: Likewise.
29127 * shadow/getspnam_r.c: Likewise.
29128 * gshadow/getsgent.c: Likewise.
29129 * gshadow/getsgent_r.c: Likewise.
29130 * gshadow/getsgnam.c: Likewise.
29131 * gshadow/getsgnam_r.c: Likewise.
29132 * inet/getnetbyad.c: Likewise.
29133 * inet/getnetbyad_r.c: Likewise.
29134 * inet/getnetbynm.c: Likewise.
29135 * inet/getnetbynm_r.c: Likewise.
29136 * inet/getnetent.c: Likewise.
29137 * inet/getnetent_r.c: Likewise.
29138 * inet/getproto.c: Likewise.
29139 * inet/getproto_r.c: Likewise.
29140 * inet/getprtent.c: Likewise.
29141 * inet/getprtent_r.c: Likewise.
29142 * inet/getprtname.c: Likewise.
29143 * inet/getprtname_r.c: Likewise.
29144 * inet/getrpcbyname.c: Likewise.
29145 * inet/getrpcbyname_r.c: Likewise.
29146 * inet/getrpcbynumber.c: Likewise.
29147 * inet/getrpcbynumber_r.c: Likewise.
29148 * inet/getrpcent.c: Likewise.
29149 * inet/getrpcent_r.c: Likewise.
29150 * inet/getaliasent.c: Likewise.
29151 * inet/getaliasent_r.c: Likewise.
29152 * inet/getaliasname.c: Likewise.
29153 * inet/getaliasname_r.c: Likewise.
29154 * nscd/getgrgid_r.c: Likewise.
29155 * nscd/getgrnam_r.c: Likewise.
29156 * nscd/gethstbyad_r.c: Likewise.
29157 * nscd/gethstbynm3_r.c: Likewise.
29158 * nscd/getpwnam_r.c: Likewise.
29159 * nscd/getpwuid_r.c: Likewise.
29160 * nscd/getsrvbynm_r.c: Likewise.
29161 * nscd/getsrvbypt_r.c: Likewise.
29162 * nscd/gai.c: Likewise.
29164 * configure.in (build_nscd): New substituted variable, set
29165 by --disable-build-nscd and defaults to $use_nscd.
29166 * configure: Regenerated.
29167 * config.make.in (build-nscd): New substituted variable.
29168 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29169 Change conditional to require [$(build-nscd) = yes] as well.
29170 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29173 * configure.in (use_nscd): New substituted variable, set by
29174 --disable-nscd. If enabled, define USE_NSCD.
29175 * configure: Regenerated.
29176 * config.h.in: Add USE_NSCD.
29177 * config.make.in (use-nscd): New substituted variable.
29178 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29179 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29180 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29181 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29182 (CFLAGS-getgrnam_r.c): Likewise.
29183 (CFLAGS-initgroups.c): Likewise.
29184 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29185 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29187 * inet/getnetgrent_r.c
29188 (nscd_setnetgrent): New function, broken out of ...
29189 (setnetgrent): ... here. Call it.
29190 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29191 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29192 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29193 * nscd/Makefile (routines, aux): Move definitions after include of
29194 Makeconfig. Conditionalize on [$(use-nscd) != no].
29195 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29196 Conditionalize on [USE_NSCD].
29197 (is_nscd, nscd_init_cb): Likewise.
29198 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29199 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29200 * nss/nss_db/db-init.c: Likewise.
29201 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29203 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29204 (make_request): Use it.
29205 (cache_valid_p): New function.
29206 (__check_pf): Use it.
29207 * NEWS: Add item for --disable-nscd.
29209 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29211 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29212 to support sed >= 4.2.1-20-ga9bf076.
29213 * configure: Regenerated.
29215 2012-08-22 Roland McGrath <roland@hack.frob.com>
29217 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29218 Conditionalize whole body on [IREL].
29220 2012-08-22 Jeff Law <law@redhat.com>
29223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29224 if the family is PF_UNSPEC.
29226 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29228 * Makerules (lib-version): Rename from V.
29229 (install-lib-nosubdir): Change V to lib-version.
29231 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29234 * powerpc32/power6/wcschr.c: New file.
29235 * powerpc32/power6/wcscpy.c: New file.
29236 * powerpc32/power6/wcsrchr.c: New file.
29237 * powerpc64/power6/wcschr.c: New file.
29238 * powerpc64/power6/wcscpy.c: New file.
29239 * powerpc64/power6/wcsrchr.c: New file.
29241 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29243 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29244 (two_way_short_needle): Use it.
29245 * string/strstr.c (AVAILABLE1_USES_J): Define.
29246 * string/strcasestr.c: Likewise.
29248 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29250 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29253 * NEWS: Add an entry.
29254 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29255 define their defaults.
29256 (two_way_short_needle): Detect end-of-string on-the-fly.
29257 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29258 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29259 * string/bug-strcasestr1.c: New test.
29260 * string/Makefile: Run it.
29262 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29265 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29266 the first character.
29268 2012-08-21 Roland McGrath <roland@hack.frob.com>
29270 * csu/elf-init.c (__libc_csu_irel): Function removed.
29271 * csu/libc-start.c (apply_irel): New function.
29272 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29274 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29276 * sysdeps/unix/sysv/linux/kernel-features.h
29277 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29278 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29279 <kernel-features.h>.
29280 [__NR_fadvise64_64]: Make code unconditional.
29281 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29282 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29283 !__NR_fadvise64_64)]: Likewise.
29284 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29285 !__NR_fadvise64_64))]: Likewise.
29286 [__NR_fadvise64]: Make code unconditional.
29287 [!__NR_fadvise64]: Remove conditional code.
29288 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29289 <kernel-features.h>.
29290 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29292 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29295 not include <kernel-features.h>.
29296 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29298 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29300 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29301 include <kernel-features.h>.
29302 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29304 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29307 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29309 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29310 slight instruction rearrangements per scrollpipe analysis.
29311 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29313 2012-08-20 Roland McGrath <roland@hack.frob.com>
29315 * manual/syslog.texi (syslog; vsyslog, closelog):
29316 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29317 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29319 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29320 DSOCAPS to match condition on defining it.
29322 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29324 * sysdeps/unix/sysv/linux/kernel-features.h
29325 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29327 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29328 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29330 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29331 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29333 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29334 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29336 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29337 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29339 * sysdeps/unix/sysv/linux/kernel-features.h
29340 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29341 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29343 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29344 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29345 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29346 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29347 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29348 Make code unconditional.
29349 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29350 (__mmap64) [!__NR_mmap2]: Likewise.
29351 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29352 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29353 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29354 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29355 [__NR_mmap2]: Make code unconditional.
29356 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29357 (__mmap64) [!__NR_mmap2]: Likewise.
29359 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29361 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29363 2012-08-18 Andreas Jaeger <aj@suse.de>
29365 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29367 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29369 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29370 * include/unistd.h (__have_sock_cloexec): Likewise.
29371 (__have_pipe2): Likewise.
29372 (__have_dup3): Likewise.
29374 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29377 * include/unistd.h (__have_pipe2): Change define into an extern int.
29378 (__have_dup3): Likewise.
29379 * socket/have_sock_cloexec.c: Include fcntl.h.
29380 (__have_pipe2): New variable.
29381 (__have_dup3): Likewise.
29383 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29385 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29387 2012-08-17 Marek Polacek <polacek@redhat.com>
29389 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29390 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29392 2012-08-17 Roland McGrath <roland@hack.frob.com>
29394 * configure.in: Add AC_SUBST for sysheaders.
29395 * configure: Regenerated.
29396 * config.make.in (sysheaders): New substituted variable.
29398 * sysdeps/unix/mkfifo.c: Moved ...
29399 * sysdeps/posix/mkfifo.c: ... here.
29400 * sysdeps/unix/mkfifoat.c: Moved ...
29401 * sysdeps/posix/mkfifoat.c: ... here.
29403 * sysdeps/unix/utime.c: Moved ...
29404 * sysdeps/posix/utime.c: ... here.
29406 * sysdeps/unix/time.c: Moved ...
29407 * sysdeps/posix/time.c: ... here.
29408 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29409 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29411 * sysdeps/unix/nice.c: Moved ...
29412 * sysdeps/posix/nice.c: ... here.
29414 * sysdeps/unix/alarm.c: Moved ...
29415 * sysdeps/posix/alarm.c: ... here.
29417 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29419 2012-08-17 Jeff Law <law@redhat.com>
29421 * intl/Makefile (codeset_mo): New variable.
29422 ($(codeset_mo)): New target.
29423 (tst-codeset.out): Depend on that. Remove explicit rule.
29424 (tst-gettext3.out, tst-gettext5.out): Likewise.
29425 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29426 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29427 * intl/tst-codeset.sh: Remove.
29428 * intl/tst-gettext3.sh: Likewise.
29429 * intl/tst-gettext5.sh: Likewise.
29431 2012-08-17 Roland McGrath <roland@hack.frob.com>
29433 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29434 * sysdeps/unix/syscalls.list: ... here.
29436 * sysdeps/posix/getaddrinfo.c
29437 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29438 (gaiconf_init, gaiconf_reload): Use them.
29439 [!_STATBUF_ST_NSEC]
29440 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29441 Define using time_t rather than struct timespec.
29443 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29444 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29446 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29448 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29449 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29452 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29453 __libc_cleanup_push argument.
29455 * bits/param.h: New file.
29456 * misc/sys/param.h: New file.
29457 * include/sys/param.h: New file.
29458 * misc/Makefile (headers): Add bits/param.h.
29459 * sysdeps/generic/sys/param.h: File removed.
29460 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29461 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29462 * sysdeps/mach/hurd/bits/param.h: New file.
29463 * sysdeps/mach/hurd/sys/param.h: File removed.
29465 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29468 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29470 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29471 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29474 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29475 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29476 rather than -D_IO_MTSAFE_IO conditionally.
29477 * stdio-common/Makefile (CPPFLAGS): Likewise.
29478 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29479 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29480 Use $(libio-mtsafe).
29481 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29482 of -D_IO_MTSAFE_IO.
29483 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29484 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29485 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29486 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29487 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29488 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29489 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29490 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29491 (CFLAGS-fread_u_chk.c): Likewise.
29492 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29493 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29494 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29495 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29496 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29497 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29498 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29499 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29500 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29502 * libio/Makefile: Test [$(libc-reentrant) = yes]
29503 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29506 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29507 * sysdeps/pthread/configure: File removed.
29508 * sysdeps/pthread/Makeconfig: New file.
29509 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29510 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29512 2012-08-16 Gary Benson <gbenson@redhat.com>
29514 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29515 unmapping the first object in a namespace.
29517 2012-08-16 Roland McGrath <roland@hack.frob.com>
29519 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29520 (__internal_setnetgrent): ... this. Add internal_function to
29521 definition. Add libc_hidden_def.
29522 (setnetgrent): Update caller.
29523 (internal_endnetgrent): Renamed to ...
29524 (__internal_endnetgrent): ... this. Add internal_function to
29525 definition. Add libc_hidden_def.
29526 (endnetgrent): Update caller.
29527 (internal_getnetgrent_r): Renamed to ...
29528 (__internal_getnetgrent_r): ... this. Add internal_function to
29529 definition. Add libc_hidden_def.
29530 (__getnetgrent_r): Update caller.
29531 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29533 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29535 * stdlib/longlong.h: Update from GCC.
29537 2012-08-16 Roland McGrath <roland@hack.frob.com>
29539 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29540 on _QL, which is set by umul_ppmm but never used.
29541 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29542 variables, which are set by GMP macros but never used.
29543 * stdio-common/_itowa.c (_itowa): Likewise.
29544 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29545 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29547 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29549 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29550 struct La_sh_regs is not constant.
29551 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29552 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29553 and struct La_sparc64_regs are not constant.
29555 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29557 * sysdeps/unix/sysv/linux/kernel-features.h
29558 (__ASSUME_POSIX_TIMERS): Remove.
29559 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29560 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29561 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29562 Make code unconditional.
29563 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29564 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29565 Make code unconditional.
29566 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29567 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29568 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29569 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29570 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29571 Make code unconditional.
29572 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29573 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29574 (__libc_missing_posix_timers): Remove.
29576 2012-08-15 Roland McGrath <roland@hack.frob.com>
29578 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29579 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29581 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29583 * elf/dl-sym.c: Include <stdlib.h>.
29585 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29586 constants, which avoids warnings in 32-bit builds.
29588 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29589 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29591 * misc/lseek.c: File moved to ...
29592 * io/lseek.c: ... here.
29594 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29596 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29597 shifting LEN more than 31 bits at once.
29599 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29602 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29603 segmentation fault for a case of two empty input strings.
29604 * string/test-strncasecmp.c (check1): Renamed to...
29605 (bz12205): ...this.
29606 (bz14195): Add new testcase for two empty input strings and N > 0.
29607 (test_main): Call new testcase, adapt for renamed function.
29609 2012-08-15 Andreas Jaeger <aj@suse.de>
29612 * crypt/md5test2.c: New test, based on test supplied by Serge
29613 Belyshev <belyshev@depni.sinp.msu.ru>.
29614 * crypt/Makefile (xtests): Add md5test-giant..
29615 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29617 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29620 * crypt/md5.c (md5_process_block): Don't assume the buffer
29621 length is less than 2**32.
29622 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29623 length is less than 2**64.
29625 2012-08-15 Roland McGrath <roland@hack.frob.com>
29627 * string/str-two-way.h: Include <sys/param.h>.
29628 (MAX): Macro removed.
29630 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29631 Move #define and #undef of memmove to just before and after
29632 including <string.h>.
29634 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29635 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29636 and after including <string.h>. Move declarations of
29637 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29638 to before #include "string/memmove.c".
29640 * include/dirent.h: Declare __getdirentries.
29642 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29643 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29645 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29647 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29648 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29649 * sysdeps/i386/configure: Regenerated.
29650 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29651 STABS_CURRENT_FILE, and STABS_FUN.
29652 (END): Remove call to STABS_FUN_END.
29653 (STABS_CURRENT_FILE1): Delete.
29654 (STABS_CURRENT_FILE): Likewise.
29655 (STABS_FUN): Likewise.
29656 (STABS_FUN_END): Likewise.
29657 (STABS_FUN2): Likewise.
29658 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29659 * sysdeps/x86_64/configure: Regenerated.
29661 2012-08-14 Roland McGrath <roland@hack.frob.com>
29663 * elf/dl-open.c: Include <atomic.h>.
29664 * elf/dl-lookup.c: Likewise.
29666 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29668 * sysdeps/unix/sysv/linux/kernel-features.h
29669 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29670 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29672 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29674 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29675 condition on __ASSUME_CLONE_THREAD_FLAGS.
29677 2012-08-14 Andreas Jaeger <aj@suse.de>
29679 * sysdeps/i386/fpu/libm-test-ulps: Update.
29681 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29683 * include/atomic.h (atomic_exchange_and_add): Split into ...
29684 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29687 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29691 2012-08-13 Jeff Law <law@redhat.com>
29693 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29694 null byte in the output string.
29696 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29698 * sysdeps/unix/sysv/linux/kernel-features.h
29699 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29700 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29701 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29702 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29703 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29704 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29705 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29707 2012-08-09 Jeff Law <law@redhat.com>
29710 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29711 When avoid_arena is set, don't retry in the that arena. Pick the
29712 next one, whatever it might be.
29713 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29714 (arena_lock): Pass in new parameter to arena_get2.
29715 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29717 (__libc_malloc): Unify retrying after main arena failure with
29718 __libc_memalign version.
29719 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29721 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29724 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29725 to __redirect_strstr.
29726 (__strstr_sse42): Use typeof __redirect_strstr.
29727 (__strstr_ia32): Likewise.
29728 (__libc_strstr): New prototype.
29729 (strstr): Renamed to ...
29730 (__libc_strstr): This.
29731 (strstr): New strong alias of __libc_strstr.
29732 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29733 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29736 (__libc_time): New prototype.
29737 (time_ifunc): Replace time with __libc_time.
29738 (time): New strong alias and hidden definition of __libc_time.
29739 (__GI_time): Remove strong alias.
29740 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29741 Include <stddef.h>.
29742 (memmove): Redefined to __redirect_memmove.
29743 (__memmove_sse2): Use typeof __redirect_memmove.
29744 (__memmove_ssse3): Likewise.
29745 (__memmove_ssse3_back): Likewise.
29746 (__libc_memmove): New prototype.
29747 (memmove): Renamed to ...
29748 (__libc_memmove): This.
29749 (memmove): New strong alias of __libc_memmove.
29751 2012-08-08 Mark Salter <msalter@redhat.com>
29754 (R_MN10300_TLS_GD): Define.
29755 (R_MN10300_TLS_LD): Likewise.
29756 (R_MN10300_TLS_LDO): Likewise.
29757 (R_MN10300_TLS_GOTIE): Likewise.
29758 (R_MN10300_TLS_IE): Likewise.
29759 (R_MN10300_TLS_LE): Likewise.
29760 (R_MN10300_TLS_DTPMOD): Likewise.
29761 (R_MN10300_TLS_DTPOFF): Likewise.
29762 (R_MN10300_TLS_TPOFF): Likewise.
29763 (R_MN10300_SYM_DIFF): Likewise.
29764 (R_MN10300_ALIGN): Likewise.
29765 (R_MN10300_NUM): Update.
29767 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29769 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29772 2012-08-08 Roland McGrath <roland@hack.frob.com>
29774 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29776 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29777 sysdeps/unix -> sysdeps/posix move.
29778 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29780 2012-08-07 Allan McRae <allan@archlinux.org>
29783 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29784 (SUNOS_CPP): Likewise.
29785 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29787 (open_input): Call CPP using execvp.
29789 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29791 * sysdeps/unix/sysv/linux/kernel-features.h
29792 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29793 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29794 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29795 (__ASSUME_WAITID_SYSCALL): Likewise.
29796 * sysdeps/unix/sysv/linux/dl-execstack.c
29797 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29798 code unconditional.
29799 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29801 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29802 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29803 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29805 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29807 [__ASSUME_WAITID_SYSCALL]: Likewise.
29808 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29810 2012-08-07 Roland McGrath <roland@hack.frob.com>
29812 * sysdeps/unix/closedir.c: Renamed to ...
29813 * sysdeps/posix/closedir.c: ... here.
29814 * sysdeps/unix/dirfd.c: Renamed to ...
29815 * sysdeps/posix/dirfd.c: ... here.
29816 * sysdeps/unix/dirstream.h: Renamed to ...
29817 * sysdeps/posix/dirstream.h: ... here.
29818 * sysdeps/unix/fdopendir.c: Renamed to ...
29819 * sysdeps/posix/fdopendir.c: ... here.
29820 * sysdeps/unix/opendir.c: Renamed to ...
29821 * sysdeps/posix/opendir.c: ... here.
29822 * sysdeps/unix/readdir.c: Renamed to ...
29823 * sysdeps/posix/readdir.c: ... here.
29824 * sysdeps/unix/readdir_r.c: Renamed to ...
29825 * sysdeps/posix/readdir_r.c: ... here.
29826 * sysdeps/unix/rewinddir.c: Renamed to ...
29827 * sysdeps/posix/rewinddir.c: ... here.
29828 * sysdeps/unix/seekdir.c: Renamed to ...
29829 * sysdeps/posix/seekdir.c: ... here.
29830 * sysdeps/unix/telldir.c: Renamed to ...
29831 * sysdeps/posix/telldir.c: ... here.
29832 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29833 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29834 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29835 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29837 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29838 * bits/fcntl.h: ... here.
29840 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29842 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29843 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29844 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29845 (struct flock): Move l_start, l_len to the beginning.
29846 Use __pid_t for l_pid.
29847 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29848 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29849 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29850 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29851 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29852 [__USE_LARGEFILE64] (struct flock64): New type.
29853 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29855 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29856 * bits/dirent.h: ... here.
29858 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29859 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29861 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29863 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29864 Change from 2.6.0 to 2.6.16.
29865 * sysdeps/unix/sysv/linux/configure: Regenerated.
29866 * sysdeps/unix/sysv/linux/kernel-features.h
29867 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29868 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29870 (__ASSUME_UTIMES): Likewise.
29871 (__ASSUME_CLONE_STOPPED): Remove.
29872 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29873 architectures, not kernel version.
29874 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29875 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29876 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29877 (__ASSUME_WAITID_SYSCALL): Likewise.
29878 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29879 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29880 * README: State 2.6.16 as minimum Linux kernel version. Do not
29881 refer to older versions.
29883 2012-08-06 Roland McGrath <roland@hack.frob.com>
29885 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29886 Define alphasort64 as an alias.
29887 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29888 Define versionsort64 as an alias.
29889 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29890 Define scandir64 as an alias.
29891 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29892 Define scandirat64 as an alias.
29893 * dirent/alphasort64.c (alphasort64):
29894 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29895 * dirent/versionsort64.c: Likewise.
29896 * dirent/scandir64.c: Likewise.
29897 * dirent/scandirat64.c: Likewise.
29898 * sysdeps/wordsize-64/alphasort.c: File removed.
29899 * sysdeps/wordsize-64/alphasort64.c: File removed.
29900 * sysdeps/wordsize-64/scandir.c: File removed.
29901 * sysdeps/wordsize-64/scandir64.c: File removed.
29902 * sysdeps/wordsize-64/scandirat.c: File removed.
29903 * sysdeps/wordsize-64/scandirat64.c: File removed.
29904 * sysdeps/wordsize-64/versionsort.c: File removed.
29905 * sysdeps/wordsize-64/versionsort64.c: File removed.
29906 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29907 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29908 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29909 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29910 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29911 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29912 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29913 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29915 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29917 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29919 [defined __arch64__ || defined __sparcv9]
29920 (__INO_T_MATCHES_INO64_T): New macro.
29921 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29922 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29923 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29924 * sysdeps/unix/sysv/linux/bits/dirent.h
29925 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29926 (_DIRENT_MATCHES_DIRENT64): New macro.
29928 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29929 Define lockf64 as an alias.
29930 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29931 Define fseeko64 as an alias.
29932 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29933 Define ftello64 as an alias.
29934 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29935 Define _IO_fgetpos64 and fgetpos64 as aliases.
29936 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29937 Define _IO_fsetpos64 and fsetpos64 as aliases.
29938 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29939 Conditionalize body on this.
29940 * libio/fseeko64.c: Likewise.
29941 * libio/ftello64.c: Likewise.
29942 * libio/iofgetpos64.c: Likewise.
29943 * libio/iofsetpos64.c: Likewise.
29944 * sysdeps/wordsize-64/lockf.c: File removed.
29945 * sysdeps/wordsize-64/lockf64.c: File removed.
29946 * sysdeps/wordsize-64/fseeko.c: File removed.
29947 * sysdeps/wordsize-64/fseeko64.c: File removed.
29948 * sysdeps/wordsize-64/ftello.c: File removed.
29949 * sysdeps/wordsize-64/ftello64.c: File removed.
29950 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29951 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29952 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29953 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29954 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29955 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29956 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29957 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29958 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29959 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29960 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29961 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29962 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29963 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29965 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29966 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29967 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29968 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29969 [defined __arch64__ || defined __sparcv9]
29970 (__OFF_T_MATCHES_OFF64_T): New macro.
29971 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29972 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29974 (__OFF_T_MATCHES_OFF64_T): New macro.
29976 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29978 * stdlib/secure-getenv.c (__secure_getenv): Replace
29979 GLIBC_2_16 with GLIBC_2_17.
29981 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29983 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29984 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29986 2012-08-03 David S. Miller <davem@davemloft.net>
29988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29990 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29992 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29994 (__ASSUME_CORRECT_SI_PID): Likewise.
29995 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29996 (__ASSUME_TMPFS_NAME): Likewise.
29997 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29998 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29999 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30000 (HAVE_AUX_SECURE): Make definition unconditional.
30001 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30002 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30004 2012-08-03 Roland McGrath <roland@hack.frob.com>
30006 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30007 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30008 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30009 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30010 __eloop_threshold instead of SYMLOOP_MAX.
30012 * sysdeps/generic/eloop-threshold.h: New file.
30013 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30015 * elf/chroot_canon.c (chroot_canon): Likewise.
30017 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30020 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30021 Change to 2.6.0 everywhere.
30022 * sysdeps/unix/sysv/linux/configure: Regenerated.
30023 * sysdeps/unix/sysv/linux/kernel-features.h
30024 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30025 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30027 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30028 (__ASSUME_FUTEX_REQUEUE): Remove.
30029 (__ASSUME_STATFS64): Define unconditionally.
30030 (__ASSUME_AT_SECURE): Likewise.
30031 (__ASSUME_CORRECT_SI_PID): Likewise.
30032 (__ASSUME_TGKILL): Define without depending on kernel version for
30034 (__ASSUME_UTIMES): Likewise.
30035 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30037 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30038 (__ASSUME_TMPFS_NAME): Likewise.
30039 * README: Update reference to Linux kernel versions.
30041 2012-08-02 Marek Polacek <polacek@redhat.com>
30044 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30045 libc_cv_asm_type_prefix with %.
30046 * configure: Regenerated.
30047 * include/libc-symbols.h: Remove comment about
30048 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30049 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30050 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30051 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30052 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30053 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30054 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30055 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30056 * elf/tst-unique2mod1.c: Likewise.
30057 * elf/tst-unique1mod2.c: Likewise.
30058 * elf/tst-unique1mod1.c: Likewise.
30059 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30060 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30061 Replace ASM_TYPE_DIRECTIVE with .type.
30062 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30063 * sysdeps/i386/sysdep.h: Likewise.
30064 * sysdeps/x86_64/sysdep.h: Likewise.
30065 * sysdeps/sh/sysdep.h: Likewise.
30066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30067 Do not define ASM_TYPE_DIRECTIVE.
30068 * sysdeps/powerpc/sysdep.h: Likewise.
30069 * sysdeps/powerpc/powerpc32/sysdep.h:
30070 Replace ASM_TYPE_DIRECTIVE with .type.
30071 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30072 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30073 * sysdeps/i386/fpu/e_powf.S: Likewise.
30074 * sysdeps/i386/fpu/e_expl.S: Likewise.
30075 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30076 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30077 * sysdeps/i386/fpu/e_pow.S: Likewise.
30078 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30079 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30080 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30081 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30082 * sysdeps/i386/fpu/e_log2.S: Likewise.
30083 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30084 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30085 * sysdeps/i386/fpu/e_powl.S: Likewise.
30086 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30087 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30088 * sysdeps/i386/fpu/e_logl.S: Likewise.
30089 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30090 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30091 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30092 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30093 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30094 * sysdeps/i386/fpu/e_log.S: Likewise.
30095 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30096 * sysdeps/i386/fpu/e_logf.S: Likewise.
30097 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30098 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30099 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30100 * sysdeps/i386/fpu/e_log10.S: Likewise.
30101 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30102 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30103 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30104 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30105 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30106 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30107 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30108 * sysdeps/i386/i686/strtok.S: Likewise.
30109 * sysdeps/i386/i386-mcount.S: Likewise.
30110 * sysdeps/i386/strtok.S: Likewise.
30111 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30112 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30113 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30114 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30115 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30116 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30117 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30118 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30119 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30120 * sysdeps/x86_64/_mcount.S: Likewise.
30121 * sysdeps/x86_64/strtok.S: Likewise.
30122 * sysdeps/sh/_mcount.S: Likewise.
30124 2012-08-01 Roland McGrath <roland@hack.frob.com>
30126 * libio/iofopen.c: Include <fcntl.h>.
30127 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30128 (_IO_fopen64, fopen64): Define as aliases.
30129 * libio/iofopen64.c: Include <fcntl.h>.
30130 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30131 Conditionalize body on this.
30132 * sysdeps/wordsize-64/iofopen.c: File removed.
30133 * sysdeps/wordsize-64/iofopen64.c: File removed.
30135 2012-08-01 Marek Polacek <polacek@redhat.com>
30137 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30138 Use dlfcn directly instead of a variable.
30139 (binfmt-subdir): Do not define.
30142 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30144 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30145 Remove all definitions.
30146 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30147 <kernel-features.h>.
30148 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30149 (miss_F_GETOWN_EX): Remove all definitions.
30150 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30152 [!__ASSUME_FCNTL64]: Remove conditional code.
30153 [__ASSUME_FCNTL64]: Make code unconditional.
30154 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30155 <kernel-features.h>.
30156 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30157 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30158 (lockf64) [__NR_fcntl64]: Make code unconditional.
30159 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30161 * sysdeps/unix/sysv/linux/kernel-features.h
30162 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30163 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30164 Make code unconditional.
30165 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30166 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30168 [__NR_vfork]: Make code unconditional.
30169 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30170 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30172 [__NR_vfork]: Make code unconditional.
30173 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30174 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30176 2012-08-01 Roland McGrath <roland@hack.frob.com>
30178 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30179 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30181 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30182 Define mkstemp64 as an alias.
30183 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30184 Define mkstemps64 as an alias.
30185 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30186 Define mkostemp64 as an alias.
30187 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30188 Define mkostemps64 as an alias.
30189 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30190 Conditionalize body on this.
30191 * misc/mkostemp64.c: Likewise.
30192 * misc/mkostemps64.c: Likewise.
30193 * misc/mkstemps64.c: Likewise.
30194 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30195 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30196 * sysdeps/wordsize-64/mkostemp.c: File removed.
30197 * sysdeps/wordsize-64/mkstemp.c: File removed.
30198 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30199 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30200 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30201 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30204 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30205 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30206 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30207 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30209 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30210 compat_symbol macros from <shlib-compat.h> rather than the underlying
30211 default_symbol_version and symbol_version macros, so that DEFAULT
30212 lines in shlib-versions are respected.
30213 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30215 2012-08-01 Florian Weimer <fweimer@redhat.com>
30217 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30218 Declare with warn_unused_result.
30219 (setgid, setregid, setegid, setresgid): Likewise.
30220 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30222 * WUR-REPORT: Remove set*id functions.
30224 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30226 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30228 2012-07-31 Roland McGrath <roland@hack.frob.com>
30231 * include/sys/socket.h (__libc_accept, __libc_accept4):
30232 Add attribute_hidden.
30233 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30235 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30237 * inet/getnetgrent_r.c (setup): Likewise.
30239 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30241 2012-07-31 David S. Miller <davem@davemloft.net>
30243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30245 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30248 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30249 value between 1.0 and 2.0 and smaller part has absolute value less
30251 * math/s_clog10.c (__clog10): Likewise.
30252 * math/s_clog10f.c (__clog10f): Likewise.
30253 * math/s_clog10l.c (__clog10l): Likewise.
30254 * math/s_clogf.c (__clogf): Likewise.
30255 * math/s_clogl.c (__clogl): Likewise.
30256 * math/libm-test.inc (clog_test): Add more tests.
30257 (clog10_test): Likewise.
30258 * sysdeps/i386/fpu/libm-test-ulps: Update.
30259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30261 2012-07-31 Florian Weimer <fweimer@redhat.com>
30263 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30264 Exit with zero in case no suitable GID is found, and write a
30265 message to standard error.
30267 2012-07-30 Roland McGrath <roland@hack.frob.com>
30269 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30271 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30272 (MAXPATHLEN): Removed.
30273 (NOGROUP, NODEV): New macros.
30274 (setbit, clrbit, isset, isclr): New macros.
30275 (howmany, roundup, powerof2): New macros.
30276 (DEV_BSIZE): New macro.
30278 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30279 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30281 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30282 definition on [!__NO_LONG_DOUBLE_MATH].
30284 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30285 PTR_MANGLE and PTR_DEMANGLE.
30287 * socket/accept4.c (accept4): Rename to __libc_accept4.
30288 Define accept4 as a weak alias.
30290 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30291 on [_DIRENT_HAVE_D_TYPE].
30292 * io/ftw.c (ftw_dir): Likewise.
30294 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30296 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30298 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30299 Use the BSD numbers rather than the arbitrary ones we had.
30300 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30301 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30302 (SIGXCPU, SIGXFSZ): New macros.
30305 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30306 initializer on [_LIBC_REENTRANT].
30308 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30309 definitions inside [_POSIX_MAPPED_FILES].
30311 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30313 * dirent/opendir.c: Include <fcntl.h>.
30315 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30316 (__libc_getspecific): Likewise.
30317 (__libc_key_create): Likewise.
30319 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30320 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30321 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30322 (tmpfile64): Define as alias.
30323 * sysdeps/wordsize-64/tmpfile.c: File removed.
30324 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30325 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30326 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30328 * stdio-common/vfscanf.c: Include <stdbool.h>.
30329 * nss/makedb.c: Likewise.
30330 * stdio-common/_i18n_number.h: Likewise.
30331 * argp/argp-help.c: Likewise.
30332 * posix/wordexp.c: Likewise.
30333 * sysdeps/posix/spawni.c: Likewise.
30334 * nss/nss_files/files-initgroups.c: Likewise.
30335 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30336 * nss/nss_files/files-initgroups.c: Likewise.
30337 * nss/nss_db/db-netgrp.c: Likewise.
30338 * nss/nss_db/db-initgroups.c: Likewise.
30339 * io/fchmodat.c: Include <sys/stat.h>.
30341 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30342 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30344 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30347 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30348 Add multiple inclusion protection.
30350 2012-07-27 David S. Miller <davem@davemloft.net>
30352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30354 2012-07-27 Gary Benson <gbenson@redhat.com>
30357 * elf/rtld.c: Include <stap-probe.h>.
30358 (dl_main): Added static probes "init_start" and "init_complete".
30359 * elf/dl-load.c: Include <stap-probe.h>.
30360 (lose): Take new parameter "nsid".
30361 Added static probe "map_failed".
30362 (_dl_map_object_from_fd): Pass namespace id to lose.
30363 Added static probe "map_start".
30364 (open_verify): Pass namespace id to lose.
30365 * elf/dl-open.c: Include <stap-probe.h>.
30366 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30367 and "reloc_complete".
30368 * elf/dl-close.c: Include <stap-probe.h>.
30369 (_dl_close_worker): Added static probes "unmap_start" and
30371 * elf/rtld-debugger-interface.txt: New file documenting the above.
30373 2012-07-26 Roland McGrath <roland@hack.frob.com>
30375 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30376 rather than a string variable.
30377 * sunrpc/rpc_main.c (h_output): Likewise.
30378 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30380 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30382 * inet/check_native.c: New file.
30384 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30387 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30388 if larger part has absolute value 1.0.
30389 * math/s_clog10.c (__clog10): Likewise.
30390 * math/s_clog10f.c (__clog10f): Likewise.
30391 * math/s_clog10l.c (__clog10l): Likewise.
30392 * math/s_clogf.c (__clogf): Likewise.
30393 * math/s_clogl.c (__clogl): Likewise.
30394 * math/libm-test.inc (clog_test): Add more tests.
30395 (clog10_test): Likewise.
30396 * sysdeps/i386/fpu/libm-test-ulps: Update.
30397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30399 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30400 (pltexit): Likewise.
30401 (La_regs): Likewise.
30402 (La_retval): Likewise.
30403 (int_retval): Likewise.
30404 Update #error for removed macros to refer only to definitions in
30406 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30408 (pltexit): Likewise.
30409 (La_regs): Likewise.
30410 (La_retval): Likewise.
30411 (int_retval): Likewise.
30412 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30414 (pltexit): Likewise.
30415 (La_regs): Likewise.
30416 (La_retval): Likewise.
30417 (int_retval): Likewise.
30418 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30420 (pltexit): Likewise.
30421 (La_regs): Likewise.
30422 (La_retval): Likewise.
30423 (int_retval): Likewise.
30424 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30426 (pltexit): Likewise.
30427 (La_regs): Likewise.
30428 (La_retval): Likewise.
30429 (int_retval): Likewise.
30430 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30432 (pltexit): Likewise.
30433 (La_regs): Likewise.
30434 (La_retval): Likewise.
30435 (int_retval): Likewise.
30436 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30438 (pltexit): Likewise.
30439 (La_regs): Likewise.
30440 (La_retval): Likewise.
30441 (int_retval): Likewise.
30442 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30443 macro definitions in tst-audit.h.
30444 * sysdeps/i386/tst-audit.h: New file.
30445 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30446 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30447 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30448 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30449 * sysdeps/sh/tst-audit.h: Likewise.
30450 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30451 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30452 * sysdeps/x86_64/tst-audit.h: Likewise.
30454 2012-07-26 Andreas Jaeger <aj@suse.de>
30456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30459 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30460 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30461 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30463 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30464 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30465 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30467 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30470 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30472 (si_call_addr, si_syscall, si_arch): Define new macro.
30473 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30475 (si_call_addr, si_syscall, si_arch): Define new marcro.
30476 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30478 (si_call_addr, si_syscall, si_arch): Define new macro.
30479 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30481 (si_call_addr, si_syscall, si_arch): Define new macro.
30483 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30486 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30487 Change to 2.4.21 where previously 2.4.1.
30488 * sysdeps/unix/sysv/linux/configure: Regenerated.
30489 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30490 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30491 Linux kernel version.
30492 (__ASSUME_STD_AUXV): Remove.
30493 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30495 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30496 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30497 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30498 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30499 (__ASSUME_NETLINK_SUPPORT): Likewise.
30500 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30501 (__no_netlink_support): Remove conditional definition.
30502 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30504 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30505 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30506 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30507 (if_nameindex_ioctl): Remove.
30508 (if_nameindex_netlink): Do not handle __no_netlink_support.
30509 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30511 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30512 Remove conditional code.
30513 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30515 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30517 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30518 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30519 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30521 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30522 [!__ASSUME_STD_AUXV]: Remove conditional code.
30523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30524 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30525 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30527 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30528 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30530 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30532 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30533 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30535 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30537 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30540 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30543 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30544 code unconditional.
30545 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30547 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30549 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30552 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30554 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30557 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30558 code unconditional.
30559 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30561 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30563 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30566 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30567 code unconditional.
30568 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30570 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30572 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30575 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30577 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30578 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30579 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30580 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30581 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30582 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30583 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30584 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30585 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30586 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30587 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30588 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30589 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30590 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30591 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30592 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30593 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30594 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30595 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30597 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30598 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30599 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30601 2012-07-25 Florian Weimer <fweimer@redhat.com>
30603 * Versions.def: Add GLIBC_2.17.
30604 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30605 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30606 Introduce __libc_secure_getenv.
30607 * stdlib/Versions (2.17): Add secure_getenv
30608 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30609 * stdlib/secure-getenv.c: Rename __secure_getenv to
30610 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30611 symbol __secure_getenv for GLIBC_2.0.
30612 * stdlib/tst-secure-getenv.c: New.
30613 * stdlib/Makefile (tests): Add testcase.
30614 * manual/startup.texi (Environment Access): Document
30616 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30617 __libc_secure_getenv.
30618 * inet/ruserpass.c (ruserpass): Likewise.
30619 * malloc/mtrace.c (mtrace): Likewise.
30620 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30621 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30622 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30623 * sysdeps/posix/tempname.c: Likewise. Evaluate
30624 HAVE_SECURE_GETENV.
30625 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30626 __secure_getenv to __libc_secure_getenv.
30627 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30634 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30640 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30642 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30643 (struct La_i86_retval): Likewise.
30644 (struct La_x86_64_regs): Likewise.
30645 (struct La_x86_64_retval): Likewise.
30646 (struct La_x32_regs): Likewise.
30647 (struct La_x32_retval): Likewise.
30648 (struct La_ppc32_regs): Likewise.
30649 (struct La_ppc32_retval): Likewise.
30650 (struct La_ppc64_regs): Likewise.
30651 (struct La_ppc64_retval): Likewise.
30652 (struct La_sh_regs): Likewise.
30653 (struct La_sh_retval): Likewise.
30654 (struct La_s390_32_regs): Likewise.
30655 (struct La_s390_32_retval): Likewise.
30656 (struct La_s390_64_regs): Likewise.
30657 (struct La_s390_64_retval): Likewise.
30658 (struct La_sparc32_regs): Likewise.
30659 (struct La_sparc32_retval): Likewise.
30660 (struct La_sparc64_regs): Likewise.
30661 (struct La_sparc64_retval): Likewise.
30662 (struct audit_ifaces): Remove architecture-specific pltenter and
30664 * sysdeps/i386/ldsodefs.h: New file.
30665 * sysdeps/powerpc/ldsodefs.h: Likewise.
30666 * sysdeps/s390/ldsodefs.h: Likewise.
30667 * sysdeps/sh/ldsodefs.h: Likewise.
30668 * sysdeps/sparc/ldsodefs.h: Likewise.
30669 * sysdeps/x86_64/ldsodefs.h: Likewise.
30671 2012-07-25 Marek Polacek <polacek@redhat.com>
30674 * math/libm-test.inc (yn_test): Add another test.
30675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30676 to ERANGE when the result is +-Inf.
30677 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30678 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30679 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30680 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30682 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30684 * conform/data/time.h-data (NULL): Use macro-constant. Require
30686 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30688 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30690 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30692 * configure.in <sysdeps resolving>: Correct printing
30694 * configure: Regenerate.
30696 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30698 * math/w_ilogb.c: Include <limits.h>.
30699 * math/w_ilogbl.c: Likewise.
30701 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30703 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30704 va_copy. Document allowing for unavailable va_copy only as
30705 pre-C99 compatibility.
30706 * manual/string.texi (Copying and Concatenation): Use va_copy
30707 instead of __va_copy in concat example.
30709 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30711 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30712 (__sendto): Use create_address_port. Initialize APORT and deallocate
30715 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30716 with O_NOLINK passed to __file_name_lookup.
30718 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30719 with O_NOLINK passed to __file_name_lookup.
30721 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30722 negative N or less than NGIDS.
30724 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30725 type to string_t. Set ERANGE as errno and return it if NAME is not big
30726 enough. Use memcpy instead of strncpy.
30728 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30730 * elf/Makefile (check-data): Remove.
30731 (localplt.data): New vpath directive.
30732 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30733 instead of $(check-data).
30734 * scripts/data/localplt-generic.data: Move to ...
30735 * sysdeps/generic/localplt.data: ... here.
30736 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30737 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30738 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30741 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30744 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30747 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30750 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30753 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30757 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30759 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30760 PPC32 and PPC64 files.
30761 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30762 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30764 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30766 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30767 __makecontext_ret to ...
30768 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30769 ... here and call exit if uc_link is NULL. New file.
30770 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30771 __makecontext_ret.S.
30772 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30773 __makecontext_ret to ...
30774 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30775 ... here and call exit if uc_link is NULL. New file.
30776 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30777 __makecontext_ret.S.
30779 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30781 * elf/elf.h (R_390_IRELATIVE): New definition.
30782 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30783 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30784 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30785 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30786 (elf_machine_lazy_rel): Likewise.
30787 * sysdeps/s390/dl-irel.h: New file.
30788 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30789 * sysdeps/s390/s390-64/memset.S: New asm code.
30790 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30791 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30792 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30793 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30794 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30795 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30796 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30797 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30798 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30799 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30800 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30801 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30802 * sysdeps/s390/s390-32/memset.S: New asm code.
30803 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30805 2012-07-17 Marek Polacek <polacek@redhat.com>
30808 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30809 * sysdeps/s390/s390-64/configure.in: Likewise.
30810 * sysdeps/sparc/configure.in: Likewise.
30811 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30812 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30813 * sysdeps/i386/configure.in: Likewise.
30814 * sysdeps/x86_64/configure.in: Likewise.
30815 * sysdeps/sh/configure.in: Likewise.
30816 * sysdeps/s390/s390-32/configure: Regenerated.
30817 * sysdeps/s390/s390-64/configure: Likewise.
30818 * sysdeps/x86_64/configure: Likewise.
30819 * sysdeps/sh/configure: Likewise.
30820 * sysdeps/powerpc/powerpc64/configure: Likewise.
30821 * sysdeps/powerpc/powerpc32/configure: Likewise.
30822 * sysdeps/sparc/configure: Likwise.
30823 * sysdeps/i386/configure: Likewise.
30825 * elf/dl-open.c: Comment fixes.
30827 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30829 * Makefile [CXX] (check-data): Remove.
30830 [CXX] (c++-types.data): New vpath directive.
30831 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30832 vpath. Do not allow for C++ type data being missing.
30833 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30834 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30835 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30836 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30837 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30838 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30839 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30842 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30845 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30848 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30851 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30854 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30857 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30860 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30863 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30864 definitions to architecture-specific files.
30865 (TLS_IE): Likewise.
30866 (TLS_LD): Likewise.
30867 (TLS_GD): Likewise.
30868 * sysdeps/i386/tls-macros.h: New file.
30869 * sysdeps/powerpc/tls-macros.h: Likewise.
30870 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30871 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30872 * sysdeps/sh/tls-macros.h: Likewise.
30873 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30874 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30875 * sysdeps/x86_64/tls-macros.h: Likewise.
30877 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30879 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30880 zero value for regular exit case.
30882 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30883 (__start_context): Preserve zero value for regular exit case.
30885 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30886 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30888 * manual/setjmp.texi (setcontext): Clarify normal process
30889 termination when uc_link is the null pointer.
30890 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30893 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30895 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30896 preprocessor. Test for each exception mask separately.
30898 2012-07-16 Andreas Jaeger <aj@suse.de>
30900 * po/ru.po: Update from translation team.
30902 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30904 * conform/data/string.h-data (NULL): Use macro-constant. Require
30906 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30907 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30908 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30909 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30912 2012-07-13 Andreas Jaeger <aj@suse.de>
30914 * po/fr.po: Update from translation team.
30916 2012-07-12 Marek Polacek <polacek@redhat.com>
30919 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30920 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30923 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30926 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30927 Change to 2.4.1 where previously 2.4.0.
30928 * sysdeps/unix/sysv/linux/configure: Regenerated.
30929 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30930 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30932 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30933 (__ASSUME_AT_CLKTCK): Remove.
30934 (__ASSUME_AT_PAGESIZE): Likewise.
30935 (__ASSUME_AT_XID): Likewise.
30936 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30937 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30938 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30940 (HAVE_AUX_PAGESIZE): Likewise.
30941 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30942 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30943 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30945 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30949 the temporary buffer used to invoke __gethostbyname2_r,
30950 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30951 host_data / struct gaih_addrtuple.
30952 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30953 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30954 header file nss/nsswitch.h.
30955 * nss/nsswitch.h (global scope): Add definition of implementation
30956 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30957 resolv/nss_dns/dns-host.c).
30959 2012-07-11 Andreas Jaeger <aj@suse.de>
30961 * po/fr.po: Update from translation team.
30963 * po/sv.po: Update from translation team
30964 * po/fr.po: Another update from translation team.
30966 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30968 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30969 for subnormals or multiply small sinh result by itself.
30970 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30973 2012-07-11 David S. Miller <davem@davemloft.net>
30975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30977 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30980 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30981 (INTERNAL_MARK): Shift it here.
30983 2012-07-10 Marek Polacek <polacek@redhat.com>
30986 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30987 libc_cv_asm_global_directive with .globl.
30988 * configure: Regenerated.
30989 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30991 * sysdeps/i386/configure: Regenerated.
30992 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30994 * sysdeps/x86_64/configure: Regenerated.
30995 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30996 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30997 * elf/tst-unique2mod2.c: Likewise.
30998 * elf/tst-unique2mod1.c: Likewise.
30999 * elf/tst-unique1mod2.c: Likewise.
31000 * elf/tst-unique1mod1.c: Likewise.
31001 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31002 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31003 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31004 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31005 * sysdeps/mach/sysdep.h: Likewise.
31006 * sysdeps/i386/sysdep.h: Likewise.
31007 * sysdeps/i386/i386-mcount.S: Likewise.
31008 * sysdeps/x86_64/_mcount.S: Likewise.
31009 * sysdeps/x86_64/sysdep.h: Likewise.
31010 * sysdeps/sh/_mcount.S: Likewise.
31011 * sysdeps/sh/sysdep.h: Likewise.
31012 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31013 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31014 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31015 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31016 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31017 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31018 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31019 * locale/localeinfo.h: Likewise.
31020 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31021 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31023 2012-07-09 Roland McGrath <roland@hack.frob.com>
31026 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31028 * manual/message.texi (The Uniforum approach): Likewise.
31029 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31030 (glibc iconv Implementation): Likewise.
31032 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31035 * math/s_clog.c (__clog): Avoid scaling a value down where that
31036 could result in underflow.
31037 * math/s_clog10.c (__clog10): Likewise.
31038 * math/s_clog10f.c (__clog10f): Likewise.
31039 * math/s_clog10l.c (__clog10l): Likewise.
31040 * math/s_clogf.c (__clogf): Likewise.
31041 * math/s_clogl.c (__clogl): Likewise.
31042 * math/libm-test.inc (clog_test): Add more tests.
31043 (clog10_test): Likewise.
31044 * sysdeps/i386/fpu/libm-test-ulps: Update.
31045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31047 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31050 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31051 by 7 not 8 to examine high bit of fractional part.
31054 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31055 for call to __mcount_internal.
31056 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31057 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31058 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31060 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31063 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31064 approximation for values within 0x1p-13f of an odd multiple of
31066 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31067 exception. Add more tests.
31068 * sysdeps/i386/fpu/libm-test-ulps: Update.
31071 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31072 inputs and return -1 for them. Do not check for +Inf in case not
31073 reachable for +Inf.
31074 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31075 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31076 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31077 and return -1 for them. Do not check for +Inf in case not
31078 reachable for +Inf.
31079 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31081 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31082 and return -1 for them. Do not check for +Inf in case not
31083 reachable for +Inf.
31084 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31085 spurious underflow.
31086 * sysdeps/i386/fpu/libm-test-ulps: Update.
31087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31089 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31091 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31093 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31097 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31098 could result in spurious underflow. Scale down values above
31099 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31100 * math/s_csqrtf.c (__csqrtf): Likewise.
31101 * math/s_csqrtl.c (__csqrtl): Likewise.
31102 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31103 spurious underflow.
31104 * sysdeps/i386/fpu/libm-test-ulps: Update.
31105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31107 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31109 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31111 * catgets/xopen-msg.awk: New file.
31112 * catgets/xopen-msg.sed: Removed.
31114 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31116 * intl/po2test.awk: New file.
31117 * intl/po2test.sed: Removed.
31119 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31122 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31123 or multiply small sinh result by itself.
31124 * math/s_ctanf.c (__ctanf): Likewise.
31125 * math/s_ctanh.c (__ctanh): Likewise.
31126 * math/s_ctanhf.c (__ctanhf): Likewise.
31127 * math/s_ctanhl.c (__ctanhl): Likewise.
31128 * math/s_ctanl.c (__ctanl): Likewise.
31129 * math/libm-test.inc (ctan_test_tonearest): New function.
31130 (ctan_test_towardzero): Likewise.
31131 (ctan_test_downward): Likewise.
31132 (ctan_test_upward): Likewise.
31133 (ctanh_test_tonearest): Likewise.
31134 (ctanh_test_towardzero): Likewise.
31135 (ctanh_test_downward): Likewise.
31136 (ctanh_test_upward): Likewise.
31137 (main): Call these new functions.
31138 * sysdeps/i386/fpu/libm-test-ulps: Update.
31139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31141 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31143 * .gitignore: Delete /ports entry.
31145 2012-07-03 Andreas Jaeger <aj@suse.de>
31147 * po/bg.po: Update from translation team.
31148 * po/cs.po: Likewise.
31149 * po/de.po: Likewise.
31150 * po/hr.po: Likewise.
31151 * po/nl.pl: Likewise.
31152 * po/pl.po: Likewise.
31153 * po/vi.po: Likewise.
31155 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31157 * Makeconfig [!+link] (+link-before-libc): New variable.
31158 [!+link] (+link-after-libc): Likewise.
31159 [!+link] (+link-tests): Likewise.
31160 [!+link] (+link): Define in terms of $(+link-before-libc) and
31161 $(+link-after-libc).
31162 [!+link-static] (+link-static-before-libc): New variable.
31163 [!+link-static] (+link-static-after-libc): Likewise.
31164 [!+link-static] (+link-static-tests): Likewise.
31165 [!+link-static] (+link-static): Define in terms of
31166 $(+link-static-before-libc) and $(+link-static-after-libc).
31167 [build-shared] (link-libc-before-gnulib): New variable.
31168 [build-shared] (link-libc-tests): Likewise.
31169 [build-shared] (link-libc): Define in terms of
31170 $(link-libc-before-gnulib).
31171 [!build-shared] (link-libc-tests): New variable.
31172 (link-libc-static-tests): New variable.
31173 [!gnulib] (gnulib-arch): New variable.
31174 [!gnulib] (gnulib-tests): Likewise.
31175 [!gnulib] (static-gnulib-arch): Likewise.
31176 [!gnulib] (static-gnulib-tests): Likewise.
31177 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31178 Define with "=" instead of ":=".
31179 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31180 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31181 * Rules (binaries-all-notests): New variable.
31182 (binaries-all-tests): Likewise.
31183 (binaries-static-notests): Likewise.
31184 (binaries-static-tests): Likewise.
31185 (binaries-all): Define using $(binaries-all-notests) and
31186 $(binaries-all-tests).
31187 (binaries-static): Define using $(binaries-static-notests) and
31188 $(binaries-static-tests).
31189 (binaries-shared-tests): New variable.
31190 (binaries-shared-notests): Likewise.
31191 (binaries-shared): Remove variable.
31192 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31193 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31194 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31195 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31196 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31197 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31198 * elf/Makefile (sln-modules): New variable.
31199 (extra-objs): Add $(sln-modules:=.o).
31200 (ldconfig-modules): Add static-stubs.
31201 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31202 * elf/static-stubs.c: New file.
31205 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31206 by 7 not 8 to examine high bit of fractional part. Use volatile
31207 variables when splitting into final array of floats if
31208 __FLT_EVAL_METHOD__ != 0.
31209 * math/libm-test.inc (cos_test): Add another test.
31210 (sin_test): Likewise.
31211 * sysdeps/i386/fpu/libm-test-ulps: Update.
31214 * math/libm-test.inc (cosh_test): Add more tests.
31216 * version.h (RELEASE): Set to "development".
31217 (VERSION): Set to "2.16.90".
31219 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31221 * NEWS: Update copyright. Remove last-updated date.
31222 Mention math library bug fixes and timezone data changes.
31223 * README: Mention GNU/Hurd, x32, and HPPA support status.
31225 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31227 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31229 2012-06-27 Andreas Jaeger <aj@suse.de>
31231 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31233 2012-06-25 Andreas Jaeger <aj@suse.de>
31235 * sysdeps/s390/fpu/libm-test-ulps: Update.
31237 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31238 Thomas Schwinge <thomas@codesourcery.com>
31240 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31241 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31242 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31245 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31247 * sysdeps/mach/start.c: Remove file.
31248 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31249 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31250 * sysdeps/sh/init-first.c: Likewise.
31252 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31253 registers for frame unwinding purposes, add CFI directives.
31254 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31255 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31256 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31259 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31260 __fortify_fail returning.
31261 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31263 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31264 sysdeps/sh/____longjmp_chk.S.
31265 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31266 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31267 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31268 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31270 * sysdeps/sh/abort-instr.h: New file.
31271 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31272 process in case exit returns.
31274 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31275 initialize the GOT register before use.
31277 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31278 calculation of ARGC > 4.
31280 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31281 meaningful names to some local labels.
31283 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31284 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31286 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31287 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31288 (__arch_compare_and_exchange_val_16_acq): Likewise.
31289 (__arch_compare_and_exchange_val_32_acq): Likewise.
31290 (atomic_exchange_and_add): Fix gUSA sequence.
31291 (atomic_add): Likewise.
31292 (atomic_add_negative): Likewise.
31293 (atomic_add_zero): Likewise.
31294 (atomic_bit_test_set): Likewise.
31296 2012-06-22 Andreas Schwab <schwab@redhat.com>
31299 * include/link.h (struct link_map): Add l_free_initfini.
31300 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31302 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31303 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31304 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31307 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31309 * configure.in: Use AC_LANG_SOURCE.
31310 * configure: Regenerate.
31312 2012-06-22 Roland McGrath <roland@hack.frob.com>
31314 * configure.in (libc_cv_localstatedir): New substituted variable.
31315 * configure: Regenerated.
31316 * config.make.in (localstatedir): New variable, substituted from
31317 libc_cv_localstatedir.
31318 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31319 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31320 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31321 * sysdeps/gnu/configure: Regenerated.
31323 2012-06-21 Jeff Law <law@redhat.com>
31326 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31327 free. Simplify list management for _LIBC case.
31329 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31332 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31333 Clear sign bit of 64-bit integer value before comparing against
31336 * sysdeps/mach/configure: Regenerated.
31338 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31341 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31343 2012-06-21 Jeff Law <law@redhat.com>
31346 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31347 uint16_t for elements in the "seen" array to avoid char overflows.
31348 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31349 * elf/dl-open.c (dl_open_worker): Likewise.
31351 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31353 * scripts/list-sources.sh: Scan PORTS for translations.
31354 * po/libc.pot: Regenerated.
31356 2012-06-21 Andreas Jaeger <aj@suse.de>
31359 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31361 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31362 * bits/byteswap-16.h (__bswap_16): Likewise.
31363 * bits/byteswap.h (__bswap_constant_16): Likewise.
31365 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31368 * sysdeps/i386/fpu_control.h: Removed.
31369 * sysdeps/x86_64/fpu_control.h: Moved to ...
31370 * sysdeps/x86/fpu_control.h: Here.
31372 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31373 (_FPU_SETCW): Likewise.
31375 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31378 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31379 * sysdeps/x86/fpu/bits/mathinline.h: This.
31380 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31384 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31385 functions if __x86_64__ is defined.
31387 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31389 * string/endian.h: Add !__ASSEMBLER__ condition for including
31390 conversion interfaces.
31392 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31395 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31396 of ABS(x) in calculating zero to negative powers other than odd
31398 * math/libm-test.inc (pow_test): Add more tests.
31400 2012-06-15 Andreas Jaeger <aj@suse.de>
31402 * manual/contrib.texi (Contributors): Update entry of Liubov
31403 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31406 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31408 * string/string.h: Add __wur to GNU version of strerror_r.
31410 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31413 * string/Makefile (tests): Add tst-strtok_r.
31414 * string/tst-strtok_r.c: New file.
31415 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31416 RAX_LP/RDX_LP on SAVE_PTR.
31418 2012-06-14 Roland McGrath <roland@hack.frob.com>
31420 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31422 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31424 * libm_test.inc (csqrt_test): Allow more spurious underflow
31426 (j0_test): Likewise.
31427 (j1_test): Likewise.
31428 (y0_test): Likewise.
31429 (y1_test): Likewise.
31431 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31433 * po/Makefile (libc.pot): Use UTF-8 charset.
31435 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31438 Suppress sign-conversion warning from FD_SET.
31439 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31440 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31441 not unsigned long int.
31442 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31444 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31448 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31449 __extern_always_inline instead of __extern_inline.
31450 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31451 (__signbit): Likewise.
31452 (__signbitl): Support C++ namespace.
31453 (lrintf): New inline function.
31455 (llrintf): Likewise.
31456 (llrint): Likewise.
31466 (floorf): Likewise.
31467 (nearbyint): Likewise.
31468 (nearbyintf): Likewise.
31470 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31472 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31473 non-default versions.
31475 2012-06-11 Roland McGrath <roland@hack.frob.com>
31478 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31480 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31482 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31483 (FE_UPWARD, FE_DOWNWARD): Don't define.
31484 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31485 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31487 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31489 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31490 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31492 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31494 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31495 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31496 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31497 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31499 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31502 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31503 * sysdeps/i386/fpu/Implies: New file.
31504 * sysdeps/x86_64/fpu/Implies: Likewise.
31505 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31506 * sysdeps/x86/fpu/bits/fenv.h: This.
31508 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31511 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31514 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31515 character 0xffff that matches the last element of the
31518 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31520 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31523 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31525 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31526 values higher than 25.6283.
31528 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31530 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31531 subnormal exponent extraction and add some __builtin_expect.
31532 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31533 Fix for subnormal mantissa calculation.
31535 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31537 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31538 cpu2 is -1 and errno is not ENOSYS.
31540 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31543 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31544 * sysdeps/x86/bits/string.h: This.
31545 * sysdeps/x86_64/bits/string.h: Removed.
31547 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31548 if not compiling for x86-64, but compiling for >= i486.
31550 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31551 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31553 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31554 New macro from Linux kernel 3.4.0.
31555 (FP_XSTATE_MAGIC2): Likewise.
31556 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31557 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31558 (struct _fpx_sw_bytes): New struct.
31559 (struct _xsave_hdr): Likewise.
31560 (struct _ymmh_state): Likewise.
31561 (struct _xstate): Likewise.
31563 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31564 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31565 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31566 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31567 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31568 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31570 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31571 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31572 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31573 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31574 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31575 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31577 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31580 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31581 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31582 (sysdep_headers): Include sys/platform/ppc.h.
31583 * sysdeps/powerpc/test-gettimebase.c: Test for
31584 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31585 * manual/Makefile (appendices): Include platform.texi.
31586 * manual/contrib.texi (Contributors): Update @node pointers.
31587 * manual/maint.texi (Maintenance): Likewise.
31588 (Platform): New node.
31589 * manual/platform.texi: New file. Document the new features.
31591 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31592 Jakub Jelinek <jakub@redhat.com>
31595 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31596 where __builtin_expect is unavailable.
31598 2012-06-03 David S. Miller <davem@davemloft.net>
31600 * stdlib/longlong.h: Updated from GCC.
31602 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31605 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31606 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31609 (GLIBC_2.16): Likewise.
31611 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31613 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31615 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31618 (default-abi): New variable.
31619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31620 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31622 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31624 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31626 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31629 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31630 definition. Document in comment.
31632 2012-06-01 David S. Miller <davem@davemloft.net>
31634 * stdlib/longlong.h: Updated from GCC.
31636 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31639 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31640 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31641 sys/debugreg.h sys/io.h here.
31642 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31643 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31645 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31646 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31647 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31648 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31649 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31650 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31652 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31653 Define only if __x86_64__ is defined.
31655 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31658 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31659 Use int64_t for variable i.
31660 * math/libm-test.inc (fmod_test): Add more tests.
31662 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31663 z computation is not scheduled after fetestexcept.
31664 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31665 Use math_force_eval instead of asm to ensure calculation scheduled
31666 before exception test.
31667 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31668 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31670 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31673 computation is not scheduled after fetestexcept.
31675 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31678 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31679 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31681 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31683 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31684 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31686 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31689 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31691 (__WCHAR_MIN): Support __WORDSIZE == 64.
31692 (__WCHAR_MAX): Likewise.
31694 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31695 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31698 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31699 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31702 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31703 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31705 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31706 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31708 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31709 Defined to 1 if __x86_64__ isn't defined.
31710 (_STAT_VER_LINUX_OLD): New.
31711 (st_atime): Remove duplicate.
31712 (st_mtime): Likewise.
31713 (st_ctime): Likewise.
31715 2012-05-31 David S. Miller <davem@davemloft.net>
31717 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31720 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31722 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31726 * elf/dl-reloc.c: Include <_itoa.h>.
31727 (_dl_reloc_bad_type): Remove use of INTUSE.
31728 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31729 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31730 * stdio-common/psiginfo.c (psiginfo): Likewise.
31731 * stdio-common/psignal.c (psignal): Likewise.
31732 * string/strsignal.c (strsignal): Likewise.
31733 * include/signal.h (_sys_siglist): Declare hidden proto.
31734 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31735 INTVARDEF with libc_hidden_data_def.
31736 * stdio-common/itoa-udigits.c: Likewise.
31737 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31738 (_itoa_lower_digits_internal): Remove declaration.
31739 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31740 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31741 (_sys_sigabbrev_internal): Remove aliases.
31742 (_sys_siglist): Define hidden alias.
31744 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31749 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31752 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31753 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31755 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31756 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31757 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31758 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31759 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31760 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31762 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31763 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31764 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31766 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31774 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31775 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31776 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31778 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31779 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31780 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31781 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31782 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31783 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31785 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31786 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31788 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31789 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31791 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31793 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31795 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31796 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31798 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31800 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31801 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31802 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31804 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31806 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31808 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31810 * math/math.h (M_El): Use two more decimal places.
31811 (M_LOG2El): Likewise.
31812 (M_LOG10El): Likewise.
31813 (M_LN2l): Likewise.
31814 (M_LN10l): Likewise.
31816 (M_PI_2l): Likewise.
31817 (M_PI_4l): Likewise.
31818 (M_1_PIl): Likewise.
31819 (M_2_PIl): Likewise.
31820 (M_2_SQRTPIl): Likewise.
31821 (M_SQRT2l): Likewise.
31822 (M_SQRT1_2l): Likewise.
31824 2012-05-31 David S. Miller <davem@davemloft.net>
31826 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31827 values between float registers.
31828 * sysdeps/sparc/sparc64/memset.S: Likewise.
31829 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31831 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31833 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31834 -D_FORTIFY_SOURCE=1.
31835 (CPPFLAGS-tst-longjmp_chk.c): Define.
31836 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31837 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31838 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31839 CFLAGS-tst-wchar-h.c.
31841 2012-05-31 Marek Polacek <polacek@redhat.com>
31844 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31845 __endmntent_internal): Remove declaration.
31846 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31847 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31848 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31850 2012-05-30 David S. Miller <davem@davemloft.net>
31852 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31853 (___Q_simulate_exceptions): Use real FP ops rather than writing
31855 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31858 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31861 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31862 * sysdeps/x86/bits/xtitypes.h: This.
31864 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31865 * sysdeps/x86/bits/wordsize.h: This.
31867 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31868 * sysdeps/x86/bits/huge_vall.h: This.
31870 * sysdeps/i386/bits/select.h: Removed.
31871 * sysdeps/x86_64/bits/select.h: Renamed to ...
31872 * sysdeps/x86/bits/select.h: This.
31874 * sysdeps/i386/bits/setjmp.h: Removed.
31875 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31876 * sysdeps/x86/bits/setjmp.h: This.
31878 * sysdeps/i386/bits/mathdef.h: Removed.
31879 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31880 * sysdeps/x86/bits/mathdef.h: This.
31882 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31885 * include/sys/socket.h (__connect_internal)
31886 (__libc_sa_len_internal): Remove declaration.
31887 (__connect, __libc_sa_len): Declare hidden_proto.
31888 (SA_LEN): Remove use of INTUSE.
31889 * socket/connect.c: Add libc_hidden_def.
31890 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31891 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31892 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31894 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31895 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31896 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31897 of adding _internal alias.
31899 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31902 * sysdeps/i386/bits/link.h: Removed.
31903 * sysdeps/i386/bits/linkmap.h: Likewise.
31904 * sysdeps/x86_64/bits/link.h: Renamed to ...
31905 * sysdeps/x86/bits/link.h: This.
31906 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31907 * sysdeps/x86/bits/linkmap.h: This.
31909 * sysdeps/i386/bits/endian.h: Removed.
31910 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31911 * sysdeps/x86/bits/endian.h: This.
31913 * sysdeps/i386/bits/byteswap.h: Removed.
31914 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31915 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31916 * sysdeps/x86/bits/byteswap.h: This.
31917 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31918 * sysdeps/x86/bits/byteswap-16.h: This.
31919 * sysdeps/i386/Implies: Add x86.
31920 * sysdeps/x86_64/Implies: Likewise.
31922 2012-05-30 David S. Miller <davem@davemloft.net>
31924 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31925 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31926 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31927 (FP_TRAPPING_EXCEPTIONS): Define.
31928 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31929 (FP_TRAPPING_EXCEPTIONS): Define.
31930 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31931 subnormals only when inexact has been signalled or underflow
31932 exceptions are enabled.
31933 (_FP_PACK_CANONICAL): Likewise.
31935 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31938 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31939 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31941 2012-05-30 Richard Henderson <rth@twiddle.net>
31943 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31944 with #ifndef NOT_IN_libc.
31946 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31947 marked to avoid plt entry.
31949 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31952 * Makeconfig (default-abi): New macro.
31953 (abi-includes): Likewise.
31954 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31955 $(abi-$(default-abi)-lib-soname) for soname if defined.
31956 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31958 * Makefile (installed-stubs): Likewise.
31959 * include/stubs-biarch.h: Removed.
31960 * scripts/lib-names.awk: Only handle one library at a time.
31961 * scripts/soversions.awk: Remove WORDSIZE support.
31962 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31964 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31966 (syscall-list-default-condition): Likewise.
31967 (syscall-list-default-condition): Likewise.
31968 (syscall-list-includes): Likewise.
31969 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31970 syscall-list-* with abi-*. Handle undefined abi-variants.
31971 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31972 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31973 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31974 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31975 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31976 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31978 (syscall-list-32-options): Likewise.
31979 (syscall-list-32-condition): Likewise.
31980 (syscall-list-64-options): Likewise.
31981 (syscall-list-64-condition): Likewise.
31982 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31984 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31987 (abi-64-ld-soname): New macro.
31988 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31989 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31992 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31993 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31995 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31997 * sysdeps/unix/sysv/linux/kernel-features.h
31998 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31999 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32000 include <kernel-features.h>.
32001 [!__NR_ftruncate64]: Remove conditional code.
32002 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32003 [__NR_ftruncate64]: Make code unconditional.
32004 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32005 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32006 include <kernel-features.h>.
32007 [!__NR_ftruncate64]: Remove conditional code.
32008 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32009 [__NR_ftruncate64]: Make code unconditional.
32010 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32012 include <kernel-features.h>.
32013 [!__NR_ftruncate64]: Remove conditional code.
32014 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32015 [__NR_ftruncate64]: Make code unconditional.
32016 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32018 include <kernel-features.h>.
32019 [!__NR_ftruncate64]: Remove conditional code.
32020 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32021 [__NR_ftruncate64]: Make code unconditional.
32022 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32024 * configure.in (libc_cv_fpie): Weaken to a compile test using
32025 LIBC_TRY_CC_OPTION.
32026 * configure: Regenerated.
32028 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32043 2012-05-27 David S. Miller <davem@davemloft.net>
32045 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32047 (__Q_simulate_exceptions): Return void. Change to simulate
32048 exceptions by writing into the %fsr.
32049 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32050 (__Qp_handle_exceptions): Likewise.
32052 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32053 __Qp_handle_exceptions.
32054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32055 __Qp_handle_exceptions.
32056 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32057 as unused and give dummy FP_RND_NEAREST initializer.
32058 (FP_INHIBIT_RESULTS): Define.
32059 (___Q_simulate_exceptions): Update declaration.
32060 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32062 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32063 as unused and give dummy FP_RND_NEAREST initializer.
32064 (__Qp_handle_exceptions): Update declaration.
32065 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32068 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32070 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32071 the temporary FPU control word.
32072 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32073 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32074 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32075 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32076 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32077 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32078 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32079 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32080 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32081 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32082 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32084 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32086 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32089 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32091 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32092 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32093 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32094 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32096 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32097 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32100 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32102 * po/h.po: Update from translation team.
32104 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32106 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32108 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32109 handling of denormals.
32110 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32111 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32112 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32113 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32115 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32119 2012-05-26 Marek Polacek <polacek@redhat.com>
32122 * math/libm-test.inc (fma_test): Don't always expect underflow
32125 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32128 * elf/tst-execstack.c: Include stackinfo.h.
32129 (do_test): Adjust test case to ensure that pthread_getattr_np
32130 behaviour remains the same after marking stack executable.
32132 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32134 * sysdeps/unix/sysv/linux/kernel-features.h
32135 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32136 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32138 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32139 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32140 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32142 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32143 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32145 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32147 * configure.in: Define the default includes to being none.
32148 * configure: Regenerated.
32150 2012-05-25 Roland McGrath <roland@hack.frob.com>
32152 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32153 * sysdeps/x86_64/setjmp.S: Likewise.
32154 * sysdeps/i386/bsd-setjmp.S: Likewise.
32155 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32156 * sysdeps/i386/setjmp.S: Likewise.
32157 * sysdeps/i386/__longjmp.S: Likewise.
32158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32159 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32161 * include/stap-probe.h: New file.
32162 * configure.in: Handle --enable-systemtap.
32163 * configure: Regenerated.
32164 * config.h.in (USE_STAP_PROBE): New #undef.
32165 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32166 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32167 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32169 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32172 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32173 to 2.4.0 where earlier.
32174 * sysdeps/unix/sysv/linux/configure: Regenerated.
32175 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32176 <kernel-features.h>.
32177 [__ASSUME_32BITUIDS]: Make code unconditional.
32178 [!__ASSUME_32BITUIDS]: Remove conditional code.
32179 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32180 <kernel-features.h>.
32181 [__ASSUME_32BITUIDS]: Make code unconditional.
32182 [!__ASSUME_32BITUIDS]: Remove conditional code.
32183 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32184 [__ASSUME_32BITUIDS]: Make code unconditional.
32185 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32186 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32187 <kernel-features.h>.
32188 [__ASSUME_32BITUIDS]: Make code unconditional.
32189 [!__ASSUME_32BITUIDS]: Remove conditional code.
32190 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32191 <kernel-features.h>.
32192 [__ASSUME_32BITUIDS]: Make code unconditional.
32193 [!__ASSUME_32BITUIDS]: Remove conditional code.
32194 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32195 <kernel-features.h>.
32196 [__ASSUME_32BITUIDS]: Make code unconditional.
32197 [!__ASSUME_32BITUIDS]: Remove conditional code.
32198 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32199 <kernel-features.h>.
32200 [__ASSUME_32BITUIDS]: Make code unconditional.
32201 [!__ASSUME_32BITUIDS]: Remove conditional code.
32202 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32203 <kernel-features.h>.
32204 [__ASSUME_32BITUIDS]: Make code unconditional.
32205 [!__ASSUME_32BITUIDS]: Remove conditional code.
32206 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32207 <kernel-features.h>.
32208 [__ASSUME_32BITUIDS]: Make code unconditional.
32209 [!__ASSUME_32BITUIDS]: Remove conditional code.
32210 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32211 <kernel-features.h>.
32212 [__ASSUME_32BITUIDS]: Make code unconditional.
32213 [!__ASSUME_32BITUIDS]: Remove conditional code.
32214 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32215 <kernel-features.h>.
32216 [__ASSUME_32BITUIDS]: Make code unconditional.
32217 [!__ASSUME_32BITUIDS]: Remove conditional code.
32218 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32219 <kernel-features.h>.
32220 [__ASSUME_32BITUIDS]: Make code unconditional.
32221 [!__ASSUME_32BITUIDS]: Remove conditional code.
32222 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32223 <kernel-features.h>.
32224 [__ASSUME_32BITUIDS]: Make code unconditional.
32225 [!__ASSUME_32BITUIDS]: Remove conditional code.
32226 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32227 <kernel-features.h>.
32228 [__NR_setresgid] (__setresgid): Do not declare.
32229 [__ASSUME_32BITUIDS]: Make code unconditional.
32230 [!__ASSUME_32BITUIDS]: Remove conditional code.
32231 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32232 <kernel-features.h>.
32233 [__NR_setresuid] (__setresuid): Do not declare.
32234 [__ASSUME_32BITUIDS]: Make code unconditional.
32235 [!__ASSUME_32BITUIDS]: Remove conditional code.
32236 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32237 <kernel-features.h>.
32238 [__ASSUME_32BITUIDS]: Make code unconditional.
32239 [!__ASSUME_32BITUIDS]: Remove conditional code.
32240 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32241 <kernel-features.h>.
32242 [__ASSUME_32BITUIDS]: Make code unconditional.
32243 [!__ASSUME_32BITUIDS]: Remove conditional code.
32244 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32245 <kernel-features.h>.
32246 [__ASSUME_32BITUIDS]: Make code unconditional.
32247 [!__ASSUME_32BITUIDS]: Remove conditional code.
32248 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32249 <kernel-features.h>.
32250 [__ASSUME_32BITUIDS]: Make code unconditional.
32251 [!__ASSUME_32BITUIDS]: Remove conditional code.
32252 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32253 <kernel-features.h>.
32254 [__ASSUME_32BITUIDS]: Make code unconditional.
32255 [!__ASSUME_32BITUIDS]: Remove conditional code.
32256 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32257 <kernel-features.h>.
32258 [__ASSUME_32BITUIDS]: Make code unconditional.
32259 [!__ASSUME_32BITUIDS]: Remove conditional code.
32260 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32261 <kernel-features.h>.
32262 [__ASSUME_32BITUIDS]: Make code unconditional.
32263 [!__ASSUME_32BITUIDS]: Remove conditional code.
32264 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32265 <kernel-features.h>.
32266 [__ASSUME_32BITUIDS]: Make code unconditional.
32267 [!__ASSUME_32BITUIDS]: Remove conditional code.
32268 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32269 <kernel-features.h>.
32270 [__ASSUME_32BITUIDS]: Make code unconditional.
32271 [!__ASSUME_32BITUIDS]: Remove conditional code.
32272 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32273 <kernel-features.h>.
32274 [__ASSUME_32BITUIDS]: Make code unconditional.
32275 [!__ASSUME_32BITUIDS]: Remove conditional code.
32276 * sysdeps/unix/sysv/linux/kernel-features.h
32277 (__ASSUME_SETRESUID_SYSCALL): Remove.
32278 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32279 (__ASSUME_32BITUIDS): Likewise.
32280 (__ASSUME_LDT_WORKS): Likewise.
32281 (__ASSUME_O_DIRECTORY): Likewise.
32282 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32283 architecture but not kernel version.
32284 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32285 (__ASSUME_MMAP2_SYSCALL): Likewise.
32286 (__ASSUME_STAT64_SYSCALL): Likewise.
32287 (__ASSUME_IPC64): Likewise.
32288 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32289 <kernel-features.h>.
32290 [__ASSUME_32BITUIDS]: Make code unconditional.
32291 [!__ASSUME_32BITUIDS]: Remove conditional code.
32292 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32293 <kernel-features.h>.
32294 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32295 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32296 132096]: Remove conditional code.
32297 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32298 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32299 <kernel-features.h>.
32300 [__ASSUME_32BITUIDS]: Make code unconditional.
32301 [!__ASSUME_32BITUIDS]: Remove conditional code.
32302 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32303 <kernel-features.h>.
32304 [__ASSUME_32BITUIDS]: Make code unconditional.
32305 [!__ASSUME_32BITUIDS]: Remove conditional code.
32306 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32307 <kernel-features.h>.
32308 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32310 (__setresgid): Do not declare.
32311 [__ASSUME_32BITUIDS]: Make code unconditional.
32312 [!__ASSUME_32BITUIDS]: Remove conditional code.
32313 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32314 <kernel-features.h>.
32315 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32317 (__setresuid): Do not declare.
32318 [__ASSUME_32BITUIDS]: Make code unconditional.
32319 [!__ASSUME_32BITUIDS]: Remove conditional code.
32320 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32321 <kernel-features.h>.
32322 [__ASSUME_32BITUIDS]: Make code unconditional.
32323 [!__ASSUME_32BITUIDS]: Remove conditional code.
32324 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32325 <kernel-features.h>.
32326 [__ASSUME_32BITUIDS]: Make code unconditional.
32327 [!__ASSUME_32BITUIDS]: Remove conditional code.
32329 2012-05-25 Richard Henderson <rth@twiddle.net>
32331 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32332 dl_hwcap to ifunc resolver.
32333 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32335 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32336 dl_hwcap to ifunc resolver.
32337 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32339 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32342 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32343 for |x| <= 2**-26, not 2**-57.
32344 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32347 2012-05-24 Jeff Law <law@redhat.com>
32349 * stdio-common/Makefile (tests): Add bug25.
32350 * stdio-common/bug25.c: New test.
32352 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32355 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32356 multiple of MALLOC_ALIGNMENT in size.
32357 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32359 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32361 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32363 (FILENAME_MAX): Use macro-int-constant.
32364 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32365 (_IOFBF): Use macro-int-constant.
32366 (_IOLBF): Likewise.
32367 (_IONBF): Likewise.
32368 (SEEK_CUR): Likewise.
32369 (SEEK_END): Likewise.
32370 (SEEK_SET): Likewise.
32371 (TMP_MAX): Likewise.
32372 (EOF): Use macro-int-constant. Require < 0.
32373 (NULL): Use macro-constant. Require == 0.
32374 (stdin): Require type to be FILE *.
32375 (stdout): Likewise.
32376 (stderr): Likewise.
32377 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32378 macro-int-constant.
32379 (EXIT_SUCCESS): Likewise.
32380 (NULL): Use macro-constant. Require == 0.
32381 (RAND_MAX): Use macro-int-constant.
32382 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32383 [C99-based standards] (strtof): Require function.
32384 [C99-based standards] (strtold): Likewise.
32385 [C99-based standards] (strtoll): Likewise.
32386 [C99-based standards] (strtoull): Likewise.
32387 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32388 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32389 [ISO || ISO99 || ISO11] (math.h): Likewise.
32390 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32391 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32394 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32397 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32398 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32399 * intl/dgettext.c (DCGETTEXT): Likewise.
32400 * intl/gettext.c (DCGETTEXT): Likewise.
32401 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32402 * posix/regex_internal.h (gettext): Likewise.
32403 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32404 Remove declaration.
32405 * include/argz.h (__argz_count_internal)
32406 (__argz_stringify_internal): Remove declaration.
32407 (__argz_count, __argz_stringify): Declare hidden proto.
32408 * intl/dcgettext.c: Remove use of INTDEF.
32409 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32410 * string/argz-stringify.c: Likewise.
32411 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32412 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32413 Declare hidden proto.
32414 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32415 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32416 Declare hidden proto.
32417 * include/stdio.h (__asprintf_internal): Don't declare.
32418 (__asprintf): Don't define as macro. Declare hidden proto.
32419 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32420 (__fsetlocking): Declare hidden proto.
32421 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32422 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32424 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32425 (_IO_setlinebuf): Remove use of INTUSE.
32426 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32427 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32428 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32429 Remove declaration.
32430 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32431 (_IO_do_flush): Remove use of INTUSE.
32432 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32433 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32434 (_IO_adjust_column, _IO_least_wmarker)
32435 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32436 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32437 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32438 (_IO_default_doallocate, _IO_wdefault_doallocate)
32439 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32440 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32441 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32442 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32443 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32444 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32445 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32446 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32447 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32448 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32449 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32450 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32451 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32453 (_IO_flush_all_internal, _IO_adjust_column_internal)
32454 (_IO_default_uflow_internal, _IO_default_finish_internal)
32455 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32456 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32457 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32458 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32459 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32460 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32461 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32462 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32463 (_IO_file_close_internal, _IO_file_close_it_internal)
32464 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32465 (_IO_file_init_internal, _IO_file_attach_internal)
32466 (_IO_file_fopen_internal, _IO_file_read_internal)
32467 (_IO_file_sync_internal, _IO_file_seek_internal)
32468 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32469 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32470 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32471 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32472 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32473 (_IO_list_all_internal, _IO_link_in_internal)
32474 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32475 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32476 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32477 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32478 (_IO_do_write_internal, _IO_padn_internal)
32479 (_IO_getline_info_internal, _IO_getline_internal)
32480 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32481 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32482 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32483 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32484 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32485 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32486 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32487 with libc_hidden_ver, remove use of INTUSE.
32488 * libio/genops.c: Likewise.
32489 * libio/freopen.c: Likewise.
32490 * libio/freopen64.c: Likewise.
32491 * libio/iofclose.c: Likewise.
32492 * libio/iofdopen.c: Likewise.
32493 * libio/iofflush.c: Likewise.
32494 * libio/iofflush_u.c: Likewise.
32495 * libio/iofgets.c: Likewise.
32496 * libio/iofgets_u.c: Likewise.
32497 * libio/iofopen.c: Likewise.
32498 * libio/iofopncook.c: Likewise.
32499 * libio/iofread.c: Likewise.
32500 * libio/iofread_u.c: Likewise.
32501 * libio/ioftell.c: Likewise.
32502 * libio/iofwrite.c: Likewise.
32503 * libio/iogetline.c: Likewise.
32504 * libio/iogets.c: Likewise.
32505 * libio/iogetwline.c: Likewise.
32506 * libio/iopadn.c: Likewise.
32507 * libio/iopopen.c: Likewise.
32508 * libio/ioseekoff.c: Likewise.
32509 * libio/ioseekpos.c: Likewise.
32510 * libio/iosetbuffer.c: Likewise.
32511 * libio/iosetvbuf.c: Likewise.
32512 * libio/ioungetc.c: Likewise.
32513 * libio/ioungetwc.c: Likewise.
32514 * libio/iovdprintf.c: Likewise.
32515 * libio/iovsprintf.c: Likewise.
32516 * libio/iovsscanf.c: Likewise.
32517 * libio/memstream.c: Likewise.
32518 * libio/obprintf.c: Likewise.
32519 * libio/oldfileops.c: Likewise.
32520 * libio/oldiofclose.c: Likewise.
32521 * libio/oldiofdopen.c: Likewise.
32522 * libio/oldiofopen.c: Likewise.
32523 * libio/oldiopopen.c: Likewise.
32524 * libio/oldstdfiles.c: Likewise.
32525 * libio/putc.c: Likewise.
32526 * libio/setbuf.c: Likewise.
32527 * libio/setlinebuf.c: Likewise.
32528 * libio/stdfiles.c: Likewise.
32529 * libio/strops.c: Likewise.
32530 * libio/vasprintf.c: Likewise.
32531 * libio/vscanf.c: Likewise.
32532 * libio/vsnprintf.c: Likewise.
32533 * libio/vswprintf.c: Likewise.
32534 * libio/wfiledoalloc.c: Likewise.
32535 * libio/wfileops.c: Likewise.
32536 * libio/wgenops.c: Likewise.
32537 * libio/wmemstream.c: Likewise.
32538 * libio/wstrops.c: Likewise.
32539 * libio/__fpurge.c: Likewise.
32540 * libio/__fsetlocking.c: Likewise.
32541 * assert/assert.c: Likewise.
32542 * debug/fgets_chk.c: Likewise.
32543 * debug/fgets_u_chk.c: Likewise.
32544 * debug/fread_chk.c: Likewise.
32545 * debug/fread_u_chk.c: Likewise.
32546 * debug/gets_chk.c: Likewise.
32547 * debug/obprintf_chk.c: Likewise.
32548 * debug/vasprintf_chk.c: Likewise.
32549 * debug/vdprintf_chk.c: Likewise.
32550 * debug/vsnprintf_chk.c: Likewise.
32551 * debug/vsprintf_chk.c: Likewise.
32552 * malloc/mtrace.c: Likewise.
32553 * misc/error.c: Likewise.
32554 * misc/syslog.c: Likewise.
32555 * stdio-common/asprintf.c: Likewise.
32556 * stdio-common/fxprintf.c: Likewise.
32557 * stdio-common/getw.c: Likewise.
32558 * stdio-common/isoc99_fscanf.c: Likewise.
32559 * stdio-common/isoc99_scanf.c: Likewise.
32560 * stdio-common/isoc99_vfscanf.c: Likewise.
32561 * stdio-common/isoc99_vscanf.c: Likewise.
32562 * stdio-common/isoc99_vsscanf.c: Likewise.
32563 * stdio-common/printf-prs.c: Likewise.
32564 * stdio-common/printf_fp.c: Likewise.
32565 * stdio-common/printf_fphex.c: Likewise.
32566 * stdio-common/printf_size.c: Likewise.
32567 * stdio-common/putw.c: Likewise.
32568 * stdio-common/scanf.c: Likewise.
32569 * stdio-common/sprintf.c: Likewise.
32570 * stdio-common/tmpfile.c: Likewise.
32571 * stdio-common/vfprintf.c: Likewise.
32572 * stdio-common/vfscanf.c: Likewise.
32573 * stdlib/strfmon_l.c: Likewise.
32574 * sunrpc/openchild.c: Likewise.
32575 * sunrpc/xdr_stdio.c: Likewise.
32576 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32577 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32579 2012-05-24 Roland McGrath <roland@hack.frob.com>
32581 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32583 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32584 in the third column, to generate for the shared library an IFUNC
32585 that uses _dl_vdso_vsym.
32586 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32587 * Makeconfig (object-suffixes-noshared): New variable.
32589 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32590 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32591 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32592 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32595 * include/sys/time.h (__gettimeofday): Remove macro.
32596 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32597 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32599 (__gettimeofday): Add libc_hidden_def.
32600 (gettimeofday): Add libc_hidden_weak.
32601 * sysdeps/mach/gettimeofday.c: Likewise.
32602 * sysdeps/posix/gettimeofday.c: Likewise.
32603 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32604 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32605 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32606 (__gettimeofday_internal): Remove strong_alias.
32607 (__gettimeofday): Add libc_hidden_def.
32608 (gettimeofday): Add libc_hidden_weak.
32609 * sysdeps/unix/syscalls.list (gettimeofday):
32610 Remove __gettimeofday_internal alias.
32612 2012-05-24 Daniel Jacobowitz <drow@false.org>
32613 H.J. Lu <hongjiu.lu@intel.com>
32616 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32617 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32618 (largebin_index_32_big): New.
32619 (largebin_index): Use it for 16-byte alignment.
32620 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32621 correction with front_misalign.
32623 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32651 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32652 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32654 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32658 * math/libm-test.inc (exp_test): Add test from bug 14036.
32659 (pow_test): Add test from bug 10846.
32661 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32663 (special_function): Do not include flags in test name.
32664 (parse_args): Likewise.
32665 * sysdeps/i386/fpu/libm-test-ulps: Update.
32666 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32667 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32668 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32671 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32673 * math/libm-test.inc ("Philosophy"): Update comment about
32675 (UNDERFLOW_EXCEPTION): New macro.
32676 (UNDERFLOW_EXCEPTION_OK): Likewise.
32677 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32678 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32679 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32680 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32681 (INVALID_EXCEPTION_OK): Update value.
32682 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32683 (OVERFLOW_EXCEPTION_OK): Likewise.
32684 (IGNORE_ZERO_INF_SIGN): Likewise.
32685 (test_exceptions): Handle underflow exceptions.
32686 (acos_test): Update for underflow exception expectations.
32687 (cexp_test): Likewise.
32688 (clog_test): Likewise.
32689 (clog10_test): Likewise.
32690 (csqrt_test): Likewise.
32691 (ctan_test): Likewise.
32692 (ctanh_test): Likewise.
32693 (exp_test): Likewise.
32694 (exp10_test): Likewise.
32695 (exp2_test): Likewise.
32696 (expm1_test): Likewise.
32697 (fma_test): Likewise.
32698 (j0_test): Likewise.
32699 (jn_test): Likewise.
32700 (nexttoward_test): Likewise.
32701 (pow_test): Likewise.
32702 (scalbn_test): Likewise.
32703 (scalbln_test): Likewise.
32704 (tan_test): Likewise.
32705 (y1_test): Likewise.
32706 * sysdeps/i386/fpu/libm-test-ulps: Update.
32707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32709 2012-05-23 David S. Miller <davem@davemloft.net>
32711 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32712 (__libc_sigaction): Remove unused local variables.
32714 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32716 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32718 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32720 mktime: avoid signed integer overflow
32721 * time/mktime.c (__mktime_internal): Do not mishandle the case
32722 where diff == INT_MIN.
32724 mktime: simplify computation of average
32725 * time/mktime.c (ranged_convert): Use new time_t_avg function
32726 instead of rolling our own (probably-slower) code.
32728 mktime: do not assume signed right shift propagates sign bit
32729 * time/mktime.c (isdst_differ): New static function.
32730 (__mktime_internal): No need to normalize tm_isdst now.
32731 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32734 mktime: merge another wrapv change from gnulib
32735 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32736 from some compilers.
32738 mktime: remove incorrect attempt at unusual arithmetics
32739 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32740 The code didn't really work on such machines anyway.
32741 (TYPE_MINIMUM): Assume two's complement.
32742 (twos_complement_arithmetic): Verify that long_int and time_t
32743 are two's complement (or unsigned, in the latter case).
32745 mktime: check signed shifts on long_int and time_t, too
32746 * time/mktime.c (SHR): Check that shifts work as desired
32747 on the types long_int and time_t too, as SHR is used on
32750 mktime: do not assume 'long' is wide enough
32751 * time/mktime.c (verify): Move decl up.
32752 (long_int): New type.
32753 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32754 to remove assumption in the code that 'long' is wide enough to
32755 store year values. This assumption is not true on x32 and on
32756 some non-glibc platforms.
32758 mktime: merge wrapv change from gnulib
32759 * time/mktime.c (WRAPV): New macro.
32760 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32761 (guess_time_tm, __mktime_internal): Do not assume that signed
32762 integer overflow wraps around; modern compilers generate code
32763 where this assumption is no longer valid.
32765 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32767 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32768 Replace "jmp L(pseudo_end)" with "ret".
32769 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32772 2012-05-23 Andreas Jaeger <aj@suse.de>
32774 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32775 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32777 2012-05-23 Andreas Jaeger <aj@suse.de>
32778 Maximilian Attems <max@stro.at>
32780 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32783 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32785 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32786 code so that pseudo_end is just ret and the stack pointer is
32787 correct also for static library in error case.
32789 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32791 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32792 move to syscalls.list.
32793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32798 * manual/install.texi (Running make install): Do not mention Linux
32799 kernel version for which pt_chown is not needed.
32800 (Linux): Do not mention problems with nscd with 2.0 kernels.
32801 * INSTALL: Regenerated.
32803 2012-05-23 Andreas Jaeger <aj@suse.de>
32805 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32806 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32808 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32809 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32810 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32811 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32812 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32813 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32814 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32815 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32816 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32817 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32818 * sysdeps/unix/sysv/linux/bits/in.h
32819 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32821 2012-05-22 Roland McGrath <roland@hack.frob.com>
32823 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32824 (PREPARE_VERSION): Just use assert instead, it will be elided
32825 under [NDEBUG] anyway.
32827 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32829 * sysdeps/unix/sysv/linux/Makefile: Include
32830 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32831 (sysdep_routines): Remove sysctl.
32832 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32833 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32834 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32835 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32836 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32838 2012-05-22 Andreas Jaeger <aj@suse.de>
32840 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32841 that pseudo_end is just ret and the stack pointer is correct also
32842 for static library in error case.
32844 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32847 * nss/nsswitch.c (defconfig_entries): New variable.
32848 (__nss_database_lookup): Don't leak defconfig entries.
32849 (nss_parse_service_list): Don't leak on error paths.
32850 (free_database_entries): New function.
32851 (free_defconfig): New function.
32852 (free_mem): Move common code to free_database_entries.
32854 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32856 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32858 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32860 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32861 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32864 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32865 (INTERNAL_SYSCALL_TYPES): Likewise.
32866 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32867 (LOAD_REGS_TYPES_[1-6]): Likewise.
32868 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32869 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32871 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32873 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32874 copysignl for GLIBC_2_0.
32875 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32876 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32877 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32878 logbl for GLIBC_2_0.
32879 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32880 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32882 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32884 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32885 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32887 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32890 * time/mktime.c: Update copyright years.
32892 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32894 mktime: merge comment-quoting-style change from gnulib
32895 * time/mktime.c: Quote 'like this' in comments.
32896 The GNU coding standards suggest that we no longer quote `like this',
32897 as "`" and "'" are typically rendered asymmetrically nowadays.
32898 The typical gnulib style is to quote 'like this' when quoting
32899 code, and "like this" when quoting English.
32901 * time/mktime.c (compile-command): Add "-I.".
32903 mktime: merge mktime-internal.h change from gnulib
32904 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32906 mktime: merge time_r change from gnulib
32907 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32909 mktime: merge DEBUG change from gnulib
32910 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32911 case system <time.h> has a #define.
32913 mktime: merge <sys/types.h> change from gnulib
32914 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32915 since <time.t> is now guaranteed to define time_t.
32917 mktime: merge HAVE_CONFIG_H change from gnulib
32918 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32920 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32925 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32927 (struct rusage): Use anonymous union to pad each field to
32930 2012-05-21 David S. Miller <davem@davemloft.net>
32932 * Makefules (o-iterator): Remove .s cases.
32933 (compile-command.s): Delete.
32934 (COMPILE.s): Delete.
32935 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32937 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32939 * configure.in (libc_cv_predef_stack_protector): Only consider
32940 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32941 * configure: Regenerated.
32943 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32946 New macro. Use R*LP on int and pointer.
32947 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32948 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32949 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32950 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32952 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32953 [__WORDSIZE_TIME64_COMPAT32] instead of
32954 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32955 (struct utmp): Likewise.
32956 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32957 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32959 (__WORDSIZE_TIME64_COMPAT32): This.
32960 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32961 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32962 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32963 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32964 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32965 (__WORDSIZE_TIME64_COMPAT32): New macro.
32967 2012-05-21 Andreas Jaeger <aj@suse.de>
32969 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32970 only if [SHARED]. Add prototype for __wcschr_ia32.
32972 2012-05-21 Roland McGrath <roland@hack.frob.com>
32974 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32975 of %rbp unmolested in the jmp_buf while mangling the low bits.
32976 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32977 unmolested high bits of %rbp while demangling the low bits.
32978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32980 2012-05-21 Andreas Jaeger <aj@suse.de>
32982 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32983 * sunrpc/svc_simple.c: Use it for registerrpc.
32984 * sunrpc/xcrypt.c: Use it for passwd2des.
32986 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32988 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32990 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32991 Don't define if [__SYSCALL_WORDSIZE != 32].
32992 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32995 2012-05-21 Bruno Haible <bruno@clisp.org>
32996 Andreas Jaeger <aj@suse.de>
32998 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32999 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33000 inptr and inend for must_buffer_ch.
33001 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33002 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33003 * stdio-common/Makefile (tests): Remove bug15.
33004 (bug15-ENV): Remove macro.
33005 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33008 2012-05-19 Andreas Jaeger <aj@suse.de>
33009 Roland McGrath <roland@hack.frob.com>
33011 * manual/contrib.texi: Completely rewritten. It contains now an
33012 alphabetical list of contributors and their contributions.
33014 2012-05-21 Richard Henderson <rth@twiddle.net>
33016 * misc/getauxval.c (__getauxval): Use unsigned long int.
33017 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33018 (getauxval): Use unsigned long int.
33020 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33022 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33024 2012-05-21 Roland McGrath <roland@hack.frob.com>
33026 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33027 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33028 __alignof__ (long double).
33030 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33034 2012-05-20 Richard Henderson <rth@twiddle.net>
33036 * misc/getauxval.c: New file.
33037 * misc/sys/auxv.h: New file.
33038 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33039 (routines): Add getauxval.
33040 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33041 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33042 * elf/dl-sysdep.c (_dl_auxv): Remove.
33043 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33044 * elf/dl-support.c (_dl_auxv): New variable.
33045 (_dl_aux_init): Initialize it.
33046 * manual/startup.texi (Auxiliary Vector): New node.
33047 * sysdeps/generic/bits/hwcap.h: New file.
33048 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33049 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33050 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33051 * sysdeps/sparc/sysdep.h: ... here. Include it.
33052 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33053 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33059 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33065 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33069 2012-05-19 David S. Miller <davem@davemloft.net>
33071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33073 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33076 * math/s_ccosh.c: Include <float.h>
33077 (__ccosh): Avoid internal overflow calculating sinh and cosh
33078 values before multiplying by sin and cos values.
33079 * math/s_ccoshf.c: Likewise.
33080 * math/s_ccoshl.c: Likewise.
33081 * math/s_csin.c: Likewise.
33082 * math/s_csinf.c: Likewise.
33083 * math/s_csinl.c: Likewise.
33084 * math/s_csinh.c: Likewise.
33085 * math/s_csinhf.c: Likewise.
33086 * math/s_csinhl.c: Likewise.
33087 * math/libm-test.inc (ccos_test): Add more tests.
33088 (ccosh_test): Likewise.
33089 (csin_test): Likewise.
33090 (csinh_test): Likewise.
33091 * sysdeps/i386/fpu/libm-test-ulps: Update.
33092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33094 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33096 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33097 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33099 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33101 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33103 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33104 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33105 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33106 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33107 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33108 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33109 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33110 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33111 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33112 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33113 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33114 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33115 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33116 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33117 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33118 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33119 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33120 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33121 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33122 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33123 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33124 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33125 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33126 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33127 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33128 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33129 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33130 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33131 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33132 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33133 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33135 2012-05-18 Andreas Jaeger <aj@suse.de>
33137 * csu/.gitignore: Delete.
33139 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33141 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33142 (timex): Use __syscall_slong_t.
33144 2012-05-18 Andreas Jaeger <aj@suse.de>
33145 Carlos O'Donell <carlos_odonell@mentor.com>
33147 * manual/install.texi (Configuring and compiling): Update
33148 description about files modified in the source directory.
33149 * INSTALL: Regenerated.
33151 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33153 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33154 value. Use "or" to set return value to -1.
33155 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33156 negate return value.
33158 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33160 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33161 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33162 failure if the compiler has Graphite support disabled.
33163 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33165 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33166 (CFLAGS-memmove.c): Likewise.
33167 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33170 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33172 * sysdeps/x86_64/x32/_itoa.h: New file.
33174 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33175 getdents system call only if kernel and user dirents have the
33176 same d_ino and d_off.
33178 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33179 LLONG_MAX != LONG_MAX.
33180 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33181 (_fitoa_word): Likewise.
33183 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33185 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33186 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33187 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33189 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33190 include <bits/wordsize.h>. Check __x86_64__ instead of
33192 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33193 if __x86_64__ is defined. Use anonymous union on fpstate.
33195 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33198 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33200 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33201 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33202 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33203 Refer to _rtld_local_ro instead of _rtld_global_ro.
33204 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33206 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33208 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33210 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33211 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33212 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33214 * sysdeps/powerpc/powerpc32/dl-machine.c
33215 (__elf_machine_runtime_setup) [PROF]: Don't reference
33218 2012-05-18 Andreas Jaeger <aj@suse.de>
33220 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33221 function only available for GCCs before 3.4 since GCC 3.4
33222 introduced a builtin.
33224 (llrintf): Likewise.
33225 (llrint): Likewise.
33232 (nearbyint): Likewise.
33233 (nearbyintf): Likewise.
33237 (floorf): Likewise.
33239 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33241 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33242 on both fields and cast pointer to __syscall_ulong_t.
33244 * bits/types.h (__fsword_t): New type.
33245 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33246 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33248 (__FSWORD_T_TYPE): Likewise.
33249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33250 (__FSWORD_T_TYPE): Likewise.
33251 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33252 (__FSWORD_T_TYPE): Likewise.
33253 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33254 (__FSWORD_T_TYPE): Likewise.
33255 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33256 __SWORD_TYPE with __fsword_t.
33257 (statfs64): Likewise.
33259 2012-05-17 David S. Miller <davem@davemloft.net>
33261 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33263 2012-05-17 Andreas Jaeger <aj@suse.de>
33265 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33268 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33270 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33272 2012-05-17 Andreas Jaeger <aj@suse.de>
33274 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33277 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33279 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33281 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33283 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33284 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33286 2012-05-17 Andreas Jaeger <aj@suse.de>
33287 Carlos O'Donell <carlos_odonell@mentor.com>
33290 * sysdeps/x86_64/multiarch/init-arch.h
33291 (bit_YMM_Usable): Rename to...
33292 (bit_AVX_Usable): ... this.
33293 (bit_FMA4_Usable): New macro.
33294 (bit_XMM_state): New macro.
33295 (bit_YMM_state): New macro.
33296 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33297 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33298 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33299 (CPUID_OSXSAVE): New macro.
33300 (CPUID_AVX): New macro.
33301 (CPUID_FMA4): New macro.
33302 (index_YMM_Usable): Rename to...
33303 (index_AVX_Usable): ... this.
33304 (HAS_AVX): Use HAS_ARCH_FEATURE.
33305 (HAS_FMA4): Likewise.
33306 (HAS_YMM_USABLE): Remove.
33307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33308 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33310 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33311 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33312 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33313 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33314 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33316 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33318 * math/libm-test.c: Support platforms without multiple rounding modes.
33319 * math/bug-nextafter.c: Support platforms without FP exceptions.
33320 * math/bug-nexttoward.c: Likewise.
33321 * math/test-fenv.c: Likewise.
33322 * math/test-misc.c: Likewise.
33323 * stdlib/bug-getcontext.c: Likewise.
33325 2012-05-17 Andreas Jaeger <aj@suse.de>
33327 * manual/examples/search.c (critter_cmp): Change signature to
33329 * manual/string.texi (Collation Functions): Likewise.
33331 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33333 * bits/types.h: Fold copyright years.
33334 * bits/typesizes.h: Likewise.
33335 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33338 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33339 * time/time.h: Likewise.
33341 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33344 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33345 in instead of returning them. Return void.
33346 (__libc_mallinfo): Accumulate over all arenas.
33347 (__malloc_stats): Adjust for change in int_mallinfo interface.
33349 2012-05-16 Roland McGrath <roland@hack.frob.com>
33352 * configure.in (NM): Add AC_CHECK_TOOL for it.
33353 (libc_extra_cflags): New substituted variable.
33354 Check for -fstack-protector being used implicitly.
33355 * configure: Regenerated.
33356 * config.make.in (config-extra-cflags): New variable,
33357 gets @libc_extra_cflags@.
33358 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33361 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33362 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33363 * configure: Regenerated.
33364 * config.make.in (CPPUNDEFS): New substituted variable.
33365 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33366 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33367 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33369 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33371 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33372 (mq_attr): Use __syscall_slong_t.
33374 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33376 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33377 Check __x86_64__ instead of __WORDSIZE.
33378 (_STAT_VER_LINUX): Likewise.
33379 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33380 __syscall_ulong_t and __syscall_slong_t.
33381 (stat64): Likewise.
33383 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33385 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33387 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33389 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33391 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33393 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33396 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33397 include <bits/wordsize.h>. Check __x86_64__ instead of
33399 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33401 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33403 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33404 include <bits/wordsize.h>. Check __x86_64__ instead of
33406 (user_regs_struct): Use "__extension__ unsigned long long"
33407 instead of "unsigned long" if __x86_64__ is defined.
33408 (user): Likewise. Pad after pointer field if __ILP32__ is
33411 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33413 * configure.in (makeinfo): Require version 4.5 or later. Allow
33415 * configure: Regenerated.
33416 * manual/install.texi (texinfo): Increase version requirement to
33418 * INSTALL: Regenerated.
33420 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33422 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33424 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33426 * sysdeps/x86_64/x32/ffs.c: New file.
33428 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33430 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33431 defined. Use __syscall_ulong_t.
33432 (shminfo): Use __syscall_ulong_t.
33433 (shm_info): Likewise.
33435 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33438 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33440 (msgqnum_t): Use __syscall_ulong_t.
33441 (msglen_t): Likewise.
33442 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33445 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33446 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33448 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33450 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33451 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33453 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33456 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33457 include <bits/wordsize.h>. Check __x86_64__ instead of
33460 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33461 "unsigned long long int" if __x86_64__ is defined.
33462 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33464 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33465 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33466 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33468 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33470 (GET_PC): Cast to uintptr_t first.
33471 (GET_FRAME): Likewise.
33472 (GET_STACK): Likewise.
33474 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33475 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33476 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33477 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33478 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33479 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33480 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33481 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33482 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33483 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33484 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33485 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33486 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33487 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33488 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33489 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33490 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33491 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33492 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33493 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33494 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33495 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33496 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33497 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33498 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33499 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33500 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33501 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33502 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33504 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33506 * Makerules (+depfiles): Also collect depfiles from .oS in
33508 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33509 .oS, $(libnldbl-routines)).
33511 * Makerules (native-compile-mkdep-flags): Define.
33512 * sunrpc/Makefile (extra-objs): Add $(addprefix
33513 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33514 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33515 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33516 calling $(make-target-directory).
33518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33520 * bits/types.h (__snseconds_t): Removed.
33521 * time/time.h (struct timespec): Replace __snseconds_t with
33523 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33524 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33527 (__SNSECONDS_T_TYPE): Likewise.
33528 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33529 (__SNSECONDS_T_TYPE): Likewise.
33530 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33531 (__SNSECONDS_T_TYPE): Likewise.
33533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33535 * sysdeps/mach/hurd/bits/typesizes.h
33536 (__SYSCALL_SLONG_TYPE): New macro.
33537 (__SYSCALL_ULONG_TYPE): Likewise.
33539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33541 * bits/types.h (__syscall_slong_t): New type.
33542 (__syscall_ulong_t): Likewise.
33544 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33545 (__SYSCALL_ULONG_TYPE): Likewise.
33546 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33547 (__SYSCALL_SLONG_TYPE): Likewise.
33548 (__SYSCALL_ULONG_TYPE): Likewise.
33549 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33550 (__SYSCALL_SLONG_TYPE): Likewise.
33551 (__SYSCALL_ULONG_TYPE): Likewise.
33552 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33553 (__SYSCALL_SLONG_TYPE): Likewise.
33554 (__SYSCALL_ULONG_TYPE): Likewise.
33556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33558 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33559 Add sigaltstack-offsets.sym.
33560 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33561 <sigaltstack-offsets.h>.
33562 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33563 longjmp_msg pointer.
33564 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33565 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33567 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33569 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33571 * elf/stackguard-macros.h: Remove file.
33572 * sysdeps/generic/stackguard-macros.h: New file.
33573 * sysdeps/i386/stackguard-macros.h: Likewise.
33574 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33575 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33576 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33577 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33578 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33579 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33580 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33581 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33582 <elf/stackguard-macros.h>.
33585 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33586 __aligned__ in attribute.
33587 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33588 (gregset_t): Likewise.
33590 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33592 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33593 * sysdeps/x86_64/64/Implies-after: Here. New file.
33594 * sysdeps/x86_64/x32/Implies-after: New file.
33596 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33598 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33599 and access return value for _dl_profile_fixup. Use R10_LP to
33602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33604 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33606 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33608 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33609 * sysdeps/x86_64/x32/sysdep.h: New file.
33611 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33613 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33614 * sysdeps/x86_64/setjmp.S: Likewise.
33616 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33618 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33619 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33620 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33621 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33622 remove unused global constant.
33624 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33626 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33627 include of <not-cancel.h>.
33629 2012-05-15 Roland McGrath <roland@hack.frob.com>
33631 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33633 2012-05-15 Jeff Law <law@redhat.com>
33634 Andreas Jaeger <aj@suse.de>
33637 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33639 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33640 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33641 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33642 code changing __hst_map_handle.map.
33644 2012-05-15 Roland McGrath <roland@hack.frob.com>
33646 * configure.in (sysnames): Look for Implies-before and Implies-after
33648 * configure: Regenerated.
33650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33652 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33653 8-byte data alignment with LP_SIZE alignment.
33655 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33657 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33662 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33664 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33666 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33667 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33668 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33670 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33672 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33674 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33675 (stackinfo_sub_sp): Likewise.
33677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33679 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33682 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33684 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33689 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33692 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33694 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33696 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33698 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33699 into R11_LP and load __x86_64_shared_cache_size_half into
33702 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33704 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33707 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33709 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33713 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33715 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33716 powerpc32/power7/fpu/s_logb.c via #include.
33717 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33718 powerpc32/power7/fpu/s_logbf.c via #include.
33719 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33720 powerpc32/power7/fpu/s_logbl.c via #include.
33722 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33724 * README.libm: Remove file.
33726 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33728 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33729 count for x32. Use R*_LP and omit operand-size suffix.
33731 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33733 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33734 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33735 * sysdeps/x86_64/x32/shlib-versions: New file.
33737 2012-05-14 Roland McGrath <roland@hack.frob.com>
33739 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33740 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33741 Use _dl_fatal_printf instead.
33743 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33745 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33746 set if not set by the user. Do not allow for being unset.
33747 * sysdeps/unix/sysv/linux/configure: Regenerated.
33749 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33751 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33752 the `q' suffix from lea and replace .quad with ASM_ADDR.
33754 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33757 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33759 (PTR_DEMANGLE): Likewise.
33761 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33763 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33765 (ASM_ADDR): Likewise.
33766 (RAX_LP): Likewise.
33767 (RBP_LP): Likewise.
33768 (RBX_LP): Likewise.
33769 (RCX_LP): Likewise.
33770 (RDI_LP): Likewise.
33771 (RSI_LP): Likewise.
33772 (RSP_LP): Likewise.
33775 (R10_LP): Likewise.
33776 (R10_LP): Likewise.
33777 (R11_LP): Likewise.
33778 (R12_LP): Likewise.
33779 (R13_LP): Likewise.
33780 (R14_LP): Likewise.
33781 (R15_LP): Likewise.
33783 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33785 * sysdeps/x86_64/x32/dl-machine.h: New file.
33787 2012-05-14 Andreas Jaeger <aj@suse.de>
33789 * manual/Makefile (subdir): Remove export of subdir.
33790 (all): Remove target.
33791 (.PHONY): Remove all from list.
33792 (mkinstalldirs): Remove.
33793 (.PHONY): Remove installdirs from list.
33794 ($(inst_infodir)/libc.info): Use make-target-directory.
33795 (installdirs): Remove.
33796 (subdir_%): Remove.
33797 (glibc-targets): Remove.
33800 ($(objpfx)stubs ../po/manual.pot): Remove.
33801 ($(objpfx)stamp%): Remove.
33802 (make-target-directory): Remove.
33803 (subdir_install): Remove.
33804 (routines): Remove.
33811 * manual/.gitignore: Remove, it's not needed anymore.
33812 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33814 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33816 (texis): Renamed to $(objpfx)texis.
33817 (texis-path): New, contains path to generated files.
33818 (chapters.%): Use texis-path for complete path, add extra argument
33820 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33821 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33822 (summary,texi, stamp-summary): Use complete path of
33823 files. Generate files in build dir.
33824 (dir-add.texi): Build in build dir.
33825 (libm-err.texi,stamp-libm-err): Likewise.
33826 (version.texi, stamp-version): Likewise.
33827 (.%c.texi): Likewise.
33828 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33829 (mostlyclean): Remove target.
33830 (realclean): Remove target.
33831 (generated): Add new variable with contents from mostlyclean and
33832 realclean, remove entries duplicated in common-mostlyclean, add
33833 stamp-libm-err and stamp-version.
33834 (generated-dirs): Add libc directory.
33835 ($(inst_infodir)/libc.info): Install files from build dir.
33837 * manual/install.texi (Configuring and compiling): Adjust since
33838 the info files are not part of the tar ball anymore.
33840 2012-05-14 Andreas Jaeger <aj@suse.de>
33842 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33845 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33848 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33849 to 2.2.0 where earlier.
33850 * sysdeps/unix/sysv/linux/configure: Regenerated.
33851 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33852 Remove conditional code.
33853 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33854 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33855 Remove conditional code.
33856 [!__NR_lchown]: Likewise.
33857 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33858 [__NR_lchown]: Likewise.
33859 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33860 comment referencing __ASSUME_LCHOWN_SYSCALL.
33861 * sysdeps/unix/sysv/linux/i386/sigaction.c
33862 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33863 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33864 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33865 Remove conditional code.
33866 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33867 (__protocol_available): Remove #if 0 code.
33868 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33870 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33871 * sysdeps/unix/sysv/linux/kernel-features.h
33872 (__ASSUME_GETCWD_SYSCALL): Don't define.
33873 (__ASSUME_REALTIME_SIGNALS): Likewise.
33874 (__ASSUME_PREAD_SYSCALL): Likewise.
33875 (__ASSUME_PWRITE_SYSCALL): Likewise.
33876 (__ASSUME_POLL_SYSCALL): Likewise.
33877 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33878 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33880 (__ASSUME_SIOCGIFNAME): Don't define.
33881 (__ASSUME_MSG_NOSIGNAL): Likewise.
33882 (__ASSUME_SENDFILE): Define unconditionally.
33883 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33884 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33886 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33887 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33888 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33889 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33890 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33891 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33892 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33894 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33895 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33897 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33898 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33900 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33901 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33903 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33904 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33906 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33907 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33909 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33910 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33912 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33913 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33915 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33916 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33917 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33918 Remove conditional code.
33919 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33920 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33921 Remove conditional code.
33922 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33923 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33924 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33925 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33926 Remove conditional code.
33927 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33928 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33929 Remove conditional code.
33930 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33931 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33932 Remove conditional code.
33933 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33934 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33935 Remove conditional code.
33936 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33937 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33938 Remove conditional code.
33939 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33940 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33941 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33942 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33943 * sysdeps/unix/sysv/linux/sigaction.c
33944 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33945 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33946 * sysdeps/unix/sysv/linux/sigpending.c
33947 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33948 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33949 * sysdeps/unix/sysv/linux/sigprocmask.c
33950 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33951 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33952 * sysdeps/unix/sysv/linux/sigsuspend.c
33953 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33954 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33955 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33956 (__libc_missing_rt_sigs): Remove.
33957 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33958 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33959 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33960 Remove conditional code.
33961 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33962 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33964 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33965 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33966 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33967 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33969 2012-05-14 Andreas Jaeger <aj@suse.de>
33971 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33972 it's not used in glibc.
33973 (__coshm1): Likewise.
33974 (__acosh1p): Likewise.
33977 * manual/string.texi (Copying and Concatenation): Add missing
33978 variable in concat example.
33979 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33981 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33984 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33985 __builtin_clzl with __builtin_clzll.
33987 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33990 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33993 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33995 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33996 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33997 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33998 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34000 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34002 * NEWS: Update ia64 info.
34004 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34006 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34009 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34011 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34012 * sysdeps/unix/syscalls.list (dup3): Likewise.
34013 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34014 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34016 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34018 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34019 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34021 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34023 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34025 (TLS_IE): Use mov/add instead of movq/addq to load thread
34027 (TLS_GD_PREFIX): New.
34030 2012-05-11 David S. Miller <davem@davemloft.net>
34032 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34033 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34034 (_FPU_SETCW): Likewise.
34036 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34038 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34039 is 32-byte aligned.
34041 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34044 * iconvdata/gb18030.c: Update tables.
34045 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34046 characters specially.
34047 (BODY for TO_LOOP): Add encoding of missing ranges.
34049 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34052 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34053 * sysdeps/mach/hurd/dup3.c: Likewise.
34054 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34055 * sysdeps/powerpc/memmove.c:: Likewise.
34057 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34059 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34060 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34062 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34064 * elf/elf.h (R_X86_64_RELATIVE64): New.
34065 (R_X86_64_NUM): Updated.
34066 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34067 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34068 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34069 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34070 tst-quad1pie tst-quad2pie
34071 (modules-names): Add tst-quadmod1 tst-quadmod2.
34072 ($(objpfx)tst-quad1): New dependency.
34073 ($(objpfx)tst-quad2): Likewise.
34074 ($(objpfx)tst-quad1pie): Likewise.
34075 ($(objpfx)tst-quad2pie): Likewise.
34076 * sysdeps/x86_64/tst-quad1.c: New file.
34077 * sysdeps/x86_64/tst-quad1pie.c: New file.
34078 * sysdeps/x86_64/tst-quad2.c: Likewise.
34079 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34080 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34081 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34082 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34083 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34085 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34087 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34088 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34089 * streams/stropts.h (t_scalar_t): Define type.
34091 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34092 (_PATH_PRESERVE): Set to "/var/lib".
34093 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34095 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34098 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34099 if __dir_mkfile succeeded.
34101 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34102 checking for _hurd_dtablesize. Unlock it right after having
34103 finished _hurd_dtable allocation.
34105 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34107 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34108 * sysdeps/mach/hurd/configure: Regenerated.
34109 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34110 special-casing to...
34111 * sysdeps/gnu/configure.in: ... this new file.
34112 * sysdeps/unix/sysv/linux/configure: Regenerated.
34113 * sysdeps/gnu/configure: New generated file.
34115 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34116 for Linux: use nsec instead of usec, as well as:
34117 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34118 members of type struct timespec.
34119 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34121 (struct stat64): Likewise.
34122 (_STATBUF_ST_NSEC): New macro.
34123 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34125 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34126 __strtoul_internal rather than strtoul.
34128 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34130 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34133 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34135 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34136 which preserves existing values.
34137 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34139 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34141 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34142 TIMEOUT values. Return EINVAL for NFDS values either negative or
34143 greater than FD_SETSIZE.
34145 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34147 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34148 allocated, call __vm_protect to finish enabling the existing space, and
34149 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34150 allocate the remainder.
34152 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34154 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34155 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34157 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34159 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34160 sysdeps/mach/hurd/readlink.c.
34162 * posix/tst-sysconf.c (posix_options): Only use
34163 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34164 _POSIX_SYNCHRONIZED_IO when they are defined
34165 * sysdeps/mach/hurd/bits/posix_opt.h:
34166 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34167 (_XOPEN_REALTIME): Undefine macro.
34168 (_XOPEN_REALTIME_THREADS): Undefine macro.
34169 (_XOPEN_SHM): Undefine macro.
34170 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34172 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34174 (_POSIX_ASYNC_IO): Undefine macro.
34175 (_POSIX_PRIORITIZED_IO): Undefine macro.
34176 (_POSIX_SPIN_LOCKS): Define macro to -1.
34178 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34179 SA_NODEFER, SA_RESETHAND.
34180 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34181 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34184 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34186 * elf/Makefile (pldd-modules): Define unconditionally.
34188 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34190 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34192 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34194 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34195 Return ENOENT when name is empty.
34196 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34198 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34200 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34202 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34204 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34206 Fix mlock in all cases except non-readable pages.
34207 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34208 instead of VM_PROT_ALL as parameter to __vm_wire function.
34210 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34211 (__mkdir): When path is `/', just fail with EEXIST.
34212 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34214 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34216 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34217 <sys/uio.h> (for writev).
34218 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34219 and <sys/param.h> (for MIN).
34221 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34223 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34224 REQUESTED_TIME. Properly set the remaining time and return EINTR
34227 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34229 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34230 Depend on against $(link-rpcuserlibs).
34232 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34234 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34235 (__libc_stack_end): Do not use attribute_relro.
34236 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34237 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34238 to libthread-provided value.
34239 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34242 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34245 * bits/libc-lock.h (__libc_once_get): New macro.
34246 * sysdeps/mach/bits/libc-lock.h: Likewise.
34247 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34248 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34249 instead of using implementation details.
34251 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34252 * libio/freopen.c: Likewise.
34253 * libio/freopen64.c: Likewise.
34254 * misc/syslog.c: Likewise.
34255 * nscd/connections.c: Likewise.
34256 * nscd/netgroupcache.c: Likewise.
34257 * sysdeps/posix/getcwd.c: Likewise.
34259 2012-05-10 Roland McGrath <roland@hack.frob.com>
34261 * math/w_ilogbf.c: Add #include <limits.h>.
34263 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34265 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34266 path instead of returning without unlocking.
34268 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34269 immediate-write ioctls.
34270 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34272 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34274 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34275 __builtin_frame_address instead of making assumptions about the
34276 location of the return address relative to DATA. Force early load of
34277 the return address.
34278 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34279 __builtin_frame_address.
34282 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34283 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34284 implement dup3 and do some further code clean-ups.
34285 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34286 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34288 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34290 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34292 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34293 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34294 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34295 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34296 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34299 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34300 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34301 when handler == SIG_ERR, not when handler != SIG_ERR.
34303 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34305 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34306 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34309 accept4 for GNU Hurd.
34310 * include/sys/socket.h (__libc_accept4): New prototype.
34311 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34312 to implement __libc_accept4.
34313 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34315 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34317 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34318 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34319 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34320 signal-defines.sym.
34322 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34324 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34326 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34328 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34329 assertion on O_CLOEXEC flag.
34330 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34331 * hurd/intern-fd.c: Likewise.
34332 * hurd/port2fd.c: Likewise.
34334 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34337 * bits/in.h (IPV6_PKTINFO): Define new macro.
34338 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34340 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34345 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34346 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34347 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34348 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34350 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34351 * math/libm-test.inc (logb_test) : Additional logb tests.
34353 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34354 Andreas Jaeger <aj@suse.de>
34356 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34357 * configure: Regenerated.
34358 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34359 * config.make.in (link-obsolete-rpc): New substituted variable.
34360 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34361 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34362 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34363 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34364 so that libc.a contains the symbols.
34365 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34366 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34367 * sunrpc/auth_none.c: Likewise.
34368 * sunrpc/auth_unix.c: Likewise.
34369 * sunrpc/authdes_prot.c: Likewise.
34370 * sunrpc/authuxprot.c: Likewise.
34371 * sunrpc/clnt_gen.c: Likewise.
34372 * sunrpc/clnt_perr.c: Likewise.
34373 * sunrpc/clnt_raw.c: Likewise.
34374 * sunrpc/clnt_simp.c: Likewise.
34375 * sunrpc/clnt_tcp.c: Likewise.
34376 * sunrpc/clnt_udp.c: Likewise.
34377 * sunrpc/clnt_unix.c: Likewise.
34378 * sunrpc/des_crypt.c: Likewise.
34379 * sunrpc/des_soft.c: Likewise.
34380 * sunrpc/get_myaddr.c: Likewise.
34381 * sunrpc/key_call.c: Likewise.
34382 * sunrpc/key_prot.c: Likewise.
34383 * sunrpc/netname.c: Likewise.
34384 * sunrpc/pm_getmaps.c: Likewise.
34385 * sunrpc/pm_getport.c: Likewise.
34386 * sunrpc/pmap_clnt.c: Likewise.
34387 * sunrpc/pmap_prot.c: Likewise.
34388 * sunrpc/pmap_prot2.c: Likewise.
34389 * sunrpc/pmap_rmt.c: Likewise.
34390 * sunrpc/publickey.c: Likewise.
34391 * sunrpc/rpc_cmsg.c: Likewise.
34392 * sunrpc/rpc_common.c: Likewise.
34393 * sunrpc/rpc_dtable.c: Likewise.
34394 * sunrpc/rpc_prot.c: Likewise.
34395 * sunrpc/rpc_thread.c: Likewise.
34396 * sunrpc/rtime.c: Likewise.
34397 * sunrpc/svc.c: Likewise.
34398 * sunrpc/svc_auth.c: Likewise.
34399 * sunrpc/svc_raw.c: Likewise.
34400 * sunrpc/svc_run.c: Likewise.
34401 * sunrpc/svc_tcp.c: Likewise.
34402 * sunrpc/svc_udp.c: Likewise.
34403 * sunrpc/svc_unix.c: Likewise.
34404 * sunrpc/svcauth_des.c: Likewise.
34405 * sunrpc/xcrypt.c: Likewise.
34406 * sunrpc/xdr.c: Likewise.
34407 * sunrpc/xdr_array.c: Likewise.
34408 * sunrpc/xdr_float.c: Likewise.
34409 * sunrpc/xdr_intXX_t.c: Likewise.
34410 * sunrpc/xdr_mem.c: Likewise.
34411 * sunrpc/xdr_rec.c: Likewise.
34412 * sunrpc/xdr_ref.c: Likewise.
34413 * sunrpc/xdr_sizeof.c: Likewise.
34414 * sunrpc/xdr_stdio.c: Likewise.
34416 2012-05-10 Roland McGrath <roland@hack.frob.com>
34418 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34419 change. Update copyright years.
34421 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34423 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34425 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34426 Joseph Myers <joseph@codesourcery.com>
34427 Paul Pluzhnikov <ppluzhnikov@google.com>
34430 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34432 [cross-compiling] (extra-libs): Likewise.
34433 [cross-compiling] (extra-libs-others): Likewise.
34434 [cross-compiling] (librpcsvc-routines): Likewise.
34435 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34436 [cross-compiling] (omit-deps): Likewise.
34437 (sunrpc-CPPFLAGS): New variable.
34438 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34439 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34440 (cross-rpcgen-objs): New variable.
34441 (extra-objs): Append $(cross-rpcgen-objs).
34442 ($(cross-rpcgen-objs)): New rule.
34443 ($(objpfx)cross-rpcgen): Likewise.
34444 (rpcgen-cmd): Define to use $(built-program-file). Expand
34446 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34447 ($(objpfx)x%.stmp): Likewise.
34448 * sunrpc/proto.h [IS_IN_build] (_): Define.
34449 [IS_IN_build] (_libc_intl_domainname): Likewise.
34451 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34454 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34455 and R_X86_64_TPOFF64.
34457 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34459 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34460 sysdeps/unix/sysv/syscalls.list.
34463 * sysdeps/unix/sysv/syscalls.list: Remove file.
34465 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34468 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34469 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34470 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34471 (__LC_IDENTIFICATION): Make these macros useful in #if
34472 expressions, as required by C99.
34474 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34476 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34477 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34480 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34482 * stdlib/longlong.h: Updated from GCC.
34484 2012-05-09 Andreas Jaeger <aj@suse.de>
34486 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34487 default is first entry.
34488 (run_mode): Set type.
34489 (main): Remove informal message about syslog.
34490 (options): Fix typo.
34493 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34496 (llrintf): Likewise.
34497 (llrint): Likewise.
34500 (nearbyint): Likewise.
34501 (nearbyintf): Likewise.
34503 2012-05-09 Andreas Jaeger <aj@suse.de>
34504 Pedro Alves <palves@redhat.com>
34506 * nscd/nscd.c (run_mode): Use enum.
34507 (main): Cleanup coding style issue.
34509 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34510 Andreas Jaeger <aj@suse.de>
34512 * nscd/nscd.c (go_background): Replaced with...
34513 (run_mode): ... this.
34514 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34515 (options): Add -F --foreground.
34516 (main): Implement it.
34517 (parse_opt): Parse it.
34519 2012-05-09 Andreas Jaeger <aj@suse.de>
34522 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34523 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34524 -Wconversion warning.
34525 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34528 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34530 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34532 (LC_ALL): Use macro-int-constant.
34533 (LC_COLLATE): Likewise.
34534 (LC_CTYPE): Likewise.
34535 (LC_MESSAGES): Likewise.
34536 (LC_MONETARY): Likewise.
34537 (LC_NUMERIC): Likewise.
34538 (LC_TIME): Likewise.
34539 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34540 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34541 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34542 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34544 [C99-based standards] (float_t): Expect type.
34545 [C99-based standards] (double_t): Expect type.
34546 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34548 [C99-based standards] (HUGE_VALL): Likewise.
34549 [C99-based standards] (INFINITY): Likewise.
34550 [C99-based standards] (NAN): Likewise.
34551 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34552 [C99-based standards] (FP_NAN): Likewise.
34553 [C99-based standards] (FP_NORMAL): Likewise.
34554 [C99-based standards] (FP_SUBNORMAL): Likewise.
34555 [C99-based standards] (FP_ZERO): Likewise.
34556 [C99-based standards] (FP_FAST_FMA): Use
34557 optional-macro-int-constant. Specify type. Require == 1.
34558 [C99-based standards] (FP_FAST_FMAF): Likewise.
34559 [C99-based standards] (FP_FAST_FMAL): Likewise.
34560 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34561 [C99-based standards] (FP_ILOGBNAN): Likewise.
34562 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34564 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34565 [C99-based standards] (math_errhandling): Specify type.
34566 [ISO99 || ISO11] (signgam): Do not allow.
34567 [non-C99-based standards] (copysignf): Do not allow.
34568 [non-C99-based standards] (exp2f): Likewise.
34569 [non-C99-based standards] (log2f): Likewise.
34570 [non-C99-based standards] (modff): Allow.
34571 [non-C99-based standards] (erff): Do not allow.
34572 [non-C99-based standards] (erfcf): Likewise.
34573 [non-C99-based standards] (gammaf): Likewise.
34574 [non-C99-based standards] (hypotf): Likewise.
34575 [non-C99-based standards] (j0f): Likewise.
34576 [non-C99-based standards] (j1f): Likewise.
34577 [non-C99-based standards] (jnf): Likewise.
34578 [non-C99-based standards] (lgammaf): Likewise.
34579 [non-C99-based standards] (tgammaf): Likewise.
34580 [non-C99-based standards] (y0f): Likewise.
34581 [non-C99-based standards] (y1f): Likewise.
34582 [non-C99-based standards] (ynf): Likewise.
34583 [non-C99-based standards] (isnanf): Likewise.
34584 [non-C99-based standards] (acoshf): Likewise.
34585 [non-C99-based standards] (asinhf): Likewise.
34586 [non-C99-based standards] (atanhf): Likewise.
34587 [non-C99-based standards] (cbrtf): Likewise.
34588 [non-C99-based standards] (expm1f): Likewise.
34589 [non-C99-based standards] (ilogbf): Likewise.
34590 [non-C99-based standards] (log1pf): Likewise.
34591 [non-C99-based standards] (logbf): Likewise.
34592 [non-C99-based standards] (nextafterf): Likewise.
34593 [non-C99-based standards] (remainderf): Likewise.
34594 [non-C99-based standards] (rintf): Likewise.
34595 [non-C99-based standards] (scalbf): Likewise.
34596 [non-C99-based standards] (copysignl): Likewise.
34597 [non-C99-based standards] (exp2l): Likewise.
34598 [non-C99-based standards] (log2l): Likewise.
34599 [non-C99-based standards] (modfl): Allow.
34600 [non-C99-based standards] (erfl): Do not allow.
34601 [non-C99-based standards] (erfcl): Likewise.
34602 [non-C99-based standards] (gammal): Likewise.
34603 [non-C99-based standards] (hypotl): Likewise.
34604 [non-C99-based standards] (j0l): Likewise.
34605 [non-C99-based standards] (j1l): Likewise.
34606 [non-C99-based standards] (jnl): Likewise.
34607 [non-C99-based standards] (lgammal): Likewise.
34608 [non-C99-based standards] (tgammal): Likewise.
34609 [non-C99-based standards] (y0l): Likewise.
34610 [non-C99-based standards] (y1l): Likewise.
34611 [non-C99-based standards] (ynl): Likewise.
34612 [non-C99-based standards] (isnanl): Likewise.
34613 [non-C99-based standards] (acoshl): Likewise.
34614 [non-C99-based standards] (asinhl): Likewise.
34615 [non-C99-based standards] (atanhl): Likewise.
34616 [non-C99-based standards] (cbrtl): Likewise.
34617 [non-C99-based standards] (expm1l): Likewise.
34618 [non-C99-based standards] (ilogbl): Likewise.
34619 [non-C99-based standards] (log1pl): Likewise.
34620 [non-C99-based standards] (logbl): Likewise.
34621 [non-C99-based standards] (nextafterl): Likewise.
34622 [non-C99-based standards] (remainderl): Likewise.
34623 [non-C99-based standards] (rintl): Likewise.
34624 [non-C99-based standards] (scalbl): Likewise.
34625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34626 [non-C99-based standards] (FP_*): Do not allow.
34627 [C99-based standards] (FP_*): Change to
34628 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34629 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34631 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34632 (SIG_ERR): Likewise.
34633 [X/Open-based standards] (SIG_HOLD): Likewise.
34634 (SIG_IGN): Likewise.
34635 (SIGABRT): Use macro-int-constant. Specify type. Require
34637 (SIGFPE): Likewise.
34638 (SIGILL): Likewise.
34639 (SIGINT): Likewise.
34640 (SIGSEGV): Likewise.
34641 (SIGTER): Likewise.
34642 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34643 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34644 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34645 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34646 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34647 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34648 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34649 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34650 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34651 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34652 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34653 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34654 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34655 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34656 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34657 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34658 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34659 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34660 [X/Open-based standards] (SIGTRAP): Likewise.
34661 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34662 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34663 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34664 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34665 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34668 2012-05-08 Ian Wienand <ianw@vmware.com>
34671 * time/tzset.c (__tzset_parse_tz): Update default rules for
34672 daylight time changes in the Energy Policy Act of 2005.
34674 2012-05-09 Andreas Jaeger <aj@suse.de>
34677 * elf/ldconfig.c (parse_conf): Change string to make clear that
34678 ldconfig only issued a warning if ld.so.conf does not exist.
34680 2012-05-08 David S. Miller <davem@davemloft.net>
34682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34683 movxtod instead of popping the value on the stack.
34685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34687 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34689 * config.h.in: Add HAVE_ARM_PCS_VFP.
34691 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34694 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34695 checking but the checks are disabled for any reason.
34697 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34699 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34700 and ELF64_R_TYPE with ELFW(R_TYPE).
34702 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34704 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34705 (ulimit): Likewise.
34707 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34708 (settimeofday): Likewise.
34710 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34712 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34713 a struct th_u2 inside the union, and move tu_block/tu_code into
34714 a new th_u3 union of tu_block/tu_code inside of that. Move
34715 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34716 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34717 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34718 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34719 (th_stuff): Change to th_u1.tu_stuff.
34721 (th_msg): Change to th_u1.th_u2.tu_data.
34723 2012-05-07 David S. Miller <davem@davemloft.net>
34725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34728 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34729 (SETUP_PIC_REG): Use it.
34730 (SETUP_PIC_REG_LEAF): Use it.
34732 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34736 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34738 (EXPL_FINITE): Likewise.
34739 (FLDLOG): Likewise.
34740 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34741 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34743 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34745 (EXPL_FINITE): Likewise.
34746 (FLDLOG): Likewise.
34747 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34748 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34750 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34751 test of -max_value argument for long double.
34752 * sysdeps/i386/fpu/libm-test-ulps: Update.
34753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34755 2012-05-06 David S. Miller <davem@davemloft.net>
34757 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34758 quad soft-float symbols whose references which are compiler
34760 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34762 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34766 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34768 (EXPL_FINITE): Likewise.
34769 (FLDLOG): Likewise.
34772 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34773 Adjust comments for base varying.
34774 (__expl_finite): Change alias to EXPL_FINITE.
34775 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34777 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34778 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34779 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34780 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34781 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34783 (EXPL_FINITE): Likewise.
34784 (FLDLOG): Likewise.
34787 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34788 Adjust comments for base varying.
34789 (__expl_finite): Change alias to EXPL_FINITE.
34790 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34795 * math/libm-test.inc (check_float_internal): Correct ulp
34796 calculation for subnormal expected results.
34798 2012-05-06 Andreas Jaeger <aj@suse.de>
34800 * Makeconfig (+math-flags): New, set to -frounding-math.
34801 (+cflags): Add +math-flags so that all of glibc gets compiled with
34804 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34806 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34808 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34814 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34815 (__ieee754_expl): Allow for and saturate large arguments.
34816 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34817 (u_threshold): Likewise.
34818 (__exp): Call __ieee754_exp before checking for overflow and
34820 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34821 (u_threshold): Likewise.
34822 (__expf): Call __ieee754_expf before checking for overflow and
34824 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34825 (u_threshold): Likewise.
34826 (__expl): Call __ieee754_expl before checking for overflow and
34828 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34829 (__ieee754_expl): Allow for and saturate large arguments.
34830 * math/libm-test.inc (exp_test): Add another test. Do not allow
34831 missing overflow exception on overflow.
34832 (expm1_test): Do not allow missing overflow exception on overflow.
34834 * sysdeps/i386/fpu/e_expl.c: Move to ...
34835 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34836 rather than using inline asm.
34837 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34838 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34839 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34841 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34844 (signal): Likewise.
34848 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34850 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34851 sysdeps/unix/common/syscalls.list.
34852 (fchmod): Likewise.
34853 (fchown): Likewise.
34854 (ftruncate): Likewise.
34855 (getrusage): Likewise.
34856 (gettimeofday): Likewise.
34857 (setpgid): Likewise.
34858 (setregid): Likewise.
34859 (setreuid): Likewise.
34860 (sigaction): Likewise.
34861 (truncate): Likewise.
34862 (vhangup): Likewise.
34863 * sysdeps/unix/common/syscalls.list: Remove file.
34864 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34865 * sysdeps/unix/sysv/linux/Implies: Likewise.
34867 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34869 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34871 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34875 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34878 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34881 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34884 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34887 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34890 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34893 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34897 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34901 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34904 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34908 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34912 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34914 * sysdeps/unix/common/bits/dirent.h: Remove file.
34915 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34917 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34918 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34919 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34920 * sysdeps/unix/bsd/isatty.c: Likewise.
34921 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34922 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34923 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34925 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34928 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34929 long double comparison inaccuracies.
34930 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34933 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34935 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34936 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34938 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34941 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34942 nonzero digits before rounding a hex value.
34943 * stdlib/tst-strtod.c (tests): Add another test.
34945 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34947 * sysdeps/s390/fpu/libm-test-ulps: Update.
34949 2012-05-03 Andreas Jaeger <aj@suse.de>
34951 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34952 does not get optimized out.
34953 (malloc_opt_barrier): New.
34955 2012-05-03 Andreas Jaeger <aj@suse.de>
34956 Roland McGrath <roland@hack.frob.com>
34958 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34959 intermediate file deletion.
34960 (generated): Add .symlist files.
34962 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34965 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34966 Redirect under this condition.
34967 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34968 [__USE_GNU] (__dprintf_chk): Not under this condition.
34969 [__USE_GNU] (__vdprintf_chk): Likewise.
34970 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34971 under this condition.
34972 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34973 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34974 [__USE_XOPEN2K8] (vdprintf): Likewise.
34975 [__USE_GNU] (__dprintf_chk): Not under this condition.
34976 [__USE_GNU] (__vdprintf_chk): Likewise.
34977 [__USE_GNU] (dprintf): Likewise.
34978 [__USE_GNU] (vdprintf): Likewise.
34980 2012-05-03 Roland McGrath <roland@hack.frob.com>
34982 * elf/Makefile (common-generated): Set this instead of generated for
34983 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34984 $(all-built-dso)-derived lists.
34986 2012-05-03 Andreas Jaeger <aj@suse.de>
34988 * sysdeps/i386/fpu/libm-test-ulps: Update.
34991 * FAQ.in: Likewise.
34992 * scripts/gen-FAQ.pl: Likewise.
34993 * manual/install.texi (Installation): Point to online location of
34995 * Makefile (files-for-dist): Remove FAQ.
34998 2012-05-02 Allan McRae <allan@archlinux.org>
35000 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35001 (LDFLAGS-reldepmod5.so): Likewise.
35002 (LDFLAGS-reldep6mod1.so): Likewise.
35003 (LDFLAGS-reldep6mod4.so): Likewise.
35004 (LDFLAGS-reldep8mod3.so): Likewise.
35005 (LDFLAGS-unload4mod1.so): Likewise.
35006 (LDFLAGS-unload4mod2.so): Likewise.
35007 (LDFLAGS-tst-initorder): Likewise.
35008 (LDFLAGS-tst-initordera2.so): Likewise.
35009 (LDFLAGS-tst-initordera3.so): Likewise.
35010 (LDFLAGS-tst-initordera4.so): Likewise.
35011 (LDFLAGS-tst-initorderb2.so): Likewise.
35012 (LDFLAGS-noload): Likewise.
35013 (LDFLAGS-next): Likewise.
35014 (LDFLAGS-order2mod1.so): Likewise.
35015 (LDFLAGS-order2mod2.so): Likewise.
35016 (LDFLAGS-tst-initorder2): Likewise.
35017 (LDFLAGS-tst-initorder2a.so): Likewise.
35018 (LDFLAGS-tst-initorder2b.so): Likewise.
35019 (LDFLAGS-tst-initorder2c.so): Likewise.
35020 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35022 2012-05-02 David S. Miller <davem@davemloft.net>
35024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35026 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35029 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35031 2012-05-02 Andreas Jaeger <aj@suse.de>
35033 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35034 since we manipulate rounding mode.
35035 (CPPFLAGS-test-idouble.c): Likewise.
35036 (CPPFLAGS-test-ifloat.c): Likewise.
35037 (CFLAGS-test-ldouble.c): Likewise.
35038 (CFLAGS-test-double.c): Likewise.
35039 (CFLAGS-test-float.c): Likewise.
35040 (CFLAGS-test-misc.c): Likewise.
35041 (CFLAGS-test-test-fenv.c): Likewise.
35043 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35047 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35048 comparisons to determine direction to adjust input.
35050 2012-05-01 Roland McGrath <roland@hack.frob.com>
35052 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35053 output to the target.
35055 * scripts/localplt.awk: New file.
35056 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35057 (check-localplt-CFLAGS): Variable removed.
35058 ($(all-built-dso:=.jmprel)): New static pattern rule.
35059 (generated): Add those targets.
35060 (localplt-built-dso): New variable.
35061 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35063 * elf/check-localplt.c: File removed.
35065 * scripts/check-execstack.awk: New file.
35066 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35067 (check-execstack-CFLAGS): Variable removed.
35068 ($(objpfx)check-execstack.h): Target removed.
35069 ($(objpfx)execstack-default): New target.
35070 (generated): Add that instead of check-execstack.h.
35071 ($(all-built-dso:=.phdr)): New static pattern rule.
35072 (generated): Add those targets.
35073 * elf/check-execstack.c: File removed.
35075 * scripts/check-textrel.awk: New file.
35076 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35077 (check-textrel-CFLAGS): Variable removed.
35078 (all-built-dso): Use := to define.o
35079 ($(all-built-dso:=.dyn)): New static pattern rule.
35080 (generated): Add those targets.
35081 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35082 * config.make.in (READELF): New substituted variable.
35083 * elf/check-textrel.c: File removed.
35085 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35087 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35089 * conform/data/ctype.h-data [C99-based standards] (isblank):
35091 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35092 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35094 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35095 Specify type. Require positive value.
35096 (EILSEQ): Likewise.
35097 (ERANGE): Likewise.
35098 [ISO || POSIX] (EILSEQ): Do not expect.
35099 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35100 Specify type. Require positive value.
35101 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35102 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35103 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35104 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35105 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35106 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35107 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35108 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35109 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35110 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35111 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35112 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35113 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35114 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35115 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35116 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35117 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35118 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35119 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35120 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35121 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35122 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35123 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35124 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35125 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35126 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35127 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35128 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35129 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35130 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35131 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35132 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35133 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35134 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35135 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35136 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35137 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35138 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35139 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35140 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35141 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35142 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35143 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35144 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35145 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35146 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35147 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35148 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35149 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35150 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35151 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35152 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35153 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35154 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35155 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35156 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35157 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35158 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35159 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35160 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35161 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35162 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35163 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35164 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35165 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35166 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35167 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35168 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35169 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35170 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35171 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35172 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35173 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35174 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35175 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35176 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35177 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35179 (FLT_ROUNDS): Expect as macro, not constant.
35180 (FLT_MANT_DIG): Use macro-int-constant.
35181 (DBL_MANT_DIG): Likewise.
35182 (LDBL_MANT_DIG): Likewise.
35183 (FLT_DIG): Likewise.
35184 (DBL_DIG): Likewise.
35185 (LDBL_DIG): Likewise.
35186 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35187 (DBL_MIN_EXP): Likewise.
35188 (LDBL_MIN_EXP): Likewise.
35189 (FLT_MAX_EXP): Use macro-int-constant.
35190 (DBL_MAX_EXP): Likewise.
35191 (LDBL_MAX_EXP): Likewise.
35192 (FLT_MAX_10_EXP): Likewise.
35193 (DBL_MAX_10_EXP): Likewise.
35194 (LDBL_MAX_10_EXP): Likewise.
35195 (FLT_MAX): Use macro-constant.
35196 (DBL_MAX): Likewise.
35197 (LDBL_MAX): Likewise.
35198 (FLT_EPSILON): Use macro-constant. Give upper bound.
35199 (DBL_EPSILON): Likewise.
35200 (LDBL_EPSILON): Likewise.
35201 (FLT_MIN): Likewise.
35202 (DBL_MIN): Likewise.
35203 (LDBL_MIN): Likewise.
35204 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35205 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35206 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35207 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35208 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35209 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35210 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35211 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35212 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35213 [ISO11] (FLT_TRUE_MIN): Likewise.
35214 [ISO11] (LDBL_TRUE_MIN): Likewise.
35215 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35216 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35217 (SCHAR_MIN): Use macro-int-constant. Specify type.
35218 (SCHAR_MAX): Likewise.
35219 (UCHAR_MAX): Likewise.
35220 (CHAR_MIN): Likewise.
35221 (CHAR_MAX): Likewise.
35222 (MB_LEN_MAX): Use macro-int-constant.
35223 (SHRT_MIN): Use macro-int-constant. Specify type.
35224 (SHRT_MAX): Likewise.
35225 (USHRT_MAX): Likewise.
35226 (INT_MAX): Likewise.
35227 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35229 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35231 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35233 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35234 bound negative. Suffix upper bound with "L".
35235 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35237 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35239 [C99-based standards] (LLONG_MAX): Likewise.
35240 [C99-based standards] (ULLONG_MAX): Likewise.
35241 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35243 [ISO11] (max_align_t): Require type.
35244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35246 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35247 from $CFLAGS, without defining away __attribute__ calls.
35248 (checknamespace): Use $CFLAGS_namespace.
35250 * conform/conformtest.pl (@keywords): Only include C99 keywords
35251 for standards based on C99 or C11.
35253 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35255 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35258 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35259 usability of symbols in #if.
35261 * conform/conformtest.pl: If macro or constant types start
35262 "promoted:", expect the symbol to be of the following type
35263 promoted by the integer promotions.
35265 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35266 in one place. Also handle "macro-constant".
35268 * conform/conformtest.pl: Only accept expected macro values with
35269 "==". Parse all "macro" lines in one place.
35270 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35272 * conform/conformtest.pl: Handle braced types on "constant" lines
35273 instead of handling "typed-constant".
35274 * conform/data/signal.h-data: Use "constant" instead of
35277 * conform/conformtest.pl: Handle "optional-" at start of lines in
35278 one place rather than duplicating several cases. Handle each
35279 format of "macro" line with initial "optional-".
35281 * conform/conformtest.pl: Only accept expected constant or
35282 optional-constant values with "==". Parse all "constant" lines in
35283 one place. Parse all "optional-constant" lines in one place.
35284 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35285 * conform/data/fmtmsg.h-data: Likewise.
35286 * conform/data/netinet/in.h-data: Likewise.
35287 * conform/data/tar.h-data: Likewise.
35288 * conform/data/limits.h-data: Use "==" form on "constant" and
35289 "optional-constant" lines.
35291 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35292 Use -std=c99 for XOPEN2K.
35293 (@knownproblems): Remove.
35294 (newtoken): Don't check %isknown.
35296 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35297 Do not expect macro.
35298 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35299 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35300 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35301 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35302 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35303 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35304 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35305 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35306 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35307 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35308 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35309 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35310 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35311 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35312 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35313 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35314 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35315 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35316 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35317 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35318 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35319 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35320 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35321 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35322 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35323 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35324 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35325 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35326 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35327 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35328 [XPG3] (acosh): Likewise.
35329 [XPG3] (asinh): Likewise.
35330 [XPG3] (atanh): Likewise.
35331 [XPG3] (cbrt): Likewise.
35332 [XPG3] (expm1): Likewise.
35333 [XPG3] (ilogb): Likewise.
35334 [XPG3] (log1p): Likewise.
35335 [XPG3] (logb): Likewise.
35336 [XPG3] (nextafter): Likewise.
35337 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35338 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35339 [XPG3] (remainder): Likewise.
35340 [XPG3] (rint): Likewise.
35341 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35342 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35343 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35344 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35345 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35346 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35347 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35348 [UNIX98 || XOPEN2K] (scalb): Expect.
35349 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35350 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35351 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35352 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35353 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35354 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35355 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35356 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35357 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35358 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35359 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35360 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35361 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35362 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35363 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35364 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35365 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35366 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35367 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35368 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35369 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35370 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35371 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35372 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35373 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35374 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35375 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35376 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35377 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35378 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35379 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35380 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35381 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35382 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35383 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35384 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35385 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35386 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35387 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35388 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35389 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35390 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35391 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35392 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35393 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35394 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35395 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35396 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35397 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35398 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35399 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35400 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35401 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35402 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35403 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35404 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35405 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35406 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35407 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35408 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35409 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35410 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35411 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35412 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35413 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35414 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35415 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35416 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35417 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35418 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35419 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35420 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35421 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35422 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35423 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35424 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35425 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35426 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35427 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35428 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35429 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35430 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35431 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35432 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35433 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35434 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35435 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35436 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35437 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35438 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35439 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35440 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35441 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35442 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35443 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35444 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35445 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35446 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35447 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35448 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35449 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35450 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35451 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35452 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35453 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35454 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35455 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35456 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35457 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35458 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35459 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35460 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35461 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35462 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35463 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35464 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35465 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35466 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35467 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35468 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35469 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35470 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35471 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35472 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35473 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35474 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35475 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35476 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35477 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35478 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35479 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35480 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35481 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35482 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35483 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35484 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35485 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35487 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35488 _XOPEN_SOURCE_EXTENDED for XPG4.
35490 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35492 * Makeconfig (localtime): Remove variable.
35493 (inst_localtime-file): Likewise.
35495 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35516 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35520 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35521 comparisons to determine direction to adjust input.
35522 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35523 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35524 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35526 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35528 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35530 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35531 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35533 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35535 * math/libm-test.inc (nexttoward_test): Add more tests.
35537 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35540 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35541 in version GLIBC_2.1, not GLIBC_2.0.
35542 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35545 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35548 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35550 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35551 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35552 * math/libm-test.inc (acos_test): Add more tests.
35553 (asin_test): Likewise.
35554 * sysdeps/i386/fpu/libm-test-ulps: Update.
35555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35558 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35560 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35561 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35562 * math/libm-test.inc (acos_test_tonearest): New function.
35563 (acos_test_towardzero): Likewise.
35564 (acos_test_downward): Likewise.
35565 (acos_test_upward): Likewise.
35566 (asin_test_tonearest): Likewise.
35567 (asin_test_towardzero): Likewise.
35568 (asin_test_downward): Likewise.
35569 (asin_test_upward): Likewise.
35570 (main): Call the new functions.
35571 * sysdeps/i386/fpu/libm-test-ulps: Update.
35572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35576 * math/e_exp10.c: Include <float.h>.
35577 (__ieee754_exp10): Handle underflow here rather than multiplying
35578 large negative argument by M_LN10.
35579 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35581 * math/e_exp10l.c: Include <float.h>.
35582 (__ieee754_exp10l): Handle underflow here rather than multiplying
35583 large negative argument by M_LN10l.
35584 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35585 spurious overflow exception on underflow.
35587 2012-04-29 Marek Polacek <polacek@redhat.com>
35589 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35590 (__fortify_function): New macro.
35591 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35592 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35593 __extern_always_inline.
35594 * libio/bits/stdio2.h: Likewise.
35595 * libio/bits/stdio.h: Likewise.
35596 * string/string.h: Likewise.
35597 * string/bits/string3.h: Likewise.
35598 * include/stdio.h: Likewise.
35599 * stdlib/bits/stdlib.h: Likewise.
35600 * stdlib/stdlib.h: Likewise.
35601 * rt/bits/mqueue2.h: Likewise.
35602 * rt/mqueue.h: Likewise.
35603 * posix/bits/unistd.h: Likewise.
35604 * posix/unistd.h: Likewise.
35605 * io/bits/poll2.h: Likewise.
35606 * io/bits/fcntl2.h: Likewise.
35607 * io/fcntl.h: Likewise.
35608 * io/sys/poll.h: Likewise.
35609 * misc/bits/syslog.h: Likewise.
35610 * misc/bits/syslog-ldbl.h: Likewise.
35611 * misc/sys/syslog.h: Likewise.
35612 * socket/bits/socket2.h: Likewise.
35613 * socket/sys/socket.h: Likewise.
35614 * debug/tst-chk1.c: Likewise.
35615 * wcsmbs/bits/wchar2.h: Likewise.
35616 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35617 * wcsmbs/wchar.h: Likewise.
35619 2012-04-29 Andreas Jaeger <aj@suse.de>
35621 * Makerules (tests): Remove enable-check-abi protection.
35622 (check-abi-warn): Remove.
35623 (check-abi-%): Remove check-abi-warn usage.
35625 * configure.in: Remove check-abi configure option.
35626 * configure: Regenerated.
35627 * config.make.in (enable-check-abi): Remove.
35629 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35632 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35633 double functions to double *_finite functions.
35636 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35637 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35639 * stdio-common/Makefile (tests): Add tst-sprintf3.
35640 * stdio-common/tst-sprintf3.c: New file.
35642 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35643 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35645 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35647 * conform/conformtest.pl: Remove duplicate typed-constant
35650 2012-04-28 David S. Miller <davem@davemloft.net>
35652 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35653 (check-abi-%): Remove AWK script prerequisite and explicit
35655 (check-abi): Rewrite to just diff the symlist with the abilist.
35656 (config-tls, config-abi-config): Delete, no longer used.
35657 (update-abi-%): Remove AWK script and explicit abilist directory.
35658 (update-abi): Rewrite to simply compare and conditionally copy the
35659 symlist and the sysdep abilist file. Remove update-abi-config
35661 * abilist/ld.abilist: Remove.
35662 * abilist/libBrokenLocale.abilist: Remove.
35663 * abilist/libanl.abilist: Remove.
35664 * abilist/libcrypt.abilist: Remove.
35665 * abilist/libdl.abilist: Remove.
35666 * abilist/librt.abilist: Remove.
35667 * abilist/libthread_db.abilist: Remove.
35668 * abilist/libutil.abilist: Remove.
35669 * scripts/extract-abilist.awk: Remove.
35670 * scripts/merge-abilist.awk: Remove.
35671 * sysdeps/generic/libcidn.abilist: New file.
35672 * sysdeps/generic/libnss_compat.abilist: New file.
35673 * sysdeps/generic/libnss_db.abilist: New file.
35674 * sysdeps/generic/libnss_dns.abilist: New file.
35675 * sysdeps/generic/libnss_files.abilist: New file.
35676 * sysdeps/generic/libnss_hesiod.abilist: New file.
35677 * sysdeps/generic/libnss_nis.abilist: New file.
35678 * sysdeps/generic/libnss_nisplus.abilist: New file.
35679 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35680 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35681 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35683 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35684 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35685 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35686 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35687 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35688 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35689 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35690 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35691 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35693 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35694 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35695 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35696 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35698 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35699 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35700 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35701 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35702 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35703 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35705 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35706 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35707 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35709 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35730 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35734 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35812 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35813 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35814 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35816 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35817 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35818 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35819 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35820 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35821 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35822 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35823 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35824 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35825 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35877 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35879 * conform/conformtest.pl: Fix typo in handling typed-constant from
35882 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35884 * README: Cut down references to pre-2.6 Linux kernels and
35885 Linuxthreads. Update lists of configurations in libc and ports
35886 and sort alphabetically. Say "or newer" with Linux kernel version
35889 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35891 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35894 * math/libm-test.inc (logb_test_downward): New test to expose
35895 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35898 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35901 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35903 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35904 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35906 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35908 * sysdeps/unix/i386/brk.S: Remove file.
35909 * sysdeps/unix/i386/dl-brk.S: Likewise.
35910 * sysdeps/unix/i386/pipe.S: Likewise.
35911 * sysdeps/unix/i386/sigreturn.S: Likewise.
35912 * sysdeps/unix/i386/syscall.S: Likewise.
35913 * sysdeps/unix/i386/vfork.S: Likewise.
35914 * sysdeps/unix/i386/wait.S: Likewise.
35916 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35917 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35919 * configure.in (arm*-none*): Do not allow without
35920 --enable-hacker-mode.
35921 (netbsd*): Remove case setting base_os.
35922 (386bsd*): Likewise.
35923 (freebsd*): Likewise.
35926 (sunos*): Likewise.
35927 (ultrix*): Likewise.
35928 (newsos*): Likewise.
35929 (dynix*): Likewise.
35935 (minix*): Likewise.
35936 (irix4*): Likewise.
35937 (irix6*): Likewise.
35938 (solaris[2-9]*): Likewise.
35940 * configure: Regenerated.
35942 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35945 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35946 overflow or cancellation in calculating denominator.
35947 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35948 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35949 down expression to avoid unexpected rounding in newer GCCs.
35950 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35952 2012-04-26 David S. Miller <davem@davemloft.net>
35954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35955 long-double compat symbols.
35956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35970 2012-04-25 David S. Miller <davem@davemloft.net>
35972 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35973 HWCAP_* values only after the memory barriers have been defined.
35974 (atomic_full_barrier): Define.
35975 (atomic_read_barrier): Define.
35976 (atomic_write_barrier): Define.
35978 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35980 * shlib-versions: Add libgcc_s version information.
35981 * sysdeps/generic/libgcc_s.h: Remove.
35982 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35984 * sysdeps/gnu/unwind-resume.c: Likewise.
35985 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35987 2012-04-25 David S. Miller <davem@davemloft.net>
35989 * sysdeps/unix/sparc/brk.S: Delete.
35990 * sysdeps/unix/sparc/dl-brk.S: Delete.
35991 * sysdeps/unix/sparc/pipe.S: Delete.
35992 * sysdeps/unix/sparc/sysdep.S: Delete.
35993 * sysdeps/unix/sparc/sysdep.h: Delete.
35994 * sysdeps/unix/sparc/vfork.S: Delete.
35995 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35996 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35997 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35998 (ret_ERRVAL, r0, r1, MOVE): Define.
35999 (JUMPTARGET): Remove.
36000 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36001 sysdeps/unix/sparc/sysdep.h
36002 (ENTRY, END): Remove.
36003 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36005 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36007 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36008 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36011 * timezone/README: Update upstream location and email address for
36013 * timezone/zdump.c: Update from tzcode 2012b.
36014 * timezone/zic.c: Likewise.
36016 * configure.in (libc_cv_as_needed): Remove test.
36017 * configure: Regenerated.
36018 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36019 conditional definition.
36020 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36021 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36022 * config.make.in (have-as-needed): Remove variable.
36024 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36025 Paul Pluzhnikov <ppluzhnikov@google.com>
36027 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36030 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36032 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36033 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36034 * sysdeps/sh/strlen.S: Likewise.
36036 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36038 * sysdeps/unix/fork.S: Remove file.
36039 * sysdeps/unix/i386/fork.S: Likewise.
36040 * sysdeps/unix/sparc/fork.S: Likewise.
36042 * sysdeps/unix/system.c: Remove file.
36043 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36045 * sysdeps/unix/getegid.S: Remove file.
36046 * sysdeps/unix/geteuid.S: Likewise.
36048 2012-04-24 Roland McGrath <roland@hack.frob.com>
36050 * scripts/check-localplt.awk: New file.
36051 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36053 * scripts/data/localplt-generic.data: Add a comment.
36055 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36056 NODE when __dir_mkfile failed.
36057 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36058 Reported by Ludovic Courtès <ludo@gnu.org>.
36060 2012-04-24 Andreas Jaeger <aj@suse.de>
36062 * Makerules (common-clean): Also remove gen-as-const-headers
36065 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36067 * Makerules (native-compile): Do not change working directory for
36068 build. Use $(OUTPUT_OPTION) in command.
36069 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36071 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36074 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36075 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36076 * math/libm-test.inc (floor_test): Add more tests.
36077 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36079 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36081 * sysdeps/unix/getdents.c: Remove file.
36082 * sysdeps/unix/sysv/getdents.c: Likewise.
36083 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36085 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36086 sysdeps/unix/mman/syscalls.list.
36088 (mprotect): Likewise.
36090 (munmap): Likewise.
36091 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36092 * sysdeps/unix/mman/syscalls.list: Remove.
36093 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36095 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36096 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36097 * configure: Regenerated.
36098 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36099 $(libgcc_s_suffix).
36100 * config.make.in (libgcc_s_suffix): Remove variable.
36102 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36104 * sysdeps/unix/sysv/gethostname.c: Move to ...
36105 * sysdeps/posix/gethostname.c: ... here.
36107 * sysdeps/unix/execve.S: Remove file.
36109 * sysdeps/unix/_exit.S: Remove file.
36111 2012-04-23 Andreas Jaeger <aj@suse.de>
36114 * manual/Makefile: Remove make dist support, there's no
36115 need for a stand-alone documentation tar ball.
36116 (TEXI2DVI): Define always, it's not in Makeconfig.
36119 (edition): Removed.
36120 (glibc-doc-$(edition).tar): Removed
36124 (ETAGS): Remove, it's in Makeconfig.
36125 (move-if-change): Remove, it's in Makeconfig.
36127 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36130 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36131 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36132 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36133 (strtod_l, strtof_l, strtold_l): Remove __wur.
36134 It is not necessarily an error to ignore strtol's return value.
36135 One can reliably look at the stored endptr to decide whether
36136 the number had valid syntax.
36138 2012-04-21 Andreas Jaeger <aj@suse.de>
36141 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36143 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36145 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36146 * sysdeps/unix/sysv/Versions: Remove file.
36148 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36153 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36156 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36157 version from __vm86.
36159 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36161 * sysdeps/unix/common/lxstat.c: Remove file.
36162 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36164 * sysdeps/unix/sysv/Makefile: Remove file.
36166 * sysdeps/unix/sysv/direct.h: Remove file.
36168 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36169 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36170 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36171 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36172 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36173 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36174 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36176 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36178 * sysdeps/unix/xmknod.c: Remove file.
36179 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36181 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36183 * sysdeps/unix/sysv/i386/time.S: Remove file.
36185 * sysdeps/unix/fxstat.c: Remove file.
36186 * sysdeps/unix/xstat.c: Likewise.
36187 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36189 * sysdeps/unix/sysv/sigaction.c: Remove file.
36191 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36192 (sysdep_headers): Remove variable.
36193 [termio.h not in sysdep_headers] (generated): Likewise.
36194 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36195 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36196 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36197 * sysdeps/unix/sysv/tcflow.c: Likewise.
36198 * sysdeps/unix/sysv/tcflush.c: Likewise.
36199 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36200 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36201 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36202 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36203 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36205 * sysdeps/unix/siglist.c: Remove file.
36207 * sysdeps/unix/getppid.S: Remove file.
36209 * sysdeps/unix/mkdir.c: Remove file.
36210 * sysdeps/unix/rmdir.c: Likewise.
36212 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36214 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36216 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36217 errlist-compat value.
36219 2012-04-18 David S. Miller <davem@davemloft.net>
36221 * sysdeps/generic/memcopy.h (reg_char): Delete.
36222 * debug/strcat_chk.c: Use char, not reg_char.
36223 * debug/strcpy_chk.c: Likewise.
36224 * debug/strncat_chk.c: Likewise.
36225 * debug/strncpy_chk.c: Likewise.
36226 * string/memchr.c: Likewise.
36227 * string/memrchr.c: Likewise.
36228 * string/rawmemchr.c: Likewise.
36229 * string/strcat.c: Likewise.
36230 * string/strchr.c: Likewise.
36231 * string/strchrnul.c: Likewise.
36232 * string/strcmp.c: Likewise.
36233 * string/strcpy.c: Likewise.
36234 * string/strncat.c: Likewise.
36235 * string/strncmp.c: Likewise.
36236 * string/strncpy.c: Likewise.
36238 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36240 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36241 __builtin_memcopy is called when src and dest ranges are known to not
36244 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36246 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36247 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36248 fwd_align_merge macro call.
36249 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36250 bwd_align_merge macro call.
36251 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36253 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36255 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36256 bwd_align_merge macros.
36257 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36258 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36259 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36261 2012-04-18 David S. Miller <davem@davemloft.net>
36263 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36265 2012-04-18 Andreas Jaeger <aj@suse.de>
36268 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36269 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36270 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36272 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36273 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36274 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36276 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36277 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36278 Adjust for changed ldbl-128 files.
36280 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36281 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36282 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36284 2012-04-17 David S. Miller <davem@davemloft.net>
36286 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36288 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36290 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36291 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36292 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36293 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36294 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36295 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36297 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36300 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36301 * math/libm-test.inc: Add ilogb errno and exception tests.
36302 * math/w_ilogb.c: New file: ilogb wrapper.
36303 * math/w_ilogbf.c: New file: ilogbf wrapper.
36304 * math/w_ilogbl.c: New file: ilogbl wrapper.
36305 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36306 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36307 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36308 exception being thrown with 0.0 as argument.
36309 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36310 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36311 exception being thrown with 0.0 as argument.
36312 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36313 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36314 exception being thrown with 0.0 as argument.
36315 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36316 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36317 exception being thrown with 0.0 as argument.
36318 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36319 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36320 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36321 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36322 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36323 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36324 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36325 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36326 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36328 2012-04-17 Petr Baudis <pasky@ucw.cz>
36330 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36333 2012-04-16 Marek Polacek <polacek@redhat.com>
36335 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36337 2012-04-16 Marek Polacek <polacek@redhat.com>
36339 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36340 operands of fdivp instruction.
36342 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36344 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36345 * elf/tst-auditmod3b.c: Likewise.
36346 * elf/tst-auditmod4b.c: Likewise.
36347 * elf/tst-auditmod5b.c: Likewise.
36348 * elf/tst-auditmod6b.c: Likewise.
36349 * elf/tst-auditmod6c.c: Likewise.
36350 * elf/tst-auditmod7b.c: Likewise.
36351 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36352 * sysdeps/x86_64/preconfigure.in: Likewise.
36353 * sysdeps/x86_64/preconfigure: Regenerated.
36355 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36357 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36360 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36362 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36363 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36365 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36368 * locale/iso-639.def: Fix gl language name. Spotted by
36371 2012-04-12 Roland McGrath <roland@hack.frob.com>
36374 * libio/libio.h (__io_write_fn): Update comment.
36376 2012-04-12 Petr Baudis <pasky@ucw.cz>
36379 * stdio.texi (Hook Functions): The user provided writer function
36380 is not allowed to return -1.
36382 2012-04-11 David S. Miller <davem@davemloft.net>
36384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36386 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36388 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36389 Add a leading slash to rtkaio.
36391 2012-04-11 Jim Meyering <meyering@redhat.com>
36394 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36395 It is not necessarily an error to ignore fwrite's return
36396 value. One can reliably use ferror to test for errors after
36399 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36401 * bits/types.h (__snseconds_t): New type.
36402 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36404 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36406 (__SNSECONDS_T_TYPE): Likewise.
36407 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36408 (__SNSECONDS_T_TYPE): Likewise.
36409 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36410 (__SNSECONDS_T_TYPE): Likewise.
36412 2012-04-10 Andreas Jaeger <aj@suse.de>
36415 * manual/time.texi (Processor Time): Return type of times is
36416 elapsed real time since an arbitrary point in the past.
36417 (CPU Time): Move CLK_TCK from here...
36418 (Processor Time): ...to here. Correct description.
36419 * manual/conf.texi (Constants for Sysconf): Correct description of
36422 2012-04-10 David S. Miller <davem@davemloft.net>
36425 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36426 where the is a gap between DT_REL(A) and DT_JMPREL.
36428 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36430 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36431 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36432 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36434 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36436 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36437 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36438 (dl_main): Handle --inhibit-cache.
36439 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36441 * elf/dl-load.c (_dl_map_object): Use it.
36442 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36444 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36447 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36448 (__ieee754_powl): Saturate large exponents rather than testing for
36449 overflow of y*log2(x).
36450 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36451 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36455 * math/s_ctan.c: Include <float.h>.
36456 (__ctan): Avoid internal overflow or cancellation in calculating
36458 * math/s_ctanf.c: Likewise.
36459 * math/s_ctanl.c: Likewise.
36460 * math/s_ctanh.c: Likewise.
36461 * math/s_ctanhf.c: Likewise.
36462 * math/s_ctanhl.c: Likewise.
36463 * math/libm-test.inc (ctan_test): Add more tests.
36464 (ctanh_test): Likewise.
36465 * sysdeps/i386/fpu/libm-test-ulps: Update.
36466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36468 2012-04-09 Andreas Jaeger <aj@suse.de>
36471 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36472 is an optional BSD extension.
36475 * manual/stdio.texi (Opening Streams): Document additional fopen
36478 2012-04-09 Roland McGrath <roland@hack.frob.com>
36480 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36481 %eax without telling the compiler.
36483 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36486 * manual/install.texi: Use sourceware.org.
36488 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36491 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36492 (__ieee754_pow): Generate overflow and underflow using huge*huge
36493 and tiny*tiny rather than just returning constant infinity or zero
36494 for large exponents.
36495 * math/libm-test.inc (pow_test): Require overflow exceptions for
36496 applicable cases of large exponents.
36499 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36500 (__ieee754_pow): Use iterative multiplication algorithm only for
36501 integer exponents with absolute value below 1024. Check for odd
36502 integer exponents when using algorithm for real exponents.
36503 * math/libm-test.inc (pow_test): Add more tests.
36504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36506 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36509 * math/libm-test.inc (exp_test): Do not allow overflow exception
36512 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36515 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36516 instead of __kernel_standard_f.
36518 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36520 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36521 * sysdeps/x86_64/memset_chk.S: Likewise.
36523 2012-04-08 Andreas Jaeger <aj@suse.de>
36526 * manual/startup.texi (Environment Access): Describe return value
36527 for putenv and setenv.
36530 * manual/filesys.texi (Directory Entries): Add description for
36534 * manual/filesys.texi (Directory Entries): Clarify that it's file
36535 system not operating system in the description of DT_UNKNOWN.
36538 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36540 2012-04-08 Stephen Compall <s11@member.fsf.org>
36543 * manual/llio.texi (Opening and Closing Files): Add cross
36544 reference to explain mode argument.
36546 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36548 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36549 * sysdeps/x86_64/memset_chk.S: Likewise.
36551 2012-04-07 David S. Miller <davem@davemloft.net>
36553 * elf/elf.h (R_SPARC_WDISP10): Define.
36554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36556 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36557 R_SPARC_SIZE64 and R_SPARC_H34.
36559 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36561 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36562 conditions and remove no longer applicable assertion.
36564 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36566 * bits/byteswap.h: Include <features.h>.
36567 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36568 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36570 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36572 * bits/byteswap.h (__bswap_16): Removed.
36573 Include <bits/byteswap-16.h> to get __bswap_16.
36574 * sysdeps/i386/bits/byteswap.h: Likewise.
36575 * sysdeps/s390/bits/byteswap.h: Likewise.
36576 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36577 * bits/byteswap-16.h: New file.
36578 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36579 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36580 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36581 * string/Makefile (headers): Add bits/byteswap-16.h.
36583 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36586 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36588 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36589 * nss/tst-nss-static.c: New.
36591 2012-04-06 Robert Millan <rmh@gnu.org>
36594 * manual/llio.texi (File Position Primitive): lseek
36595 refers to WHENCE when it really means OFFSET.
36597 2012-04-06 Andreas Jaeger <aj@suse.de>
36599 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36600 strncmp declarations.
36602 * abilist/libc.abilist: Add __poll and __ppoll.
36604 2012-04-05 David S. Miller <davem@davemloft.net>
36606 * scripts/check-local-headers.sh: Accept a host triplet in the
36607 path matched by the exclude regexp.
36609 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36611 * sysdeps/powerpc/powerpc32/dl-machine.h
36612 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36613 * sysdeps/s390/s390-32/dl-machine.h
36614 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36615 * sysdeps/sparc/sparc32/dl-machine.h
36616 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36617 * sysdeps/sparc/sparc64/dl-machine.h
36618 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36620 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36622 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36623 undefined symbol errors.
36625 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36628 2012-04-05 Michael Matz <matz@suse.de>
36631 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36633 2012-04-05 Andreas Jaeger <aj@suse.de>
36636 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36639 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36641 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36642 which ROUND is no valid rounding mode.
36644 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36646 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36648 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36650 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36652 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36653 an exception using FPU order intentionally.
36655 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36657 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36658 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36659 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36660 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36662 2012-04-05 Simon Josefsson <simon@josefsson.org>
36665 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36666 EINVAL when BUFLEN is too smal.
36668 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36671 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36672 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36674 2012-04-03 Andreas Jaeger <aj@suse.de>
36677 * manual/setjmp.texi (System V contexts): Fix sentence.
36680 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36681 New macro for this case.
36682 [!__GNUC__] (__bswap_64): New inline function for this case.
36683 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36684 * bits/byteswap.h: Likewise.
36685 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36686 ull, guard with __GLIBC_HAVE_LONG_LONG.
36688 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36689 __GLIBC_HAVE_LONG_LONG.
36691 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36692 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36694 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36697 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36698 inptr and inend, rather than using last_ch.
36700 2012-04-02 David S. Miller <davem@davemloft.net>
36702 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36703 * stdio-common/printf-parse.h (read_int): Change return type to
36704 'int', return -1 on INT_MAX overflow.
36705 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36706 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36707 overflows INT_MAX. Check for overflow of in-format-string precision
36708 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36709 SIZE_MAX not INT_MAX for integer overflow test.
36710 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36711 skip the construct in the format string but do not record anything.
36712 * stdio-common/bug22.c: Adjust to test both width/prevision
36713 INT_MAX overflow as well as total length INT_MAX overflow. Check
36714 explicitly for proper errno values.
36716 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36718 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36720 * string/test-strcmp.c [! WIDE]: Likewise.
36721 * time/tst-mktime2.c: Likewise for INT_MAX.
36722 * string/test-string.h: #include <sys/param.h> for MIN.
36724 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36725 * sysdeps/i386/init-first.c (init): Likewise.
36726 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36727 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36728 * sysdeps/sh/init-first.c (init): Likewise.
36730 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36732 * po/ru.po: Update from translation team.
36733 * po/vi.po: Likewise.
36735 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36737 * resolv/nss_dns/dns-host.c: Merge copyright years.
36739 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36741 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36742 Optimize memcpy with prefetch if
36743 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36744 src, dst pointers have unequal 16 byte alignments.
36746 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36749 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36750 from a CNAME entry and return the minimum ttl for the query.
36751 (gaih_getanswer_slice): Likewise.
36753 2012-03-30 Jeff Law <law@redhat.com>
36755 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36757 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36758 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36760 * resolv/nss_dns/dns-host.c: Update copyright year.
36762 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36764 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36765 requests to save a system call. Fix check that all bytes are sent.
36767 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36768 comments for sendmmsg.
36770 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36773 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36774 with only 1 character between 0x0041 and 0x01b0.
36775 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36776 * wcsmbs/tst-mbsnrtowcs.c: New file.
36778 2012-03-29 David S. Miller <davem@davemloft.net>
36780 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36781 small copies by hand.
36783 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36786 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36787 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36790 2012-03-28 David S. Miller <davem@davemloft.net>
36792 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36793 that branches into memcpy.
36794 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36795 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36796 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36797 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36800 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36801 implementation too.
36802 * sysdeps/sparc/mempcpy.S: New file.
36804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36805 the IFUNC routine in the libc case.
36806 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36808 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36809 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36810 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36811 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36812 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36813 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36814 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36815 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36817 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36818 loop to 256 bytes instead of 64 bytes and fix test signedness.
36820 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36821 * sysdeps/sparc/sparc32/Makefile: rather than here...
36822 * sysdeps/sparc/sparc64/Makefile: and here.
36824 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36826 * malloc/mallocbug.c: Avoid warnings about unused variables.
36828 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36831 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36832 in the right place. Discard and retry query if response is
36833 larger than input buffer size.
36835 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36840 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36841 x for large integer exponent.
36842 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36843 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36844 sign of result as needed afterwards.
36845 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36846 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36847 result for underflowing pow the same as for overflow.
36848 (__kernel_standard_l): Handle powl overflow and underflow here
36849 rather than calling __kernel_standard.
36850 * math/libm-test.inc (pow_test): Add more tests.
36865 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36866 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36867 (__kernel_standard_l): New function.
36868 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36870 * math/w_acosl.c (__acosl): Likewise.
36871 * math/w_asinl.c (__asinl): Likewise.
36872 * math/w_atan2l.c (__atan2l): Likewise.
36873 * math/w_atanhl.c (__atanhl): Likewise.
36874 * math/w_coshl.c (__coshl): Likewise.
36875 * math/w_exp10l.c (__exp10l): Likewise.
36876 * math/w_exp2l.c (__exp2l): Likewise.
36877 * math/w_fmodl.c (__fmodl): Likewise.
36878 * math/w_hypotl.c (__hypotl): Likewise.
36879 * math/w_j0l.c (__j0l, __y0l): Likewise.
36880 * math/w_j1l.c (__j1l, __y1l): Likewise.
36881 * math/w_jnl.c (__jnl, __ynl): Likewise.
36882 * math/w_lgammal.c (__lgammal): Likewise.
36883 * math/w_log10l.c (__log10l): Likewise.
36884 * math/w_log2l.c (__log2l): Likewise.
36885 * math/w_logl.c (__logl): Likewise.
36886 * math/w_powl.c (__powl): Likewise.
36887 * math/w_remainderl.c (__remainderl): Likewise.
36888 * math/w_scalbl.c (sysv_scalbl): Likewise.
36889 * math/w_sinhl.c (__sinhl): Likewise.
36890 * math/w_sqrtl.c (__sqrtl): Likewise.
36891 * math/w_tgammal.c (__tgammal): Likewise.
36892 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36893 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36894 * math/libm-test.inc (acos_test): Add more tests.
36895 (acosh_test): Likewise.
36896 (asin_test): Likewise.
36897 (atanh_test): Likewise.
36898 (exp_test): Likewise.
36899 (exp10_test): Likewise.
36900 (exp2_test): Likewise.
36901 (expm1_test): Likewise.
36902 (lgamma_test): Likewise.
36903 (log_test): Likewise.
36904 (log10_test): Likewise.
36905 (log1p_test): Likewise.
36906 (log2_test): Likewise.
36907 (pow_test): Do not allow some spurious overflow exceptions.
36908 (sqrt_test): Add more tests.
36909 (tgamma_test): Likewise.
36910 (y0_test): Likewise.
36911 (y1_test): Likewise.
36912 (yn_test): Likewise.
36914 2012-03-27 Anton Blanchard <anton@samba.org>
36916 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36918 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36919 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36920 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36922 2012-03-27 David S. Miller <davem@davemloft.net>
36924 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36926 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36927 have-as-vis3 check.
36929 2012-03-27 Andreas Jaeger <aj@suse.de>
36931 * sysdeps/x86_64/elf/configure.in: Moved to ...
36932 * sysdeps/x86_64/configure.in: ... here.
36933 * sysdeps/x86_64/elf/start.S: Moved to ...
36934 * sysdeps/x86_64/start.S: ... here.
36935 * sysdeps/x86_64/elf/configure: Delete.
36937 * sysdeps/x86_64/configure.in: Merge contents from
36938 sysdeps/i386/configure.in (without i686 check).
36940 * sysdeps/i386/elf/Versions: Merge into ...
36941 * sysdeps/i386/Versions: ... this.
36942 * sysdeps/i386/elf/Versions: Delete file.
36943 * sysdeps/i386/elf/start.S: Moved to ...
36944 * sysdeps/i386/start.S: ...here.
36945 * sysdeps/i386/elf/configure.in: Merge into...
36946 * sysdeps/i386/configure.in: ...here.
36947 * sysdeps/i386/elf/configure.in: Delete file.
36948 * sysdeps/i386/elf/configure: Delete file.
36950 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36951 * debug/backtracesyms.c: ... here.
36952 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36953 * debug/backtracesymsfd.c: ... here.
36954 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36955 * sysdeps/generic/ifunc-sel.h: ... here.
36957 * sysdeps/unix/i386/start.c: Delete file.
36958 * sysdeps/unix/sparc/start.c: Delete file.
36959 * sysdeps/unix/start.c: Delete file.
36961 * sysdeps/sh/elf/configure.in: Moved to ...
36962 * sysdeps/sh/configure.in: ... here.
36963 * sysdeps/sh/elf/start.S: Moved to ...
36964 * sysdeps/sh/start.S: ... here.
36965 * sysdeps/sh/elf/configure: Delete file.
36967 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36968 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36969 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36970 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36971 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36972 * sysdeps/powerpc/powerpc64/start.S: here.
36973 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36974 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36975 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36976 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36977 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36979 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36980 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36981 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36982 * sysdeps/powerpc/powerpc32/start.S: ... here.
36983 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36984 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36985 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36987 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36988 * sysdeps/powerpc/ifunc-sel.h: ... here.
36989 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36990 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36992 * sysdeps/sparc/elf/configure.in: Moved to ...
36993 * sysdeps/sparc/configure.in: ... here.
36994 * sysdeps/sparc/elf/configure: Delete file.
36995 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36996 * sysdeps/sparc/sparc32/start.S: ... here.
36997 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36998 * sysdeps/sparc/sparc64/start.S: ... here.
36999 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37000 * sysdeps/sparc/sparc32/Makefile: ... this.
37001 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37002 * sysdeps/sparc/sparc64/Makefile: ... this.
37004 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37005 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37006 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37007 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37008 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37009 * sysdeps/s390/s390-32/setjmp.S: ... here.
37010 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37011 * sysdeps/s390/s390-32/configure.in: ... here.
37012 * sysdeps/s390/s390-32/elf/configure: Delete file.
37013 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37014 * sysdeps/s390/s390-32/start.S: ... here.
37016 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37017 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37018 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37019 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37020 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37021 * sysdeps/s390/s390-64/setjmp.S: ... here.
37022 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37023 * sysdeps/s390/s390-64/configure.in: ... here
37024 * sysdeps/s390/s390-64/elf/configure: Delete file.
37025 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37026 * sysdeps/s390/s390-64/start.S: ... here.
37027 * sysdeps/s390/s390-64/elf/configure: Delete.
37029 * configure.in: Remove support for elf directories in sysdeps.
37031 * configure: Regenerated.
37032 * sysdeps/i386/configure: Regenerated.
37033 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37034 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37035 * sysdeps/s390/s390-32/configure: Regenerated.
37036 * sysdeps/s390/s390-64/configure: Regenerated.
37037 * sysdeps/sh/configure: Regenerated.
37038 * sysdeps/sparc/configure: Regenerated.
37039 * sysdeps/x86_64/configure: Regenerated.
37041 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37045 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37046 denormal result into account.
37048 2012-03-25 Roland McGrath <roland@hack.frob.com>
37050 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37051 Reported by Allan McRae <allan@archlinux.org>.
37053 2012-03-23 Jeff Law <law@redhat.com>
37055 * nss/getnssent.c (__nss_getent): Fix typo.
37057 2012-03-23 David S. Miller <davem@davemloft.net>
37059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37061 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37063 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37064 to pad to uint64_t for each field.
37065 (dl_tls_index): Replace unsigned long with uint64_t.
37067 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37068 Paul Pluzhnikov <ppluzhnikov@google.com>
37071 * grp/Makefile (otherlibs): Don't set it.
37072 * inet/Makefile (otherlibs): Likewise.
37073 * login/Makefile (otherlibs): Likewise.
37074 * nscd/Makefile (otherlibs): Likewise.
37075 * posix/Makefile (otherlibs): Likewise.
37076 * pwd/Makefile (otherlibs): Likewise.
37077 * rt/Makefile (otherlibs): Likewise.
37078 * sunrpc/Makefile (otherlibs): Likewise.
37079 * nss/Makefile (otherlibs): Likewise.
37080 Add libnss_files to routines and static-only-routines.
37081 ($(objpfx)getent): Remove rule.
37082 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37083 static-only-routines.
37085 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37088 * math/s_cexp.c: Include <float.h>.
37089 (__cexp): Handle exp result overflowing not necessarily
37090 overflowing both real and imaginary parts of result.
37091 * math/s_cexpf.c: Likewise.
37092 * math/s_cexpl.c: Likewise.
37093 * math/libm-test.inc (cexp_test): Add more tests.
37094 * sysdeps/i386/fpu/libm-test-ulps: Update.
37095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37097 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37099 * include/link.h (ELFW): New macro.
37100 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37101 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37103 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37105 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37108 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37110 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37112 (struct La_x32_retval): Likewise.
37114 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37116 * sysdeps/x86_64/preconfigure.in: New file.
37117 * sysdeps/x86_64/preconfigure: New generated file.
37119 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37122 * math/e_exp2l.c: Include <float.h>.
37123 (__ieee754_exp2l): Handle overflow and underflow cases
37124 separately. Only pass fractional part of argument to
37126 * math/libm-test.inc (exp2_test): Add more tests.
37128 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37129 negating x to take absolute value.
37130 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37132 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37133 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37135 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37136 computing low part if x was negated.
37137 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37139 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37141 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37142 la_x32_gnu_pltexit.
37143 (pltexit): Cast int_retval to ptrdiff_t.
37144 * elf/tst-auditmod3b.c: Likewise.
37145 * elf/tst-auditmod4b.c: Likewise.
37146 * elf/tst-auditmod5b.c: Likewise.
37147 * elf/tst-auditmod6b.c: Likewise.
37148 * elf/tst-auditmod6c.c: Likewise.
37149 * elf/tst-auditmod7b.c: Likewise.
37151 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37152 and x32_gnu_pltexit.
37154 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37155 __ELF_NATIVE_CLASS.
37156 (La_x32_regs): New macro.
37157 (La_x32_retval): Likewise.
37158 (la_x32_gnu_pltenter): New function prototype.
37159 (la_x32_gnu_pltexit): Likewise.
37161 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37163 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37168 * configure.in (libc_cv_cc_nofma): Check for option to disable
37169 generation of FMA instructions.
37170 * configure: Regenerate.
37171 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37172 * sysdeps/ieee754/dbl-64/Makefile: New file.
37173 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37174 Remove brandred-fma4.
37175 (CFLAGS-brandred-fma4.c): Remove.
37176 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37177 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37179 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37182 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37184 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37185 LLONG_MAX != LONG_MAX.
37186 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37187 (_fitoa_word): Likewise.
37188 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37189 LLONG_MAX != LONG_MAX.
37190 * stdio-common/_itowa.h: Include <_itoa.h>.
37191 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37192 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37193 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37194 only if not defined.
37195 (_ITOA_WORD_TYPE): Likewise.
37196 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37197 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37199 2012-03-21 David S. Miller <davem@davemloft.net>
37201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37203 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37205 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37206 of x86_64 when setting libc_cv_slibdir, libdir and
37208 * sysdeps/unix/sysv/linux/configure: Regenerated.
37210 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37212 * manual/lang.texi (Old Varargs): Remove section.
37213 (How Variadic): Update menu.
37214 (va_start): Do not mention varargs.h.
37216 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37217 Joseph Myers <joseph@codesourcery.com>
37219 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37221 * configure: Regenerated.
37223 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37225 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37226 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37229 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37232 * Makefile (files-for-dist): Remove NOTES.
37233 (NOTES): Remove rule.
37234 * README: Don't refer to NOTES.
37235 * manual/creature.texi: Don't include macros.texi.
37236 * manual/intro.texi (creature.texi): Remove comment referring to
37239 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37240 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37241 * configure: Regenerated.
37242 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37243 LIBC_TRY_CC_OPTION.
37244 (libc_cv_as_i686): Likewise.
37245 (libc_cv_cc_avx): Likewise.
37246 (libc_cv_cc_sse2avx): Likewise.
37247 (libc_cv_cc_fma4): Likewise.
37248 (libc_cv_cc_novzeroupper): Likewise.
37249 * sysdeps/i386/configure: Regenerated.
37252 * sysdeps/i386/fpu/s_cexp.S: Remove.
37253 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37254 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37255 * math/libm-test.inc (cexp_test): Add more tests.
37256 * sysdeps/i386/fpu/libm-test-ulps: Update.
37257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37259 2012-03-21 Allan McRae <allan@archlinux.org>
37261 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37263 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37266 * math/w_exp2.c: Do not include <float.h>.
37267 (o_threshold, u_threshold): Remove.
37268 (__exp2): Calculate result before checking finiteness and calling
37270 * math/w_exp2f.c: Likewise.
37271 * math/w_exp2l.c: Likewise.
37272 * math/libm-test.inc (exp2_test): Require overflow exception for
37276 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37277 range of signed 64-bit integers before using fistpll. Remove
37278 checks for whether integers fit in mantissa bits.
37279 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37280 the range of signed 32-bit integers before using fistpl. Remove
37281 checks for whether integers fit in mantissa bits.
37282 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37283 (__ieee754_powl): Test for y outside the range of signed 64-bit
37284 integers before using fistpll. Reduce 64-bit values to 63-bit
37286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37287 divide-by-zero is raised for zero to large negative powers.
37288 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37289 (__ieee754_powl): Test for y outside the range of signed 64-bit
37290 integers before using fistpll. Reduce 64-bit values to 63-bit
37292 * math/libm-test.inc (pow_test): Add more tests.
37294 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37296 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37297 <stdio-common/_itoa.h>.
37298 * debug/segfault.c: Likewise.
37299 * elf/dl-cache.c: Likewise.
37300 * elf/dl-minimal.c: Likewise.
37301 * elf/dl-misc.c: Likewise.
37302 * elf/dl-sysdep.c: Likewise.
37303 * elf/dl-version.c: Likewise.
37304 * elf/rtld.c: Likewise.
37305 * hurd/hurdsock.c: Likewise.
37306 * hurd/lookup-retry.c: Likewise.
37307 * malloc/malloc.c: Likewise.
37308 * malloc/mtrace.c: Likewise.
37309 * nscd/nscd_getgr_r.c: Likewise.
37310 * nscd/nscd_getpw_r.c: Likewise.
37311 * nscd/nscd_getserv_r.c: Likewise.
37312 * posix/getopt_init.c: Likewise.
37313 * posix/wordexp.c: Likewise.
37314 * stdio-common/_itoa.c: Likewise.
37315 * stdio-common/printf_fphex.c: Likewise.
37316 * stdio-common/vfprintf.c: Likewise.
37317 * string/_strerror.c: Likewise.
37318 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37319 * sysdeps/i386/i686/hp-timing.h: Likewise.
37320 * sysdeps/mach/_strerror.c: Likewise.
37321 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37322 * sysdeps/mach/hurd/sethostid.c: Likewise.
37323 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37324 * sysdeps/mach/xpg-strerror.c: Likewise.
37325 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37326 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37327 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37328 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37329 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37330 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37331 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37332 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37333 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37334 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37335 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37336 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37337 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37338 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37339 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37340 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37341 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37342 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37343 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37344 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37345 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37347 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37349 * stdio-common/_itoa.h: Moved to ...
37350 * sysdeps/generic/_itoa.h: Here.
37352 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37354 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37355 instead of "_itoa.h" and "_itowa.h".
37356 * stdio-common/vfprintf.: Likewise.
37358 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37360 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37362 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37363 (__signbit): Likwise.
37364 (llrintf): Likwise.
37367 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37369 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37372 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37374 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37375 OVERFLOW_EXCEPTION_OK.
37376 * math/libm-test.inc ("Philosophy"): Update comment about
37378 (OVERFLOW_EXCEPTION): Define.
37379 (OVERFLOW_EXCEPTION_OK): Likewise.
37380 (INVALID_EXCEPTION_OK): Renumber.
37381 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37382 (IGNORE_ZERO_INF_SIGN): Likewise.
37383 (test_exceptions): Handle FE_OVERFLOW.
37384 (exp10_test): Expect overflow exceptions.
37385 (exp2_test): Likewise.
37386 (expm1_test): Likewise.
37387 (nextafter_test): Likewise.
37388 (pow_test): Likewise.
37389 (scalbn_test): Likewise.
37390 (scalbln_test): Likewise.
37392 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37394 * sysdeps/x86_64/bits/atomic.h
37395 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37397 (atomic_exchange_acq): Likewise.
37398 (__arch_exchange_and_add_body): Likewise.
37399 (__arch_add_body): Likewise.
37400 (atomic_add_negative): Likewise.
37401 (atomic_add_zero): Likewise.
37403 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37405 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37406 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37408 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37410 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37411 Check __x86_64__ instead of __WORDSIZE.
37413 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37415 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37417 2012-03-19 David S. Miller <davem@davemloft.net>
37419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37421 * sysdeps/sparc/fpu/fenv_private.h: New file.
37422 * sysdeps/sparc/fpu/math_private.h: Use it.
37423 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37425 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37426 (libc_feholdexcept_setroundl): Remove.
37427 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37429 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37430 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37432 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37434 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37435 int64_t instead of long int.
37436 (INSERT_WORDS64): Likwise.
37438 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37440 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37441 _Unwind_GetCFA return to _Unwind_Ptr first.
37443 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37446 * math/s_clog.c: Include <float.h>.
37447 (__clog): Scale large or subnormal inputs.
37448 * math/s_clogf.c: Likewise.
37449 * math/s_clogl.c: Likewise.
37450 * math/s_clog10.c: Include <float.h>.
37451 (M_LOG10_2): Define.
37452 (__clog10): Scale large or subnormal inputs.
37453 * math/s_clog10f.c: Likewise.
37454 * math/s_clog10l.c: Likewise.
37455 * math/libm-test.inc (clog_test): Add more tests.
37456 (clog10_test): Likewise.
37457 * sysdeps/i386/fpu/libm-test-ulps: Update.
37458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37461 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37463 * math/libm-test.inc (atan2_test): Add another test.
37465 * Makerules (common-objdir-compile): Remove.
37466 * sysdeps/unix/Makefile (config-generated): Do not add
37467 $(unix-generated) to variable.
37468 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37469 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37471 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37473 [generic bits/local_lim.h] (before-compile): Do not append to
37475 [generic bits/local_lim.h] (common-generated): Likewise.
37476 [generic sys/param.h] (before-compile): Do not append to variable.
37477 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37478 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37479 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37480 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37482 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37483 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37484 [generic sys/param.h] ($(addprefix
37485 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37486 [generic sys/param.h] (common-generated): Do not append to
37488 [generic sys/param.h] (sysdep_headers): Likewise.
37489 [generic bits/errno.h] (before-compile): Do not append to
37491 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37493 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37494 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37495 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37496 [generic bits/errno.h] (common-generated): Do not append to
37498 [generic bits/ioctls.h] (before-compile): Do not append to
37500 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37502 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37503 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37504 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37506 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37507 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37508 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37509 [generic bits/ioctls.h] (common-generated): Do not append to
37511 [generic sys/syscall.h] (syscall.h): Remove variable.
37512 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37514 [generic sys/syscall.h] (before-compile): Do not append to
37516 [generic sys/syscall.h] (common-generated): Likewise.
37517 * sysdeps/unix/errnos-tmpl.c: Remove file.
37518 * sysdeps/unix/errnos.awk: Likewise.
37519 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37520 * sysdeps/unix/ioctls.awk: Likewise.
37521 * sysdeps/unix/mk-local_lim.c: Likewise.
37522 * sysdeps/unix/snarf-ioctls: Likewise.
37524 2012-03-19 Richard Henderson <rth@twiddle.net>
37526 * sysdeps/i386/fpu/fenv_private.h: New file.
37527 * sysdeps/i386/fpu/math_private.h: Use it.
37528 (math_opt_barrier, math_force_eval): Remove.
37529 (libc_feholdexcept_setround_53bit): Remove.
37530 (libc_feupdateenv_53bit): Remove.
37531 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37532 (math_opt_barrier, math_force_eval): Remove.
37533 (libc_feholdexcept): Remove.
37534 (libc_feholdexcept_setround): Remove.
37535 (libc_fetestexcept, libc_fesetenv): Remove.
37536 (libc_feupdateenv_test): Remove.
37537 (libc_feupdateenv, libc_feholdsetround): Remove.
37538 (libc_feresetround): Remove.
37540 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37541 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37543 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37544 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37545 (libc_feupdateenv_testl): New.
37546 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37547 (libc_feupdateenv_testf): New.
37548 (libc_feupdateenv): Use libc_feupdateenv_test.
37549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37550 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37552 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37553 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37554 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37555 (libc_feresetround_noex): New.
37556 (libc_feresetround_noexf): New.
37557 (libc_feresetround_noexl): New.
37558 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37559 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37560 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37561 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37563 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37564 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37566 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37567 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37568 SET_RESTORE_ROUND_NOEX.
37569 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37570 SET_RESTORE_ROUND_NOEXF.
37571 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37572 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37573 (libc_feholdsetroundf): New.
37574 (libc_feresetround, libc_feresetroundf): New.
37576 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37577 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37578 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37580 * sysdeps/generic/math_private.h: Include <fenv.h>.
37581 (default_libc_feholdexcept): New.
37582 (default_libc_feholdexcept_setround): New.
37583 (default_libc_fesetenv, default_libc_feupdateenv): New.
37584 (libc_feholdexcept): Only define if undefined.
37585 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37586 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37587 (libc_feholdexcept_setroundl): Likewise.
37588 (libc_feholdexcept_setround_53bit): Likewise.
37589 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37590 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37591 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37592 (libc_feupdateenv_53bit): Likewise.
37593 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37594 (libc_feholdexcept): Convert from macro to inline function.
37595 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37596 (libc_fesetenv, libc_feupdateenv): Likewise.
37598 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37599 not previously defined.
37600 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37601 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37602 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37603 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37604 * sysdeps/ieee754/flt-32/math_private.h: New file.
37605 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37606 math_private.h below SET_FLOAT_WORD.
37607 (__isnan, __isinf_ns, __finite): Remove.
37608 (__isnanf, __isinf_nsf, __finitef): Remove.
37610 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37614 2012-03-17 David S. Miller <davem@davemloft.net>
37617 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37620 2012-03-16 David S. Miller <davem@davemloft.net>
37622 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37626 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37628 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37629 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37630 sysdep_routines when subdir is sysvipc.
37631 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37632 __getshmlba helper.
37634 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37636 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37638 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37641 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37643 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37644 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37645 (__lround): Renamed to ...
37646 (__llround): This. Replace long int with long long int.
37647 Define lround functions as aliases of llround functions.
37648 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37650 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37652 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37653 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37654 adresses to uintptr_t. Replace "long int" and "unsigned long
37655 int" with "greg_t" on va_arg.
37657 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37659 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37660 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37662 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37663 Move e_machine check before EI_CLASS check. Handle x32
37664 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37665 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37666 SKIP_EM_IA_64 and include
37667 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37669 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37670 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37671 (add_system_dir): New macro.
37673 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37674 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37676 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37687 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37689 * math/w_j0f.c (j0f): Likewise.
37691 * math/w_j0l.c (__j0l): Likewise.
37693 * math/w_j1.c (j1): Likewise.
37695 * math/w_j1f.c (j1f): Likewise.
37697 * math/w_j1l.c (__j1l): Likewise.
37699 * math/w_jn.c (jn): Likewise.
37701 * math/w_jnf.c (jnf): Likewise.
37703 * math/w_jnl.c (__jnl): Likewise.
37705 * math/libm-test.inc (j0_test): Add more tests.
37706 (j1_test): Likewise.
37707 (jn_test): Likewise. Add trailing semicolon to existing test.
37708 (y0_test): Likewise.
37709 (y1_test): Likewise.
37710 * sysdeps/i386/fpu/libm-test-ulps: Update.
37711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37715 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37716 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37717 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37718 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37719 (__tanl): Set errno for infinite argument.
37720 * sysdeps/i386/fpu/mptan.c: Remove.
37721 * sysdeps/i386/fpu/s_tan.S: Likewise.
37722 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37723 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37724 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37725 * math/libm-test.inc (tan_test): Add more tests and enable more
37726 tests for double and long double.
37727 * sysdeps/i386/fpu/libm-test-ulps: Update.
37728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37730 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37732 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37733 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37735 2012-03-16 Roland McGrath <roland@hack.frob.com>
37737 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37738 * configure.in: Use it for both main tree and add-ons.
37739 * configure: Regenerated.
37741 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37743 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37745 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37747 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37751 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37752 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37753 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37754 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37755 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37757 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37758 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37759 != 0 for prec == 2.
37760 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37761 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37762 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37763 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37764 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37765 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37766 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37767 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37768 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37769 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37770 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37771 * math/libm-test.inc (cos_test): Add more tests and enable more
37772 tests for long double.
37773 (sin_test): Likewise.
37774 (sincos_test): Likewise.
37775 * sysdeps/i386/fpu/libm-test-ulps: Update.
37776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37778 2012-03-16 David S. Miller <davem@davemloft.net>
37780 * sysdeps/sparc/fpu/math_private.h: New file.
37782 2012-03-15 David S. Miller <davem@davemloft.net>
37784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37798 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37799 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37801 * sysdeps/sparc/sparc-ifunc.h: New file.
37802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37828 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37829 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37840 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37841 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37842 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37843 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37847 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37849 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37853 2012-03-15 Andreas Jaeger <aj@suse.de>
37856 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37857 ieee754/flt-32 implementation for sin, cos and sincos.
37858 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37859 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37860 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37861 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37862 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37863 ieee754/flt-32 implementation for tan.
37865 * math/libm-test.inc (cos_test): Enable some large input tests for
37867 (sin_test): Likewise.
37868 (sincos_test): Likewise.
37869 (tan_test): Add tests for large input.
37871 * sysdeps/i386/fpu/libm-test-ulps: Update.
37873 2012-03-15 Andreas Jaeger <aj@suse.de>
37876 * math/libm-test.inc (cos_test): Add more test cases.
37877 (sin_test): Likewise.
37878 (sincos_test): Likewise.
37880 2012-03-15 Andreas Jaeger <aj@suse.de>
37883 * math/libm-test.inc (cos_test): Add a test case for large input
37885 (sin_test): Likewise.
37886 (sincos_test): Likewise.
37888 2012-03-15 Andreas Jaeger <aj@suse.de>
37889 Joseph Myers <joseph@codesourcery.com>
37892 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37893 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37894 * sysdeps/i386/fpu/branred.c: Likewise.
37895 * sysdeps/i386/fpu/dosincos.c: Likewise.
37896 * sysdeps/i386/fpu/mpa.c: Likewise.
37897 * sysdeps/i386/fpu/s_cos.S: Likewise.
37898 * sysdeps/i386/fpu/s_sin.S: Likewise.
37899 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37900 * sysdeps/i386/fpu/sincos32.c: Likewise.
37902 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37904 (libc_feupdateenv_53bit): Define.
37905 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37907 (libc_feupdateenv_53bit): Define.
37909 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37910 53 bit (without extend i386 double precision).
37912 * math/libm-test.inc (sincos_test): Add tests for large input.
37916 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37918 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37922 2012-03-15 David S. Miller <davem@davemloft.net>
37924 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37925 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37926 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37927 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37951 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37952 fmin/fmax sysdep routines.
37953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37955 2012-03-14 David S. Miller <davem@davemloft.net>
37957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37963 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37979 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37980 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37983 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37984 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37985 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38029 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38034 * sysdeps/sparc/configure.in: New file.
38035 * sysdeps/sparc/configure: Generate.
38036 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38037 * configure: Regenerate.
38038 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38039 * config.make.in (have-as-vis3): New.
38040 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38041 available use -Av9d instead of -Av9a.
38042 * sysdeps/sparc/sparc64/Makefile: Likewise.
38043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38052 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38053 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38054 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38055 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38056 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38058 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38059 fzeros/fnegs to load 0x80000000 into a float register instead of
38061 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38063 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38067 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38068 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38069 ($(inst_includedir)/bits/syscall.h): Remove rule.
38070 ($(objpfx)bits/syscall.d): Include instead of
38071 $(objpfx)syscall-list.d.
38072 (generated): Change syscall-list.h and syscall-list.d to
38073 bits/syscall.h and bits/syscall.d.
38075 2012-03-14 Roland McGrath <roland@hack.frob.com>
38078 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38080 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38083 * math/s_csqrt.c: Include <float.h>.
38084 (__csqrt): Scale large or subnormal inputs.
38085 * math/s_csqrtf.c: Likewise.
38086 * math/s_csqrtl.c: Likewise.
38087 * math/libm-test.inc (csqrt_test): Add more tests.
38088 * sysdeps/i386/fpu/libm-test-ulps: Update.
38089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38092 * math/libm-test.inc (hypot_test): Add more tests.
38094 2012-03-13 David S. Miller <davem@davemloft.net>
38097 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38098 double-precision for the calculation instead of scaling.
38100 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38102 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38103 manipulate bits before adding and subtracting TWO52[sx].
38104 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38105 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38107 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38109 2012-03-13 David S. Miller <davem@davemloft.net>
38111 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38112 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38114 rtld-global-offsets.h
38115 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38117 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38120 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38122 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38123 'err' in the ifdef scope in which it is actually used.
38125 * nss/nss_db/db-init.c: Include string.h
38127 2012-03-12 David S. Miller <davem@davemloft.net>
38129 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38130 masking out of the most significant byte of random value used.
38131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38132 Fix coding style in previous change.
38134 * sysdeps/unix/sysv/linux/kernel-features.h
38135 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38136 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38138 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38141 2012-03-11 David S. Miller <davem@davemloft.net>
38143 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38144 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38145 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38146 for 'resultvar' otherwise things get truncated on 64-bit.
38148 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38149 Fix masking out of the most significant byte of random value used.
38151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38153 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38157 2012-03-09 David S. Miller <davem@davemloft.net>
38159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38160 variables with appropriate CPP guards.
38161 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38162 from the frame pointer, not the stack pointer. Correct layout
38163 comments. Fix test on resulting framesize and the management of
38164 the outregs buffer for pltexit. Preserve floating point return
38165 values across _dl_call_pltexit call.
38166 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38167 framesize and the management of the outregs buffer for pltexit.
38168 Preserve floating point return values across _dl_call_pltexit
38170 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38171 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38172 (la_sparc64_gnu_pltexit): New functions.
38173 (print_exit): Fix format string for return register value.
38175 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38177 * sunrpc/Makefile (others): Add rpcgen.
38178 ($(objpfx)rpcgen): Remove special build rule and dependency on
38180 * sunrpc/rpcgen.c: New file.
38182 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38185 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38186 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38187 * sysdeps/i386/crti.S: Likewise.
38188 * sysdeps/i386/crtn.S: Likewise.
38189 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38190 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38191 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38192 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38193 * sysdeps/sh/crti.S: Likewise.
38194 * sysdeps/sh/crtn.S: Likewise.
38195 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38198 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38200 * locale/programs/locfile-kw.gperf: Likewise.
38201 * locale/programs/charmap-kw.h: Regenerated.
38202 * locale/programs/locfile-kw.h: Likewise.
38205 * intl/plural.y: Replace FSF snail mail address with URL.
38206 * intl/plural.c: Regenerated.
38208 2012-03-09 Richard Henderson <rth@twiddle.net>
38210 * include/math_private.h: Remove file.
38211 * math/math_private.h: Move file ...
38212 * sysdeps/generic/math_private.h: ... here.
38214 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38215 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38216 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38218 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38219 and <math_private.h>.
38220 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38221 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38222 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38223 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38224 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38225 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38226 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38227 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38228 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38229 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38231 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38232 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38233 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38234 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38235 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38236 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38237 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38238 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38239 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38241 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38242 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38243 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38244 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38245 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38246 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38247 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38249 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38250 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38251 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38252 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38253 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38254 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38255 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38256 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38257 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38258 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38259 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38260 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38261 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38262 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38263 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38264 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38265 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38266 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38267 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38268 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38269 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38270 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38271 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38272 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38273 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38274 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38275 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38276 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38277 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38278 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38279 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38280 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38281 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38282 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38283 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38284 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38285 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38286 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38287 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38288 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38289 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38290 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38291 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38292 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38293 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38294 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38296 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38298 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38299 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38300 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38301 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38302 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38303 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38304 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38306 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38307 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38308 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38309 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38310 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38311 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38312 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38313 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38314 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38315 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38316 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38317 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38318 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38319 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38320 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38321 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38322 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38323 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38324 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38325 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38326 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38327 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38328 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38329 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38330 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38331 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38332 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38333 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38334 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38335 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38336 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38337 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38338 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38339 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38340 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38341 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38342 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38343 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38344 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38345 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38346 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38347 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38348 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38349 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38350 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38351 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38352 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38353 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38354 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38355 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38356 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38357 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38358 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38359 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38360 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38361 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38362 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38363 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38364 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38365 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38366 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38367 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38368 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38369 * sysdeps/ieee754/k_standard.c: Likewise.
38370 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38371 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38372 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38373 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38374 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38375 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38376 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38377 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38378 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38379 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38380 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38381 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38382 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38383 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38384 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38385 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38386 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38387 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38388 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38389 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38390 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38391 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38392 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38393 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38394 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38395 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38396 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38397 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38398 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38399 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38400 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38401 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38402 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38403 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38404 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38405 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38406 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38407 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38408 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38409 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38410 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38411 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38412 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38413 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38414 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38415 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38416 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38417 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38418 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38419 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38420 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38421 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38422 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38423 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38424 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38425 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38426 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38427 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38428 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38429 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38430 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38431 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38432 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38433 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38434 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38435 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38436 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38437 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38438 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38439 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38440 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38441 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38442 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38443 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38444 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38445 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38446 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38447 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38448 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38449 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38450 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38451 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38452 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38453 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38454 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38455 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38456 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38457 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38458 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38459 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38460 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38461 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38462 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38463 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38464 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38465 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38466 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38467 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38468 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38469 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38470 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38471 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38472 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38473 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38474 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38475 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38476 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38477 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38478 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38479 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38480 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38481 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38482 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38483 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38484 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38485 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38486 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38487 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38488 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38489 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38490 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38491 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38492 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38493 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38494 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38495 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38496 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38497 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38498 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38499 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38500 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38501 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38502 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38503 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38504 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38505 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38506 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38507 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38508 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38509 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38510 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38511 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38512 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38513 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38514 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38515 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38516 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38517 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38518 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38519 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38520 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38521 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38522 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38523 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38524 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38525 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38526 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38527 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38528 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38529 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38530 * sysdeps/ieee754/s_lib_version.c: Likewise.
38531 * sysdeps/ieee754/s_matherr.c: Likewise.
38532 * sysdeps/ieee754/s_signgam.c: Likewise.
38533 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38534 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38535 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38536 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38537 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38538 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38539 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38540 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38541 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38542 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38543 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38544 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38545 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38546 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38547 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38548 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38549 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38550 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38551 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38552 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38555 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38557 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38558 * sunrpc/rpc_main.c: Likewise.
38559 * sunrpc/rpc_svcout.c: Likewise.
38561 2012-03-09 David S. Miller <davem@davemloft.net>
38563 * include/math_private.h: New file.
38565 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38567 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38568 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38569 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38570 from <bits/socket_type.h>.
38571 (enum __socket_type): Don't define here.
38572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38574 bits/socket_type.h.
38577 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38578 checking __USE_GNU.
38580 * Makerules ($(inst_includedir)/%.h): New rule.
38581 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38582 (install-others): Remove variable setting.
38583 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38585 2012-03-08 Richard Henderson <rth@twiddle.net>
38587 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38588 from macro to inline function; merge with the
38589 !__LIBC_INTERNAL_MATH_INLINES version.
38590 (__ieee754_sqrtf): Likewise.
38592 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38593 to inline function.
38594 (__rintf, __floor, __floorf): Likewise.
38596 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38597 macro to inline function.
38598 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38600 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38601 not <math/math_private.h>.
38603 2012-03-08 David S. Miller <davem@davemloft.net>
38605 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38607 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38609 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38611 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38613 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38614 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38616 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38618 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38619 be defined individually, they must be defined as a block. Define
38620 S for printing a string instead of hidint the different by using a
38621 macro for adding the 'l'.
38622 * stdio-common/tst-fphex-wide.c: Adjust.
38624 2012-03-07 Marek Polacek <polacek@redhat.com>
38626 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38628 2012-03-08 Marek Polacek <polacek@redhat.com>
38631 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38632 * stdio-common/tst-fphex.c: Define a few macros to make the
38633 test reusable. Use them.
38634 * stdio-common/tst-fphex-wide.c: New file.
38636 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38639 * manual/macros.texi (gnusystems): New macro.
38640 (nongnusystems): Likewise.
38641 (gnulinuxhurdsystems): Likewise.
38642 (gnuhurdsystems): Likewise..
38643 (gnulinuxsystems): Likewise.
38644 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38645 variants of the GNU system, not "GNU system".
38646 * manual/conf.texi: Likewise.
38647 * manual/errno.texi: Likewise. Update example of errno macro
38649 * manual/filesys.texi: Likewise.
38650 (getumask): Document as specific to GNU/Hurd.
38651 * manual/install.texi: Likewise. Reword some references to
38653 * manual/intro.texi: Likewise.
38654 * manual/io.texi: Likewise.
38655 (File Name Portability): Detail which constraints are inapplicable
38656 to all GNU systems and which are only inapplicable to GNU/Hurd.
38657 * manual/job.texi: Likewise.
38658 * manual/llio.texi: Likewise.
38659 (O_NOCTTY): Document as present on GNU/Linux.
38660 * manual/maint.texi: Likewise.
38661 * manual/memory.texi: Likewise.
38662 * manual/pattern.texi: Likewise.
38663 * manual/pipe.texi: Likewise.
38664 * manual/process.texi: Likewise.
38665 * manual/resource.texi: Likewise.
38666 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38668 * manual/setjmp.texi: Likewise.
38669 * manual/signal.texi: Likewise.
38670 * manual/startup.texi: Likewise.
38671 * manual/stdio.texi: Likewise.
38672 * manual/terminal.texi: Likewise.
38673 (ONLCR): Document as POSIX.
38674 (OXTABS): Document availability on GNU/Linux as XTABS.
38675 (ONOEOT): Document availability separately from other bits.
38676 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38677 * manual/time.texi: Likewise.
38678 * manual/users.texi: Likewise.
38679 * INSTALL: Regenerated.
38680 * sysdeps/gnu/errlist.c: Regenerated.
38682 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38683 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38684 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38686 * configure: Regenerated.
38688 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38690 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38691 default includes instead of AC_HEADER_CHECK.
38692 * sysdeps/i386/configure: Regenerated.
38695 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38696 * math/s_cacoshf.c (__cacoshf): Likewise.
38697 * math/s_cacoshl.c (__cacoshl): Likewise.
38698 * math/s_casinh.c (__casinh): Set signs of result from argument.
38699 * math/s_casinhf.c (__casinhf): Likewise.
38700 * math/s_casinhl.c (__casinhl): Likewise.
38701 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38702 (casinh_test): Add more tests.
38703 * sysdeps/i386/fpu/libm-test-ulps: Update.
38704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38706 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38708 * po/zh_TW.po: Update from translation team.
38710 * login/Makefile (distribute): Remove variable.
38711 * catgets/Makefile: Likewise.
38712 * mach/Makefile: Likewise.
38713 * malloc/Makefile: Likewise.
38714 * misc/Makefile: Likewise.
38715 * iconv/Makefile: Likewise.
38716 * nscd/Makefile: Likewise.
38717 * hurd/Makefile: Likewise.
38718 * manual/Makefile: Likewise.
38719 * locale/Makefile: Likewise.
38720 * intl/Makefile: Likewise.
38721 * conform/Makefile: Likewise.
38722 * nss/Makefile: Likewise.
38723 * time/Makefile: Likewise.
38724 * soft-fp/Makefile: Likewise.
38725 * dirent/Makefile: Likewise.
38726 * gmon/Makefile: Likewise.
38727 * po/Makefile: Likewise.
38728 * rt/Makefile: Likewise.
38729 * socket/Makefile: Likewise.
38730 * math/Makefile: Likewise.
38731 * signal/Makefile: Likewise.
38732 * debug/Makefile: Likewise.
38733 * elf/Makefile: Likewise.
38734 * timezone/Makefile: Likewise.
38735 * stdlib/Makefile: Likewise.
38736 * iconvdata/Makefile: Likewise.
38737 * sunrpc/Makefile: Likewise.
38738 * io/Makefile: Likewise.
38739 * argp/Makefile: Likewise.
38740 * inet/Makefile: Likewise.
38741 * hesiod/Makefile: Likewise.
38742 * grp/Makefile: Likewise.
38743 * csu/Makefile: Likewise.
38744 * wctype/Makefile: Likewise.
38745 * crypt/Makefile: Likewise.
38746 * libio/Makefile: Likewise.
38747 * string/Makefile: Likewise.
38748 * nis/Makefile: Likewise.
38749 * resolv/Makefile: Likewise.
38750 * stdio-common/Makefile: Likewise.
38751 * wcsmbs/Makefile: Likewise.
38752 * dlfcn/Makefile: Likewise.
38753 * posix/Makefile: Likewise.
38756 * timezone/Makefile: Don't install timezone files, just the programs
38759 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38761 * nss/databases.def: Add missing gshadow entry.
38763 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38765 2012-03-06 Marek Polacek <polacek@redhat.com>
38768 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38769 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38770 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38771 * stdio-common/tst-long-dbl-fphex.c: New file.
38773 2012-03-06 David S. Miller <davem@davemloft.net>
38775 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38776 (set_obp_int): New function.
38777 (get_obp_int): New function.
38778 (__get_clockfreq_via_dev_openprom): Likewise.
38779 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38780 Avoid unused variable warnings on 'val' and use builtin_expect.
38781 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38783 (INLINE_CLONE_SYSCALL): Likewise.
38785 2012-03-05 David S. Miller <davem@davemloft.net>
38787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38789 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38793 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38794 only for |x| >= 40.
38795 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38797 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38800 Replace gettimeofday with __vdso_gettimeofday.
38802 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38803 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38804 __vdso_clock_gettime and __vdso_getcpu.
38806 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38807 time with __vdso_time.
38809 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38811 * manual/lang.texi (size_t): Note types to which size_t may be
38812 equivalent with the GNU C Library, but do not describe when
38813 differences between them are significant.
38815 2012-03-05 Andreas Jaeger <aj@suse.de>
38817 * sysdeps/i386/fpu/libm-test-ulps: Update.
38819 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38822 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38823 (__ieee754_pow): Save and restore rounding mode and use
38824 round-to-nearest for main computations.
38825 * math/libm-test.inc (pow_test_tonearest): New function.
38826 (pow_test_towardzero): Likewise.
38827 (pow_test_downward): Likewise.
38828 (pow_test_upward): Likewise.
38829 (main): Call the new functions.
38830 * sysdeps/i386/fpu/libm-test-ulps: Update.
38831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38834 * math/libm-test.inc (cosh_test_tonearest): New function.
38835 (cosh_test_towardzero): Likewise.
38836 (cosh_test_downward): Likewise.
38837 (cosh_test_upward): Likewise.
38838 (sinh_test_tonearest): Likewise.
38839 (sinh_test_towardzero): Likewise.
38840 (sinh_test_downward): Likewise.
38841 (sinh_test_upward): Likewise.
38842 (main): Call the new functions.
38843 * sysdeps/i386/fpu/libm-test-ulps: Update.
38844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38846 2012-03-05 Tom de Vries <tom@codesourcery.com>
38848 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38849 default stack guard is set in last bytes.
38850 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38852 2012-03-05 Kees Cook <keescook@chromium.org>
38854 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38857 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38858 possibly allocate from heap instead of stack.
38859 * stdio-common/bug-vfprintf-nargs.c: New file.
38860 * stdio-common/Makefile (tests): Add nargs overflow test.
38862 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38866 2012-03-03 Marek Polacek <polacek@redhat.com>
38868 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38869 * math/math_private.h: Likewise.
38870 * stdlib/tst-strtod.c: Likewise.
38871 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38872 * sysdeps/x86_64/bits/atomic.h: Likewise.
38874 2012-03-02 David S. Miller <davem@davemloft.net>
38876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38880 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38881 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38882 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38883 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38885 2012-03-02 Roland McGrath <roland@hack.frob.com>
38888 * manual/examples/README: New file, says the example source files
38889 can be used under GPL>=2.
38890 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38891 line containing just "*/".
38892 * manual/examples/add.c: Add copyright header (GPL>=2).
38893 * manual/examples/argp-ex1.c: Likewise.
38894 * manual/examples/argp-ex2.c: Likewise.
38895 * manual/examples/argp-ex3.c: Likewise.
38896 * manual/examples/argp-ex4.c: Likewise.
38897 * manual/examples/atexit.c: Likewise.
38898 * manual/examples/db.c: Likewise.
38899 * manual/examples/dir.c: Likewise.
38900 * manual/examples/dir2.c: Likewise.
38901 * manual/examples/execinfo.c: Likewise.
38902 * manual/examples/filecli.c: Likewise.
38903 * manual/examples/filesrv.c: Likewise.
38904 * manual/examples/fmtmsgexpl.c: Likewise.
38905 * manual/examples/genpass.c: Likewise.
38906 * manual/examples/inetcli.c: Likewise.
38907 * manual/examples/inetsrv.c: Likewise.
38908 * manual/examples/isockad.c: Likewise.
38909 * manual/examples/longopt.c: Likewise.
38910 * manual/examples/memopen.c: Likewise.
38911 * manual/examples/memstrm.c: Likewise.
38912 * manual/examples/mkfsock.c: Likewise.
38913 * manual/examples/mkisock.c: Likewise.
38914 * manual/examples/mygetpass.c: Likewise.
38915 * manual/examples/pipe.c: Likewise.
38916 * manual/examples/popen.c: Likewise.
38917 * manual/examples/rprintf.c: Likewise.
38918 * manual/examples/search.c: Likewise.
38919 * manual/examples/select.c: Likewise.
38920 * manual/examples/setjmp.c: Likewise.
38921 * manual/examples/sigh1.c: Likewise.
38922 * manual/examples/sigusr.c: Likewise.
38923 * manual/examples/stpcpy.c: Likewise.
38924 * manual/examples/strdupa.c: Likewise.
38925 * manual/examples/strftim.c: Likewise.
38926 * manual/examples/strncat.c: Likewise.
38927 * manual/examples/subopt.c: Likewise.
38928 * manual/examples/swapcontext.c: Likewise.
38929 * manual/examples/termios.c: Likewise.
38930 * manual/examples/testopt.c: Likewise.
38931 * manual/examples/testpass.c: Likewise.
38932 * manual/examples/timeval_subtract.c: Likewise.
38935 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38937 * manual/timeval_subtract.c.texi: ... here, new file.
38939 2012-03-02 David S. Miller <davem@davemloft.net>
38941 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38943 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38946 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38947 (__sin): Save and restore rounding mode and use round-to-nearest
38948 for all computations.
38949 (__cos): Save and restore rounding mode and use round-to-nearest
38950 for all computations.
38951 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38953 (tan): Save and restore rounding mode and use round-to-nearest for
38955 * math/libm-test.inc (cos_test_tonearest): New function.
38956 (cos_test_towardzero): Likewise.
38957 (cos_test_downward): Likewise.
38958 (cos_test_upward): Likewise.
38959 (sin_test_tonearest): Likewise.
38960 (sin_test_towardzero): Likewise.
38961 (sin_test_downward): Likewise.
38962 (sin_test_upward): Likewise.
38963 (tan_test_tonearest): Likewise.
38964 (tan_test_towardzero): Likewise.
38965 (tan_test_downward): Likewise.
38966 (tan_test_upward): Likewise.
38967 (main): Call the new functions.
38968 * sysdeps/i386/fpu/libm-test-ulps: Update.
38969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38972 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38973 small n, then large n, before computing and testing k+n.
38974 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38977 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38979 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38980 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38981 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38982 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38983 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38984 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38985 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38986 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38987 * math/libm-test.inc (scalbn_test): Add more tests.
38988 (scalbln_test): Likewise.
38990 * manual/filesys.texi (mode_t): Describe constraints on size and
38991 signedness, not exact equivalence to a particular type.
38993 (ino64_t): Likewise.
38995 (nlink_t): Likewise.
38996 (blkcnt_t): Likewise.
38997 (blkcnt64_t): Likewise.
38998 * manual/llio.texi (off_t): Likewise.
39001 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39002 (__ieee754_exp): Save and restore rounding mode and use
39003 round-to-nearest for all computations.
39004 * math/libm-test.inc (exp_test_tonearest): New function.
39005 (exp_test_towardzero): Likewise.
39006 (exp_test_downward): Likewise.
39007 (exp_test_upward): Likewise.
39008 (main): Call the new functions.
39009 * sysdeps/i386/fpu/libm-test-ulps: Update.
39010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39012 2012-03-01 Chris Demetriou <cgd@google.com>
39014 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39015 have predictable order.
39017 2012-03-01 David S. Miller <davem@davemloft.net>
39019 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39021 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39022 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39023 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39024 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39026 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39027 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39028 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39030 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39031 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39032 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39033 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39034 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39038 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39039 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39040 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39042 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39043 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39044 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39045 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39046 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39047 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39048 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39049 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39050 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39051 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39052 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39053 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39054 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39055 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39056 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39058 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39059 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39060 * sysdeps/sparc/elf/configure: Regenerated.
39062 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39064 * configure.in (AS, LD): Require binutils 2.20 or later.
39065 * configure: Regenerated.
39066 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39067 as required minimum version.
39068 * INSTALL: Regenerated.
39072 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39073 before squaring exponent.
39074 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39075 bottom long double and 27 bits of top long double before squaring
39077 * math/libm-test.inc (erfc_test): Add more tests.
39078 * sysdeps/i386/fpu/libm-test-ulps: Update.
39079 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39082 2012-03-01 Kai Tietz <ktietz@redhat.com>
39084 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39085 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39086 containing bit-fields.
39087 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39088 * soft-fp/single.h (_FP_UNION_S): Likewise.
39089 * soft-fp/double.h (_FP_UNION_D): Likewise.
39091 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39094 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39095 not include ../strcmp.S.
39096 [USE_AS_STRNCASECMP_L]: Likewise.
39097 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39098 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39099 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39100 (__strncasecmp_l_ia32): Define as alias to
39101 __strncasecmp_l_nonascii.
39104 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39105 * sysdeps/i386/fpu/libm-test-ulps: Update.
39106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39108 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39111 2012-02-29 Jeff Law <law@redhat.com>
39113 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39114 out of bounds read.
39116 2012-02-29 Marek Polacek <polacek@redhat.com>
39119 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39120 * elf/Makefile: Add rules to run tst-unused-dep.out.
39122 2012-02-28 David S. Miller <davem@davemloft.net>
39124 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39125 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39126 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39127 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39128 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39129 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39131 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39133 * math/libm-test.inc (llround_test): Move one test from
39134 lround_test. Use TEST_f_L in moved test.
39135 (lround_test): Move misplaced test to llround_test. Add testcase
39138 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39140 * sysdeps/x86_64/fpu/e_expf.S: New file.
39141 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39143 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39146 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39147 of remain_len that may cause incomplete multi-byte character and
39149 * posix/bug-regex33.c: New file.
39150 * posix/Makefile (tests): Add bug-regex33.
39152 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39154 * manual/macros.texi: New file.
39155 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39156 * manual/libc.texinfo: Include macros.texi.
39157 * manual/creatute.texi: Likewise.
39158 * manual/install.texi: Likewise.
39159 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39160 @glibcadj{} in references to the GNU C Library.
39161 * manual/charset.texi: Likewise.
39162 * manual/conf.texi: Likewise.
39163 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39164 when not using those macros.
39165 * manual/creature.texi: Likewise.
39166 * manual/crypt.texi: Likewise.
39167 * manual/errno.texi: Likewise.
39168 * manual/filesys.texi: Likewise.
39169 * manual/header.texi: Likewise.
39170 * manual/install.texi: Likewise.
39171 * manual/intro.texi: Likewise.
39172 * manual/io.texi: Likewise.
39173 * manual/job.texi: Likewise.
39174 * manual/lang.texi: Likewise.
39175 * manual/libc.texiinfo: Likewise.
39176 * manual/llio.texi: Likewise.
39177 * manual/locale.texi: Likewise.
39178 * manual/maint.texi: Likewise.
39179 * manual/math.texi: Likewise.
39180 * manual/memory.texi: Likewise.
39181 * manual/message.texi: Likewise.
39182 * manual/nss.texi: Likewise.
39183 * manual/pattern.texi: Likewise.
39184 * manual/process.texi: Likewise.
39185 * manual/resource.texi: Likewise.
39186 * manual/search.texi: Likewise.
39187 * manual/setjmp.texi: Likewise.
39188 * manual/signal.texi: Likewise.
39189 * manual/socket.texi: Likewise.
39190 * manual/startup.texi: Likewise.
39191 * manual/stdio.texi: Likewise.
39192 * manual/string.texi: Likewise.
39193 * manual/sysinfo.texi: Likewise.
39194 * manual/syslog.texi: Likewise.
39195 * manual/terminal.texi: Likewise.
39196 * manual/time.texi: Likewise.
39197 * manual/users.texi: Likewise.
39198 * INSTALL: Regenerated.
39199 * NOTES: Regenerated.
39200 * sysdeps/gnu/errlist.c: Regenerated.
39202 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39204 * include/dirent.h: Include <dirstream.h> before
39207 2012-02-28 David S. Miller <davem@davemloft.net>
39209 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39210 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39211 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39212 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39214 2012-02-27 David S. Miller <davem@davemloft.net>
39216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39218 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39219 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39222 frame pointer instead of stack pointer relative arg slot.
39223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39224 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39225 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39227 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39230 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39232 2012-02-27 David S. Miller <davem@davemloft.net>
39234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39238 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39239 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39240 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39241 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39243 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39245 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39246 later. Allow versions 5-9.
39247 * configure: Regenerated.
39248 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39249 required minimum version and 4.6 as recommended version. Do not
39250 mention bugs in GCC 2.7 and 2.8.
39251 * INSTALL: Regenerated.
39253 2012-02-27 David S. Miller <davem@davemloft.net>
39255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39259 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39260 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39261 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39262 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39264 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39265 manipulate bits before adding and subtracting TWO112[sx].
39266 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39268 2012-02-27 Roland McGrath <roland@hack.frob.com>
39271 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39272 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39273 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39274 being in POSIX, because they are in 1003.1-2008.
39276 * rt/tst-aio.c: Include <fcntl.h>.
39277 * rt/tst-aio7.c: Likewise.
39278 * rt/tst-aio64.c: Likewise.
39280 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39282 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39284 * manual/install.texi (--with-headers): Describe headers as
39285 interface headers, not private headers.
39286 (Specific advice for GNU/Linux systems): Describe use of headers
39287 from "make headers_install", not private headers from older
39289 * INSTALL: Regenerated.
39290 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39292 * sysdeps/unix/sysv/linux/configure: Regenerated.
39294 * manual/llio.texi (fclean): Remove documentation.
39296 * manual/Makefile (libc-texi-generated): New variable. Include
39298 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39299 $(libc-texi-generated), not duplicated list of files.
39300 (version.texi, stamp-version): New rules.
39301 (realclean): Remove $(libc-texi-generated), not individual files
39302 from that list. Do not remove dir-add.texinfo.
39303 * manual/libc.texinfo: Comment out uses of edition numbers and
39304 references to printed manual. Remove last-updated dates.
39305 (EDITION): Comment out.
39307 (VERSION, UPDATED): Remove.
39308 (version.texi): Include.
39310 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39312 * sysdeps/posix/spawni.c: Include <signal.h>.
39313 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39314 * sysdeps/pthread/aio_fsync.c: Likewise.
39316 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39318 * conform/Makefile (tests): Run only when not cross-compiling and
39319 when fast-check is not defined.
39321 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39322 * conform/data/limits.h-data: Fixes for POSIX2008.
39323 * conform/run-conformtest.sh: Run all tests.
39324 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39326 * include/bits/dlfcn.h: Likewise.
39327 * include/langinfo.h: Likewise.
39328 * include/monetary.h: Likewise.
39329 * include/sys/poll.h: Likewise.
39331 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39333 * posix/spawn.h: Define __need_sigset_t.
39334 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39335 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39336 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39337 to get sigevent_t only.
39338 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39339 only for __USE_GNU.
39340 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39341 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39342 process_vm_writev only for __USE_GNU.
39343 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39345 * conform/Makefile: For now ignore errors from run-conformtest.
39346 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39347 POSIX to avoid namespace pollution. Don't prepend headers.
39348 * conform/data/aio.h-data: Fixes for POSIX testing.
39349 * conform/data/fcntl.h-data: Likewise.
39350 * conform/data/glob.h-data: Likewise.
39351 * conform/data/grp.h-data: Likewise.
39352 * conform/data/pthread.h-data: Likewise.
39353 * conform/data/pwd.h-data: Likewise.
39354 * conform/data/signal.h-data: Likewise.
39355 * conform/data/spawn.h-data: Likewise.
39356 * conform/data/stdio.h-data: Likewise.
39357 * conform/data/stdlib.h-data: Likewise.
39358 * conform/data/stropts.h-data: Likewise.
39359 * conform/data/sys/mman.h-data: Likewise.
39360 * conform/data/sys/stat.h-data: Likewise.
39361 * conform/data/sys/types.h-data: Likewise.
39362 * conform/data/sys/wait.h-data: Likewise.
39363 * conform/data/time.h-data: Likewise.
39364 * conform/data/unistd.h-data: Likewise.
39365 * conform/data/utime.h-data: Likewise.
39367 * io/sys/stat.h: fchmod was always in POSIX.
39368 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39369 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39370 * rt/aio.h: Define __need_timespec before including <time.h>.
39371 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39372 struct. Add forward declaration of pthread_attr_t and use it in
39374 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39375 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39376 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39377 always remove CLK_TCK definition.
39379 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39381 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39383 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39385 * conform/run-conformtest.sh: New file.
39386 * conform/Makefile: Run run-conformtest for tests.
39387 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39390 * conform/data/uchar.h-data: New file.
39391 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39392 * conform/data/arpa/inet.h-data: Likewise.
39393 * conform/data/assert.h-data: Likewise.
39394 * conform/data/complex.h-data: Likewise.
39395 * conform/data/cpio.h-data: Likewise.
39396 * conform/data/ctype.h-data: Likewise.
39397 * conform/data/dirent.h-data: Likewise.
39398 * conform/data/dlfcn.h-data: Likewise.
39399 * conform/data/errno.h-data: Likewise.
39400 * conform/data/fcntl.h-data: Likewise.
39401 * conform/data/float.h-data: Likewise.
39402 * conform/data/fmtmsg.h-data: Likewise.
39403 * conform/data/fnmatch.h-data: Likewise.
39404 * conform/data/ftw.h-data: Likewise.
39405 * conform/data/glob.h-data: Likewise.
39406 * conform/data/grp.h-data: Likewise.
39407 * conform/data/iconv.h-data: Likewise.
39408 * conform/data/inttypes.h-data: Likewise.
39409 * conform/data/langinfo.h-data: Likewise.
39410 * conform/data/libgen.h-data: Likewise.
39411 * conform/data/limits.h-data: Likewise.
39412 * conform/data/locale.h-data: Likewise.
39413 * conform/data/math.h-data: Likewise.
39414 * conform/data/monetary.h-data: Likewise.
39415 * conform/data/mqueue.h-data: Likewise.
39416 * conform/data/ndbm.h-data: Likewise.
39417 * conform/data/net/if.h-data: Likewise.
39418 * conform/data/netdb.h-data: Likewise.
39419 * conform/data/netinet/in.h-data: Likewise.
39420 * conform/data/nl_types.h-data: Likewise.
39421 * conform/data/poll.h-data: Likewise.
39422 * conform/data/pthread.h-data: Likewise.
39423 * conform/data/pwd.h-data: Likewise.
39424 * conform/data/regex.h-data: Likewise.
39425 * conform/data/sched.h-data: Likewise.
39426 * conform/data/search.h-data: Likewise.
39427 * conform/data/semaphore.h-data: Likewise.
39428 * conform/data/setjmp.h-data: Likewise.
39429 * conform/data/signal.h-data: Likewise.
39430 * conform/data/spawn.h-data: Likewise.
39431 * conform/data/stdarg.h-data: Likewise.
39432 * conform/data/stdio.h-data: Likewise.
39433 * conform/data/stdlib.h-data: Likewise.
39434 * conform/data/string.h-data: Likewise.
39435 * conform/data/strings.h-data: Likewise.
39436 * conform/data/stropts.h-data: Likewise.
39437 * conform/data/sys/ipc.h-data: Likewise.
39438 * conform/data/sys/mman.h-data: Likewise.
39439 * conform/data/sys/msg.h-data: Likewise.
39440 * conform/data/sys/resource.h-data: Likewise.
39441 * conform/data/sys/select.h-data: Likewise.
39442 * conform/data/sys/sem.h-data: Likewise.
39443 * conform/data/sys/shm.h-data: Likewise.
39444 * conform/data/sys/socket.h-data: Likewise.
39445 * conform/data/sys/stat.h-data: Likewise.
39446 * conform/data/sys/statvfs.h-data: Likewise.
39447 * conform/data/sys/time.h-data: Likewise.
39448 * conform/data/sys/timeb.h-data: Likewise.
39449 * conform/data/sys/times.h-data: Likewise.
39450 * conform/data/sys/types.h-data: Likewise.
39451 * conform/data/sys/uio.h-data: Likewise.
39452 * conform/data/sys/un.h-data: Likewise.
39453 * conform/data/sys/utsname.h-data: Likewise.
39454 * conform/data/sys/wait.h-data: Likewise.
39455 * conform/data/syslog.h-data: Likewise.
39456 * conform/data/tar.h-data: Likewise.
39457 * conform/data/termios.h-data: Likewise.
39458 * conform/data/utime.h-data: Likewise.
39459 * conform/data/utmpx.h-data: Likewise.
39460 * conform/data/varargs.h-data: Likewise.
39461 * conform/data/wchar.h-data: Likewise.
39462 * conform/data/wctype.h-data: Likewise.
39463 * conform/data/wordexp.h-data: Likewise.
39465 * include/stropts.h: New file.
39466 * include/uchar.h: New file.
39467 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39468 * include/assert.h: Likewise.
39469 * include/ctype.h: Likewise.
39470 * include/dirent.h: Likewise.
39471 * include/dlfcn.h: Likewise.
39472 * include/fcntl.h: Likewise.
39473 * include/fnmatch.h: Likewise.
39474 * include/glob.h: Likewise.
39475 * include/grp.h: Likewise.
39476 * include/libio.h: Likewise.
39477 * include/locale.h: Likewise.
39478 * include/math.h: Likewise.
39479 * include/net/if.h: Likewise.
39480 * include/netdb.h: Likewise.
39481 * include/netinet/in.h: Likewise.
39482 * include/pthread.h: Likewise.
39483 * include/pwd.h: Likewise.
39484 * include/regex.h: Likewise.
39485 * include/sched.h: Likewise.
39486 * include/search.h: Likewise.
39487 * include/setjmp.h: Likewise.
39488 * include/signal.h: Likewise.
39489 * include/stdio.h: Likewise.
39490 * include/stdlib.h: Likewise.
39491 * include/string.h: Likewise.
39492 * include/sys/cdefs.h: Likewise.
39493 * include/sys/mman.h: Likewise.
39494 * include/sys/msg.h: Likewise.
39495 * include/sys/resource.h: Likewise.
39496 * include/sys/select.h: Likewise.
39497 * include/sys/socket.h: Likewise.
39498 * include/sys/stat.h: Likewise.
39499 * include/sys/statvfs.h: Likewise.
39500 * include/sys/time.h: Likewise.
39501 * include/sys/times.h: Likewise.
39502 * include/sys/uio.h: Likewise.
39503 * include/sys/utsname.h: Likewise.
39504 * include/sys/wait.h: Likewise.
39505 * include/termios.h: Likewise.
39506 * include/time.h: Likewise.
39507 * include/ulimit.h: Likewise.
39508 * include/unistd.h: Likewise.
39509 * include/utime.h: Likewise.
39510 * include/wchar.h: Likewise.
39511 * include/wctype.h: Likewise.
39512 * include/wordexp.h: Likewise.
39514 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39516 * time/time.h: TIME_UTC must be a macro.
39517 Make timespec_get available for ISO C11 only as well.
39519 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39521 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39522 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39524 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39526 * configure.in: Use -o not -a in test for unsupported multi-arch.
39528 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39530 * manual/texinfo.tex: Update to version 2012-01-19.16.
39532 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39534 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39536 2012-02-24 Roland McGrath <roland@hack.frob.com>
39539 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39540 * manual/fdl-1.3.texi: New file.
39541 * manual/fdl-1.1.texi: File removed.
39544 * manual/libc.texinfo (FDL_VERSION): New @set.
39545 Use it for mention of FDL in cover text.
39546 (Documentation License): Use it in @include file name.
39548 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39549 Roland McGrath <roland@hack.frob.com>
39552 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39553 (not LONG_LONG_MAX and LONG_LONG_MIN.
39554 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39555 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39557 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39559 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39563 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39564 manipulate bits before adding and subtracting TWO23[sx].
39565 * math/libm-test.inc (nearbyint_test): Add more tests.
39567 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39570 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39571 bits before adding and subtracting TWO23[sx].
39572 * math/libm-test.inc (rint_test): Add more tests.
39573 (rint_test_tonearest): Likewise.
39574 (rint_test_towardzero): Likewise.
39575 (rint_test_downward): Likewise.
39576 (rint_test_upward: Likewise.
39578 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39581 * include/stdc-predef.h: New file. Extracted from features.h.
39582 * include/features.h: Include stdc-predef.h.
39583 * Makefile (headers): Add stdc-predef.h.
39584 * CONFORMANCE (Compiler limitations): Update.
39586 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39588 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39590 2012-02-21 David S. Miller <davem@davemloft.net>
39592 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39593 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39595 2012-02-20 David S. Miller <davem@davemloft.net>
39597 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39598 using a normal save/restore sequence, rather than allocating a
39599 dummy stack frame just to store a frame pointer and restore.
39600 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39602 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39604 * manual/install.texi: Fix stray word in line-wrapped comment.
39606 2012-02-20 David S. Miller <davem@davemloft.net>
39608 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39609 both binutils and gcc support GOTDATA.
39611 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39612 "rd %pc" in the PIC register setup sequences.
39614 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39615 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39616 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39617 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39618 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39620 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39621 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39623 (SYSCALL_ERROR_HANDLER): Likewise.
39624 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39625 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39626 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39627 (SYSCALL_ERROR_HANDLER): Likewise.
39629 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39630 (HAVE_GCC_GOTDATA): New.
39631 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39632 relocation support in both binutils and gcc.
39633 * sysdeps/sparc/elf/configure: Regenerate.
39635 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39636 * sysdeps/sparc/sparc32/elf/configure: Delete.
39637 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39638 * sysdeps/sparc/sparc64/elf/configure: Delete.
39639 * sysdeps/sparc/elf/configure.in: New file.
39640 * sysdeps/sparc/elf/configure: Generate.
39642 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39643 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39644 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39645 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39646 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39648 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39650 * manual/install.texi: Do not mention specific glibc version
39652 * manual/libc.texinfo (VERSION, UPDATED): Update.
39653 (@copying): Use @copyright{} and range of years.
39655 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39658 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39659 [crti.S not in sysdirs] (generated): Do not append.
39660 [crti.S not in sysdirs] (omit-deps): Likewise.
39661 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39662 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39663 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39664 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39665 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39667 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39668 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39669 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39670 * csu/defs.awk: Remove file.
39671 * sysdeps/generic/initfini.c: Likewise.
39672 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39674 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39677 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39679 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39680 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39681 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39682 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39683 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39684 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39686 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39687 (__EPOLL_PACKED): Define to empty if not defined by
39689 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39693 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39695 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39696 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39697 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39698 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39700 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39704 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39706 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39708 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39709 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39710 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39713 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39715 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39716 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39718 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39720 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39721 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39723 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39725 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39728 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39730 * math/w_acos.c: Use non-signaling floating-point comparisons.
39731 * math/w_acosf.c: Likewise.
39732 * math/w_acosh.c: Likewise.
39733 * math/w_acoshf.c: Likewise.
39734 * math/w_acoshl.c: Likewise.
39735 * math/w_acosl.c: Likewise.
39736 * math/w_asin.c: Likewise.
39737 * math/w_asinf.c: Likewise.
39738 * math/w_asinl.c: Likewise.
39739 * math/w_atanh.c: Likewise.
39740 * math/w_atanhf.c: Likewise.
39741 * math/w_atanhl.c: Likewise.
39742 * math/w_exp2.c: Likewise.
39743 * math/w_exp2f.c: Likewise.
39744 * math/w_exp2l.c: Likewise.
39745 * math/w_j0.c: Likewise.
39746 * math/w_j0f.c: Likewise.
39747 * math/w_j0l.c: Likewise.
39748 * math/w_j1.c: Likewise.
39749 * math/w_j1f.c: Likewise.
39750 * math/w_j1l.c: Likewise.
39751 * math/w_jn.c: Likewise.
39752 * math/w_jnf.c: Likewise.
39753 * math/w_log.c: Likewise.
39754 * math/w_log10.c: Likewise.
39755 * math/w_log10f.c: Likewise.
39756 * math/w_log10l.c: Likewise.
39757 * math/w_log2.c: Likewise.
39758 * math/w_log2f.c: Likewise.
39759 * math/w_log2l.c: Likewise.
39760 * math/w_logf.c: Likewise.
39761 * math/w_logl.c: Likewise.
39762 * math/w_sqrt.c: Likewise.
39763 * math/w_sqrtf.c: Likewise.
39764 * math/w_sqrtl.c: Likewise.
39765 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39766 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39767 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39768 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39769 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39771 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39774 * manual/string.texi (strnlen): Use correct parameter name in
39775 equivalent expression.
39777 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39780 * manual/users.texi (seteuid): Consistently use neweuid for
39783 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39786 * manual/nss.texi (Services in the NSS configuration): Correct
39787 list of services in example configuration file.
39789 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39792 * manual/arith.texi: Remove statements about negative zero
39793 behaving identically to zero.
39795 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39798 * manual/install.texi: Do not document upgrading from libc5.
39800 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39803 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39805 2012-02-18 David S. Miller <davem@davemloft.net>
39807 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39808 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39809 %o7 across the call.
39810 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39812 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39813 SETUP_PIC_REG_LEAF.
39814 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39815 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39816 * sysdeps/sparc/crtn.S: Likewise.
39818 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39820 * aout/Makefile: Remove.
39822 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39825 * manual/examples/argp-ex1.c (main): Format definition in GNU
39827 * manual/examples/argp-ex2.c (main): Likewise.
39828 * manual/examples/argp-ex3.c (main): Likewise.
39829 * manual/examples/argp-ex4.c (main): Likewise.
39830 * manual/examples/longopt.c (main): Use new-style prototype
39832 * manual/examples/strncat.c (main): Specify return type and use
39833 (void) for arguments.
39834 * manual/examples/subopt.c (main): Use char **argv argument.
39836 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39839 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39842 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39845 * manual/string.texi (strchr): Change when strchrnul is
39848 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39851 * manual/locale.texi (setlocale): Document LOCPATH.
39853 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39856 * manual/process.texi (execle): Move @dots{} before last argument.
39858 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39861 * manual/charset.texi (Generic Charset Conversion): Fix typo
39862 (LC_TYPE -> LC_CTYPE).
39864 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39867 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39868 (scalbnf): Likewise.
39869 (scalbnl): Likewise.
39870 (scalbln): Likewise.
39871 (scalblnf): Likewise.
39872 (scalblnl): Likewise.
39873 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39874 (vwarnx): Likewise.
39877 * manual/filesys.texi (telldir): Use braces around return type.
39878 * manual/llio.texi (mmap): Add space after comma.
39879 (mmap64): Likewise.
39880 * manual/math.texi (jn): Use @var{} on parameter names.
39886 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39888 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39890 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39891 (sched_get_priority_max): Likewise.
39892 * manual/signal.texi (sigvec): Add space after comma.
39893 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39895 (if_indextoname): Likewise.
39896 (if_freenameindex): Likewise.
39897 (sendto): Use ',' instead of '.' in prototype.
39898 * manual/startup.texi (syscall): Use @dots{} instead of literal
39900 * manual/stdio.texi (__fpending): Separate initial words of
39901 paragraph from @deftypefun line.
39902 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39904 (vsyslog): Use @var{} on parameter names.
39905 * manual/terminal.texi (stty): Use @var{} on parameter names.
39906 * manual/users.texi (getutmp): Use @var{} on parameter names.
39907 (getutmpx): Likewise.
39909 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39912 * manual/stdio.texi (fopen): Fix typos in description of
39915 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39918 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39919 get clock_id definition.
39921 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39924 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39925 (madvise): Cast every argument to void on its own.
39927 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39930 * manual/startup.texi (Exit Status): Fix typo.
39932 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39935 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39936 * manual/examples/argp-ex2.c: Likewise.
39937 * manual/examples/argp-ex3.c: Likewise.
39939 2012-02-16 Richard Henderson <rth@redhat.com>
39941 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39942 * sysdeps/s390/s390-32/initfini.c: Remove.
39943 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39944 * sysdeps/s390/s390-64/initfini.c: Remove.
39946 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39948 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39949 compiler output for sysdeps/generic/initfini.c.
39950 * sysdeps/sh/elf/initfini.c: Remove file.
39952 2012-02-16 David S. Miller <davem@davemloft.net>
39955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39957 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39958 * sysdeps/sparc/crti.S: New file.
39959 * sysdeps/sparc/crtn.S: New file.
39960 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39961 * sysdeps/sparc/sparc64/Makefile: Likewise.
39963 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39966 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39968 2012-02-15 Roland McGrath <roland@hack.frob.com>
39971 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39973 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39974 (write, read, close): Likewise.
39975 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39977 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39979 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39980 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39981 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39982 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39984 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39988 2012-02-14 Marek Polacek <polacek@redhat.com>
39990 * sysdeps/x86_64/crti.S: New file.
39991 * sysdeps/x86_64/crtn.S: New file.
39992 * sysdeps/x86_64/elf/initfini.c: Remove file.
39994 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39996 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39997 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39998 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39999 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40001 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40005 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40007 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40008 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40009 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40010 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40012 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40016 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40018 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40019 __feraiseexcept instead of feraiseexcept.
40021 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40022 nanosleep invocations.
40023 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40024 strings, and add error checking for a nanosleep invocations.
40026 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40028 Replace FSF snail mail address with URLs, as per GNU coding standards.
40029 Most of the snail mail addresses were wrong anyway, and omitting
40030 them makes the source code easier to maintain. Almost all of the
40031 changes are to license notices and to locale LC_IDENTIFICATION
40032 addresses, except for this one:
40033 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40034 not its snail mail address.
40036 2012-02-09 Richard Henderson <rth@twiddle.net>
40038 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40039 of kernel-features.h.
40041 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40043 2012-02-08 Marek Polacek <polacek@redhat.com>
40045 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40046 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40047 * sysdeps/gnu/_G_config.h: Likewise.
40048 * sysdeps/generic/_G_config.h: Likewise.
40050 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40052 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40056 * sysdeps/powerpc/powerpc32/crti.S: New file.
40057 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40058 * sysdeps/powerpc/powerpc64/crti.S: New file.
40059 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40061 * Makeconfig (have-initfini): Don't set.
40062 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40063 * configure.in (nopic_initfini): Don't substitute.
40064 * config.h.in (HAVE_INITFINI): Don't #undef.
40065 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40066 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40068 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40070 Support crti.S and crtn.S provided directly by architectures.
40071 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40072 [crti.S in sysdirs] (omit-deps): Likewise.
40073 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40074 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40075 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40076 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40077 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40078 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40079 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40080 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40081 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40082 compiler output for sysdeps/generic/initfini.c.
40083 * sysdeps/i386/elf/Makefile: Remove file.
40084 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40086 2012-02-07 Marek Polacek <polacek@redhat.com>
40088 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40089 * sysdeps/gnu/_G_config.h: Likewise.
40090 * sysdeps/mach/hurd/_G_config.h: Likewise.
40092 2012-02-07 Marek Polacek <polacek@redhat.com>
40094 * math/Makefile (tests): Add tst-CMPLX2.
40095 * math/tst-CMPLX2.c: New file.
40097 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40099 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40101 * math/libm-test.inc (jn_test): Add missing L suffix.
40103 2012-02-06 Marek Polacek <polacek@redhat.com>
40105 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40106 * sysdeps/i386/fpu/e_powf.S: Likewise.
40107 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40108 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40109 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40110 * sysdeps/i386/fpu/e_pow.S: Likewise.
40111 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40112 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40113 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40114 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40115 * sysdeps/i386/fpu/e_log2.S: Likewise.
40116 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40117 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40118 * sysdeps/i386/fpu/e_powl.S: Likewise.
40119 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40120 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40121 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40122 * sysdeps/i386/fpu/e_logl.S: Likewise.
40123 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40124 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40125 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40126 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40127 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40128 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40129 * sysdeps/i386/fpu/e_log.S: Likewise.
40130 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40131 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40132 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40133 * sysdeps/i386/fpu/e_logf.S: Likewise.
40134 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40135 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40136 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40137 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40138 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40139 * sysdeps/i386/fpu/e_log10.S: Likewise.
40140 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40141 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40142 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40143 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40144 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40145 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40146 * sysdeps/i386/asm-syntax.h: Likewise.
40147 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40148 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40149 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40150 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40151 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40152 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40153 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40154 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40155 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40156 * sysdeps/powerpc/sysdep.h: Likewise.
40157 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40158 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40160 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40163 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40165 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40167 * sysdeps/i386/sysdep.h: Include <features.h>.
40168 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40171 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40173 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40175 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40178 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40180 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40181 (SETUP_PIC_REG): Use GET_PC_THUNK.
40182 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40185 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40187 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40188 for non-PIC compilation.
40189 (SETUP_PIC_REG): Add .p2align directive.
40190 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40191 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40192 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40193 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40194 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40195 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40196 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40197 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40198 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40199 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40200 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40201 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40202 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40203 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40204 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40205 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40206 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40207 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40208 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40209 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40210 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40211 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40212 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40213 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40214 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40216 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40217 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40218 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40219 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40220 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40221 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40222 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40223 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40224 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40225 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40226 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40227 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40228 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40229 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40230 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40232 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40234 * math/tst-CMPLX.c: Include <stdio.h>.
40236 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40238 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40240 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40241 * sysdeps/sparc/bits/mathdef.h: Likewise.
40243 2012-01-31 Marek Polacek <polacek@redhat.com>
40245 * libio/libio.h: Don't define _PARAMS.
40246 * locale/programs/config.h: Don't define PARAMS.
40247 * stdlib/strtol_l.c: Likewise.
40248 (__strtol_l): Remove PARAMS from the prototype.
40250 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40252 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40253 names. Just use the correct names. Remove unnecessary wrapper
40255 * malloc/arena.c: Likewise.
40256 * malloc/hooks.c: Likewise.
40258 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40259 ARENA_TEST says not to. Simplify test for creation of a new arena.
40260 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40262 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40264 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40266 (update_get_addr): New function.
40267 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40268 GET_ADDR_MODULE parameter.
40270 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40272 * crypt/cert.c: Remove __STDC__ conditionals.
40273 * crypt/crypt-entry.c: Likewise.
40274 * crypt/crypt_util.c: Likewise.
40275 * libio/filedoalloc.c: Likewise.
40276 * libio/fileops.c: Likewise.
40277 * libio/genops.c: Likewise.
40278 * libio/iofclose.c: Likewise.
40279 * libio/iofdopen.c: Likewise.
40280 * libio/iofopen.c: Likewise.
40281 * libio/iofopen64.c: Likewise.
40282 * libio/iogetdelim.c: Likewise.
40283 * libio/iopopen.c: Likewise.
40284 * libio/obprintf.c: Likewise.
40285 * libio/oldfileops.c: Likewise.
40286 * libio/oldiofclose.c: Likewise.
40287 * libio/oldiofdopen.c: Likewise.
40288 * libio/oldiofopen.c: Likewise.
40289 * libio/oldiopopen.c: Likewise.
40290 * libio/wfiledoalloc.c: Likewise.
40291 * libio/wgenops.c: Likewise.
40292 * locale/programs/xmalloc.c: Likewise.
40293 * misc/syslog.c: Likewise.
40294 * stdio-common/xbug.c: Likewise.
40295 * string/memchr.c: Likewise.
40296 * string/memcmp.c: Likewise.
40297 * string/memrchr.c: Likewise.
40298 * string/rawmemchr.c: Likewise.
40299 * sysdeps/posix/getcwd.c: Likewise.
40300 * time/strftime_l.c: Likewise.
40302 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40304 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40305 * config.make.in (config-cflags-sse2avx): Define.
40306 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40309 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40311 * scripts/config.guess: Update from upstream config git repository.
40312 * scripts/config.sub: Likewise.
40314 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40316 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40318 (R_TILEPRO_*, R_TILEGX_*): New macros.
40320 * scripts/firstversions.awk: Fix bug in version range handling.
40322 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40324 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40326 * include/sys/epoll.h: New file.
40327 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40330 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40332 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40333 Avoid unnecessary __WORDSIZE == 64 test.
40334 (fmaxf): Use VEX format if possible.
40339 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40340 * math/math_private.h: Remove libc_fegetround* and
40342 * sysdeps/i386/configure.in: Check for -msse2avx.
40343 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40344 also if SSE2AVX is defined.
40345 Remove libc_fegetround* and libc_fesetround*.
40346 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40347 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40348 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40350 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40351 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40352 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40353 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40354 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40356 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40358 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40360 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40362 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40364 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40367 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40369 * Makeconfig (libm): Define.
40370 * elf/Makefile: Add rules to build and run tst-relsort1.
40371 * elf/tst-relsort1.c: New file.
40372 * elf/tst-relsort1mod1.c: New file.
40373 * elf/tst-relsort1mod2.c: New file.
40375 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40377 * math/s_ldexp.c: Remove __STDC__ conditionals.
40378 * math/s_ldexpf.c: Likewise.
40379 * math/s_ldexpl.c: Likewise.
40380 * math/s_nextafter.c: Likewise.
40381 * math/s_nexttowardf.c: Likewise.
40382 * math/s_significand.c: Likewise.
40383 * math/s_significandf.c: Likewise.
40384 * math/s_significandl.c: Likewise.
40385 * math/w_jnl.c: Likewise.
40386 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40387 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40388 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40389 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40390 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40392 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40393 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40394 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40395 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40396 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40397 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40398 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40399 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40400 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40401 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40402 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40403 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40404 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40405 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40406 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40407 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40408 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40409 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40410 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40411 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40412 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40413 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40414 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40415 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40416 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40417 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40418 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40419 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40420 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40421 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40422 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40423 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40424 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40425 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40426 * sysdeps/ieee754/k_standard.c: Likewise.
40427 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40428 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40429 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40430 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40431 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40432 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40433 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40434 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40435 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40436 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40437 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40438 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40439 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40440 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40441 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40442 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40443 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40444 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40445 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40446 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40447 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40448 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40449 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40450 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40451 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40452 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40455 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40456 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40457 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40458 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40459 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40460 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40461 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40462 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40463 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40464 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40465 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40466 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40467 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40468 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40469 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40470 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40471 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40472 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40473 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40474 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40475 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40476 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40477 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40478 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40479 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40480 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40481 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40482 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40483 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40484 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40485 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40486 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40487 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40488 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40489 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40490 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40491 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40492 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40493 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40494 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40495 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40496 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40497 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40498 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40499 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40500 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40501 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40502 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40503 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40504 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40505 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40506 * sysdeps/ieee754/s_matherr.c: Likewise.
40507 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40508 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40509 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40510 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40512 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40514 * crypt/md5.h: Remove __STDC__ conditionals.
40515 * libio/libioP.h: Likewise.
40516 * locale/programs/config.h: Likewise.
40517 * sysdeps/generic/sysdep.h: Likewise.
40518 * sysdeps/i386/asm-syntax.h: Likewise.
40519 * sysdeps/s390/asm-syntax.h: Likewise.
40520 * sysdeps/unix/sysdep.h: Likewise.
40521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40524 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40526 * libio/libio.h: Remove __STDC__ conditionals.
40527 * malloc/obstack.h: Likewise.
40528 * math/complex.h: Likewise.
40529 * math/math.h: Likewise.
40530 * sysdeps/generic/_G_config.h: Likewise.
40531 * sysdeps/gnu/_G_config.h: Likewise.
40532 * sysdeps/mach/hurd/_G_config.h: Likewise.
40533 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40534 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40535 * sysdeps/sparc/bits/mathdef.h: Likewise.
40537 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40540 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40541 Clean up HAS_* macros.
40542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40543 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40545 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40547 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40548 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40549 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40550 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40551 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40553 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40555 * elf/tst-unique3.cc (gets): Remove declaration.
40556 * elf/tst-unique3lib.cc (gets): Likewise.
40557 * elf/tst-unique3lib2.cc (gets): Likewise.
40558 * elf/tst-unique4.cc (gets): Likewise.
40560 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40562 * include/stdio.h: Add C++ protection. Add gets declarations and
40564 * debug/tst-chk1.c: Don't declare gets here.
40565 * stdio-common/tst-gets.c: Likewise.
40567 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40569 * posix/glob: Remove directory.
40571 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40573 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40575 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40577 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40578 of the non-standard EPFNOSUPPORT.
40580 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40582 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40583 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40584 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40586 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40588 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40590 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40592 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40594 * nscd/grpcache.c (cache_addgr): Likewise.
40595 * nscd/hstcache.c (cache_addhst): Likewise.
40596 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40597 * nscd/pwdcache.c (cache_addpw): Likewise.
40598 * nscd/servicescache.c (cache_addserv): Likewise.
40600 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40602 * malloc/malloc.c: Various cleanups.
40603 * malloc/hooks.c: Likewise.
40605 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40606 * stdlib/bug-fmtmsg1.c: New file.
40608 * stdlib/fmtmsg.c (init): Add missing unlock.
40609 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40611 2012-01-12 Marek Polacek <polacek@redhat.com>
40613 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40616 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40618 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40619 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40620 macro to ensure uniqueness of label name.
40621 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40622 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40624 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40626 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40628 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40629 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40630 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40633 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40635 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40637 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40638 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40639 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40641 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40643 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40644 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40645 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40646 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40648 * math/bits/math-finite.h: Add ldexp support.
40650 2012-01-10 Marek Polacek <polacek@redhat.com>
40652 * locale/programs/localedef.h (show_archive_content): Add noreturn
40655 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40657 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40659 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40661 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40663 * io/Makefile (headers): Add bits/poll2.h.
40665 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40668 typo #include statement.
40670 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40672 * include/sys/cdefs.h: Define __attribute_alloc_size.
40673 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40674 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40675 * elf/pldd.c: Likewise.
40676 * iconv/iconv_charmap.c: Likewise.
40677 * iconv/iconvconfig.c: Likewise.
40678 * iconv/strtab.c: Likewise.
40679 * locale/programs/locale.c: Likewise.
40680 * locale/programs/localedef.h: Likewise.
40681 * locale/programs/simple-hash.c: Likewise.
40682 * nscd/nscd.h: Likewise.
40683 * nss/makedb.c: Likewise.
40684 * sysdeps/generic/ldconfig.h: Likewise.
40685 * locale/programs/localedef.c: Remove xmalloc prototype.
40686 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40688 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40690 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40693 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40695 * math/Makefile (tests): Add tst-CMPLX.
40696 * math/tst-CMPLX.c: New file.
40698 * math/complex.h (CMPLXL): Fix typo.
40700 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40701 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40703 * debug/tst-chk1.c: Add poll and ppoll tests.
40704 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40705 * include/sys/poll.h: Add hidden proto for ppoll.
40706 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40707 * sysdeps/mach/hurd/ppoll.c: Likewise.
40708 * io/ppoll.c: Likewise.
40709 * debug/poll_chk.c: New file.
40710 * debug/ppoll_chk.c: New file.
40711 * include/bits/poll2.h: New file.
40712 * io/bits/poll2.h: New file.
40715 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40717 * configure.in: static is always set to yes. Remove.
40718 * config.make.in: Don't set build-static.
40719 * Makeconfig: Remove use of build-static.
40720 * dlfcn/Makefile: Likewise.
40721 * elf/Makefile: Likewise.
40722 * math/Makefile: Likewise.
40723 * misc/Makefile: Likewise.
40724 * nptl/Makefile: Likewise.
40725 * sysdeps/mach/hurd/Makefile: Likewise.
40727 * configure.in: PWD_P is not used anymore.
40728 * config.make.in: Remove PWD_P entry.
40730 * configure.in: Remove last remnants of RANLIB.
40731 No need to check for signed size_t anymore.
40732 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40734 Remove __builtin_expect test because we require at least gcc 3.4.
40735 * aclocal.m4: Likewise.
40737 * wcsmbs/mbrtoc16.c: Implement using towc function.
40738 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40739 * wcsmbs/wcsmbsload.c: Likewise.
40740 * iconv/gconv_simple.c: Likewise.
40741 * iconv/gconv_int.h: Likewise.
40742 * iconv/gconv_builtin.h: Likewise.
40743 * iconv/iconv_prog.c: Remove CHAR16 handling.
40745 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40747 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40749 * configure.in: Remove --with-elf and --enable-bounded options.
40750 Dont set base_machine for ia64. More non-ELF conditions removed.
40751 Remove testing and setting of leading underscore information.
40752 * config.make.in (build-bounded): Set to no.
40753 * config.h.in: Remove NO_UNDERSCORES entry.
40754 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40756 * csu/start.c: Remove !NO_UNDERSCORE code.
40757 * locale/localeinfo.h: Likewise.
40758 * sysdeps/generic/machine-gmon.h: Likewise.
40759 * sysdeps/generic/sysdep.h: Likewise.
40760 * sysdeps/i386/sysdep.h: Likewise.
40761 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40762 * sysdeps/mach/sysdep.h: Likewise.
40763 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40764 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40765 * sysdeps/sh/sysdep.h: Likewise.
40766 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40767 * sysdeps/unix/i386/sysdep.S: Likewise.
40768 * sysdeps/unix/sparc/start.c: Likewise.
40769 * sysdeps/unix/sparc/sysdep.S: Likewise.
40770 * sysdeps/unix/sparc/sysdep.h: Likewise.
40771 * sysdeps/unix/start.c: Likewise.
40772 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40773 * sysdeps/x86_64/sysdep.h: Likewise.
40775 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40778 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40780 * argp/argp-fmtstream.h: Use const instead __const.
40781 * argp/argp.h: Likewise.
40782 * assert/assert.h: Likewise.
40783 * bits/fenv.h: Likewise.
40784 * bits/sched.h: Likewise.
40785 * bits/sigset.h: Likewise.
40786 * bits/sigthread.h: Likewise.
40787 * catgets/nl_types.h: Likewise.
40788 * conform/data/pthread.h-data: Likewise.
40789 * crypt/crypt-private.h: Likewise.
40790 * crypt/crypt.h: Likewise.
40791 * crypt/crypt_util.c: Likewise.
40792 * ctype/ctype.h: Likewise.
40793 * debug/execinfo.h: Likewise.
40794 * debug/mbsnrtowcs_chk.c: Likewise.
40795 * debug/mbsrtowcs_chk.c: Likewise.
40796 * debug/wcsnrtombs_chk.c: Likewise.
40797 * debug/wcsrtombs_chk.c: Likewise.
40798 * debug/wcstombs_chk.c: Likewise.
40799 * dirent/dirent.h: Likewise.
40800 * dlfcn/dlfcn.h: Likewise.
40801 * elf/neededtest4.c: Likewise.
40802 * grp/grp.h: Likewise.
40803 * gshadow/gshadow.h: Likewise.
40804 * iconv/gconv.h: Likewise.
40805 * iconv/gconv_int.h: Likewise.
40806 * iconv/gconv_simple.c: Likewise.
40807 * iconv/iconv.h: Likewise.
40808 * iconv/loop.c: Likewise.
40809 * iconv/skeleton.c: Likewise.
40810 * include/aio.h: Likewise.
40811 * include/aliases.h: Likewise.
40812 * include/argz.h: Likewise.
40813 * include/arpa/inet.h: Likewise.
40814 * include/assert.h: Likewise.
40815 * include/dirent.h: Likewise.
40816 * include/dlfcn.h: Likewise.
40817 * include/execinfo.h: Likewise.
40818 * include/fcntl.h: Likewise.
40819 * include/fenv.h: Likewise.
40820 * include/glob.h: Likewise.
40821 * include/grp.h: Likewise.
40822 * include/libintl.h: Likewise.
40823 * include/mntent.h: Likewise.
40824 * include/netdb.h: Likewise.
40825 * include/pwd.h: Likewise.
40826 * include/rpc/netdb.h: Likewise.
40827 * include/sched.h: Likewise.
40828 * include/search.h: Likewise.
40829 * include/shadow.h: Likewise.
40830 * include/signal.h: Likewise.
40831 * include/stdio.h: Likewise.
40832 * include/stdlib.h: Likewise.
40833 * include/string.h: Likewise.
40834 * include/sys/socket.h: Likewise.
40835 * include/sys/stat.h: Likewise.
40836 * include/sys/statfs.h: Likewise.
40837 * include/sys/statvfs.h: Likewise.
40838 * include/sys/syslog.h: Likewise.
40839 * include/sys/time.h: Likewise.
40840 * include/sys/uio.h: Likewise.
40841 * include/time.h: Likewise.
40842 * include/unistd.h: Likewise.
40843 * include/utmp.h: Likewise.
40844 * include/wchar.h: Likewise.
40845 * include/wctype.h: Likewise.
40846 * inet/aliases.h: Likewise.
40847 * inet/arpa/inet.h: Likewise.
40848 * inet/netinet/ether.h: Likewise.
40849 * inet/netinet/in.h: Likewise.
40850 * intl/libintl.h: Likewise.
40851 * io/bits/fcntl2.h: Likewise.
40852 * io/fcntl.h: Likewise.
40853 * io/ftw.h: Likewise.
40854 * io/sys/poll.h: Likewise.
40855 * io/sys/stat.h: Likewise.
40856 * io/sys/statfs.h: Likewise.
40857 * io/sys/statvfs.h: Likewise.
40858 * io/utime.h: Likewise.
40859 * libio/bits/stdio.h: Likewise.
40860 * libio/bits/stdio2.h: Likewise.
40861 * libio/libio.h: Likewise.
40862 * libio/libioP.h: Likewise.
40863 * libio/stdio.h: Likewise.
40864 * locale/lc-ctype.c: Likewise.
40865 * locale/locale.h: Likewise.
40866 * login/utmp.h: Likewise.
40867 * malloc/arena.c: Likewise.
40868 * malloc/malloc.c: Likewise.
40869 * malloc/malloc.h: Likewise.
40870 * malloc/mcheck.c: Likewise.
40871 * malloc/mtrace.c: Likewise.
40872 * math/bits/mathcalls.h: Likewise.
40873 * math/fenv.h: Likewise.
40874 * math/math_private.h: Likewise.
40875 * misc/bits/error.h: Likewise.
40876 * misc/bits/syslog.h: Likewise.
40877 * misc/err.h: Likewise.
40878 * misc/error.h: Likewise.
40879 * misc/fstab.h: Likewise.
40880 * misc/mntent.h: Likewise.
40881 * misc/regexp.h: Likewise.
40882 * misc/search.h: Likewise.
40883 * misc/sgtty.h: Likewise.
40884 * misc/sys/mman.h: Likewise.
40885 * misc/sys/syslog.h: Likewise.
40886 * misc/sys/uio.h: Likewise.
40887 * misc/sys/xattr.h: Likewise.
40888 * misc/ttyent.h: Likewise.
40889 * nis/rpcsvc/ypclnt.h: Likewise.
40890 * nss/nss.h: Likewise.
40891 * posix/bits/unistd.h: Likewise.
40892 * posix/fnmatch.h: Likewise.
40893 * posix/glob.h: Likewise.
40894 * posix/sched.h: Likewise.
40895 * posix/spawn.h: Likewise.
40896 * posix/sys/wait.h: Likewise.
40897 * posix/unistd.h: Likewise.
40898 * posix/wordexp.h: Likewise.
40899 * pwd/pwd.h: Likewise.
40900 * resolv/netdb.h: Likewise.
40901 * resource/sys/resource.h: Likewise.
40902 * rt/aio.h: Likewise.
40903 * rt/bits/mqueue2.h: Likewise.
40904 * rt/mqueue.h: Likewise.
40905 * shadow/shadow.h: Likewise.
40906 * signal/signal.h: Likewise.
40907 * socket/send.c: Likewise.
40908 * socket/sendto.c: Likewise.
40909 * socket/sys/socket.h: Likewise.
40910 * stdio-common/printf.h: Likewise.
40911 * stdlib/bits/stdlib.h: Likewise.
40912 * stdlib/fmtmsg.h: Likewise.
40913 * stdlib/monetary.h: Likewise.
40914 * stdlib/stdlib.h: Likewise.
40915 * stdlib/ucontext.h: Likewise.
40916 * streams/stropts.h: Likewise.
40917 * string/argz.h: Likewise.
40918 * string/bits/string2.h: Likewise.
40919 * string/string.h: Likewise.
40920 * string/strings.h: Likewise.
40921 * sunrpc/rpc/auth.h: Likewise.
40922 * sunrpc/rpc/auth_des.h: Likewise.
40923 * sunrpc/rpc/clnt.h: Likewise.
40924 * sunrpc/rpc/netdb.h: Likewise.
40925 * sunrpc/rpc/pmap_clnt.h: Likewise.
40926 * sunrpc/rpc/xdr.h: Likewise.
40927 * sysdeps/generic/inttypes.h: Likewise.
40928 * sysdeps/generic/net/if.h: Likewise.
40929 * sysdeps/generic/sys/swap.h: Likewise.
40930 * sysdeps/gnu/net/if.h: Likewise.
40931 * sysdeps/gnu/utmpx.h: Likewise.
40932 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40933 * sysdeps/i386/i486/bits/string.h: Likewise.
40934 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40935 * sysdeps/s390/bits/string.h: Likewise.
40936 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40937 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40938 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40939 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40940 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40941 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40942 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40943 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40944 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40945 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40946 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40947 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40948 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40949 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40950 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40951 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40952 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40954 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40955 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40957 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40958 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40959 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40960 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40961 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40962 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40963 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40964 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40965 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40966 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40967 * sysvipc/sys/ipc.h: Likewise.
40968 * sysvipc/sys/msg.h: Likewise.
40969 * sysvipc/sys/sem.h: Likewise.
40970 * sysvipc/sys/shm.h: Likewise.
40971 * termios/termios.h: Likewise.
40972 * time/sys/time.h: Likewise.
40973 * time/time.h: Likewise.
40974 * wcsmbs/bits/wchar2.h: Likewise.
40975 * wcsmbs/uchar.h: Likewise.
40976 * wcsmbs/wchar.h: Likewise.
40977 * wctype/wctype.h: Likewise.
40980 * Makeconfig: Remove all but ELF support including AIX support.
40981 * Makerules: Likewise.
40982 * config.h.in: Likewise.
40983 * config.make.in: Likewise.
40984 * configure: Likewise.
40985 * configure.in: Likewise.
40986 * csu/Makefile: Likewise.
40987 * csu/version.c: Likewise.
40988 * debug/Makefile: Likewise.
40989 * dlfcn/Makefile: Likewise.
40990 * elf/Makefile: Likewise.
40991 * extra-lib.mk: Likewise.
40992 * iconv/Makefile: Likewise.
40993 * include/libc-symbols.h: Likewise.
40994 * include/shlib-compat.h: Likewise.
40995 * resolv/Makefile: Likewise.
40996 * resolv/res_libc.c: Likewise.
40997 * rt/Makefile: Likewise.
40998 * sysdeps/i386/asm-syntax.h: Likewise.
40999 * sysdeps/i386/sysdep.h: Likewise.
41000 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41001 * sysdeps/mach/sysdep.h: Likewise.
41002 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41003 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41004 * sysdeps/s390/asm-syntax.h: Likewise.
41005 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41006 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41007 * sysdeps/sh/sysdep.h: Likewise.
41008 * sysdeps/unix/sparc/sysdep.h: Likewise.
41009 * sysdeps/wordsize-32/divdi3.c: Likewise.
41010 * sysdeps/x86_64/sysdep.h: Likewise.
41012 * argp/Versions: Remove _argp_unlock_xxx.
41015 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41016 * abilist/libBrokenLocale.abilist: Likewise.
41017 * abilist/libanl.abilist: Likewise.
41018 * abilist/libc.abilist: Likewise.
41019 * abilist/libcrypt.abilist: Likewise.
41020 * abilist/libdl.abilist: Likewise.
41021 * abilist/libm.abilist: Likewise.
41022 * abilist/libnsl.abilist: Likewise.
41023 * abilist/libpthread.abilist: Likewise.
41024 * abilist/libresolv.abilist: Likewise.
41025 * abilist/librt.abilist: Likewise.
41026 * abilist/libthread_db.abilist: Likewise.
41027 * abilist/libutil.abilist: Likewise.
41028 * abilist/libnss_db.abilist: New file.
41030 * scripts/abilist.awk: Add support for indirect functions.
41032 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41034 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41036 * shlib-versions: Remove entries for ports architectures.
41038 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41040 * elf/stackguard-macros.h: Remove support for IA-64.
41041 * elf/tst-auditmod1.c: Likewise.
41042 * sysdeps/generic/ldsodefs.h: Likewise.
41044 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41045 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41049 * configure.in: Remove --enable-omitfp support.
41051 * config.make.in: Likewise.
41052 * Makeconfig: Likewise.
41053 * manual/install.texi: Likewise.
41055 In case anyone cares, the IA-64 architecture could move to ports.
41056 * sysdeps/ia64/*: Removed.
41057 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41058 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41061 * configure.in: Remove entries for unsupported architectures.
41064 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41065 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41067 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41068 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41069 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41070 fall back to using wcrtomb.
41071 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41072 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41074 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41075 * wcsmbs/tst-c16c32-1.c: New file.
41077 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41080 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41082 * elf/tst-unique3.cc: Add explicit declaration of gets.
41083 * elf/tst-unique3lib.cc: Likewise.
41084 * elf/tst-unique3lib2.cc: Likewise.
41085 * elf/tst-unique4.cc: Likewise.
41087 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41089 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41092 * assert/assert.h (static_assert): Don't define for C++.
41093 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41094 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41096 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41098 * iconv/loop.c (single loop): Fix assertion in storing of
41101 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41103 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41105 * posix/getconf.c: Update copyright year.
41106 * nss/getent.c: Likewise.
41107 * nss/makedb.c: Likewise.
41108 * iconv/iconvconfig.c: Likewise.
41109 * iconv/iconv_prog.c: Likewise.
41110 * elf/ldconfig.c: Likewise.
41111 * elf/pldd.c: Likewise.
41112 * elf/sotruss.ksh: Likewise.
41113 * catgets/gencat.c: Likewise.
41114 * csu/version.c: Likewise.
41115 * elf/ldd.bash.in: Likewise.
41116 * elf/sprof.c (print_version): Likewise.
41117 * locale/programs/locale.c: Likewise.
41118 * locale/programs/localedef.c: Likewise.
41119 * login/programs/pt_chown.c: Likewise.
41120 * nscd/nscd.c (print_version): Likewise.
41121 * debug/xtrace.sh: Likewise.
41122 * malloc/memusage.sh: Likewise.
41123 * malloc/mtrace.pl: Likewise.
41124 * debug/catchsegv.sh: Likewise.
41126 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41128 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41131 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41134 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41135 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41137 * iconv/gconv_int.h: Likewise.
41138 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41139 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41140 from libc for GLIBC_2.16.
41141 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41142 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41143 * wcsmbs/uchar.h: Really define mbstate_t.
41144 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41145 * wcsmbs/c16rtomb.c: New file.
41146 * wcsmbs/mbrtoc16.c: New file.
41147 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41148 for C/POSIX locale.
41149 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41150 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41152 * wcsmbs/wchar.h: Add missing __restrict.
41154 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41157 * time/Makefile (routines): Add timespec_get.
41158 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41159 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41160 timespec for ISO C11.
41161 * time/timespec_get.c: New file.
41162 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41163 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41166 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41167 * stdlib/stdlib.h: Declare aligned_alloc.
41168 * Versions.def: Add GLIBC_2.16 for libc.
41169 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41172 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41175 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41179 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41182 * assert/assert.h (static_assert): Define.
41184 * version.h: Update for 2.16 development version.
41187 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41190 * version.h (RELEASE): Bump for 2.15 release.
41191 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41193 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41194 Patch by Marek Polacek <mpolacek@redhat.com>.
41196 * bits/byteswap.h: Protect long long constants with __extension__.
41197 * sysdeps/i386/bits/byteswap.h: Likewise.
41198 * sysdeps/ia64/bits/byteswap.h: Likewise.
41199 * sysdeps/s390/bits/byteswap.h: Likewise.
41200 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41202 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41205 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41206 destination buffer.
41207 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41209 2011-12-23 Marek Polacek <polacek@redhat.com>
41211 * elf/dl-addr.c (determine_info): Add inline keyword.
41212 * elf/tst-auditmod4b.c (check_avx): Likewise.
41213 * elf/tst-auditmod6b.c (check_avx): Likewise.
41214 * elf/tst-auditmod6c.c (check_avx): Likewise.
41215 * elf/tst-auditmod7b.c (check_avx): Likewise.
41217 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41219 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41222 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41225 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41226 processing for last bytes.
41228 2011-08-06 Bruno Haible <bruno@clisp.org>
41231 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41232 U+0385, not to U+1FEE.
41235 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41236 entry for U+00A5 U+0301.
41238 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41241 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41242 buffer for the output is too small.
41244 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41248 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41249 SSE flags if possible.
41251 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41255 processing for last bytes.
41257 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41259 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41260 (syscall-list-default-options, syscall-list-default-condition)
41261 (syscall-list-includes): Define.
41262 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41263 list of ABIs and options and #if conditions for each ABI. Do not
41264 handle common syscalls between ABIs specially.
41265 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41267 (syscall-list-variants, syscall-list-32bit-options)
41268 (syscall-list-32bit-condition, syscall-list-64bit-options)
41269 (syscall-list-64bit-condition): Define.
41270 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41271 (syscall-list-variants, syscall-list-32bit-options)
41272 (syscall-list-32bit-condition, syscall-list-64bit-options)
41273 (syscall-list-64bit-condition): Define.
41274 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41276 (syscall-list-variants, syscall-list-32bit-options)
41277 (syscall-list-32bit-condition, syscall-list-64bit-options)
41278 (syscall-list-64bit-condition): Define.
41279 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41281 (syscall-list-variants, syscall-list-32bit-options)
41282 (syscall-list-32bit-condition, syscall-list-64bit-options)
41283 (syscall-list-64bit-condition): Define.
41285 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41287 * locale/iso-639.def: Add brx entry.
41290 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41291 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41293 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41294 __feraiseexcept_renamed.
41296 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41299 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41300 EPOLLET with unsigned values.
41301 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41302 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41304 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41305 to large cancellation.
41306 * math/s_cacoshf.c: Likewise.
41307 * math/s_cacoshl.c: Likewise.
41309 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41313 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41314 * math/s_cacoshf.c: Likewise.
41315 * math/s_cacoshl.c: Likewise.
41317 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41320 * iconv/gconv.h: Define __GCONV_SWAP.
41321 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41322 * iconvdata/utf-16.c: Likewise.
41323 * iconvdata/utf-32.c: Likewise.
41325 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41328 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41329 numerator after shifting it by one limb.
41331 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41333 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41334 under [__USE_EXTERN_INLINES].
41336 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41339 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41341 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41343 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41344 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41346 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41347 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41348 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41349 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41350 for strncasecmp/strncasecmp_l compilation.
41351 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41352 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41354 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41357 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41360 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41363 * time/tzfile.c (__tzfile_read): Check values from file header.
41365 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41367 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41368 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41369 * powerpc/powerpc32/dl-start.S: Likewise.
41370 * powerpc/powerpc32/elf/start.S: Likewise.
41371 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41372 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41373 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41374 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41375 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41376 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41377 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41378 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41379 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41380 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41381 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41382 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41383 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41384 * powerpc/powerpc32/memset.S: Likewise.
41385 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41386 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41387 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41388 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41389 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41390 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41391 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41392 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41393 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41394 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41395 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41396 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41397 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41399 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41401 * math/libm-test.inc: Added more nearbyint tests.
41402 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41403 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41404 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41405 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41407 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41409 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41412 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41414 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41415 Add wcscpy-ssse3 wcscpy-c.
41416 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41417 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41418 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41419 * sysdeps/x86_64/wcschr.S: New file.
41420 * sysdeps/x86_64/wcsrchr.S: New file.
41421 * string/test-strcmp.c: Remove checking of wcscmp function for
41423 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41424 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41425 wcsrchr-sse2 wcsrchr-c.
41426 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41427 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41428 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41429 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41430 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41431 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41432 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41433 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41434 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41435 * wcsmbc/wcschr.c (WCSCHR): New macro.
41437 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41439 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41440 * wcsmbs/test-wcsrchr.c: New file.
41441 * string/test-strrchr.c: Add wcsrchr support.
41443 * wcsmbs/test-wcscpy.c: New file.
41444 * string/test-strcpy.c: Add wcscpy support.
41447 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41449 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41452 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41455 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41457 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41459 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41460 Minor optimizations.
41462 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41463 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41464 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41466 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41468 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41469 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41470 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41471 for gcc to avoid warnings.
41472 * inet/Makefile (tests): Add tst-checks.
41473 * inet/tst-checks.c: New file.
41475 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41478 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41481 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41482 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41484 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41486 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41488 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41491 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41493 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41495 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41496 conditional on GCC version.
41497 (__arch_compare_and_exchange_val_8_acq)
41498 (__arch_compare_and_exchange_val_16_acq)
41499 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41500 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41501 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41503 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41505 * sysdeps/sh/backtrace.c: New file.
41507 2011-12-02 Andreas Schwab <schwab@redhat.com>
41509 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41512 2011-12-01 Andreas Schwab <schwab@redhat.com>
41514 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41515 falling back to utime.
41517 2011-11-30 Andreas Schwab <schwab@redhat.com>
41519 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41520 expectations for float.
41522 2011-11-29 Andreas Schwab <schwab@redhat.com>
41524 * locale/weight.h (findidx): Add parameter len.
41525 * locale/weightwc.h (findidx): Likewise.
41526 * posix/fnmatch_loop.c (FCT): Adjust caller.
41527 * posix/regcomp.c (build_equiv_class): Likewise.
41528 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41529 * posix/regexec.c (check_node_accept_bytes): Likewise.
41530 * string/strcoll_l.c (STRCOLL): Likewise.
41531 * string/strxfrm_l.c (STRXFRM): Likewise.
41533 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41535 * Makefile.in: Remove CVSOPT handling.
41536 * configure.in: Remove use of AC_REVISION.
41537 * iconvdata/Makefile (distribute): No need to filter out CVS.
41538 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41541 2011-11-16 Andreas Schwab <schwab@redhat.com>
41543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41544 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41545 [USE_AS_STRNCASECMP_L]: Likewise.
41546 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41547 NO_TLS_DIRECT_SEG_REFS.
41548 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41549 Fix argument offsets for non-PIC.
41550 [USE_AS_STRNCASECMP_L]: Likewise.
41551 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41552 NO_TLS_DIRECT_SEG_REFS.
41554 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41556 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41558 * locale/loadlocale.c (_nl_load_locale): Likewise.
41560 2011-11-15 Andreas Schwab <schwab@redhat.com>
41562 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41563 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41564 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41565 (SYSCALL_GETTIME): Set errno on error.
41567 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41568 count references to noai6ai_cached.
41570 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41572 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41574 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41575 FD_CLOEXEC for /proc/self/maps.
41577 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41578 FD_CLOEXEC for /proc/meminfo.
41580 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41583 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41584 FD_CLOEXEC for given file.
41586 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41588 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41589 FD_CLOEXEC for /etc/hosts.
41590 (_gethtent): Likewise.
41592 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41594 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41595 cancellation and set FD_CLOEXEC for /etc/netgroup.
41597 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41598 reading /etc/publickey.
41600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41601 allow cancellation when reading /etc/group.
41603 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41605 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41607 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41608 when using data file.
41610 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41612 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41613 (write_nis_obj): Use "c" and "e" in fopen.
41615 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41617 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41619 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41621 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41623 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41626 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41628 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41630 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41632 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41633 file parsing and set FD_CLOEXEC.
41635 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41637 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41639 2011-11-14 Andreas Schwab <schwab@redhat.com>
41641 * malloc/arena.c (arena_get2): Don't call reused_arena when
41642 _int_new_arena failed.
41644 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41646 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41647 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41648 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41649 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41650 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41651 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41652 to compile strcasecmp and strncasecmp.
41653 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41654 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41656 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41658 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41660 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41661 locale-defines.sym to gen-as-const-headers.
41662 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41663 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41664 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41665 to compile strcasecmp and strncasecmp.
41666 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41667 strcasecmp_l and strncasecmp_l.
41668 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41669 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41670 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41671 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41672 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41673 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41674 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41675 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41676 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41677 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41678 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41680 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41682 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41683 result of SYSDEP_GETTIME_CPU to retval.
41684 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41685 parameter list to macro. Remove trailing semicolon. Adjust users.
41687 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41690 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41692 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41694 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41695 from unused variable.
41697 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41699 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41702 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41705 * sunrpc/rpc_prot.c (rejected): Fix case value.
41707 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41708 unsigned long long int to avoid warnings in shift.
41710 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41712 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41715 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41716 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41717 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41719 * nis/nis_table.c (nis_list): Use variable of correct type for
41720 result of __follow_path call.
41722 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41724 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41725 of math functions ceil, trunc, floor, round, and sqrt, when
41726 avaliable on the platform.
41727 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41729 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41730 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41731 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41733 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41735 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41736 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41738 2011-11-11 Roland McGrath <roland@hack.frob.com>
41740 * include/unistd.h: Fix __readlink return type.
41741 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41743 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41745 * stdlib/ucontext.h: Undo last change for makecontext.
41747 2011-11-11 Andreas Schwab <schwab@redhat.com>
41749 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41751 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41752 * setjmp/setjmp.h: Mark functions as non-leaf.
41753 * setjmp/bits/setjmp2.h: Likewise.
41754 * stdlib/ucontext.h: Likewise.
41756 2011-11-10 Andreas Schwab <schwab@redhat.com>
41758 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41759 (reused_arena): Don't check arena limit.
41760 (arena_get2): Atomically check arena limit.
41762 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41764 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41765 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41770 2011-11-07 Andreas Schwab <schwab@redhat.com>
41772 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41773 handler when locking.
41775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41776 Fix size of allocated buffer.
41778 2011-11-04 Andreas Schwab <schwab@redhat.com>
41781 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41782 declarations for long double functions.
41783 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41785 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41787 2011-11-03 Andreas Schwab <schwab@redhat.com>
41789 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41792 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41795 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41797 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41799 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41801 * include/alloca.h (stackinfo_alloca_round): Define.
41802 (extend_alloca): Use it.
41803 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41804 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41807 * scripts/check-local-headers.sh: Ignore libaudit.h.
41809 * nscd/Makefile (extra-objs): Make recursively expanded.
41811 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41813 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41814 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41816 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41817 * posix/tst-rfc3484-2.c: Likewise.
41818 * posix/tst-rfc3484-3.c: Likewise.
41820 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41822 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41824 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41825 process_vm_writev from libc using GLIBC_2.15 version.
41827 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41829 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41831 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41834 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41837 * nss/getent.c (initgroups_keys): Show error message in case no group
41840 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41841 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41842 __bump_nl_timestamp.
41843 * nscd/connections (nscd_init): When host database is served open
41844 netlink socket and request notification about configuration changes.
41845 (main_loop_poll): Track netlink file descriptor and bump timestamp
41846 in case data becomes available.
41847 (main_loop_epoll): Likewise.
41848 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41849 (database_pers_head): Add extra_data fileds.
41850 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41851 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41852 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41854 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41855 in6ai data, call __free_in6ai.
41856 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41857 Add -DHAVE_NETLINK.
41858 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41859 interface information. Reuse previous data if netlink timestamp
41861 (__bump_nl_timestamp): New function.
41862 (__free_in6ai): New function.
41864 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41866 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41867 close_not_cancel_no_status here.
41868 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41870 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41873 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41876 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41877 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41878 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41880 2011-07-03 Andreas Jaeger <aj@suse.de>
41883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41884 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41885 * math/libm-test.inc (sin_test): Add test case.
41887 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41890 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41891 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41893 * elf/chroot_canon.c (chroot_canon): Cleanups.
41895 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41898 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41899 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41901 * string/test-strchr.c: Make usable for strchrnul testing.
41902 * string/test-strchrnul.c: New file.
41903 * string/Makefile (strop-tests): Add strchrnul.
41905 * po/it.po: Update from translation team.
41906 * po/es.po: Likewise.
41908 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41910 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41911 the three constants needed as parameters. Drop the others.
41912 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41913 __m128i_strloadu_tolower.
41914 Create and initialize variable zero and use it in all the places
41915 where _mm_setzero_si128 was used.
41917 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41918 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41919 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41920 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41922 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41923 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41924 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41925 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41926 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41927 __mpranred, __mptan.
41928 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41929 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41930 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41931 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41932 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41933 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41934 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41935 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41936 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41938 2011-10-28 Andreas Schwab <schwab@redhat.com>
41940 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41941 redefine if SHARED.
41942 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41945 wide char related routines to wcsmbs subdir.
41947 2011-10-27 Andreas Schwab <schwab@redhat.com>
41950 * misc/sys/cdefs.h (__THROWNL): Define.
41951 * posix/unistd.h: Use __THREADNL instead of __THREAD
41952 for memory synchronization functions.
41954 2011-10-26 Roland McGrath <roland@hack.frob.com>
41957 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41959 * manual/stdio.texi (Obstack Streams): Node removed.
41961 2011-10-26 Andreas Schwab <schwab@redhat.com>
41963 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41964 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41965 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41967 * math/math_private.h (math_force_eval): Allow non-addressable
41969 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41971 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41973 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41974 file is not needed.
41976 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41977 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41978 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41979 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41981 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41983 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41985 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41986 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41987 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41988 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41989 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41990 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41991 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41992 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41993 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41994 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41995 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41996 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41997 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41998 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41999 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42000 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42001 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42002 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42003 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42005 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42006 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42008 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42009 place. Use VEX encoding when compiling for AVX.
42011 2011-10-25 Andreas Schwab <schwab@redhat.com>
42013 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42014 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42016 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42018 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42020 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42021 useless if() expression.
42022 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42023 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42024 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42025 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42026 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42027 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42028 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42029 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42030 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42031 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42032 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42033 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42034 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42035 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42036 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42037 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42038 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42039 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42040 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42042 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42044 2011-10-25 Andreas Schwab <schwab@redhat.com>
42046 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42048 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42050 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42052 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42053 .text section. Avoid duplicate constants.
42054 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42055 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42056 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42058 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42062 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42063 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42064 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42065 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42066 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42067 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42068 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42069 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42070 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42071 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42072 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42074 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42075 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42076 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42077 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42078 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42079 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42080 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42081 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42082 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42083 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42084 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42085 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42086 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42087 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42088 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42089 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42090 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42091 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42092 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42093 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42094 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42095 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42096 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42097 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42098 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42100 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42102 * sysdeps/x86_64/dla.h: Move to ...
42103 * sysdeps/x86_64/fpu/dla.h: ...here.
42104 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42105 situations. Use __builtin_fma only for gcc 4.6 and up.
42107 * config.make.in: Add have-mfma4 entry.
42108 * configure.in: Substitute libc_cv_cc_fma4.
42109 * math/Makefile (dbl-only-routines): Add sincostab.
42110 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42111 Use __sincostab not sincos.
42112 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42119 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42120 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42121 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42122 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42124 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42125 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42127 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42128 define aliases when function name is a macro.
42129 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42130 sysdeps/ieee754/dbl-64/sincos.tbl.
42131 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42132 fma4-enabled routines.
42133 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42134 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42135 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42136 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42137 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42138 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42139 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42140 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42141 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42142 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42143 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42144 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42145 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42146 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42147 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42148 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42149 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42150 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42151 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42152 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42153 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42154 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42155 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42156 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42158 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42159 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42160 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42161 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42162 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42164 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42171 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42175 2011-10-24 Andreas Schwab <schwab@redhat.com>
42177 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42179 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42181 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42183 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42185 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42187 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42188 Remove unused variable magic_bits.
42189 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42191 * string/strnlen.c: Define and use STRNLEN macro.
42192 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42193 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42194 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42195 * wcsmbs/wcslen.c: Define and use WCSLEN.
42196 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42197 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42198 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42199 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42200 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42201 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42202 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42204 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42207 strnlen-sse2-no-bsf.
42208 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42209 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42210 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42211 Add strnlen support.
42212 (USE_AS_STRNLEN): New macro.
42213 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42214 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42215 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42216 * sysdeps/x86_64/wcslen.S: New file.
42218 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42220 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42221 XMM-moves are used for copying on small sizes.
42223 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42225 * wcsmbs/Makefile (strop-tests): Add wcschr.
42226 * wcsmbs/test-wcschr.c: New file.
42227 * string/test-strchr.c: Update.
42228 Add wcschr support.
42231 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42233 * wcsmbs/Makefile (strop-tests): Add wcslen.
42234 * wcsmbs/test-wcslen.c: New file.
42235 * string/test-strlen.c: Update.
42236 Add wcslen support.
42239 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42241 * po/it.po: Update from translation team.
42243 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42245 * sysdeps/x86_64/wcscmp.S: Update.
42246 Fix wrong comparison semantics.
42247 wcscmp shall use signed comparison not unsigned.
42248 Don't use substraction to avoid overflow bug.
42249 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42250 * wcsmbc/wcscmp.c: Likewise.
42251 * string/test-strcmp.c: Likewise.
42252 Add new tests to check cases with negative values.
42254 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42256 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42257 * sysdeps/x86_64/dla.h: ...here. New file.
42258 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42261 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42263 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42264 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42265 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42266 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42268 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42271 __ynl_finite aliases.
42273 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42277 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42279 [DLA_FMA] (EMULV): Use DLA_FMA.
42280 [DLA_FMA] (MUL12): Use EMULV.
42281 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42282 that are not needed.
42283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42291 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42293 * math/s_nan.c: Undef __nan.
42294 * math/s_nanf.c: Undef __nanf.
42295 * math/s_nanl.c: Undef __nanl.
42296 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42299 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42301 * math/s_catan.c: Add branch predictions.
42302 * math/s_catanf.c: Likewise.
42303 * math/s_catanh.c: Likewise.
42304 * math/s_catanhf.c: Likewise.
42305 * math/s_catanhl.c: Likewise.
42306 * math/s_catanl.c: Likewise.
42307 * math/s_cexp.c: Likewise.
42308 * math/s_cexpf.c: Likewise.
42309 * math/s_cexpl.c: Likewise.
42310 * math/s_clog.c: Likewise.
42311 * math/s_clog10.c: Likewise.
42312 * math/s_clog10f.c: Likewise.
42313 * math/s_clog10l.c: Likewise.
42314 * math/s_clogf.c: Likewise.
42315 * math/s_clogl.c: Likewise.
42316 * math/s_csqrt.c: Likewise.
42317 * math/s_csqrtf.c: Likewise.
42318 * math/s_csqrtl.c: Likewise.
42319 * math/s_ctanf.c: Likewise.
42320 * math/s_ctanh.c: Likewise.
42321 * math/s_ctanhf.c: Likewise.
42322 * math/s_ctanhl.c: Likewise.
42323 * math/s_ctanl.c: Likewise.
42325 * math/math_private.h: Define __nan, __nanf, __nanl.
42326 * math/s_cacosh.c: Include <math_private.h>.
42327 * math/s_cacoshl.c: Likewise.
42328 * math/s_casinh.c: Likewise.
42329 * math/s_casinhf.c: Likewise.
42330 * math/s_casinhl.c: Likewise.
42331 * math/s_ccos.c: Rely entire on ccosh.
42332 * math/s_ccosf.c: Rely entire on ccoshf.
42333 * math/s_ccosl.c: Rely entirely on ccoshl.
42334 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42335 Remove tests for FE_INVALID.
42336 * math/s_ccoshf.c: Likewise.
42337 * math/s_ccoshl.c: Likewise.
42338 * math/s_csin.c: Likewise.
42339 * math/s_csinf.c: Likewise.
42340 * math/s_csinh.c Likewise.
42341 * math/s_csinhf.c: Likewise.
42342 * math/s_csinhl.c: Likewise.
42343 * math/s_csinl.c: Likewise.
42344 * math/s_ctan.c: Likewise.
42345 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42346 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42347 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42349 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42352 compilation problems.
42354 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42357 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42359 * sysdeps/i386/configure.in: Test for -mfma4 option.
42360 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42361 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42362 COMMON_CPUID_INDEX_80000001.
42363 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42364 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42365 use it if FMA3 is not supported.
42366 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42368 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42369 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42371 2011-10-20 Andreas Schwab <schwab@redhat.com>
42374 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42375 it would create a cycle with a link time dependency.
42377 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42379 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42381 * string/Makefile (strop-tests): Add rawmemchr.
42382 * string/test-rawmemchr.c: New file.
42384 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42385 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42386 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42387 when compiling str{,n}casecmp and when AVX is available. Hook up
42388 new optimized code in initializers.
42390 2011-10-19 Andreas Schwab <schwab@redhat.com>
42392 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42393 __feraiseexcept instead of feraiseexcept.
42395 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42397 * math/math_private.h: Define defaults for libc_fetestexcept and
42399 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42400 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42401 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42402 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42403 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42404 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42405 libc_fetestexcept and libc_feupdateenv.
42407 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42408 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42409 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42410 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42411 libc_feholdexcept_setround.
42413 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42414 Add s_nearbyint-c and s_nearbyintf-c.
42415 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42416 nearbyintf inlines.
42417 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42418 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42419 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42420 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42422 * math/math_private.h: Define defaults for libc_fegetround,
42423 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42424 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42425 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42426 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42427 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42428 standard functions.
42429 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42430 Remove comments and hacks for old compiler versions.
42431 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42432 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42433 libc_feholdexceptl.
42435 2011-10-18 Andreas Schwab <schwab@redhat.com>
42437 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42438 (__feraiseexcept_renamed): Add __NTH.
42439 (feraiseexcept): Add __NTH. Rename local variables to fix
42440 namespace violations.
42442 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42444 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42446 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42448 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42449 recently added interfaces.
42450 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42452 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42453 about macro parameter expansion.
42455 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42456 __NO_MATH_INLINES is defined. Cleanups.
42458 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42459 and __floorf is target has SSE4.1.
42460 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42461 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42462 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42463 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42465 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42467 (floorf): Likewise.
42469 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42471 2011-10-17 Andreas Schwab <schwab@redhat.com>
42473 * misc/sys/cdefs.h: Fix last change.
42475 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42478 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42480 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42482 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42483 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42484 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42485 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42486 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42487 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42488 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42489 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42490 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42491 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42492 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42493 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42494 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42495 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42496 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42497 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42498 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42499 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42500 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42501 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42502 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42503 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42505 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42506 ceil, ceilf, floor, floorf.
42508 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42509 Perform IRELATIVE relocations last.
42511 * elf/do-rel.h: Add another parameter nrelative, replacing the
42512 local variable with the same name. Change name of the function
42513 to end in Rel or Rela (uppercase).
42514 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42515 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42516 elf_dynamic_do_##reloc function.
42518 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42520 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42521 is sufficient, at least on modern CPUs.
42523 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42525 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42526 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42528 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42530 * math/bits/math-finite.h: Add entries for exp.
42531 * math/e_expl.c: Add __*_finite alias.
42532 * sysdeps/i386/fpu/e_exp.S: Likewise.
42533 * sysdeps/i386/fpu/e_expf.S: Likewise.
42534 * sysdeps/i386/fpu/e_expl.c: Likewise.
42535 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42536 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42537 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42538 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42539 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42540 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42541 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42543 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42544 is sufficient, at least on modern CPUs.
42546 * ctype/ctype-info.c (__ctype_init): Define.
42547 * include/ctype.h (__ctype_init): Declare.
42548 (__ctype_b_loc): The variable is always initialized.
42549 (__ctype_toupper_loc): Likewise.
42550 (__ctype_tolower_loc): Likewise.
42551 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42552 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42554 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42556 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42558 * configure.in: Also look in $cxxmachine/include for C++ system
42561 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42563 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42564 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42565 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42566 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42567 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42568 (USE_AS_WMEMCMP): New macro.
42570 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42571 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42572 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42573 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42575 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42576 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42577 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42578 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42579 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42580 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42581 (USE_AS_WMEMCMP): New macro.
42582 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42583 * sysdeps/string/test-memcmp.c: Update.
42584 Fix simple_wmemcmp.
42586 * wcsmbs/wmemcmp.c: Update.
42587 (WMEMCMP): New macro.
42590 2011-10-12 Andreas Jaeger <aj@suse.de>
42593 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42595 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42597 * libio/iofwide.c (do_length): Avoid warning.
42599 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42601 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42603 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42605 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42606 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42607 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42608 * sysdeps/i386/i686/fpu/e_log.S: New file.
42609 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42610 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42612 * ctype/ctype.h: Add support for inlined isXXX functions when
42613 compiling C++ code.
42615 2011-10-14 Andreas Schwab <schwab@redhat.com>
42617 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42619 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42621 2011-10-13 Roland McGrath <roland@hack.frob.com>
42624 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42626 2011-10-13 Andreas Schwab <schwab@redhat.com>
42628 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42629 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42632 * sysdeps/x86_64/memrchr.S: Check for zero size.
42634 * string/stratcliff.c: Add memrchr tests.
42636 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42639 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42640 rawmemchr-sse2 rawmemchr-sse2-bsf.
42641 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42642 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42643 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42644 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42645 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42646 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42647 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42648 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42649 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42650 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42651 * string/memrchr.c (MEMRCHR): New macro.
42653 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42655 Add integration with gcc's -ffinite-math-only and optimize wrapper
42657 * Versions.def: Define GLIBC_2.15 version for libm.
42658 * math/Makefile (headers): Add bits/math-finite.h.
42659 * math/bits/math-finite.h: New file.
42660 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42661 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42662 * math/e_acoshl.c: Add __*_finite alias.
42663 * math/e_acosl.c: Likewise.
42664 * math/e_asinl.c: Likewise.
42665 * math/e_atan2l.c: Likewise.
42666 * math/e_atanhl.c: Likewise.
42667 * math/e_coshl.c: Likewise.
42668 * math/e_exp10.c: Likewise.
42669 * math/e_exp10f.c: Likewise.
42670 * math/e_exp10l.c: Likewise.
42671 * math/e_exp2l.c: Likewise.
42672 * math/e_fmodl.c: Likewise.
42673 * math/e_gammal_r.c: Likewise.
42674 * math/e_hypotl.c: Likewise.
42675 * math/e_j0l.c: Likewise.
42676 * math/e_j1l.c: Likewise.
42677 * math/e_jnl.c: Likewise.
42678 * math/e_lgammal_r.c: Likewise.
42679 * math/e_log10l.c: Likewise.
42680 * math/e_log2l.c: Likewise.
42681 * math/e_logl.c: Likewise.
42682 * math/e_powl.c: Likewise.
42683 * math/e_sinhl.c: Likewise.
42684 * math/e_sqrtl.c: Likewise.
42685 * math/e_scalb.c: Completely rewritten and optimized.
42686 * math/e_scalbf.c: Likewise.
42687 * math/e_scalbl.c: Likewise.
42688 * math/w_acos.c: Likewise.
42689 * math/w_acosf.c: Likewise.
42690 * math/w_acosl.c: Likewise.
42691 * math/w_acosh.c: Likewise.
42692 * math/w_acoshf.c: Likewise.
42693 * math/w_acoshl.c: Likewise.
42694 * math/w_asin.c: Likewise.
42695 * math/w_asinf.c: Likewise.
42696 * math/w_asinl.c: Likewise.
42697 * math/w_atan2.c: Likewise.
42698 * math/w_atan2f.c: Likewise.
42699 * math/w_atan2l.c: Likewise.
42700 * math/w_atanh.c: Likewise.
42701 * math/w_atanhf.c: Likewise.
42702 * math/w_atanhl.c: Likewise.
42703 * math/w_exp10.c: Likewise.
42704 * math/w_exp10f.c: Likewise.
42705 * math/w_exp10l.c: Likewise.
42706 * math/w_fmod.c: Likewise.
42707 * math/w_fmodf.c: Likewise.
42708 * math/w_fmodl.c: Likewise.
42709 * math/w_j0.c: Likewise.
42710 * math/w_j0f.c: Likewise.
42711 * math/w_j0l.c: Likewise.
42712 * math/w_j1.c: Likewise.
42713 * math/w_j1f.c: Likewise.
42714 * math/w_j1l.c: Likewise.
42715 * math/w_jn.c: Likewise.
42716 * math/w_jnf.c: Likewise.
42717 * math/w_log.c: Likewise.
42718 * math/w_logf.c: Likewise.
42719 * math/w_logl.c: Likewise.
42720 * math/w_log10.c: Likewise.
42721 * math/w_log10f.c: Likewise.
42722 * math/w_log10l.c: Likewise.
42723 * math/w_log2.c: Likewise.
42724 * math/w_log2f.c: Likewise.
42725 * math/w_log2l.c: Likewise.
42726 * math/w_pow.c: Likewise.
42727 * math/w_powf.c: Likewise.
42728 * math/w_powl.c: Likewise.
42729 * math/w_remainder.c: Likewise.
42730 * math/w_remainderf.c: Likewise.
42731 * math/w_remainderl.c: Likewise.
42732 * math/w_scalb.c: Likewise.
42733 * math/w_scalbf.c: Likewise.
42734 * math/w_scalbl.c: Likewise.
42735 * math/w_sqrt.c: Likewise.
42736 * math/w_sqrtf.c: Likewise.
42737 * math/w_sqrtl.c: Likewise.
42738 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42739 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42741 * math/math_private.h: Declare __kernel_standard_f.
42742 * math/w_cosh.c: Remove cruft and optimize a bit.
42743 * math/w_coshf.c: Likewise.
42744 * math/w_coshl.c: Likewise.
42745 * math/w_exp2.c: Likewise.
42746 * math/w_exp2f.c: Likewise.
42747 * math/w_exp2l.c: Likewise.
42748 * math/w_hypot.c: Likewise.
42749 * math/w_hypotf.c: Likewise.
42750 * math/w_hypotl.c: Likewise.
42751 * math/w_lgamma.c: Likewise.
42752 * math/w_lgamma_r.c: Likewise.
42753 * math/w_lgammaf.c: Likewise.
42754 * math/w_lgammaf_r.c: Likewise.
42755 * math/w_lgammal.c: Likewise.
42756 * math/w_lgammal_r.c: Likewise.
42757 * math/w_sinh.c: Likewise.
42758 * math/w_sinhf.c: Likewise.
42759 * math/w_sinhl.c: Likewise.
42760 * math/w_tgamma.c: Likewise.
42761 * math/w_tgammaf.c: Likewise.
42762 * math/w_tgammal.c: Likewise.
42763 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42764 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42765 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42766 Minor optimizations. Pretty printing. Remove cruft.
42767 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42768 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42769 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42770 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42771 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42772 * sysdeps/i386/fpu/e_asin.S: Likewise.
42773 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42774 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42775 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42776 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42777 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42778 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42779 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42780 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42781 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42782 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42783 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42784 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42785 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42786 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42787 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42788 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42789 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42790 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42791 * sysdeps/i386/fpu/e_log.S: Likewise.
42792 * sysdeps/i386/fpu/e_log10.S: Likewise.
42793 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42794 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42795 * sysdeps/i386/fpu/e_log2.S: Likewise.
42796 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42797 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42798 * sysdeps/i386/fpu/e_logf.S: Likewise.
42799 * sysdeps/i386/fpu/e_logl.S: Likewise.
42800 * sysdeps/i386/fpu/e_pow.S: Likewise.
42801 * sysdeps/i386/fpu/e_powf.S: Likewise.
42802 * sysdeps/i386/fpu/e_powl.S: Likewise.
42803 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42804 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42805 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42806 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42807 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42808 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42809 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42810 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42811 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42812 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42813 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42815 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42816 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42817 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42818 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42819 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42820 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42821 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42822 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42823 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42824 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42825 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42826 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42827 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42828 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42829 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42830 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42832 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42833 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42834 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42835 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42836 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42837 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42838 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42839 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42840 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42841 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42842 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42843 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42844 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42845 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42846 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42847 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42848 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42849 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42850 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42851 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42852 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42853 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42854 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42855 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42856 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42857 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42858 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42859 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42860 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42861 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42862 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42863 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42864 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42865 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42866 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42867 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42868 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42869 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42870 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42871 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42872 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42873 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42874 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42876 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42877 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42878 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42879 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42880 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42881 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42882 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42883 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42884 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42886 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42888 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42889 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42890 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42891 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42892 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42893 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42894 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42895 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42896 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42897 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42898 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42899 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42900 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42901 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42902 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42903 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42904 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42905 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42906 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42907 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42908 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42909 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42910 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42911 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42912 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42913 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42914 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42915 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42916 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42917 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42918 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42919 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42920 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42921 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42922 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42923 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42924 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42925 (__isnanf): Likewise.
42926 (__isinf_ns): Likewise.
42927 (__isinf_nsf): Likewise.
42928 (__finite): Likewise.
42929 (__finitef): Likewise.
42930 (__ieee754_sqrt): Define as macro.
42931 (__ieee754_sqrtf): Define as macro.
42932 (__ieee754_sqrtl): Define as macro.
42933 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42935 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42936 __FINITE_MATH_ONLY__ consistent.
42937 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42939 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42941 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42944 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42946 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42948 * po/ja.po: Update from translation team.
42950 2011-10-08 Roland McGrath <roland@hack.frob.com>
42952 * locale/programs/locarchive.c (prepare_address_space): New function.
42953 (create_archive, enlarge_archive, open_archive): Use it.
42955 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42956 inside [SHARED], where it is used.
42958 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42960 * nss/getent.c (netgroup_keys): Remove unused variable.
42961 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42963 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42965 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42966 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42968 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42969 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42970 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42971 * math/Makefile (libm-calls): Add s_isinf_ns.
42972 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42973 * math/multc3.c: Likewise.
42974 * math/s_casin.c: Likewise.
42975 * math/s_casinf.c: Likewise.
42976 * math/s_casinl.c: Likewise.
42977 * math/s_ccos.c: Likewise.
42978 * math/s_ccosf.c: Likewise.
42979 * math/s_ccosl.c: Likewise.
42980 * math/s_ctan.c: Likewise.
42981 * math/s_ctanf.c: Likewise.
42982 * math/s_ctanh.c: Likewise.
42983 * math/s_ctanhf.c: Likewise.
42984 * math/s_ctanhl.c: Likewise.
42985 * math/s_ctanl.c: Likewise.
42986 * math/w_fmod.c: Likewise.
42987 * math/w_fmodf.c: Likewise.
42988 * math/w_fmodl.c: Likewise.
42989 * math/w_remainder.c: Likewise.
42990 * math/w_remainderf.c: Likewise.
42991 * math/w_remainderl.c: Likewise.
42992 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42993 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42994 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42995 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42996 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42997 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42998 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42999 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43001 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43003 * stdio-common/printf_fphex.c: Likewise.
43004 * stdio-common/printf_size.c: Likewise.
43006 * math/e_exp10.c: Include math_private.h using <...> not "...".
43007 * math/e_exp10f.c: Likewise.
43008 * math/e_exp10l.c: Likewise.
43009 * math/e_exp2l.c: Likewise.
43010 * math/e_j0l.c: Likewise.
43011 * math/e_j1l.c: Likewise.
43012 * math/e_jnl.c: Likewise.
43013 * math/e_lgammal_r.c: Likewise.
43014 * math/e_rem_pio2l.c: Likewise.
43015 * math/e_scalb.c: Likewise.
43016 * math/e_scalbf.c: Likewise.
43017 * math/e_scalbl.c: Likewise.
43018 * math/k_cosl.c: Likewise.
43019 * math/k_sinl.c: Likewise.
43020 * math/k_tanl.c: Likewise.
43021 * math/s_cacoshf.c: Likewise.
43022 * math/s_catan.c: Likewise.
43023 * math/s_catanf.c: Likewise.
43024 * math/s_catanh.c: Likewise.
43025 * math/s_catanhf.c: Likewise.
43026 * math/s_catanhl.c: Likewise.
43027 * math/s_catanl.c: Likewise.
43028 * math/s_ccosh.c: Likewise.
43029 * math/s_ccoshf.c: Likewise.
43030 * math/s_ccoshl.c: Likewise.
43031 * math/s_cexp.c: Likewise.
43032 * math/s_cexpf.c: Likewise.
43033 * math/s_cexpl.c: Likewise.
43034 * math/s_clog.c: Likewise.
43035 * math/s_clog10.c: Likewise.
43036 * math/s_clog10f.c: Likewise.
43037 * math/s_clog10l.c: Likewise.
43038 * math/s_clogf.c: Likewise.
43039 * math/s_clogl.c: Likewise.
43040 * math/s_csin.c: Likewise.
43041 * math/s_csinf.c: Likewise.
43042 * math/s_csinh.c: Likewise.
43043 * math/s_csinhf.c: Likewise.
43044 * math/s_csinhl.c: Likewise.
43045 * math/s_csinl.c: Likewise.
43046 * math/s_csqrt.c: Likewise.
43047 * math/s_csqrtf.c: Likewise.
43048 * math/s_csqrtl.c: Likewise.
43049 * math/s_ctan.c: Likewise.
43050 * math/s_ctanf.c: Likewise.
43051 * math/s_ctanh.c: Likewise.
43052 * math/s_ctanhf.c: Likewise.
43053 * math/s_ctanhl.c: Likewise.
43054 * math/s_ctanl.c: Likewise.
43055 * math/s_ldexp.c: Likewise.
43056 * math/s_ldexpf.c: Likewise.
43057 * math/s_ldexpl.c: Likewise.
43058 * math/s_significand.c: Likewise.
43059 * math/s_significandf.c: Likewise.
43060 * math/s_significandl.c: Likewise.
43061 * math/w_acos.c: Likewise.
43062 * math/w_acosf.c: Likewise.
43063 * math/w_acosh.c: Likewise.
43064 * math/w_acoshf.c: Likewise.
43065 * math/w_acoshl.c: Likewise.
43066 * math/w_acosl.c: Likewise.
43067 * math/w_asin.c: Likewise.
43068 * math/w_asinf.c: Likewise.
43069 * math/w_asinl.c: Likewise.
43070 * math/w_atan2.c: Likewise.
43071 * math/w_atan2f.c: Likewise.
43072 * math/w_atan2l.c: Likewise.
43073 * math/w_atanh.c: Likewise.
43074 * math/w_atanhf.c: Likewise.
43075 * math/w_atanhl.c: Likewise.
43076 * math/w_cosh.c: Likewise.
43077 * math/w_coshf.c: Likewise.
43078 * math/w_coshl.c: Likewise.
43079 * math/w_dremf.c: Likewise.
43080 * math/w_exp10.c: Likewise.
43081 * math/w_exp10f.c: Likewise.
43082 * math/w_exp10l.c: Likewise.
43083 * math/w_exp2.c: Likewise.
43084 * math/w_exp2f.c: Likewise.
43085 * math/w_fmod.c: Likewise.
43086 * math/w_fmodf.c: Likewise.
43087 * math/w_fmodl.c: Likewise.
43088 * math/w_hypot.c: Likewise.
43089 * math/w_hypotf.c: Likewise.
43090 * math/w_hypotl.c: Likewise.
43091 * math/w_j0.c: Likewise.
43092 * math/w_j0f.c: Likewise.
43093 * math/w_j0l.c: Likewise.
43094 * math/w_j1.c: Likewise.
43095 * math/w_j1f.c: Likewise.
43096 * math/w_j1l.c: Likewise.
43097 * math/w_jn.c: Likewise.
43098 * math/w_jnf.c: Likewise.
43099 * math/w_jnl.c: Likewise.
43100 * math/w_lgamma.c: Likewise.
43101 * math/w_lgamma_r.c: Likewise.
43102 * math/w_lgammaf.c: Likewise.
43103 * math/w_lgammaf_r.c: Likewise.
43104 * math/w_lgammal.c: Likewise.
43105 * math/w_lgammal_r.c: Likewise.
43106 * math/w_log.c: Likewise.
43107 * math/w_log10.c: Likewise.
43108 * math/w_log10f.c: Likewise.
43109 * math/w_log10l.c: Likewise.
43110 * math/w_log2.c: Likewise.
43111 * math/w_log2f.c: Likewise.
43112 * math/w_log2l.c: Likewise.
43113 * math/w_logf.c: Likewise.
43114 * math/w_logl.c: Likewise.
43115 * math/w_pow.c: Likewise.
43116 * math/w_powf.c: Likewise.
43117 * math/w_powl.c: Likewise.
43118 * math/w_remainder.c: Likewise.
43119 * math/w_remainderf.c: Likewise.
43120 * math/w_remainderl.c: Likewise.
43121 * math/w_scalb.c: Likewise.
43122 * math/w_scalbf.c: Likewise.
43123 * math/w_scalbl.c: Likewise.
43124 * math/w_sinh.c: Likewise.
43125 * math/w_sinhf.c: Likewise.
43126 * math/w_sinhl.c: Likewise.
43127 * math/w_sqrt.c: Likewise.
43128 * math/w_sqrtf.c: Likewise.
43129 * math/w_sqrtl.c: Likewise.
43130 * math/w_tgamma.c: Likewise.
43131 * math/w_tgammaf.c: Likewise.
43132 * math/w_tgammal.c: Likewise.
43134 * po/ja.po: Update from translation team.
43136 2011-09-29 Andreas Jaeger <aj@suse.de>
43139 * sunrpc/netname.c (netname2host): Fix logic.
43143 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43145 * math/w_remainder.c (__remainder): Likewise.
43146 * math/w_remainderf.c (__remainderf): Likewise.
43147 * math/libm-test.inc (remainder_test): Add test cases.
43149 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43151 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43154 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43156 * string/test-memcmp.c: Avoid unncessary #defines.
43157 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43159 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43161 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43162 Use new sse2 version for core i3 - i7 as it's faster
43163 than sse42 version.
43164 (bit_Prefer_PMINUB_for_stringop): New.
43165 * sysdeps/x86_64/rawmemchr.S: Update.
43166 Replace with faster SSE2 version.
43167 * sysdeps/x86_64/memrchr.S: New file.
43168 * sysdeps/x86_64/memchr.S: Update.
43169 Replace with faster SSE2 version.
43171 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43173 * elf/dl-load.c (lose): Add cast to avoid warning.
43175 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43177 * po/ca.po: Update from translation team.
43179 * inet/getnetgrent_r.c: Hook up nscd.
43180 * nscd/Makefile (routines): Add nscd_netgroup.
43181 (nscd-modules): Add netgroupcache.
43182 (CFLAGS-netgroupcache.c): Define.
43183 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43184 (cache_search): Add const to second parameter.
43185 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43187 (dbs): Add netgrdb entry.
43188 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43189 (verify_persistent_db): Handle netgrdb.
43190 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43191 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43193 (netgroup_response_header): Define.
43194 (innetgroup_response_header): Define.
43195 (datahead): Add netgroup_response_header and innetgroup_response_header
43197 * nscd/nscd.conf: Add entries for netgroup cache.
43198 * nscd/nscd.h (dbtype): Add netgrdb.
43199 (_PATH_NSCD_NETGROUP_DB): Define.
43200 (netgroup_iov_disabled): Declare.
43201 (xmalloc, xcalloc, xrealloc): Move declarations here.
43202 (cache_search): Adjust prototype.
43203 Add netgroup-related prototypes.
43204 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43205 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43206 (__nscd_innetgr): Declare.
43207 * nscd/selinux.c (perms): Use access_vector_t as element type and
43208 add netgroup-related initializers.
43209 * nscd/netgroupcache.c: New file.
43210 * nscd/nscd_netgroup.c: New file.
43211 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43212 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43213 For four parameters use innetgr.
43214 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43215 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43216 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43217 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43219 * nscd/connections.c (register_traced_file): Don't register file
43220 for disabled databases.
43222 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43224 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43226 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43227 from tree and freeing node.
43229 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43231 * nss/nsswitch.c (__nss_database_lookup): Handle
43232 nss_parse_service_list out of memory case.
43234 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43236 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43237 out of memory case.
43239 2011-10-04 Andreas Schwab <schwab@redhat.com>
43241 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43242 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43244 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43245 elf_machine_rela, elf_machine_lazy_rel.
43246 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43247 (ELF_DYNAMIC_DO_REL): Likewise.
43248 (ELF_DYNAMIC_DO_RELA): Likewise.
43249 (ELF_DYNAMIC_RELOCATE): Likewise.
43250 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43251 to ELF_DYNAMIC_DO_REL.
43252 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43253 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43254 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43256 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43257 skip_ifunc, don't call ifunc function if non-zero.
43258 (elf_machine_rela): Likewise.
43259 (elf_machine_lazy_rel): Likewise.
43260 (elf_machine_lazy_rela): Likewise.
43261 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43262 (elf_machine_lazy_rel): Likewise.
43263 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43265 (elf_machine_lazy_rel): Likewise.
43266 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43268 (elf_machine_lazy_rel): Likewise.
43269 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43270 (elf_machine_lazy_rel): Likewise.
43271 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43272 (elf_machine_lazy_rel): Likewise.
43273 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43274 (elf_machine_lazy_rel): Likewise.
43275 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43276 (elf_machine_lazy_rel): Likewise.
43277 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43278 (elf_machine_lazy_rel): Likewise.
43279 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43280 (elf_machine_lazy_rel): Likewise.
43282 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43284 * nss/nss_files/files-init.c (_nss_files_init): Use static
43285 initialization for all the *_traced_file variables.
43287 2011-09-28 Andreas Schwab <schwab@redhat.com>
43289 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43291 2011-09-27 Roland McGrath <roland@hack.frob.com>
43294 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43296 2011-09-27 Andreas Schwab <schwab@redhat.com>
43298 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43299 Reread the line before reparsing it.
43301 2011-09-26 Andreas Schwab <schwab@redhat.com>
43303 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43305 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43306 Maxim Kuvyrkov <maxim@codesourcery.com>
43307 Joseph Myers <joseph@codesourcery.com>
43309 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43310 if needed for __stack_chk_guard.
43312 2011-09-19 Roland McGrath <roland@hack.frob.com>
43314 * sysdeps/posix/spawni.c (script_execute): Always define it.
43315 It will be optimized away if unused.
43316 (maybe_script_execute): New function.
43317 (__spawni): Call it.
43319 * Makerules: Don't include tls.make.
43320 (config-tls): Always set to thread.
43321 * tls.make.c: File removed.
43323 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43325 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43326 * config.make.in (CPPFLAGS-config): New substituted variable.
43328 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43330 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43333 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43334 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43336 2011-09-15 Roland McGrath <roland@hack.frob.com>
43338 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43339 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43341 (CALL_FAIL): Likewise.
43342 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43343 (CALL_FAIL): Macro removed.
43344 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43346 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43348 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43349 for __FINITE_MATH_ONLY__ == 1.
43351 2011-09-15 Andreas Schwab <schwab@redhat.com>
43353 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43354 __ieee754_sqrt instead of sqrt.
43355 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43356 __ieee754_sqrtf instead of sqrtf.
43357 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43358 __floorf instead of floorf.
43359 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43360 __floorf, __truncf instead of floorf, truncf.
43362 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43364 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43366 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43367 __extern_always_inline.
43368 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43371 2011-09-14 Andreas Schwab <schwab@redhat.com>
43373 * elf/rtld.c (dl_main): Also relocate in dependency order when
43374 doing symbol dependency testing.
43376 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43378 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43379 Always define `refsym'.
43381 2011-09-13 Andreas Schwab <schwab@redhat.com>
43383 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43384 (__FD_ELT): Renamed from __FDELT.
43385 * misc/bits/select2.h (__FD_ELT): Likewise.
43386 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43387 __FD_MASK instead of __FDELT, __FDMASK.
43388 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43390 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43393 * elf/Makefile (gen-ldd): Fix pattern.
43395 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43396 (init_tls): Likewise.
43398 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43400 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43402 2011-09-12 Andreas Schwab <schwab@redhat.com>
43404 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43405 `struct cmsghdr *' instead of `void *'.
43406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43409 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43411 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43413 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43414 ldd_rewrite_script.
43416 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43418 * configure.in: Remove --with-tls option.
43419 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43420 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43421 out in case it is missing.
43422 * sysdeps/ia64/elf/configure.in: Likewise.
43423 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43424 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43425 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43426 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43427 * sysdeps/sh/elf/configure.in: Likewise.
43428 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43429 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43430 * sysdeps/x86_64/elf/configure.in: Likewise.
43431 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43432 * sysdeps/mach/hurd/tls.h: Likewise.
43435 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43438 * configure.in: Fix use of AC_INIT.
43440 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43442 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43444 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43446 * malloc/hooks.c: Likewise.
43449 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43450 variables statically.
43451 (narenas): Initialize.
43452 (list_lock): Initialize.
43453 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43454 initializtion of main_arena and list_lock. Small cleanups.
43455 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43456 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43457 Add initializers to main_arena and mp_.
43458 (malloc_state): Remove pagesize member. Change all users to use
43461 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43462 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43463 is always initialized.
43465 * malloc/malloc.c: Removed unused configurations and dead code.
43466 * malloc/arena.c: Likewise.
43467 * malloc/hooks.c: Likewise.
43468 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43470 * include/tls.h: Removed. USE___THREAD must always be defined.
43471 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43472 * elf/dl-libc.c: Likewise.
43473 * elf/dl-tsd.c: Likewise.
43474 * include/errno.h: Likewise.
43475 * include/netdb.h: Likewise.
43476 * include/resolv.h: Likewise.
43477 * inet/herrno-loc.c: Likewise.
43478 * inet/herrno.c: Likewise.
43479 * malloc/arena.c: Likewise.
43480 * malloc/hooks.c: Likewise.
43481 * malloc/malloc.c: Likewise.
43482 * resolv/res-state.c: Likewise.
43483 * resolv/res_libc.c: Likewise.
43484 * sysdeps/i386/dl-machine.h: Likewise.
43485 * sysdeps/ia64/dl-machine.h: Likewise.
43486 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43487 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43488 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43489 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43490 * sysdeps/sh/dl-machine.h: Likewise.
43491 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43492 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43493 * sysdeps/unix/i386/sysdep.S: Likewise.
43494 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43495 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43496 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43497 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43498 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43500 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43504 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43505 * sysdeps/x86_64/dl-machine.h: Likewise.
43506 * tls.make.c: Likewise.
43508 * configure.in: Remove --with-__thread option. Make tests for
43509 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43510 tls_model attribute fail if no support is available. Remove
43512 * Makeconfig: Adjust for dropped configure option. All features are
43514 * Makerules: Likewise.
43515 * Versions.def: Likewise.
43516 * argp/argp-fmtstream.c: Likewise.
43517 * argp/argp-fmtstream.h: Likewise.
43518 * argp/argp-help.c: Likewise.
43519 * assert/assert.c: Likewise.
43520 * config.h.in: Likewise.
43521 * config.make.in: Likewise.
43522 * configure: Likewise.
43523 * configure.in: Likewise.
43524 * csu/Versions: Likewise.
43525 * csu/init.c: Likewise.
43526 * elf/tst-audit2.c: Likewise.
43527 * elf/tst-tls10.c: Likewise.
43528 * elf/tst-tls10.h: Likewise.
43529 * elf/tst-tls11.c: Likewise.
43530 * elf/tst-tls12.c: Likewise.
43531 * elf/tst-tls14.c: Likewise.
43532 * elf/tst-tlsmod11.c: Likewise.
43533 * elf/tst-tlsmod12.c: Likewise.
43534 * elf/tst-tlsmod13.c: Likewise.
43535 * elf/tst-tlsmod13a.c: Likewise.
43536 * elf/tst-tlsmod14a.c: Likewise.
43537 * elf/tst-tlsmod15b.c: Likewise.
43538 * elf/tst-tlsmod16a.c: Likewise.
43539 * elf/tst-tlsmod16b.c: Likewise.
43540 * elf/tst-tlsmod7.c: Likewise.
43541 * elf/tst-tlsmod8.c: Likewise.
43542 * elf/tst-tlsmod9.c: Likewise.
43543 * gmon/gmon.c: Likewise.
43544 * grp/fgetgrent_r.c: Likewise.
43545 * grp/putgrent.c: Likewise.
43546 * hurd/fopenport.c: Likewise.
43547 * include/libc-symbols.h: Likewise.
43548 * include/tls.h: Likewise.
43549 * intl/gettextP.h: Likewise.
43550 * intl/loadinfo.h: Likewise.
43551 * locale/global-locale.c: Likewise.
43552 * locale/localeinfo.h: Likewise.
43553 * mach/devstream.c: Likewise.
43554 * malloc/arena.c: Likewise.
43555 * malloc/set-freeres.c: Likewise.
43556 * misc/err.c: Likewise.
43557 * misc/getttyent.c: Likewise.
43558 * misc/mntent_r.c: Likewise.
43559 * posix/getopt.c: Likewise.
43560 * posix/wordexp.c: Likewise.
43561 * pwd/fgetpwent_r.c: Likewise.
43562 * resolv/Versions: Likewise.
43563 * resolv/res_hconf.c: Likewise.
43564 * shadow/fgetspent_r.c: Likewise.
43565 * shadow/putspent.c: Likewise.
43566 * stdio-common/printf_fphex.c: Likewise.
43567 * stdio-common/tmpfile.c: Likewise.
43568 * stdlib/abort.c: Likewise.
43569 * stdlib/fmtmsg.c: Likewise.
43570 * sunrpc/auth_unix.c: Likewise.
43571 * sunrpc/clnt_perr.c: Likewise.
43572 * sunrpc/clnt_tcp.c: Likewise.
43573 * sunrpc/clnt_udp.c: Likewise.
43574 * sunrpc/clnt_unix.c: Likewise.
43575 * sunrpc/openchild.c: Likewise.
43576 * sunrpc/svc_simple.c: Likewise.
43577 * sunrpc/svc_tcp.c: Likewise.
43578 * sunrpc/svc_udp.c: Likewise.
43579 * sunrpc/svc_unix.c: Likewise.
43580 * sunrpc/xdr.c: Likewise.
43581 * sunrpc/xdr_array.c: Likewise.
43582 * sunrpc/xdr_rec.c: Likewise.
43583 * sunrpc/xdr_ref.c: Likewise.
43584 * sunrpc/xdr_stdio.c: Likewise.
43586 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43588 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43590 2011-07-03 Andreas Jaeger <aj@suse.de>
43592 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43593 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43594 regenerate with gen-libm-tests.pl.
43596 2010-05-12 Petr Baudis <pasky@suse.cz>
43599 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43600 around j0() zero points by switching to j1().
43601 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43602 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43604 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43606 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43608 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43610 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43613 Patch in part by Pavel Roskin <proski@gnu.org>.
43616 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43618 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43619 Free memory block if necessary.
43622 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43623 be NULL. Don't lock in this case.
43625 2011-09-09 Roland McGrath <roland@hack.frob.com>
43627 * elf/elf.h (ELFOSABI_GNU): New macro.
43628 (ELFOSABI_LINUX): Define to that.
43630 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43632 * string/strncat.c (strncat): Undef the symbol in case it has been
43633 defined in bits/string.h.
43635 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43637 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43639 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43642 2011-08-17 Andreas Jaeger <aj@suse.de>
43644 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43646 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43647 Ian Lance Taylor <iant@google.com>
43649 * math/libm-test.inc (lround_test): New testcase.
43650 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43652 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43654 * Makefile: Remove support for automatic cvs check-ins.
43655 * Makerules: Likewise.
43656 * config.make.in: Likewise.
43657 * configure.in: Likewise.
43658 * intl/Makefile: Likewise.
43659 * locale/Makefile: Likewise.
43660 * po/Makefile: Likewise.
43661 * posix/Makefile: Likewise.
43662 * sysdeps/gnu/Makefile: Likewise.
43663 * sysdeps/mach/hurd/Makefile: Likewise.
43664 * sysdeps/sparc/sparc32/Makefile: Likewise.
43667 * posix/Makefile (bug-regex32-ENV): Define.
43668 Patch by John Stanley <jpsinthemix@verizon.net>.
43670 * misc/Makefile (headers): Add bits/select2.h.
43671 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43672 * misc/bits/select2.h: New file.
43673 * include/bits/select2.h: New file.
43674 * debug/Makefile (routines): Add fdelt_chk.
43675 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43676 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43678 * debug/fdelt_chk.c: New file.
43680 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43681 * wcsmbs/test-wmemcmp.c: Likewise.
43682 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43683 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43685 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43687 * string/Makefile (strop-tests): Add memcmp.
43688 * string/test-wmemcmp.c: New file.
43689 * string/test-memcmp.c: Add wmemcmp support.
43691 2011-09-08 Roland McGrath <roland@hack.frob.com>
43694 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43697 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43698 garbage value in a __mach_port_mod_refs call in the cases of the
43699 task-self and thread-self ports.
43701 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43703 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43705 2011-09-08 Andreas Schwab <schwab@redhat.com>
43707 * elf/dl-load.c (lose): Check for non-null L.
43709 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43711 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43713 * elf/dl-libc.c (dlerror_run): Pass back error code from
43717 * elf/dl-load.c (lose): Free l_origin if it is valid.
43719 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43721 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43722 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43723 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43724 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43725 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43726 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43728 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43730 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43731 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43732 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43733 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43734 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43735 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43736 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43737 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43738 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43739 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43741 2011-08-15 Alan Modra <amodra@gmail.com>
43744 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43745 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43746 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43747 ppc_mcount to static-only-routines.
43748 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43750 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43751 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43753 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43755 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43756 for finite and infinity parameters.
43758 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43760 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43761 and add nop instructions for throughput optimization.
43762 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43764 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43766 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43767 aligned copy for power7 with vector-scalar instructions.
43768 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43770 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43772 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43775 2011-09-07 Andreas Schwab <schwab@redhat.com>
43778 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43781 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43783 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43784 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43785 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43786 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43789 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43791 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43792 Forgot to demangle the pointer.
43794 * sysdeps/i386/sysdep.h: Define atom_text_section.
43795 * sysdeps/x86_64/sysdep.h: Likewise.
43796 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43797 section with atom_text_section.
43798 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43799 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43800 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43801 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43802 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43804 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43805 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43806 already be defined. Change to take two parameters and don't assign
43807 result to variable. Adjust all users.
43808 Define INTERNAL_GETTIME if not already defined.
43809 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43812 HAVE_CLOCK_GETTIME_VSYSCALL.
43813 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43816 gettimeofday vsyscall, just use time.
43818 2011-09-06 Andreas Schwab <schwab@redhat.com>
43820 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43823 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43825 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43829 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43830 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43831 syscall if possible.
43833 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43835 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43836 e_ident. Don't pass to find_mapsXX.
43837 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43839 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43842 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43843 * sysdeps/x86_64/multiarch/strchr.S: Update.
43844 Check bit_slow_BSF bit.
43845 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43846 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43847 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43849 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43852 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43854 (tryshell): Define.
43855 (__spawni): Change last parameter to be flag. Test
43856 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43857 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43858 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43859 * posix/spawni.c: Likewise.
43860 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43861 * posix/spawnp.c: Likewise. Change normal version to use
43862 SPAWN_XFLAGS_USE_PATH.
43863 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43864 SPAWN_XFLAGS_TRY_SHELL.
43867 * posix/glob.h: Remove gcc 1.x support.
43870 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43872 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43875 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43877 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43878 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43879 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43880 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43881 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43882 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43884 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43886 * sysdeps/x86_64/wcscmp.S: New file.
43888 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43889 wcscmp-c wcscmp-sse2
43890 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43891 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43892 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43893 * wcsmbs/wcscmp.c: Allow renaming.
43895 2011-09-05 David S. Miller <davem@davemloft.net>
43897 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43898 stack slot, rather than the struct return pointer slot.
43899 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43900 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43902 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43904 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43906 * po/ja.po: Update from translation team.
43909 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43910 kernel in 64-bit binaries.
43912 2011-09-01 David S. Miller <davem@davemloft.net>
43914 * elf/elf.h (HWCAP_SPARC_*): Move to..
43915 * sysdeps/sparc/sysdep.h: this new file and add new values.
43916 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43917 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43918 _DL_HWCAP_COUNT to 24.
43919 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43921 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43922 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43923 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43924 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43925 instead of magic constants.
43926 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43928 2011-08-31 David S. Miller <davem@davemloft.net>
43930 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43932 Reimplement to do errno handling inline.
43933 (SYSCALL_ERROR_HANDLER): New macro.
43934 (__SYSCALL_STRING): Do not do errno handling in asm.
43935 (__CLONE_SYSCALL_STRING): Delete.
43936 (__INTERNAL_SYSCALL_STRING): Delete.
43937 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43938 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43939 (PSEUDO): Reimplement to do errno handling inline.
43940 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43941 (SYSCALL_ERROR_HANDLER): New macro.
43942 (__SYSCALL_STRING): Do not do errno handling in asm.
43943 (__CLONE_SYSCALL_STRING): Delete.
43944 (__INTERNAL_SYSCALL_STRING): Delete.
43945 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43946 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43948 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43949 (inline_syscall*): Add 'err' argument.
43950 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43951 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43952 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43953 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43955 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43956 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43958 2011-08-30 Andreas Schwab <schwab@redhat.com>
43960 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43962 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43964 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43967 2011-08-24 David S. Miller <davem@davemloft.net>
43969 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43971 2011-08-24 Andreas Schwab <schwab@redhat.com>
43973 * elf/Makefile: Add rules to build and run unload8 test.
43974 * elf/unload8.c: New file.
43975 * elf/unload8mod1.c: New file.
43976 * elf/unload8mod1x.c: New file.
43977 * elf/unload8mod2.c: New file.
43978 * elf/unload8mod3.c: New file.
43980 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43983 2011-08-23 David S. Miller <davem@davemloft.net>
43985 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43986 subtract stack bias.
43987 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43988 %sp not %fp in calculations.
43989 (_JMPBUF_UNWINDS_ADJ): Likewise.
43991 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43992 (aio_suspend): Call it to force an exception region around the
43993 AIO_MISC_WAIT() invocation.
43995 2011-08-23 Andreas Schwab <schwab@redhat.com>
43997 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44000 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44002 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44004 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44005 and <dl-machine.h>.
44006 (Elf64_FuncDesc): Remove.
44008 2011-08-22 David S. Miller <davem@davemloft.net>
44010 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44011 sigaltstack check, add missing cfi directives.
44012 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44013 missing cfi directives, and sigaltstack handling.
44015 2011-08-16 Andreas Schwab <schwab@redhat.com>
44018 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44019 object is seen twice.
44020 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44022 * elf/Makefile (distribute): Add tst-initorder2.c.
44023 (tests): Add tst-initorder2.
44024 (modules-names): Add tst-initorder2a tst-initorder2b
44025 tst-initorder2c tst-initorder2d. Add rules to build them.
44026 ($(objpfx)tst-initorder2.out): New rule.
44027 * elf/tst-initorder2.c: New file.
44028 * elf/tst-initorder2.exp: New file.
44030 2011-08-22 Andreas Schwab <schwab@redhat.com>
44032 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44034 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44035 dependencies back to end of function.
44037 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44038 $(elfobjdir)/ld.so.
44040 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44042 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44043 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44044 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44045 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44046 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44047 of __vdso_gettimeofday.
44048 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44049 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44051 (_libc_vdso_platform_setup): Remove initialization of
44052 __vdso_gettimeofday and __vdso_time.
44054 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44056 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44057 and fgetc_unlocked.
44058 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44061 * elf/dl-open.c (add_to_global): Report additions to the global scope
44062 for LD_DEBUG=scopes.
44063 (dl_open_worker): Also print scope of newly loaded dependencies.
44064 (_dl_show_scope): Indicate if there is no scope.
44067 * stdio-common/Makefile (tests): Add bug24.
44068 * stdio-common/bug24.c: New file.
44070 2011-08-19 Andreas Jaeger <aj@suse.de>
44073 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44074 non-existant file when using close-on-exec mode.
44076 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44079 the very first instruction.
44081 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44082 the CFI state in the end.
44083 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44084 inclusion of dl-trampoline.h.
44085 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44087 2011-08-19 Andreas Schwab <schwab@redhat.com>
44089 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44090 expectations for long double.
44092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44093 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44095 2011-08-14 David S. Miller <davem@davemloft.net>
44097 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44098 artificual limit depends upon the system page size.
44100 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44102 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44103 * resolv/Makefile: Define CFLAGS-libresolv.
44105 2011-08-17 Andreas Schwab <schwab@redhat.com>
44107 * nss/makedb.c (compute_tables): Make variables used in nested
44110 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44112 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44113 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44114 if buffer was too small.
44116 * elf/pldd.c (main): Attach to all threads in the process.
44117 Rewrite /proc handling to use *at functions.
44119 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44121 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44122 specifies first scope to show.
44123 (dl_open_worker): Update callers. Move printing scope of new
44124 object to before the relocation.
44125 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44126 * sysdeps/generic/ldsodefs.h: Update declaration.
44128 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44129 string for the scope number.
44131 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44133 * nscd/servicescache.c (cache_addserv): Make sure written is always
44136 2011-08-14 Roland McGrath <roland@hack.frob.com>
44138 * sysdeps/i386/i486/bits/atomic.h
44139 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44140 statement expression, so as to suppress "set but not used" warning.
44141 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44143 * string/strncat.c (STRNCAT): Use prototype definition.
44145 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44146 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44148 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44149 (localedef-modules): Add localedef.
44150 (locale-modules): Add locale.
44152 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44153 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44154 to avoid a warning.
44156 2011-08-14 David S. Miller <davem@davemloft.net>
44158 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44159 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44161 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44163 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44164 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44165 * elf/rtld.c (dl_main): Set l_name of vDSO.
44166 Call _dl_show_scope when DL_DEBUG_SCOPES.
44167 (process_dl_debug): Recognize scopes flag and also set it for all.
44168 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44169 Declare _dl_show_scope.
44171 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44172 (do_dlopen): Pass caller_dlopen to dl_open.
44173 (__libc_dlopen_mode): Initialize caller_dlopen.
44175 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44176 of libc. Make tolower call locale-independent. Optimize a bit by
44177 using isdigit instead of isalnum.
44178 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44180 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44182 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44183 was a dependency or dynamically loaded.
44185 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44187 * intl/l10nflist.c: Allow architecture-specific pop function.
44188 * sysdeps/x86_64/l10nflist.c: New file.
44190 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44193 2011-08-10 Andreas Schwab <schwab@redhat.com>
44195 * include/dirent.h: Add libc_hidden_proto for scandirat and
44196 scandirat64. Don't declare __scandirat64.
44197 * dirent/scandirat.c: Add libc_hidden_def.
44198 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44199 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44201 2011-08-10 David S. Miller <davem@davemloft.net>
44203 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44205 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44206 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44207 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44209 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44211 * Versions.def [libc]: Add GLIBC_2.15.
44212 * dirent/Makefile (routines): Add scandirat and scandirat64.
44213 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44215 * dirent/dirent.h: Declare scandirat and scandirat64.
44216 * dirent/scandirat.c: New file.
44217 * dirent/scandirat64.c: New file.
44218 * sysdeps/wordsize-64/scandirat.c: New file.
44219 * sysdeps/wordsize-64/scandirat64.c: New file.
44220 * dirent/opendir.c: Define opendirat.
44221 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44223 * dirent/scandir64.c: Adjust for scandir.c change.
44224 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44225 __scandirat64, and __scandir_cancel_handler.
44226 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44227 additional parameter and use openat instead of open (outside of ld.so).
44228 Add new __opendir as wrapper around __opendirat.
44229 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44230 here without requiring old scandirat implementation.
44232 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44234 * dirent/scandir.c (cancel_handler): Renamed to
44235 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44236 defined. Adjust users.
44237 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44238 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44240 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44242 * string/test-string.h (IMPL): Use __STRING to expand name and then
44245 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44248 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44250 * string/Makefile: Update.
44251 (strop-tests): Append strncat.
44252 * string/test-wcscmp.c: New file.
44253 New comprehensive test for wcscmp.
44254 * string/test-strcmp.c: Update.
44255 (WIDE): New define.
44257 2011-07-22 Andreas Schwab <schwab@redhat.com>
44259 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44262 2011-07-26 Andreas Schwab <schwab@redhat.com>
44264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44265 encoding to ACE if AI_IDN.
44267 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44269 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44270 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44272 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44274 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44275 Fix overflow bug in strncat.
44276 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44278 * string/test-strncat.c: Update.
44279 Add new tests for checking overflow bugs.
44281 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44284 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44285 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44286 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44287 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44288 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44289 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44290 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44291 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44293 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44294 (USE_AS_STRCAT): Define.
44295 Add strcat and strncat support.
44296 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44298 2011-07-25 Andreas Schwab <schwab@redhat.com>
44300 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44301 __n bigger than INT_MAX+1.
44302 (__strncmp_g): Likewise.
44304 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44306 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44307 * libio/stido.h: Likewise.
44309 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44311 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44314 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44315 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44316 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44317 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44318 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44321 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44326 (_dl_x86_64_save_sse): Likewise.
44328 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44330 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44332 (_dl_x86_64_save_sse): Likewise.
44334 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44336 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44338 2011-07-21 Andreas Schwab <schwab@redhat.com>
44340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44342 (_dl_x86_64_save_sse): Use correct AVX check.
44344 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44346 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44347 bug in strncpy/strncat.
44348 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44350 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44352 * string/tester.c (test_strcat): Add tests for different alignments
44353 of source and destination.
44354 (test_strncat): Likewise.
44356 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44359 * posix/glob.c (glob): Check passed in values before using them in
44360 expressions to avoid some overflows.
44361 (glob_in_dir): Likewise.
44364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44365 check for AVX enablement so that we don't crash with old kernels and
44367 * elf/tst-audit4.c: Add same checks here.
44368 * elf/tst-audit6.c: Likewise.
44370 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44372 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44374 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44376 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44378 * po/cs.po: Update from translation team.
44379 * po/bg.po: Likewise.
44381 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44383 * misc/sys/cdefs.h: Add support for const attribute.
44384 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44385 to gnu_dev_{major,minor,makedev} functions.
44387 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44389 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44391 2011-07-20 Andreas Schwab <schwab@redhat.com>
44393 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44396 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44398 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44399 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44400 register in order to avoid conflicts with the soft frame pointer
44401 being held in r11 when necessary.
44402 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44403 (INTERNAL_VSYSCALL_NCS): Likewise.
44405 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44407 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44408 * elf/dl-fini.c (_dl_fini): Adjust caller.
44409 * elf/dl-close.c (_dl_close_worker): Likewise.
44410 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44412 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44414 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44415 "aux_cache->nlibs < 0".
44417 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44418 in the reload-count case.
44420 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44423 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44424 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44425 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44426 * sysdeps/x86_64/multiarch/strcat.S: New file.
44427 * sysdeps/x86_64/multiarch/strncat.S: New file.
44428 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44429 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44430 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44431 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44432 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44433 (USE_AS_STRCAT): Define.
44434 Add strcat and strncat support.
44435 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44436 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44437 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44438 * string/strncat.c: Update.
44439 (USE_AS_STRNCAT): Define.
44440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44441 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44443 * sysdeps/x86_64/multiarch/init-arch.h
44444 (bit_Prefer_PMINUB_for_stringop): New.
44445 (index_Prefer_PMINUB_for_stringop): Likewise.
44446 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44447 bit_Prefer_PMINUB_for_stringop.
44449 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44451 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44453 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44454 of casting of buffer.
44455 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44456 buffer32 and buffer64.
44457 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44458 writes instead of casting of buffer.
44459 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44461 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44464 2011-07-19 Andreas Schwab <schwab@redhat.com>
44466 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44468 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44470 * nscd/nscd.c (termination_handler): Don't do anything for a database
44471 if it has not yet been initialized.
44473 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44475 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44477 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44479 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44481 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44483 * po/nl.po: Update from translation team.
44484 * po/sv.po: Likewise.
44486 2011-07-16 Roland McGrath <roland@hack.frob.com>
44488 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44489 now disallowed by GCC.
44491 * configure.in (use-default-link): Default to yes if a test -shared
44492 link meets our qualifications.
44493 * configure: Regenerated.
44495 * config.make.in (output-format): New variable.
44496 * configure.in: Check for ld --print-output-format support.
44497 * configure: Regenerated.
44498 * Makerules ($(common-objpfx)format.lds)
44499 [$(output-format) != unknown]: Just use $(output-format),
44500 instead of the linker-script munging.
44502 2011-07-14 Roland McGrath <roland@hack.frob.com>
44504 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44505 of $(common-objpfx)shlib.lds.
44506 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44508 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44509 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44511 * configure.in (-z relro check): Adjust test code to add a large
44512 writable data section after it.
44513 * configure: Regenerated.
44515 2011-07-11 Roland McGrath <roland@hack.frob.com>
44517 * configure.in (-z relro check): Fix test code to make the variable
44519 * configure: Regenerated.
44521 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44523 * nscd/nscd.h (struct traced_file): Define.
44524 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44525 elements. Add traced_files.
44526 (inotify_fd): Declare.
44527 (register_traced_file): Declare.
44528 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44529 (inotify_fd): Export.
44530 (resolv_conf_descr): Remove.
44531 (nscd_init): Move inotify descriptor creation to main.
44532 Don't register files for notification here.
44533 (register_traced_file): New function.
44534 (invalidate_cache): Don't use reset_res to determine whether to call
44535 res_init, go through the list of registered files.
44536 (main_loop_poll): The inotify descriptors are now stored in the
44537 structures for the traced files.
44538 (main_loop_epoll): Likewise
44539 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44540 to __nss_disable_nscd.
44541 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44542 for a database anymore. Check the records for all the registered
44544 * nss/Makefile (libnss_files-routines): Add files-init.
44545 (libnss_db-routines): Add db-init.
44546 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44547 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44548 * nss/nss_db/db-init.c: New file.
44549 * nss/nss_files/files-init.c: New file.
44550 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44551 __nss_lookup_function.
44552 (__nss_lookup_function): Call nss_load_library.
44553 (nss_load_all_libraries): New function.
44554 (__nss_disable_nscd): Take parameter with callback function for files
44555 to register. Set is_nscd. Load all the DSOs for the NSS modules
44556 used for the cached services.
44557 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44558 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44559 options for features to all the files in nscd.
44561 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44563 2011-07-10 Roland McGrath <roland@hack.frob.com>
44565 * csu/elf-init.c (__libc_csu_init): Comment typo.
44567 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44569 * po/pl.po: Update from translation team.
44570 * po/ja.po: Likewise.
44571 * po/ru.po: Likewise.
44572 * po/ko.po: Likewise.
44573 * po/fr.po: Likewise.
44575 2011-07-09 Roland McGrath <roland@hack.frob.com>
44577 * configure.in (.ctors/.dtors header and trailer check):
44578 Use an empirical test on a built program.
44579 * configure: Regenerated.
44581 * configure.in (-z relro check): Use an empirical test on a built DSO.
44582 Detect, but do not require, on ia64.
44583 * configure: Regenerated.
44585 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44586 Update tests that use readelf to use $READELF instead.
44587 * configure: Regenerated.
44589 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44591 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44592 if the result is not used.
44594 2011-07-05 Andreas Jaeger <aj@suse.de>
44597 * stdlib/tst-strtod.c: Add testcase.
44599 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44601 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44602 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44603 The latter has a higher limit. Take additional parameter to pass to
44605 (__pathconf): Pass file to __statfs_link_max.
44606 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44608 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44612 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44613 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44615 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44616 (__statfs_filesize_max): Likewise.
44617 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44619 2011-07-05 Andreas Jaeger <aj@suse.de>
44621 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44623 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44625 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44627 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44630 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44632 * Makefile (strop-tests): Add strncat.
44633 * string/test-strncat.c: New file.
44635 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44637 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44639 2011-06-21 Andreas Jaeger <aj@suse.de>
44641 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44642 Copy rule from iconvdata/Makefile.
44644 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44647 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44648 but no long options are defined, just return 'W'.
44650 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44653 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44655 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44657 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44659 (innetgr): Likewise.
44661 2011-07-05 Roland McGrath <roland@hack.frob.com>
44663 * config.make.in (install_root): Default to $(DESTDIR).
44665 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44667 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44669 2011-07-02 Roland McGrath <roland@hack.frob.com>
44671 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44673 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44674 containing directory rather than embedding absolute directory names.
44676 * scripts/check-local-headers.sh: Rewritten using awk.
44677 Match by word, not by line. Print error messages for matches.
44678 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44680 * Makerules [shlib-lds-flags empty]:
44681 ($(common-objpfx)libc_pic.opts): New target.
44682 ($(common-objpfx)libc_pic.os.clean): New target.
44683 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44685 * config.make.in (OBJCOPY): New variable.
44686 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44687 * configure: Regenerated.
44689 * config.make.in (use-default-link): New variable.
44690 * configure.in (use_default_link): Grok --with-default-link to set it.
44691 * configure: Regenerated.
44692 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44693 (shlib-lds, shlib-lds-flags): Define to empty.
44695 * Makerules (shlib-lds): New variable.
44696 (shlib-lds-flags): New variable.
44697 (build-shlib, build-moduile, build-module-asneeded): Use it.
44698 ($(common-objpfx)libc.so): Use $(shlib-lds).
44699 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44700 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44702 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44703 DT_FLAGS/DT_FLAGS_1 with zero flags.
44705 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44706 linker script munging.
44708 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44710 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44712 * crypt/sha512.c (sha512_process_block): Perform total addition using
44713 128-bit if possible.
44714 (__sha512_finish_ctx): Likewise.
44715 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44717 * crypt/sha256.c (SWAP64): Define.
44718 (sha256_process_block): Perform total addition using 64-bit if
44720 (__sha256_finish_ctx): Likewise.
44722 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44724 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44725 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44726 * nscd/hstcache.c (cache_addhst): Likewise.
44727 * nscd/grpcache.c (cache_addgr): Likewise.
44728 * nscd/aicache.c (addhstaiX): Likewise
44729 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44731 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44733 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44734 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44735 * nscd/hstcache.c (cache_addhst): Likewise.
44736 * nscd/grpcache.c (cache_addgr): Likewise.
44737 * nscd/aicache.c (addhstaiX): Likewise
44739 2011-07-01 Andreas Schwab <schwab@redhat.com>
44741 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44742 domain only when needed.
44744 2011-06-30 Andreas Schwab <schwab@redhat.com>
44746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44747 is always restored.
44749 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44751 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44752 are re-adding the entry.
44753 * nscd/servicescache.c (cache_addserv): Likewise.
44755 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44757 * sysdeps/generic/dl-irel.h: fix protection against multiple
44759 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44761 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44764 * malloc/memusage.sh: Fix quoting in message.
44765 * debug/xtrace.sh: Likewise.
44767 * configure.in: Remove support for --experimental-malloc option, make
44769 * config.make.in: Likewise.
44770 * malloc/Makefile: Likewise.
44772 2011-06-27 Andreas Schwab <schwab@redhat.com>
44774 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44775 two-byte characters.
44777 2011-06-27 Roland McGrath <roland@hack.frob.com>
44779 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44780 AC_CACHE_CHECK invocation.
44781 * configure: Regenerated.
44783 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44785 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44788 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44789 bit from old_res_options.
44791 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44793 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44794 value type for setfct.
44796 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44798 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44799 __gettimeofday instead of gettimeofday.
44801 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44803 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44805 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44807 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44809 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44812 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44815 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44816 strcpy-sse2-unaligned strncpy-sse2-unaligned
44817 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44818 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44819 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44820 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44821 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44822 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44823 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44824 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44825 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44826 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44827 (STRCPY): Support SSE2 and SSSE3 versions.
44829 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44832 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44833 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44834 kernels which artificially limit size of requests.
44836 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44839 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44840 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44841 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44842 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44843 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44844 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44845 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44846 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44847 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44848 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44849 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44850 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44851 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44852 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44854 Enable unaligned load optimization for Intel Core i3, i5 and i7
44856 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44858 (index_Fast_Unaligned_Load): Define.
44859 (HAS_FAST_UNALIGNED_LOAD): Define.
44861 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44863 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44865 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44868 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44869 until it is clear that the information is realy needed.
44870 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44872 2011-06-22 Andreas Schwab <schwab@redhat.com>
44874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44876 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44878 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44879 /sys/devices/system/cpu/online if it is usable.
44881 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44882 reading the information from the /proc filesystem to once a second.
44884 2011-06-21 Andreas Jaeger <aj@suse.de>
44886 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44887 NULL after inclusion of kernel headers.
44889 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44891 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44892 calls to internal_setent.
44895 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44896 addresses using gethostbyname4_r ignore IPv4 addresses.
44898 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44899 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44901 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44903 2011-06-20 David S. Miller <davem@davemloft.net>
44905 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44907 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44909 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44910 (elf_irel): Use it.
44911 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44912 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44913 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44914 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44915 * sysdeps/x86_64/dl-irel.h: Likewise.
44917 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44918 * elf/dl-sym.c: Likewise.
44920 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44922 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44923 need to dereference resplen2.
44925 2011-06-14 Andreas Schwab <schwab@redhat.com>
44927 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44929 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44931 * Makeconfig: Define vardbdir and inst_vardbdir.
44932 * nss/Makefile: Add rules to install db-Makefile.
44934 * nss/nss_db/db-XXX.c: Cleanup.
44936 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44937 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44939 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44940 * nss/makedb.c: Implement -g option to specify that value strings
44941 are generated and should not be added to table iterated over for
44943 * nss/nss_db/db-initgroups.c: New file.
44945 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44948 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44949 (internal_getgrouplist): Adjust to name change.
44950 Update use_initgroups_entry if this is not the first call.
44951 * nss/databases.def: Add initgroups entry.
44953 * nss/makedb.c (compute_tables): Check result of multiple hash table
44954 sizes to minimize maximum chain length.
44956 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44958 * Versions.def: Add entry for libnss_db.
44959 * shlib-versions: Likewise.
44960 * nss/Makefile: Add rules to build libnss_db.
44961 * nss/Versions: Add libnss_db information. Organize libnss_files
44963 * nss/db-Makefile: Add gshadow support. Change rules for the new
44964 makedb progra. Some minor improvements to generate smaller files.
44965 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44967 * nss/makedb.c: ...here.
44968 Improve database format to be smaller and require less memory at
44970 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44972 * nss/nss_db/db-netgrp.c: Likewise.
44973 * nss/nss_db/db-open.c: Likewise.
44974 * nss/nss_files/flies-XXX.x: Adjust comments.
44975 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44976 * nss/nss_files/files-grp.c: Likewise.
44977 * nss/nss_files/files-hosts.c: Likewise.
44978 * nss/nss_files/files-network.c: Likewise.
44979 * nss/nss_files/files-proto.c: Likewise.
44980 * nss/nss_files/files-pwd.c: Likewise.
44981 * nss/nss_files/files-rpc.c: Likewise.
44982 * nss/nss_files/files-service.c: Likewise.
44983 * nss/nss_files/files-sgrp.c: Likewise.
44984 * nss/nss_files/files-spwd.c: Likewise.
44985 * nss/nss_db/db-alias.c: Removed.
44986 * nss/nss_db/dummy-db.h: Removed.
44988 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44990 * nss/makedb.c: Rewritten to not use database library.
44991 * nss/Makefile: Update to build new makedb program.
44993 2011-06-14 Andreas Jaeger <aj@suse.de>
44995 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44996 memset declaration.
44998 2011-06-10 Andreas Schwab <schwab@redhat.com>
45000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45003 2011-06-10 Roland McGrath <roland@hack.frob.com>
45005 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45006 * elf/Makefile ($(objpfx)ld.so): Likewise.
45008 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45009 Don't list ld.so twice in dependencies.
45011 * posix/bug-regex31.c: Include <stdlib.h>.
45013 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45015 * nis/nss_compat/compat-spwd.c
45016 (getspent_next_nss_netgr): Remove unused variable.
45017 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45019 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45020 nonmembers" output to use the right array.
45022 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45024 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45026 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45027 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45028 * catgets/gencat.c (read_input_file): Likewise.
45029 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45031 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45032 variable definition inside #if's controlling its use.
45034 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45036 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45038 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45040 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45043 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45045 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45046 * configure: Regenerated.
45048 * Makerules: Revert last change.
45049 * elf/Makefile: Likewise.
45051 2011-06-09 Roland McGrath <roland@hack.frob.com>
45053 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45054 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45055 (reloc-link): Likewise.
45057 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45059 * elf/Makefile: Add rules to build pldd.
45060 * elf/pldd.c: New file.
45061 * elf/pldd-xx.c: New file.
45063 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45065 * version.h: Update for 2.15 development version.
45067 2011-06-07 David S. Miller <davem@davemloft.net>
45069 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45071 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45072 elf_machine_lazy_rel): Likewise.
45073 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45074 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45075 elf_machine_lazy_rel): Likewise.
45076 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45077 dl_hwcap via passed in argument.
45078 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45081 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45083 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45085 2011-06-06 Roland McGrath <roland@hack.frob.com>
45088 * manual/fdl-1.1.texi: New file, verbatim from:
45089 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45090 * manual/lgpl-2.1.texi: New file, verbatim from:
45091 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45092 * manual/Makefile (licenses): New variable, list those new file names.
45094 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45096 * manual/fdl.texi: File removed.
45097 * manual/lesser.texi: File removed.
45098 * manual/libc.texinfo (Copying, Documentation License):
45099 Use new @include file names, put @appendix directive before @include.
45101 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45104 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45105 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45106 (mq_open): Add __NTH.
45108 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45111 Assume Intel Core i3/i5/i7 processor if AVX is available.
45113 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45115 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45118 2011-05-31 Andreas Schwab <schwab@redhat.com>
45120 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45121 memory. Use alloca_account. Fix memory leak when retrying.
45123 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45125 * version.h (RELEASE): Bump for 2.14 release.
45126 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45128 * config.make.in (RANLIB): Remove entry.
45130 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45132 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45133 (libc.pot): Work around missing support for .ksh extension in xgettext.
45136 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45137 if both request failed.
45138 (send_dg): In case of server errors clear resplen or *resplen2.
45141 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45142 when there are multiple maps.
45143 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45144 (_dl_fini): Remove test here.
45146 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45148 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45151 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45152 bit from old_res_options.
45153 (gaih_inet): Likewise.
45156 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45159 * resolv/res_init.c (res_setoptions): Make the code more compact.
45162 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45166 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45168 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45171 * malloc/malloc.h: Declare malloc hook variables as volatile.
45173 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45177 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45178 raise in the comment.
45179 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45180 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45181 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45183 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45186 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45187 grow the buffers more if it already has to be sufficient.
45188 (build_wcs_upper_buffer): Likewise.
45189 * posix/regexec.c (check_matching): Likewise.
45190 (clean_state_log_if_needed): Likewise.
45191 (extend_buffers): Don't enlarge buffers beyond size of the input
45193 Patches mostly by Emil Wojak <emil@wojak.eu>.
45194 * posix/bug-regex32.c: New file.
45195 * posix/Makefile (tests): Add bug-regex32.
45197 * locale/findlocale.c (_nl_find_locale): Return right away if
45198 _nl_explode_name failed.
45199 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45201 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45203 * debug/xtrace.sh: Unify messages.
45204 * malloc/memusage.sh: Likewise.
45207 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45208 time symbol from vDSO. Substitute with vsyscall if not available.
45209 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45212 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45213 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45214 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45215 Add sendmmsg and internal_sendmmsg.
45216 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45217 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45218 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45220 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45221 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45222 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45224 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45227 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45228 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45230 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45234 * iconvdata/Makefile (tests): Add bug-iconv9.
45235 * iconvdata/bug-iconv9.c: New file.
45237 2011-05-27 Andreas Schwab <schwab@redhat.com>
45240 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45242 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45244 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45245 (struct user_regs_struct): Change intcs field back to cs.
45247 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45249 * po/ja.po: Update from translation team.
45251 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45254 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45255 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45257 2011-05-20 Andreas Schwab <schwab@redhat.com>
45259 * stdlib/longlong.h: Update from GCC.
45261 2011-05-23 Andreas Schwab <schwab@redhat.com>
45263 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45265 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45266 Add parameter name.
45267 (__sysconf): Pass it down.
45269 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45272 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45275 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45276 add in in __libc_use_alloca calls. Adjust callers.
45277 (glob): Use malloc in some situations.
45279 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45280 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45283 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45285 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45286 and CLOCK_BOOTTIME_ALARM.
45289 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45292 * string/_strerror.c (__strerror_r): Print negative errors as signed
45296 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45297 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45298 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45300 * configure.in: Fix typo in redirection and correct removal of test
45301 files in two cases.
45304 * locale/setlocale.c (new_composite_name): Fix test to check for
45305 identical name of all categories.
45308 * libio/filedoalloc.c (local_isatty): New function.
45309 (_IO_file_doallocate): Use local_isatty.
45310 * stdio-common/perror.c (perror): In case a new stream is used
45311 forward the stream error.
45312 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45315 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45320 * include/alloca.h (extend_alloca_account): Define.
45323 * posix/regex.h: Fix comments with documentation of user-accessible
45324 fields after compilation and describe correct free'ing of pattern
45325 after re_compile_pattern.
45326 Patch by Reuben Thomas <rrt@sc3d.org>.
45328 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45330 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45331 and -mno-altivec to prevent the compiler from using Altivec and/or
45332 VSX instructions when the corresponding registers are not available.
45334 2011-05-19 Andreas Schwab <schwab@redhat.com>
45336 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45338 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45340 * libio/freopen.c (freopen): Use __dup2, not dup2.
45341 * libio/freopen64.c (freopen64): Likewise.
45343 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45346 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45347 * math/Makefile (tests): Add test-powl.
45348 (CFLAGS-test-powl.c): Define.
45349 * math/test-powl.c: New file.
45351 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45353 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45355 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45358 * iconvdata/gb18030.c: Update to GB18020-2005.
45360 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45362 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45363 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45364 Patch by Aharon Robbins <arnold@skeeve.com>.
45367 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45371 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45372 through underflows.
45375 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45376 point to strings before performing equality test for error_one_per_line
45380 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45383 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45384 (struct user_fpregs_struct): Avoid __uint*_t types.
45387 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45388 symbol info. Use it instead of calling _dl_addr locally.
45389 (lock_and_info): New function.
45390 (tr_freehook): Call lock_and_info and pass symbol info as additional
45391 parameter to tr_where.
45392 (tr_mallochook): Likewise.
45393 (tr_reallochook): Likewise.
45394 (tr_memalignhook): Likewise.
45396 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45397 used and couldn't be at all thread-safe.
45399 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45401 * libio/freopen.c (freopen): Don't close old file descriptor
45402 before the new one is opened. Instead dup the new file descriptor
45403 to the old one after the new stream is created.
45404 * libio/freopen64.c (freopen64): Likewise.
45405 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45406 * libio/fileops.c (_IO_new_file_close_it): Handle new
45407 _IO_FLAGS2_NOCLOSE flag.
45408 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45409 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45410 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45411 _IO_FLAGS2_NOCLOSE flag.
45412 * include/unistd.h: Add hidden_proto for dup3.
45413 Define __have_dup3.
45414 * io/dup3.c: Define hidden symbol.
45415 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45418 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45419 when an incomplete long option is used.
45420 * posix/tst-getopt_long1.c: New file.
45421 * posix/Makefile (tests): Add tst-getopt_long1.
45424 * scripts/config.guess: Update from autoconf-2.68.
45425 * scripts/config.sub: Likewise.
45428 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45430 (has_cpuclock): ...this. New function.
45431 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45432 macro here based on has_cpuclock code.
45435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45436 First byte (not low byte) is now always NUL.
45437 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45440 Use non-cancelable interfaces.
45443 * locale/iso-639.def: Add entry for Sorani.
45446 * include/stdlib.h: Move include protection to the right place.
45447 Define abort_msg_s. Declare __abort_msg with it.
45448 * stdlib/abort.c (__abort_msg): Adjust type.
45449 * assert/assert.c (__assert_fail_base): New function. Majority
45450 of code from __assert_fail. Allocate memory for __abort_msg with
45452 (__assert_fail): Now call __assert_fail_base.
45453 * assert/assert-perr.c: Remove bulk of implementation. Use
45454 __assert_fail_base.
45455 * include/assert.hL Declare __assert_fail_base.
45456 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45458 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45460 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45464 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45465 until all modules are registered in the DTV.
45466 * elf/Makefile: Add rules to build and run tst-tls19.
45467 * elf/tst-tls19.c: New file.
45468 * elf/tst-tls19mod1.c: New file.
45469 * elf/tst-tls19mod2.c: New file.
45470 * elf/tst-tls19mod3.c: New file.
45471 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45474 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45478 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45479 two-byte sequence errors.
45480 * iconvdata/Makefile (tests): Add bug-iconv8.
45481 * iconvdata/bug-iconv8.c: New file.
45484 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45487 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45490 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45491 (dummy_getcfa): New function.
45492 (init): Get _Unwind_GetCFA address, use dummy if not found.
45493 (backtrace_helper): In recursion check, also check whether CFA changes.
45494 (__backtrace): Completely initialize arg.
45496 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45497 storing incomplete byte sequence in state object. Avoid testing for
45498 guaranteed too small input if we know there is enough data available.
45500 2011-05-11 Andreas Schwab <schwab@redhat.com>
45502 * Makeconfig (+link-pie): Indent.
45503 * Rules (binaries-pie): Define if $(have-fpie) and
45505 (binaries-shared): Also filter out $(binaries-pie).
45506 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45507 * nscd/Makefile (others-pie): Add nscd.
45508 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45509 ($(objpfx)nscd): Remove command override.
45510 * login/Makefile (others-pie): Add pt_chown.
45511 ($(objpfx)pt_chown): Remove command override.
45512 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45513 remove command overrides.
45515 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45517 * libio/tst_putwc.c: Fix error messages.
45520 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45521 currently writing and seek to current position when not.
45522 * libio/Makefile (tests): Add bug-fclose1.
45523 * libio/bug-fclose1.c: New file.
45525 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45528 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45529 don't set DF_1_NODELETE here.
45530 (do_lookup_x): When entering new entry test for copy relocation
45531 and if necessary set DF_1_NODELETE flag.
45532 * elf/tst-unique4.cc: New file.
45533 * elf/tst-unique4.h: New file.
45534 * elf/tst-unique4lib.cc: New file.
45535 * elf/Makefile: Add rules to build and run tst-unique4.
45536 Patch by Piotr Bury <pbury@goahead.com>.
45538 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45541 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45544 * misc/mntent_r.c (addmntent): Flush the stream after the output
45547 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45548 (is_trusted_path_normalize): Skip initial colon. Append slash
45549 to empty buffer. Duplicate is_trusted_path code but allow
45550 constructed patch to be prefix.
45551 (is_dst): Allow $ORIGIN followed by /.
45552 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45553 Correct testing of result of is_trusted_path_normalize
45554 (decompose_rpath): Fix warning.
45556 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45559 * grp/initgroups.c (internal_getgrouplist): When we found the service
45560 list through the initgroups entry in nsswitch.conf do not always
45561 continue on a successful lookup. Don't always use the
45562 __nss_group_database value if it is set.
45563 * nss/nsswitch.conf (initgroups): Change action for successful db
45564 lookup to continue for compatibility.
45566 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45569 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45571 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45573 * iconvdata/tst-tables.sh: Likewise.
45574 * iconvdata/cp770.c: New file.
45575 * iconvdata/cp771.c: New file.
45576 * iconvdata/cp772.c: New file.
45577 * iconvdata/cp773.c: New file.
45578 * iconvdata/cp774.c: New file.
45579 * iconvdata/testdata/CP770: New file.
45580 * iconvdata/testdata/CP770..UTF8: New file.
45581 * iconvdata/testdata/CP771: New file.
45582 * iconvdata/testdata/CP771..UTF8: New file.
45583 * iconvdata/testdata/CP772: New file.
45584 * iconvdata/testdata/CP772..UTF8: New file.
45585 * iconvdata/testdata/CP773: New file.
45586 * iconvdata/testdata/CP773..UTF8: New file.
45587 * iconvdata/testdata/CP774: New file.
45588 * iconvdata/testdata/CP774..UTF8: New file.
45590 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45592 * iconvdata/gen-8bit-gap.sh: Likewise.
45593 * iconvdata/gen-8bit.sh: Likewise.
45595 * locale/iso-639.def: Add ary entry.
45598 * locale/C-translit.h.in: Add U20A1 transliteration.
45601 * locale/iso-639.def: Add wae entry.
45602 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45605 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45609 * locale/C-translit.h.in: Add entry for U20B9.
45610 Patch by pravin.d.s@gmail.com.
45612 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45615 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45616 ENAMETOOLONG use generic getcwd.
45617 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45618 in rtld. Use *stat64.
45619 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45620 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45621 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45622 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45623 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45624 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45625 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45626 __fstatat64 macros.
45627 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45628 * dirent/rewinddir.c: Add libc_hidden_def.
45629 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45630 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45632 * include/dirent.h (__alloc_dir): Add flags parameter.
45633 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45634 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45636 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45637 from fdopendir if O_CLOEXEC is already set.
45639 2011-03-15 Alan Modra <amodra@gmail.com>
45641 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45642 l_tls_firstbyte_offset non-zero. Save padding offset in
45643 l_tls_firstbyte_offset for later use.
45644 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45645 freeing static tls block.
45647 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45649 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45650 where #ifdef was intended. The intent is to prevent ARG_MAX from
45651 being defined by the kernel headers.
45653 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45656 * resolv/resolv.h: Define RES_NOTLDQUERY.
45657 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45658 no-tld-query and set RES_NOTLDQUERY.
45659 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45660 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45661 modern BIND to search name as TLD unless forbidden.
45663 2011-05-07 Petr Baudis <pasky@suse.cz>
45664 Ulrich Drepper <drepper@gmail.com>
45667 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45668 (is_trusted_path): ...to here.
45669 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45670 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45671 using is_trusted_path_normalize() in setuid scripts.
45673 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45675 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45676 __BEGIN/__END_DECLS.
45678 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45680 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45681 NSS_STATUS_NOTFOUND if no record was found.
45683 2011-05-05 Andreas Schwab <schwab@redhat.com>
45685 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45686 (headers-not-in-tirpc): Remove rpc/netdb.h
45687 * resolv/netdb.h: Revert last change.
45689 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45691 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45692 circular dependency between libgcc.a and libc.a.
45694 2011-05-05 Andreas Schwab <schwab@redhat.com>
45696 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45697 * nis/Makefile: Don't install rpcsvc/*.
45698 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45699 instead of <rpc/types.h>.
45700 (MAXHOSTNAMELEN): Define.
45702 2011-05-03 Andreas Schwab <schwab@redhat.com>
45704 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45706 2011-04-28 Maciej Babinski <mbabinski@google.com>
45709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45710 gethostbyname4_r when IPv6 results are possible.
45712 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45715 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45716 _PC_PIPE_BUF handling.
45718 2011-04-30 Bruno Haible <bruno@clisp.org>
45721 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45722 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45724 * inet/getnameinfo.c (getnameinfo): Likewise.
45726 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45728 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45729 to groups setting in database lookup.
45730 * nss/nsswitch.conf: Add initgroups entry.
45732 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45735 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45737 Patch by Eric Blake <eblake@redhat.com>.
45739 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45741 * sunrpc/Makefile (need-export-routines): Add svc_run.
45742 (routines): Remove svc_run.
45743 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45744 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45745 * sunrpc/svc_run.c (svc_run): Likewise.
45746 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45748 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45750 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45751 problem in reallocation in last patch.
45753 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45755 * sunrpc/Makefile: Move inclusion of Rules.
45757 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45759 * nss/nss_files/files-initgroups.c: New file.
45760 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45761 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45762 _nss_files_initgroups_dyn.
45764 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45766 * elf/elf.h (R_ARM_IRELATIVE): Define.
45768 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45770 * po/ru.po: Update from translation team.
45772 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45774 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45777 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45780 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45781 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45782 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45783 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45786 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45788 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45790 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45791 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45792 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45794 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45797 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45799 * stdlib/bug-getcontext.c: New file.
45800 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45802 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45804 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45805 instructions into .machine "z9-109".
45806 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45807 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45809 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45811 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45812 between environment variables and auxiliary vector.
45814 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45816 * Makefile: Add rules to build linkobj/libc.so.
45817 * include/libc-symbols.h: Define libc_hidden_nolink.
45818 * include/rpc/auth.h: Mark functions which are to be hidden.
45819 * include/rpc/auth_des.h: Likewise.
45820 * include/rpc/auth_unix.h: Likewise.
45821 * include/rpc/clnt.h: Likewise.
45822 * include/rpc/des_crypt.h: Likewise.
45823 * include/rpc/key_prot.h: Likewise.
45824 * include/rpc/pmap_clnt.h: Likewise.
45825 * include/rpc/pmap_prot.h: Likewise.
45826 * include/rpc/pmap_rmt.h: Likewise.
45827 * include/rpc/rpc_msg.h: Likewise.
45828 * include/rpc/svc.h: Likewise.
45829 * include/rpc/svc_auth.h: Likewise.
45830 * include/rpc/xdr.h: Likewise.
45831 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45832 * nss/Makefile: Likewise.
45833 * sunrpc/Makefile: Don't install headers. Build library with normal
45834 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45835 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45836 for the compat linking library. Remove use of INTDEF/INTUSE.
45837 * sunrpc/auth_none.c: Likewise.
45838 * sunrpc/auth_unix.c: Likewise.
45839 * sunrpc/authdes_prot.c: Likewise.
45840 * sunrpc/authuxprot.c: Likewise.
45841 * sunrpc/clnt_gen.c: Likewise.
45842 * sunrpc/clnt_perr.c: Likewise.
45843 * sunrpc/clnt_raw.c: Likewise.
45844 * sunrpc/clnt_simp.c: Likewise.
45845 * sunrpc/clnt_tcp.c: Likewise.
45846 * sunrpc/clnt_udp.c: Likewise.
45847 * sunrpc/clnt_unix.c: Likewise.
45848 * sunrpc/des_crypt.c: Likewise.
45849 * sunrpc/des_soft.c: Likewise.
45850 * sunrpc/get_myaddr.c: Likewise.
45851 * sunrpc/key_call.c: Likewise.
45852 * sunrpc/key_prot.c: Likewise.
45853 * sunrpc/netname.c: Likewise.
45854 * sunrpc/pm_getmaps.c: Likewise.
45855 * sunrpc/pm_getport.c: Likewise.
45856 * sunrpc/pmap_clnt.c: Likewise.
45857 * sunrpc/pmap_prot.c: Likewise.
45858 * sunrpc/pmap_prot2.c: Likewise.
45859 * sunrpc/pmap_rmt.c: Likewise.
45860 * sunrpc/publickey.c: Likewise.
45861 * sunrpc/rpc_cmsg.c: Likewise.
45862 * sunrpc/rpc_common.c: Likewise.
45863 * sunrpc/rpc_dtable.c: Likewise.
45864 * sunrpc/rpc_prot.c: Likewise.
45865 * sunrpc/rpc_thread.c: Likewise.
45866 * sunrpc/rtime.c: Likewise.
45867 * sunrpc/svc.c: Likewise.
45868 * sunrpc/svc_auth.c: Likewise.
45869 * sunrpc/svc_authux.c: Likewise.
45870 * sunrpc/svc_raw.c: Likewise.
45871 * sunrpc/svc_run.c: Likewise.
45872 * sunrpc/svc_simple.c: Likewise.
45873 * sunrpc/svc_tcp.c: Likewise.
45874 * sunrpc/svc_udp.c: Likewise.
45875 * sunrpc/svc_unix.c: Likewise.
45876 * sunrpc/svcauth_des.c: Likewise.
45877 * sunrpc/xcrypt.c: Likewise.
45878 * sunrpc/xdr.c: Likewise.
45879 * sunrpc/xdr_array.c: Likewise.
45880 * sunrpc/xdr_float.c: Likewise.
45881 * sunrpc/xdr_intXX_t.c: Likewise.
45882 * sunrpc/xdr_mem.c: Likewise.
45883 * sunrpc/xdr_rec.c: Likewise.
45884 * sunrpc/xdr_ref.c: Likewise.
45885 * sunrpc/xdr_sizeof.c: Likewise.
45886 * sunrpc/xdr_stdio.c: Likewise.
45888 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45891 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45892 * sysdeps/ia64/dl-tls.h: Likewise.
45893 * sysdeps/powerpc/dl-tls.h: Likewise.
45894 * sysdeps/s390/dl-tls.h: Likewise.
45895 * sysdeps/sh/dl-tls.h: Likewise.
45896 * sysdeps/sparc/dl-tls.h: Likewise.
45897 * sysdeps/x86_64/dl-tls.h: Likewise.
45898 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45900 2011-03-14 Andreas Schwab <schwab@redhat.com>
45902 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45903 rpath element also skip the following colon.
45904 (expand_dynamic_string_token): Add is_path parameter and pass
45905 down to DL_DST_REQUIRED and _dl_dst_substitute.
45906 (decompose_rpath): Call expand_dynamic_string_token with
45907 non-zero is_path. Ignore empty rpaths.
45908 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45911 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45916 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45919 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45920 Patch by Filipe David Manana <fdmanana@apache.org>.
45922 2011-04-07 Andreas Schwab <schwab@redhat.com>
45924 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45925 Maintain aligned stack.
45926 (CHECK_RSP): Remove unused macro.
45928 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45930 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45931 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45933 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45935 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45937 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45939 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45942 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45943 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45944 * sysdeps/x86_64/memmove.c: New file.
45945 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45946 (memcpy): Renamed to ...
45947 (__new_memcpy): This.
45948 (memcpy): Provide GLIBC_2_14 memcpy.
45949 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45950 (memcpy): Provide GLIBC_2_2_5 memcpy.
45952 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45955 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45957 2011-03-30 Andreas Schwab <schwab@redhat.com>
45959 * misc/syncfs.c: New file.
45960 * misc/Makefile (routines): Add syncfs.
45961 * posix/unistd.h: Declare syncfs.
45962 * sysdeps/unix/syscalls.list: Add syncfs.
45964 2011-04-01 Andreas Schwab <schwab@redhat.com>
45966 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45968 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45969 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45971 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45972 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45973 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45974 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45976 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45978 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45979 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45980 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45982 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45984 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45986 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45987 sync_file_range.c with -fexceptions.
45988 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45989 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45990 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45991 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45992 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45993 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45995 sync_file_range as cancellation point
45996 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45997 now a wrapper around __call_sync_file_range with cancellation handling.
45998 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45999 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46000 function name to __call_sync_file_range.
46001 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46002 Add call_sync_file_range.
46004 2011-04-01 Andreas Schwab <schwab@redhat.com>
46006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46009 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46011 * iconv/iconv.h: Fix typo in comment.
46012 * io/fcntl.h: Likewise.
46013 * libio/stdio.h: Likewise.
46014 * posix/spawn.h: Likewise.
46015 * posix/unistd.h: Likewise.
46016 * stdlib/stdlib.h: Likewise.
46017 * time/time.h: Likewise.
46018 * wcsmbs/wchar.h: Likewise.
46020 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46021 open_by_handle): Add.
46022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46023 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46024 Augment a few comments.
46025 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46027 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46029 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46030 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46033 * io/fcntl.h (AT_EMPTY_PATH): Define.
46035 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46037 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46038 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46039 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46041 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46042 * Versions.def: Add GLIBC_2.14.
46043 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46046 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46048 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46050 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46052 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46055 * string/test-strncmp.c (do_page_test): New function.
46056 (check2): Likewise.
46057 (test_main): Call check2.
46058 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46060 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46063 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46064 Handle cache information in CPU leaf 4.
46065 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46067 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46070 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46071 character representation.
46072 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46074 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46076 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46077 END(__isnan) to END(__isnanf) to match function entry point/label
46078 EALIGN(__isnanf,...).
46080 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46082 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46084 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46087 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46088 copy from the symbol referenced in the relocation to initialize the
46090 Patch by Piotr Bury <pbury@goahead.com>.
46091 * elf/Makefile: Add rules to build and tst-unique3.
46092 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46093 * elf/tst-unique3.cc: New file.
46094 * elf/tst-unique3.h: New file.
46095 * elf/tst-unique3lib.cc: New file.
46096 * elf/tst-unique3lib2.cc: New file.
46098 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46100 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46102 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46103 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46106 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46108 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46109 to-be-loaded object along a path to loader is ld.so.
46111 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46112 Ulrich Drepper <drepper@gmail.com>
46114 * sysdeps/x86_64/memset.S: After aligning destination, code
46115 branches to different locations depending on the value of
46116 misalignment, when multiarch is enabled. Fix this.
46118 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46120 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46121 Set _x86_64_preferred_memory_instruction for AMD processsors.
46122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46123 Set bit_Prefer_SSE_for_memop for AMD processors.
46125 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46127 * libio/fmemopen.c (fmemopen): Optimize a bit.
46129 2011-03-03 Andreas Schwab <schwab@redhat.com>
46131 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46133 2011-03-03 Roland McGrath <roland@redhat.com>
46135 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46137 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46139 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46140 __bzero_ultra1 instead of __memset_ultra1.
46142 2011-02-23 Andreas Schwab <schwab@redhat.com>
46143 Ulrich Drepper <drepper@gmail.com>
46146 * include/link.h (struct link_map): Add l_orig_initfini.
46147 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46148 returning unsuccessfully.
46149 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46150 close of a file loaded at startup, restore the original l_initfini
46152 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46153 list, store the pointer.
46154 * elf/Makefile ($(objpfx)noload-mem): New rule.
46155 (noload-ENV): Define.
46156 (tests): Add $(objpfx)noload-mem.
46157 * elf/noload.c: Include <memcheck.h>.
46158 (main): Call mtrace. Close all opened handles.
46160 2011-02-17 Andreas Schwab <schwab@redhat.com>
46163 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46164 dependencies are missing.
46166 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46168 Fix __if_freereq crash: Unlike the generic version which uses free,
46170 * sysdeps/mach/hurd/ifreq.h: New file.
46172 2011-01-27 Petr Baudis <pasky@suse.cz>
46173 Ulrich Drepper <drepper@gmail.com>
46176 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46177 to extend_alloca().
46178 * stdio-common/bug23.c: New file.
46179 * stdio-common/Makefile (tests): Add bug23.
46181 2010-09-28 Andreas Schwab <schwab@redhat.com>
46182 Ulrich Drepper <drepper@gmail.com>
46185 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46186 before performing relro protection. At old place add assertion
46187 to make sure nothing changed.
46189 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46190 Glauber de Oliveira Costa <glommer@gmail.com>
46192 * elf/elf.h: Add new ARM TLS relocs.
46194 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46197 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46199 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46201 * sysdeps/wordsize-64/tst-writev.c: New file.
46203 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46205 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46206 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46207 insns in _dl_start to prevent a TOC reference before relocs are
46210 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46213 * Makeconfig: Remove RANLIB definition.
46214 * Makerules: Don't use RANLIB.
46215 * aclocal.m4: Remove ranlib test.
46216 * configure.in: No need to check for ranlib.
46217 * elf/rtld-Rules: Don't use RANLIB.
46219 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46221 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46223 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46224 inclusion protection macro.
46226 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46227 SIGRTMIN and SIGRTMAX and print information in that case only when
46228 SIGRTMIN is defined.
46230 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46232 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46233 arginfo fn returning -1.
46235 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46236 and thousands string is zero terminated.
46238 2011-02-03 Andreas Schwab <schwab@redhat.com>
46240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46241 sysdeps/unix/sysv/linux/bits/socket.h.
46243 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46245 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46246 (__CPU_COUNT): Remove old macros.
46247 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46248 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46249 (__CPU_ALLOC, __CPU_FREE): Add macros.
46250 (__sched_cpualloc, __sched_cpufree): Add declarations.
46252 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46254 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46255 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46256 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46257 (readdhstai): Return value of addhstaiX call.
46258 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46259 (addgrbyX): Return value returned by cache_addgr.
46260 (readdgrbyname): Return value returned by addgrbyX.
46261 (readdgrbygid): Likewise.
46262 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46263 (addpwbyX): Return value returned by cache_addpw.
46264 (readdpwbyname): Return value returned by addhstbyX.
46265 (readdpwbyuid): Likewise.
46266 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46267 (addservbyX): Return value returned by cache_addserv.
46268 (readdservbyname): Return value returned by addservbyX:
46269 (readdservbyport): Likewise.
46270 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46271 (addhstbyX): Return value returned by cache_addhst.
46272 (readdhstbyname): Return value returned by addhstbyX.
46273 (readdhstbyaddr): Likewise.
46274 (readdhstbynamev6): Likewise.
46275 (readdhstbyaddrv6): Likewise.
46276 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46277 (readdinitgroups): Return value returned by addinitgroupsX.
46278 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46279 (prune_cache): Keep track of timeout value of re-added entries.
46280 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46281 * nscd/nscd.h: Adjust prototypes of readd* functions.
46283 2011-02-04 Roland McGrath <roland@redhat.com>
46285 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46286 (nis_stats): Likewise.
46287 * nis/nis_modify.c (nis_modify): Likewise.
46288 * nis/nis_remove.c (nis_remove): Likewise.
46289 * nis/nis_add.c (nis_add): Likewise.
46291 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46293 * posix/fnmatch_loop.c: Add some consts.
46295 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46297 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46300 * config.make.in (config-cflags-novzeroupper): Define.
46301 * configure.in: Substitute libc_cv_cc_novzeroupper.
46302 * elf/Makefile (AVX-CFLAGS): Define.
46303 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46304 (CFLAGS-tst-auditmod4a.c): Likewise.
46305 (CFLAGS-tst-auditmod4b.c): Likewise.
46306 (CFLAGS-tst-auditmod6b.c): Likewise.
46307 (CFLAGS-tst-auditmod6c.c): Likewise.
46308 (CFLAGS-tst-auditmod7b.c): Likewise.
46309 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46311 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46313 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46314 function to the callback.
46315 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46317 2011-02-02 Andreas Schwab <schwab@redhat.com>
46319 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46322 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46325 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46327 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46329 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46332 * elf/Makefile: Add rules to build and run new test.
46333 * elf/tst-initorder.c: New file.
46334 * elf/tst-initorder.exp: New file.
46335 * elf/tst-initordera1.c: New file.
46336 * elf/tst-initordera2.c: New file.
46337 * elf/tst-initordera3.c: New file.
46338 * elf/tst-initordera4.c: New file.
46339 * elf/tst-initorderb1.c: New file.
46340 * elf/tst-initorderb2.c: New file.
46341 * elf/tst-order-a1.c: New file.
46342 * elf/tst-order-a2.c: New file.
46343 * elf/tst-order-a3.c: New file.
46344 * elf/tst-order-a4.c: New file.
46345 * elf/tst-order-b1.c: New file.
46346 * elf/tst-order-b2.c: New file.
46347 * elf/tst-order-main.c: New file.
46348 New test case by George Gensure <werkt0@gmail.com>.
46350 2010-10-01 Andreas Schwab <schwab@redhat.com>
46352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46353 decoding ACE if AI_CANONIDN.
46355 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46357 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46359 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46361 * version.h (RELEASE): Bump for 2.13 release.
46362 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46364 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46366 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46368 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46369 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46370 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46371 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46372 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46373 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46375 * posix/getconf.c: Update copyright year.
46376 * catgets/gencat.c: Likewise.
46377 * csu/version.c: Likewise.
46378 * debug/catchsegv.sh: Likewise.
46379 * debug/xtrace.sh: Likewise.
46380 * elf/ldconfig.c: Likewise.
46381 * elf/ldd.bash.in: Likewise.
46382 * elf/sprof.c (print_version): Likewise.
46383 * iconv/iconv_prog.c: Likewise.
46384 * iconv/iconvconfig.c: Likewise.
46385 * locale/programs/locale.c: Likewise.
46386 * locale/programs/localedef.c: Likewise.
46387 * malloc/memusage.sh: Likewise.
46388 * malloc/mtrace.pl: Likewise.
46389 * nscd/nscd.c (print_version): Likewise.
46390 * nss/getent.c: Likewise.
46392 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46393 PF_CAIF, and PF_ALG.
46394 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46396 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46398 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46399 (modules-names): Use them.
46400 (ifunc-test-modules, ifunc-pie-tests): Define.
46401 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46402 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46403 (test-extras): Likewise.
46404 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46405 $(compile-command.c).
46406 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46407 (all-built-dso): Define.
46408 (check-textrel.out, check-execstack.out): Depend on it.
46410 * configure.in: Don't override --enable-multi-arch.
46412 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46415 * nscd/hstcache.c (tryagain): Define.
46416 (cache_addhst): Return tryagain not notfound for temporary errors.
46417 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46420 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46423 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46424 to make the syscall.
46425 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46428 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46429 and fall back to matching as normal character if the string ends before
46430 the matching ']' is found. This is what POSIX requires.
46431 * posix/testfnm.c: Adjust test result.
46432 * posix/globtest.sh: Adjust test result. Add new test.
46433 * posix/tst-fnmatch.input: Likewise.
46434 * posix/tst-fnmatch2.c: Add new test.
46436 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46438 * elf/Makefile (check-execstack): Revert last change. Depend on
46440 (check-execstack.h): New target.
46441 (generated): Add check-execstack.h.
46442 * elf/check-execstack.c: Include "check-execstack.h".
46443 (main): Revert last change.
46444 (handle_file): Return zero if GNU_STACK is absent and
46445 DEFAULT_STACK_PERMS doesn't include PF_X.
46447 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46449 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46450 in child fails because the descriptor is already closed.
46451 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46452 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46453 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46456 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46460 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46461 temporary buffer used to handle multi lookups locally.
46462 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46464 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46466 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46469 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46471 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46472 alignment for SSE2.
46474 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46477 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46478 characters. When rounding increased number of integer digits recompute
46480 * stdio-common/tst-grouping.c: New file.
46481 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46483 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46485 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46486 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46488 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46490 * bits/select.h: Likewise.
46492 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46494 * po/ja.po: Update from translation team.
46496 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46499 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46500 implementation just like for lxstat, fxstatat, et al.
46502 2010-12-27 Jim Meyering <meyering@redhat.com>
46505 * posix/regexec.c (build_trtable): Return failure indication upon
46506 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46508 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46511 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46512 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46513 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46514 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46517 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46520 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46521 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46523 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46525 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46526 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46527 script has SORT_BY_INIT_PRIORITY.
46528 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46529 NO_CTORS_DTORS_SECTIONS is defined.
46530 * elf/soinit.c: Likewise.
46531 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46532 NO_CTORS_DTORS_SECTIONS is defined.
46533 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46534 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46535 * sysdeps/sh/init-first.c: Likewise.
46536 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46538 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46540 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46541 always use the slow path.
46543 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46545 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46546 similar rule which adds the sysdep directories to the header search in
46547 order to pick up the correct platform stackinfo.h.
46548 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46549 perform test if it is, otherwise return successfully without testing.
46550 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46551 DEFAULT_STACK_PERMS define in stackinfo.h.
46552 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46553 defined in stackinfo.h.
46554 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46555 DEFAULT_STACK_PERMS defined in stackinfo.h.
46556 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46557 * sysdeps/ia64/stackinfo.h: Likewise.
46558 * sysdeps/s390/stackinfo.h: Likewise.
46559 * sysdeps/sh/stackinfo.h: Likewise.
46560 * sysdeps/sparc/stackinfo.h: Likewise.
46561 * sysdeps/x86_64/stackinfo.h: Likewise.
46562 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46563 PF_X for powerpc64. Retain PF_X for powerpc32.
46565 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46567 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46569 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46570 GETDENTS_64BIT_ALIGNED.
46572 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46574 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46576 2010-12-10 Andreas Schwab <schwab@redhat.com>
46578 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46581 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46582 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46584 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46585 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46587 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46590 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46593 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46595 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46597 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46599 * po/it.po: Update from translation team.
46601 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46603 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46606 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46608 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46610 2010-11-24 Andreas Schwab <schwab@redhat.com>
46612 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46614 (gaih_getanswer_slice): Likewise.
46616 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46620 2010-05-31 Petr Baudis <pasky@suse.cz>
46623 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46624 silently even in the chroot mode.
46626 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46628 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46629 last patch a bit. Pretty printing
46631 2010-05-31 Petr Baudis <pasky@suse.cz>
46634 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46635 initialization of skip_initgroups_dyn.
46637 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46639 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46640 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46642 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46644 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46646 2010-11-11 Andreas Schwab <schwab@redhat.com>
46648 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46649 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46650 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46651 ($(objpfx)tst-fnmatch-mem): New rule.
46652 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46653 * posix/tst-fnmatch.c (main): Call mtrace.
46655 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46658 Support Intel processor model 6 and model 0x2c.
46660 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46662 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46665 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46668 * string/test-strncasecmp.c (check_result): New function.
46669 (do_one_test): Use it.
46670 (check1): New function.
46671 (test_main): Use it.
46672 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46673 Support strcasecmp and strncasecmp.
46675 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46678 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46679 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46681 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46683 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46687 * sysdeps/x86_64/multiarch/bzero.S: New file.
46688 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46689 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46690 * sysdeps/x86_64/multiarch/memset.S: New file.
46691 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46693 Set bit_Prefer_SSE_for_memop for Intel processors.
46694 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46696 (index_Prefer_SSE_for_memop): Define.
46697 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46699 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46701 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46702 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46704 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46707 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46708 (__x86_64_raw_data_cache_size_half): Likewise.
46709 (__x86_64_raw_shared_cache_size): Likewise.
46710 (__x86_64_raw_shared_cache_size_half): Likewise.
46712 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46713 (__x86_64_raw_data_cache_size_half): Likewise.
46714 (__x86_64_raw_shared_cache_size): Likewise.
46715 (__x86_64_raw_shared_cache_size_half): Likewise.
46716 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46717 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46718 and __x86_64_raw_shared_cache_size_half. Round
46719 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46720 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46721 to multiple of 256 bytes.
46723 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46726 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46727 of inacessible symlinks. Verify result of symlink before returning it.
46728 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46729 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46731 2010-10-28 Erich Ritz <erichritz@gmail.com>
46733 * math/math.h (isinf): Fix typo in comment.
46735 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46737 * po/da.po: Update from translation team.
46739 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46741 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46742 is added to the list.
46744 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46745 Ulrich Drepper <drepper@gmail.com>
46747 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46748 the global list here. Move code to...
46749 (_dl_add_to_namespace_list): ...here. New function.
46750 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46751 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46752 * elf/dl-load.c (lose): Don't remove the element from the list.
46753 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46754 (_dl_map_object): Likewise.
46756 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46759 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46760 into all bytes of SSE register.
46761 Patch by Richard Li <richardpku@gmail.com>.
46763 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46766 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46769 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46771 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46772 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46773 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46774 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46779 2010-10-22 Andreas Schwab <schwab@redhat.com>
46781 * include/dlfcn.h (__RTLD_SECURE): Define.
46782 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46783 mode & __RTLD_SECURE instead.
46784 (open_path): Rename preloaded parameter to secure.
46785 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46786 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46787 * elf/dl-deps.c (openaux): Likewise.
46788 * elf/rtld.c (struct map_args): Remove is_preloaded.
46789 (map_doit): Don't use it.
46790 (dl_main): Likewise.
46791 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46792 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46794 2010-09-09 Andreas Schwab <schwab@redhat.com>
46796 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46797 (sysd-rules-targets): Remove duplicates.
46798 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46799 rtld-%.$o dependency.
46801 2010-10-18 Andreas Schwab <schwab@redhat.com>
46803 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46804 _dl_map_object do it.
46806 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46808 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46809 fast fma builtins, define the macros in the C99 standard.
46810 (FP_FAST_FMAF): Likewise.
46811 (FP_FAST_FMAL): Likewise.
46812 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46814 * bits/mathdef.h: Update copyright year.
46815 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46817 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46819 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46820 builtins, define the macros in the C99 standard.
46821 (FP_FAST_FMAF): Likewise.
46822 (FP_FAST_FMAL): Likewise.
46823 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46825 (FP_FAST_FMAF): Likewise.
46827 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46830 * math/libm-test.inc (fma_test): Some new testcases.
46831 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46832 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46833 y and infinite z. Do multiplication by C already in long double.
46834 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46836 y and infinite z. Do bitwise or of inexact bit into u.d.
46837 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46838 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46839 * sysdeps/i386/fpu/s_fma.S: Removed.
46840 * sysdeps/i386/fpu/s_fmal.S: Removed.
46842 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46845 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46847 computation is not scheduled after fetestexcept. Fix value
46848 of minimum denormal long double.
46850 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46853 * math/libm-test.inc (fma_test): Add some more tests.
46854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46857 2010-10-15 Andreas Schwab <schwab@redhat.com>
46859 * scripts/data/localplt-s390-linux-gnu.data: New file.
46860 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46862 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46865 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46866 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46868 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46870 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46872 if one of x and y is very large and the other is subnormal.
46873 * sysdeps/s390/fpu/s_fmaf.c: New file.
46874 * sysdeps/s390/fpu/s_fma.c: New file.
46875 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46876 * sysdeps/powerpc/fpu/s_fma.S: New file.
46877 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46878 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46879 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46881 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46884 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46886 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46887 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46888 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46889 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46890 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46891 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46892 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46894 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46897 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46898 * posix/bug-regex31.input: Add test case.
46900 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46902 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46903 * posix/bug-regex31.input: New file.
46906 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46907 (parse_sub_exp): Fix last change, use postorder.
46909 * posix/bug-regex31.c: New file.
46910 * posix/Makefile: Add rules to build and run bug-regex31.
46912 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46915 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46918 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46919 to have entries in sys_siglist.
46922 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46925 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46928 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46929 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46930 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46931 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46932 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46933 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46934 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46935 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46936 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46937 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46938 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46939 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46940 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46941 * math/ftestexcept.c (fetestexcept): Likewise.
46942 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46943 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46944 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46945 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46946 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46947 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46948 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46950 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46953 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46956 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46958 * string/bug-strstr1.c: New file.
46959 * string/Makefile: Add rules to build and run bug-strstr1.
46961 2010-10-05 Eric Blake <eblake@redhat.com>
46964 * string/str-two-way.h (two_way_long_needle): Always clear memory
46965 when skipping input due to the shift table.
46967 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46970 * malloc/mcheck.c: Handle large requests.
46973 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46974 for strncmp and strncasecmp.
46975 * string/stratcliff.c: Add tests for strcmp and strncmp.
46976 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46978 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46980 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46983 2010-09-30 Andreas Jaeger <aj@suse.de>
46985 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46986 (CGROUP_SUPER_MAGIC): Define.
46987 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46988 Handle btrfs and cgroup file systems.
46989 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46992 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46994 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46995 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46997 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47000 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47001 trying to locate the ELF header.
47003 2010-09-27 Andreas Schwab <schwab@redhat.com>
47006 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47007 Mask out sign-bit copies when constructing f_fsid.
47009 2010-09-24 Petr Baudis <pasky@suse.cz>
47011 * debug/stack_chk_fail_local.c: Add missing licence exception.
47012 * debug/warning-nop.c: Likewise.
47014 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47016 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47017 implementing getdents64 using getdents syscall, set d_type if
47018 __ASSUME_GETDENTS32_D_TYPE.
47020 2010-09-16 Andreas Schwab <schwab@redhat.com>
47022 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47023 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47025 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47028 * posix/unistd.h: Undo change of feature selection for ftruncate from
47031 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47033 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47036 2010-09-20 Andreas Schwab <schwab@redhat.com>
47038 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47040 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47042 2010-09-14 Andreas Schwab <schwab@redhat.com>
47044 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47045 variables after CHECK_SP call.
47046 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47048 2010-09-13 Andreas Schwab <schwab@redhat.com>
47049 Ulrich Drepper <drepper@redhat.com>
47051 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47052 re-relocationg ld.so.
47053 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47054 _dl_init_paths call.
47055 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47058 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47060 * resolv/res_init.c (__res_vinit): Count the default server we added.
47062 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47063 Ulrich Drepper <drepper@redhat.com>
47066 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47067 (____longjmp_chk): Use %ebx for saving value across system call.
47070 2010-09-06 Andreas Schwab <schwab@redhat.com>
47072 * manual/Makefile: Don't mix pattern rules with normal rules.
47074 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47076 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47078 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47079 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47080 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47081 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47085 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47088 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47089 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47091 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47093 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47094 * sysdeps/x86_64/addmul_1.S: Likewise.
47095 * sysdeps/x86_64/lshift.S: Likewise.
47096 * sysdeps/x86_64/mul_1.S: Likewise.
47097 * sysdeps/x86_64/rshift.S: Likewise.
47098 * sysdeps/x86_64/sub_n.S: Likewise.
47099 * sysdeps/x86_64/submul_1.S: Likewise.
47101 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47103 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47104 Define __sched_param instead of SCHED_* and sched_param when
47105 <bits/sched.h> is included with __need_schedparam defined.
47106 * bits/sched.h [__need_schedparam]
47107 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47108 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47109 (__defined_schedparam): Define to 1.
47110 (__sched_param): New structure, identical to sched_param.
47111 (__need_schedparam): Undefine.
47113 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47115 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47116 (epoll_create1): Declare.
47118 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47120 2010-08-31 Andreas Schwab <schwab@redhat.com>
47123 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47124 shifting retval into place.
47126 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47128 * nis/rpcsvc/nis.h: Update copyright notice.
47129 * nis/rpcsvc/nis.x: Likewise.
47130 * nis/rpcsvc/nis_callback.h: Likewise.
47131 * nis/rpcsvc/nis_callback.x: Likewise.
47132 * nis/rpcsvc/nis_object.x: Likewise.
47133 * nis/rpcsvc/nis_tags.h: Likewise.
47134 * nis/rpcsvc/yp.h: Likewise.
47135 * nis/rpcsvc/yp.x: Likewise.
47136 * nis/rpcsvc/ypupd.h: Likewise.
47137 * nis/yp_xdr.c: Likewise.
47138 * nis/ypupdate_xdr.c: Likewise.
47140 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47141 mainly the body of pmap_getport. Add parameters to specify timeouts.
47142 (pmap_getport): Use __libc_rpc_getport.
47143 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47144 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47145 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47147 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47152 2010-08-27 Roland McGrath <roland@redhat.com>
47154 * sysdeps/i386/i686/multiarch/Makefile
47155 (CFLAGS-varshift.c): New variable.
47157 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47159 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47160 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47164 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47166 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47168 * sysdeps/x86_64/strlen.S: Unroll the loop.
47169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47170 strlen-sse2 strlen-sse2-bsf.
47171 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47172 __strlen_no_bsf if bit_Slow_BSF is set.
47173 (__strlen_sse42): Removed.
47174 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47175 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47177 2010-08-25 Roland McGrath <roland@redhat.com>
47179 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47180 * sysdeps/x86_64/multiarch/varshift.c: New file.
47181 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47182 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47183 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47184 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47186 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47189 strlen-sse2 strlen-sse2-bsf.
47190 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47191 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47192 (__strlen_sse2): Removed.
47193 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47194 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47196 bit_Slow_BSF for Atom.
47197 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47198 (index_Slow_BSF): Define.
47199 (HAS_SLOW_BSF): Define.
47201 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47204 * resolv/res_init.c (__res_vinit): When no server address at all
47205 is given default to loopback.
47207 2010-08-24 Roland McGrath <roland@redhat.com>
47209 * configure.in: Remove config-name.h generation.
47210 * configure: Regenerated.
47211 * config-name.in: File removed.
47212 * scripts/config-uname.sh: New file.
47213 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47214 ($(objdir)config-name.h): New target.
47216 * sunrpc/rpc_parse.h: Avoid nested comment.
47218 2010-08-24 Richard Henderson <rth@redhat.com>
47219 Ulrich Drepper <drepper@redhat.com>
47220 H.J. Lu <hongjiu.lu@intel.com>
47222 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47224 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47225 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47226 _mm_alignr_epi8 with _mm_loadu_si128.
47227 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47228 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47229 (__m128i_shift_right): Removed.
47230 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47231 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47232 * sysdeps/x86_64/multiarch/varshift.h: New file.
47233 * sysdeps/x86_64/multiarch/varshift.S: New file.
47235 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47237 * configure.in: Move assembler checks to before sysdep dir checking.
47239 2010-08-20 Petr Baudis <pasky@suse.cz>
47241 * LICENSES: Sync the sunrpc license.
47243 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47245 * sunrpc/auth_des.c: Update copyright notice once again.
47246 * sunrpc/auth_none.c: Likewise.
47247 * sunrpc/auth_unix.c: Likewise.
47248 * sunrpc/authdes_prot.c: Likewise.
47249 * sunrpc/authuxprot.c: Likewise.
47250 * sunrpc/bindrsvprt.c: Likewise.
47251 * sunrpc/clnt_gen.c: Likewise.
47252 * sunrpc/clnt_perr.c: Likewise.
47253 * sunrpc/clnt_raw.c: Likewise.
47254 * sunrpc/clnt_simp.c: Likewise.
47255 * sunrpc/clnt_tcp.c: Likewise.
47256 * sunrpc/clnt_udp.c: Likewise.
47257 * sunrpc/clnt_unix.c: Likewise.
47258 * sunrpc/des_crypt.c: Likewise.
47259 * sunrpc/des_soft.c: Likewise.
47260 * sunrpc/get_myaddr.c: Likewise.
47261 * sunrpc/getrpcport.c: Likewise.
47262 * sunrpc/key_call.c: Likewise.
47263 * sunrpc/key_prot.c: Likewise.
47264 * sunrpc/openchild.c: Likewise.
47265 * sunrpc/pm_getmaps.c: Likewise.
47266 * sunrpc/pm_getport.c: Likewise.
47267 * sunrpc/pmap_clnt.c: Likewise.
47268 * sunrpc/pmap_prot.c: Likewise.
47269 * sunrpc/pmap_prot2.c: Likewise.
47270 * sunrpc/pmap_rmt.c: Likewise.
47271 * sunrpc/rpc/auth.h: Likewise.
47272 * sunrpc/rpc/auth_unix.h: Likewise.
47273 * sunrpc/rpc/clnt.h: Likewise.
47274 * sunrpc/rpc/des_crypt.h: Likewise.
47275 * sunrpc/rpc/key_prot.h: Likewise.
47276 * sunrpc/rpc/netdb.h: Likewise.
47277 * sunrpc/rpc/pmap_clnt.h: Likewise.
47278 * sunrpc/rpc/pmap_prot.h: Likewise.
47279 * sunrpc/rpc/pmap_rmt.h: Likewise.
47280 * sunrpc/rpc/rpc.h: Likewise.
47281 * sunrpc/rpc/rpc_des.h: Likewise.
47282 * sunrpc/rpc/rpc_msg.h: Likewise.
47283 * sunrpc/rpc/svc.h: Likewise.
47284 * sunrpc/rpc/svc_auth.h: Likewise.
47285 * sunrpc/rpc/types.h: Likewise.
47286 * sunrpc/rpc/xdr.h: Likewise.
47287 * sunrpc/rpc_clntout.c: Likewise.
47288 * sunrpc/rpc_cmsg.c: Likewise.
47289 * sunrpc/rpc_common.c: Likewise.
47290 * sunrpc/rpc_cout.c: Likewise.
47291 * sunrpc/rpc_dtable.c: Likewise.
47292 * sunrpc/rpc_hout.c: Likewise.
47293 * sunrpc/rpc_main.c: Likewise.
47294 * sunrpc/rpc_parse.c: Likewise.
47295 * sunrpc/rpc_parse.h: Likewise.
47296 * sunrpc/rpc_prot.c: Likewise.
47297 * sunrpc/rpc_sample.c: Likewise.
47298 * sunrpc/rpc_scan.c: Likewise.
47299 * sunrpc/rpc_scan.h: Likewise.
47300 * sunrpc/rpc_svcout.c: Likewise.
47301 * sunrpc/rpc_tblout.c: Likewise.
47302 * sunrpc/rpc_util.c: Likewise.
47303 * sunrpc/rpc_util.h: Likewise.
47304 * sunrpc/rpcinfo.c: Likewise.
47305 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47306 * sunrpc/rpcsvc/key_prot.x: Likewise.
47307 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47308 * sunrpc/rpcsvc/mount.x: Likewise.
47309 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47310 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47311 * sunrpc/rpcsvc/rex.x: Likewise.
47312 * sunrpc/rpcsvc/rstat.x: Likewise.
47313 * sunrpc/rpcsvc/rusers.x: Likewise.
47314 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47315 * sunrpc/rpcsvc/spray.x: Likewise.
47316 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47317 * sunrpc/rtime.c: Likewise.
47318 * sunrpc/svc.c: Likewise.
47319 * sunrpc/svc_auth.c: Likewise.
47320 * sunrpc/svc_authux.c: Likewise.
47321 * sunrpc/svc_raw.c: Likewise.
47322 * sunrpc/svc_run.c: Likewise.
47323 * sunrpc/svc_simple.c: Likewise.
47324 * sunrpc/svc_tcp.c: Likewise.
47325 * sunrpc/svc_udp.c: Likewise.
47326 * sunrpc/svc_unix.c: Likewise.
47327 * sunrpc/svcauth_des.c: Likewise.
47328 * sunrpc/xcrypt.c: Likewise.
47329 * sunrpc/xdr.c: Likewise.
47330 * sunrpc/xdr_array.c: Likewise.
47331 * sunrpc/xdr_float.c: Likewise.
47332 * sunrpc/xdr_mem.c: Likewise.
47333 * sunrpc/xdr_rec.c: Likewise.
47334 * sunrpc/xdr_ref.c: Likewise.
47335 * sunrpc/xdr_sizeof.c: Likewise.
47336 * sunrpc/xdr_stdio.c: Likewise.
47338 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47341 2010-08-19 Andreas Schwab <schwab@redhat.com>
47343 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47345 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47347 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47348 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47349 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47350 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47351 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47352 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47353 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47354 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47355 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47356 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47357 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47358 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47359 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47360 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47362 2010-07-26 Anton Blanchard <anton@samba.org>
47364 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47365 * malloc/arena.c (heap_trim): Likewise.
47367 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47369 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47371 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47372 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47374 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47376 * sysdeps/i386/elf/Makefile: New file.
47378 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47380 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47381 from fanotify_init.
47382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47383 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47385 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47387 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47389 * sysdeps/multiarch/strcmp.S: Likewise.
47391 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47393 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47394 strncase_l-nonascii.
47395 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47396 Add strncase_l-ssse3.
47397 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47398 * sysdeps/x86_64/strcmp.S: Likewise.
47399 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47400 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47401 * sysdeps/x86_64/strncase.S: New file.
47402 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47403 * sysdeps/x86_64/strncase_l.S: New file.
47404 * string/Makefile (strop-tests): Add strncasecmp.
47405 * string/test-strncasecmp.c: New file.
47407 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47410 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47411 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47413 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47415 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47417 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47419 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47420 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47421 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47423 2010-05-01 Alan Modra <amodra@gmail.com>
47425 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47426 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47427 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47428 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47429 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47430 tidying. Don't tail-call __sigjmp_save for static lib.
47431 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47433 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47434 (CALL_MCOUNT): Add eh info, and nop after bl.
47435 (TAIL_CALL_SYSCALL_ERROR): New macro.
47436 (PSEUDO_RET): Use it.
47437 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47438 Correct save location of integer regs and cr.
47439 (_dl_profile_resolve): Correct cr save location. Delete nops
47440 after bl when SHARED. Reduce cfi size a little by better
47441 placement of cfi directives.
47442 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47443 make a stack frame. Instead use parm save area as a temp.
47444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47445 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47447 Don't make a stack frame for parent, use parm save area.
47448 Increase child stack frame to 112 bytes. Don't save unused reg,
47449 and adjust reg usage. Set up cfi on error recovery and
47450 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47452 (__makecontext): Add dummy nop after jump to exit.
47453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47454 Use correct parm save area and cr save, reduce stack frame.
47455 Correct cfi for possible PSEUDO_RET frame setup.
47456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47457 Branch to local label emitted by PSEUDO_RET rather than
47460 2010-08-12 Andreas Schwab <schwab@redhat.com>
47463 * locale/programs/locale.c (print_assignment): New function.
47464 (show_locale_vars): Use it.
47466 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47468 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47470 (struct statfs64): Likewise.
47471 (_STATFS_F_FLAGS): Define.
47472 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47473 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47474 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47475 (ST_VALID): Define locally.
47476 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47477 __statvfs_getflags, use the provided value.
47478 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47479 __ASSUME_STATFS_F_FLAGS.
47481 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47483 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47484 Add sys/fanotify.h.
47485 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47486 fanotify_mask for GLIBC_2.13.
47487 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47488 fanotify_init and fanotify_mark.
47489 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47490 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47492 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47494 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47495 prlimit64 for GLIBC_2.13.
47496 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47501 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47502 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47503 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47504 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47506 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47509 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47510 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47512 * nss/Makefile: Add rules to build and run tst-nss-test1.
47513 * shlib-versions: Add entry for libnss_test1.
47514 * nss/nss_test1.c: New file.
47515 * nss/tst-nss-test1.c: New file.
47517 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47518 (__nss_configure_lookup): Set appropriate entry in
47519 __nss_configure_lookup to true.
47520 * nss/nsswitch.h: Define enum with indeces of databases in
47521 databases and __nss_database_custom arrays. Declare
47522 __nss_database_custom.
47523 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47524 to avoid using nscd when custom rules are installed.
47525 * nss/getXXbyYY_r.c: Likewise.
47526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47528 * nss/nss_files/files-parse.c: Whitespace fixes.
47530 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47533 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47534 * posix/fnmatch_loop.c: Likewise.
47536 2010-07-17 Andi Kleen <ak@linux.intel.com>
47538 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47539 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47540 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47541 * Versions.def [GLIBC_2.13]: Add.
47543 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47545 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47546 Also fail if tpwd after pwuid call is NULL.
47548 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47550 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47551 when converting to ms.
47553 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47555 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47556 EOPNOTSUPP errors with ENOTTY.
47557 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47558 EOPNOTSUPP errors with ENOTTY.
47560 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47562 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47563 Add strcasecmp_l-ssse3.
47564 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47566 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47567 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47568 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47570 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47572 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47574 * string/Makefile (strop-tests): Add strcasecmp.
47575 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47576 strcasecmp_l-nonascii.
47577 (gen-as-const-headers): Add locale-defines.sym.
47578 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47579 * sysdeps/x86_64/strcasecmp.S: New file.
47580 * sysdeps/x86_64/strcasecmp_l.S: New file.
47581 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47582 * sysdeps/x86_64/locale-defines.sym: New file.
47583 * string/test-strcasecmp.c: New file.
47585 * string/test-strcasestr.c: Test both ends of the range of characters.
47586 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47588 2010-07-29 Roland McGrath <roland@redhat.com>
47591 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47593 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47595 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47598 2010-07-27 Andreas Schwab <schwab@redhat.com>
47600 * manual/memory.texi (Malloc Tunable Parameters): Document
47603 2010-07-26 Roland McGrath <roland@redhat.com>
47606 * configure.in (-fgnu89-inline check): Set and substitute
47607 gnu89_inline, not libc_cv_gnu89_inline.
47608 * configure: Regenerated.
47609 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47611 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47613 * string/test-strnlen.c: New file.
47614 * string/Makefile (strop-tests): Add strnlen.
47615 * string/tester.c (test_strnlen): Add a few more test cases.
47616 * string/tst-strlen.c: Better error reporting.
47618 * sysdeps/x86_64/strnlen.S: New file.
47620 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47622 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47623 lower-latency instructions.
47625 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47627 * string/test-strcasestr.c: New file.
47628 * string/test-strstr.c: New file.
47629 * string/Makefile (strop-tests): Add strstr and strcasestr.
47630 * string/str-two-way.h: Don't undefine MAX.
47631 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47633 2010-07-21 Andreas Schwab <schwab@redhat.com>
47635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47636 strcasestr-nonascii.
47637 (CFLAGS-strcasestr-nonascii.c): Define.
47638 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47639 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47640 Remove unused attribute.
47642 2010-07-20 Roland McGrath <roland@redhat.com>
47644 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47645 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47646 ld.so.cache was broken. With it, there is no way to disable dsocaps
47647 like LD_HWCAP_MASK can disable hwcaps.
47649 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47651 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47653 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47655 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47656 call in strcasestr.
47657 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47658 __strcasestr_sse42_nonascii.
47659 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47660 strcasestr-nonascii.c.
47661 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47663 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47665 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47666 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47667 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47668 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47670 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47672 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47675 2010-07-06 Andreas Schwab <schwab@redhat.com>
47678 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47681 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47683 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47684 _PC_PIPE_BUF using F_GETPIPE_SZ.
47686 2010-07-05 Roland McGrath <roland@redhat.com>
47688 * manual/arith.texi (Rounding Functions): Fix rint description
47689 implicit in round description.
47691 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47693 * elf/Makefile: Fix linking for a few tests to make recent linker
47696 2010-06-30 Andreas Schwab <schwab@redhat.com>
47698 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47699 $(common-objpfx)libc_nonshared.a.
47701 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47703 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47704 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47705 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47706 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47707 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47708 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47709 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47710 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47725 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47726 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47727 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47728 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47729 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47730 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47731 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47732 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47733 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47734 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47735 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47736 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47752 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47754 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47755 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47756 * string/memmove.c (memmove): Renamed to ...
47757 (MEMMOVE): ...this. Default to memmove.
47758 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47759 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47762 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47763 mempcpy-ssse3-back memmove-ssse3-back.
47764 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47765 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47766 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47767 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47768 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47769 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47770 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47771 * sysdeps/x86_64/multiarch/memmove.c: New file.
47772 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47773 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47774 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47775 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47776 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47777 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47779 (index_Fast_Copy_Backward): Define.
47780 (HAS_ARCH_FEATURE): Define.
47781 (HAS_FAST_REP_STRING): Define.
47782 (HAS_FAST_COPY_BACKWARD): Define.
47784 2010-06-21 Andreas Schwab <schwab@redhat.com>
47786 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47787 Restore proper fallback handling.
47789 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47792 * posix/group_member.c (__group_member): Correct checking loop.
47794 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47795 OOM in getpwuid_r correctly. Return error number when the caller
47796 should return, otherwise -1.
47797 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47798 call returning > 0 value.
47799 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47801 2010-06-07 Andreas Schwab <schwab@redhat.com>
47803 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47804 libc_nonshared.a from targets in modules-names.
47806 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47808 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47811 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47813 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47814 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47815 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47816 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47818 2010-06-02 Andreas Schwab <schwab@redhat.com>
47820 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47822 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47824 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47826 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47827 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47830 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47831 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47833 2010-06-14 Roland McGrath <roland@redhat.com>
47835 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47837 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47839 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47840 __REDIRECT followed by __THROW.
47841 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47842 * posix/getopt.h (getopt): Likewise.
47844 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47846 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47847 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47848 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47850 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47851 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47853 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47855 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47857 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47861 Properly check family and model.
47863 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47865 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47867 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47869 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47871 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47873 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47876 2010-05-19 Andreas Schwab <schwab@redhat.com>
47878 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47881 2010-05-21 Andreas Schwab <schwab@redhat.com>
47883 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47884 and internal_recvmmsg.
47885 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47886 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47887 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47888 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47890 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47891 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47892 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47894 2010-05-20 Andreas Schwab <schwab@redhat.com>
47896 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47898 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47900 POWER7 optimizations.
47901 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47902 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47904 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47906 * version.h: Update for 2.13 development version.
47908 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47910 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47911 exceptions. Return 0.
47913 2010-05-07 Roland McGrath <roland@redhat.com>
47915 * elf/ldconfig.c (main): Add a const.
47917 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47919 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47920 (args_options): Add no-idn option.
47921 (ahosts_keys_int): Add idn_flags to ai_flags.
47922 (parse_option): Handle 'i' option to clear idn_flags.
47924 * malloc/malloc.c (_int_free): Possible race in the most recently
47925 added check. Only act on the data if no current modification
47928 See ChangeLog.17 for earlier changes.