1 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4 instead of whether it is defined.
5 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6 * sysdeps/hppa/dl-machine.h: Likewise.
7 * sysdeps/ia64/dl-machine.h: Likewise.
8 * sysdeps/m68k/dl-machine.h: Likewise.
9 * sysdeps/microblaze/dl-machine.h: Likewise.
10 * sysdeps/mips/dl-machine.: Likewise.
11 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15 * sysdeps/sh/dl-machine.h: Likewise.
16 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18 * sysdeps/tile/dl-machine.h: Likewise.
19 * sysdeps/x86_64/dl-machine.h: Likewise.
21 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
23 (verify_persistent_db): Likewise.
25 2014-06-26 Roland McGrath <roland@hack.frob.com>
27 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
28 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
36 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
38 Identical file removed.
39 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
40 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
42 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
43 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
44 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
45 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
46 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
47 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
49 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
52 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
53 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
54 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
55 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
56 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
58 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
59 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
60 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
61 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
62 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
63 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64 Identical file removed.
65 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
66 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
67 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
68 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
69 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
73 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
74 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
75 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
76 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
77 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
78 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
79 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
80 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
81 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
82 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
83 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
85 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
86 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
88 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
89 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
90 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
91 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
93 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
94 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
95 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
97 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
99 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
100 * sysdeps/unix/sysv/linux/s390/Versions
101 (libpthread: GLIBC_2.19): New version set.
102 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
103 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
104 (librt: GLIBC_2.3.3): New version set.
105 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
106 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
107 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
108 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
109 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
110 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
111 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
112 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
113 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
114 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
115 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
116 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
117 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
118 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
119 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
120 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
121 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
122 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
123 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
124 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
125 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
126 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
127 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
128 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
129 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
130 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
131 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
132 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
133 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
134 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
135 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
136 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
137 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
138 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
140 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
141 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
142 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
143 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
144 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
145 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
146 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
147 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
148 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
149 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
151 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
152 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
153 (__libc_vfork): Define the function under this name.
154 [!NOT_IN_libc] (__vfork): Make this an alias.
155 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
156 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
157 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
158 (__libc_vfork): Define the function under this name.
159 [!NOT_IN_libc] (__vfork): Make this an alias.
160 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
161 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
162 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
163 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
164 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
165 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
167 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
168 code that was previously under [RESET_PID].
169 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
170 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
171 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
173 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
174 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
175 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
176 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
177 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
178 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
179 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
180 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
181 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
182 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
183 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
185 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
186 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
187 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
188 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
189 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
190 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
191 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
192 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
193 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
194 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
196 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
197 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
198 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
199 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
200 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
201 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
202 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
203 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
204 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
205 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
206 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
207 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
208 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
209 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
210 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
211 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
212 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
213 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
215 2014-06-25 Roland McGrath <roland@hack.frob.com>
217 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
218 that was previously under [RESET_PID].
219 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
221 2014-06-25 Joseph Myers <joseph@codesourcery.com>
223 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
224 not undefine and redefine.
225 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
226 [O_CLOEXEC]: Make code unconditional.
227 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
228 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
230 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
231 conditional variable definition.
232 (shm_open) [O_CLOEXEC]: Make code unconditional.
233 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
236 * configure.ac (USE_REGPARMS): Don't define here.
237 * configure: Regenerated.
238 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
239 * sysdeps/i386/configure: Regenerated.
241 * nptl/createthread.c: Don't include kernel-features.h.
242 * nptl/pthread_cancel.c: Likewise.
243 * nptl/pthread_condattr_setclock.c: Likewise.
244 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
245 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
246 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
247 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
248 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
249 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
250 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
251 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
252 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
253 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
254 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
255 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
256 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
257 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
258 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
259 * nscd/gai.c: Likewise.
260 * nss/nss_db/db-open.c: Likewise.
261 * sysdeps/generic/ldsodefs.h: Likewise.
262 * sysdeps/sh/nptl/tls.h: Likewise.
263 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
264 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
265 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
266 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
267 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
268 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
269 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
270 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
271 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
272 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
273 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
274 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
275 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
276 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
277 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
278 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
279 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
280 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
281 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
282 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
283 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
284 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
285 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
286 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
287 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
288 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
289 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
290 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
291 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
292 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
293 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
294 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
295 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
296 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
297 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
298 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
299 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
300 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
301 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
302 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
303 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
304 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
305 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
306 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
307 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
308 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
309 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
310 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
311 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
312 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
313 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
314 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
315 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
316 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
317 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
318 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
319 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
320 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
343 * sysdeps/unix/sysv/linux/pread.c: Likewise.
344 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
345 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
346 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
347 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
348 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
349 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
350 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
351 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
352 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
353 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
354 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
355 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
356 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
357 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
358 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
359 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
360 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
361 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
362 * sysdeps/unix/sysv/linux/system.c: Likewise.
363 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
364 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
365 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
366 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
367 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
368 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
369 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
371 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
372 * configure: Regenerated.
373 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
375 * configure.ac (base_machine): Do not set specially for particular
377 * configure: Regenerated.
378 * sysdeps/powerpc/preconfigure: Move machine and base_machine
379 settings from configure.ac.
380 * sysdeps/i386/preconfigure: New file.
381 * sysdeps/s390/preconfigure: Likewise.
382 * sysdeps/sh/preconfigure: Likewise.
383 * sysdeps/sparc/preconfigure: Likewise.
385 2014-06-25 Roland McGrath <roland@hack.frob.com>
387 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
388 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
389 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
390 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
391 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
392 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
393 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
394 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
395 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
396 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
397 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
398 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
399 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
400 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
401 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
402 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
403 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
404 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
405 * sysdeps/sparc/sparc64/Makefile: ... appended here.
407 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
408 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
409 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
410 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
411 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
412 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
413 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
414 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
415 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
416 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
417 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
418 * sysdeps/sparc/sparc32/sem_post.c: ... here.
419 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
420 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
421 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
422 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
423 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
424 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
425 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
426 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
427 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
428 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
429 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
430 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
431 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
432 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
433 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
434 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
435 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
436 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
437 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
438 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
439 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
440 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
441 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
442 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
443 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
444 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
447 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
449 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
452 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
455 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
457 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
460 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
462 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
464 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
466 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
469 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
472 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
477 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
479 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
481 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
483 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
485 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
488 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
491 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
493 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
496 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
498 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
500 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
502 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
505 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
508 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
510 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
513 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
515 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
517 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
519 2014-06-25 Joseph Myers <joseph@codesourcery.com>
521 * timezone/checktab.awk: Update from tzcode 2014e.
522 * timezone/private.h: Likewise.
523 * timezone/tzfile.h: Likewise.
524 * timezone/zdump.c: Likewise.
525 * timezone/zic.c: Likewise.
527 * sysdeps/unix/sysv/linux/kernel-features.h
528 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
529 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
530 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
531 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
532 Remove conditional code.
534 2014-06-25 Will Newton <will.newton@linaro.org>
536 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
537 (_dl_arm_cap_flags): Add HWCAP2 values.
538 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
539 (_DL_HWCAP_COUNT): Increase to 37.
540 (_DL_HWCAP_LAST): New define.
541 (_DL_HWCAP2_LAST): New define.
542 (_dl_procinfo): Add support for printing
544 (_dl_string_hwcap): Use _dl_hwcap_string.
546 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
550 2014-06-25 Joseph Myers <joseph@codesourcery.com>
552 * README: Do not mention ports directory.
554 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
556 * sysdeps/unix/sysv/linux/futimes.c: Do not include
558 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
559 conditional variable definition.
560 (__futimes): Update comment.
561 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
562 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
565 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
566 arguments close to 0.
567 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
569 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
571 * math/auto-libm-test-in: Add more tests of exp10.
572 * math/auto-libm-test-out: Regenerated.
573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
575 * sysdeps/unix/sysv/linux/kernel-features.h
576 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
577 * sysdeps/unix/sysv/linux/readv.c: Do not include
579 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
580 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
581 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
583 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
585 * sysdeps/unix/sysv/linux/writev.c: Do not include
587 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
588 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
589 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
591 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
594 2014-06-25 Will Newton <will.newton@linaro.org>
596 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
597 comment changes throughout the file. Remove checks
598 for HAVE_*_H definitions that are not required.
599 (__gen_tempname): Call abort if an unknown kind value is
602 2014-06-25 Andreas Schwab <schwab@suse.de>
605 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
606 scalbln, scalblnf, scalblnl in libc.
608 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
611 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
612 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
613 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
615 2014-06-24 Roland McGrath <roland@hack.frob.com>
617 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
618 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
619 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
620 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
622 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
623 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
625 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
626 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
627 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
628 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
629 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
630 * sysdeps/x86/bits/pthreadtypes.h: ... here.
631 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
632 * sysdeps/x86/bits/semaphore.h: ... here.
633 * sysdeps/x86/nptl/elide.h: Moved ...
634 * sysdeps/x86/elide.h: ... here.
635 * sysdeps/x86_64/nptl/Implies: File removed.
636 * sysdeps/i386/nptl/Implies: File removed.
638 2014-06-24 Joseph Myers <joseph@codesourcery.com>
641 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
642 return the argument for normal arguments with exponent below -64.
643 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
645 * math/auto-libm-test-in: Add another test of expm1.
646 * math/auto-libm-test-out: Regenerated.
649 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
650 calling __erfcl for arguments at least 16.
651 * math/auto-libm-test-in: Add more tests of erf.
652 * math/auto-libm-test-out: Regenerated.
654 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
655 individual architectures.
656 * sysdeps/unix/sysv/linux/configure: Regenerated.
657 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
658 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
659 * sysdeps/unix/sysv/linux/powerpc/configure.ac
660 (ldd_rewrite_script): Define variable.
661 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
666 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
667 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
668 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
669 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
670 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
671 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
672 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
673 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
675 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
678 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
679 Rename member __data.d to __data.__elision_data.
681 2014-06-24 Wilco <wdijkstr@arm.com>
683 * NEWS: Add 16918 to fixed bug list.
685 2014-06-24 Wilco <wdijkstr@arm.com>
687 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
689 2014-06-24 Wilco <wdijkstr@arm.com>
691 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
692 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
693 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
694 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
695 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
696 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
697 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
700 2014-06-24 Wilco <wdijkstr@arm.com>
702 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
704 2014-06-24 Wilco <wdijkstr@arm.com>
706 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
707 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
708 * sysdeps/arm/fesetround.c (fesetround): Remove space.
709 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
711 2014-06-24 Wilco <wdijkstr@arm.com>
714 * sysdeps/arm/feupdateenv.c (feupdateenv):
715 Rewrite to reduce FPSCR accesses and fix return value.
717 2014-06-24 Wilco <wdijkstr@arm.com>
719 * sysdeps/arm/fclrexcpt.c (feclearexcept):
720 Optimize to avoid unnecessary FPSCR writes.
721 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
722 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
723 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
724 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
726 2014-06-24 Wilco <wdijkstr@arm.com>
728 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
729 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
730 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
731 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
732 Call libc_fetestexcept_vfp.
733 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
734 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
735 __SOFTFP__ ifdef so that they can be built for softfp.
737 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
739 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
740 argument type signed char.
742 * Makerules (check-abi): Dump diff of symlist if the test
745 2014-06-23 Roland McGrath <roland@hack.frob.com>
747 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
750 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
751 Remove unused variable ST.
753 2014-06-23 Joseph Myers <joseph@codesourcery.com>
757 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
758 small arguments before calling __expm1.
759 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
760 small arguments before calling __expm1f.
761 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
762 small arguments before calling __expm1l.
763 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
765 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
766 * math/auto-libm-test-in: Add more cosh tests. Do not allow
767 spurious underflow for some cosh tests.
768 * math/auto-libm-test-out: Regenerated.
769 * sysdeps/i386/fpu/libm-test-ulps: Update.
772 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
773 (__ieee754_y1): Set errno if return value overflows.
774 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
775 (__ieee754_y1f): Set errno if return value overflows.
776 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
777 (__ieee754_y1l): Set errno if return value overflows.
778 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
779 (__ieee754_y1l): Set errno if return value overflows.
780 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
781 * math/auto-libm-test-out: Regenerated.
783 * math/gen-auto-libm-tests.c: Document use of
784 ignore-zero-inf-sign.
785 (input_flag_type): Add value flag_ignore_zero_inf_sign.
786 (input_flags): Add ignore-zero-inf-sign.
787 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
788 * math/gen-libm-test.pl (generate_testfile): Handle
789 ignore-zero-inf-sign.
790 * math/auto-libm-test-in: Mark some cpow tests with
791 ignore-zero-inf-sign and some with xfail-rounding.
792 * math/auto-libm-test-out: Regenerated.
793 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
794 * sysdeps/i386/fpu/libm-test-ulps: Update.
795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
798 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
799 overflowing or underflowing operations take place with sign of
801 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
802 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
803 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
804 (__ieee754_pow): Recompute overflowing and underflowing results in
805 original rounding mode.
806 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
807 (__powl_helper): Allow negative argument X and scale negated value
808 as needed. Avoid passing value outside [-1, 1] to f2xm1.
809 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
810 overflowing or underflowing operations take place with sign of
812 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
814 * math/auto-libm-test-in: Add more tests of pow.
815 * math/auto-libm-test-out: Regenerated.
816 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
817 (pow_tonearest_test_data): Remove.
818 (pow_test_tonearest): Likewise.
819 (pow_towardzero_test_data): Likewise.
820 (pow_test_towardzero): Likewise.
821 (pow_downward_test_data): Likewise.
822 (pow_test_downward): Likewise.
823 (pow_upward_test_data): Likewise.
824 (pow_test_upward): Likewise.
825 (main): Don't call removed functions.
826 * sysdeps/i386/fpu/libm-test-ulps: Update.
827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
829 2014-06-23 Roland McGrath <roland@hack.frob.com>
831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1005 2014-06-23 Will Newton <will.newton@linaro.org>
1006 Wilco <wdijkstr@arm.com>
1008 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1009 implementation. Include get-rounding-mode.h.
1010 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1011 [!libc_feholdsetround_noex_ctx]: Define
1012 libc_feholdsetround_noex_ctx.
1013 [!libc_feholdsetround_noexf_ctx]: Define
1014 libc_feholdsetround_noexf_ctx.
1015 [!libc_feholdsetround_noexl_ctx]: Define
1016 libc_feholdsetround_noexl_ctx.
1017 (libc_feholdsetround_ctx): New function.
1018 (libc_feresetround_ctx): New function.
1019 (libc_feholdsetround_noex_ctx): New function.
1020 (libc_feresetround_noex_ctx): New function.
1022 2014-06-23 Roland McGrath <roland@hack.frob.com>
1024 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1025 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1026 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1027 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1028 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1029 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1031 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1032 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1033 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1034 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1035 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1036 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1037 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1038 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1039 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1040 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1041 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1043 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1045 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1046 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1047 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1048 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1049 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1051 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1052 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1053 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1054 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1055 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1056 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1057 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1058 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1060 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1061 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1063 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1064 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1065 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1066 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1068 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1069 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1070 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1071 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1072 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1073 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1074 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1075 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1076 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1077 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1079 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1081 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1082 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1083 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1084 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1085 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1086 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1087 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1088 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1089 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1090 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1091 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1092 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1093 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1095 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1096 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1097 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1099 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1100 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1102 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1103 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1104 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1105 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1106 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1108 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1109 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1110 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1111 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1112 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1113 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1114 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1115 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1117 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1118 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1119 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1120 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1121 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1122 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1123 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1124 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1125 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1126 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1127 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1129 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1130 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1131 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1132 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1133 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1134 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1135 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1137 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1140 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1141 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1142 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1143 (IPV6_PMTUDISC_INTERFACE): Likewise.
1144 (IPV6_PMTUDISC_OMIT): Likewise.
1146 2014-06-23 Andreas Schwab <schwab@suse.de>
1148 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1149 Remove unused errout label.
1151 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1153 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1154 macro: hardware supports Vector Crypto instructions.
1156 2014-06-23 Will Newton <will.newton@linaro.org>
1158 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1159 rather than __builtin_expect.
1161 * elf/dl-lookup.c (undefined_msg): Remove variable.
1162 (_dl_lookup_symbol_x): Replace undefined_msg with string
1165 * elf/dl-lookup.c (do_lookup_unique): New function.
1166 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1167 to a separate function.
1169 2014-06-23 Andreas Schwab <schwab@suse.de>
1172 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1173 before reading the next line.
1175 2014-06-23 Will Newton <will.newton@linaro.org>
1177 * test-skeleton.c (signal_handler): Use printf and %m
1178 rather than perror. Use printf rather than fprintf to
1179 stderr. Use puts rather than fputs to stderr.
1182 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1184 * nscd/nscd.c (thread_info_t): Remove typedef.
1185 (thread_info): Remove variable.
1187 2014-06-21 Allan McRae <allan@archlinux.org>
1189 * NEWS: Mention CVE-2014-4043.
1191 2014-06-20 Roland McGrath <roland@hack.frob.com>
1193 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1194 * nptl/smp.h: ... here.
1196 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1198 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1199 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1200 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1201 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1203 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1204 * nptl/stack-aliasing.h: New file.
1205 * sysdeps/i386/i686/stack-aliasing.h: New file.
1206 * sysdeps/i386/i686/nptl/Makefile: File removed.
1207 * sysdeps/x86_64/stack-aliasing.h: New file.
1208 * sysdeps/x86_64/nptl/Makefile
1209 (CFLAGS-pthread_create.c): Variable removed.
1211 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1212 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1214 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1215 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1218 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1220 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1221 (__ASSUME_SIGFRAME_V2): Remove macro.
1222 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1223 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1224 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1225 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1226 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1227 Declare as function. Remove conditional macro definitions.
1228 (__default_rt_sa_restorer): Likewise.
1229 (__default_sa_restorer_v1): Remove declaration.
1230 (__default_sa_restorer_v2): Likewise.
1231 (__default_rt_sa_restorer_v1): Likewise.
1232 (__default_rt_sa_restorer_v2): Likewise.
1233 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1234 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1235 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1237 2014-06-20 Roland McGrath <roland@hack.frob.com>
1239 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1240 (libpthread-routines): Add sysdep.
1241 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1242 * sysdeps/unix/sysv/linux/sparc/Versions
1243 (libpthread: GLIBC_2.3.3): New version set.
1244 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1245 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1246 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1247 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1248 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1249 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1251 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1252 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1253 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1254 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1255 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1256 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1257 * sysdeps/sparc/nptl/sem_init.c: ... here.
1258 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1259 * sysdeps/sparc/nptl/sem_post.c: ... here.
1260 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1261 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1262 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1263 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1264 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1265 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1266 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1267 (libpthread-routines): Add cpu_relax.
1268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1270 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1271 (librt: GLIBC_2.3.3): New version set.
1272 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1273 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1274 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1275 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1278 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1279 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1281 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1283 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1284 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1285 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1286 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1287 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1288 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1289 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1292 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1294 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1296 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1298 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1300 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1302 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1304 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1308 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1310 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1312 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1315 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1316 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1321 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1323 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1324 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1326 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1327 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1328 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1329 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1330 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1332 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1334 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1335 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1336 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1337 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1338 * nscd/nscd.c: Likewise.
1339 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1340 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1341 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1342 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1344 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1345 <kernel-features.h>.
1346 (init_mq_netlink): Remove conditional have_sock_cloexec
1347 definitions. Remove code conditional on have_sock_cloexec < 0.
1348 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1349 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1350 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1351 <kernel-features.h>.
1352 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1353 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1355 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1357 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1358 Add tests for memset_chk and memset.
1360 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1363 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1366 * elf/tst-dl-iter-static.c: New file.
1367 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1369 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1372 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1374 * sysdeps/unix/sysv/linux/kernel-features.h
1375 (__ASSUME_F_GETOWN_EX): Remove macro.
1376 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1377 <kernel-features.h>.
1378 (miss_F_GETOWN_EX): Remove variable or macro.
1379 (do_fcntl): Do not check miss_F_GETOWN_EX.
1380 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1382 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1385 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1386 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1388 * sysdeps/unix/sysv/linux/kernel-features.h
1389 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1390 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1391 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1392 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1394 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1397 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1398 Fix calculation of the symbol's value.
1399 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1400 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1401 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1402 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1403 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1404 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1405 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1406 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1407 (modules-names): Add `tst-armtlsdescmod',
1408 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1409 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1410 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1411 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1412 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1413 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1414 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1415 ($(objpfx)tst-armtlsdescloc): New dependency.
1416 ($(objpfx)tst-armtlsdescextnow): Likewise.
1417 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1418 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1420 * sysdeps/arm/configure: Regenerate.
1422 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1424 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1425 (__atfct_seterrno_2): Likewise.
1426 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1427 <kernel-features.h>.
1428 (__ASSUME_ATFCTS): Do not undefine and redefine.
1429 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1430 (__have_atfcts): Remove conditional definition.
1431 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1432 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1433 unreachable if [__ASSUME_ATFCTS].
1434 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1435 not undefine and redefine.
1436 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1437 <kernel-features.h>.
1438 (faccessat) [__NR_faccessat]: Make code unconditional.
1439 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1440 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1441 <kernel-features.h>.
1442 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1443 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1444 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1445 <kernel-features.h>.
1446 (fchownat) [__NR_fchownat]: Make code unconditional.
1447 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1448 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1449 <kernel-features.h>.
1450 (futimesat) [__NR_futimesat]: Make code unconditional.
1451 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1452 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1453 <kernel-features.h>.
1454 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1455 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1456 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1457 <kernel-features.h>.
1458 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1459 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1460 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1461 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1462 <kernel-features.h>.
1463 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1464 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1465 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1466 <kernel-features.h>.
1467 (linkat) [__NR_linkat]: Make code unconditional.
1468 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1469 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1470 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1471 <kernel-features.h>.
1472 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1473 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1474 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1475 <kernel-features.h>.
1476 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1477 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1478 * sysdeps/unix/sysv/linux/openat.c: Do not include
1479 <kernel-features.h>.
1480 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1481 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1482 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1483 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1484 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1485 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1486 <kernel-features.h>.
1487 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1488 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1489 result of INLINE_SYSCALL directly, not via int variable.
1490 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1491 <kernel-features.h>.
1492 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1493 (renameat) [__NR_renameat]: Make code unconditional.
1494 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1495 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1496 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1497 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1498 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1499 (__ASSUME_ATFCTS): Do not undefine and redefine.
1500 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1501 <kernel-features.h>.
1502 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1503 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1504 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1505 <kernel-features.h>.
1506 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1507 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1508 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1509 (__ASSUME_ATFCTS): Do not undefine and redefine.
1510 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1511 <kernel-features.h>.
1512 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1513 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1514 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1515 <kernel-features.h>.
1516 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1517 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1519 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1521 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1523 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1526 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1527 constructed tree before returning error.
1528 * posix/bug-regexp36.c: Expand test case.
1530 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1533 * math/libm-test.inc (scalbln_test_date):
1534 Add errno expectations.
1535 * math/w_scalblnf.c: New File.
1536 Add wrapper which checks for setting errno to ERANGE.
1537 Add weak_alias for corresponding scalbln function.
1538 * math/w_scalbln.c: Likewise.
1539 * math/w_scalblnl.c: Likewise.
1540 * math/Makefile (libm-calls): Add w_scalbln.
1541 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1542 Remove weak_alias for corresponding scalbln function.
1543 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1544 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1545 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1546 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1547 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1548 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1549 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1550 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1551 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1552 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1553 Remove long_double_symbol for scalblnl function in libm, libc.
1554 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1555 Add wrapper which checks for setting errno to ERANGE.
1556 Add long_double_symbol for scalblnl function in libm, libc.
1557 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1558 Remove long_double_symbol for scalblnl in libm.
1559 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1560 Add wrapper which checks for setting errno to ERANGE.
1561 Add long_double_symbol for scalblnl function in libm.
1562 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1563 Do not use wrapper because of own implementation.
1565 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1567 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1568 3 bytes for __pad1 for x32.
1569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1571 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1572 H.J. Lu <hongjiu.lu@intel.com>
1574 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1575 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1576 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1577 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1578 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1580 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1583 * posix/regcomp.c (parse_expression): Deallocate partially
1584 constructed tree before returning error.
1585 * posix/Makefile.c (tests): Add bug-regex36.
1586 (generated): Add bug-regex36.mtrace.
1587 (tests-special): Add $(objpfx)bug-regex36-mem.out
1588 (bug-regex36-ENV): New variable.
1589 ($(objpfx)bug-regex36-mem.out): New rule.
1590 * posix/bug-regex36.c: New file.
1592 2014-06-19 Will Newton <will.newton@linaro.org>
1594 * malloc/malloc.c (systrim): If extra is zero then return
1597 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1599 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1601 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1603 * sysdeps/aarch64/strchr.S: New file.
1605 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1608 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1609 from arguments -2 or below.
1610 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1611 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1613 2014-06-18 Andreas Schwab <schwab@suse.de>
1616 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1617 of a bracket expr not to run off the end of the string.
1618 * posix/Makefile (tests): Add tst-fnmatch3.
1619 * posix/tst-fnmatch3.c: New file.
1621 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1623 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1624 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1625 [$(cross-compiling) = no]: Likewise.
1626 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1627 [$(cross-compiling) = no]: Likewise.
1629 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1632 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1633 double, adjusted for any remainder from the high double.
1634 * math/libm-test.inc (nearbyint): Add tests.
1637 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1639 * nptl/sysdeps/powerpc/Makefile: Moved ...
1640 * sysdeps/powerpc/nptl/Makefile: ... here.
1641 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1642 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1643 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1644 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1645 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1646 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1647 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1648 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1649 * nptl/sysdeps/powerpc/tls.h: Moved ...
1650 * sysdeps/powerpc/nptl/tls.h: ... here.
1652 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1655 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1656 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1657 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1658 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1659 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1660 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1661 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1662 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1663 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1665 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1667 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1669 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1671 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1674 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1677 2014-06-16 Florian Weimer <fweimer@redhat.com>
1680 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1681 non-executed part of the test.
1683 2014-06-16 Andreas Schwab <schwab@suse.de>
1685 * string/bits/string2.h (strdup, strndup): Update feature guard.
1687 2014-06-14 David S. Miller <davem@davemloft.net>
1689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1691 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1693 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1694 that was previously under [RESET_PID].
1695 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1697 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1698 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1699 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1700 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1701 (__libc_vfork): New strong alias.
1702 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1704 2014-06-14 Andi Kleen <ak@linux.intel.com>
1706 * sysdeps/generic/elide.h: New file.
1708 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1710 * Makefile (installed-headers): Adjust path of pthread.h header.
1712 2014-06-13 Roland McGrath <roland@hack.frob.com>
1714 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1715 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1716 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1717 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1719 * nptl/sysdeps/s390/Makefile: Moved ...
1720 * sysdeps/s390/nptl/Makefile: ... here.
1721 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1722 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1723 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1724 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1725 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1726 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1727 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1728 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1729 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1730 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1731 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1732 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1733 * nptl/sysdeps/s390/tls.h: Moved ...
1734 * sysdeps/s390/nptl/tls.h: ... here.
1736 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1737 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1739 2014-06-13 David S. Miller <davem@davemloft.net>
1741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1743 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1744 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1748 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1749 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1750 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1751 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1752 Remove RESET_PID cpp guards.
1753 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1754 Remove RESET_PID cpp guards.
1755 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1757 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1759 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1762 2014-06-13 Andi Kleen <ak@linux.intel.com>
1764 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1765 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1766 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1767 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1768 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1769 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1770 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1771 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1772 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1773 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1774 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1775 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1776 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1777 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1778 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1779 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1780 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1781 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1782 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1783 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1785 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1786 (pthread_rwlock_rdlock): Add elision.
1787 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1788 (pthread_rwlock_wrlock): Add elision.
1789 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1790 (pthread_rwlock_trywrlock): Add elision.
1791 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1792 (pthread_rwlock_tryrdlock): Add elision.
1793 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1794 (pthread_rwlock_tryrdlock): Add elision unlock.
1795 * nptl/sysdeps/pthread/pthread.h:
1796 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1797 (PTHREAD_RWLOCK_INITIALIZER,
1798 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1799 Handle new elision field.
1800 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1801 * sysdeps/arm/nptl/bits/pthreadtypes.h
1802 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1803 * sysdeps/sh/nptl/bits/pthreadtypes.h
1804 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1805 * sysdeps/tile/nptl/bits/pthreadtypes.h
1806 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1807 * sysdeps/a/nptl/bits/pthreadtypes.h
1808 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1809 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1810 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1811 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1812 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1813 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1814 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1815 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1816 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1817 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1818 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1819 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1820 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1821 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1822 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1823 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1824 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1825 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1826 (elision_init): Set try_xbegin to zero when no RTM.
1827 * sysdeps/x86/nptl/bits/pthreadtypes.h
1828 (pthread_rwlock_t): Change __pad1 to __rwelision.
1829 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1831 2014-06-13 Andi Kleen <ak@linux.intel.com>
1833 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1834 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1835 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1836 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1838 2014-06-13 Meador Inge <meadori@codesourcery.com>
1841 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1842 that the cached result has been set before returning it.
1844 2014-06-12 Roland McGrath <roland@hack.frob.com>
1846 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1847 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1848 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1849 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1850 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1851 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1853 * nptl/sysdeps/sparc/Makefile: Moved ...
1854 * sysdeps/sparc/nptl/Makefile: ... here.
1855 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1856 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1857 * nptl/sysdeps/sparc/tls.h: Moved ...
1858 * sysdeps/sparc/nptl/tls.h: ... here.
1859 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1860 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1861 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1862 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1863 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1864 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1865 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1866 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1867 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1868 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1869 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1870 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1871 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1872 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1873 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1874 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1875 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1876 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1878 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1879 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1881 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1882 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1884 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1885 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1888 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1890 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1891 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1893 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1894 (struct list_links): Type removed.
1895 (struct thread_node, struct timer_node): Replace struct list_links
1896 with struct list_head.
1897 (list_unlink_ip): Likewise.
1898 * sysdeps/pthread/timer_routines.c
1899 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1900 (list_append, list_insbefore): Likewise.
1901 (list_init): Function removed.
1902 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1903 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1904 * sysdeps/pthread/Makefile: ... here, new file.
1906 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1907 * sysdeps/nptl/Implies: ... here.
1908 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1909 * nptl/sysdeps/pthread/list.h: Moved ...
1910 * include/list.h: ... here.
1911 * nptl/sysdeps/pthread/createthread.c: Moved ...
1912 * nptl/createthread.c: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1914 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1915 * nptl/pt-longjmp.c: ... here.
1916 * nptl/sysdeps/pthread/Makefile: Moved ...
1917 * sysdeps/nptl/Makefile: ... here.
1918 * nptl/sysdeps/pthread/Subdirs: Moved ...
1919 * sysdeps/nptl/Subdirs: ... here.
1920 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1921 * sysdeps/nptl/aio_misc.h: ... here.
1922 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1923 * sysdeps/nptl/bits/libc-lock.h: ... here.
1924 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1925 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1926 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1927 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1928 * nptl/sysdeps/pthread/configure: Moved ...
1929 * sysdeps/nptl/configure: ... here.
1930 * nptl/sysdeps/pthread/configure.ac: Moved ...
1931 * sysdeps/nptl/configure.ac: ... here.
1932 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1933 * sysdeps/nptl/gai_misc.h: ... here.
1934 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1935 * sysdeps/nptl/librt-cancellation.c: ... here.
1936 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1937 * sysdeps/nptl/malloc-machine.h: ... here.
1938 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1939 * sysdeps/nptl/pthread-functions.h: ... here.
1940 * nptl/sysdeps/pthread/pthread.h: Moved ...
1941 * sysdeps/nptl/pthread.h: ... here.
1942 * nptl/sysdeps/pthread/setxid.h: Moved ...
1943 * sysdeps/nptl/setxid.h: ... here.
1944 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1945 * sysdeps/nptl/sigfillset.c: ... here.
1946 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1947 * sysdeps/nptl/tcb-offsets.h: ... here.
1948 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1949 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1950 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1951 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1952 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1953 * sysdeps/pthread/allocalim.h: ... here.
1954 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1955 * sysdeps/pthread/bits/sigthread.h: ... here.
1956 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1957 * sysdeps/pthread/flockfile.c: ... here.
1958 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1959 * sysdeps/pthread/ftrylockfile.c: ... here.
1960 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1961 * sysdeps/pthread/funlockfile.c: ... here.
1962 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1963 * sysdeps/pthread/posix-timer.h: ... here.
1964 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1965 * sysdeps/pthread/timer_create.c: ... here.
1966 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1967 * sysdeps/pthread/timer_delete.c: ... here.
1968 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1969 * sysdeps/pthread/timer_getoverr.c: ... here.
1970 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1971 * sysdeps/pthread/timer_gettime.c: ... here.
1972 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1973 * sysdeps/pthread/timer_routines.c: ... here.
1974 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1975 * sysdeps/pthread/timer_settime.c: ... here.
1976 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1977 * sysdeps/pthread/tst-timer.c: ... here.
1978 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1979 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1981 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1982 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1984 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1985 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1986 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1987 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1988 Update #include target.
1989 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1990 * sysdeps/i386/i686/nptl/Makefile: ... here.
1991 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1992 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1993 Update #include target.
1994 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1995 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1996 * nptl/sysdeps/i386/Makefile: Moved ...
1997 * sysdeps/i386/nptl/Makefile: ... here.
1998 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1999 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2000 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2001 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2002 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2003 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2004 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2005 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2006 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2007 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2008 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2009 * nptl/sysdeps/i386/tls.h: Moved ...
2010 * sysdeps/i386/nptl/tls.h: ... here.
2012 * sysdeps/sh/Makefile [$(subdir) = csu]
2013 (gen-as-const-headers): Add tcb-offsets.sym.
2014 * nptl/sysdeps/sh/Makefile: File removed.
2015 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2016 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2017 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2018 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2019 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2020 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2021 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2022 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2023 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2024 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2025 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2026 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2027 * nptl/sysdeps/sh/tls.h: Moved ...
2028 * sysdeps/sh/nptl/tls.h: ... here.
2029 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2030 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2031 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2032 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2033 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2034 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2035 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2036 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2037 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2038 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2039 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2040 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2041 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2042 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2043 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2044 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2045 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2046 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2047 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2048 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2049 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2050 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2051 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2052 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2053 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2055 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2056 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2058 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2059 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2060 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2061 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2062 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2063 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2064 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2065 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2066 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2067 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2068 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2069 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2070 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2071 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2072 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2073 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2074 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2075 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2076 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2078 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2080 * posix/spawn_faction_addopen.c: Include string.h.
2082 2014-06-11 Roland McGrath <roland@hack.frob.com>
2084 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2085 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2086 * nptl/sysdeps/x86_64/Makefile: Moved ...
2087 * sysdeps/x86_64/nptl/Makefile: ... here.
2088 * nptl/sysdeps/x86_64/configure: Moved ...
2089 * sysdeps/x86_64/nptl/configure: ... here.
2090 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2091 * sysdeps/x86_64/nptl/configure.ac: ... here.
2092 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2093 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2094 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2095 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2096 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2097 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2098 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2099 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2100 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2101 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2102 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2103 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2104 * nptl/sysdeps/x86_64/tls.h: Moved ...
2105 * sysdeps/x86_64/nptl/tls.h: ... here.
2106 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2107 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2108 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2109 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2111 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2113 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2117 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2119 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2121 [POSIX] (off_t): Likewise.
2122 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2123 [POSIX] (S_ISBLK): Require macro.
2124 [POSIX] (S_ISCHR): Likewise.
2125 [POSIX] (S_ISDIR): Likewise.
2126 [POSIX] (S_ISFIFO): Likewise.
2127 [POSIX] (S_ISREG): Likewise.
2128 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2130 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2132 [POSIX] (time_t): Likewise.
2133 [POSIX] (timer_t): Likewise.
2135 2014-06-11 Florian Weimer <fweimer@redhat.com>
2138 * posix/spawn_int.h (struct __spawn_action): Make the path string
2139 non-const to support deallocation.
2140 * posix/spawn_faction_addopen.c
2141 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2142 * posix/spawn_faction_destroy.c
2143 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2144 path in all spawn_do_open actions.
2145 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2146 posix_spawn_file_actions_addopen.
2148 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2150 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2151 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2152 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2153 conditional code always true.
2154 (__libc_vfork): New alias.
2156 2014-06-11 Roland McGrath <roland@hack.frob.com>
2158 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2159 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2161 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2163 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2164 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2166 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2167 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2169 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2170 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2172 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2174 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2175 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2176 multiarch strcmp for PPC64.
2177 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2178 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2180 multiarch optimizations.
2181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2182 (__libc_ifunc_impl_list): Likewise.
2184 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2186 * benchtests/scripts/validate_benchout.py: New script.
2187 * benchtests/Makefile (bench-func): Call it.
2188 * benchtests/scripts/benchout.schema.json: New file.
2190 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2192 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2193 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2194 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2195 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2196 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2197 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2198 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2199 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2200 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2201 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2202 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2203 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2204 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2205 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2206 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2207 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2311 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2312 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2313 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2314 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2315 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2317 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2319 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2320 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2321 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2322 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2323 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2324 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2325 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2326 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2327 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2328 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2329 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2330 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2331 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2333 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2336 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2338 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2341 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2342 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2343 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2345 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2346 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2347 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2349 2014-06-10 Wilco <wdijkstr@arm.com>
2351 * math/test-fenv-return.c: New file.
2352 * math/Makefile: Add new test test-fenv-return.
2354 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2357 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2359 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2360 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2361 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2362 0.0L for an argument of 1.0L.
2363 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2365 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2366 value when x - 1 is zero.
2367 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2368 * sysdeps/i386/fpu/libm-test-ulps: Update.
2369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2371 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2374 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2376 2014-06-09 Roland McGrath <roland@hack.frob.com>
2378 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2379 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2381 2014-06-09 Roland McGrath <roland@hack.frob.com>
2383 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2384 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2386 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2387 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2389 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2390 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2392 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2393 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2395 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2396 if not already defined.
2397 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2398 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2399 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2400 (TLS_INIT_TP): Use it.
2401 (TLS_DEFINE_INIT_TP): New macro.
2402 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2404 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2406 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2408 [POSIX] (IXANY): Likewise.
2409 [POSIX] (OLCUC): Likewise.
2410 [POSIX || POSIX2008] (CBAUD): Do not allow.
2411 [POSIX || POSIX2008] (DEFECHO): Likewise.
2412 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2413 [POSIX || POSIX2008] (ECHOKE): Likewise.
2414 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2415 [POSIX || POSIX2008] (EXTA): Likewise.
2416 [POSIX || POSIX2008] (EXTB): Likewise.
2417 [POSIX || POSIX2008] (FLUSHO): Likewise.
2418 [POSIX || POSIX2008] (LOBLK): Likewise.
2419 [POSIX || POSIX2008] (PENDIN): Likewise.
2420 [POSIX || POSIX2008] (SWTCH): Likewise.
2421 [POSIX || POSIX2008] (VDISCARD): Likewise.
2422 [POSIX || POSIX2008] (VDSUSP): Likewise.
2423 [POSIX || POSIX2008] (VLNEXT): Likewise.
2424 [POSIX || POSIX2008] (VREPRINT): Likewise.
2425 [POSIX || POSIX2008] (VSTATUS): Likewise.
2426 [POSIX || POSIX2008] (VWERASE): Likewise.
2427 (B*): Change to B[0123456789]*.
2428 * conform/data/time.h-data [POSIX || UNIX98]
2429 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2430 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2431 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2432 [POSIX] (tm_*): Do not allow.
2434 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2436 * Makefile (install): Don't set LANGUAGE.
2437 * Makefile.in (install): Likewise.
2438 * assert/Makefile (test-assert-ENV): Remove variable.
2439 (test-assert-perr-ENV): Likewise.
2440 * elf/Makefile (neededtest4-ENV): Likewise.
2441 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2442 [$(cross-compiling) = no]: Don't set LANGUAGE.
2443 * io/ftwtest-sh (LANG): Remove variable.
2444 * libio/Makefile (tst-widetext-ENV): Likewise.
2445 * manual/install.texi (Running make install): Don't refer to
2446 environment settings for make install.
2447 * INSTALL: Regenerated.
2448 * nptl/tst-tls6.sh: Don't set LANG.
2449 * posix/globtest.sh (LANG): Remove variable.
2450 * string/Makefile (tester-ENV): Likewise.
2451 (inl-tester-ENV): Likewise.
2452 (noinl-tester-ENV): Likewise.
2453 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2454 [$(cross-compiling) = no]: Don't set LANGUAGE.
2455 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2456 without explicit environment settings.
2458 2014-06-06 Roland McGrath <roland@hack.frob.com>
2460 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2461 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2462 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2463 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2465 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2467 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2468 other files in the crypt directory.
2469 * crypt/crypt.c: Remove duplicate includes.
2470 * crypt/crypt-entry.c: Likewise.
2471 * crypt/crypt_util.c: Likewise.
2473 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2475 * Makeconfig (run-program-env): New variable.
2476 (run-program-prefix-before-env): Likewise.
2477 (run-program-prefix-after-env): Likewise.
2478 (run-program-prefix): Define in terms of new variables.
2479 (built-program-cmd-before-env): New variable.
2480 (built-program-cmd-after-env): Likewise.
2481 (built-program-cmd): Define in terms of new variables.
2482 (test-program-prefix-before-env): New variable.
2483 (test-program-prefix-after-env): Likewise.
2484 (test-program-prefix): Define in terms of new variables.
2485 (test-program-cmd-before-env): New variable.
2486 (test-program-cmd-after-env): Likewise.
2487 (test-program-cmd): Define in terms of new variables.
2488 * Rules (make-test-out): Use $(run-program-env).
2489 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2490 (help): Do not mention environment variables. Mention
2491 --timeoutfactor option.
2492 (timeoutfactor): New variable.
2493 (blacklist_exports): Remove function.
2494 (exports): Remove variable.
2495 (command): Do not include ${exports}.
2496 * manual/install.texi (Configuring and compiling): Do not mention
2497 test wrappers preserving environment variables. Mention that last
2498 assignment to a variable must take precedence.
2499 * INSTALL: Regenerated.
2500 * benchtests/Makefile (run-bench): Use $(run-program-env).
2501 * catgets/Makefile ($(objpfx)test1.cat): Use
2502 $(built-program-cmd-before-env), $(run-program-env) and
2503 $(built-program-cmd-after-env).
2504 ($(objpfx)test2.cat): Do not specify environment variables
2506 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2507 $(run-program-env) and $(built-program-cmd-after-env).
2508 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2509 $(run-program-env) and $(test-program-cmd-after-env).
2510 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2512 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2513 run_program_env and test_program_cmd_after_env arguments.
2514 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2515 * elf/tst-pathopt.sh: Use run_program_env argument.
2516 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2517 $(test-wrapper-env) and $(run-program-env).
2518 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2519 run_program_env arguments.
2520 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2521 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2522 $(test-program-prefix-before-env), $(run-program-env) and
2523 $(test-program-prefix-after-env).
2524 ($(objpfx)tst-gettext2.out): Likewise.
2525 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2526 run_program_env and test_program_prefix_after_env arguments.
2527 * intl/tst-gettext2.sh: Likewise.
2528 * intl/tst-gettext4.sh: Do not set environment variables
2530 * intl/tst-gettext6.sh: Likewise.
2531 * intl/tst-translit.sh: Likewise.
2532 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2533 $(test-program-prefix-before-env), $(run-program-env) and
2534 $(test-program-prefix-after-env).
2535 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2536 run_program_env and test_program_prefix_after_env arguments.
2537 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2538 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2539 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2540 explicitly with each use of ${test_wrapper_env}.
2541 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2542 $(test-program-prefix-before-env), $(run-program-env) and
2543 $(test-program-prefix-after-env).
2544 * posix/tst-getconf.sh: Do not set environment variables
2546 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2547 run_program_env and test_program_prefix_after_env arguments.
2548 * stdio-common/tst-printf.sh: Do not set environment variables
2550 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2551 $(test-program-prefix-before-env), $(run-program-env) and
2552 $(test-program-prefix-after-env).
2553 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2554 run_program_env and test_program_prefix_after_env arguments.
2555 Split $test calls into $test_pre and $test.
2556 * timezone/Makefile (build-testdata): Use
2557 $(built-program-cmd-before-env), $(run-program-env) and
2558 $(built-program-cmd-after-env).
2560 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2562 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2563 strlen for non SHARED builds.
2565 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2567 * nptl/allocatestack.c (check_list): Inlined function...
2568 (__reclaim_stacks): ... here.
2570 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2573 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2576 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2578 * Rules (make-test-out): Include
2579 LOCPATH=$(common-objpfx)localedata in default environment.
2580 * debug/Makefile (tst-chk1-ENV): Remove variable.
2581 (tst-chk2-ENV): Likewise.
2582 (tst-chk3-ENV): Likewise.
2583 (tst-chk4-ENV): Likewise.
2584 (tst-chk5-ENV): Likewise.
2585 (tst-chk6-ENV): Likewise.
2586 (tst-lfschk1-ENV): Likewise.
2587 (tst-lfschk2-ENV): Likewise.
2588 (tst-lfschk3-ENV): Likewise.
2589 (tst-lfschk4-ENV): Likewise.
2590 (tst-lfschk5-ENV): Likewise.
2591 (tst-lfschk6-ENV): Likewise.
2592 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2593 (tst-iconv7-ENV): Likewise.
2594 * intl/Makefile (LOCPATH-ENV): Likewise.
2595 (tst-codeset-ENV): Likewise.
2596 (tst-gettext3-ENV): Likewise.
2597 (tst-gettext5-ENV): Likewise.
2598 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2599 (tst-fopenloc-ENV): Likewise.
2600 (tst-fgetws-ENV): Remove variable.
2601 (tst-ungetwc1-ENV): Likewise.
2602 (tst-ungetwc2-ENV): Likewise.
2603 (bug-ungetwc2-ENV): Likewise.
2604 (tst-swscanf-ENV): Likewise.
2605 (bug-ftell-ENV): Likewise.
2606 (tst-fgetwc-ENV): Likewise.
2607 (tst-fseek-ENV): Likewise.
2608 (tst-ftell-partial-wide-ENV): Likewise.
2609 (tst-ftell-active-handler-ENV): Likewise.
2610 (tst-ftell-append-ENV): Likewise.
2611 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2612 (tst-regexloc-ENV): Likewise.
2613 (bug-regex1-ENV): Likewise.
2614 (tst-regex-ENV): Likewise.
2615 (tst-regex2-ENV): Likewise.
2616 (bug-regex5-ENV): Likewise.
2617 (bug-regex6-ENV): Likewise.
2618 (bug-regex17-ENV): Likewise.
2619 (bug-regex18-ENV): Likewise.
2620 (bug-regex19-ENV): Likewise.
2621 (bug-regex20-ENV): Likewise.
2622 (bug-regex22-ENV): Likewise.
2623 (bug-regex23-ENV): Likewise.
2624 (bug-regex25-ENV): Likewise.
2625 (bug-regex26-ENV): Likewise.
2626 (bug-regex30-ENV): Likewise.
2627 (bug-regex32-ENV): Likewise.
2628 (bug-regex33-ENV): Likewise.
2629 (bug-regex34-ENV): Likewise.
2630 (bug-regex35-ENV): Likewise.
2631 (tst-rxspencer-ENV): Likewise.
2632 (tst-rxspencer-no-utf8-ENV): Likewise.
2633 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2634 (tst-sscanf-ENV): Likewise.
2635 (tst-swprintf-ENV): Likewise.
2636 (tst-swscanf-ENV): Likewise.
2637 (test-vfprintf-ENV): Likewise.
2638 (scanf13-ENV): Likewise.
2639 (bug14-ENV): Likewise.
2640 (tst-grouping-ENV): Likewise.
2641 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2642 (tst-strtod3-ENV): Likewise.
2643 (tst-strtod4-ENV): Likewise.
2644 (tst-strtod5-ENV): Likewise.
2645 (testmb2-ENV): Likewise./
2646 * string/Makefile (tst-strxfrm-ENV): Likewise.
2647 (tst-strxfrm2-ENV): Likewise.
2648 (bug-strcoll1-ENV): Likewise.
2649 (test-strcasecmp-ENV): Likewise.
2650 (test-strncasecmp-ENV): Likewise.
2651 * time/Makefile (tst-strptime-ENV): Likewise.
2652 (tst-ftime_l-ENV): Likewise.
2653 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2654 (tst-mbrtowc-ENV): Likewise.
2655 (tst-wcrtomb-ENV): Likewise.
2656 (tst-mbrtowc2-ENV): Likewise.
2657 (tst-c16c32-1-ENV): Likewise.
2658 (tst-mbsnrtowcs-ENV): Likewise.
2660 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2662 * manual/resource.texi (How to get information about the memory
2663 subsystem?): Fix typo.
2664 Reported by Peon de la Parra Ivan <peon@keba.com>
2666 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2669 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2670 (pthread_spin_lock): Branch out of spin loop to proper location.
2671 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2672 (pthread_spin_lock): Likewise.
2674 * nptl/tst-spin4.c: New test.
2675 * nptl/Makefile (tests): Add tst-spin4.
2677 2014-06-03 Andreas Schwab <schwab@suse.de>
2680 * resolv/res_send.c (send_dg): Reload file descriptor after
2683 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2685 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2687 2014-06-03 Richard Henderson <rth@redhat.com>
2689 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2690 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2691 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2692 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2693 in the SAVE_PID block.
2694 (__libc_vfork): New alias.
2695 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2697 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2698 child in registers, not on the stack. Remove RESET_PID conditionals.
2699 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2701 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2703 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2705 2014-06-03 Wilco <wdijkstr@arm.com>
2707 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2708 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2709 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2710 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2711 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2714 2014-06-03 Wilco <wdijkstr@arm.com>
2716 * sysdeps/aarch64/fpu/math_private.h
2717 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2718 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2719 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2720 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2723 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2725 * crypt/crypt-private.h: Include ufc-crypt.h.
2726 (__b64_from_24bit): Declare extern.
2727 * crypt/crypt_util.c(__b64_from_24bit): New function.
2728 (b64t): New static const variable.
2729 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2730 (b64t): Remove variable.
2731 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2732 * crypt/sha256-crypt.c: Include crypt-private.h.
2733 (b64t): Remove variable.
2734 (__sha256_crypt_r): Remove b64_from_24bit and replace
2735 with __b64_from_24bit.
2736 * crypt/sha512-crypt.c: Likewise.
2738 2014-06-02 Roland McGrath <roland@hack.frob.com>
2740 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2741 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2742 Label the code __libc_vfork rather than __vfork.
2743 [!NOT_IN_libc] (vfork): Define as weak alias.
2744 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2745 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2746 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2748 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2750 * malloc/malloc.c (malloc_info): Fix format specifier for
2753 2014-06-02 Wilco <wdijkstr@arm.com>
2755 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2758 2014-06-02 Wilco <wdijkstr@arm.com>
2761 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2762 Rewrite to reduce FPCR/FPSR accesses.
2764 2014-06-01 David S. Miller <davem@davemloft.net>
2766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2768 2014-05-31 David S. Miller <davem@davemloft.net>
2770 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2771 to occur in round to nearest mode when |x| >= 2.0
2773 2014-05-30 Richard Henderson <rth@twiddle.net>
2775 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2776 (PSEUDO_RET_NOERRNO): Remove.
2777 (ret): Don't redefine.
2778 (ret_NOERRNO): Define in terms of ret.
2779 (ret_ERRVAL): Likewise.
2781 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2782 use of PSEUDO_RET; perform the error check directly.
2784 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2786 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2789 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2791 * malloc/malloc (malloc_info): Fix formatting.
2793 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2794 Roland McGrath <roland@hack.frob.com>
2796 * malloc/malloc (malloc_info): Also print mmapped statistics.
2798 2014-05-30 Roland McGrath <roland@hack.frob.com>
2800 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2801 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2803 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2805 * malloc/malloc.c (malloc_info): Inline mi_arena.
2807 2014-05-29 Richard Henderson <rth@twiddle.net>
2809 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2810 Remove comma before expanding ASM_ARGS_##nr.
2811 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2812 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2814 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2815 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2816 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2817 (ASM_ARGS_1): Add leading comma.
2819 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2820 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2821 to __errno_location.
2822 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2823 Remove the expected plt for __errno_location.
2825 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2826 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2829 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2830 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2831 it and break it down.
2832 (DOCARGS_0, DOCARGS_1): Do nothing.
2833 (DOCARGS_2): Update to store into the new stack frame.
2834 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2835 (UNDOCARGS_1): Update to restore from the new stack frame.
2836 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2837 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2839 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2840 (SINGLE_THREAD_P): New parameter for result regno.
2841 (PSEUDO): Update to match; use cbz instead of beq.
2843 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2844 Use ENTRY to define the _nocancel entry point. Share the syscall
2845 and syscall error check paths with the cancel path.
2848 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2849 whitespace; tabs before and after asm mnemonics.
2851 2014-05-29 Eric Wong <normalperson@yhbt.net>
2854 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2855 Call fstat64 or stat64 internally, depending on arguments passed.
2856 Replace stat buffer argument with file descriptor argument.
2857 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2858 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2859 Pass fd to __internal_statvfs instead of calling fstat64.
2860 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2861 Pass fd to __internal_statvfs64 instead of calling fstat64.
2862 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2863 Pass -1 to __internal_statvfs instead of calling stat64.
2864 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2865 Pass -1 to __internal_statvfs64 instead of calling stat64.
2867 2014-05-28 Roland McGrath <roland@hack.frob.com>
2869 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2870 that was previously under [RESET_PID].
2871 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2873 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2874 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2876 2014-05-27 Roland McGrath <roland@hack.frob.com>
2878 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2880 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2881 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2883 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2885 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2887 2014-05-27 Andreas Schwab <schwab@suse.de>
2889 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2891 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2892 * elf/rtld.c (init_tls, dl_main): Likewise.
2893 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2894 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2895 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2896 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2897 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2898 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2899 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2900 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2901 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2902 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2903 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2904 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2905 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2906 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2907 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2908 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2909 * sysdeps/generic/tls.h: Update description.
2911 2014-05-27 Will Newton <will.newton@linaro.org>
2914 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2915 and restore r2 rather than just restoring.
2917 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2920 * libio/tst-ftell-append.c: New test case.
2921 * libio/Makefile (tests): Add test case.
2922 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2924 * libio/wfileops.c (do_ftell_wide): Likewise.
2926 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2930 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2934 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2935 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2936 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2937 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2938 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2939 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2940 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2943 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2946 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2947 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2948 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2949 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2950 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2952 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2953 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2955 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2957 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2959 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2960 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2961 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2963 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2964 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2965 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2966 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2968 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2971 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2974 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2977 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2981 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2984 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2989 conditional [RESET_PID].
2990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2991 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2993 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2998 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2999 (__libc_vfork): New strong alias.
3000 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3002 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3007 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3008 (__libc_vfork): New strong alias.
3009 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3011 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3014 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3016 * malloc/malloc.c (mi_arena): New function.
3017 (malloc_info): Remove nested function mi_arena. Call non-nosted
3020 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3022 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3024 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3025 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3026 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3027 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3028 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3029 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3030 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3032 2014-05-26 Andreas Schwab <schwab@suse.de>
3035 * locale/programs/repertoire.c (repertoire_read): Add slash
3036 between I18NPATH element and file name.
3037 * locale/programs/locfile.c (locfile_read): Likewise.
3039 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3041 * nptl/pthread_mutexattr_settype.c
3042 (__pthread_mutexattr_settype):
3043 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3045 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3047 * nptl/tst-mutex5 (do_test):
3048 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3050 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3052 * benchtests/README: Document 'init' directive.
3053 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3055 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3056 (parse_file): Recognize 'init' directive.
3058 2014-05-26 Kyle McMartin <kyle@redhat.com>
3061 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3062 alignment of struct pthread.
3064 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3067 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3068 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3069 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3070 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3072 2014-05-25 Richard Henderson <rth@twiddle.net>
3074 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3075 (SINGLE_THREAD_P_PIC): Remove.
3076 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3077 (SINGLE_THREAD_P_PIC): Remove.
3079 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3080 branch to syscall error ...
3082 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3083 from __local_syscall_error to .Lsyscall_error.
3084 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3085 (SYSCALL_ERROR): Update label name.
3087 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3088 Do not use DOARGS/UNDOARGS.
3089 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3090 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3091 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3092 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3093 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3095 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3098 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3099 define if !NOT_IN_libc.
3100 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3101 define with non-default symbol versions.
3103 2014-05-23 Richard Henderson <rth@twiddle.net>
3105 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3106 (vfork, __vfork): Define via compat_symbol.
3108 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3109 [!HAVE_IFUNC] (vfork_compat): Remove.
3110 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3112 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3115 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3116 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3119 2014-05-23 Richard Henderson <rth@twiddle.net>
3121 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3122 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3123 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3124 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3126 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3127 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3128 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3129 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3130 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3131 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3132 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3133 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3134 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3135 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3136 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3137 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3138 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3139 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3140 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3141 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3142 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3143 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3144 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3145 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3146 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3147 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3148 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3149 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3150 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3151 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3152 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3153 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3154 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3155 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3156 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3157 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3158 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3159 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3160 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3161 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3162 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3163 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3164 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3165 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3166 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3167 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3168 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3169 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3170 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3171 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3172 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3173 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3174 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3175 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3176 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3177 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3178 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3179 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3180 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3181 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3183 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3184 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3185 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3186 before exiting on error.
3187 (__libc_vfork): New strong alias.
3188 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3189 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3191 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3192 that was previously under [RESET_PID].
3193 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3195 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3197 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3200 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3201 value when x - 1 is zero.
3202 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3203 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3204 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3205 0.0L for an argument of 1.0L.
3206 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3208 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3209 value when x - 1 is zero.
3210 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3211 * sysdeps/i386/fpu/libm-test-ulps: Update.
3212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3214 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3216 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3217 alphasort and versionsort.
3219 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3221 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3223 [copysignf]: Likewise.
3225 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3227 * crypt/md5-crypt.c: Fix formatting.
3229 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3231 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3232 (b64_from_24bit): New function.
3234 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3236 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3237 libc_hidden_builtin_def to ifunc.
3238 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3239 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3241 2014-05-21 Roland McGrath <roland@hack.frob.com>
3243 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3244 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3246 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3248 * nscd/Depend (linuxthreads): Remove.
3250 * resolv/Depend (linuxthreads): Remove.
3251 * rt/Depend (linuxthreads): Remove.
3253 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3254 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3255 $(common-objpfx)elf/.
3256 (link-libc-before-gnulib): Likewise.
3257 (elfobjdir): Remove variable.
3258 * Makefile (install): Use $(elf-objpfx) instead of
3259 $(common-objpfx)elf/.
3260 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3262 (link-libc-deps): Likewise.
3263 ($(common-objpfx)libc.so): Likewise.
3264 ($(common-objpfx)linkobj/libc.so): Likewise.
3265 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3266 instead of $(common-objpfx)elf/.
3267 (symbolic-link-list): Likewise.
3268 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3269 [$(cross-compiling) = no]: Likewise.
3270 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3272 (static-gnulib-arch): Likewise.
3273 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3274 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3275 $(common-objpfx)elf/.
3277 2014-05-21 Richard Henderson <rth@redhat.com>
3279 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3280 (SINGLE_THREAD_P): Use the correct width load. Fold
3281 into the ldr offset.
3283 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3284 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3286 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3288 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3289 (libgcc_s_resume): Use __attribute_used__.
3290 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3293 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3295 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3296 optimization when used with float constants.
3298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3300 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3303 * locale/nl_langinfo_l.c: Make direct reference to every
3304 _nl_current_CATEGORY symbol.
3305 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3306 (tests-static): Add tst-langinfo-static.
3307 (tests-special): Add tst-langinfo-static.out.
3308 ($(objpfx)tst-langinfo.out): Redirect output.
3309 ($(objpfx)tst-langinfo-static.out): New.
3310 * localedata/tst-langinfo.sh: Send output to stdout.
3311 * localedata/tst-langinfo-static.c: New file.
3314 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3315 when the shift amount is modulo the limb size.
3317 2014-05-20 Richard Henderson <rth@redhat.com>
3320 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3321 Change type of sa_flags from unsigned int to int.
3324 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3326 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3328 2014-05-20 Will Newton <will.newton@linaro.org>
3330 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3331 Test the return value of the system call in the nocancel case.
3333 2014-05-20 Will Newton <will.newton@linaro.org>
3334 Yvan Roux <yvan.roux@linaro.org>
3336 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3337 #include of asm/ptrace.h.
3338 (PTRACE_GET_THREAD_AREA): Remove #undef.
3339 (PTRACE_GETHBPREGS): Likewise.
3340 (PTRACE_SETHBPREGS): Likewise.
3341 (struct user_regs_struct): New structure.
3342 (struct user_fpsimd_struct): New structure.
3343 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3344 #include of asm/ptrace.h and second #include of sys/user.h.
3345 (PTRACE_GET_THREAD_AREA): Remove #undef.
3346 (PTRACE_GETHBPREGS): Likewise.
3347 (PTRACE_SETHBPREGS): Likewise.
3348 (ELF_NGREG): Use new struct user_regs_struct.
3349 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3351 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3353 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3354 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3356 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3359 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3360 membar to avoid block loads/stores to overlap previous stores.
3362 2014-05-17 Richard Henderson <rth@redhat.com>
3364 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3365 Create the __##syscall_name##_nocancel entry point.
3366 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3367 Remove; let the sysdep-cancel.h code create it.
3369 2014-05-17 David S. Miller <davem@davemloft.net>
3371 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3372 Protect with __USE_GNU.
3373 (TIOCSET_TEMPT): Likewise.
3374 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3375 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3376 these are already provided in bits/ioctl-types.h
3378 2014-05-16 Roland McGrath <roland@hack.frob.com>
3380 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3381 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3383 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3384 Use wait4 regardless of [__NR_waitpid].
3386 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3389 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3390 (_FP_NANSIGN_Q): Set the quiet bit.
3392 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3394 * benchtests/Makefile
3395 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3396 not $(common-objpfx)math/libm.so.
3397 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3398 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3399 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3400 $(common-objpfx)dlfcn/libdl.so.
3401 ($(objpfx)tst-audit8): Depend on $(libm), not
3402 $(common-objpfx)math/libm.so.
3403 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3404 not $(common-objpfx)dlfcn/libdl.so.
3406 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3407 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3408 [$(build-shared) = yes].
3409 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3410 $(common-objpfx)nptl/libpthread.so.
3411 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3412 $(common-objpfx)math/libm.so$(libm.so-version) or
3413 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3414 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3415 $(common-objpfx)dlfcn/libdl.so.
3416 * setjmp/Makefile (link-libm): Remove variable.
3417 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3418 * stdio-common/Makefile (link-libm): Remove variable.
3419 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3420 * stdlib/Makefile (link-libm): Remove variable.
3421 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3422 ($(objpfx)tst-strtod-round): Likewise.
3423 ($(objpfx)tst-tininess): Likewise.
3424 ($(objpfx)tst-strtod-underflow): Likewise.
3425 ($(objpfx)tst-strtod6): Likewise.
3426 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3427 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3428 $(common-objpfx)dlfcn/libdl.so.
3430 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3432 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3433 BSD terminal modes definitions.
3435 2014-05-16 Roland McGrath <roland@hack.frob.com>
3437 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3438 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3440 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3441 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3442 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3443 Don't do #include_next.
3444 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3445 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3446 Don't do #include_next.
3447 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3448 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3449 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3450 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3452 2014-05-16 Allan McRae <allan@archlinux.org>
3454 * po/sv.po: Update Swedish translation from translation project.
3456 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3459 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3462 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3463 errno if the TIOCGPTN ioctl fails with an error different than
3465 * login/tst-ptsname.c: New file.
3466 * login/Makefile (tests): Add tst-ptsname.
3469 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3472 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3476 herrno to return EAI_AGAIN.
3478 2014-05-14 Roland McGrath <roland@hack.frob.com>
3480 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3481 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3482 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3483 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3484 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3485 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3486 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3487 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3488 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3489 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3490 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3491 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3492 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3493 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3494 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3495 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3496 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3497 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3498 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3499 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3500 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3501 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3502 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3503 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3504 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3505 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3506 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3507 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3508 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3509 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3511 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3513 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3516 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3518 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3520 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3522 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3524 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3526 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3528 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3530 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3532 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3534 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3536 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3538 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3540 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3542 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3545 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3547 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3549 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3551 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3553 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3555 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3557 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3559 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3561 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3563 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3566 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3568 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3570 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3571 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3572 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3573 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3574 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3575 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3576 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3577 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3578 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3579 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3580 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3581 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3582 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3583 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3584 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3585 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3586 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3587 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3588 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3589 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3590 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3591 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3592 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3593 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3594 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3595 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3596 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3597 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3598 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3599 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3600 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3602 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3603 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3605 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3606 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3607 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3608 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3609 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3610 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3612 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3613 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3615 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3616 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3618 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3619 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3621 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3622 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3623 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3624 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3626 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3627 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3628 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3629 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3630 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3631 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3632 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3633 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3635 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3636 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3638 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3640 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3641 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3642 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3643 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3644 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3646 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3648 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3650 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3651 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3652 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3653 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3654 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3655 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3657 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3658 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3660 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3661 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3663 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3664 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3666 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3667 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3668 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3669 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3671 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3672 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3673 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3674 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3675 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3676 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3677 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3678 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3680 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3681 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3683 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3685 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3686 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3687 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3688 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3689 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3691 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3693 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3695 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3696 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3697 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3698 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3699 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3700 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3701 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3702 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3703 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3704 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3706 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3707 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3709 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3710 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3712 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3713 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3715 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3716 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3717 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3718 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3719 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3720 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3722 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3723 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3724 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3725 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3726 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3727 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3728 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3729 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3731 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3732 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3734 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3736 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3737 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3738 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3739 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3740 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3742 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3744 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3746 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3747 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3748 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3749 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3750 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3751 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3752 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3753 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3754 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3755 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3756 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3758 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3759 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3761 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3762 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3764 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3765 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3766 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3767 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3768 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3769 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3770 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3771 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3772 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3773 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3774 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3775 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3776 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3777 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3778 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3779 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3780 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3781 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3783 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3784 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3785 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3786 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3788 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3789 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3790 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3791 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3792 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3793 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3794 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3795 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3797 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3798 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3800 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3801 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3802 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3803 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3804 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3805 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3806 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3807 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3808 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3809 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3810 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3811 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3812 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3813 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3814 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3815 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3816 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3819 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3820 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3821 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3822 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3824 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3825 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3826 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3827 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3828 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3829 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3830 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3831 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3832 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3833 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3835 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3836 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3838 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3839 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3840 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3841 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3842 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3843 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3844 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3845 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3846 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3847 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3848 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3849 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3850 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3851 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3852 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3854 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3858 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3860 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3862 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3866 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3868 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3870 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3873 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3874 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3875 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3876 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3877 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3878 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3879 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3880 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3881 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3882 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3883 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3884 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3885 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3886 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3888 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3889 that was previously under [RESET_PID].
3890 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3891 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3892 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3894 * sysdeps/i386/nptl/Implies: New file.
3895 * sysdeps/x86_64/nptl/Implies: New file.
3896 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3897 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3898 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3899 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3901 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3902 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3903 (__libc_vfork): New strong alias.
3904 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3905 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3907 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3908 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3909 (__libc_vfork): New strong alias.
3910 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3911 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3913 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3914 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3915 (__libc_vfork): New strong alias.
3916 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3917 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3918 * nptl/pt-vfork.c: New file.
3919 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3920 (libpthread: GLIBC_2.20): New version set (empty).
3922 2014-05-14 Will Newton <will.newton@linaro.org>
3924 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3927 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3930 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3931 arguments with exponent 65 or above.
3932 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3933 arguments 0x1p113L or above.
3934 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3935 to arguments 0x1p107L or above.
3936 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3937 positive arguments with exponent 65 or above.
3938 * math/auto-libm-test-in: Add more tests of log1p.
3939 * math/auto-libm-test-out: Regenerated.
3942 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3943 non-finite arguments is +0.
3944 * math/s_cacosf.c (__cacosf): Likewise.
3945 * math/s_cacosl.c (__cacosl): Likewise.
3946 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3947 * sysdeps/i386/fpu/libm-test-ulps: Update.
3948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3951 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3953 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3954 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3955 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3956 for explicit high bit of mantissa when testing for argument equal
3958 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3959 * sysdeps/i386/fpu/libm-test-ulps: Update.
3960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3963 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3964 (__erf): Scale by 16 instead of 8 in potentially underflowing
3965 case. Ensure exception if result actually underflows.
3966 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3967 (__erff): Scale by 16 instead of 8 in potentially underflowing
3968 case. Ensure exception if result actually underflows.
3969 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3970 (efx8): Remove variable.
3971 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3972 case. Ensure exception if result actually underflows.
3973 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3974 (efx8): Remove variable.
3975 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3976 case. Ensure exception if result actually underflows.
3977 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3978 (efx8): Remove variable.
3979 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3980 case. Ensure exception if result actually underflows.
3981 * math/auto-libm-test-in: Add more tests of erf.
3982 * math/auto-libm-test-out: Regenerated.
3984 2014-05-14 Andreas Schwab <schwab@suse.de>
3986 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3987 Remove code conditionalized on USE___THREAD.
3989 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3990 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3993 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3995 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3996 Define unconditionally.
3997 (__ASSUME_O_CLOEXEC): Likewise.
3998 (__ASSUME_SOCK_CLOEXEC): Likewise.
3999 (__ASSUME_IN_NONBLOCK): Likewise.
4000 (__ASSUME_PIPE2): Likewise.
4001 (__ASSUME_EVENTFD2): Likewise.
4002 (__ASSUME_SIGNALFD4): Likewise.
4003 (__ASSUME_DUP3): Likewise.
4004 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4005 (__ASSUME_DUP3): Do not define.
4006 (__ASSUME_EVENTFD2): Likewise.
4007 (__ASSUME_IN_NONBLOCK): Likewise.
4008 (__ASSUME_O_CLOEXEC): Likewise.
4009 (__ASSUME_PIPE2): Likewise.
4010 (__ASSUME_SIGNALFD4): Likewise.
4011 (__ASSUME_SOCK_CLOEXEC): Likewise.
4012 (__ASSUME_UTIMES): Undefine.
4013 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4014 (__ASSUME_UTIMES): Do not define.
4015 (__ASSUME_O_CLOEXEC): Likewise.
4016 (__ASSUME_SOCK_CLOEXEC): Likewise.
4017 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4018 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4020 (__ASSUME_PIPE2): Likewise.
4021 (__ASSUME_EVENTFD2): Likewise.
4022 (__ASSUME_SIGNALFD4): Likewise.
4023 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4024 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4026 (__ASSUME_EVENTFD2): Likewise.
4027 (__ASSUME_SIGNALFD4): Likewise.
4028 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4029 (__ASSUME_32BITUIDS): Likewise.
4030 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4031 (__ASSUME_IPC64): Likewise.
4032 (__ASSUME_ST_INO_64_BIT): Likewise.
4033 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4034 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4035 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4036 (__ASSUME_UTIMES): Do not define.
4037 (__ASSUME_PSELECT): Likewise.
4038 (__ASSUME_PPOLL): Likewise.
4039 (__ASSUME_O_CLOEXEC): Likewise.
4040 (__ASSUME_SOCK_CLOEXEC): Likewise.
4041 (__ASSUME_IN_NONBLOCK): Likewise.
4042 (__ASSUME_PIPE2): Likewise.
4043 (__ASSUME_EVENTFD2): Likewise.
4044 (__ASSUME_SIGNALFD4): Likewise.
4045 (__ASSUME_DUP3): Likewise.
4046 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4047 (__ASSUME_UTIMES): Likewise.
4048 (__ASSUME_O_CLOEXEC): Likewise.
4049 (__ASSUME_SOCK_CLOEXEC): Likewise.
4050 (__ASSUME_IN_NONBLOCK): Likewise.
4051 (__ASSUME_PIPE2): Likewise.
4052 (__ASSUME_EVENTFD2): Likewise.
4053 (__ASSUME_SIGNALFD4): Likewise.
4054 (__ASSUME_DUP3): Likewise.
4055 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4056 (__ASSUME_UTIMES): Likewise.
4057 (__ASSUME_O_CLOEXEC): Likewise.
4058 (__ASSUME_SOCK_CLOEXEC): Likewise.
4059 (__ASSUME_IN_NONBLOCK): Likewise.
4060 (__ASSUME_PIPE2): Likewise.
4061 (__ASSUME_EVENTFD2): Likewise.
4062 (__ASSUME_SIGNALFD4): Likewise.
4063 (__ASSUME_DUP3): Likewise.
4064 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4066 (__ASSUME_UTIMES): Likewise.
4067 (__ASSUME_EVENTFD2): Likewise.
4068 (__ASSUME_SIGNALFD4): Likewise.
4069 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4070 (__ASSUME_O_CLOEXEC): Likewise.
4071 (__ASSUME_SOCK_CLOEXEC): Likewise.
4072 (__ASSUME_IN_NONBLOCK): Likewise.
4073 (__ASSUME_PIPE2): Likewise.
4074 (__ASSUME_EVENTFD2): Likewise.
4075 (__ASSUME_SIGNALFD4): Likewise.
4076 (__ASSUME_DUP3): Likewise.
4077 (__ASSUME_UTIMES): Undefine.
4079 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4080 feclearexcept. Remove symbol versioning code.
4081 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4082 symbol versioning code.
4083 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4084 symbol versioning code.
4085 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4086 feupdateenv. Remove symbol versioning code.
4087 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4088 fegetexceptflag. Remove symbol versioning code.
4089 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4090 fesetexceptflag. Remove symbol versioning code.
4091 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4092 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4093 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4094 (__posix_fadvise64_l32): Remove prototype.
4095 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4098 2014-05-13 Roland McGrath <roland@hack.frob.com>
4100 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4101 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4102 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4103 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4105 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4107 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4108 current working directory
4110 2014-05-13 Roland McGrath <roland@hack.frob.com>
4112 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4113 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4114 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4115 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4116 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4117 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4118 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4119 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4121 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4122 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4123 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4125 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4126 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4127 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4128 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4129 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4130 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4131 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4132 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4133 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4134 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4135 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4136 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4137 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4138 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4139 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4140 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4141 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4142 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4143 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4144 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4145 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4146 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4147 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4148 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4149 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4150 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4151 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4152 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4153 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4155 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4156 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4158 * sysdeps/unix/sysv/linux/arm/Makefile
4159 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4160 Add rt-aeabi_unwind_cpp_pr1.
4161 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4162 Add nptl-aeabi_unwind_cpp_pr1.
4163 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4164 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4165 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4166 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4167 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4168 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4170 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4171 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4172 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4173 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4175 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4176 Deconditionalize the code that was previously under [RESET_PID].
4177 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4179 * sysdeps/generic/exit-thread.h: New file.
4180 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4181 * include/unistd.h (__exit_thread): Remove declaration.
4182 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4183 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4184 * csu/libc-start.c: Include <exit-thread.h>.
4185 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4186 * nptl/pthread_create.c: Include <exit-thread.h>.
4187 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4188 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4189 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4190 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4191 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4192 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4193 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4194 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4195 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4196 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4197 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4198 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4199 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4200 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4201 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4202 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4203 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4205 2014-05-13 Andreas Schwab <schwab@suse.de>
4207 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4209 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4211 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4212 (__ASSUME_UTIMES): Do not condition on kernel version.
4213 (__ASSUME_PSELECT): Define unconditionally.
4214 (__ASSUME_PPOLL): Likewise.
4215 (__ASSUME_ATFCTS): Likewise.
4216 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4217 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4218 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4219 (__ASSUME_UTIMENSAT): Define unconditionally.
4220 (__ASSUME_PRIVATE_FUTEX): Likewise.
4221 (__ASSUME_FALLOCATE): Likewise.
4222 (__ASSUME_O_CLOEXEC): Likewise.
4223 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4224 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4225 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4226 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4227 (__ASSUME_IN_NONBLOCK): Likewise.
4228 (__ASSUME_PIPE2): Likewise.
4229 (__ASSUME_EVENTFD2): Likewise.
4230 (__ASSUME_SIGNALFD4): Likewise.
4231 (__ASSUME_DUP3): Likewise.
4232 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4233 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4234 (__ASSUME_AT_RANDOM): Likewise.
4235 (__ASSUME_PREADV): Likewise.
4236 (__ASSUME_PWRITEV): Likewise.
4237 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4238 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4239 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4240 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4241 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4242 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4243 (__ASSUME_O_CLOEXEC): Define unconditionally.
4244 (__ASSUME_PSELECT): Do not undefine conditionally.
4245 (__ASSUME_PPOLL): Likewise.
4246 (__ASSUME_ATFCTS): Likewise.
4247 (__ASSUME_SET_ROBUST_LIST): Likewise.
4248 (__ASSUME_UTIMENSAT): Likewise.
4249 (__ASSUME_FDATASYNC): Define unconditionally.
4250 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4251 (__ASSUME_SIGFRAME_V2): Likewise.
4252 )__ASSUME_EVENTFD2): Likewise.
4253 (__ASSUME_SIGNALFD4): Likewise.
4254 (__ASSUME_PSELECT): Do not undefine conditionally.
4255 (__ASSUME_PPOLL): Likewise.
4256 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4257 (__ASSUME_PSELECT): Define unconditionally.
4258 (__ASSUME_PPOLL): Likewise.
4259 (__ASSUME_O_CLOEXEC): Likewise.
4260 (__ASSUME_SOCK_CLOEXEC): Likewise.
4261 (__ASSUME_IN_NONBLOCK): Likewise.
4262 (__ASSUME_PIPE2): Likewise.
4263 (__ASSUME_EVENTFD2): Likewise.
4264 (__ASSUME_SIGNALFD4): Likewise.
4265 (__ASSUME_DUP3): Likewise.
4266 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4267 (__ASSUME_O_CLOEXEC): Likewise.
4268 (__ASSUME_SOCK_CLOEXEC): Likewise.
4269 (__ASSUME_IN_NONBLOCK): Likewise.
4270 (__ASSUME_PIPE2): Likewise.
4271 (__ASSUME_EVENTFD2): Likewise.
4272 (__ASSUME_SIGNALFD4): Likewise.
4273 (__ASSUME_DUP3): Likewise.
4274 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4275 (__ASSUME_EVENTFD2): Likewise.
4276 (__ASSUME_SIGNALFD4): Likewise.
4277 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4279 2014-05-12 Andreas Schwab <schwab@suse.de>
4282 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4283 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4284 than maximum RPC packet size.
4285 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4286 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4287 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4288 (_nss_nis_getservbyport_r): Likewise.
4290 2014-05-12 Will Newton <will.newton@linaro.org>
4292 * malloc/Makefile (tests): Add tst-mallopt.
4293 * malloc/tst-mallopt.c: New file.
4295 2014-05-09 Roland McGrath <roland@hack.frob.com>
4297 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4298 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4300 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4302 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4303 (tst-tlsmod6.so): Likewise.
4305 2014-05-09 Roland McGrath <roland@hack.frob.com>
4307 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4309 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4312 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4313 and <dl-procinfo.h>.
4314 (__fegetenv): Save SSE state in envp->__eip if supported.
4315 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4316 envp->__eip if supported.
4317 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4318 and <dl-procinfo.h>.
4319 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4320 __data_offset and __data_selector in environment to 0. Set SSE
4322 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4324 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4326 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4328 2014-05-09 Will Newton <will.newton@linaro.org>
4330 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4331 and libc_relro_required for ARM.
4332 * sysdeps/arm/preconfigure: Regenerate.
4334 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4335 Stefan Liebler <stli@linux.vnet.ibm.com>
4337 * config.make.in (enable-lock-elision): New Makefile variable.
4338 * configure.ac: Likewise.
4339 * configure: Regenerate.
4340 * sysdeps/s390/configure.ac:
4341 Add check for gcc transactions support.
4342 * sysdeps/s390/configure: Regenerate.
4343 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4344 Build elision files if enabled.
4345 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4346 Add lock elision support for s390.
4347 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4348 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4349 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4350 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4351 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4352 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4353 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4355 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4357 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4359 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4361 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4362 (__lll_timedlock_elision, __lll_lock_elision)
4363 (__lll_unlock_elision, __lll_trylock_elision)
4364 (lll_timedlock_elision, lll_lock_elision)
4365 (lll_unlock_elision, lll_trylock_elision): Add.
4366 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4367 (pthread_mutex_t): Add lock elision support for s390.
4369 2014-05-14 Wilco <wdijkstr@arm.com>
4371 * sysdeps/arm/fclrexcpt.c: Cleanup.
4372 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4373 * sysdeps/arm/feenablxcpt.c: Cleanup.
4374 * sysdeps/arm/fegetenv.c: Cleanup.
4375 * sysdeps/arm/fegetexcept.c: Cleanup.
4376 * sysdeps/arm/fegetround.c: Cleanup.
4377 * sysdeps/arm/feholdexcpt.c: Cleanup.
4378 * sysdeps/arm/fesetenv.c: Cleanup.
4379 * sysdeps/arm/fesetround.c: Cleanup.
4380 * sysdeps/arm/feupdateenv.c: Cleanup.
4381 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4382 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4383 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4384 * sysdeps/arm/ftestexcept.c: Cleanup.
4385 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4386 * sysdeps/arm/setfpucw.c: Cleanup.
4388 2014-05-09 Will Newton <will.newton@linaro.org>
4390 * sysdeps/arm/armv7/strcmp.S: New file.
4391 * NEWS: Mention addition of ARMv7 optimized strcmp.
4393 2014-05-08 Roland McGrath <roland@hack.frob.com>
4395 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4396 look for %.ac rather than %.in.
4398 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4399 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4400 * sysdeps/mach/hurd/configure: Regenerated.
4401 * sysdeps/unix/sysv/linux/configure: Regenerated.
4403 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4405 2014-05-07 Steve Ellcey <sellcey@mips.com>
4408 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4412 2014-05-07 Andreas Schwab <schwab@suse.de>
4414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4415 when skipping over non-matching result from nscd.
4417 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4420 * nptl/sockperf.c (client): Check socket return value.
4423 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4424 nscd security class.
4426 2014-05-06 Roland McGrath <roland@hack.frob.com>
4428 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4429 * sysdeps/arm/unwind.h: ... here.
4431 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4434 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4437 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4439 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4440 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4441 multiarch strncpy for PPC64.
4442 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4443 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4445 multiarch optimizations.
4446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4447 (__libc_ifunc_impl_list): Likewise.
4448 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4449 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4450 multiarch stpncpy for PPC64.
4451 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4452 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4454 2014-05-06 Andreas Schwab <schwab@suse.de>
4457 * gmon/mcount.c (_MCOUNT_DECL): Use
4458 atomic_compare_and_exchange_bool_acq instead of
4459 catomic_compare_and_exchange_bool_acq.
4461 2014-05-05 Roland McGrath <roland@hack.frob.com>
4463 * elf/Makefile (others, install-bin): Remove pldd.
4464 (pldd-modules): Variable removed.
4465 ($(objpfx)pldd): Target removed.
4466 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4467 (others, install-bin): Append pldd here.
4468 ($(objpfx)pldd): New target.
4470 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4471 to 0, so the first #if test emitted later doesn't see it undefined.
4472 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4473 * sysdeps/gnu/errlist.c: Regenerated.
4475 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4477 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4478 [libc_hidden_builtin_def]: Define to empty value.
4479 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4480 [libc_hidden_builtin_def]: Likewise.
4481 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4482 [libc_hidden_builtin_def]: Likewise.
4483 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4484 [libc_hidden_builtin_def]: Likewise.
4485 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4486 __redirect_memcpy and define ifunc as default hidden symbol.
4487 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4488 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4490 2014-05-04 Adam Conrad <adconrad@0c3.net>
4492 * locale/iso-4217.def: Reintroduce XDR currency.
4494 2014-05-04 Allan McRae <allan@archlinux.org>
4496 * po/eo.po: Update Esperanto translation from translation project.
4498 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4500 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4501 and FEATURE_INDEX_MAX to 1.
4502 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4504 2014-05-01 Steve Ellcey <sellcey@mips.com>
4506 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4507 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4508 * iconvdata/big5.c (ONE_DIRECTION): Define.
4509 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4510 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4511 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4512 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4513 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4514 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4515 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4516 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4517 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4518 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4519 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4520 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4521 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4522 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4523 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4524 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4525 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4526 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4527 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4528 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4529 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4530 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4531 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4532 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4533 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4534 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4535 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4536 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4537 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4538 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4539 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4540 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4541 * iconvdata/johab.c (ONE_DIRECTION): Define.
4542 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4543 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4544 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4545 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4546 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4547 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4548 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4549 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4550 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4551 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4553 2014-05-01 Roland McGrath <roland@hack.frob.com>
4555 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4556 (_IO_JUMPS_OFFSET): Define to 0.
4558 * nptl/sysdeps/pthread/bits/libc-lock.h
4559 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4560 (__libc_lock_define_initialized_recursive): Always define using
4561 initializer. Modern compilers treat uninitialized (implicit zero) and
4562 explicit zero initializers the same (i.e. put the datum in bss).
4564 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4566 * nscd/nscd-client.h: Include <string.h>.
4568 2014-05-01 David S. Miller <davem@davemloft.net>
4571 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4572 multiple zero bytes exist at the end of a string.
4573 Reported by Aurelien Jarno <aurelien@aurel32.net>
4575 * string/test-strcmp.c (check): Add explicit test for situations where
4576 there are multiple zero bytes after the first.
4578 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4581 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4582 when compiling wprintf.
4583 * stdio-common/tstdiomisc.c (t3): New function.
4586 2014-05-01 Steve Ellcey <sellcey@mips.com>
4588 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4589 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4590 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4591 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4593 2014-05-01 Steve Ellcey <sellcey@mips.com>
4595 * stdlib/longlong.h: Updated from GCC.
4597 2014-05-01 Will Newton <will.newton@linaro.org>
4598 Bernard Ogden <bernie.ogden@linaro.org>
4600 * NEWS: Update fixed bug list.
4603 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4605 2014-04-30 David S. Miller <davem@davemloft.net>
4607 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4608 (libc_feholdexcept_setround_sparc_ctx): New function.
4609 (libc_fesetenv_sparc_ctx): Likewise.
4610 (libc_feupdateenv_sparc_ctx): Likewise.
4611 (libc_feholdsetround_sparc_ctx): Likewise.
4612 (libc_feholdexcept_setround_ctx): Define.
4613 (libc_feholdexcept_setroundf_ctx): Likewise.
4614 (libc_feholdexcept_setroundl_ctx): Likewise.
4615 (libc_fesetenv_ctx): Likewise.
4616 (libc_fesetenvf_ctx): Likewise.
4617 (libc_fesetenvl_ctx): Likewise.
4618 (libc_feupdateenv_ctx): Likewise.
4619 (libc_feupdateenvf_ctx): Likewise.
4620 (libc_feupdateenvl_ctx): Likewise.
4621 (libc_feresetround_ctx): Likewise.
4622 (libc_feresetroundf_ctx): Likewise.
4623 (libc_feresetroundl_ctx): Likewise.
4624 (libc_feholdsetround_ctx): Likewise.
4625 (libc_feholdsetroundf_ctx): Likewise.
4626 (libc_feholdsetroundl_ctx): Likewise.
4628 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4629 with __USE_GNU instead of XOPEN cpp guards.
4631 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4634 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4635 with XOPEN cpp guards.
4637 2014-04-30 Julian Brown <julian@codesourcery.com>
4640 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4643 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4646 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4648 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4649 * sysdeps/unix/sysv/linux/configure: Regenerated.
4650 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4651 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4652 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4653 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4654 * README: Update reference to required Linux kernel version.
4655 * manual/install.texi (Linux): Update reference to required Linux
4656 kernel headers version.
4657 * INSTALL: Regenerated.
4659 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4661 [POSIX] (limits.h): Likewise.
4662 [POSIX] (math.h): Likewise.
4663 [POSIX] (sys/wait.h): Likewise.
4664 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4666 [POSIX] (stddef.h): Do not allow header inclusion.
4668 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4670 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4672 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4674 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4675 Return immediately after lll_futex_wake.
4677 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4680 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4682 (datahead_init_pos): Call datahead_init_common early.
4683 (datahead_init_neg): Likewise.
4685 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4686 datahead_init_neg): New functions.
4687 * nscd/aicache.c (addhstaiX): Use them.
4688 * nscd/grpcache.c (cache_addgr): Likewise.
4689 * nscd/hstcache.c (cache_addhst): Likewise.
4690 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4691 * nscd/netgroupcache.c (do_notfound): Likewise.
4692 (addgetnetgrentX): Likewise.
4693 (addinnetgrX): Likewise.
4694 * nscd/pwdcache.c (cache_addpw): Likewise.
4695 * nscd/servicescache.c (cache_addserv): Likewise.
4697 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4698 Atsushi Onoe <atsushi@onoe.org>
4703 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4704 one response is valid.
4705 * resolv/res_send.c (send_dg): Check for validity of other
4706 response if the current response is a referral.
4708 2014-04-29 Steve Ellcey <sellcey@mips.com>
4710 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4712 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4715 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4716 Always divide by positive zero when computing -Inf result.
4717 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4718 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4720 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4722 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4723 FPSCR if value do not change.
4724 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4725 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4726 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4727 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4728 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4729 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4732 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4734 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4735 * sysdeps/unix/sysv/linux/hppa: Move directory from
4736 ports/systeps/unix/sysv/linux/hppa.
4737 * README: Update listing for hppa-*-linux-gnu.
4739 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4742 * manual/stdio.texi (Hook functions): Fix types of stream hook
4745 * socket/sys/socket.h: Fix typo in comment.
4747 2014-04-28 Wilco <wdijkstr@arm.com>
4749 * sysdeps/arm/fenv_private.h: New file.
4750 * sysdeps/arm/math_private.h: New file.
4751 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4753 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4755 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4757 (La_x86_64_retval): Likewise.
4759 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4761 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4762 fpsr if value didn't change.
4763 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4764 to fpcr if value didn't change.
4765 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4766 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4767 fpsr or fpcr if value didn't change.
4768 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4769 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4770 fpcr if value didn't change.
4771 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4772 to fpsr if value didn't change.
4774 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4776 * nptl/tst-sem3.c: Use test-skeleton.c
4777 (main): Rename to do_test. Use return instead of
4779 * nptl/tst-sem4.c: Use test-skeleton.c
4780 (main): Rename to do_test.
4782 2014-04-22 David S. Miller <davem@davemloft.net>
4784 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4785 (struct sigaction): New struct member __glibc_reserved0, change
4786 type of sa_flags to int.
4788 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4790 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4791 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4793 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4795 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4796 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4798 2014-04-22 Will Newton <will.newton@linaro.org>
4799 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4801 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4802 (__longjmp): Add longjmp and longjmp_target SystemTap
4804 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4805 (__sigsetjmp): Add setjmp SystemTap probe.
4807 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4809 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4812 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4814 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4816 * sysdeps/powerpc/fpu/fenv_private.h
4817 (libc_feholdexcept_setroundl_ctx): Define to
4818 libc_feholdexcept_setround_ppc_ctx.
4819 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4820 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4821 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4822 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4824 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4826 * sysdeps/aarch64/math-tests.h: New file.
4828 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4830 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4833 Check and set bit_AVX2_Usable.
4834 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4836 (bit_AVX2): Likewise.
4837 (index_AVX2_Usable): Likewise.
4838 (CPUID_AVX2): Likewise.
4839 (HAS_AVX2): Likewise.
4841 2014-04-17 Will Newton <will.newton@linaro.org>
4843 * manual/setjmp.texi (System V contexts): Add note that
4844 calling setcontext on a context created by a call to a
4845 signal handler is undefined. Update text to note that
4846 setcontext from a signal handler is possible but not
4850 * stdlib/tst-setcontext.c: Include signal.h.
4851 (main): Check that the signal stack before and
4852 after swapcontext is the same.
4854 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4855 Re-implement to restore registers in user code and avoid
4856 rt_sigreturn system call.
4858 2014-04-17 Wilco <wdijkstr@arm.com>
4860 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4861 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4862 * math/test-fenv.c: Skip exception trap tests on targets which only
4863 support non-stop mode.
4865 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4866 Wilco Dijkstra <wilco.dijkstra@arm.com>
4868 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4869 (libc_feholdsetround_aarch64_ctx)
4870 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4871 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4872 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4873 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4874 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4875 (libc_feresetround_noexl_ctx): Define.
4877 2014-04-16 Richard Henderson <rth@redhat.com>
4879 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4881 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4884 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4885 const from the non-libc, non-ldso copy.
4887 * sysdeps/alpha/libm-test-ulps: Regenerate.
4889 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4890 Wilco Dijkstra <wilco.dijkstra@arm.com>
4892 * sysdeps/aarch64/fpu/math_private.h: New file.
4894 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4896 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4898 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4900 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4901 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4902 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4903 Intel MPX bound registers before _dl_profile_fixup.
4904 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4905 registers after _dl_profile_fixup. Save and restore bound
4906 registers bnd0/bnd1 when calling _dl_call_pltexit.
4907 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4908 (LR_BND_OFFSET): Likewise.
4909 (LRV_BND0_OFFSET): Likewise.
4910 (LRV_BND1_OFFSET): Likewise.
4912 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4914 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4916 * sysdeps/mach/hurd/i386/tls.h: ... here.
4917 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4918 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4921 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4923 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4925 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4927 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4929 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4932 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4933 * sysdeps/s390/configure: Regenerate.
4936 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4937 Set round-to-nearest internally to reduce error accumulation.
4939 2014-04-16 Alan Modra <amodra@gmail.com>
4943 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4944 * math/libm-test.inc (frexp_test_data): Add tests.
4945 * NEWS: Update fixed bug list.
4947 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4949 * benchtests/Makefile: Depend on libraries in build directory.
4950 (bench-math): Separate out math tests.
4951 (bench-pthread): Separate out pthread tests.
4952 (bench): Include math and pthread tests.
4954 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4957 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4958 _dl_debug_initialize.
4960 * configure.ac: Remove SELinux header check.
4961 * configure: Regenerate.
4962 * nscd/selinux.c (perms): Array of const char* to permission names.
4963 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4964 default policy. Call string_to_security_class and string_to_av_perm to
4965 translate strings. Enforce default policy and call avs_has_perm with
4966 results of translated strings.
4968 2014-04-13 David S. Miller <davem@davemloft.net>
4970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4972 2014-04-12 Allan McRae <allan@archlinux.org>
4975 * manual/string.texi (Collation Functions): Fix qsort argument
4977 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4979 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4981 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4982 Make the test a no-op if there are no exceptions defined.
4984 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4986 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4987 enable-hardcoded-path-in-tests
4989 2014-04-11 Will Newton <will.newton@linaro.org>
4991 * benchtests/Makefile (extra-objs): Add json-lib.o.
4992 (bench-func): Tidy up JSON output.
4993 * benchtests/bench-skeleton.c: Include json-lib.h.
4994 (main): Use JSON library functions to do output of
4996 * benchtests/bench-timing-type.c (main): Output the
4997 timing type simply, leaving formatting to the user.
4998 * benchtests/json-lib.c: New file.
4999 * benchtests/json-lib.h: Likewise.
5001 2014-04-11 Torvald Riegel <triegel@redhat.com>
5004 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5005 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5006 memory barriers. Add comments.
5007 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5008 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5009 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5010 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5011 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5012 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5014 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5016 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5017 * sysdeps/s390/s390-64/configure.ac: ... this ...
5018 * sysdeps/s390/configure.ac: ... to here.
5019 * sysdeps/s390/s390-32/configure: Delete file.
5020 * sysdeps/s390/s390-64/configure: Delete file.
5021 * sysdeps/s390/configure: Regenerate.
5023 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5025 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5027 2014-04-11 Will Newton <will.newton@linaro.org>
5029 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5030 to zero if it is not defined elsewhere. (mtrim): Test
5031 the value of MALLOC_DEBUG with #if rather than #ifdef.
5033 2014-04-10 Torvald Riegel <triegel@redhat.com>
5035 * benchtests/pthread_once-inputs: New file.
5036 * benchtests/pthread_once-source.c: New file.
5037 * benchtests/README: Update documentation.
5039 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5040 H.J. Lu <hongjiu.lu@intel.com>
5042 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5043 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5044 * sysdeps/x86_64/configure: Regenerated.
5045 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5047 (REGISTER_SAVE_RAX): Likewise.
5048 (REGISTER_SAVE_RCX): Likewise.
5049 (REGISTER_SAVE_RDX): Likewise.
5050 (REGISTER_SAVE_RSI): Likewise.
5051 (REGISTER_SAVE_RDI): Likewise.
5052 (REGISTER_SAVE_R8): Likewise.
5053 (REGISTER_SAVE_R9): Likewise.
5054 (REGISTER_SAVE_BND0): Likewise.
5055 (REGISTER_SAVE_BND1): Likewise.
5056 (REGISTER_SAVE_BND2): Likewise.
5057 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5058 bound registers when calling _dl_fixup.
5060 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5062 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5063 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5065 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5066 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5067 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5068 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5069 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5070 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5071 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5073 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5076 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5077 pathconf(_PC_NAME_MAX).
5079 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5081 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5083 (__PTHREAD_SPINS): Move definition to ...
5084 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5085 (__PTHREAD_SPINS): ... here.
5086 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5087 (__PTHREAD_SPIN): Likewise.
5088 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5089 (__PTHREAD_SPIN): Likewise.
5090 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5091 (__PTHREAD_SPIN): Likewise.
5092 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5093 (__PTHREAD_SPIN): Likewise.
5094 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5095 (__PTHREAD_SPIN): Likewise.
5096 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5097 (__PTHREAD_SPIN): Likewise.
5098 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5099 (__PTHREAD_SPIN): Likewise.
5100 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5101 (__PTHREAD_SPIN): Likewise.
5102 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5103 (__PTHREAD_SPIN): Likewise.
5104 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5105 (__PTHREAD_SPIN): Likewise.
5106 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5107 (__PTHREAD_SPIN): Likewise.
5108 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5109 (__PTHREAD_SPIN): Likewise.
5111 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5112 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5113 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5114 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5116 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5117 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5118 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5119 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5121 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5122 strlen symbol for non multi-arch builds.
5123 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5124 missing hidden_def and weak_alias.
5126 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5128 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5130 2014-04-07 Will Newton <will.newton@linaro.org>
5132 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5133 and contents. [!_LIBC] Remove #ifndef and contents.
5134 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5135 * string/memccpy.c (__memccpy): Use ANSI prototype.
5136 * string/memfrob.c (memfrob): Likewise.
5137 * string/strcoll.c (STRCOLL): Likewise.
5138 * string/strlen.c (strlen): Likewise.
5139 * string/strtok.c (STRTOK): Likewise.
5140 * string/strcat.c: Remove unused #include of memcopy.h.
5141 (strcat): Use ANSI prototype.
5142 * string/strchr.c: Remove unused #include of memcopy.h.
5143 (strchr): Use ANSI prototype.
5144 * string/strcmp.c: Remove unused #include of memcopy.h.
5145 (strcmp): Use ANSI prototype.
5146 * string/strcpy.c: Remove unused #include of memcopy.h.
5147 (strcpy): Use ANSI prototype.
5149 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5151 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5152 * config.make.in (config-extra-cppflags): Set it from
5153 libc_extra_cppflags.
5154 * configure.ac (libc_extra_cflags): Make it accumulate over
5155 configure fragments.
5156 (libc_extra_cppflags): New flag.
5157 * configure. Regenerate.
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5159 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5160 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5164 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5165 result for FE_DOWNWARD rounding mode.
5166 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5170 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5172 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5173 in function argument name.
5175 2014-04-03 David Svoboda <svoboda@cert.org>
5178 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5181 2014-04-03 Roland McGrath <roland@hack.frob.com>
5183 * elf/dl-unmap-segments.h: New file.
5184 * sysdeps/generic/ldsodefs.h
5185 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5186 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5187 * elf/dl-fptr.c: Likewise.
5188 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5189 * sysdeps/aarch64/tlsdesc.c: Likewise.
5190 * sysdeps/arm/tlsdesc.c: Likewise.
5191 * sysdeps/i386/tlsdesc.c: Likewise.
5192 * sysdeps/tile/dl-runtime.c: Likewise.
5193 * sysdeps/x86_64/tlsdesc.c: Likewise.
5194 * elf/dl-load.h: New file.
5195 * elf/dl-load.c: Include it.
5196 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5197 Macros moved to dl-load.h.
5198 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5199 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5200 Use _dl_unmap_segments in place of __munmap.
5201 Break out segment-mapping loop into ...
5202 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5204 2014-04-03 Will Newton <will.newton@linaro.org>
5206 * elf/dl-lookup.c (do_lookup_x): Remove comment
5207 referring to nested function and move variable
5208 declarations down to before first use.
5210 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5214 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5216 * math/s_catanf.c (__catanf): Likewise.
5217 * math/s_catanh.c (__catanh): Likewise.
5218 * math/s_catanhf.c (__catanhf): Likewise.
5219 * math/s_catanhl.c (__catanhl): Likewise.
5220 * math/s_catanl.c (__catanl): Likewise.
5221 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5222 by positive zero when computing -Inf result.
5223 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5224 (catanh_test): Likewise.
5225 * sysdeps/i386/fpu/libm-test-ulps: Update.
5226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5229 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5230 instead of using underflowing value in computing result.
5231 * math/s_clog10.c (__clog10): Likewise.
5232 * math/s_clog10f.c (__clog10f): Likewise.
5233 * math/s_clog10l.c (__clog10l): Likewise.
5234 * math/s_clogf.c (__clogf): Likewise.
5235 * math/s_clogl.c (__clogl): Likewise.
5236 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5237 (clog10_test): Likewise.
5238 * sysdeps/i386/fpu/libm-test-ulps: Update.
5239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5241 2014-04-02 Alan Modra <amodra@gmail.com>
5244 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5245 output when value is near a power of two. Use int64_t for lx and
5246 remove casts. Use decimal rather than hex exponent constants.
5247 Don't use long double multiplication when double will suffice.
5248 * math/libm-test.inc (nextafter_test_data): Add tests.
5249 * NEWS: Add 16739 and 16786 to bug list.
5251 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5253 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5255 2014-04-01 Will Newton <will.newton@linaro.org>
5257 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5258 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5260 2014-04-01 Florian Weimer <fweimer@redhat.com>
5263 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5264 * nptl/tst-setuid2.c: New file.
5265 * nptl/Makefile (xtests): Add tst-setuid2.
5267 2014-04-01 Alan Modra <amodra@gmail.com>
5270 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5272 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5276 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5277 set errno as appropriate.
5278 * math/w_scalbf.c (__scalbf): Likewise.
5279 * math/w_scalbl.c (__scalbl): Likewise.
5280 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5281 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5282 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5286 * math/w_atan2.c: Include <errno.h>.
5287 (__atan2): Set errno for result underflowing to zero.
5288 * math/w_atan2f.c: Include <errno.h>.
5289 (__atan2f): Set errno for result underflowing to zero.
5290 * math/w_atan2l.c: Include <errno.h>.
5291 (__atan2l): Set errno for result underflowing to zero.
5292 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5294 * math/auto-libm-test-out: Regenerated.
5296 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5298 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5299 Encode instruction correctly in little endian.
5300 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5302 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5304 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5306 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5309 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5312 * sysdeps/unix/sysv/linux/kernel-features.h
5313 [__sparc__ && !__arch64__ && !__sparc_v9__]
5314 (__ASSUME_SET_ROBUST_LIST): Do not define.
5315 [__sparc__ && !__arch64__ && !__sparc_v9__]
5316 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5317 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5319 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5320 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5321 (__ASSUME_REQUEUE_PI): Likewise.
5322 (__ASSUME_SET_ROBUST_LIST): Likewise.
5323 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5324 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5326 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5327 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5329 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5331 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5333 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5334 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5336 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5337 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5341 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5342 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5343 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5345 2014-03-31 Will Newton <will.newton@linaro.org>
5347 * benchtests/Makefile (bench): Add ffs and ffsll to list
5349 * benchtests/ffs-inputs: New file.
5350 * benchtests/ffsll-inputs: Likewise.
5352 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5355 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5356 too large before casting to int.
5357 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5358 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5359 * math/libm-test.inc (scalb_test_data): Add more tests.
5361 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5363 * benchtests/Makefile (DETAILED_OPT): New make option.
5364 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5366 * benchtests/bench-skeleton.c: Include stdbool.h.
5367 (main): Store and print timings per input.
5368 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5369 member to each argument value.
5370 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5371 (_print_arg_data): Initialize per-input timing to 0.
5373 * benchtests/Makefile (timing-type): New binary.
5374 (bench-clean): Also remove bench-timing-type.
5375 (bench): New target for timing-type.
5376 (bench-func): Print output in JSON format.
5377 * benchtests/bench-skeleton.c (main): Print output in JSON
5379 * benchtests/bench-timing-type.c: New file.
5380 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5381 (TIMING_PRINT_STATS): Remove.
5382 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5385 * benchtests/bench-modf.c: Remove.
5386 * benchtests/modf-inputs: New inputs file.
5388 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5391 * math/s_clog10.c (M_PI_LOG10E): New macro.
5392 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5393 imaginary parts are 0.
5394 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5395 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5396 imaginary parts are 0.
5397 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5398 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5399 imaginary parts are 0.
5400 * math/libm-test.inc (clog10_test_data): Update expected results
5401 for when real and imaginary parts are 0.
5403 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5405 * elf/dl-load.c: Finish conversion of __builtin_expect into
5408 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5411 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5412 1+x for argument with exponent below -67.
5413 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5415 * math/auto-libm-test-in: Add more tests of exp.
5416 * math/auto-libm-test-out: Regenerated.
5418 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5421 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5422 (nscd_getnetgrent): Use it.
5425 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5428 2014-03-27 Andi Kleen <ak@linux.intel.com>
5430 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5431 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5432 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5433 (lll_robust_unlock): Remove out of line section. Use cfi
5435 (LLL_STUB_UNWIND_INFO*): Remove.
5436 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5437 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5438 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5439 (lll_robust_unlock): Remove out of line section. Use cfi
5441 (LLL_STUB_UNWIND_INFO*): Remove.
5443 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5446 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5449 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5451 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5453 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5456 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5458 * math/test-fenv-preserve.c: New file.
5459 * math/Makefile (tests): Add test-fenv-preserve.
5461 2014-03-26 Will Newton <will.newton@linaro.org>
5463 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5465 2014-03-25 Roland McGrath <roland@hack.frob.com>
5467 * scripts/versionlist.awk: Partition the version sets and emit all
5468 GLIBC_* (sorted) before all others (sorted).
5470 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5472 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5473 GLIBC_2.2.5 version.
5475 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5477 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5480 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5485 2014-03-25 Andreas Schwab <schwab@suse.de>
5487 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5488 label to be used after in6ailist is initialized.
5490 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5492 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5493 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5495 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5499 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5501 (fp_formats): Update initializers.
5502 (init_fp_formats): Initialize new field.
5503 (output_for_one_input_case): Allow underflow for results up to
5505 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5506 * math/auto-libm-test-in: Don't mark some underflows from asin and
5508 * math/auto-libm-test-out: Regenerated.
5509 * sysdeps/i386/fpu/libm-test-ulps: Update.
5510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5512 2014-03-25 Andreas Schwab <schwab@suse.de>
5514 * libio/Makefile (tst-ftell-partial-wide-ENV)
5515 (tst-ftell-active-handler-ENV): Define.
5517 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5519 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5521 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5523 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5525 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5527 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5528 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5529 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5531 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5534 * elf/dl-load.c (open_verify): Add mode parameter.
5535 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5536 (open_path): Change from boolean 'secure' to complete flag 'mode'
5537 (_dl_map_object): Adjust.
5538 * elf/Makefile (tests): Add tst-dlopen-aout.
5539 * elf/tst-dlopen-aout.c: New test.
5541 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5544 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5545 (struct stat): Rename member pad0 to __glibc_reserved0.
5548 * sysdeps/s390/s390-32/bits/wordsize.h
5549 (__WORDSIZE32_SIZE_ULONG): New define.
5550 * sysdeps/s390/s390-64/bits/wordsize.h
5551 (__WORDSIZE32_SIZE_ULONG): Likewise.
5552 * sysdeps/generic/stdint.h (SIZE_MAX):
5553 Define as UL if __WORDSIZE32_SIZE_ULONG.
5556 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5557 (__glibc_reserved0): New variable.
5558 (sa_flags): Change type to int.
5560 * posix/Makefile (before-compile): Use += before-compile instead
5563 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5564 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5566 2014-03-20 Andreas Schwab <schwab@suse.de>
5569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5570 non-matching result from nscd.
5572 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5574 * scripts/bench.py: Moved to ...
5575 * benchtests/scripts/bench.py: ... here.
5576 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5578 2014-03-24 Andreas Schwab <schwab@suse.de>
5581 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5582 alloca_account and account alloca use for struct in6ailist.
5584 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5587 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5588 rounding mode to recompute results that overflow to infinity or
5590 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5592 * math/auto-libm-test-out: Regenerated.
5593 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5594 (ccosh_test): Likewise.
5595 (csin_test_data): Use plus_oflow.
5596 (csin_test): Use ALL_RM_TEST.
5597 (csinh_test_data): Use plus_oflow.
5598 (csinh_test): Use ALL_RM_TEST.
5599 * sysdeps/i386/fpu/libm-test-ulps: Update.
5600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5602 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5604 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5605 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5606 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5609 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5611 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5612 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5613 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5614 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5616 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5617 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5619 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5620 * sysdeps/i386/fpu/libm-test-ulps: Update.
5621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5623 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5625 * scripts/bench.pl: Remove file.
5626 * scripts/bench.py: New benchmark script.
5627 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5628 * benchtests/README: Mention python dependency.
5629 * scripts/pylintrc: New file.
5630 * scripts/pylint: New file.
5632 * bits/mathdef.h: Use #ifdef instead of #if.
5633 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5634 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5635 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5636 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5637 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5638 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5640 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5641 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5643 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5645 and strpbrk-ppc64 objects.
5646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5647 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5648 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5649 multiarch strpbrk for POWER7.
5650 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5651 multiarch strpbrk for PPC64.
5652 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5654 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5657 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5659 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5660 (atan_test): Likewise.
5661 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5662 (atanh_test): Use ALL_RM_TEST.
5663 (atan2_test_data): Likewise.
5664 (cabs_test): Likewise.
5665 (cacosh_test): Likewise.
5666 (carg_test): Likewise.
5667 (casin_test): Likewise.
5668 (casinh_test): Likewise.
5669 (cbrt_test): Likewise.
5670 (csqrt_test): Likewise.
5671 (erf_test): Likewise.
5672 (erfc_test): Likewise.
5673 (pow10_test): Likewise.
5674 (exp2_test): Likewise.
5675 (hypot_test): Likewise.
5676 (j0_test): Likewise.
5677 (j1_test): Likewise.
5678 (lgamma_test): Likewise.
5679 (gamma_test): Likewise.
5680 (sincos_test): Likewise.
5681 (tanh_test): Likewise.
5682 (y0_test): Likewise.
5683 (y1_test): Likewise.
5684 * sysdeps/i386/fpu/libm-test-ulps: Update.
5685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5687 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5689 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5691 and strcspn-ppc64 objects.
5692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5693 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5694 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5695 multiarch strcspn for POWER7.
5696 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5697 multiarch strcspn for PPC64.
5698 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5700 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5703 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5705 * math/gen-libm-test.pl (generate_testfile): Expect only function
5706 name as argument to AUTO_TESTS_* and pass results for all rounding
5707 modes to parse_args.
5708 (parse_auto_input): Separate inputs of automatic tests from
5709 outputs before storing in %auto_tests.
5710 * math/libm-test.inc (acos_test_data): Update call to
5712 (acos_test): Use ALL_RM_TEST.
5713 (acos_tonearest_test_data): Remove.
5714 (acos_test_tonearest): Likewise.
5715 (acos_towardzero_test_data): Likewise.
5716 (acos_test_towardzero): Likewise.
5717 (acos_downward_test_data): Likewise.
5718 (acos_test_downward): Likewise.
5719 (acos_upward_test_data): Likewise.
5720 (acos_test_upward): Likewise.
5721 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5722 (asin_test_data): Likewise.
5723 (asin_test): Use ALL_RM_TEST.
5724 (asin_tonearest_test_data): Remove.
5725 (asin_test_tonearest): Likewise.
5726 (asin_towardzero_test_data): Likewise.
5727 (asin_test_towardzero): Likewise.
5728 (asin_downward_test_data): Likewise.
5729 (asin_test_downward): Likewise.
5730 (asin_upward_test_data): Likewise.
5731 (asin_test_upward): Likewise.
5732 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5733 (atan_test_data): Likewise.
5734 (atanh_test_data): Likewise.
5735 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5736 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5737 (carg_test_data): Likewise.
5738 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5739 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5740 (ccosh_test_data): Likewise.
5741 (cexp_test_data): Likewise.
5742 (clog_test_data): Likewise.
5743 (clog10_test_data): Likewise.
5744 (cos_test_data): Update call to AUTO_TESTS_f_f.
5745 (cos_test): Use ALL_RM_TEST.
5746 (cos_tonearest_test_data): Remove.
5747 (cos_test_tonearest): Likewise.
5748 (cos_towardzero_test_data): Likewise.
5749 (cos_test_towardzero): Likewise.
5750 (cos_downward_test_data): Likewise.
5751 (cos_test_downward): Likewise.
5752 (cos_upward_test_data): Likewise.
5753 (cos_test_upward): Likewise.
5754 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5755 (cosh_test): Use ALL_RM_TEST.
5756 (cosh_tonearest_test_data): Remove.
5757 (cosh_test_tonearest): Likewise.
5758 (cosh_towardzero_test_data): Likewise.
5759 (cosh_test_towardzero): Likewise.
5760 (cosh_downward_test_data): Likewise.
5761 (cosh_test_downward): Likewise.
5762 (cosh_upward_test_data): Likewise.
5763 (cosh_test_upward): Likewise.
5764 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5765 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5766 (ctan_test_data): Likewise.
5767 (ctan_test): Use ALL_RM_TEST.
5768 (ctan_tonearest_test_data): Remove.
5769 (ctan_test_tonearest): Likewise.
5770 (ctan_towardzero_test_data): Likewise.
5771 (ctan_test_towardzero): Likewise.
5772 (ctan_downward_test_data): Likewise.
5773 (ctan_test_downward): Likewise.
5774 (ctan_upward_test_data): Likewise.
5775 (ctan_test_upward): Likewise.
5776 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5777 (ctanh_test): Use ALL_RM_TEST.
5778 (ctanh_tonearest_test_data): Remove.
5779 (ctanh_test_tonearest): Likewise.
5780 (ctanh_towardzero_test_data): Likewise.
5781 (ctanh_test_towardzero): Likewise.
5782 (ctanh_downward_test_data): Likewise.
5783 (ctanh_test_downward): Likewise.
5784 (ctanh_upward_test_data): Likewise.
5785 (ctanh_test_upward): Likewise.
5786 (erf_test_data): Update call to AUTO_TESTS_f_f.
5787 (erfc_test_data): Likewise.
5788 (exp_test_data): Likewise.
5789 (exp_test): Use ALL_RM_TEST.
5790 (exp_tonearest_test_data): Remove.
5791 (exp_test_tonearest): Likewise.
5792 (exp_towardzero_test_data): Likewise.
5793 (exp_test_towardzero): Likewise.
5794 (exp_downward_test_data): Likewise.
5795 (exp_test_downward): Likewise.
5796 (exp_upward_test_data): Likewise.
5797 (exp_test_upward): Likewise.
5798 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5799 (exp10_test): Use ALL_RM_TEST.
5800 (exp10_tonearest_test_data): Remove.
5801 (exp10_test_tonearest): Likewise.
5802 (exp10_towardzero_test_data): Likewise.
5803 (exp10_test_towardzero): Likewise.
5804 (exp10_downward_test_data): Likewise.
5805 (exp10_test_downward): Likewise.
5806 (exp10_upward_test_data): Likewise.
5807 (exp10_test_upward): Likewise.
5808 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5809 (expm1_test_data): Likewise.
5810 (expm1_test): Use ALL_RM_TEST.
5811 (expm1_tonearest_test_data): Remove.
5812 (expm1_test_tonearest): Likewise.
5813 (expm1_towardzero_test_data): Likewise.
5814 (expm1_test_towardzero): Likewise.
5815 (expm1_downward_test_data): Likewise.
5816 (expm1_test_downward): Likewise.
5817 (expm1_upward_test_data): Likewise.
5818 (expm1_test_upward): Likewise.
5819 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5820 (fma_test): Use ALL_RM_TEST.
5821 (fma_towardzero_test_data): Remove.
5822 (fma_test_towardzero): Likewise.
5823 (fma_downward_test_data): Likewise.
5824 (fma_test_downward): Likewise.
5825 (fma_upward_test_data): Likewise.
5826 (fma_test_upward): Likewise.
5827 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5828 (j0_test_data): Update call to AUTO_TESTS_f_f.
5829 (j1_test_data): Likewise.
5830 (jn_test_data): Update call to AUTO_TESTS_if_f.
5831 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5832 (log_test_data): Update call to AUTO_TESTS_f_f.
5833 (log10_test_data): Likewise.
5834 (log1p_test_data): Likewise.
5835 (log2_test_data): Likewise.
5836 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5837 (pow_tonearest_test_data): Likewise.
5838 (sin_test_data): Update call to AUTO_TESTS_f_f.
5839 (sin_test): Use ALL_RM_TEST.
5840 (sin_tonearest_test_data): Remove.
5841 (sin_test_tonearest): Likewise.
5842 (sin_towardzero_test_data): Likewise.
5843 (sin_test_towardzero): Likewise.
5844 (sin_downward_test_data): Likewise.
5845 (sin_test_downward): Likewise.
5846 (sin_upward_test_data): Likewise.
5847 (sin_test_upward): Likewise.
5848 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5849 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5850 (sinh_test): Use ALL_RM_TEST.
5851 (sinh_tonearest_test_data): Remove.
5852 (sinh_test_tonearest): Likewise.
5853 (sinh_towardzero_test_data): Likewise.
5854 (sinh_test_towardzero): Likewise.
5855 (sinh_downward_test_data): Likewise.
5856 (sinh_test_downward): Likewise.
5857 (sinh_upward_test_data): Likewise.
5858 (sinh_test_upward): Likewise.
5859 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5860 (sqrt_test): Use ALL_RM_TEST.
5861 (sqrt_tonearest_test_data): Remove.
5862 (sqrt_test_tonearest): Likewise.
5863 (sqrt_towardzero_test_data): Likewise.
5864 (sqrt_test_towardzero): Likewise.
5865 (sqrt_downward_test_data): Likewise.
5866 (sqrt_test_downward): Likewise.
5867 (sqrt_upward_test_data): Likewise.
5868 (sqrt_test_upward): Likewise.
5869 (tan_test_data): Update call to AUTO_TESTS_f_f.
5870 (tan_test): Use ALL_RM_TEST.
5871 (tan_tonearest_test_data): Remove.
5872 (tan_test_tonearest): Likewise.
5873 (tan_towardzero_test_data): Likewise.
5874 (tan_test_towardzero): Likewise.
5875 (tan_downward_test_data): Likewise.
5876 (tan_test_downward): Likewise.
5877 (tan_upward_test_data): Likewise.
5878 (tan_test_upward): Likewise.
5879 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5880 (tgamma_test_data): Likewise.
5881 (y0_test_data): Likewise.
5882 (y1_test_data): Likewise.
5883 (yn_test_data): Update call to AUTO_TESTS_if_f.
5884 (main): Do not call removed functions.
5886 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5888 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5889 (ldexp_test_data): Remove.
5890 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5892 (scalb_test): Use ALL_RM_TEST.
5894 2014-03-19 Andreas Schwab <schwab@suse.de>
5896 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5898 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5901 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5902 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5903 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5904 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5905 (__ASSUME_PREADV): Undefine.
5906 (__ASSUME_PWRITEV): Likewise.
5908 2014-03-18 Roland McGrath <roland@hack.frob.com>
5910 * bits/mman-linux.h: Add comment about non-Linux use.
5911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5912 bits/mman-linux.h resting place.
5914 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5915 * bits/mman-linux.h: ... here.
5917 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5919 * conform/conformtest.pl: Add standard definition when calling C
5920 preprocessor on data files.
5921 (checknamespace): Remove unused variable.
5923 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5925 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5926 minus_oflow, plus_uflow and minus_uflow in expected results.
5927 * math/libm-test.inc (scalbn_test_data): Add more tests of
5928 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5930 (scalbn_test): Use ALL_RM_TEST.
5931 (scalbln_test_data): Add more tests of negative arguments. Use
5932 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5933 (scalbln_test): Use ALL_RM_TEST.
5935 2014-03-18 Roland McGrath <roland@hack.frob.com>
5937 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5939 2014-03-18 Will Newton <will.newton@linaro.org>
5941 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5944 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5946 * Makerules [!subdir] (check-abi): Exit with error status if a
5949 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5951 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5952 for rint. Include results for all rounding modes.
5953 (nearbyint_test): Use ALL_RM_TEST.
5954 (rint_test_data): Include all tests used for nearbyint.
5956 2014-03-17 Will Newton <will.newton@linaro.org>
5958 * nptl/sysdeps/pthread/pthread.h: Revert previous
5961 * sysdeps/generic/ldsodefs.h: Revert previous
5964 * libio/genops.c: Revert previous change.
5965 * libio/libioP.h: Likewise.
5966 * stdio-common/vfprintf.c: Likewise.
5968 * sysdeps/generic/math_private.h: Revert previous
5971 * sysdeps/generic/math_private.h: Check whether
5972 HAVE_RM_CTX is defined with #ifdef rather
5975 * argp/argp-fmtstream.h: Check whether
5976 __STRICT_ANSI__ is defined with #ifdef rather
5978 * argp/argp.h: Likewise.
5980 * libio/genops.c: Check whether
5981 _IO_JUMPS_OFFSET is defined with #ifdef rather
5983 * libio/libioP.h: Likewise.
5984 * stdio-common/vfprintf.c: Likewise.
5986 * sysdeps/generic/ldsodefs.h: Check whether
5987 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5990 * nptl/sysdeps/pthread/pthread.h: Check
5991 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5994 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5996 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5998 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6002 * libio/fileops.c (_IO_file_open): Seek to end of file but
6003 don't cache the offset.
6004 (get_file_offset): Remove function.
6005 (do_ftell): Use cached offset when available.
6006 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6007 don't cache the offset.
6008 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6010 (do_one_test): Call it.
6011 (do_ftell_test): Fix up expected old offset for a+ mode.
6012 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6015 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6016 up test status with function return status.
6017 (do_write_test): Likewise.
6018 (do_append_test): Likewise.
6020 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6021 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6024 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6026 * math/gen-libm-test.pl (parse_args): Handle results specified for
6027 each rounding mode separately.
6028 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6029 tests and results from lrint_tonearest_test_data,
6030 lrint_towardzero_test_data, lrint_downward_test_data and
6031 lrint_upward_test_data.
6032 (lrint_test): Use ALL_RM_TEST.
6033 (lrint_tonearest_test_data): Remove.
6034 (lrint_test_tonearest): Likewise.
6035 (lrint_towardzero_test_data): Likewise.
6036 (lrint_test_towardzero): Likewise.
6037 (lrint_downward_test_data): Likewise.
6038 (lrint_test_downward): Likewise.
6039 (lrint_upward_test_data): Likewise.
6040 (lrint_test_upward): Likewise.
6041 (llrint_test_data): Merge in per-rounding-mode tests and results
6042 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6043 llrint_downward_test_data and llrint_upward_test_data.
6044 (llrint_test): Use ALL_RM_TEST.
6045 (llrint_tonearest_test_data): Remove.
6046 (llrint_test_tonearest): Likewise.
6047 (llrint_towardzero_test_data): Likewise.
6048 (llrint_test_towardzero): Likewise.
6049 (llrint_downward_test_data): Likewise.
6050 (llrint_test_downward): Likewise.
6051 (llrint_upward_test_data): Likewise.
6052 (llrint_test_upward): Likewise.
6053 (rint_test_data): Merge in per-rounding-mode tests and results
6054 from rint_tonearest_test_data, rint_towardzero_test_data,
6055 rint_downward_test_data and rint_upward_test_data. Add
6056 per-rounding-mode results for tests not in those arrays.
6057 (rint_test): Use ALL_RM_TEST.
6058 (rint_tonearest_test_data): Remove.
6059 (rint_test_tonearest): Likewise.
6060 (rint_towardzero_test_data): Likewise.
6061 (rint_test_towardzero): Likewise.
6062 (rint_downward_test_data): Likewise.
6063 (rint_test_downward): Likewise.
6064 (rint_upward_test_data): Likewise.
6065 (rint_test_upward): Likewise.
6066 (main): Don't call removed functions.
6068 2014-03-14 Roland McGrath <roland@hack.frob.com>
6070 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6071 "Compiled on ..." crapola. It is anti-useful.
6073 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6075 * scripts/evaluate-test.sh: Handle fourth argument to determine
6076 whether test run should stop on failure.
6077 * Makeconfig (stop-on-test-failure): New variable.
6078 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6079 $(stop-on-test-failure).
6080 * Makefile (tests): Give a summary of results from testing and
6081 exit with failure status if they include an ERROR or FAIL.
6083 * manual/install.texi (Configuring and compiling): Mention
6084 stop-on-test-failure=y.
6085 * INSTALL: Regenerated.
6087 2014-03-14 Roland McGrath <roland@hack.frob.com>
6089 * scripts/versionlist.awk: New file.
6090 * Makerules [$(build-shared) = yes]
6091 (postclean-generated): Add Versions.def, not Versions.def.v and
6093 ($(common-objpfx)Versions.def.v.i): Target removed.
6094 ($(common-objpfx)Versions.def): New target.
6095 ($(common-objpfx)Versions.all): Depend on that rather that
6096 $(common-objpfx)Versions.def.v.
6097 * Versions.def: File removed.
6099 * Makeconfig (+gccwarn): Add -Wundef.
6100 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6101 a dl-sysdep.h breaking its contract.
6102 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6103 * include/stackinfo.h: New file.
6104 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6105 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6106 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6107 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6108 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6109 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6110 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6111 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6112 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6113 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6114 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6115 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6116 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6117 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6118 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6120 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6123 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6125 * math/libm-test.inc (round_test_data): Add more tests.
6128 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6130 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6133 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6135 * math/libm-test.inc (ceil_test_data): Add more tests.
6137 * math/libm-test.inc (trunc_test_data): Add more tests related to
6140 2014-03-14 Roland McGrath <roland@hack.frob.com>
6142 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6143 with #if rather than #ifdef.
6144 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6146 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6148 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6149 first. Disable AVX-512 GCC support if assembler doesn't support
6151 * sysdeps/x86_64/configure: Regenerated.
6153 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6155 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6156 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6157 (__old_pthread_attr_setstack): Likewise.
6158 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6159 [!_STACK_GROWS_DOWN]: Likewise.
6161 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6163 * config.make.in (have-bash2): Delete.
6164 * configure.ac (libc_cv_have_bash2): Delete.
6165 * configure: Regenerate.
6166 * elf/Makefile (common-ldd-rewrite): Rename to ...
6167 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6168 (sh-ldd-rewrite): Delete.
6169 (bash-ldd-rewrite): Delete.
6170 (have-bash2): Delete checks.
6171 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6174 * config.make.in (have-ksh): Delete.
6176 * configure.ac (libc_cv_have_ksh): Delete.
6177 * configure: Regenerate.
6179 * elf/Makefile: Delete $(have-ksh) check.
6180 ($(objpfx)sotruss): Change KSH to BASH.
6181 * elf/sotruss.ksh: Rename to ...
6182 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6183 function style to match POSIX. Drop ksh vim mode setting.
6185 * manual/time.texi (Specifying the Time Zone with TZ): Change
6186 Tuesday to Thursday.
6188 * debug/tst-longjmp_chk2.c: Update header comment.
6189 (stackoverflow_handler): Add comment. Call assert on pass value.
6191 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6193 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6194 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6195 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6196 (La_x86_64_vector): Add zmm.
6197 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6198 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6199 ($(objpfx)tst-audit10): New target.
6200 ($(objpfx)tst-audit10.out): Likewise.
6201 (tst-audit10-ENV): New.
6202 (AVX512-CFLAGS): Likewise.
6203 (CFLAGS-tst-audit10.c): Likewise.
6204 (CFLAGS-tst-auditmod10a.c): Likewise.
6205 (CFLAGS-tst-auditmod10b.c): Likewise.
6206 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6207 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6208 * sysdeps/x86_64/configure: Regenerated.
6209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6210 AVX-512 zmm register support.
6211 (_dl_x86_64_save_sse): Likewise.
6212 (_dl_x86_64_restore_sse): Likewise.
6213 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6214 size vector registers.
6215 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6216 (ZMM_SIZE): Likewise.
6217 * sysdeps/x86_64/tst-audit10.c: New file.
6218 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6219 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6221 2014-03-13 Roland McGrath <roland@hack.frob.com>
6223 * configure.ac (HAVE_EHDR_START): New check.
6224 * configure: Regenerated.
6225 * config.h.in (HAVE_EHDR_START): New #undef.
6226 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6227 assuming the lowest-addressed segment maps the start of the file.
6229 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6231 * INSTALL: Regenerated.
6233 2014-03-13 Will Newton <will.newton@linaro.org>
6235 * manual/setjmp.texi (System V contexts): Improve
6236 clarity and grammar of documentation.
6238 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6241 * elf/Makefile (tests): Add tst-pie2.
6242 (tests-pie): Add tst-pie2.
6243 * elf/tst-pie2.c: New file.
6244 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6246 * elf/rtld.c (map_doit): Load executable as lt_executable.
6247 (dl_main): Likewise.
6249 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6252 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6253 (__ASSUME_PSELECT): Undefine.
6255 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6258 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6259 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6261 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6262 selector for static builds.
6264 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6267 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6270 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6272 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6273 IFUNC selector for static builds.
6275 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6277 * sysdeps/mips/math_private.h [__mips_hard_float]
6278 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6279 libc_feresetround_mips_ctx.
6280 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6281 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6282 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6285 * math/s_nextafter.c (__nextafter): Do not return value from
6286 overflowing computation.
6287 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6288 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6289 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6291 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6293 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6294 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6296 2014-03-11 Roland McGrath <roland@hack.frob.com>
6298 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6299 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6300 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6301 the new mov targetting sp.
6303 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6306 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6307 Define it for static builds as well.
6308 (NO_BZERO_IMPL): Likewise.
6310 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6312 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6313 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6314 multiarch strspn for PPC64.
6315 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6316 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6318 (__libc_ifunc_impl_list): Likewise.
6319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6320 multiarch optimizations
6321 * string/strspn.c (strspn): Using macro to redefine symbol name.
6323 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6324 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6326 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6327 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6328 multiarch strncat for PPC64.
6329 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6330 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6332 (__libc_ifunc_impl_list): Likewise.
6333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6334 multiarch optimizations
6336 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6339 * nscd/nscd.service: Make service type forking.
6341 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6343 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6344 sign in non default rounding modes.
6345 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6347 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6349 * math/libm-test.inc (ALL_RM_TEST): New macro.
6350 (ceil_test): Use ALL_RM_TEST.
6351 (cimag_test): Likewise.
6352 (conj_test): Likewise.
6353 (copysign_test): Likewise.
6354 (cproj_test): Likewise.
6355 (creal_test): Likewise.
6356 (fabs_test): Likewise.
6357 (floor_test): Likewise.
6358 (fmax_test): Likewise.
6359 (fmin_test): Likewise.
6360 (fmod_test): Likewise.
6361 (fpclassify_test): Likewise.
6362 (frexp_test): Likewise.
6363 (ilogb_test): Likewise.
6364 (isfinite_test): Likewise.
6365 (finite_test): Likewise.
6366 (isgreater_test): Likewise.
6367 (isgreaterequal_test): Likewise.
6368 (isinf_test): Likewise.
6369 (isless_test): Likewise.
6370 (islessequal_test): Likewise.
6371 (islessgreater_test): Likewise.
6372 (isnan_test): Likewise.
6373 (isnormal_test): Likewise.
6374 (issignaling_test): Likewise.
6375 (isunordered_test): Likewise.
6376 (logb_test): Likewise.
6377 (logb_downward_test_data): Remove.
6378 (logb_test_downward): Likewise.
6379 (lround_test): Use ALL_RM_TEST.
6380 (llround_test): Likewise.
6381 (modf_test): Likewise.
6382 (nexttoward_test): Likewise.
6383 (remainder_test): Likewise.
6384 (drem_test): Likewise.
6385 (remainder_tonearest_test_data): Likewise.
6386 (remainder_test_tonearest): Likewise.
6387 (drem_test_tonearest): Likewise.
6388 (remainder_towardzero_test_data): Likewise.
6389 (remainder_test_towardzero): Likewise.
6390 (drem_test_towardzero): Likewise.
6391 (remainder_downward_test_data): Likewise.
6392 (remainder_test_downward): Likewise.
6393 (drem_test_downward): Likewise.
6394 (remainder_upward_test_data): Likewise.
6395 (remainder_test_upward): Likewise.
6396 (drem_test_upward): Likewise.
6397 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6398 (round_test): Use ALL_RM_TEST.
6399 (signbit_test): Likewise.
6400 (trunc_test): Likewise.
6401 (significand_test): Likewise.
6402 (main): Don't call removed functions.
6404 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6407 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6409 (ILL_ILLOPN): Likewise.
6410 (ILL_ILLADR): Likewise.
6411 (ILL_ILLTRP): Likewise.
6412 (ILL_PRVOPC): Likewise.
6413 (ILL_PRVREG): Likewise.
6414 (ILL_COPROC): Likewise.
6415 (ILL_BADSTK): Likewise.
6416 (FPE_INTDIV): Likewise.
6417 (FPE_INTOVF): Likewise.
6418 (FPE_FLTDIV): Likewise.
6419 (FPE_FLTOVF): Likewise.
6420 (FPE_FLTUND): Likewise.
6421 (FPE_FLTRES): Likewise.
6422 (FPE_FLTINV): Likewise.
6423 (FPE_FLTSUB): Likewise.
6424 (SEGV_MAPERR): Likewise.
6425 (SEGV_ACCERR): Likewise.
6426 (BUS_ADRALN): Likewise.
6427 (BUS_ADRERR): Likewise.
6428 (BUS_OBJERR): Likewise.
6429 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6430 (TRAP_TRACE): Likewise.
6431 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6433 (CLD_KILLED): Likewise.
6434 (CLD_DUMPED): Likewise.
6435 (CLD_TRAPPED): Likewise.
6436 (CLD_STOPPED): Likewise.
6437 (CLD_CONTINUED): Likewise.
6438 (POLL_IN): Likewise.
6439 (POLL_OUT): Likewise.
6440 (POLL_MSG): Likewise.
6441 (POLL_ERR): Likewise.
6442 (POLL_PRI): Likewise.
6443 (POLL_HUP): Likewise.
6444 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6446 (ILL_ILLOPN): Likewise.
6447 (ILL_ILLADR): Likewise.
6448 (ILL_ILLTRP): Likewise.
6449 (ILL_PRVOPC): Likewise.
6450 (ILL_PRVREG): Likewise.
6451 (ILL_COPROC): Likewise.
6452 (ILL_BADSTK): Likewise.
6453 (FPE_INTDIV): Likewise.
6454 (FPE_INTOVF): Likewise.
6455 (FPE_FLTDIV): Likewise.
6456 (FPE_FLTOVF): Likewise.
6457 (FPE_FLTUND): Likewise.
6458 (FPE_FLTRES): Likewise.
6459 (FPE_FLTINV): Likewise.
6460 (FPE_FLTSUB): Likewise.
6461 (SEGV_MAPERR): Likewise.
6462 (SEGV_ACCERR): Likewise.
6463 (BUS_ADRALN): Likewise.
6464 (BUS_ADRERR): Likewise.
6465 (BUS_OBJERR): Likewise.
6466 (BUS_MCEERR_AR): Likewise.
6467 (BUS_MCEERR_AO): Likewise.
6468 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6469 (TRAP_TRACE): Likewise.
6470 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6472 (CLD_KILLED): Likewise.
6473 (CLD_DUMPED): Likewise.
6474 (CLD_TRAPPED): Likewise.
6475 (CLD_STOPPED): Likewise.
6476 (CLD_CONTINUED): Likewise.
6477 (POLL_IN): Likewise.
6478 (POLL_OUT): Likewise.
6479 (POLL_MSG): Likewise.
6480 (POLL_ERR): Likewise.
6481 (POLL_PRI): Likewise.
6482 (POLL_HUP): Likewise.
6483 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6484 (ILL_ILLOPN): Likewise.
6485 (ILL_ILLADR): Likewise.
6486 (ILL_ILLTRP): Likewise.
6487 (ILL_PRVOPC): Likewise.
6488 (ILL_PRVREG): Likewise.
6489 (ILL_COPROC): Likewise.
6490 (ILL_BADSTK): Likewise.
6491 (FPE_INTDIV): Likewise.
6492 (FPE_INTOVF): Likewise.
6493 (FPE_FLTDIV): Likewise.
6494 (FPE_FLTOVF): Likewise.
6495 (FPE_FLTUND): Likewise.
6496 (FPE_FLTRES): Likewise.
6497 (FPE_FLTINV): Likewise.
6498 (FPE_FLTSUB): Likewise.
6499 (SEGV_MAPERR): Likewise.
6500 (SEGV_ACCERR): Likewise.
6501 (BUS_ADRALN): Likewise.
6502 (BUS_ADRERR): Likewise.
6503 (BUS_OBJERR): Likewise.
6504 (BUS_MCEERR_AR): Likewise.
6505 (BUS_MCEERR_AO): Likewise.
6506 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6507 (TRAP_TRACE): Likewise.
6508 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6510 (CLD_KILLED): Likewise.
6511 (CLD_DUMPED): Likewise.
6512 (CLD_TRAPPED): Likewise.
6513 (CLD_STOPPED): Likewise.
6514 (CLD_CONTINUED): Likewise.
6515 (POLL_IN): Likewise.
6516 (POLL_OUT): Likewise.
6517 (POLL_MSG): Likewise.
6518 (POLL_ERR): Likewise.
6519 (POLL_PRI): Likewise.
6520 (POLL_HUP): Likewise.
6521 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6523 (ILL_ILLOPN): Likewise.
6524 (ILL_ILLADR): Likewise.
6525 (ILL_ILLTRP): Likewise.
6526 (ILL_PRVOPC): Likewise.
6527 (ILL_PRVREG): Likewise.
6528 (ILL_COPROC): Likewise.
6529 (ILL_BADSTK): Likewise.
6530 (ILL_BADIADDR): Likewise.
6531 (ILL_BREAK): Likewise.
6532 (FPE_INTDIV): Likewise.
6533 (FPE_INTOVF): Likewise.
6534 (FPE_FLTDIV): Likewise.
6535 (FPE_FLTOVF): Likewise.
6536 (FPE_FLTUND): Likewise.
6537 (FPE_FLTRES): Likewise.
6538 (FPE_FLTINV): Likewise.
6539 (FPE_FLTSUB): Likewise.
6540 (FPE_DECOVF): Likewise.
6541 (FPE_DECDIV): Likewise.
6542 (FPE_DECERR): Likewise.
6543 (FPE_INVASC): Likewise.
6544 (FPE_INVDEC): Likewise.
6545 (SEGV_MAPERR): Likewise.
6546 (SEGV_ACCERR): Likewise.
6547 (SEGV_PSTKOVF): Likewise.
6548 (BUS_ADRALN): Likewise.
6549 (BUS_ADRERR): Likewise.
6550 (BUS_OBJERR): Likewise.
6551 (BUS_MCEERR_AR): Likewise.
6552 (BUS_MCEERR_AO): Likewise.
6553 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6554 (TRAP_TRACE): Likewise.
6555 (TRAP_BRANCH): Likewise.
6556 (TRAP_HWBKPT): Likewise.
6557 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6559 (CLD_KILLED): Likewise.
6560 (CLD_DUMPED): Likewise.
6561 (CLD_TRAPPED): Likewise.
6562 (CLD_STOPPED): Likewise.
6563 (CLD_CONTINUED): Likewise.
6564 (POLL_IN): Likewise.
6565 (POLL_OUT): Likewise.
6566 (POLL_MSG): Likewise.
6567 (POLL_ERR): Likewise.
6568 (POLL_PRI): Likewise.
6569 (POLL_HUP): Likewise.
6570 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6571 (ILL_ILLOPN): Likewise.
6572 (ILL_ILLADR): Likewise.
6573 (ILL_ILLTRP): Likewise.
6574 (ILL_PRVOPC): Likewise.
6575 (ILL_PRVREG): Likewise.
6576 (ILL_COPROC): Likewise.
6577 (ILL_BADSTK): Likewise.
6578 (FPE_INTDIV): Likewise.
6579 (FPE_INTOVF): Likewise.
6580 (FPE_FLTDIV): Likewise.
6581 (FPE_FLTOVF): Likewise.
6582 (FPE_FLTUND): Likewise.
6583 (FPE_FLTRES): Likewise.
6584 (FPE_FLTINV): Likewise.
6585 (FPE_FLTSUB): Likewise.
6586 (SEGV_MAPERR): Likewise.
6587 (SEGV_ACCERR): Likewise.
6588 (BUS_ADRALN): Likewise.
6589 (BUS_ADRERR): Likewise.
6590 (BUS_OBJERR): Likewise.
6591 (BUS_MCEERR_AR): Likewise.
6592 (BUS_MCEERR_AO): Likewise.
6593 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6594 (TRAP_TRACE): Likewise.
6595 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6597 (CLD_KILLED): Likewise.
6598 (CLD_DUMPED): Likewise.
6599 (CLD_TRAPPED): Likewise.
6600 (CLD_STOPPED): Likewise.
6601 (CLD_CONTINUED): Likewise.
6602 (POLL_IN): Likewise.
6603 (POLL_OUT): Likewise.
6604 (POLL_MSG): Likewise.
6605 (POLL_ERR): Likewise.
6606 (POLL_PRI): Likewise.
6607 (POLL_HUP): Likewise.
6608 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6609 (ILL_ILLOPN): Likewise.
6610 (ILL_ILLADR): Likewise.
6611 (ILL_ILLTRP): Likewise.
6612 (ILL_PRVOPC): Likewise.
6613 (ILL_PRVREG): Likewise.
6614 (ILL_COPROC): Likewise.
6615 (ILL_BADSTK): Likewise.
6616 (FPE_INTDIV): Likewise.
6617 (FPE_INTOVF): Likewise.
6618 (FPE_FLTDIV): Likewise.
6619 (FPE_FLTOVF): Likewise.
6620 (FPE_FLTUND): Likewise.
6621 (FPE_FLTRES): Likewise.
6622 (FPE_FLTINV): Likewise.
6623 (FPE_FLTSUB): Likewise.
6624 (SEGV_MAPERR): Likewise.
6625 (SEGV_ACCERR): Likewise.
6626 (BUS_ADRALN): Likewise.
6627 (BUS_ADRERR): Likewise.
6628 (BUS_OBJERR): Likewise.
6629 (BUS_MCEERR_AR): Likewise.
6630 (BUS_MCEERR_AO): Likewise.
6631 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6632 (TRAP_TRACE): Likewise.
6633 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6635 (CLD_KILLED): Likewise.
6636 (CLD_DUMPED): Likewise.
6637 (CLD_TRAPPED): Likewise.
6638 (CLD_STOPPED): Likewise.
6639 (CLD_CONTINUED): Likewise.
6640 (POLL_IN): Likewise.
6641 (POLL_OUT): Likewise.
6642 (POLL_MSG): Likewise.
6643 (POLL_ERR): Likewise.
6644 (POLL_PRI): Likewise.
6645 (POLL_HUP): Likewise.
6646 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6647 (ILL_ILLOPN): Likewise.
6648 (ILL_ILLADR): Likewise.
6649 (ILL_ILLTRP): Likewise.
6650 (ILL_PRVOPC): Likewise.
6651 (ILL_PRVREG): Likewise.
6652 (ILL_COPROC): Likewise.
6653 (ILL_BADSTK): Likewise.
6654 (FPE_INTDIV): Likewise.
6655 (FPE_INTOVF): Likewise.
6656 (FPE_FLTDIV): Likewise.
6657 (FPE_FLTOVF): Likewise.
6658 (FPE_FLTUND): Likewise.
6659 (FPE_FLTRES): Likewise.
6660 (FPE_FLTINV): Likewise.
6661 (FPE_FLTSUB): Likewise.
6662 (SEGV_MAPERR): Likewise.
6663 (SEGV_ACCERR): Likewise.
6664 (BUS_ADRALN): Likewise.
6665 (BUS_ADRERR): Likewise.
6666 (BUS_OBJERR): Likewise.
6667 (BUS_MCEERR_AR): Likewise.
6668 (BUS_MCEERR_AO): Likewise.
6669 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6670 (TRAP_TRACE): Likewise.
6671 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6673 (CLD_KILLED): Likewise.
6674 (CLD_DUMPED): Likewise.
6675 (CLD_TRAPPED): Likewise.
6676 (CLD_STOPPED): Likewise.
6677 (CLD_CONTINUED): Likewise.
6678 (POLL_IN): Likewise.
6679 (POLL_OUT): Likewise.
6680 (POLL_MSG): Likewise.
6681 (POLL_ERR): Likewise.
6682 (POLL_PRI): Likewise.
6683 (POLL_HUP): Likewise.
6684 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6685 (ILL_ILLOPN): Likewise.
6686 (ILL_ILLADR): Likewise.
6687 (ILL_ILLTRP): Likewise.
6688 (ILL_PRVOPC): Likewise.
6689 (ILL_PRVREG): Likewise.
6690 (ILL_COPROC): Likewise.
6691 (ILL_BADSTK): Likewise.
6692 (ILL_DBLFLT): Likewise.
6693 (ILL_HARDWALL): Likewise.
6694 (FPE_INTDIV): Likewise.
6695 (FPE_INTOVF): Likewise.
6696 (FPE_FLTDIV): Likewise.
6697 (FPE_FLTOVF): Likewise.
6698 (FPE_FLTUND): Likewise.
6699 (FPE_FLTRES): Likewise.
6700 (FPE_FLTINV): Likewise.
6701 (FPE_FLTSUB): Likewise.
6702 (SEGV_MAPERR): Likewise.
6703 (SEGV_ACCERR): Likewise.
6704 (BUS_ADRALN): Likewise.
6705 (BUS_ADRERR): Likewise.
6706 (BUS_OBJERR): Likewise.
6707 (BUS_MCEERR_AR): Likewise.
6708 (BUS_MCEERR_AO): Likewise.
6709 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6710 (TRAP_TRACE): Likewise.
6711 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6713 (CLD_KILLED): Likewise.
6714 (CLD_DUMPED): Likewise.
6715 (CLD_TRAPPED): Likewise.
6716 (CLD_STOPPED): Likewise.
6717 (CLD_CONTINUED): Likewise.
6718 (POLL_IN): Likewise.
6719 (POLL_OUT): Likewise.
6720 (POLL_MSG): Likewise.
6721 (POLL_ERR): Likewise.
6722 (POLL_PRI): Likewise.
6723 (POLL_HUP): Likewise.
6724 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6725 (ILL_ILLOPN): Likewise.
6726 (ILL_ILLADR): Likewise.
6727 (ILL_ILLTRP): Likewise.
6728 (ILL_PRVOPC): Likewise.
6729 (ILL_PRVREG): Likewise.
6730 (ILL_COPROC): Likewise.
6731 (ILL_BADSTK): Likewise.
6732 (FPE_INTDIV): Likewise.
6733 (FPE_INTOVF): Likewise.
6734 (FPE_FLTDIV): Likewise.
6735 (FPE_FLTOVF): Likewise.
6736 (FPE_FLTUND): Likewise.
6737 (FPE_FLTRES): Likewise.
6738 (FPE_FLTINV): Likewise.
6739 (FPE_FLTSUB): Likewise.
6740 (SEGV_MAPERR): Likewise.
6741 (SEGV_ACCERR): Likewise.
6742 (BUS_ADRALN): Likewise.
6743 (BUS_ADRERR): Likewise.
6744 (BUS_OBJERR): Likewise.
6745 (BUS_MCEERR_AR): Likewise.
6746 (BUS_MCEERR_AO): Likewise.
6747 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6748 (TRAP_TRACE): Likewise.
6749 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6751 (CLD_KILLED): Likewise.
6752 (CLD_DUMPED): Likewise.
6753 (CLD_TRAPPED): Likewise.
6754 (CLD_STOPPED): Likewise.
6755 (CLD_CONTINUED): Likewise.
6756 (POLL_IN): Likewise.
6757 (POLL_OUT): Likewise.
6758 (POLL_MSG): Likewise.
6759 (POLL_ERR): Likewise.
6760 (POLL_PRI): Likewise.
6761 (POLL_HUP): Likewise.
6762 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6763 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6766 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6767 before #include of <time.h>.
6768 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6769 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6770 (test-xfail-UNIX98/sched.h/conform): Likewise.
6772 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6774 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6775 error absence of trapping exception support.
6776 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6778 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6780 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6781 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6782 * timezone/Makefile (testdata): Move definition above include of
6784 (test-zones): New variable.
6785 (tests-special): Add zone files.
6786 (build-testdata): Use $(evaluate-test).
6788 * elf/Makefile (tests-special): Rename tests to end with .out.
6789 ($(objpfx)noload-mem): Likewise.
6790 ($(objpfx)tst-leaks1-mem): Likewise.
6791 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6792 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6793 $(objpfx)test-iconvconfig.out.
6794 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6795 set -e inside subshell and redirect output to file.
6796 * iconvdata/Makefile (generated): Rename tests to end with .out.
6798 (tests-special): Rename tests to end with .out.
6799 ($(objpfx)mtrace-tst-loading): Likewise.
6800 * intl/Makefile (generated): Likewise.
6801 (tests-special): Likewise.
6802 ($(objpfx)mtrace-tst-gettext): Likewise.
6803 * misc/Makefile (generated): Likewise.
6804 (tests-special): Likewise.
6805 ($(objpfx)tst-error1-mem): Likewise.
6806 * nptl/Makefile (tests-special): Likewise.
6807 ($(objpfx)tst-stack3-mem): Likewise.
6808 (generated): Likewise.
6809 * posix/Makefile (generated): Likewise.
6810 (tests-special): Likewise.
6811 (xtests-special): Likewise.
6812 ($(objpfx)tst-fnmatch-mem): Likewise.
6813 ($(objpfx)bug-regex2-mem): Likewise.
6814 ($(objpfx)bug-regex14-mem): Likewise.
6815 ($(objpfx)bug-regex21-mem): Likewise.
6816 ($(objpfx)bug-regex31-mem): Likewise.
6817 ($(objpfx)tst-vfork3-mem): Likewise.
6818 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6819 ($(objpfx)tst-pcre-mem): Likewise.
6820 ($(objpfx)tst-boost-mem): Likewise.
6821 ($(objpfx)bug-ga2-mem): Likewise.
6822 ($(objpfx)bug-glob2-mem): Likewise.
6823 * resolv/Makefile (generate): Likewise.
6824 (tests-special): Likewise.
6825 (xtests-special): Likewise.
6826 (generated): Likewise.
6827 ($(objpfx)mtrace-tst-leaks): Likewise.
6828 ($(objpfx)mtrace-tst-leaks2): Likewise.
6830 * scripts/merge-test-results.sh: New file.
6831 * Makefile (tests-special-notdir): New variable.
6832 (tests): Run merge-test-results.sh.
6834 * Rules (tests-special-notdir): New variable.
6835 (xtests-special-notdir): Likewise.
6836 (tests): Run merge-test-results.sh
6839 * Makeconfig (test-xfail-name): New variable.
6840 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6841 compute variable name for expected failures.
6842 * conform/Makefile (conformtest-headers-data): New variable.
6843 (conformtest-standards): Likewise.
6844 (conformtest-headers-ISO): Likewise.
6845 (conformtest-headers-ISO99): Likewise.
6846 (conformtest-headers-ISO11): Likewise.
6847 (conformtest-headers-POSIX): Likewise.
6848 (conformtest-headers-XPG3): Likewise.
6849 (conformtest-headers-XPG4): Likewise.
6850 (conformtest-headers-UNIX98): Likewise.
6851 (conformtest-headers-XOPEN2K): Likewise.
6852 (conformtest-headers-POSIX2008): Likewise.
6853 (conformtest-headers-XOPEN2K8): Likewise.
6854 (conformtest-header-list-base): Likewise.
6855 (conformtest-header-list-tests): Likewise.
6856 (conformtest-header-base): Likewise.
6857 (conformtest-header-tests): Likewise.
6858 (tests-special): Add $(conformtest-header-list-tests). If
6859 [$(fast-check) && !$(cross-compiling)], add
6860 $(conformtest-header-tests) instead of
6861 $(objpfx)run-conformtest.out.
6862 (generated): Add $(conformtest-header-list-base). If
6863 [$(fast-check) && !$(cross-compiling)], add
6864 $(conformtest-header-base). Remove previous setting.
6865 ($(conformtest-header-list-tests)): New target.
6866 (test-xfail-run-conformtest): Remove variable.
6867 ($(objpfx)run-conformtest.out): Remove target.
6868 (test-xfail-ISO11/complex.h/conform): New variable.
6869 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6870 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6871 (test-xfail-XPG3/varargs.h/conform): Likewise.
6872 (test-xfail-XPG4/varargs.h/conform): Likewise.
6873 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6874 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6875 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6876 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6877 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6878 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6879 (test-xfail-XPG3/ftw.h/conform): Likewise.
6880 (test-xfail-XPG3/grp.h/conform): Likewise.
6881 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6882 (test-xfail-XPG3/limits.h/conform): Likewise.
6883 (test-xfail-XPG3/pwd.h/conform): Likewise.
6884 (test-xfail-XPG3/search.h/conform): Likewise.
6885 (test-xfail-XPG3/signal.h/conform): Likewise.
6886 (test-xfail-XPG3/stdio.h/conform): Likewise.
6887 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6888 (test-xfail-XPG3/string.h/conform): Likewise.
6889 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6890 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6891 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6892 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6893 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6894 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6895 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6896 (test-xfail-XPG3/termios.h/conform): Likewise.
6897 (test-xfail-XPG3/time.h/conform): Likewise.
6898 (test-xfail-XPG3/unistd.h/conform): Likewise.
6899 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6900 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6901 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6902 (test-xfail-XPG4/netdb.h/conform): Likewise.
6903 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6904 (test-xfail-XPG4/signal.h/conform): Likewise.
6905 (test-xfail-XPG4/stdio.h/conform): Likewise.
6906 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6907 (test-xfail-XPG4/stropts.h/conform): Likewise.
6908 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6909 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6910 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6911 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6912 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6913 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6914 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6915 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6916 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6917 (test-xfail-XPG4/termios.h/conform): Likewise.
6918 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6919 (test-xfail-XPG4/unistd.h/conform): Likewise.
6920 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6921 (test-xfail-POSIX/sched.h/conform): Likewise.
6922 (test-xfail-POSIX/signal.h/conform): Likewise.
6923 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6924 (test-xfail-POSIX/tar.h/conform): Likewise.
6925 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6926 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6927 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6928 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6929 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6930 (test-xfail-UNIX98/sched.h/conform): Likewise.
6931 (test-xfail-UNIX98/signal.h/conform): Likewise.
6932 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6933 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6934 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6935 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6936 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6937 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6938 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6939 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6940 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6941 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6942 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6943 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6944 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6945 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6946 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6947 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6948 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6949 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6950 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6951 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6952 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6953 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6954 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6955 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6956 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6957 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6958 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6959 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6960 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6961 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6962 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6963 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6964 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6965 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6966 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6967 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6968 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6969 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6970 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6971 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6972 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6973 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6974 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6975 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6976 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6977 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6978 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6979 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6980 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6981 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6982 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6983 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6984 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6985 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6986 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6987 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6988 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6989 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6990 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6991 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6992 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6993 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6994 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6995 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6996 (conformtest-cc-flags): Likewise.
6997 ($(conformtest-header-tests): New target.
6998 * conform/check-header-lists.sh: New file.
6999 * conform/run-conformtest.sh: Remove.
7001 * conform/conformtest.pl: Allow ' and \ in values given for
7003 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7005 [POSIX] (sys/types.h): Likewise.
7006 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7008 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7010 * conform/data/signal.h-data (SIGIO): Remove expectation.
7011 [XPG3] (SIGBUS): Do not expect.
7012 [POSIX || XPG3] (SIGPOLL): Likewise.
7013 [POSIX || XPG3] (SIGPROF): Likewise.
7014 [POSIX || XPG3] (SIGSYS): Likewise.
7015 [XPG3] (SIGTRAP): Likewise.
7016 [POSIX || XPG3] (SIGURG): Likewise.
7017 [POSIX || XPG3] (SIGVTALRM): Likewise.
7018 [POSIX || XPG3] (SIGXCPU): Likewise.
7019 [POSIX || XPG3] (SIGXFSZ): Likewise.
7020 [POSIX] (SA_SIGINFO): Expect.
7021 [XPG3] (siginfo_t): Do not expect type or contents.
7022 [POSIX] (si_pid): Do not expect element.
7023 [POSIX] (si_uid): Likewise.
7024 [POSIX] (si_addr): Likewise.
7025 [POSIX] (si_status): Likewise.
7026 [POSIX] (si_band): Likewise.
7027 [XPG4] (si_value): Likewise.
7028 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7029 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7030 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7031 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7032 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7033 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7034 [POSIX || XPG3] (ILL_COPROC): Likewise.
7035 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7036 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7037 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7038 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7039 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7040 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7041 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7042 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7043 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7044 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7045 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7046 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7047 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7048 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7049 [POSIX || XPG3] (CLD_EXITED): Likewise.
7050 [POSIX || XPG3] (CLD_KILLED): Likewise.
7051 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7052 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7053 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7054 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7055 [POSIX || XPG3] (POLL_IN): Likewise.
7056 [POSIX || XPG3] (POLL_OUT): Likewise.
7057 [POSIX || XPG3] (POLL_MSG): Likewise.
7058 [POSIX || XPG3] (POLL_ERR): Likewise.
7059 [POSIX || XPG3] (POLL_PRI): Likewise.
7060 [POSIX || XPG3] (POLL_HUP): Likewise.
7061 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7062 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7063 (SIG*): Do not allow.
7064 [XPG3] (si_*): Likewise.
7065 [XPG3] (SI_*): Likewise.
7066 [XPG3 || XPG4] (sigev_*): Likewise.
7067 [XPG3 || XPG4] (SIGEV_*): Likewise.
7068 [XPG3 || XPG4] (sival_*): Likewise.
7069 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7070 [POSIX || XPG3] (BUS_*): Likewise.
7071 [POSIX || XPG3] (CLD_*): Likewise.
7072 [POSIX || XPG3] (FPE_*): Likewise.
7073 [POSIX || XPG3] (ILL_*): Likewise.
7074 [POSIX || XPG3] (POLL_*): Likewise.
7075 [POSIX || XPG3] (SEGV_*): Likewise.
7076 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7077 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7078 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7079 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7080 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7081 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7082 Specify type and value.
7083 (TVERSLEN): Likewise.
7084 (REGTYPE): Likewise.
7085 (AREGTYPE): Likewise.
7086 (LNKTYPE): Likewise.
7087 (SYMTYPE): Likewise.
7088 (CHRTYPE): Likewise.
7089 (BLKTYPE): Likewise.
7090 (DIRTYPE): Likewise.
7091 (FIFOTYPE): Likewise.
7092 (CONTTYPE): Likewise.
7097 (TUWRITE): Likewise.
7100 (TGWRITE): Likewise.
7103 (TOWRITE): Likewise.
7105 [POSIX] (TSVTX): Expect constant.
7107 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7109 * Makefile (tests): Change dependencies to ....
7110 (tests-special): ... additions to this variable.
7111 (tests): Depend on $(tests-special).
7112 * Makerules (check-abi-list): New variable.
7113 (check-abi): Depend on $(check-abi-list).
7114 [$(subdir) = elf] (tests-special): Add
7115 $(objpfx)check-abi-libc.out.
7116 [$(build-shared) = yes && subdir] (tests-special): Add
7118 [$(build-shared) = yes && subdir] (tests): Do not depend on
7120 * Rules (tests): Depend on $(tests-special).
7121 (xtests): Depend on $(xtests-special).
7122 * catgets/Makefile (tests): Change dependencies to ....
7123 (tests-special): ... additions to this variable.
7124 * conform/Makefile (tests): Change dependencies to ....
7125 (tests-special): ... additions to this variable.
7126 * elf/Makefile (tests): Change dependencies to ....
7127 (tests-special): ... additions to this variable.
7128 * grp/Makefile (tests): Change dependencies to ....
7129 (tests-special): ... additions to this variable.
7130 * iconv/Makefile (xtests): Change dependencies to ....
7131 (xtests-special): ... additions to this variable.
7132 * iconvdata/Makefile (tests): Change dependencies to ....
7133 (tests-special): ... additions to this variable.
7134 * intl/Makefile (tests): Change dependencies to ....
7135 (tests-special): ... additions to this variable. Also add
7136 $(objpfx)tst-gettext.out.
7137 * io/Makefile (tests): Change dependencies to ....
7138 (tests-special): ... additions to this variable.
7139 * libio/Makefile (tests): Change dependencies to ....
7140 (tests-special): ... additions to this variable.
7141 * malloc/Makefile (tests): Change dependencies to ....
7142 (tests-special): ... additions to this variable.
7143 * misc/Makefile (tests): Change dependencies to ....
7144 (tests-special): ... additions to this variable.
7145 * nptl/Makefile (tests): Change dependencies to ....
7146 (tests-special): ... additions to this variable.
7147 * nptl_db/Makefile (tests): Change dependencies to ....
7148 (tests-special): ... additions to this variable.
7149 * posix/Makefile (tests): Change dependencies to ....
7150 (tests-special): ... additions to this variable.
7151 (xtests): Change dependencies to ....
7152 (xtests-special): ... additions to this variable.
7153 * resolv/Makefile (tests): Change dependencies to ....
7154 (tests-special): ... additions to this variable.
7155 (xtests): Change dependencies to ....
7156 (xtests-special): ... additions to this variable.
7157 * stdio-common/Makefile (tests): Change dependencies to ....
7158 (tests-special): ... additions to this variable.
7159 (do-tst-unbputc): Remove target.
7160 (do-tst-printf): Likewise.
7161 * stdlib/Makefile (tests): Change dependencies to ....
7162 (tests-special): ... additions to this variable.
7163 * string/Makefile (tests): Change dependencies to ....
7164 (tests-special): ... additions to this variable.
7165 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7166 (tests-special): ... additions to this variable.
7168 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7170 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7172 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7173 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7175 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7176 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7177 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7178 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7179 * conform/data/libgen.h-data [XPG3]: Likewise.
7180 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7181 * conform/data/ndbm.h-data [XPG3]: Likewise.
7182 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7183 * conform/data/netdb.h-data [XPG3]: Likewise.
7184 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7185 * conform/data/poll.h-data [XPG3]: Likewise.
7186 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7187 * conform/data/strings.h-data [XPG3]: Likewise.
7188 * conform/data/stropts.h-data [XPG3]: Likewise.
7189 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7190 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7191 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7193 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7194 * conform/data/sys/time.h-data [XPG3]: Likewise.
7195 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7196 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7197 * conform/data/sys/un.h-data [XPG3]: Likewise.
7198 * conform/data/syslog.h-data [XPG3]: Likewise.
7199 * conform/data/ucontext.h-data [XPG3]: Likewise.
7200 * conform/data/utmpx.h-data [XPG3]: Likewise.
7201 * conform/data/varargs.h-data [UNIX98]: Enable file.
7203 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7205 * math/libm-test.inc (struct test_f_f_data): Move expected results
7206 into structure for each rounding mode.
7207 (struct test_ff_f_data): Likewise.
7208 (struct test_ff_f_data_nexttoward): Likewise.
7209 (struct test_fi_f_data): Likewise.
7210 (struct test_fl_f_data): Likewise.
7211 (struct test_if_f_data): Likewise.
7212 (struct test_fff_f_data): Likewise.
7213 (struct test_c_f_data): Likewise.
7214 (struct test_f_f1_data): Likewise.
7215 (struct test_fF_f1_data): Likewise.
7216 (struct test_ffI_f1_data): Likewise.
7217 (struct test_c_c_data): Likewise.
7218 (struct test_cc_c_data): Likewise.
7219 (struct test_f_i_data): Likewise.
7220 (struct test_ff_i_data): Likewise.
7221 (struct test_f_l_data): Likewise.
7222 (struct test_f_L_data): Likewise.
7223 (struct test_fFF_11_data): Likewise.
7225 (RM_FE_DOWNWARD): Likewise.
7226 (RM_FE_TONEAREST): Likewise.
7227 (RM_FE_TOWARDZERO): Likewise.
7228 (RM_FE_UPWARD): Likewise.
7229 (RUN_TEST_LOOP_f_f): Update references to expected results.
7230 (RUN_TEST_LOOP_2_f): Likewise.
7231 (RUN_TEST_LOOP_fff_f): Likewise.
7232 (RUN_TEST_LOOP_c_f): Likewise.
7233 (RUN_TEST_LOOP_f_f1): Likewise.
7234 (RUN_TEST_LOOP_fF_f1): Likewise.
7235 (RUN_TEST_LOOP_fI_f1): Likewise.
7236 (RUN_TEST_LOOP_ffI_f1): Likewise.
7237 (RUN_TEST_LOOP_c_c): Likewise.
7238 (RUN_TEST_LOOP_cc_c): Likewise.
7239 (RUN_TEST_LOOP_f_i): Likewise.
7240 (RUN_TEST_LOOP_f_i_tg): Likewise.
7241 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7242 (RUN_TEST_LOOP_f_b): Likewise.
7243 (RUN_TEST_LOOP_f_b_tg): Likewise.
7244 (RUN_TEST_LOOP_f_l): Likewise.
7245 (RUN_TEST_LOOP_f_L): Likewise.
7246 (RUN_TEST_LOOP_fFF_11): Likewise.
7247 * math/gen-libm-test.pl (parse_args): Output four copies of
7248 expected results for each test.
7250 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7251 (__ASSUME_UTIMES): Remove.
7252 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7253 (__ASSUME_UTIMES): Likewise.
7255 * math/gen-auto-libm-tests.c: Update comment on output format.
7256 (output_for_one_input_case): Generate before-rounding and
7257 after-rounding information as conditions on output flags not
7258 floating-point format.
7259 * math/auto-libm-test-out: Regenerated.
7260 * math/gen-libm-test.pl (cond_value): New function.
7261 (or_cond_value): Use cond_value.
7262 (generate_testfile): Handle conditional exceptions.
7264 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7266 * math/libm-test.inc (max_valid_error): New variable.
7267 (init_max_error): Take new argument specifying whether function
7268 results are exactly determined. Set max_valid_error and bound
7269 other variables for errors based on this argument.
7270 (set_max_error): Do not record results above max_valid_error.
7271 (check_float_internal): Only accept errors of up to 0.5ulps if
7272 also at most max_valid_error.
7273 (START): Take new argument EXACT and pass it to init_max_error.
7274 (acos_test): Update call to START.
7275 (acos_test_tonearest): Likewise.
7276 (acos_test_towardzero): Likewise.
7277 (acos_test_downward): Likewise.
7278 (acos_test_upward): Likewise.
7279 (acosh_test): Likewise.
7280 (asin_test): Likewise.
7281 (asin_test_tonearest): Likewise.
7282 (asin_test_towardzero): Likewise.
7283 (asin_test_downward): Likewise.
7284 (asin_test_upward): Likewise.
7285 (asinh_test): Likewise.
7286 (atan_test): Likewise.
7287 (atanh_test): Likewise.
7288 (atan2_test): Likewise.
7289 (cabs_test): Likewise.
7290 (cacos_test): Likewise.
7291 (cacosh_test): Likewise.
7292 (carg_test): Likewise.
7293 (casin_test): Likewise.
7294 (casinh_test): Likewise.
7295 (catan_test): Likewise.
7296 (catanh_test): Likewise.
7297 (cbrt_test): Likewise.
7298 (ccos_test): Likewise.
7299 (ccosh_test): Likewise.
7300 (ceil_test): Likewise.
7301 (cexp_test): Likewise.
7302 (cimag_test): Likewise.
7303 (clog_test): Likewise.
7304 (clog10_test): Likewise.
7305 (conj_test): Likewise.
7306 (copysign_test): Likewise.
7307 (cos_test): Likewise.
7308 (cos_test_tonearest): Likewise.
7309 (cos_test_towardzero): Likewise.
7310 (cos_test_downward): Likewise.
7311 (cos_test_upward): Likewise.
7312 (cosh_test): Likewise.
7313 (cosh_test_tonearest): Likewise.
7314 (cosh_test_towardzero): Likewise.
7315 (cosh_test_downward): Likewise.
7316 (cosh_test_upward): Likewise.
7317 (cpow_test): Likewise.
7318 (cproj_test): Likewise.
7319 (creal_test): Likewise.
7320 (csin_test): Likewise.
7321 (csinh_test): Likewise.
7322 (csqrt_test): Likewise.
7323 (ctan_test): Likewise.
7324 (ctan_test_tonearest): Likewise.
7325 (ctan_test_towardzero): Likewise.
7326 (ctan_test_downward): Likewise.
7327 (ctan_test_upward): Likewise.
7328 (ctanh_test): Likewise.
7329 (ctanh_test_tonearest): Likewise.
7330 (ctanh_test_towardzero): Likewise.
7331 (ctanh_test_downward): Likewise.
7332 (ctanh_test_upward): Likewise.
7333 (erf_test): Likewise.
7334 (erfc_test): Likewise.
7335 (exp_test): Likewise.
7336 (exp_test_tonearest): Likewise.
7337 (exp_test_towardzero): Likewise.
7338 (exp_test_downward): Likewise.
7339 (exp_test_upward): Likewise.
7340 (exp10_test): Likewise.
7341 (exp10_test_tonearest): Likewise.
7342 (exp10_test_towardzero): Likewise.
7343 (exp10_test_downward): Likewise.
7344 (exp10_test_upward): Likewise.
7345 (pow10_test): Likewise.
7346 (exp2_test): Likewise.
7347 (expm1_test): Likewise.
7348 (expm1_test_tonearest): Likewise.
7349 (expm1_test_towardzero): Likewise.
7350 (expm1_test_downward): Likewise.
7351 (expm1_test_upward): Likewise.
7352 (fabs_test): Likewise.
7353 (fdim_test): Likewise.
7354 (floor_test): Likewise.
7355 (fma_test): Likewise.
7356 (fma_test_towardzero): Likewise.
7357 (fma_test_downward): Likewise.
7358 (fma_test_upward): Likewise.
7359 (fmax_test): Likewise.
7360 (fmin_test): Likewise.
7361 (fmod_test): Likewise.
7362 (fpclassify_test): Likewise.
7363 (frexp_test): Likewise.
7364 (hypot_test): Likewise.
7365 (ilogb_test): Likewise.
7366 (isfinite_test): Likewise.
7367 (finite_test): Likewise.
7368 (isgreater_test): Likewise.
7369 (isgreaterequal_test): Likewise.
7370 (isinf_test): Likewise.
7371 (isless_test): Likewise.
7372 (islessequal_test): Likewise.
7373 (islessgreater_test): Likewise.
7374 (isnan_test): Likewise.
7375 (isnormal_test): Likewise.
7376 (issignaling_test): Likewise.
7377 (isunordered_test): Likewise.
7378 (j0_test): Likewise.
7379 (j1_test): Likewise.
7380 (jn_test): Likewise.
7381 (ldexp_test): Likewise.
7382 (lgamma_test): Likewise.
7383 (gamma_test): Likewise.
7384 (lrint_test): Likewise.
7385 (lrint_test_tonearest): Likewise.
7386 (lrint_test_towardzero): Likewise.
7387 (lrint_test_downward): Likewise.
7388 (lrint_test_upward): Likewise.
7389 (llrint_test): Likewise.
7390 (llrint_test_tonearest): Likewise.
7391 (llrint_test_towardzero): Likewise.
7392 (llrint_test_downward): Likewise.
7393 (llrint_test_upward): Likewise.
7394 (log_test): Likewise.
7395 (log10_test): Likewise.
7396 (log1p_test): Likewise.
7397 (log2_test): Likewise.
7398 (logb_test): Likewise.
7399 (logb_test_downward): Likewise.
7400 (lround_test): Likewise.
7401 (llround_test): Likewise.
7402 (modf_test): Likewise.
7403 (nearbyint_test): Likewise.
7404 (nextafter_test): Likewise.
7405 (nexttoward_test): Likewise.
7406 (pow_test): Likewise.
7407 (pow_test_tonearest): Likewise.
7408 (pow_test_towardzero): Likewise.
7409 (pow_test_downward): Likewise.
7410 (pow_test_upward): Likewise.
7411 (remainder_test): Likewise.
7412 (drem_test): Likewise.
7413 (remainder_test_tonearest): Likewise.
7414 (drem_test_tonearest): Likewise.
7415 (remainder_test_towardzero): Likewise.
7416 (drem_test_towardzero): Likewise.
7417 (remainder_test_downward): Likewise.
7418 (drem_test_downward): Likewise.
7419 (remainder_test_upward): Likewise.
7420 (drem_test_upward): Likewise.
7421 (remquo_test): Likewise.
7422 (rint_test): Likewise.
7423 (rint_test_tonearest): Likewise.
7424 (rint_test_towardzero): Likewise.
7425 (rint_test_downward): Likewise.
7426 (rint_test_upward): Likewise.
7427 (round_test): Likewise.
7428 (scalb_test): Likewise.
7429 (scalbn_test): Likewise.
7430 (scalbln_test): Likewise.
7431 (signbit_test): Likewise.
7432 (sin_test): Likewise.
7433 (sin_test_tonearest): Likewise.
7434 (sin_test_towardzero): Likewise.
7435 (sin_test_downward): Likewise.
7436 (sin_test_upward): Likewise.
7437 (sincos_test): Likewise.
7438 (sinh_test): Likewise.
7439 (sinh_test_tonearest): Likewise.
7440 (sinh_test_towardzero): Likewise.
7441 (sinh_test_downward): Likewise.
7442 (sinh_test_upward): Likewise.
7443 (sqrt_test): Likewise.
7444 (sqrt_test_tonearest): Likewise.
7445 (sqrt_test_towardzero): Likewise.
7446 (sqrt_test_downward): Likewise.
7447 (sqrt_test_upward): Likewise.
7448 (tan_test): Likewise.
7449 (tan_test_tonearest): Likewise.
7450 (tan_test_towardzero): Likewise.
7451 (tan_test_downward): Likewise.
7452 (tan_test_upward): Likewise.
7453 (tanh_test): Likewise.
7454 (tgamma_test): Likewise.
7455 (trunc_test): Likewise.
7456 (y0_test): Likewise.
7457 (y1_test): Likewise.
7458 (yn_test): Likewise.
7459 (significand_test): Likewise.
7461 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7462 individual tests in comment.
7463 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7464 (prev_max_error): New variable.
7465 (prev_real_max_error): Likewise.
7466 (prev_imag_max_error): Likewise.
7467 (compare_ulp_data): Don't refer to test names in comment.
7468 (find_test_ulps): Remove function.
7469 (find_function_ulps): Likewise.
7470 (find_complex_function_ulps): Likewise.
7471 (init_max_error): Take function name as argument. Look up ulps
7473 (print_ulps): Remove function.
7474 (print_max_error): Use prev_max_error instead of calling
7476 (print_complex_max_error): Use prev_real_max_error and
7477 prev_imag_max_error instead of calling find_complex_function_ulps.
7478 (check_float_internal): Take max_ulp parameter instead of calling
7479 find_test_ulps. Don't call print_ulps.
7480 (check_float): Update call to check_float_internal.
7481 (check_complex): Update calls to check_float_internal.
7482 (START): Pass argument to init_max_error.
7483 * math/gen-libm-test.pl (%results): Don't include "kind"
7485 (parse_ulps): Don't handle ulps of individual tests.
7486 (print_ulps_file): Likewise.
7487 (output_ulps): Likewise.
7488 * math/README.libm-test: Update.
7489 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7491 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7492 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7493 * sysdeps/arm/libm-test-ulps: Likewise.
7494 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7495 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7496 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7497 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7498 * sysdeps/microblaze/libm-test-ulps: Likewise.
7499 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7500 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7501 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7502 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7503 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7504 * sysdeps/sh/libm-test-ulps: Likewise.
7505 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7506 * sysdeps/tile/libm-test-ulps: Likewise.
7507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7509 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7511 * math/libm-test.inc (print_complex_max_error): Check separately
7512 whether real and imaginary errors are within allowed range and
7513 pass 0 to print_complex_function_ulps instead of value within
7516 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7518 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7520 (get_handles_fopen): Likewise.
7521 (do_write_test): Likewise.
7523 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7525 * libio/fileops.c (do_ftell): Use cached offset when
7527 * libio/iofwide.c (do_ftell_wide): Likewise.
7528 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7530 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7533 * libio/libioP.h (get_file_offset): New function.
7534 * libio/fileops.c (get_file_offset): Likewise.
7535 (do_ftell): Likewise.
7536 (_IO_new_file_seekoff): Split out ftell logic.
7537 * libio/wfileops.c (do_ftell_wide): Likewise.
7538 (_IO_wfile_seekoff): Split out ftell logic.
7539 * libio/tst-ftell-active-handler.c: New test case.
7540 * libio/Makefile (tests): Add it.
7542 2014-03-03 Roland McGrath <roland@hack.frob.com>
7544 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7545 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7547 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7550 * nscd/connections.c (nscd_init): Call do_exit.
7551 (start_threads): Call do_exit and notify_parent.
7552 (begin_drop_privileges): Call do_exit.
7553 (finish_drop_privileges): Likewise.
7554 * nscd/selinux.c (preserve_capabilities): Likewise.
7555 (install_real_capabilities): Likewise.
7556 (nscd_selinux_enabled): Likewise.
7557 (avc_create_thread): Likewise.
7558 (avc_alloc_lock): Likewise.
7559 (nscd_avc_init): Likewise.
7560 * nscd/nscd.c (parent_fd): New static variable.
7561 (main): Create a pipe between parent and child processes.
7562 Skip closing parent_fd.
7563 (monitor_child): New function.
7564 (do_exit): Likewise.
7565 (notify_parent): Likewise.
7566 * nscd/nscd.h (notify_parent): Likewise.
7567 (do_exit): Likewise.
7569 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7571 * malloc/malloc.c (__libc_calloc): Revert last change.
7573 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7577 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7579 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7583 (__libc_ifunc_impl_list): Likewise.
7584 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7585 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7586 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7587 * string/strrchr.c: Define STRRCHR.
7589 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7591 * benchtest/bench-strtok.c (simple_strtok): Delete.
7592 (strtok_string): Use as benchmark.
7593 * string/strtok (STRTOK): New macro.
7595 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7597 * manual/threads.texi: Add header and standard comments to all
7600 * elf/dl-lookup.c (check_match): New function.
7601 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7602 (do_lookup_x): Remove nested function check_match. Use non-nested
7603 function check_match.
7605 2014-02-28 Roland McGrath <roland@hack.frob.com>
7607 * csu/Makefile (generated, before-compile): Use += rather than =.
7608 * catgets/Makefile (generated, generated-dirs): Likewise.
7609 * debug/Makefile (generated): Likewise.
7610 * dlfcn/Makefile (generated): Likewise.
7611 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7612 * iconvdata/Makefile (before-compile, generated): Likewise.
7613 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7614 * libio/Makefile (generated): Likewise.
7615 * malloc/Makefile (generated): Likewise.
7616 * manual/Makefile (generated, generated-dirs): Likewise.
7617 * misc/Makefile (generated): Likewise.
7618 * posix/Makefile (generated): Likewise.
7619 * resolv/Makefile (generated): Likewise.
7620 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7621 * timezone/Makefile (generated, generated-dirs): Likewise.
7623 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7625 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7628 power8 implementation.
7629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7630 file: POWER8 llround ifunc implementation.
7631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7632 (__lllround): Add POWER8 implementation.
7633 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7634 POWER8 llround implementation.
7636 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7637 power8 implementation.
7638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7639 file: POWER8 llrint ifunc implementation.
7640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7641 Add POWER8 implementation.
7642 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7643 POWER8 llrint implementation.
7645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7646 power8 implementation.
7647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7648 file: POWER8 finite ifunc implementation.
7649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7650 Add POWER8 implementation.
7651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7653 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7654 POWER8 finite implementation.
7655 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7657 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7658 power8 implementation.
7659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7660 file: POWER8 isinf ifunc implementation.
7661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7662 POWER8 implementation.
7663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7665 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7666 isinf implementation.
7667 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7669 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7670 (INIT_ARCH): Add hwcap2 initialization.
7671 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7672 power8 implementation.
7673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7674 file: POWER8 isnan ifunc implementation.
7675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7676 POWER8 implementation.
7677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7679 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7680 isnan implementation.
7681 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7683 2014-02-27 Joey Ye <joey.ye@arm.com>
7685 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7686 (_FP_NANFRAC_Q): Set to zero.
7688 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7691 * math/auto-libm-test-in: New test inputs.
7692 * math/auto-libm-test-out: Regenerate.
7693 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7696 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7698 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7700 * scripts/evaluate-test.sh: Take new argument indicating whether
7701 failure is expected.
7702 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7703 indicating whether failure is expected.
7704 * conform/Makefile (test-xfail-run-conformtest): New variable.
7705 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7707 * posix/Makefile (test-xfail-annexc): New variable.
7708 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7710 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7712 * argp/Makefile: Include Makeconfig immediately after defining
7714 * assert/Makefile: Likewise.
7715 * benchtests/Makefile: Likewise.
7716 * catgets/Makefile: Likewise.
7717 * conform/Makefile: Likewise.
7718 * crypt/Makefile: Likewise.
7719 * csu/Makefile: Likewise.
7720 (all): Remove target.
7721 * ctype/Makefile: Include Makeconfig immediately after defining
7723 * debug/Makefile: Likewise.
7724 * dirent/Makefile: Likewise.
7725 * dlfcn/Makefile: Likewise.
7726 * gmon/Makefile: Likewise.
7727 * gnulib/Makefile: Likewise.
7728 * grp/Makefile: Likewise.
7729 * gshadow/Makefile: Likewise.
7730 * hesiod/Makefile: Likewise.
7731 * hurd/Makefile: Likewise.
7732 (all): Remove target.
7733 * iconvdata/Makefile: Include Makeconfig immediately after
7735 * inet/Makefile: Likewise.
7736 * intl/Makefile: Likewise.
7737 * io/Makefile: Likewise.
7738 * libio/Makefile: Likewise.
7739 (all): Remove target.
7740 * locale/Makefile: Include Makeconfig immediately after defining
7742 * login/Makefile: Likewise.
7743 * mach/Makefile: Likewise.
7744 (all): Remove target.
7745 * malloc/Makefile: Include Makeconfig immediately after defining
7747 (all): Remove target.
7748 * manual/Makefile: Include Makeconfig immediately after defining
7750 * math/Makefile: Likewise.
7751 * misc/Makefile: Likewise.
7752 * nis/Makefile: Likewise.
7753 * nss/Makefile: Likewise.
7754 * po/Makefile: Likewise.
7755 (all): Remove target.
7756 * posix/Makefile: Include Makeconfig immediately after defining
7758 * pwd/Makefile: Likewise.
7759 * resolv/Makefile: Likewise.
7760 * resource/Makefile: Likewise.
7761 * rt/Makefile: Likewise.
7762 * setjmp/Makefile: Likewise.
7763 * shadow/Makefile: Likewise.
7764 * signal/Makefile: Likewise.
7765 * socket/Makefile: Likewise.
7766 * soft-fp/Makefile: Likewise.
7767 * stdio-common/Makefile: Likewise.
7768 * stdlib/Makefile: Likewise.
7769 * streams/Makefile: Likewise.
7770 * string/Makefile: Likewise.
7771 * sunrpc/Makefile: Likewise.
7772 (all): Remove target.
7773 * sysvipc/Makefile: Include Makeconfig immediately after defining
7775 * termios/Makefile: Likewise.
7776 * time/Makefile: Likewise.
7777 * timezone/Makefile: Likewise.
7778 (all): Remove target.
7779 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7781 * wctype/Makefile: Likewise.
7783 2014-02-26 Steve Ellcey <sellcey@mips.com>
7785 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7786 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7787 (libc_feholdexcept_setround_mips): Ditto.
7788 (libc_feholdsetround): New.
7789 (libc_feholdsetroundf): New.
7790 (libc_feholdsetroundl): New.
7791 (libc_feupdateenv_test_mips): New.
7792 (libc_feupdateenv_test): New.
7793 (libc_feupdateenv_testf): New.
7794 (libc_feupdateenv_testl): New.
7795 (libc_feresetround): New.
7796 (libc_feresetroundf): New.
7797 (libc_feresetroundl): New.
7798 (libc_fetestexcept_mips): New.
7799 (libc_fetestexcept): New.
7800 (libc_fetestexceptf): New.
7801 (libc_fetestexceptl): New.
7803 (libc_feholdexcept_setround_mips_ctx): New.
7804 (libc_feholdexcept_setround_ctx): New.
7805 (libc_feholdexcept_setroundf_ctx): New.
7806 (libc_feholdexcept_setroundl_ctx): New.
7807 (libc_fesetenv_mips_ctx): New.
7808 (libc_fesetenv_ctx): New.
7809 (libc_fesetenv_ctxf): New.
7810 (libc_fesetenv_ctxl): New.
7811 (libc_feupdateenv_mips_ctx): New.
7812 (libc_feupdateenv_ctx): New.
7813 (libc_feupdateenvf_ctx): New.
7814 (libc_feupdateenvl_ctx): New.
7815 (libc_feholdsetround_mips_ctx): New.
7816 (libc_feholdsetround_ctx): New.
7817 (libc_feholdsetroundf_ctx): New.
7818 (libc_feholdsetroundl_ctx): New.
7819 (libc_feresetround_mips_ctx): New.
7820 (libc_feresetround_ctx): New.
7821 (libc_feresetroundf_ctx): New.
7822 (libc_feresetroundl_ctx): New.
7824 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7826 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7828 * manual/ipc.texi: New file.
7829 * manual/Makefile (chapters): Add ipc.
7830 * manual/job.texi: Add "Inter-Process Communication" to next.
7831 * manual/process.texi: Add "Inter-Process Communication" to prev.
7833 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7837 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7839 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7841 * manual/arith.texi: Fix spaces after sentences.
7842 * manual/charset.texi: Likewise.
7843 * manual/errno.texi: Likewise.
7844 * manual/install.texi: Likewise.
7845 * manual/llio.texi: Likewise.
7846 * manual/locale.texi: Likewise.
7847 * manual/maint.texi: Likewise.
7848 * manual/math.texi: Likewise.
7849 * manual/memory.texi: Likewise.
7850 * manual/message.texi: Likewise.
7851 * manual/probes.texi: Likewise.
7852 * manual/resource.texi: Likewise.
7853 * manual/signal.texi: Likewise.
7854 * manual/socket.texi: Likewise.
7855 * manual/stdio.texi: Likewise.
7856 * manual/string.texi: Likewise.
7857 * manual/time.texi: Likewise.
7858 * manual/users.texi: Likewise.
7860 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7863 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7864 _DEFAULT_SOURCE is defined.
7866 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7867 Carlos O'Donell <carlos@redhat.com>
7870 * elf/dl-tls.c (_dl_count_modids): New function.
7871 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7872 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7873 audit library and increment generation counter.
7874 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7875 * elf/tst-audit9.c: New file.
7876 * elf/tst-auditmod9a.c: New file.
7877 * elf/tst-auditmod9b.c: New file.
7878 * elf/Makefile: Add rules to build and run tst-audit9.
7880 2014-02-25 Florian Weimer <fweimer@redhat.com>
7883 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7885 2014-02-25 Will Newton <will.newton@linaro.org>
7887 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7888 (__longjmp): Restore sp and lr before restoring callee
7889 saved registers. Add longjmp and longjmp_target
7890 SystemTap probe point.
7891 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7892 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7893 Define to zero to match jmpbuf layout.
7894 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7895 (__sigsetjmp): Save sp and lr before saving callee
7896 saved registers. Add setjmp SystemTap probe point.
7898 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7900 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7902 2014-02-24 Andreas Schwab <schwab@suse.de>
7905 * elf/pldd.c (wait_for_ptrace_stop): New function.
7906 (main): Call it after attaching.
7908 2014-02-22 Roland McGrath <roland@hack.frob.com>
7910 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7911 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7912 Versions files is now verboten.
7913 * hurd/Versions (libc: GLIBC_2.0):
7914 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7915 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7916 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7917 * mach/Versions: Likewise.
7919 * csu/Versions: Remove unused %include.
7920 * resolv/Versions: Likewise.
7922 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7924 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7925 ($(objpfx)check-local-headers.out): Likewise.
7926 ($(objpfx)begin-end-check.out): Likewise.
7927 * Makerules (check-abi-%.out): Likewise.
7928 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7929 ($(objpfx)test2.cat): Likewise.
7930 ($(objpfx)de/libc.cat): Likewise.
7931 ($(objpfx)test-gencat.out): Likewise.
7932 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7933 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7934 ($(objpfx)noload-mem): Likewise.
7935 ($(objpfx)tst-pathopt.out): Likewise.
7936 ($(objpfx)tst-rtld-load-self.out): Likewise.
7937 ($(objpfx)tst-array1-cmp.out): Likewise.
7938 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7939 ($(objpfx)tst-array2-cmp.out): Likewise.
7940 ($(objpfx)tst-array3-cmp.out): Likewise.
7941 ($(objpfx)tst-array4-cmp.out): Likewise.
7942 ($(objpfx)tst-array5-cmp.out): Likewise.
7943 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7944 ($(objpfx)check-textrel.out): Likewise.
7945 ($(objpfx)check-execstack.out): Likewise.
7946 ($(objpfx)check-localplt.out): Likewise.
7947 ($(objpfx)order2-cmp.out): Likewise.
7948 ($(objpfx)tst-leaks1-mem): Likewise.
7949 ($(objpfx)tst-leaks1-static-mem): Likewise.
7950 ($(objpfx)tst-initorder-cmp.out): Likewise.
7951 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7952 ($(objpfx)tst-unused-dep.out): Likewise.
7953 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7954 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7955 * iconv/Makefile (test-iconvconfig): Likewise.
7956 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7957 ($(objpfx)iconv-test.out): Likewise.
7958 ($(objpfx)tst-tables.out): Likewise.
7959 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7960 ($(objpfx)tst-gettext.out): Likewise.
7961 ($(objpfx)tst-translit.out): Likewise.
7962 ($(objpfx)tst-gettext2.out): Likewise.
7963 ($(objpfx)tst-gettext4.out): Likewise.
7964 ($(objpfx)tst-gettext6.out): Likewise.
7965 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7966 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7967 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7968 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7969 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7970 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7971 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7972 ($(objpfx)wordexp-tst.out): Likewise.
7973 ($(objpfx)annexc.out): Likewise.
7974 ($(objpfx)tst-fnmatch-mem): Likewise.
7975 ($(objpfx)bug-regex2-mem): Likewise.
7976 ($(objpfx)bug-regex14-mem): Likewise.
7977 ($(objpfx)bug-regex21-mem): Likewise.
7978 ($(objpfx)bug-regex31-mem): Likewise.
7979 ($(objpfx)tst-vfork3-mem): Likewise.
7980 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7981 ($(objpfx)tst-pcre-mem): Likewise.
7982 ($(objpfx)tst-boost-mem): Likewise.
7983 ($(objpfx)tst-getconf.out): Likewise.
7984 ($(objpfx)bug-ga2-mem): Likewise.
7985 ($(objpfx)bug-glob2-mem): Likewise.
7986 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7987 ($(objpfx)mtrace-tst-leaks2): Likewise.
7988 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7989 ($(objpfx)tst-printf.out): Likewise.
7990 ($(objpfx)tst-setvbuf1.out): Likewise.
7991 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7992 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7993 ($(objpfx)tst-fmtmsg.out): Likewise.
7994 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7995 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7997 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7998 * bits/sigaction.h [__USE_MISC]: Likewise.
7999 * bits/waitstatus.h: Update #endif comments.
8000 * ctype/ctype.h: Likewise.
8001 * dirent/dirent.h: Likewise.
8002 [__USE_MISC]: Remove redundant conditionals.
8003 * grp/grp.h: Update #endif comments.
8004 [__USE_GNU]: Remove redundant conditionals.
8005 [__USE_MISC]: Likewise.
8006 * inet/netinet/in.h [__USE_GNU]: Likewise.
8007 * io/sys/stat.h [__USE_MISC]: Likewise.
8008 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8009 * libio/bits/stdio.h: Update #endif comments.
8010 [__USE_MISC]: Remove redundant conditionals.
8011 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8012 * libio/stdio.h: Update #endif comments.
8013 [__USE_MISC]: Remove redundant conditionals.
8014 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8015 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8016 * math/math.h: Update #else and #endif comments.
8017 [__USE_MISC]: Remove redundant conditionals.
8018 * misc/sys/uio.h: Update #endif comments.
8019 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8020 * posix/glob.h [__USE_MISC]: Likewise.
8021 * posix/sys/types.h: Update #endif comments.
8022 [__USE_MISC]: Remove redundant conditionals.
8023 * posix/sys/wait.h: Update #endif comments.
8024 [__USE_MISC]: Remove redundant conditionals.
8025 * posix/unistd.h: Update #endif comments.
8026 [__USE_MISC]: Remove redundant conditionals.
8027 * pwd/pwd.h [__USE_GNU]: Likewise.
8028 [__USE_MISC]: Likewise.
8029 * resolv/netdb.h [__USE_GNU]: Likewise.
8030 * signal/signal.h: Update #endif comments.
8031 [__USE_MISC]: Remove redundant conditionals.
8032 * stdlib/stdlib.h: Update #else and #endif comments.
8033 [__USE_MISC]: Remove redundant conditionals.
8034 [__USE_GNU]: Likewise.
8035 * string/bits/string2.h [__USE_MISC]: Likewise.
8036 * string/string.h: Update #endif comments.
8037 [__USE_MISC]: Remove redundant conditionals.
8038 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8040 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8041 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8042 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8044 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8046 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8048 [__USE_MISC]: Remove redundant conditionals.
8049 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8050 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8051 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8052 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8053 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8055 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8056 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8058 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8059 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8061 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8063 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8064 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8066 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8068 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8069 * sysdeps/x86/bits/string.h: Update #endif comments.
8070 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8072 * time/sys/time.h: Update #endif comments.
8073 * time/time.h: Likewise.
8074 [__USE_MISC]: Remove redundant conditionals.
8076 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8079 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8081 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8083 * Versions.def (librt): Add GLIBC_2.17.
8085 2014-02-21 Adam Conrad <adconrad@0c3.net>
8087 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8088 synonym for _SYS_AUXV_H to allow direct inclusion.
8089 * sysdeps/sparc/bits/hwcap.h: Likewise.
8090 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8091 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8092 * sysdeps/sparc/sysdep.h: Likewise.
8094 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8096 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8098 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8100 * benchtests/bench-strrchr.c: Print length instead of position.
8102 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8105 * sysdeps/unix/sysv/linux/kernel-features.h
8106 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8107 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8108 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8109 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8111 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8112 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8113 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8114 (__ASSUME_SENDMMSG): Define instead of using previous
8115 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8116 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8117 (__ASSUME_SENDMMSG_SYSCALL): Define.
8118 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8119 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8121 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8122 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8124 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8125 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8127 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8128 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8129 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8130 [__ASSUME_SENDMMSG]: Change conditionals to
8131 [__ASSUME_SENDMMSG_SOCKETCALL].
8132 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8133 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8135 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8136 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8138 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8139 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8140 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8141 [!__ASSUME_SENDMMSG]: Change conditional to
8142 [!__ASSUME_SENDMMSG_SOCKETCALL].
8143 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8144 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8148 * sysdeps/unix/sysv/linux/kernel-features.h
8149 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8150 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8151 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8152 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8153 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8154 [__i386__ || __sparc__]
8155 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8156 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8157 (__ASSUME_RECVMMSG): Define instead of using previous
8158 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8159 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8160 (__ASSUME_RECVMMSG_SYSCALL): Define.
8161 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8162 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8164 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8165 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8167 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8168 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8170 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8171 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8172 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8173 [__ASSUME_RECVMMSG]: Change condition to
8174 [__ASSUME_RECVMMSG_SOCKETCALL].
8175 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8176 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8178 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8179 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8180 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8182 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8183 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8184 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8185 [!__ASSUME_RECVMMSG]: Change condition to
8186 [!__ASSUME_RECVMMSG_SOCKETCALL].
8187 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8188 (__ASSUME_RECVMMSG_SYSCALL): Define.
8191 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8192 __powerpc__ || __s390__ || __sh__ || __sparc__]
8193 (__ASSUME_SOCKETCALL): Define.
8194 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8195 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8196 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8197 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8198 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8199 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8200 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8201 (__ASSUME_ACCEPT4): Define instead of using previous
8202 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8203 __powerpc__ || __sparc__ || __s390__)] condition.
8204 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8205 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8206 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8207 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8208 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8209 [!__ASSUME_ACCEPT4]: Change condition to
8210 [!__ASSUME_ACCEPT4_SOCKETCALL].
8211 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8212 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8213 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8214 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8215 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8216 __ASSUME_ACCEPT4_SYSCALL.
8217 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8218 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8219 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8220 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8221 __ASSUME_ACCEPT4_SYSCALL.
8222 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8223 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8224 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8225 [__ASSUME_ACCEPT4]: Change condition to
8226 [__ASSUME_ACCEPT4_SOCKETCALL].
8227 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8228 (__ASSUME_SOCKETCALL): Define.
8229 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8230 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8231 (__ASSUME_SOCKETCALL): Define.
8232 (__ASSUME_ACCEPT4): Remove.
8233 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8235 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8236 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8238 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8239 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8241 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8243 (HWCAP_ARM_LPAE): Likewise.
8244 (HWCAP_ARM_EVTSTRM): Likewise.
8245 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8246 Add vpfd32, lpae and evtstrm.
8247 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8250 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8252 * math/auto-libm-test-in: Add tests of clog10.
8253 * math/auto-libm-test-out: Regenerated.
8254 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8255 * sysdeps/i386/fpu/libm-test-ulps: Update.
8256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8258 2014-02-18 Andreas Schwab <schwab@suse.de>
8261 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8262 Store non-zero if the second buffer was newly allocated.
8263 (send_dg): Likewise.
8264 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8265 to send_vc and send_dg.
8266 (res_nsend): Pass NULL for ansp2_malloced.
8267 * resolv/res_query.c (__libc_res_nquery): Add parameter
8268 answerp2_malloced and pass it down to __libc_res_nsend.
8269 (res_nquery): Pass additional NULL to __libc_res_nquery.
8270 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8271 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8272 second answer buffer if answerp2_malloced was set.
8273 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8274 (__libc_res_nquerydomain): Add parameter
8275 answerp2_malloced and pass it down to __libc_res_nquery.
8276 (res_nquerydomain): Pass additional NULL to
8277 __libc_res_nquerydomain.
8278 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8279 additional NULL to __libc_res_nsend and __libc_res_nquery.
8280 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8281 additional NULL to __libc_res_nsearch.
8282 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8283 parameter of __libc_res_nsearch to check for separately allocated
8285 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8287 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8288 additional NULL to __libc_res_nquery.
8289 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8291 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8292 * include/resolv.h: Update prototypes of __libc_res_nquery,
8293 __libc_res_nsearch, __libc_res_nsend.
8295 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8297 * math/auto-libm-test-in: Add tests of fma.
8298 * math/auto-libm-test-out: Regenerated.
8299 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8300 (fma_towardzero_test_data): Likewise.
8301 (fma_downward_test_data): Likewise.
8302 (fma_upward_test_data): Likewise.
8303 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8305 (rounding_modes): Add values for new field.
8306 (func_calc_method): Add value mpfr_fff_f.
8307 (func_calc_desc): Add mpfr_fff_f union field.
8308 (test_function): Add field exact_args.
8309 (FUNC): Add macro argument EXACT_ARGS.
8310 (FUNC_mpfr_f_f): Update call to FUNC.
8311 (FUNC_mpfr_f_f): Likewise.
8312 (FUNC_mpfr_ff_f): Likewise.
8313 (FUNC_mpfr_if_f): Likewise.
8314 (FUNC_mpc_c_f): Likewise.
8315 (FUNC_mpc_c_c): Likewise.
8316 (test_functions): Add fma. Update calls to FUNC.
8317 (handle_input_arg): Add argument exact_args.
8318 (add_test): Update call to handle_input_arg.
8319 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8320 (output_for_one_input_case): Update call to calc_generic_results.
8321 Recalculate exact zero results in each rounding mode.
8323 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8324 non-negative before setting low bit.
8325 * math/auto-libm-test-in: Mark one asin test possibly having
8327 * math/auto-libm-test-out: Regenerated.
8328 * sysdeps/i386/fpu/libm-test-ulps: Update.
8329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8331 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8333 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8334 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8335 ports/sysdeps/unix/sysv/linux/microblaze.
8336 * README: Add missing listing for microblaze*-*-linux-gnu.
8338 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8340 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8341 * sysdeps/unix/sysv/linux/ia64: Move directory from
8342 ports/sysdeps/unix/sysv/linux/ia64.
8343 * README: Update listing for ia64-*-linux-gnu.
8345 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8346 Joseph Myers <joseph@codesourcery.com>
8348 * Makeconfig (test-name): New variable.
8349 (evaluate-test): Likewise.
8350 * Makerules (do-test-clean): Remove .test-result files.
8351 (common-mostlyclean): Likewise.
8352 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8353 * scripts/evaluate-test.sh: New file.
8355 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8357 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8358 separate $(objpfx)tst-fopenloc-cmp.out and
8359 $(objpfx)tst-fopenloc-mem.out targets.
8360 (tests): Update dependencies.
8361 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8362 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8363 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8364 (tst-rxspencer-no-utf8-ARGS): New variable.
8365 (tst-rxspencer-no-utf8-ENV): Likewise.
8366 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8367 instead of $(objpfx)tst-rxspencer-mem.
8368 ($(objpfx)tst-rxspencer-mem): Change target to
8369 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8370 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8371 * posix/tst-rxspencer-no-utf8.c: New file.
8373 * elf/Makefile ($(objpfx)order.out): Remove rule.
8374 [$(run-built-tests) = yes] (tests): Depend on
8375 $(objpfx)order-cmp.out.
8376 ($(objpfx)order-cmp.out): New rule.
8377 [$(run-built-tests) = yes] (tests): Depend on
8378 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8379 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8380 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8381 $(objpfx)tst-array5-static-cmp.out.
8382 ($(objpfx)tst-array1.out): Remove rule.
8383 ($(objpfx)tst-array1-cmp.out): New rule.
8384 ($(objpfx)tst-array1-static.out): Remove rule.
8385 ($(objpfx)tst-array1-static-cmp.out): New rule.
8386 ($(objpfx)tst-array2.out): Remove rule.
8387 ($(objpfx)tst-array2-cmp.out): New rule.
8388 ($(objpfx)tst-array3.out): Remove rule.
8389 ($(objpfx)tst-array3-cmp.out): New rule.
8390 ($(objpfx)tst-array4.out): Remove rule.
8391 ($(objpfx)tst-array4-cmp.out): New rule.
8392 ($(objpfx)tst-array5.out): Remove rule.
8393 ($(objpfx)tst-array5-cmp.out): New rule.
8394 ($(objpfx)tst-array5-static.out): Remove rule.
8395 ($(objpfx)tst-array5-static-cmp.out): New rule.
8396 [$(run-built-tests) = yes] (tests): Depend on
8397 $(objpfx)order2-cmp.out.
8398 ($(objpfx)order2.out): Remove rule.
8399 ($(objpfx)order2-cmp.out): New rule.
8400 ($(objpfx)tst-initorder.out): Remove rule.
8401 [$(run-built-tests) = yes] (tests): Depend on
8402 $(objpfx)tst-initorder-cmp.out.
8403 ($(objpfx)tst-initorder-cmp.out): New rule.
8404 ($(objpfx)tst-initorder2.out): Remove rule.
8405 [$(run-built-tests) = yes] (tests): Depend on
8406 $(objpfx)tst-initorder2-cmp.out.
8407 ($(objpfx)tst-initorder2-cmp.out): New rule.
8408 [$(run-built-tests) = yes] (tests): Depend on
8409 $(objpfx)tst-unused-dep-cmp.out.
8410 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8411 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8412 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8413 on $(objpfx)tst-setvbuf1-cmp.out.
8414 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8415 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8416 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8417 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8418 ($(objpfx)tst-svc.out): Remove rule.
8419 ($(objpfx)tst-svc-cmp.out): New rule.
8421 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8423 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8424 * ctype/ctype.h [__USE_MISC]: Likewise.
8425 * dirent/dirent.h [__USE_MISC]: Likewise.
8426 * grp/grp.h [__USE_MISC]: Likewise.
8427 * io/fcntl.h [__USE_MISC]: Likewise.
8428 * io/sys/stat.h [__USE_MISC]: Likewise.
8429 * libio/stdio.h [__USE_MISC]: Likewise.
8430 * posix/unistd.h [__USE_MISC]: Likewise.
8431 * pwd/pwd.h [__USE_MISC]: Likewise.
8432 * stdlib.h [__USE_MISC]: Likewise.
8433 * string/bits/string2.h [__USE_MISC]: Likewise.
8434 * string/string.h [__USE_MISC]: Likewise.
8435 * time/time.h [__USE_MISC]: Likewise.
8437 2014-02-13 Andreas Schwab <schwab@suse.de>
8440 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8441 second answer buffer if it was separately allocated.
8443 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8445 * sysdeps/mips/math-tests.h: Include <features.h>.
8446 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8447 (ROUNDING_TESTS_long_double): Do not define.
8448 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8449 (EXCEPTION_TESTS_long_double): Likewise.
8450 * sysdeps/mips/mips64/libm-test-ulps: Update.
8452 * include/features.h (__USE_BSD): Remove macro definitions.
8453 (__USE_SVID): Likewise.
8454 (_BSD_SOURCE): Likewise.
8455 (_SVID_SOURCE): Likewise.
8456 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8457 from definition of _DEFAULT_SOURCE.
8458 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8460 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8461 * bits/mman.h [__USE_BSD]: Likewise.
8462 * bits/termios.h [__USE_BSD]: Likewise.
8463 * bits/waitstatus.h [__USE_BSD]: Likewise.
8464 * ctype/ctype.h [__USE_SVID]: Likewise.
8465 * dirent/dirent.h [__USE_BSD]: Likewise.
8466 * grp/grp.h [__USE_SVID]: Likewise.
8467 [__USE_BSD]: Likewise.
8468 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8469 * io/fcntl.h [__USE_BSD]: Likewise.
8470 * io/ftw.h [__USE_BSD]: Likewise.
8471 * io/sys/stat.h [__USE_BSD]: Likewise.
8472 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8473 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8474 * libio/stdio.h [__USE_SVID]: Likewise.
8475 [__USE_BSD]: Likewise.
8476 * math/math.h [__USE_SVID]: Likewise.
8477 [__USE_BSD]: Likewise.
8478 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8479 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8480 * misc/search.h [__USE_SVID]: Likewise.
8481 * misc/sys/mman.h [__USE_BSD]: Likewise.
8482 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8483 * misc/sys/uio.h [__USE_BSD]: Likewise.
8484 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8485 * posix/glob.h [__USE_BSD]: Likewise.
8486 * posix/regex.h [__USE_BSD]: Likewise.
8487 * posix/sys/types.h [__USE_BSD]: Likewise.
8488 [__USE_SVID]: Likewise.
8489 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8490 * posix/sys/wait.h [__USE_BSD]: Likewise.
8491 [__USE_SVID]: Likewise.
8492 * posix/unistd.h [__USE_BSD]: Likewise.
8493 [__USE_SVID]: Likewise.
8494 * pwd/pwd.h [__USE_SVID]: Likewise.
8495 * resolv/netdb.h [__USE_BSD]: Likewise.
8496 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8497 * signal/signal.h [__USE_BSD]: Likewise.
8498 [__USE_SVID]: Likewise.
8499 * socket/sys/socket.h [__USE_BSD]: Likewise.
8500 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8501 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8502 [__USE_SVID]: Likewise.
8503 * string/bits/string2.h [__USE_BSD]: Likewise.
8504 [__USE_SVID]: Likewise.
8505 * string/bits/string3.h [__USE_BSD]: Likewise.
8506 * string/endian.h [__USE_BSD]: Likewise.
8507 * string/string.h [__USE_SVID]: Likewise.
8508 [__USE_BSD]: Likewise.
8509 * string/strings.h [__USE_BSD]: Likewise.
8510 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8511 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8512 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8513 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8514 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8515 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8517 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8519 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8520 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8522 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8523 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8525 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8527 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8528 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8529 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8531 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8533 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8534 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8535 * termios/termios.h [__USE_BSD]: Likewise.
8536 * time/sys/time.h [__USE_BSD]: Likewise.
8537 * time/time.h [__USE_BSD]: Likewise.
8538 [__USE_SVID]: Likewise.
8540 * Makefile (subdir_targets): Remove subdir_lint.out.
8542 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8543 (do-tst-printf): Likewise.
8544 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8545 $(objpfx)tst-printf.out.
8547 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8549 * Makerules (check-abi-%): Change target to
8550 $(objpfx)check-abi-%.out.
8551 (check-abi target): Update dependencies.
8552 (check-abi-pattern variable): Redirect output of diff to $@.
8553 (check-abi variable): Likewise.
8554 * elf/Makefile (check-abi): Update dependencies.
8556 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8558 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8559 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8561 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8562 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8563 value has largest subnormal exponent.
8564 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8565 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8566 * sysdeps/aarch64/soft-fp/sfp-machine.h
8567 (_FP_TININESS_AFTER_ROUNDING): New macro.
8568 * sysdeps/alpha/soft-fp/sfp-machine.h
8569 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8570 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8572 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8573 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8574 * sysdeps/mips/soft-fp/sfp-machine.h
8575 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8576 * sysdeps/powerpc/soft-fp/sfp-machine.h
8577 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8578 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8580 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8581 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8582 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8583 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8584 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8587 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8590 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8593 2014-02-12 Richard Henderson <rth@redhat.com>
8595 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8596 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8597 * sysdeps/unix/sysv/linux/alpha: Move directory from
8598 ports/sysdeps/unix/sysv/linux/alpha.
8599 * README: Update listing for alpha-*-linux-gnu.
8601 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8603 * include/features.h: Update comment documenting feature test
8605 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8607 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8608 (_SVID_SOURCE): Likewise.
8609 (_DEFAULT_SOURCE): Update description of default features.
8610 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8612 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8613 (S_ISVTX): Likewise.
8614 * manual/math.texi (Mathematical Constants): Likewise.
8615 * manual/signal.texi (Interrupted Primitives): Likewise.
8616 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8617 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8618 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8619 Don't refer to _SVID_SOURCE in warning text.
8621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8623 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8625 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8626 * sysdeps/mips/dl-lookup.c: Remove.
8627 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8629 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8632 * math/auto-libm-test-in: Add testcase for expl.
8633 * math/auto-libm-test-out: Regenerate.
8634 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8635 calculation of unsafe.
8636 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8638 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8640 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8641 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8642 ports/sysdeps/unix/sysv/linux/aarch64.
8643 * README: Update listing for aarch64*-*-linux-gnu.
8645 2014-02-11 Will Newton <will.newton@linaro.org>
8647 * manual/probes.texi (Mathematical Function Probes): Use
8648 "triggered" instead of "hit".
8650 * manual/probes.texi (Internal Probes): Add documentation
8651 of setjmp, longjmp and longjmp_target probes.
8653 * include/stap-probe.h: Add comment about probe argument
8656 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8657 definition. (tr_where, tr_freehook, tr_mallochook,
8658 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8660 2014-02-11 David S. Miller <davem@davemloft.net>
8662 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8663 processing int_tests.
8665 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8667 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8668 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8669 * sysdeps/unix/sysv/linux/mips: Move directory from
8670 ports/sysdeps/unix/sysv/linux/mips.
8671 * README: Update listing for mips-*-linux-gnu and
8674 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8676 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8677 * sysdeps/unix/sysv/linux/m68k: Move directory from
8678 ports/sysdeps/unix/sysv/linux/m68k.
8679 * README: Update listing for m68k-*-linux-gnu.
8681 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8683 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8684 * sysdeps/unix/sysv/linux/generic: Move directory from
8685 ports/sysdeps/unix/sysv/linux/generic.
8686 * sysdeps/unix/sysv/linux/tile: Move directory from
8687 ports/sysdeps/unix/sysv/linux/tile.
8688 * README: Update listing for tile*-*-linux-gnu.
8690 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8692 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8694 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8695 * catgets/open_catalog.c (__open_catalog): Likewise.
8696 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8697 * debug/confstr_chk.c: Likewise.
8698 * debug/fread_chk.c (__fread_chk): Likewise.
8699 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8700 * debug/getgroups_chk.c: Likewise.
8701 * debug/mbsnrtowcs_chk.c: Likewise.
8702 * debug/mbsrtowcs_chk.c: Likewise.
8703 * debug/mbstowcs_chk.c: Likewise.
8704 * debug/memcpy_chk.c: Likewise.
8705 * debug/memmove_chk.c: Likewise.
8706 * debug/mempcpy_chk.c: Likewise.
8707 * debug/memset_chk.c: Likewise.
8708 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8709 * debug/strcat_chk.c (__strcat_chk): Likewise.
8710 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8711 * debug/strncat_chk.c (__strncat_chk): Likewise.
8712 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8713 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8714 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8715 * debug/wcpncpy_chk.c: Likewise.
8716 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8717 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8718 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8719 * debug/wcsncpy_chk.c: Likewise.
8720 * debug/wcsnrtombs_chk.c: Likewise.
8721 * debug/wcsrtombs_chk.c: Likewise.
8722 * debug/wcstombs_chk.c: Likewise.
8723 * debug/wmemcpy_chk.c: Likewise.
8724 * debug/wmemmove_chk.c: Likewise.
8725 * debug/wmempcpy_chk.c: Likewise.
8726 * debug/wmemset_chk.c: Likewise.
8727 * dirent/scandirat.c (SCANDIRAT): Likewise.
8728 * dlfcn/dladdr1.c (dladdr1): Likewise.
8729 * dlfcn/dladdr.c (dladdr): Likewise.
8730 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8731 * dlfcn/dlerror.c (__dlerror): Likewise.
8732 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8733 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8734 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8735 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8736 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8737 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8738 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8739 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8741 * elf/dl-conflict.c: Likewise.
8742 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8743 * elf/dl-dst.h: Likewise.
8744 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8745 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8746 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8747 * elf/dl-init.c (call_init, _dl_init): Likewise.
8748 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8749 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8750 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8752 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8754 * elf/dl-minimal.c (__libc_memalign): Likewise.
8755 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8756 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8757 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8758 * elf/dl-sym.c (do_sym): Likewise.
8759 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8760 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8761 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8762 * elf/dl-writev.h (_dl_writev): Likewise.
8763 * elf/ldconfig.c (search_dir): Likewise.
8764 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8765 (dl_main): Likewise.
8766 * elf/setup-vdso.h (setup_vdso): Likewise.
8767 * grp/compat-initgroups.c (compat_call): Likewise.
8768 * grp/fgetgrent.c (fgetgrent): Likewise.
8769 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8770 * grp/putgrent.c (putgrent): Likewise.
8771 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8773 * hurd/hurdinit.c: Likewise.
8774 * iconvdata/8bit-gap.c (struct): Likewise.
8775 * iconvdata/ansi_x3.110.c : Likewise.
8776 * iconvdata/big5.c : Likewise.
8777 * iconvdata/big5hkscs.c : Likewise.
8778 * iconvdata/cp1255.c: Likewise.
8779 * iconvdata/cp1258.c : Likewise.
8780 * iconvdata/cp932.c : Likewise.
8781 * iconvdata/euc-cn.c: Likewise.
8782 * iconvdata/euc-jisx0213.c : Likewise.
8783 * iconvdata/euc-jp.c: Likewise.
8784 * iconvdata/euc-jp-ms.c : Likewise.
8785 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8786 * iconvdata/gb18030.c : Likewise.
8787 * iconvdata/gbbig5.c (const): Likewise.
8788 * iconvdata/gbgbk.c: Likewise.
8789 * iconvdata/gbk.c : Likewise.
8790 * iconvdata/ibm1364.c : Likewise.
8791 * iconvdata/ibm930.c : Likewise.
8792 * iconvdata/ibm932.c: Likewise.
8793 * iconvdata/ibm933.c : Likewise.
8794 * iconvdata/ibm935.c : Likewise.
8795 * iconvdata/ibm937.c : Likewise.
8796 * iconvdata/ibm939.c : Likewise.
8797 * iconvdata/ibm943.c: Likewise.
8798 * iconvdata/iso_11548-1.c: Likewise.
8799 * iconvdata/iso-2022-cn.c : Likewise.
8800 * iconvdata/iso-2022-cn-ext.c : Likewise.
8801 * iconvdata/iso-2022-jp-3.c: Likewise.
8802 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8803 * iconvdata/iso-2022-kr.c : Likewise.
8804 * iconvdata/iso646.c (gconv_end): Likewise.
8805 * iconvdata/iso_6937-2.c : Likewise.
8806 * iconvdata/iso_6937.c : Likewise.
8807 * iconvdata/iso8859-1.c: Likewise.
8808 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8809 * iconvdata/shift_jisx0213.c : Likewise.
8810 * iconvdata/sjis.c : Likewise.
8811 * iconvdata/t.61.c : Likewise.
8812 * iconvdata/tcvn5712-1.c : Likewise.
8813 * iconvdata/tscii.c: Likewise.
8814 * iconvdata/uhc.c : Likewise.
8815 * iconvdata/unicode.c (gconv_end): Likewise.
8816 * iconvdata/utf-16.c (gconv_end): Likewise.
8817 * iconvdata/utf-32.c (gconv_end): Likewise.
8818 * iconvdata/utf-7.c (base64): Likewise.
8819 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8820 * iconv/gconv_close.c (__gconv_close): Likewise.
8821 * iconv/gconv_open.c (__gconv_open): Likewise.
8822 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8823 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8824 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8825 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8826 (ucs4le_internal_loop_single): Likewise.
8827 * iconv/iconv.c (iconv): Likewise.
8828 * iconv/iconv_close.c: Likewise.
8829 * iconv/loop.c (SINGLE): Likewise.
8830 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8831 * include/atomic.h: Likewise.
8832 * inet/inet6_option.c (option_alloc): Likewise.
8833 * intl/bindtextdom.c (set_binding_values): Likewise.
8834 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8835 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8836 * intl/localealias.c (read_alias_file): Likewise.
8837 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8838 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8839 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8840 * libio/fmemopen.c (fmemopen): Likewise.
8841 * libio/iofgets.c (_IO_fgets): Likewise.
8842 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8843 * libio/iofgetws.c (fgetws): Likewise.
8844 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8845 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8846 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8847 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8848 * locale/findlocale.c (_nl_find_locale): Likewise.
8849 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8850 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8852 * locale/setlocale.c (setlocale): Likewise.
8853 * login/programs/pt_chown.c (main): Likewise.
8854 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8855 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8856 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8857 (mmap, mmap64, mremap, munmap): Likewise.
8858 * math/e_exp2l.c: Likewise.
8859 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8860 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8861 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8862 * math/s_catan.c (__catan): Likewise.
8863 * math/s_catanf.c (__catanf): Likewise.
8864 * math/s_catanh.c (__catanh): Likewise.
8865 * math/s_catanhf.c (__catanhf): Likewise.
8866 * math/s_catanhl.c (__catanhl): Likewise.
8867 * math/s_catanl.c (__catanl): Likewise.
8868 * math/s_ccosh.c (__ccosh): Likewise.
8869 * math/s_ccoshf.c (__ccoshf): Likewise.
8870 * math/s_ccoshl.c (__ccoshl): Likewise.
8871 * math/s_cexp.c (__cexp): Likewise.
8872 * math/s_cexpf.c (__cexpf): Likewise.
8873 * math/s_cexpl.c (__cexpl): Likewise.
8874 * math/s_clog10.c (__clog10): Likewise.
8875 * math/s_clog10f.c (__clog10f): Likewise.
8876 * math/s_clog10l.c (__clog10l): Likewise.
8877 * math/s_clog.c (__clog): Likewise.
8878 * math/s_clogf.c (__clogf): Likewise.
8879 * math/s_clogl.c (__clogl): Likewise.
8880 * math/s_csin.c (__csin): Likewise.
8881 * math/s_csinf.c (__csinf): Likewise.
8882 * math/s_csinh.c (__csinh): Likewise.
8883 * math/s_csinhf.c (__csinhf): Likewise.
8884 * math/s_csinhl.c (__csinhl): Likewise.
8885 * math/s_csinl.c (__csinl): Likewise.
8886 * math/s_csqrt.c (__csqrt): Likewise.
8887 * math/s_csqrtf.c (__csqrtf): Likewise.
8888 * math/s_csqrtl.c (__csqrtl): Likewise.
8889 * math/s_ctan.c (__ctan): Likewise.
8890 * math/s_ctanf.c (__ctanf): Likewise.
8891 * math/s_ctanh.c (__ctanh): Likewise.
8892 * math/s_ctanhf.c (__ctanhf): Likewise.
8893 * math/s_ctanhl.c (__ctanhl): Likewise.
8894 * math/s_ctanl.c (__ctanl): Likewise.
8895 * math/w_pow.c: Likewise.
8896 * math/w_powf.c: Likewise.
8897 * math/w_powl.c: Likewise.
8898 * math/w_scalb.c (sysv_scalb): Likewise.
8899 * math/w_scalbf.c (sysv_scalbf): Likewise.
8900 * math/w_scalbl.c (sysv_scalbl): Likewise.
8901 * misc/error.c (error_tail): Likewise.
8902 * misc/pselect.c (__pselect): Likewise.
8903 * nis/nis_callback.c (__nis_create_callback): Likewise.
8904 * nis/nis_call.c (__nisfind_server): Likewise.
8905 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8906 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8907 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8908 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8909 * nis/nis_lookup.c (nis_lookup): Likewise.
8910 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8911 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8912 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8913 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8914 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8915 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8916 * nis/nss_compat/compat-initgroups.c (add_group)
8917 (internal_getgrent_r): Likewise.
8918 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8919 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8920 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8921 (internal_getspnam_r): Likewise.
8922 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8923 (_nss_nis_getaliasbyname_r): Likewise.
8924 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8925 (_nss_nis_getntohost_r): Likewise.
8926 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8927 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8928 (_nss_nis_getgrgid_r): Likewise.
8929 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8930 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8931 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8932 (_nss_nis_gethostbyname4_r): Likewise.
8933 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8934 (initgroups_netid): Likewise.
8935 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8936 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8937 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8938 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8939 (_nss_nis_getprotobynumber_r): Likewise.
8940 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8941 (_nss_nis_getsecretkey): Likewise.
8942 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8943 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8944 (_nss_nis_getpwuid_r): Likewise.
8945 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8946 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8947 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8948 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8949 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8950 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8951 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8953 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8954 (_nss_nisplus_getntohost_r): Likewise.
8955 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8956 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8957 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8958 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8960 * nis/nss_nisplus/nisplus-initgroups.c
8961 (_nss_nisplus_initgroups_dyn): Likewise.
8962 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8963 (_nss_nisplus_getnetbyaddr_r): Likewise.
8964 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8965 (_nss_nisplus_getprotobynumber_r): Likewise.
8966 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8967 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8968 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8970 * nis/nss_nisplus/nisplus-service.c
8971 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8972 (_nss_nisplus_getservbyport_r): Likewise.
8973 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8974 (_nss_nisplus_getspnam_r): Likewise.
8975 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8977 * nscd/aicache.c (addhstaiX): Likewise.
8978 * nscd/cache.c (cache_search, prune_cache): Likewise.
8979 * nscd/connections.c (register_traced_file, send_ro_fd)
8980 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8981 (main_loop_epoll): Likewise.
8982 * nscd/grpcache.c (addgrbyX): Likewise.
8983 * nscd/hstcache.c (addhstbyX): Likewise.
8984 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8985 * nscd/mem.c (gc, mempool_alloc): Likewise.
8986 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8987 (addinnetgrX): Likewise.
8988 * nscd/nscd-client.h (__nscd_acquire_maplock)
8989 (__nscd_drop_map_ref): Likewise.
8990 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8991 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8992 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8994 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8995 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8996 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8997 (__nscd_get_map_ref): Likewise.
8998 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8999 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9001 * nscd/pwdcache.c (addpwbyX): Likewise.
9002 * nscd/selinux.c (preserve_capabilities): Likewise.
9003 * nscd/servicescache.c (addservbyX): Likewise.
9004 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9005 * posix/fnmatch.c (fnmatch): Likewise.
9006 * posix/getopt.c (_getopt_internal_r): Likewise.
9007 * posix/glob.c (glob, glob_in_dir): Likewise.
9008 * posix/wordexp.c (exec_comm_child): Likewise.
9009 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9010 (getanswer_r, gaih_getanswer_slice): Likewise.
9011 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9012 * resolv/res_init.c: Likewise.
9013 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9014 * resolv/res_query.c (__libc_res_nquery): Likewise.
9015 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9017 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9018 * stdio-common/perror.c (perror): Likewise.
9019 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9020 * stdio-common/tmpnam.c (tmpnam): Likewise.
9021 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9022 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9023 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9025 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9026 * stdlib/putenv.c (putenv): Likewise.
9027 * stdlib/setenv.c (__add_to_environ): Likewise.
9028 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9029 * stdlib/strtol_l.c (INTERNAL): Likewise.
9030 * string/memmem.c (memmem): Likewise.
9031 * string/strerror.c (strerror): Likewise.
9032 * string/strnlen.c (__strnlen): Likewise.
9033 * string/test-memmem.c (simple_memmem): Likewise.
9034 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9035 * sunrpc/pm_getport.c (__get_socket): Likewise.
9036 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9037 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9038 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9039 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9041 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9042 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9043 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9044 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9045 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9046 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9048 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9050 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9051 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9052 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9053 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9054 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9056 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9057 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9058 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9059 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9060 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9061 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9063 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9065 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9067 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9068 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9069 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9070 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9071 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9072 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9073 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9074 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9075 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9076 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9077 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9078 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9079 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9080 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9082 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9084 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9086 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9088 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9090 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9091 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9092 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9094 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9095 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9096 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9097 * sysdeps/posix/sleep.c: Likewise.
9098 * sysdeps/posix/tempname.c: Likewise.
9099 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9100 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9102 * sysdeps/powerpc/powerpc32/dl-machine.h
9103 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9104 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9106 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9107 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9109 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9110 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9111 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9112 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9113 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9114 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9115 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9116 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9117 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9118 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9119 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9120 (elf_machine_lazy_rel): Likewise.
9121 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9123 (elf_machine_lazy_rel): Likewise.
9124 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9125 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9126 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9127 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9128 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9129 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9130 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9133 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9134 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9135 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9136 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9137 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9138 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9139 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9140 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9141 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9142 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9143 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9145 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9146 (__posix_fallocate64_l64): Likewise.
9147 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9148 (posix_fallocate): Likewise.
9149 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9151 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9152 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9153 (getifaddrs_internal): Likewise.
9154 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9155 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9156 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9157 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9158 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9159 (__posix_fallocate64_l64): Likewise.
9160 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9162 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9163 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9164 (__get_clockfreq): Likewise.
9165 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9166 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9167 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9168 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9169 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9170 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9171 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9172 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9174 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9175 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9176 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9177 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9178 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9179 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9180 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9182 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9183 (posix_fallocate): Likewise.
9184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9185 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9186 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9187 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9188 (elf_machine_rela, elf_machine_rela_relative)
9189 (elf_machine_lazy_rel): Likewise.
9190 * time/asctime.c (asctime_internal): Likewise.
9191 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9192 * time/tzset.c (__tzset_parse_tz): Likewise.
9193 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9194 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9195 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9196 * wcsmbs/wcsmbsload.h: Likewise.
9199 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9201 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9202 (arena_get2): Remove THREAD_STATS conditionals.
9203 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9204 (__malloc_stats, int): Likewise.
9206 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9208 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9209 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9211 * manual/setjmp.texi: Fix typos/grammar errors.
9213 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9214 Only return early when n is <= 0. Delete unused return statement.
9216 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9217 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9218 * debug/tst-longjmp_chk3.c: New file.
9220 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9221 (test_main): Replace code with set_fortify_handler call.
9222 * debug/test-strcpy_chk.c: Likewise.
9223 * debug/tst-chk1.c: Likewise.
9224 * debug/tst-longjmp_chk.c: Likewise.
9225 * test-skeleton.c: Include fcntl.h & paths.h
9226 (set_fortify_handler): Define.
9228 * debug/tst-longjmp_chk.c: Add header comment and include
9230 (do_test): Mark static.
9231 (TEST_FUNCTION): Define.
9233 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9234 (IP_PMTUDISC_INTERFACE): Likewise.
9235 (IP_MULTICAST_IF): Likewise.
9236 (IP_MULTICAST_TTL): Likewise.
9237 (IP_MULTICAST_LOOP): Likewise.
9238 (IP_ADD_MEMBERSHIP): Likewise.
9239 (IP_DROP_MEMBERSHIP): Likewise.
9240 (IP_UNBLOCK_SOURCE): Likewise.
9241 (IP_BLOCK_SOURCE): Likewise.
9242 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9243 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9244 (IP_MSFILTER): Likewise.
9245 (MCAST_JOIN_GROUP): Likewise.
9246 (MCAST_BLOCK_SOURCE): Likewise.
9247 (MCAST_UNBLOCK_SOURCE): Likewise.
9248 (MCAST_LEAVE_GROUP): Likewise.
9249 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9250 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9251 (MCAST_MSFILTER): Likewise.
9252 (IP_MULTICAST_ALL): Likewise.
9253 (IP_UNICAST_IF): Likewise.
9255 * timezone/Makefile: Delete $(have-ksh) check.
9256 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9257 * timezone/tzselect.ksh: Add +x mode bits.
9259 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9260 (ANON_INODE_FS_MAGIC): Likewise.
9261 (BDEVFS_MAGIC): Likewise.
9262 (BINFMTFS_MAGIC): Likewise.
9263 (BTRFS_TEST_MAGIC): Likewise.
9264 (CRAMFS_MAGIC_WEND): Likewise.
9265 (DEBUGFS_MAGIC): Likewise.
9266 (ECRYPTFS_SUPER_MAGIC): Likewise.
9267 (EXT3_SUPER_MAGIC): Likewise.
9268 (EXT4_SUPER_MAGIC): Likewise.
9269 (FUTEXFS_SUPER_MAGIC): Likewise.
9270 (HOSTFS_SUPER_MAGIC): Likewise.
9271 (HUGETLBFS_MAGIC): Likewise.
9272 (MINIX3_SUPER_MAGIC): Likewise.
9273 (MTD_INODE_FS_MAGIC): Likewise.
9274 (NILFS_SUPER_MAGIC): Likewise.
9275 (OPENPROM_SUPER_MAGIC): Likewise.
9276 (PIPEFS_MAGIC): Likewise.
9277 (PSTOREFS_MAGIC): Likewise.
9278 (QNX6_SUPER_MAGIC): Likewise.
9279 (RAMFS_MAGIC): Likewise.
9280 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9281 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9282 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9283 (SECURITYFS_MAGIC): Likewise.
9284 (SELINUX_MAGIC): Likewise.
9285 (SMACK_MAGIC): Likewise.
9286 (SOCKFS_MAGIC): Likewise.
9287 (SQUASHFS_MAGIC): Likewise.
9288 (STACK_END_MAGIC): Likewise.
9289 (TMPFS_MAGIC): Likewise.
9290 (USBDEVICE_SUPER_MAGIC): Likewise.
9291 (V9FS_MAGIC): Likewise.
9292 (XENFS_SUPER_MAGIC): Likewise.
9293 (CRAMFS_MAGIC): Fix typo in comment.
9294 (EXT2_SUPER_MAGIC): Update comment.
9295 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9297 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9299 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9300 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9301 * sysdeps/unix/sysv/linux/arm: Move directory from
9302 ports/sysdeps/unix/sysv/linux/arm.
9303 * README: Update listing for arm-*-linux-gnueabi.
9305 * README: Remove mention of am33.
9307 2014-02-07 Roland McGrath <roland@hack.frob.com>
9309 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9310 than the comma operator, to avoid "rhs of comma has no effect"
9312 (__sigfillset, __sigandset, __sigorset): Likewise.
9313 * include/signal.h (__sigemptyset): Likewise.
9314 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9316 2014-02-07 Allan McRae <allan@archlinux.org>
9318 * version.h (RELEASE): Set to "development".
9319 (VERSION): Set to "2.19.90"
9320 * NEWS: Add 2.20 section.
9322 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9325 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9327 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9329 * manual/contrib.texi: Update entry for Carlos O'Donell,
9330 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9332 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9334 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9336 * sysdeps/unix/sysv/linux/kernel-features.h
9337 [__LINUX_KERNEL_VERSION >= 0x020621]
9338 (__ASSUME_PROC_PID_TASK_COMM): Define.
9340 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9343 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9344 conversion when destination buffer does not have enough space.
9345 * libio/tst-ftell-partial-wide.c: New test case.
9346 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9348 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9349 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9350 Leonard and Allan McRae.
9352 2014-02-04 David S. Miller <davem@davemloft.net>
9354 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9357 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9386 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9388 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9389 * shlib-versions: Likewise.
9391 2014-02-04 Roland McGrath <roland@hack.frob.com>
9392 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9394 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9395 (abilist-pattern): New variable, set to %-le.abilist.
9397 * Makerules (abilist-pattern): New variable.
9398 (vpath): Use $(abilist-pattern) in place of %.abilist.
9399 (check-abi-% pattern rule): Likewise.
9400 (check-abi, update-abi): Likewise.
9402 2014-02-04 Eric Wong <normalperson@yhbt.net>
9404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9406 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9408 * manual/startup.texi: Add next, previous, and top entries for
9409 the `Program Arguments' and `Environment Variables' nodes.
9411 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9413 * manual/macros.texi: Add comments before MTASC-safety macros.
9415 * manual/users.texi: Document MTASC-safety properties.
9417 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9418 (pthread_getspecific, pthread_setspecific): Format with
9419 @deftypefun, and add @safety note.
9420 * manual/signal.texi: Move comments that analyze the above
9421 functions to their home place.
9423 2014-02-03 Allan McRae <allan@archlinux.org>
9425 * po/sl.po: Update Slovenian translation from translation project.
9427 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9429 * manual/time.texi (timegm): Add missing blank after @c.
9430 Reported by Joseph Myers <joseph@codesourcery.com>.
9432 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9434 * manual/check-safety.sh: New.
9435 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9437 * manual/terminal.texi: Document MTASC-safety properties.
9439 * manual/filesys.texi: Document MTASC-safety properties.
9441 * manual/errno.texi: Document MTASC-safety properties.
9443 * manual/intro.texi: Document safety identifiers and
9446 * manual/string.texi (wcstok): Fix prototype.
9447 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9449 * manual/time.texi: Document MTASC-safety properties.
9451 * manual/string.texi: Document MTASC-safety properties.
9453 * manual/threads.texi: Document MTASC-safety properties.
9455 * manual/stdio.texi: Document MTASC-safety properties.
9457 * manual/syslog.texi: Document MTASC-safety properties.
9459 * manual/sysinfo.texi: Document MTASC-safety properties.
9461 * manual/startup.texi: Document MTASC-safety properties.
9463 * manual/socket.texi: Document MTASC-safety properties.
9465 * manual/signal.texi: Document MTASC-safety properties.
9467 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9469 * manual/setjmp.texi: Document MTASC-safety properties.
9471 * manual/search.texi: Document MTASC-safety properties.
9473 * manual/resource.texi: Document MTASC-safety properties.
9475 * manual/process.texi: Document MTASC-safety properties.
9477 * manual/platform.texi: Document MTASC-safety properties.
9479 * manual/pipe.texi: Document MTASC-safety properties.
9481 * manual/pattern.texi: Document MTASC-safety properties.
9483 * manual/message.texi: Document MTASC-safety properties.
9486 * manual/memory.texi: Document MTASC-safety properties.
9488 * manual/math.texi: Document MTASC-safety properties.
9490 * manual/locale.texi: Document MTASC-safety properties.
9492 * manual/llio.texi: Document MTASC-safety properties.
9494 * manual/libdl.texi: New.
9496 * manual/lang.texi: Document MTASC-safety properties.
9498 * manual/job.texi: Document MTASC-safety properties.
9500 * manual/getopt.texi: Document MTASC-safety properties.
9502 * manual/ctype.texi: Document MTASC-safety properties.
9504 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9507 * csu/libc-tls.c (static_map): Remove variable.
9508 (__libc_setup_tls): Use main executable's link map for TLS data.
9509 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9510 casing for LM_ID_BASE and GL(dl_nns).
9511 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9512 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9513 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9514 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9515 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9517 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9520 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9522 * manual/debug.texi: Document MTASC-safety properties.
9524 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9527 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9528 of __x86_64__ when disabling x87 inline functions.
9530 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9532 * manual/charset.texi: Document MTASC-safety properties.
9534 * manual/crypt.texi: Document MTASC-safety properties.
9536 * manual/conf.texi: Document MTASC-safety properties.
9538 * manual/arith.texi: Document MTASC-safety properties.
9540 * manual/argp.texi: Document MTASC-safety properties.
9542 * manual/macros.texi: Introduce macros to document multi
9543 thread, asynchronous signal and asynchronous cancellation
9545 * manual/intro.texi: Introduce the properties themselves.
9547 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9549 * sysdeps/sh/sh4/Makefile: New file.
9551 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9553 * math/gen-libm-test.pl ($srcdir): New variable.
9554 ($auto_input): Use it.
9556 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9559 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9560 access beyond array bounds when parsing netgroups file.
9562 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9563 the old buffer before realloc.
9565 2014-01-27 Allan McRae <allan@archlinux.org>
9567 * po/fr.po: Update French translation from translation project.
9569 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9571 * sysdeps/sh/libm-test-ulps: Regenerate.
9573 2014-01-24 David S. Miller <davem@davemloft.net>
9575 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9577 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9579 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9580 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9582 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9585 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9586 string pointers after reallocation.
9588 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9590 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9591 __SH4A__ instead of __SH_FPU_ANY__.
9593 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9595 * sysdeps/sh/fpu_control.h: New file.
9596 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9597 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9598 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9599 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9600 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9601 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9602 * sysdeps/sh/sys/ucontext.h: Remove.
9603 * sysdeps/sh/sys: Remove directory.
9605 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9607 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9608 s390/sys/ucontext.h.
9609 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9610 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9612 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9615 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9617 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9620 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9621 Adjust the vDSO correctly for internal calls.
9622 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9624 2014-01-20 Allan McRae <allan@archlinux.org>
9626 * po/ca.po: Update Catalan translation from translation project.
9628 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9630 * sysdeps/s390/sotruss-lib.c: New file.
9632 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9635 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9636 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9637 local calls issues by not having a PLT stub required for IFUNC calls.
9638 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9640 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9642 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9643 * math/test-fpucw-static.c: Likewise.
9645 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9648 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9650 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9652 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9653 implementation for powerpc.
9655 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9658 * sysdeps/posix/system.c (__libc_system): Do not enable
9659 asynchronous cancellation.
9661 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9664 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9665 handling only for numbers special also in the IEEE case.
9667 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9669 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9671 2014-01-11 Allan McRae <allan@archlinux.org>
9673 * po/bg.po: Update Bulgarian translation from translation project.
9675 * po/de.po: Update German translation from translation project.
9677 2014-01-10 Roland McGrath <roland@hack.frob.com>
9679 * sysdeps/generic/gcc-compat.h: New file.
9681 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9683 * benchtests/asin-inputs: Correct slow inputs.
9684 * benchtests/acos-inputs: Likewise.
9686 2014-01-10 Allan McRae <allan@archlinux.org>
9688 * po:sv.po: Update Swedish translation from translation project.
9690 * po/vi.po: Update Vietnamese translation from translation project.
9692 * po/eo.po: Update Esperanto translation from translation project.
9694 * po/cs.po: Update Czech translation from translation project.
9696 * po/nl.po: Update Dutch translation from translation project.
9698 * po/pl.po: Update Polish translation from translation project.
9700 * po/ru.po: Update Russian translation from translation project.
9702 * po/uk.po: Update Ukrainian translation from translation project.
9704 2014-01-08 Brooks Moses <bmoses@google.com>
9706 * elf/dl-load.c: Fix comment typo.
9708 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9710 * po/header.pot: Rename to...
9711 * po/pot.header: ... this.
9712 * po/Makefile: Use pot.header.
9714 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9715 Maxim Kuvyrkov <maxim@kugelworks.com>
9718 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9719 SRC and DEST against LEN.
9721 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9724 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9726 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9728 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9732 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9735 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9736 for large positive arguments.
9738 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9740 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9742 * math/auto-libm-test-in: Mark various tests with
9743 xfail-rounding:ldbl-128ibm.
9744 * math/auto-libm-test-out: Regenerated.
9747 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9748 Increase overflow threshold.
9750 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9753 * stdio-common/vfprintf.c: Check for integer overflow.
9755 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9757 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9758 the first argument and return value of __tls_get_addr_internal.
9760 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9762 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9763 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9765 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9767 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9768 * sysdeps/s390/rtld-global-offsets.sym: New file.
9769 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9771 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9772 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9773 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9775 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9776 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9782 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9783 halfs of GPRs for high_gprs contexts.
9784 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9785 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9787 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9789 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9791 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9792 for high GPRs (uc_high_gprs) and for future extensions
9794 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9795 for future extensions (__reserved).
9796 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9798 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9799 SC_HIGHGPRS offset definition.
9800 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9801 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9803 * Versions.def: Add GLIBC_2.19 for libpthread.
9804 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9805 siglongjmp for libpthread with GLIBC_2.19 symver.
9806 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9807 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9808 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9809 * sysdeps/s390/__longjmp.c: New file.
9810 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9811 * sysdeps/s390/longjmp.c: New file.
9812 * sysdeps/s390/setjmp.S: New file.
9813 * sysdeps/s390/sigjmp.S: New file.
9814 * sysdeps/s390/v1-longjmp.c: New file.
9815 * sysdeps/s390/v1-setjmp.h: New file.
9816 * sysdeps/s390/v1-sigjmp.c: New file.
9817 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9818 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9820 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9821 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9822 versioned symbols for ____longjmp_chk.
9823 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9833 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9834 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9835 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9836 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9837 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9838 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9839 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9840 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9841 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9842 * sysdeps/s390/rtld-__longjmp.c: New file.
9843 * sysdeps/s390/rtld-setjmp.S: New file.
9845 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9848 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9849 Return -__logl (x) for small positive arguments without evaluating
9852 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9854 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9856 (__ptrace_peeksiginfo_args): ... this.
9857 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9858 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9859 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9861 2014-01-06 Allan McRae <allan@archlinux.org>
9863 * inet/netinet/in.h: Fix typo in comment.
9865 2014-01-05 Andreas Jaeger <aj@suse.de>
9867 * sysdeps/i386/fpu/libm-test-ulps: Update.
9869 2014-01-05 Allan McRae <allan@archlinux.org>
9871 * po/libc.pot: Regenerated.
9873 * malloc/memusagestat.c: Fix gettext call formatting.
9875 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9877 * nscd/nscd.c: Improve usage() output.
9879 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9881 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9882 * sysdeps/unix/sysv/linux/configure: Regenerated.
9883 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9884 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9886 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9889 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9890 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9892 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9894 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9895 extra tokens at end of #undef directive.
9896 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9897 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9898 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9900 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9902 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9904 * math/auto-libm-test-in: Mark various tests with
9905 xfail-rounding:ldbl-128ibm.
9906 * math/auto-libm-test-out: Regenerated.
9908 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9911 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9912 numbers with subnormal high part when calculating exponent.
9915 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9919 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9921 (__ieee754_acoshl): Use __log1pl not __log1p.
9923 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9925 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9926 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9927 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9928 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9929 (reused_arena, arena_get2): Convert to GNU style.
9930 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9931 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9932 (memalign_check, __malloc_set_state): Likewise.
9933 * malloc/mallocbug.c (main): Likewise.
9934 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9935 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9936 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9937 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9938 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9939 (__posix_memalign, malloc_info): Likewise.
9940 * malloc/malloc.h: Likewise.
9941 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9942 (mallochook, memalignhook, reallochook, mabort): Likewise.
9943 * malloc/mcheck.h: Likewise.
9944 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9945 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9946 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9947 * malloc/morecore.c (__default_morecore): Likewise.
9948 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9949 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9950 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9951 (print_and_abort): Likewise.
9952 * malloc/obstack.h: Likewise.
9953 * malloc/set-freeres.c (__libc_freeres): Likewise.
9954 * malloc/tst-mallocstate.c (main): Likewise.
9955 * malloc/tst-mtrace.c (main): Likewise.
9956 * malloc/tst-realloc.c (do_test): Likewise.
9958 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9961 * nscd/netgroupcache.c (do_notfound): New function.
9962 (addgetnetgrentX): Use it.
9965 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9966 NSS_STATUS_NOTFOUND.
9968 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9970 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9973 2014-01-01 Allan McRae <allan@archlinux.org>
9975 * scripts/update-copyrights: Update configure input file suffix.
9977 * NEWS: Update copyright year.
9978 * catgets/gencat.c: Likewise.
9979 * csu/version.c: Likewise.
9980 * debug/catchsegv.sh: Likewise.
9981 * debug/pcprofiledump.c: Likewise.
9982 * debug/xtrace.sh: Likewise.
9983 * elf/ldconfig.c: Likewise.
9984 * elf/ldd.bash.in: Likewise.
9985 * elf/pldd.c: Likewise.
9986 * elf/sotruss.ksh: Likewise.
9987 * elf/sprof.c: Likewise.
9988 * iconv/iconv_prog.c: Likewise.
9989 * iconv/iconvconfig.c: Likewise.
9990 * locale/programs/locale.c: Likewise.
9991 * locale/programs/localedef.c: Likewise.
9992 * login/programs/pt_chown.c: Likewise.
9993 * malloc/memusage.sh: Likewise.
9994 * malloc/memusagestat.c: Likewise.
9995 * malloc/mtrace.pl: Likewise.
9996 * manual/libc.texinfo: Likewise.
9997 * nscd/nscd.c: Likewise.
9998 * nss/getent.c: Likewise.
9999 * nss/makedb.c: Likewise.
10000 * posix/getconf.c: Likewise.
10001 * scripts/test-installation.pl: Likewise.
10003 * All files with FSF copyright notices: Update copyright dates
10004 using scripts/update-copyrights.
10005 * intl/plural.c: Regenerated.
10006 * locale/programs/charmap-kw.h: Likewise.
10007 * locale/programs/locfile-kw.h: Likewise.
10009 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10011 * sysdeps/unix/sysv/linux/configure: Regenerated.
10012 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10013 the linux/fanotify.h header.
10014 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10015 HAVE_LINUX_FANOTIFY_H is defined.
10017 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10019 * benchtests/cos-inputs: New inputs.
10020 * benchtests/sin-inputs: Likewise.
10022 * benchtests/atan-inputs: New inputs. Fix name of multiple
10023 precision fallback inputs.
10025 * benchtests/atanh-inputs: New inputs.
10026 * benchtests/tanh-inputs: Likewise.
10028 * benchtests/acosh-inputs: New inputs.
10029 * benchtests/asinh-inputs: Likewise.
10031 * benchtests/cosh-inputs: New inputs.
10032 * benchtests/sinh-inputs: Likewise.
10034 * benchtests/acos-inputs: Add more inputs.
10035 * benchtests/asin-inputs: Likewise.
10037 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10040 * manual/arith.texi: Fix spelling.
10041 * manual/charset.texi: Likewise.
10042 * manual/errno.texi: Likewise.
10043 * manual/filesys.texi: Likewise.
10044 * manual/lang.texi: Likewise.
10045 * manual/llio.texi: Likewise.
10046 * manual/locale.texi: Likewise.
10047 * manual/message.texi: Likewise.
10048 * manual/resource.texi: Likewise.
10049 * manual/search.texi: Likewise.
10050 * manual/setjmp.texi: Likewise.
10051 * manual/stdio.texi: Likewise.
10052 * manual/string.texi: Likewise.
10053 * manual/sysinfo.texi: Likewise.
10054 * manual/time.texi: Likewise.
10056 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10058 * po/sl.po: New file.
10060 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10062 * .gitignore: Add core/.gdbinit/.gdb_history.
10064 2013-12-27 Allan McRae <allan@archlinux.org>
10067 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10068 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10070 2013-12-24 Brooks Moses <bmoses@google.com>
10072 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10073 all compilers that claim C++98 compliance, not just GCC.
10074 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10077 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10079 * NEWS: Restore accidentally deleted bug-fix entries.
10081 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10082 Ondřej Bílka <neleai@seznam.cz>
10085 * malloc/malloc.c (_int_free): Perform sanity check only if we
10088 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10091 * manual/stdio.texi (String Input Conversions): Clarify that character
10092 classes are not supported.
10094 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10098 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10101 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10102 Calculate results for small negative arguments directly rather
10103 than using reflection formula with special underflow handling.
10105 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10106 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10107 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10108 (fchflags): Likewise.
10109 (revoke): Likewise.
10110 (setlogin): Likewise.
10111 (sigaltstack): Likewise.
10113 (sigblock): Remove.
10114 (sigsetmask): Likewise.
10116 (waitpid): Likewise.
10117 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10118 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10120 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10121 * sysdeps/unix/bsd/Makefile: ... here.
10122 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10123 * sysdeps/unix/bsd/Versions: ... here.
10124 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10125 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10126 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10127 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10128 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10129 * sysdeps/unix/bsd/sigblock.c: ... here.
10130 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10131 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10132 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10133 * sysdeps/unix/bsd/sigvec.c: ... here.
10134 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10135 * sysdeps/unix/bsd/tcdrain.c: ... here.
10136 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10137 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10138 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10139 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10140 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10141 * sysdeps/unix/bsd/wait.c: ... here.
10142 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10143 * sysdeps/unix/bsd/wait3.c: ... here.
10144 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10145 * sysdeps/unix/bsd/waitpid.c: ... here.
10147 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10150 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10151 round-to-nearest for [!USE_AS_EXPM1L].
10152 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10153 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10154 more tests of exp and exp10. Expect some exp10 tests to miss
10155 exceptions or fail in directed rounding modes.
10156 * math/auto-libm-test-out: Regenerated.
10157 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10158 (exp10_test_tonearest): New function.
10159 (exp10_towardzero_test_data): New array.
10160 (exp10_test_towardzero): New function.
10161 (exp10_downward_test_data): New array.
10162 (exp10_test_downward): New function.
10163 (exp10_upward_test_data): New array.
10164 (exp10_test_upward): New function.
10165 (main): Call the new functions.
10166 * sysdeps/i386/fpu/libm-test-ulps: Update.
10167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10169 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10171 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10172 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10173 * math/auto-libm-test-out: Regenerated.
10174 * math/libm-test.inc (acosh_test_data): Add more tests.
10175 (atanh_test_data): Likewise.
10176 (ceil_test_data): Likewise.
10177 (copysign_test_data): Likewise.
10178 * sysdeps/i386/fpu/libm-test-ulps: Update.
10179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10181 * timezone/checktab.awk: Update from tzcode 2013i.
10182 * timezone/private.h: Likewise.
10183 * timezone/scheck.c: Likewise.
10184 * timezone/tzfile.h: Likewise.
10185 * timezone/tzselect.ksh: Likewise.
10186 * timezone/zdump.c: Likewise.
10187 * timezone/zic.c: Likewise.
10189 * math/auto-libm-test-in: Add tests of cpow.
10190 * math/auto-libm-test-out: Regenerated.
10191 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10192 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10194 (func_calc_desc): Add mpc_cc_c union field.
10195 (test_functions): Add cpow.
10196 (special_fill_2pi): New function.
10197 (special_real_inputs): Add 2pi.
10198 (calc_generic_results): Handle mpc_cc_c.
10199 * sysdeps/i386/fpu/libm-test-ulps: Update.
10200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10202 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10203 csqrt, ctan and ctanh.
10204 * math/auto-libm-test-out: Regenerated.
10205 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10206 (TEST_COND_x86): Likewise.
10207 (ccos_test_data): Use AUTO_TESTS_c_c.
10208 (ccosh_test_data): Likewise.
10209 (cexp_test_data): Likewise.
10210 (clog_test_data): Likewise.
10211 (csqrt_test_data): Likewise.
10212 (ctan_test_data): Likewise.
10213 (ctan_tonearest_test_data): Likewise.
10214 (ctan_towardzero_test_data): Likewise.
10215 (ctan_downward_test_data): Likewise.
10216 (ctan_upward_test_data): Likewise.
10217 (ctanh_test_data): Likewise.
10218 (ctanh_tonearest_test_data): Likewise.
10219 (ctanh_towardzero_test_data): Likewise.
10220 (ctanh_downward_test_data): Likewise.
10221 (ctanh_upward_test_data): Likewise.
10222 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10224 (func_calc_desc): Add mpc_c_c union field.
10225 (FUNC_mpc_c_c): New macro.
10226 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10227 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10229 (special_fill_min_subnorm_p120): New function.
10230 (special_real_inputs): Add min_subnorm_p120.
10231 (calc_generic_results): Handle mpc_c_c.
10232 * sysdeps/i386/fpu/libm-test-ulps: Update.
10233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10235 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10237 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10238 (do_sin_slow): New functions.
10239 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10240 (cslow2, csloww1, csloww2): Use the new functions.
10242 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10243 Use M to change sign of result instead of X. Assume X is
10245 (csloww1): Likewise.
10249 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10250 arguments A and DA.
10254 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10256 (sloww1): Don't adjust sign of DX.
10257 (csloww1): Likewise.
10258 (sloww2): Use X directly and don't adjust sign of DX.
10259 (csloww2): Likewise.
10261 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10263 * math/auto-libm-test-in: Add tests of cabs and carg.
10264 * math/auto-libm-test-out: Regenerated.
10265 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10266 (carg_test_data): Likewise.
10267 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10269 (func_calc_desc): Add mpc_c_f union field.
10270 (test_functions): Add cabs and carg.
10271 (calc_generic_results): Handle mpc_c_f.
10273 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10274 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10275 as a macro and a compat symbol.
10276 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10277 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10278 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10279 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10280 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10281 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10283 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10285 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10287 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10289 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10291 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10293 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10294 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10297 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10301 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10303 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10304 trailing whitespace removed.
10305 * scripts/config.guess: Update to version 2013-11-29.
10306 * scripts/config.sub: Update to version 2013-10-01.
10308 * math/auto-libm-test-in: Add tests of sincos.
10309 * math/auto-libm-test-out: Regenerated.
10310 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10311 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10313 (func_calc_desc): Add mpfr_f_11 union field.
10314 (test_functions): Add sincos.
10315 (calc_generic_results): Handle mpfr_f_11.
10316 * sysdeps/i386/fpu/libm-test-ulps: Update.
10317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10319 2013-12-19 Andreas Schwab <schwab@suse.de>
10321 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10323 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10324 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10325 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10327 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10329 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10330 * sysdeps/i386/fpu/libm-test-ulps: Update.
10331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10334 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10335 round-to-nearest mode when using frndint.
10336 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10337 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10338 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10340 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10342 * math/auto-libm-test-out: Regenerated.
10343 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10344 (TEST_COND_x86): Likewise.
10345 (expm1_tonearest_test_data): New array.
10346 (expm1_test_tonearest): New function.
10347 (expm1_towardzero_test_data): New array.
10348 (expm1_test_towardzero): New function.
10349 (expm1_downward_test_data): New array.
10350 (expm1_test_downward): New function.
10351 (expm1_upward_test_data): New array.
10352 (expm1_test_upward): New function.
10353 (main): Run the new test functions.
10354 * sysdeps/i386/fpu/libm-test-ulps: Update.
10355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10357 * include/features.h: Update comment documenting feature test
10358 macros. Mention _DEFAULT_SOURCE in comment.
10359 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10360 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10361 _BSD_SOURCE and _SVID_SOURCE.
10362 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10363 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10364 !_SVID_SOURCE]: Likewise.
10365 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10366 (__USE_POSIX_IMPLICITLY): Define.
10367 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10368 (_POSIX_SOURCE): Undefine and redefine.
10369 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10370 (_POSIX_C_SOURCE): Likewise.
10371 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10372 (Feature Test Macros): Update documentation of default features.
10374 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10376 * benchtests/Makefile: Add bench-strtok.
10377 * benchtests/bench-strtok.c: New file: strtok benchtest.
10379 2013-12-19 Allan McRae <allan@archlinux.org>
10381 * manual/install.texi: Suppress menu for plain text output.
10382 * INSTALL: Regenerated.
10384 2013-12-18 Brooks Moses <bmoses@google.com>
10387 * misc/getauxval.c: Include errno.h.
10388 (__getauxval): Set errno to ENOENT if the requested type is not
10390 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10391 don't declare with __attribute_const__.
10392 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10393 * manual/startup.texi: Document that getauxval sets errno.
10395 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10397 * math/auto-libm-test-in: Add tests of jn and yn.
10398 * math/auto-libm-test-out: Regenerated.
10399 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10400 (yn_test_data): Likewise.
10401 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10403 (func_calc_desc): Add mpfr_if_f union field.
10404 (FUNC_mpfr_if_f): New macro.
10405 (test_functions): Add jn and yn.
10406 (calc_generic_results): Assert type of second input for
10407 mpfr_ff_f. Handle mpfr_if_f.
10408 (output_for_one_input_case): Disable all checking for arguments
10409 fitting floating-point types in case of an integer argument.
10410 * sysdeps/i386/fpu/libm-test-ulps: Update.
10411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10414 Don't expect fegetround reference in libm.so.
10416 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10418 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10419 $(config-cflags-nofma).
10421 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10423 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10424 * math/auto-libm-test-out: Regenerated.
10427 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10428 to determine exponent and adjust argument to have exponent of -1.
10429 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10431 * math/auto-libm-test-out: Regenerated.
10432 * sysdeps/i386/fpu/libm-test-ulps: Update.
10433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10435 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10437 * manual/probes.texi: Remove cases when per-thread arenas are
10440 2013-12-18 Andreas Schwab <schwab@suse.de>
10442 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10443 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10444 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10445 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10446 * sysdeps/i386/i686/multiarch/Makefile: Update.
10447 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10449 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10451 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10452 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10454 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10457 Support TZ transition times < 00:00:00.
10458 This is needed for version-3 tz-format files; it supports time
10459 stamps past 2037 for America/Godthab (the only entry in the tz
10460 database for which this change is relevant).
10461 * manual/time.texi (TZ Variable): Document transition times
10462 from -167:59:59 through -00:00:01.
10463 * time/tzset.c (tz_rule): Time of day is now signed.
10464 (__tzset_parse_tz): Parse negative time of day.
10466 Document TZ transition times >= 25:00:00.
10467 * manual/time.texi (TZ Variable): Document transition times from
10468 25:00:00 through 167:59:59. These are already supported, and this
10469 support will help with version-3 tz-format files.
10471 * manual/time.texi (TZ Variable): Modernize North America example
10472 to reflect current (i.e., 2007-and-later) daylight saving rules.
10474 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10476 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10478 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10479 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10481 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10482 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10483 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10484 * sysdeps/unix/bsd/clock.c: Likewise.
10485 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10486 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10487 * sysdeps/unix/bsd/init-posix.c: Likewise.
10488 * sysdeps/unix/bsd/poll.c: Likewise.
10489 * sysdeps/unix/bsd/ptsname.c: Likewise.
10490 * sysdeps/unix/bsd/seekdir.c: Likewise.
10491 * sysdeps/unix/bsd/setegid.c: Likewise.
10492 * sysdeps/unix/bsd/seteuid.c: Likewise.
10493 * sysdeps/unix/bsd/setgid.c: Likewise.
10494 * sysdeps/unix/bsd/setrgid.c: Likewise.
10495 * sysdeps/unix/bsd/setruid.c: Likewise.
10496 * sysdeps/unix/bsd/setsid.c: Likewise.
10497 * sysdeps/unix/bsd/setuid.c: Likewise.
10498 * sysdeps/unix/bsd/sigaction.c: Likewise.
10499 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10500 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10501 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10502 * sysdeps/unix/bsd/telldir.c: Likewise.
10503 * sysdeps/unix/bsd/times.c: Likewise.
10504 * sysdeps/unix/bsd/usleep.c: Likewise.
10506 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10507 ($(objpfx)libbsd-compat.a): Remove rule.
10509 * include/features.h (__FAVOR_BSD): Do not define.
10510 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10511 features conflicting with POSIX.
10512 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10513 (_BSD_SOURCE): Remove description of not being a subset of other
10514 feature test macros.
10515 * manual/job.texi (getpgrp): Do not document BSD version.
10516 (getpgid): Do not document by reference to BSD getpgrp.
10517 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10518 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10519 * signal/signal.h [__FAVOR_BSD]: Likewise.
10520 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10521 instead of making contents conditional on [__FAVOR_BSD].
10522 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10524 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10528 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10531 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10532 values below 2**-450, not 2**-500.
10533 * math/auto-libm-test-in: Don't allow spurious underflow from
10535 * math/auto-libm-test-out: Regenerated.
10539 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10540 values of ha and hb and sort them after adjusting subnormal
10542 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10544 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10545 values of ea and eb and sort them after adjusting subnormal
10547 * math/auto-libm-test-in: Do not expect some hypot tests of
10548 subnormals to fail. Add more hypot tests.
10549 * math/auto-libm-test-out: Regenerated.
10551 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10554 * sysdeps/sh/s_fma.c: New file.
10555 * sysdeps/sh/s_fmaf.c: New file.
10556 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10558 * sysdeps/sh/Implies: Add sh/soft-fp.
10560 2013-12-16 Roland McGrath <roland@hack.frob.com>
10562 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10563 level of indirection to members `objname', `errstring', `malloced'.
10564 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10565 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10566 it as the __longjmp argument (just pass 1 instead).
10567 (_dl_catch_error): Initialize C with argument pointers and address of
10568 volatile local ERRCODE rather than copying values out of C at return.
10570 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10572 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10573 * math/auto-libm-test-out: Regenerated.
10574 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10575 (hypot_test_data): Likewise.
10576 (pow_test_data): Likewise.
10577 (pow_tonearest_test_data): Likewise.
10578 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10580 (func_calc_desc): Add mpfr_ff_f union field.
10581 (FUNC_mpfr_ff_f): New macro.
10582 (test_functions): Add atan2, hypot and pow.
10583 (special_fill_min): New function.
10584 (special_fill_minus_min): Likewise.
10585 (special_fill_min_subnorm): Likewise.
10586 (special_fill_minus_min_subnorm): Likewise.
10587 (special_real_inputs): Add min, -min, min_subnorm and
10589 (calc_generic_results): Handle mpfr_ff_f.
10590 * sysdeps/i386/fpu/libm-test-ulps: Update.
10591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10593 2013-12-16 Will Newton <will.newton@linaro.org>
10595 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10596 (Aligned Memory Blocks): Add documentation for aligned_alloc
10597 and suggest it as an alternative to posix_memalign.
10598 (Hooks for Malloc): Document __memalign_hook is also called
10599 for aligned_alloc. (Summary of Malloc): Add summary for
10600 aligned alloc. Document __memalign_hook is also called
10603 2013-12-16 Will Newton <will.newton@linaro.org>
10605 * manual/memory.texi (Malloc Examples): Clarify default
10606 alignment documentation. Suggest posix_memalign rather
10607 than memalign or valloc.
10608 (Aligned Memory Blocks): Remove suggestion to use memalign
10609 or valloc. Remove obsolete comment about BSD.
10610 Document memalign errno values and mark the function obsolete.
10611 Document posix_memalign returned error codes. Mark valloc
10612 as obsolete. (Hooks for Malloc): __memalign_hook is also
10613 called for posix_memalign and valloc.
10614 (Summary of Malloc): Add posix_memalign to function summary.
10615 __memalign_hook is also called for posix_memalign and valloc.
10617 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10619 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10623 (sloww): Use mynumber union. Expand ternary operator into
10624 if-else statements.
10625 (cslow): use mynumber union.
10627 2013-12-16 Allan McRae <allan@archlinux.org>
10629 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10630 * configure: Regenerated.
10632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10635 * configure.ac: Added --enable-maintainer-mode. Check for
10636 autoconf when enabled.
10637 * configure: Regenerated.
10639 * nscd/nscd.service: New file.
10640 * nscd/nscd.tmpfiles: New file.
10642 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10645 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10646 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10647 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10648 (strstr): Add __strstr_sse2_unaligned ifunc.
10649 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10650 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10651 (strcasestr): Remove __strcasestr_sse42 ifunc.
10652 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10656 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10658 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10659 * sysdeps/sh/bits/fenv.h: ... here.
10660 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10662 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10664 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10666 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10667 hypotf multiarch implementations.
10668 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10669 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10670 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10671 multiarch hypot for PPC64.
10672 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10673 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10674 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10675 multiarch hypotf for PPC64.
10677 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10678 modff multiarch implementations.
10679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10682 multiarch modf for PPC64.
10683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10686 multiarch modff for PPC64.
10688 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10689 and logl multiarch implementations.
10690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10693 multiarch logb for PPC64.
10694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10697 multiarch logb for PPC64.
10698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10701 multiarch logb for PPC64.
10703 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10704 isinff multiarch implementation.
10705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10709 multiarch isinf for PPC64.
10710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10713 multiarch isinff for PPC64.
10715 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10716 finitef multiarch implementation.
10717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10721 multiarch finite for PPC64.
10722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10725 multiarch finitef for PPC64.
10727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10728 lrint multiarch implementation.
10729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10733 multiarch llrint for PPC64.
10734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10735 multiarch lrint for PPC64.
10737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10738 copysignf multiarch implementation.
10739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10744 multiarch copysign for PPC64.
10745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10746 multiarch copysignf for PPC64.
10748 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10749 multiarch implementation.
10750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10758 multiarch llround for PPC64.
10759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10760 multiarch trunc for PPC64.
10761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10762 multiarch truncf for PPC64.
10764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10765 multiarch implementation.
10766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10774 multiarch llround for PPC64.
10775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10776 multiarch round for PPC64.
10777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10778 multiarch roundf for PPC64.
10780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10781 multiarch implementation.
10782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10790 multiarch llround for PPC64.
10791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10792 multiarch floor for PPC64.
10793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10794 multiarch floorf for PPC64.
10796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10797 multiarch implementation.
10798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10806 multiarch llround for PPC64.
10807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10808 multiarch ceil for PPC64.
10809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10810 multiarch ceilf for PPC64.
10812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10813 multiarch implementation.
10814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10821 multiarch llround for PPC64.
10822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10823 multiarch lround for PPC64.
10825 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10826 multiarch implementation.
10827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10834 multiarch isnan for PPC64.
10835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10836 multiarch isnanf for PPC64.
10838 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10839 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10840 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10841 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10842 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10845 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10846 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10847 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10848 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10851 multiarch implementations.
10852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10853 (__libc_ifunc_impl_list): Likewise.
10854 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10855 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10856 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10857 multiarch stpcpy for PPC64.
10859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10860 multiarch implementations.
10861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10862 (__libc_ifunc_impl_list): Likewise.
10863 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10864 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10865 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10866 multiarch strcpy for PPC64.
10868 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10869 redefine function name.
10870 (_wordcopy_fwd_dest_aligned): Likewise.
10871 (_wordcopy_bwd_aligned): Likewise.
10872 (_wordcopy_bwd_dest_aligned): Likewise.
10873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10874 multiarch implementations.
10875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10876 (__libc_ifunc_impl_list): Likewise.
10877 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10878 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10879 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10880 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10881 multiarch wcscpy for PPC64.
10883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10884 multiarch implementations.
10885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10886 (__libc_ifunc_impl_list): Likewise.
10887 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10888 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10889 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10890 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10891 multiarch wcscpy for PPC64.
10893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10894 multiarch implementations.
10895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10896 (__libc_ifunc_impl_list): Likewise.
10897 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10898 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10899 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10900 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10901 multiarch wcsrchr for PPC64.
10903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10904 multiarch implementations.
10905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10906 (__libc_ifunc_impl_list): Likewise.
10907 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10908 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10909 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10910 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10911 multiarch wcschr for PPC64.
10913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10914 multiarch implementations.
10915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10916 (__libc_ifunc_impl_list): Likewise.
10917 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10918 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10919 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10920 multiarch strchrnul for PPC64.
10922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10925 (__libc_ifunc_impl_list): Likewise.
10926 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10927 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10928 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10929 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10935 (__libc_ifunc_impl_list): Likewise.
10936 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10937 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10938 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10939 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10943 multiarch implementations.
10944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10945 (__libc_ifunc_impl_list): Likewise.
10946 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10947 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10948 strncasecmp for PPC64.
10949 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10950 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10951 multiarch strncasecmp_l for PPC64.
10953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10954 multiarch implementations.
10955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10956 (__libc_ifunc_impl_list): Likewise.
10957 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10958 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10959 multiarch strcasecmp for PPC64.
10960 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10962 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10963 multiarch strcasecmp_l for PPC64.
10965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10968 (__libc_ifunc_impl_list): Likewise.
10969 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10970 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10971 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10977 (__libc_ifunc_impl_list): Likewise.
10978 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10979 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10980 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10983 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10986 (__libc_ifunc_impl_list): Likewise.
10987 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10988 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10989 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10990 rawmemrchr for PPC64.
10992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10995 (__libc_ifunc_impl_list): Likewise.
10996 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10997 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10998 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11004 (__libc_ifunc_impl_list): Likewise.
11005 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11006 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11007 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11013 (__libc_ifunc_impl_list): Likewise.
11014 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11015 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11016 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11019 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11020 avoid cretion of __bzero symbol.
11021 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11023 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11025 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11028 multiarch implementations.
11029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11030 (__libc_ifunc_impl_list): Likewise.
11031 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11032 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11033 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11034 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11036 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11037 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11038 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11039 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11040 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11042 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11044 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11048 (__libc_ifunc_impl_list): Likewise.
11049 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11050 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11051 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11052 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11056 multiarch for POWER/PPC64.
11057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11058 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11059 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11060 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11061 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11062 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11063 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11064 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11065 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11068 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11069 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11070 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11071 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11072 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11073 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11074 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11075 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11076 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11077 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11078 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11079 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11080 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11081 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11082 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11091 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11093 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11095 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11097 * benchtests/Makefile (bench): Add exp2 and log2.
11098 (LDLIBS-bench-exp2): Add -lm.
11099 (LDLIBS-bench-log2): Likewise.
11100 * benchtests/exp2-inputs: New inputs file.
11101 * benchtests/log2-inputs: New inputs file.
11102 * benchtests/log-inputs: Add new inputs.
11103 * benchtests/tan-inputs: Likewise.
11105 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11107 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11109 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11110 (csloww2): ... from here.
11112 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11113 instead of structures.
11114 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11115 (POLYNOMIAL): Likewise.
11116 (TAYLOR_SLOW): Likewise.
11122 (sloww1); Likewise.
11123 (sloww2): Likewise.
11124 (bsloww1): Likewise.
11125 (bsloww2): Likewise.
11126 (cslow2): Likewise.
11127 (csloww): Likewise.
11128 (csloww1): Likewise.
11129 (csloww2): Likewise.
11131 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11133 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11134 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11135 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11136 * malloc/hooks.c (realloc_check): Likewise.
11138 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11139 * malloc/arena.c: Remove PER_THREAD conditional.
11140 [!PER_THREAD]: Remove code.
11141 (ptmalloc_unlock_all2): Likewise.
11142 (ptmalloc_init): Likewise.
11143 (_int_new_arena): Likewise.
11144 (arena_get2): Likewise.
11145 * malloc/hooks.c (__malloc_get_state): Likewise.
11146 (__malloc_set_state): Likewise.
11147 * malloc/malloc.c: Likewise.
11148 (struct malloc_state): Likewise.
11149 (struct malloc_par): Likewise.
11150 (__libc_realloc): Likewise.
11151 (__libc_mallopt): Likewise.
11153 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11155 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11157 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11159 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11160 macro to a function. Check for zero perturb_byte.
11161 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11163 * malloc/malloc.c: (force_reg): Remove.
11164 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11165 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11166 force_reg by atomic_forced_read.
11167 * malloc/arena.c (ptmalloc_init): Likewise.
11168 * malloc/hooks.c (top_check): Likewise.
11170 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11174 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11178 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11180 * math/auto-libm-test-in: Add tests of lgamma.
11181 * math/auto-libm-test-out: Regenerated.
11182 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11183 (M_LOG_2_SQRT_PIl): Likewise.
11184 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11185 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11187 (func_calc_desc): Add mpfr_f_f1 union field.
11188 (ARGS1): New macro.
11196 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11197 (test_functions): Add lgamma.
11198 (calc_generic_results): Handle mpfr_f_f1.
11199 * sysdeps/i386/fpu/libm-test-ulps: Update.
11200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11202 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11204 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11205 __mpn_add_n for PowerPC64/POWER7.
11206 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11207 __mpn_sub_n for PowerPC64/POWER7.
11209 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11210 __mpn_addmul_1 for PowerPC64.
11211 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11212 __mpn_submul_1 for PowerPC64.
11213 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11215 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11218 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11221 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11223 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11225 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11227 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11228 add multiarch folders.
11229 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11230 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11231 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11232 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11233 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11234 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11235 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11236 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11237 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11238 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11239 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11248 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11254 multiarch __ieee754_hypot for PowerPC32.
11255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11260 multiarch __ieee754_hypotf for PowerPC32.
11262 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11263 long_double_symbol only if __logbl is defined.
11264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11265 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11266 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11267 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11268 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11269 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11270 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11271 path for implementation.
11272 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11273 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11275 logb, and logbl multiarch implementations for PowerPC32.
11276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11281 multiarch logb for PowerPC32.
11282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11287 multiarch logbf for PowerPC32.
11288 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11292 multiarch logbl implementation for PowerPC32.
11294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11295 and modff multiarch implementations.
11296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11301 multiarch modf for PowerPC32.
11302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11307 multiarch modff for PowerPC32.
11309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11310 and lrintf multiarch implementations.
11311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11316 multiarch lrint for PowerPC32.
11317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11318 file: multiarch lrintf for PowerPC32.
11320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11321 and lroundf multiarch implementations.
11322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11329 multiarch lround for PowerPC32.
11330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11331 file: multiarch lroundf for PowerPC32.
11333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11334 copysign and copysignf multiarch implementations.
11335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11340 file: multiarch copysign for PowerPC32.
11341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11342 file: multiarch copysignf for PowerPC32.
11344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11345 and truncf multiarch implementations.
11346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11351 multiarch trunc for PowerPC32.
11352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11357 multiarch truncf for PowerPC32.
11359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11360 and roundf multiarch implementations.
11361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11366 multiarch round for PowerPC32.
11367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11372 multiarch roundf for PowerPC32.
11374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11375 and floorf multiarch implementations.
11376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11381 multiarch floor for PowerPC32.
11382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11387 multiarch floorf for PowerPC32.
11389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11390 and ceilf multiarch implementations.
11391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11396 multiarch ceil for PowerPC32.
11397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11402 multiarch ceilf for PowerPC32.
11404 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11406 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11407 FINITEF is defined.
11408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11409 and finitef multiarch implementations.
11410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11415 multiarch finite for PowerPC32.
11416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11419 file: multiarch finitef for PowerPC32.
11421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11422 and isinff multiarch implementations.
11423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11428 multiarch isinf for PowerPC32.
11429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11432 multiarch isinff for PowerPC32.
11434 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11435 alias when __isnan is defined.
11436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11437 and isnanf multiarch implementations.
11438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11447 multiarch isnan for PowerPC32.
11448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11453 multiarch isnanf for PowerPC32.
11455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11456 and sqrtf multiarch implementations.
11457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11462 multiarch sqrt for PowerPC32.
11463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11468 multiarch sqrtf for PowerPC32.
11470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11471 and llroundf multiarch implementations.
11472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11479 file: multiarch llround for PowerPC32.
11480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11481 file: multiarch llroundf for PowerPC32.
11483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11484 multiarch PowerPC32 fpu implementations.
11485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11490 multiarch llrint for PowerPC32.
11491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11500 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11502 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11504 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11506 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11507 multiarch wordcopy for PPC32.
11508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11511 (__libc_ifunc_impl_list): Likewise.
11512 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11513 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11514 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11515 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11516 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11517 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11519 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11520 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11522 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11524 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11526 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11527 multiarch wcscpy for PPC32.
11528 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11530 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11531 (__libc_ifunc_impl_list): Likewise.
11532 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11533 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11534 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11535 sysdeps/powerpc/power6/wcscpy.c.
11537 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11540 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11544 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11545 multiarch wcsrchr for PPC32.
11546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11549 (__libc_ifunc_impl_list): Likewise.
11550 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11551 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11552 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11553 sysdeps/powerpc/power6/wcsrchr.c.
11555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11557 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11559 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11560 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11561 multiarch wcschr for PPc32.
11562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11565 (__libc_ifunc_impl_list): Likewise.
11566 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11567 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11568 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11569 sysdeps/powerpc/power6/wcschr.c.
11571 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11572 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11574 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11575 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11576 file: multiarch strchr for PPC32.
11577 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11579 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11580 (__libc_ifunc_impl_list): Likewise.
11582 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11584 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11586 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11588 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11589 multiarch strchrnul for PPC32.
11590 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11592 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11593 (__libc_ifunc_impl_list): Likewise.
11595 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11597 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11598 multiarch strncasecmp for PPC32.
11599 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11601 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11602 multiarch strncasecmp_l for PPC32.
11603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11604 strncasecmp multiarch objects.
11605 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11606 (__libc_ifunc_impl_list): Likewise.
11608 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11610 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11611 multiarch strncasecmp for PPC32.
11612 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11614 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11615 multiarch strcasecmp_l for PPC32.
11616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11619 (__libc_ifunc_impl_list): Likewise.
11621 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11623 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11625 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11626 multiarch strncmp for PPC32.
11627 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11629 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11630 (__libc_ifunc_impl_list): Likewise.
11632 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11633 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11635 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11636 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11640 (__libc_ifunc_impl_list): Likewise.
11642 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11644 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11646 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11647 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11649 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11650 (__libc_ifunc_impl_list): Likewise.
11652 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11654 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11656 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11657 multiarch rawmemchr for PPC32.
11658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11661 (__libc_ifunc_impl_list): Likewise.
11663 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11665 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11667 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11668 file: memrchr multiarch for PPC32.
11669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11672 (__libc_ifunc_impl_list): Likewise.
11674 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11675 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11677 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11678 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11679 multiarch memchr for PPC32.
11680 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11682 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11683 (__libc_ifunc_impl_list): Likewise.
11685 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11686 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11688 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11690 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11691 file: multiarch mempcpy for PPC32.
11692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11695 (__libc_ifunc_impl_list): Likewise.
11697 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11698 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11699 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11700 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11701 multiarch bzero for PPC32.
11702 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11704 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11706 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11707 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11708 file: multiarch memset for PPC32.
11709 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11711 memset multiarch objects.
11712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11713 (__libc_ifunc_impl_list): Likewise.
11715 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11717 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11718 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11720 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11723 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11724 (__libc_ifunc_impl_list): Likewise.
11726 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11727 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11728 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11730 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11732 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11734 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11735 multiarch memcpy for PPC32.
11736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11739 (__libc_ifunc_impl_list): Likewise.
11741 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11742 support multiarch for POWER/PPC32.
11743 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11745 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11747 Implies file to make multiarch folder appers before the fpu and
11748 default folder for power4 configuration.
11750 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11752 * scripts/bench.pl: Append volatile keyword to type.
11754 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11756 * sysdeps/sh/sotruss-lib.c: New file.
11757 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11759 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11763 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11766 * math/w_tgamma.c: Include <errno.h>.
11767 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11768 * math/w_tgammaf.c: Include <errno.h>.
11769 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11770 * math/w_tgammal.c: Include <errno.h>.
11771 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11772 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11773 underflow. Add more tgamma tests.
11774 * math/auto-libm-test-out: Regenerated.
11775 * sysdeps/i386/fpu/libm-test-ulps: Update.
11776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11778 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11779 sin, sinh, tan, tanh, tgamma, y0 and y1.
11780 * math/auto-libm-test-out: Regenerated.
11781 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11782 (TEST_COND_x86): Likewise.
11783 (M_E2l): Remove macro.
11785 (M_2_SQRT_PIl): Likewise.
11786 (M_SQRT_PIl): Likewise.
11787 (M_1_DIV_El): Likewise.
11788 (log_test_data): Use AUTO_TESTS_f_f.
11789 (log10_test_data): Likewise.
11790 (log1p_test_data): Likewise.
11791 (log2_test_data): Likewise.
11792 (sin_test_data): Likewise.
11793 (sin_tonearest_test_data): Likewise.
11794 (sin_towardzero_test_data): Likewise.
11795 (sin_downward_test_data): Likewise.
11796 (sin_upward_test_data): Likewise.
11797 (sinh_test_data): Likewise.
11798 (sinh_tonearest_test_data): Likewise.
11799 (sinh_towardzero_test_data): Likewise.
11800 (sinh_downward_test_data): Likewise.
11801 (sinh_upward_test_data): Likewise.
11802 (tan_test_data): Likewise.
11803 (tan_tonearest_test_data): Likewise.
11804 (tan_towardzero_test_data): Likewise.
11805 (tan_downward_test_data): Likewise.
11806 (tan_upward_test_data): Likewise.
11807 (tanh_test_data): Likewise.
11808 (tgamma_test_data): Likewise.
11809 (y0_test_data): Likewise.
11810 (y1_test_data): Likewise.
11811 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11812 (special_real_inputs): Add pi/4.
11813 * sysdeps/i386/fpu/libm-test-ulps: Update.
11814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11816 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11818 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11819 "longjmp_target" static probes.
11820 (__longjmp): Rename to __longjmp_symbol.
11821 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11822 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11823 on which longjmp to generate.
11824 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11825 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11827 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11828 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11829 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11830 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11831 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11832 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11834 __longjmp_symbol based on which __longjmp to generate.
11835 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11837 (setjmp): Rename to setjmp_symbol.
11838 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11839 (_setjmp): Rename to _setjmp_symbol.
11840 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11841 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11842 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11843 which setjmp to generate.
11844 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11845 "longjmp_target" static probes.
11847 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11849 * benchtests/README: Add note about output arguments.
11850 * benchtests/bench-sincos.c: Remove file.
11851 * benchtests/sincos-inputs: New file.
11852 * scripts/bench.pl: Identify output arguments and define
11853 static variables for them.
11855 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11858 * Makefile (INSTALL): Add install-plain.texi as the primary
11860 * manual/install-plain.texi: New file.
11861 * manual/install.texi: Include node directive only for
11862 non-plaintext output.
11864 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11866 * stdlib/longlong.h: Update from GCC.
11870 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11871 * math/w_j0f.c (y0f): Likewise.
11872 * math/w_j0l.c (__y0l): Likewise.
11873 * math/w_j1.c (y1): Likewise.
11874 * math/w_j1f.c (y1f): Likewise.
11875 * math/w_j1l.c (__y1l): Likewise
11876 * math/w_jn.c (yn): Likewise.
11877 * math/w_jnf.c (ynf): Likewise.
11878 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11879 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11880 value for Bessel function domain errors outside _SVID_ mode.
11881 Adjust sign of return value for yn (negative integer, 0).
11882 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11883 by zero in return for negative x and set sign appropriately for
11885 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11886 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11887 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11888 expectations in error cases.
11889 (y1_test_data): Likewise.
11890 (yn_test_data): Likewise.
11891 * sysdeps/i386/fpu/libm-test-ulps: Update.
11892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11894 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11896 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11897 "64" to "64-v1". Add "64-v2".
11898 (abi-64-options): Rename to ...
11899 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11900 (abi-64-condition): Rename to ...
11901 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11902 (abi-64-ld-soname): Rename to ...
11903 (abi-64-v1-ld-soname): ... this.
11904 (abi-64-v2-options): Define.
11905 (abi-64-v2-condition): Likewise.
11906 (abi-64-v2-ld-soname): Likewise.
11907 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11908 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11913 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11914 Alan Modra <amodra@gmail.com>
11916 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11917 New versions for use with the ELFv2 ABI.
11918 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11919 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11921 (struct La_ppc64v2_retval): Likewise.
11922 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11923 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11924 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11925 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11926 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11927 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11928 Do not save or restore CR.
11929 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11930 (_dl_profile_resolve): Do no save or restore CR. Support extended
11931 return values for ELFv2 ABI. Fix location of FPR return registers.
11932 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11933 updated values for _CALL_ELF == 2.
11934 (La_regs, La_retval, int_retval): Likewise.
11936 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11938 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11939 (FRAME_MIN_SIZE_PARM): Likewise.
11940 (FRAME_BACKCHAIN): Likewise.
11941 (FRAME_CR_SAVE): Likewise.
11942 (FRAME_LR_SAVE): Likewise.
11943 (FRAME_TOC_SAVE): Likewise.
11944 (FRAME_PARM_SAVE): Likewise.
11945 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11946 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11947 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11948 (call_mcount_parm_offset): New macro.
11949 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11950 (PROF): Use symbolic stack frame offsets.
11951 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11952 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11953 Redefine in terms of FRAME_MIN_SIZE.
11954 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11955 (_dl_profile_resolve): Likewise. Update comment.
11956 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11957 symbols stack frame offsets.
11958 (__sigsetjmp): Likewise.
11959 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11960 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11961 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11962 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11965 (FRAME_BACKCHAIN): Remove.
11966 (FRAME_CR_SAVE): Likewise.
11967 (FRAME_LR_SAVE): Likewise.
11968 (FRAME_COMPILER_DW): Likewise.
11969 (FRAME_LINKER_DW): Likewise.
11970 (FRAME_TOC_SAVE): Likewise.
11971 (FRAME_PARM_SAVE): Likewise.
11972 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11973 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11974 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11976 (CHECK_SP): Use symbolic stack frame offsets.
11977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11978 zone" instead of caller's parameter save area for temp storage.
11979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11980 Likewise. Also, use symbolic stack frame offsets.
11981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11982 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11983 our own stack frame instead of the caller's.
11984 (__socket): Use symbolic stack frame offsets.
11986 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11987 Alan Modra <amodra@gmail.com>
11989 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11991 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11992 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11993 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11995 (elf_machine_fixup_plt): Call it.
11996 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11998 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11999 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12000 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12001 r2 before calling target.
12003 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12004 Alan Modra <amodra@gmail.com>
12006 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12007 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12008 versions of macros to support ELFv2 ABI.
12009 (LOCALENTRY): New macro.
12010 (ENTRY, EALIGN): Use it.
12011 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12012 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12013 fall through into ENTRY entry point.
12014 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12015 Only define if _CALL_ELF != 2.
12017 (elf_machine_matches_host): Verify ABI version matches.
12018 (RTLD_START): Use LOCALENTRY.
12019 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12020 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12021 (PLT_ENTRY_WORDS): New macro.
12022 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12023 (elf_machine_runtime_setup): Support ELFv2 ABI.
12024 (elf_machine_fixup_plt): Likewise.
12025 (elf_machine_plt_conflict): Likewise.
12026 (resolve_ifunc): Likewise.
12027 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12028 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12031 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12033 (makecontext): Support ELFv2 ABI.
12034 * elf/elf.h (EF_PPC64_ABI): Define.
12036 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12038 * sysdeps/powerpc/powerpc64/sysdep.h
12039 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12040 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12041 (ENTRY) [ASSEMBLER]: ... but instead here ...
12042 (EALIGN) [ASSEMBLER]: ... and here.
12043 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12044 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12045 (ENTRY_2) [!ASSEMBLER]: Use it.
12046 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12047 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12048 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12049 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12050 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12052 Use PPC64_LOAD_FUNCPTR.
12054 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12056 2013-12-04 Alan Modra <amodra@gmail.com>
12058 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12059 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12060 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12061 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12063 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12064 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12065 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12066 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12067 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12068 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12070 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12073 (__makecontext): Fix incorrect CFI when backtracing out of
12074 context created via makecontext.
12075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12076 (__setcontext): Fix incorrect CFI during switch to new context.
12077 (__novec_setcontext): Likewise.
12079 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12082 * time/strptime_l.c (__strptime_internal): Allow modifiers
12084 * time/tst-strptime.c (day_tests): Add testcase.
12086 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12088 * scripts/bench.pl: Skip over blank lines.
12090 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12093 * manual/time.texi (Calendar Time): Clarify what timezone functions
12096 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12100 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12102 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12104 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12105 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12106 * debug/memset_chk.c (__memset_chk): Likewise.
12107 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12108 * debug/strncpy_chk.c: Likewise.
12110 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12114 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12115 (__ieee754_exp): For possibly underflowing results, check size of
12116 result and force underflow exception if required.
12117 * math/auto-libm-test-in: Add more tests of exp.
12118 * math/auto-libm-test-out: Regenerated.
12119 * sysdeps/i386/fpu/libm-test-ulps: Update.
12120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12123 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12124 * math/w_exp2f.c (__exp2f): Likewise.
12125 * math/w_exp2l.c (__exp2l): Likewise.
12126 * math/auto-libm-test-in: Do not allow missing errno on exp2
12128 * math/auto-libm-test-out: Regenerated.
12130 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12133 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12134 handle filename validation.
12135 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12138 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12141 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12142 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12143 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12145 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12146 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12147 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12148 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12149 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12150 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12151 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12152 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12153 Add more erfc tests.
12154 * math/auto-libm-test-out: Regenerated.
12155 * sysdeps/i386/fpu/libm-test-ulps: Update.
12156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12158 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12159 exp2, expm1, j0 and j1.
12160 * math/auto-libm-test-out: Regenerated.
12161 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12162 (erfc_test_data): Likewise.
12163 (exp_test_data): Likewise.
12164 (exp_tonearest_test_data): Likewise.
12165 (exp_towardzero_test_data): Likewise.
12166 (exp_downward_test_data): Likewise.
12167 (exp_upward_test_data): Likewise.
12168 (exp10_test_data): Likewise.
12169 (exp2_test_data): Likewise.
12170 (expm1_test_data): Likewise.
12171 (j0_test_data): Likewise.
12172 (j1_test_data): Likewise.
12173 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12174 (input_flag_type): Add flag_xfail_rounding.
12175 (input_flags): Add xfail-rounding.
12176 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12177 (output_for_one_input_case): Handle flag_xfail_rounding.
12178 * sysdeps/i386/fpu/libm-test-ulps: Update.
12179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12181 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12184 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12187 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12190 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12191 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12192 (STAP_PROBE0): New macro.
12193 (STAP_PROBE1): Likewise.
12194 (STAP_PROBE2): Likewise.
12195 (STAP_PROBE3): Likewise.
12196 (STAP_PROBE4): Likewise.
12198 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12200 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12202 2013-12-02 Steve Ellcey <sellcey@mips.com>
12204 * benchtests/Makefile (bench): Add sqrt.
12205 (LDLIBS-bench-sqrt): New.
12206 * benchtests/sqrt-input: New.
12208 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12210 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12211 (GAIH_EAI): Likewise.
12212 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12213 (gaih_inet): Likewise.
12214 (getaddrinfo): Don't use GAIH_EAI.
12216 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12217 (struct gaih): Remove definition.
12219 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12221 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12222 Use HERRNOP directly.
12224 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12228 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12230 * math/gen-auto-libm-tests.c (test_functions): Add more
12231 single-argument functions.
12232 (special_fill_pi_2): New function.
12233 (special_fill_minus_pi_2): Likewise.
12234 (special_fill_pi_6): Likewise.
12235 (special_fill_minus_pi_6): Likewise.
12236 (special_fill_pi_3): Likewise.
12237 (special_fill_2pi_3): Likewise.
12238 (special_fill_e): Likewise.
12239 (special_fill_1_e): Likewise.
12240 (special_fill_e_minus_1): Likewise.
12241 (special_real_inputs): Add more special inputs.
12242 (output_for_one_input_case): Do not require ERANGE on underflow to
12243 zero if round-to-nearest result does not underflow to zero, unless
12244 exact results required.
12245 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12246 atan, atanh, cbrt, cos and cosh.
12247 * math/auto-libm-test-out: Regenerated.
12248 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12249 (acos_tonearest_test_data): Likewise.
12250 (acos_towardzero_test_data): Likewise.
12251 (acos_downward_test_data): Likewise.
12252 (acos_upward_test_data): Likewise.
12253 (acosh_test_data): Likewise.
12254 (asin_test_data): Likewise.
12255 (asin_tonearest_test_data): Likewise.
12256 (asin_towardzero_test_data): Likewise.
12257 (asin_upward_test_data): Likewise.
12258 (asinh_test_data): Likewise.
12259 (atan_test_data): Likewise.
12260 (atanh_test_data): Likewise.
12261 (cbrt_test_data): Likewise.
12262 (cos_test_data): Likewise.
12263 (cos_tonearest_test_data): Likewise.
12264 (cos_towardzero_test_data): Likewise.
12265 (cos_downward_test_data): Likewise.
12266 (cos_upward_test_data): Likewise.
12267 (cosh_test_data): Likewise.
12268 (cosh_tonearest_test_data): Likewise.
12269 (cosh_towardzero_test_data): Likewise.
12270 (cosh_downward_test_data): Likewise.
12271 (cosh_upward_test_data): Likewise.
12272 * sysdeps/i386/fpu/libm-test-ulps: Update.
12273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12275 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12278 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12279 * math/w_exp10f.c (__exp10f): Likewise.
12280 * math/w_exp10l.c (__exp10l): Likewise.
12281 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12282 errno settings in existing tests.
12285 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12286 precision control set to double precision.
12287 * sysdeps/i386/fpu/w_sqrt.c: New file.
12288 * math/auto-libm-test-in: Add more tests.
12289 * math/auto-libm-test-out: Update.
12291 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12292 (sqrt_test_tonearest): New function.
12293 (sqrt_towardzero_test_data): New variable.
12294 (sqrt_test_towardzero): New function.
12295 (sqrt_downward_test_data): New variable.
12296 (sqrt_test_downward): New function.
12297 (sqrt_upward_test_data): New variable.
12298 (sqrt_test_upward): New function.
12299 (main): Call the new functions.
12301 * math/gen-auto-libm-tests.c: New file.
12302 * math/auto-libm-test-in: Likewise.
12303 * math/auto-libm-test-out: New generated file.
12304 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12306 (%beautify): Add generated representations of zero.
12307 (top level): Set $auto_input and call parse_auto_input.
12308 (beautify): Remove trailing "f" from hex float constants.
12309 (parse_args): Handle XFAIL_TEST.
12310 (convert_condition): New function.
12311 (or_value): Likewise.
12312 (or_cond_value): Likewise.
12313 (generate_testfile): Handle AUTO_TESTS_* lines.
12314 (parse_auto_input): New function.
12315 * math/libm-test.inc (XFAIL_TEST): New macro.
12316 (ERRNO_UNCHANGED): Update value.
12317 (ERRNO_EDOM): Likewise.
12318 (ERRNO_ERANGE): Likewise.
12319 (IGNORE_RESULT): Likewise.
12320 (TEST_COND_flt_32): New macro.
12321 (TEST_COND_dbl_64): Likewise.
12322 (TEST_COND_ldbl_96_intel): Likewise.
12323 (TEST_COND_ldbl_96_m68k): Likewise.
12324 (TEST_COND_ldbl_128): Likewise.
12325 (TEST_COND_ldbl_128ibm): Likewise.
12326 (TEST_COND_long32): Likewise.
12327 (TEST_COND_long64): Likewise.
12328 (TEST_COND_before_rounding): Likewise.
12329 (TEST_COND_after_rounding): Likewise.
12330 (enable_test): Handle XFAIL_TEST flag.
12331 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12332 with finite results.
12333 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12334 auto-libm-test-out.
12336 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12337 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12340 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12341 __tls_get_addr_internal instead of __tls_get_offset in order to
12342 avoid GOT pointer dependency. Make rtld export
12343 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12344 __tls_get_addr since we are a __tls_get_offset platform.
12345 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12346 GOT pointer being set up before.
12347 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12349 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12351 * manual/math.texi (Errors in Math Functions): Document accuracy
12355 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12356 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12357 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12358 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12359 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12360 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12361 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12362 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12363 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12364 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12365 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12366 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12367 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12368 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12369 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12370 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12372 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12373 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12374 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12375 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12376 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12378 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12380 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12382 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12383 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12384 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12385 atomic-feupdateenv and flt-rounds.
12386 * sysdeps/powerpc/nofpu/Versions (libc): Add
12387 __atomic_feholdexcept, __atomic_feclearexcept,
12388 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12389 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12390 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12391 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12392 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12397 * manual/arith.texi (FP Exceptions): Document that exceptions may
12398 not be raised when matherr is used.
12399 (Math Error Reporting): Document overflow in directed rounding
12400 modes. Document that errno may not be set when finite values are
12401 returned on overflow. Document intent to set errno on underflow
12402 only for underflow to zero.
12405 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12406 round-to-nearest then adjust result for other rounding modes.
12407 * include/fenv.h (fegetround): Use libm_hidden_proto.
12408 * math/fegetround.c (fegetround): Use libm_hidden_def.
12409 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12410 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12411 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12412 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12414 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12415 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12416 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12417 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12419 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12422 * nss/Versions (libnss_files): Add
12423 _nss_files_gethostbyname3_r.
12424 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12426 (HOST_DB_LOOKUP): Remove macro.
12427 (_nss_files_gethostbyname_r): Implement function without the
12428 HOST_DB_LOOKUP macro.
12429 (_nss_files_gethostbyname2_r): Likewise.
12431 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12433 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12435 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12437 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12438 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12441 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12443 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12444 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12445 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12446 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12447 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12448 __fe_nomask_env_priv and attribute_hidden.
12449 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12450 (libc_feupdateenv_test_ppc): Likewise.
12451 (libc_feresetround_ppc): Likewise.
12452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12453 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12454 compat_symbol macro.
12455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12456 (__fe_nomask_env): Likewise.
12457 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12459 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12461 * string/Makefile: Remove ifunc tests.
12462 * string/test-string.h: Define TEST_IFUNC.
12463 * string/test-bcopy-ifunc.c: Remove.
12464 * string/test-bzero-ifunc.c: Likewise.
12465 * string/test-memccpy-ifunc.c: Likewise.
12466 * string/test-memchr-ifunc.c: Likewise.
12467 * string/test-memcmp-ifunc.c: Likewise.
12468 * string/test-memcpy-ifunc.c: Likewise.
12469 * string/test-memmem-ifunc.c: Likewise.
12470 * string/test-memmove-ifunc.c: Likewise.
12471 * string/test-mempcpy-ifunc.c: Likewise.
12472 * string/test-memrchr-ifunc.c: Likewise.
12473 * string/test-memset-ifunc.c: Likewise.
12474 * string/test-rawmemchr-ifunc.c: Likewise.
12475 * string/test-stpcpy-ifunc.c: Likewise.
12476 * string/test-stpncpy-ifunc.c: Likewise.
12477 * string/test-strcasecmp-ifunc.c: Likewise.
12478 * string/test-strcasestr-ifunc.c: Likewise.
12479 * string/test-strcat-ifunc.c: Likewise.
12480 * string/test-strchr-ifunc.c: Likewise.
12481 * string/test-strchrnul-ifunc.c: Likewise.
12482 * string/test-strcmp-ifunc.c: Likewise.
12483 * string/test-strcpy-ifunc.c: Likewise.
12484 * string/test-strcspn-ifunc.c: Likewise.
12485 * string/test-strlen-ifunc.c: Likewise.
12486 * string/test-strncasecmp-ifunc.c: Likewise.
12487 * string/test-strncat-ifunc.c: Likewise.
12488 * string/test-strncmp-ifunc.c: Likewise.
12489 * string/test-strncpy-ifunc.c: Likewise.
12490 * string/test-strnlen-ifunc.c: Likewise.
12491 * string/test-strpbrk-ifunc.c: Likewise.
12492 * string/test-strrchr-ifunc.c: Likewise.
12493 * string/test-strspn-ifunc.c: Likewise.
12494 * string/test-strstr-ifunc.c: Likewise.
12496 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12498 * benchtests/Makefile: Remove ifunc tests.
12499 * benchtests/bench-string.h: Define TEST_IFUNC.
12500 * benchtests/bench-bcopy-ifunc.c: Remove.
12501 * benchtests/bench-bzero-ifunc.c: Likewise.
12502 * benchtests/bench-memccpy-ifunc.c: Likewise.
12503 * benchtests/bench-memchr-ifunc.c: Likewise.
12504 * benchtests/bench-memcmp-ifunc.c: Likewise.
12505 * benchtests/bench-memcpy-ifunc.c: Likewise.
12506 * benchtests/bench-memmem-ifunc.c: Likewise.
12507 * benchtests/bench-memmove-ifunc.c: Likewise.
12508 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12509 * benchtests/bench-memrchr-ifunc.c: Likewise.
12510 * benchtests/bench-memset-ifunc.c: Likewise.
12511 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12512 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12513 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12514 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12515 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12516 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12517 * benchtests/bench-strcat-ifunc.c: Likewise.
12518 * benchtests/bench-strchr-ifunc.c: Likewise.
12519 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12520 * benchtests/bench-strcmp-ifunc.c: Likewise.
12521 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12522 * benchtests/bench-strcpy-ifunc.c: Likewise.
12523 * benchtests/bench-strcspn-ifunc.c: Likewise.
12524 * benchtests/bench-strlen-ifunc.c: Likewise.
12525 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12526 * benchtests/bench-strncat-ifunc.c: Likewise.
12527 * benchtests/bench-strncmp-ifunc.c: Likewise.
12528 * benchtests/bench-strncpy-ifunc.c: Likewise.
12529 * benchtests/bench-strnlen-ifunc.c: Likewise.
12530 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12531 * benchtests/bench-strrchr-ifunc.c: Likewise.
12532 * benchtests/bench-strsep-ifunc.c: Likewise.
12533 * benchtests/bench-strspn-ifunc.c: Likewise.
12534 * benchtests/bench-strstr-ifunc.c: Likewise.
12536 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12538 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12540 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12542 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12543 * rt/aio.h: Likewise.
12544 * sysdeps/gnu/bits/utmp.h: Likewise.
12545 * sysdeps/gnu/bits/utmpx.h: Likewise.
12546 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12547 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12548 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12549 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12550 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12551 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12552 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12553 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12554 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12555 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12556 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12557 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12558 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12560 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12561 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12562 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12563 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12564 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12565 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12566 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12567 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12568 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12569 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12570 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12572 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12573 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12574 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12575 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12576 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12577 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12578 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12579 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12580 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12581 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12582 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12583 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12584 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12585 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12586 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12587 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12589 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12592 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12593 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12595 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12597 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12598 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12601 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12603 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12604 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12605 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12606 (__fesetround): Remove define.
12607 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12608 rounding and exceptions handling.
12609 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12610 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12611 (__fe_nomask_env): Likewise.
12612 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12613 __fegetround instead of fegetround.
12614 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12615 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12617 2013-11-21 Roland McGrath <roland@hack.frob.com>
12619 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12622 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12624 2013-11-21 Meador Inge <meadori@codesourcery.com>
12627 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12628 (encrypt_r): Likewise.
12629 * malloc/obstack.h (obstack_free): Likewise.
12630 * posix/unistd.h (encrypt): Likewise.
12632 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12634 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12635 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12636 DL_CALL_DT_FINI() that call the functions directly.
12637 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12638 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12639 * elf/dl-fini.c: Likewise.
12641 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12643 * malloc/hooks.c (memalign_check): Add alignment rounding.
12644 * malloc/malloc.c (_mid_memalign): New function.
12645 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12646 Implement by calling _mid_memalign.
12647 * manual/probes.texi (Memory Allocation Probes): Remove
12648 memory_valloc_retry and memory_pvalloc_retry.
12650 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12652 * locale/programs/locarchive.c (open_archive): Add const
12653 qualifier to ARCHIVEFNAME and copy default fname to
12657 * libio/tst-widetext.input: Rename Oriya to Odia.
12658 * locale/iso-639.def: Likewise.
12660 * manual/probes.texi (Mathematical Function Probes): Add
12661 documentation for sin, cos, asin and acos probes.
12662 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12663 (__sin32): Add slowasin probe.
12664 (__cos32): Add slowacos probe.
12665 (__mpsin): Add slowsin probe.
12666 (__mpcos): Add slowcos probe.
12668 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12671 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12672 thread-local __sim_exceptions_thread and global
12673 __sim_exceptions_global.
12674 (__sim_disabled_exceptions): Change to thread-local
12675 __sim_disabled_exceptions_thread and global
12676 __sim_disabled_exceptions_global.
12677 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12678 and global __sim_round_mode_global.
12679 (__simulate_exceptions): Use thread-local floating-point state and
12680 set global state from it as needed.
12681 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12682 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12683 __sim_round_mode_thread.
12684 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12685 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12686 and global __sim_exceptions_global.
12687 (__sim_disabled_exceptions): Change to thread-local
12688 __sim_disabled_exceptions_thread and global
12689 __sim_disabled_exceptions_global.
12690 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12691 and global __sim_round_mode_global.
12692 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12693 (SIM_SET_GLOBAL): Likewise.
12694 * sysdeps/powerpc/soft-fp/sfp-machine.h
12695 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12696 __sim_round_mode_thread.
12697 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12698 __sim_disabled_exceptions_thread.
12699 (__sim_exceptions): Change to __sim_exceptions_thread.
12700 (__sim_disabled_exceptions): Change to
12701 __sim_disabled_exceptions_thread.
12702 (__sim_round_mode): Change to __sim_round_mode_thread.
12703 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12704 thread-local floating-point state and set global state from it as
12706 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12707 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12708 (__sim_disabled_exceptions): Remove extern declaration.
12709 (feenableexcept): Use thread-local floating-point state and set
12710 global state from it as needed.
12711 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12712 extern declaration.
12713 (__sim_disabled_exceptions): Likewise.
12714 (__sim_round_mode): Likewise.
12715 (__fegetenv): Use thread-local floating-point state.
12716 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12717 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12718 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12719 floating-point state and set global state from it as needed.
12720 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12721 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12722 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12724 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12725 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12727 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12728 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12729 Use __sim_round_mode_thread.
12730 * math/test-fenv-tls.c: New file.
12731 * math/Makefile (tests): Add test-fenv-tls.
12732 ($(objpfx)test-fenv-tls): Depend on
12733 $(common-objpfx)nptl/libpthread.so.
12735 2013-11-19 Andreas Schwab <schwab@suse.de>
12737 * locale/programs/locale.c (show_info): Decode wordarray elements.
12738 * locale/categories.def (LC_MONETARY): Add element for
12739 _NL_MONETARY_CRNCYSTR.
12740 * locale/C-monetary.c (conversion_rate): New variable.
12741 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12744 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12746 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12747 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12749 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12751 * elf/Makefile (tst-auxv): New test.
12752 * elf/tst-auxv.c: New
12753 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12755 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12757 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12758 (hidden_proto): Caller changed.
12759 (hidden_tls_proto): New macro.
12760 (libc_hidden_tls_proto): Likewise.
12761 (rtld_hidden_tls_proto): Likewise.
12762 (libm_hidden_tls_proto): Likewise.
12763 (libresolv_hidden_tls_proto): Likewise.
12764 (librt_hidden_tls_proto): Likewise.
12765 (libdl_hidden_tls_proto): Likewise.
12766 (libnss_files_hidden_tls_proto): Likewise.
12767 (libnsl_hidden_tls_proto): Likewise.
12768 (libnss_nisplus_hidden_tls_proto): Likewise.
12769 (libutil_hidden_tls_proto): Likewise.
12771 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12774 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12775 (decompose_rpath): Defer expansion to fillin_rpath.
12776 (_dl_init_paths): Pass linkmap to fillin_rpath.
12778 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12780 * benchtests/Makefile: Add strsep.
12781 * benchtests/bench-strsep.c: New file: strsep benchtest.
12782 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12784 2013-11-18 Andreas Schwab <schwab@suse.de>
12786 * locale/programs/locale.c (show_info) [case byte]: Check for
12787 '\377' instead of '\177'.
12788 * locale/C-monetary.c (not_available): Always use "\377".
12789 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12790 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12791 detect unavailable sign_posn locale elements.
12792 * locale/localeconv.c (__localeconv): For grouping and
12793 mon_grouping handle "\177" and "\377" like no grouping.
12794 (INT_ELEM): New macro. Use it to set all numeric members.
12795 * locale/programs/ld-monetary.c (monetary_read)
12796 <tok_mon_grouping>: Normalize single -1 to the empty string.
12797 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12800 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12803 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12804 when we match (nil).
12805 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12807 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12809 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12810 (NO_TEST_INLINE): Update value.
12811 (ERRNO_UNCHANGED): Likewise.
12812 (ERRNO_EDOM): Likewise.
12813 (ERRNO_ERANGE): Likewise.
12814 (IGNORE_RESULT): Likewise.
12815 (check_float_internal): Check signs of NaN results if
12816 TEST_NAN_SIGN used.
12817 (check_complex): Pass TEST_NAN_SIGN flag through to second
12818 check_float_internal call.
12819 (copysign_test_data): Add tests with quiet NaNs as second
12820 argument. Use TEST_NAN_SIGN.
12821 (fabs_test_data): Add test of negative quiet NaN argument. Use
12823 (signbit_test_data): Add tests of quiet NaN argument.
12824 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12826 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12828 (parse_args): Handle function results specified as IGNORE.
12829 * math/libm-test.inc (IGNORE_RESULT): New macro.
12830 (check_float_internal): Do not check numerical result if flag
12832 (check_complex): Pass through IGNORE_RESULT to second
12833 check_float_internal call.
12834 (check_int): Do not check numerical result if flag IGNORE_RESULT
12836 (check_long): Likewise.
12837 (check_bool): Likewise.
12838 (check_longlong): Likewise.
12839 (lrint_test_data): Add tests of infinite and NaN arguments.
12840 (lrint_tonearest_test_data): Likewise.
12841 (lrint_towardzero_test_data): Likewise.
12842 (lrint_downward_test_data): Likewise.
12843 (lrint_upward_test_data): Likewise.
12844 (llrint_test_data): Likewise.
12845 (llrint_tonearest_test_data): Likewise.
12846 (llrint_towardzero_test_data): Likewise.
12847 (llrint_downward_test_data): Likewise.
12848 (llrint_upward_test_data): Likewise.
12849 (lround_test_data): Likewise.
12850 (llround_test_data): Likewise.
12852 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12853 (ERRNO_UNCHANGED): Update value.
12854 (ERRNO_EDOM): Likewise.
12855 (ERRNO_ERANGE): Likewise.
12856 (NO_TEST_INLINE_FLOAT): New macro.
12857 (NO_TEST_INLINE_DOUBLE): Likewise.
12858 (enable_test): New function.
12859 (RUN_TEST_f_f): Check enable_test before running test.
12860 (RUN_TEST_2_f): Likewise.
12861 (RUN_TEST_fff_f): Likewise.
12862 (RUN_TEST_c_f): Likewise.
12863 (RUN_TEST_f_f1): Likewise.
12864 (RUN_TEST_fF_f1): Likewise.
12865 (RUN_TEST_fI_f1): Likewise.
12866 (RUN_TEST_ffI_f1): Likewise.
12867 (RUN_TEST_c_c): Likewise.
12868 (RUN_TEST_cc_c): Likewise.
12869 (RUN_TEST_f_i): Likewise.
12870 (RUN_TEST_f_i_tg): Likewise.
12871 (RUN_TEST_ff_i_tg): Likewise.
12872 (RUN_TEST_f_b): Likewise.
12873 (RUN_TEST_f_b_tg): Likewise.
12874 (RUN_TEST_f_l): Likewise.
12875 (RUN_TEST_f_L): Likewise.
12876 (RUN_TEST_fFF_11): Likewise.
12877 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12879 (cosh_test_data): Likewise.
12880 (exp_test_data): Likewise.
12881 (expm1_test_data): Likewise.
12882 (hypot_test_data): Likewise.
12883 (pow_test_data): Likewise.
12884 (sinh_test_data): Likewise.
12885 (tanh_test_data): Likewise.
12886 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12889 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12890 tests with quiet NaN input and output.
12891 (acosh_test_data): Likewise.
12892 (asin_test_data): Likewise.
12893 (asinh_test_data): Likewise.
12894 (atan_test_data): Likewise.
12895 (atanh_test_data): Likewise.
12896 (atan2_test_data): Likewise.
12897 (cbrt_test_data): Likewise.
12898 (cos_test_data): Likewise.
12899 (cosh_test_data): Likewise.
12900 (erf_test_data): Likewise.
12901 (erfc_test_data): Likewise.
12902 (exp_test_data): Likewise.
12903 (exp10_test_data): Likewise.
12904 (exp2_test_data): Likewise.
12905 (expm1_test_data): Likewise.
12906 (hypot_test_data): Likewise.
12907 (j0_test_data): Likewise.
12908 (j1_test_data): Likewise.
12909 (jn_test_data): Likewise.
12910 (lgamma_test_data): Likewise.
12911 (log_test_data): Likewise.
12912 (log10_test_data): Likewise.
12913 (log1p_test_data): Likewise.
12914 (log2_test_data): Likewise.
12915 (pow_test_data): Likewise.
12916 (scalb_test_data): Likewise.
12917 (sin_test_data): Likewise.
12918 (sincos_test_data): Likewise.
12919 (sinh_test_data): Likewise.
12920 (tan_test_data): Likewise.
12921 (tanh_test_data): Likewise.
12922 (tgamma_test_data): Likewise.
12923 (y0_test_data): Likewise.
12924 (y1_test_data): Likewise.
12925 (yn_test_data): Likewise.
12928 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12929 argument being NaN and avoid computations with second argument in
12931 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12932 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12933 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12935 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12937 * locale/iso-639.def: Add Chitwani Tharu (the).
12939 2013-11-14 Andreas Schwab <schwab@suse.de>
12941 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12942 word instead of empty string.
12944 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12947 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12949 (__fe_nomask_env): Likewise.
12951 2013-11-13 Steve Ellcey <sellcey@mips.com>
12953 * benchtests/bench-timing.h: Include time.h.
12955 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12958 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12960 * sysdeps/unix/sysv/linux/configure: Regenerated.
12962 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12965 * stdlib/strtod_l.c (round_and_return): Do not consider
12966 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12967 exponent one less than half the least subnormal exponent.
12968 * stdlib/test-strtod-round-data: Add more tests.
12969 * stdlib/tst-strtod-round.c (tests): Regenerated.
12971 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12974 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12975 (__fe_mask_env): Likewise.
12976 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12977 libm_hidden_proto and add function prototype.
12978 (__fe_mask_env): Add function prototype.
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12980 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12982 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12984 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12986 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12988 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12989 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12991 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12993 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12994 of htab_find_slot().
12996 2013-11-11 David S. Miller <davem@davemloft.net>
12999 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13000 symbol in the non-vis3 case in static builds.
13001 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13002 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13003 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13004 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13006 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13009 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13012 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13014 * benchtests/Makefile: Add bench-strtod.
13015 * benchtests/bench-strtod.c: New file: strtod benchtest
13017 2013-11-11 Andreas Schwab <schwab@suse.de>
13020 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13021 terminating NUL in key length.
13023 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13025 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13026 Add artificial ODP entry for vDSO symbol for PPC64.
13027 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13028 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13030 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13033 * nss/getent.c (services_keys): Recognize services starting with digit.
13035 2013-11-06 David S. Miller <davem@davemloft.net>
13038 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13039 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13041 2013-11-06 Will Newton <will.newton@linaro.org>
13043 * manual/memory.texi (Malloc Examples): Remove register
13044 keyword from examples.
13046 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13048 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13050 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13053 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13054 depending on [__GCC_IEC_559 > 0].
13055 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13056 depending on [__GCC_IEC_559_COMPLEX > 0].
13058 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13060 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13063 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13065 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13067 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13070 * malloc/malloc (malloc_info): Do not handle first bin as
13073 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13075 * locale/iso-639.def: Add Central Nahuatl (nhn).
13077 2013-11-01 Bruno Haible <bruno@clisp.org>
13080 * manual/math.texi (BSD Random): Specify range upper bound as
13083 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13085 * locale/iso-639.def: Add Meadow Mari (mhr).
13087 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13089 [BZ #14752], [BZ #15763]
13090 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13092 * rt/tst_shm.c: Add test for escaping directory.
13094 2013-10-31 Andreas Schwab <schwab@suse.de>
13097 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13098 followed by 'x' as part of digit sequence.
13099 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13101 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13104 * configure.ac: allow GNU Make 4.0 and greater.
13105 * configure: Regenerated.
13107 2013-10-30 Will Newton <will.newton@linaro.org>
13110 * malloc/hooks.c (memalign_check): Limit alignment to the
13111 maximum representable power of two.
13112 * malloc/malloc.c (__libc_memalign): Likewise.
13113 * malloc/tst-memalign.c (do_test): Add test for very
13114 large alignment values.
13115 * malloc/tst-posix_memalign.c (do_test): Likewise.
13117 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13120 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13121 (munmap_chunk): Likewise.
13122 (mremap_chunk): Likewise.
13124 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13127 * stdlib/div.c (div): Remove obsolete code.
13128 * stdlib/ldiv.c (ldiv): Likewise.
13129 * stdlib/lldiv.c (lldiv): Likewise.
13131 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13134 * nss/nss_files/files-XXX.c (get_contents_ret): New
13136 (get_contents): New function.
13137 (internal_getent): Use it. Expand size of LINEBUFLEN.
13139 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13141 * configure.in: Moved to ...
13142 * configure.ac: ... here. Change reference to configure.in
13144 * sysdeps/arm/preconfigure.ac: ... here.
13145 configure.in to configure.ac.
13146 * sysdeps/gnu/configure.in: Moved to ...
13147 * sysdeps/gnu/configure.ac: ... here.
13148 * sysdeps/i386/configure.in: Moved to ...
13149 * sysdeps/i386/configure.ac: ... here.
13150 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13151 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13152 * sysdeps/mach/configure.in: Moved to ...
13153 * sysdeps/mach/configure.ac: ... here.
13154 * sysdeps/mach/hurd/configure.in: Moved to ...
13155 * sysdeps/mach/hurd/configure.ac: ... here.
13156 * sysdeps/powerpc/configure.in: Moved to ...
13157 * sysdeps/powerpc/configure.ac: ... here.
13158 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13159 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13160 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13161 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13162 * sysdeps/s390/s390-32/configure.in: Moved to ...
13163 * sysdeps/s390/s390-32/configure.ac: ... here.
13164 * sysdeps/s390/s390-64/configure.in: Moved to ...
13165 * sysdeps/s390/s390-64/configure.ac: ... here.
13166 * sysdeps/sh/configure.in: Moved to ...
13167 * sysdeps/sh/configure.ac: ... here.
13168 * sysdeps/sparc/configure.in: Moved to ...
13169 * sysdeps/sparc/configure.ac: ... here.
13170 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13171 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13172 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13173 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13174 * sysdeps/x86_64/configure.in: Moved to ...
13175 * sysdeps/x86_64/configure.ac: ... here.
13176 * sysdeps/x86_64/preconfigure.in: Moved to ...
13177 * sysdeps/x86_64/preconfigure.ac: ... here.
13178 * aclocal.m4: Change reference to configure.in to configure.ac.
13179 * config.h.in: Likewise.
13180 * manual/install.texi: Likewise.
13181 * manual/maint.texi: Likewise.
13182 * Makefile: Likewise.
13183 * malloc/Makefile: Likewise.
13184 * nscd/Makefile: Likewise.
13185 * Makeconfig: Change reference to configure.in and
13186 preconfigure.in to configure.ac and preconfigure.ac
13188 * INSTALL: Regenerated.
13189 * configure: Likewise.
13190 * sysdeps/gnu/configure: Likewise.
13191 * sysdeps/i386/configure: Likewise.
13192 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13193 * sysdeps/mach/configure: Likewise.
13194 * sysdeps/mach/hurd/configure: Likewise.
13195 * sysdeps/powerpc/configure: Likewise.
13196 * sysdeps/powerpc/powerpc32/configure: Likewise.
13197 * sysdeps/powerpc/powerpc64/configure: Likewise.
13198 * sysdeps/s390/s390-32/configure: Likewise.
13199 * sysdeps/s390/s390-64/configure: Likewise.
13200 * sysdeps/sh/configure: Likewise.
13201 * sysdeps/sparc/configure: Likewise.
13202 * sysdeps/unix/sysv/linux/configure: Likewise.
13203 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13204 * sysdeps/x86_64/configure: Likewise.
13205 * sysdeps/x86_64/preconfigure: Likewise.
13207 2013-10-29 Andreas Schwab <schwab@suse.de>
13209 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13211 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13213 * benchtests/pow-inputs: Add new inputs.
13215 * benchtests/exp-inputs: Add new inputs.
13217 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13218 conditional check for return value.
13219 (__cos32): Likewise.
13221 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13223 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13224 to provide a boost for large inputs with word alignment.
13225 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13226 implementation based on optimized PPC64 strcpy.
13227 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13228 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13229 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13230 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13232 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13235 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13237 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13240 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13241 * time/tst-strptime.c (day_tests): Add testcase.
13243 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13246 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13248 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13251 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13252 MAP_FAILED on error.
13254 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13257 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13258 heap for large requests.
13260 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13263 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13264 result if the result has no associated interface.
13265 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13266 interface for all 127.X.Y.Z addresses.
13268 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13270 * locale/iso-639.def: Add Ligurian (lij)
13272 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13275 * sunrpc/rpc_main.c: Document rpcgen -5.
13277 2013-10-19 Michael Stahl <mstahl@redhat.com>
13279 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13281 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13284 * posix/glob.c: Match only directories when trailing slash is present.
13285 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13286 (main): Add testcase.
13288 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13291 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13293 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13295 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13296 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13297 AUTH_DES and cindex for FIPS 140-2.
13298 (DES Encryption): Add cindex FIPS 46-3.
13300 * locale/locarchive.h (struct locarhandle): Add fname.
13301 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13302 if an optional argument was specified to --list-archive,
13304 * locale/programs/locarchive.c (show_archive_content): Take new
13305 argument fname and pass it via ah.fname to open_archive.
13306 * locale/programs/localedef.h: Update decl.
13307 (open_archive): If AH->fname is non-null, open that file
13308 rather than the default file name, and don't ignore ENOENT.
13309 (create_archive): Set AH.fname to NULL.
13310 (delete_locales_from_archive): Likewise.
13311 (add_locales_to_archive): Likewise.
13312 * locale/programs/locfile.c (write_all_categories): Likewise.
13314 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13315 Aldy Hernandez <aldyh@redhat.com>
13317 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13318 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13319 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13320 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13321 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13322 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13323 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13324 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13325 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13326 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13327 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13328 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13329 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13330 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13331 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13333 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13335 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13337 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13339 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13340 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13342 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13343 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13344 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13345 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13347 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13348 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13349 * sysdeps/powerpc/preconfigure: Likewise.
13350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13352 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13353 Replace contents of file by #include of <fenv_libc.h>.
13354 * sysdeps/powerpc/soft-fp/sfp-machine.h
13355 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13357 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13358 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13359 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13360 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13361 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13362 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13364 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13365 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13366 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13367 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13368 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13370 Allow copysignl PLT reference to be missing.
13372 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13373 Joseph Myers <joseph@codesourcery.com
13376 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13378 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13380 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13382 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13383 * elf/tst-tls1.c: Likewise.
13384 * elf/tst-tls10.h: Likewise.
13385 * elf/tst-tls14.c: Likewise.
13386 * elf/tst-tls2.c: Likewise.
13387 * elf/tst-tls3.c: Likewise.
13388 * elf/tst-tls4.c: Likewise.
13389 * elf/tst-tls5.c: Likewise.
13390 * elf/tst-tls6.c: Likewise.
13391 * elf/tst-tls7.c: Likewise.
13392 * elf/tst-tls8.c: Likewise.
13393 * elf/tst-tls9.c: Likewise.
13394 * elf/tst-tlsmod1.c: Likewise.
13395 * elf/tst-tlsmod13.c: Likewise.
13396 * elf/tst-tlsmod13a.c: Likewise.
13397 * elf/tst-tlsmod14a.c: Likewise.
13398 * elf/tst-tlsmod16a.c: Likewise.
13399 * elf/tst-tlsmod16b.c: Likewise.
13400 * elf/tst-tlsmod2.c: Likewise.
13401 * elf/tst-tlsmod3.c: Likewise.
13402 * elf/tst-tlsmod4.c: Likewise.
13403 * elf/tst-tlsmod5.c: Likewise.
13404 * elf/tst-tlsmod6.c: Likewise.
13406 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13409 * malloc/malloc.c: remove checks for statistics.
13411 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13414 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13415 * inet/tst-network.c: Add testcase.
13417 2013-10-17 Andreas Schwab <schwab@suse.de>
13420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13421 to determine canonical name.
13423 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13425 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13426 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13427 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13428 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13432 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13433 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13434 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13436 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13438 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13440 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13442 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13443 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13444 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13447 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13449 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13450 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13451 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13452 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13453 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13454 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13455 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13456 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13457 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13458 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13459 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13460 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13461 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13462 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13463 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13464 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13465 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13466 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13467 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13468 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13469 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13470 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13471 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13472 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13473 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13474 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13475 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13476 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13477 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13478 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13479 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13484 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13487 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13488 make result into a quiet NaN.
13490 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13492 * soft-fp/adddf3.c: Fix horizontal whitespace.
13493 * soft-fp/addsf3.c: Likewise.
13494 * soft-fp/addtf3.c: Likewise.
13495 * soft-fp/divdf3.c: Likewise.
13496 * soft-fp/divsf3.c: Likewise.
13497 * soft-fp/divtf3.c: Likewise.
13498 * soft-fp/double.h: Likewise.
13499 * soft-fp/eqdf2.c: Likewise.
13500 * soft-fp/eqsf2.c: Likewise.
13501 * soft-fp/eqtf2.c: Likewise.
13502 * soft-fp/extenddftf2.c: Likewise.
13503 * soft-fp/extended.h: Likewise.
13504 * soft-fp/extendsfdf2.c: Likewise.
13505 * soft-fp/extendsftf2.c: Likewise.
13506 * soft-fp/extendxftf2.c: Likewise.
13507 * soft-fp/fixdfdi.c: Likewise.
13508 * soft-fp/fixdfsi.c: Likewise.
13509 * soft-fp/fixdfti.c: Likewise.
13510 * soft-fp/fixsfdi.c: Likewise.
13511 * soft-fp/fixsfsi.c: Likewise.
13512 * soft-fp/fixsfti.c: Likewise.
13513 * soft-fp/fixtfdi.c: Likewise.
13514 * soft-fp/fixtfsi.c: Likewise.
13515 * soft-fp/fixtfti.c: Likewise.
13516 * soft-fp/fixunsdfdi.c: Likewise.
13517 * soft-fp/fixunsdfsi.c: Likewise.
13518 * soft-fp/fixunsdfti.c: Likewise.
13519 * soft-fp/fixunssfdi.c: Likewise.
13520 * soft-fp/fixunssfsi.c: Likewise.
13521 * soft-fp/fixunssfti.c: Likewise.
13522 * soft-fp/fixunstfdi.c: Likewise.
13523 * soft-fp/fixunstfsi.c: Likewise.
13524 * soft-fp/fixunstfti.c: Likewise.
13525 * soft-fp/floatdidf.c: Likewise.
13526 * soft-fp/floatdisf.c: Likewise.
13527 * soft-fp/floatditf.c: Likewise.
13528 * soft-fp/floatsidf.c: Likewise.
13529 * soft-fp/floatsisf.c: Likewise.
13530 * soft-fp/floatsitf.c: Likewise.
13531 * soft-fp/floattidf.c: Likewise.
13532 * soft-fp/floattisf.c: Likewise.
13533 * soft-fp/floattitf.c: Likewise.
13534 * soft-fp/floatundidf.c: Likewise.
13535 * soft-fp/floatundisf.c: Likewise.
13536 * soft-fp/floatunditf.c: Likewise.
13537 * soft-fp/floatunsidf.c: Likewise.
13538 * soft-fp/floatunsisf.c: Likewise.
13539 * soft-fp/floatunsitf.c: Likewise.
13540 * soft-fp/floatuntidf.c: Likewise.
13541 * soft-fp/floatuntisf.c: Likewise.
13542 * soft-fp/floatuntitf.c: Likewise.
13543 * soft-fp/fmadf4.c: Likewise.
13544 * soft-fp/fmasf4.c: Likewise.
13545 * soft-fp/fmatf4.c: Likewise.
13546 * soft-fp/gedf2.c: Likewise.
13547 * soft-fp/gesf2.c: Likewise.
13548 * soft-fp/getf2.c: Likewise.
13549 * soft-fp/ledf2.c: Likewise.
13550 * soft-fp/lesf2.c: Likewise.
13551 * soft-fp/letf2.c: Likewise.
13552 * soft-fp/muldf3.c: Likewise.
13553 * soft-fp/mulsf3.c: Likewise.
13554 * soft-fp/multf3.c: Likewise.
13555 * soft-fp/negdf2.c: Likewise.
13556 * soft-fp/negsf2.c: Likewise.
13557 * soft-fp/negtf2.c: Likewise.
13558 * soft-fp/op-1.h: Likewise.
13559 * soft-fp/op-2.h: Likewise.
13560 * soft-fp/op-4.h: Likewise.
13561 * soft-fp/op-8.h: Likewise.
13562 * soft-fp/op-common.h: Likewise.
13563 * soft-fp/quad.h: Likewise.
13564 * soft-fp/single.h: Likewise.
13565 * soft-fp/soft-fp.h: Likewise.
13566 * soft-fp/sqrtdf2.c: Likewise.
13567 * soft-fp/sqrtsf2.c: Likewise.
13568 * soft-fp/sqrttf2.c: Likewise.
13569 * soft-fp/subdf3.c: Likewise.
13570 * soft-fp/subsf3.c: Likewise.
13571 * soft-fp/subtf3.c: Likewise.
13572 * soft-fp/truncdfsf2.c: Likewise.
13573 * soft-fp/trunctfdf2.c: Likewise.
13574 * soft-fp/trunctfsf2.c: Likewise.
13575 * soft-fp/trunctfxf2.c: Likewise.
13576 * soft-fp/unorddf2.c: Likewise.
13577 * soft-fp/unordsf2.c: Likewise.
13578 * soft-fp/unordtf2.c: Likewise.
13580 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13582 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13583 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13585 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13587 * elf/dl-libc.c: Clear initfini list after freeing.
13589 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13591 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13592 * soft-fp/addsf3.c: Likewise.
13593 * soft-fp/addtf3.c: Likewise.
13594 * soft-fp/divdf3.c: Likewise.
13595 * soft-fp/divsf3.c: Likewise.
13596 * soft-fp/divtf3.c: Likewise.
13597 * soft-fp/double.h: Likewise.
13598 * soft-fp/eqdf2.c: Likewise.
13599 * soft-fp/eqsf2.c: Likewise.
13600 * soft-fp/eqtf2.c: Likewise.
13601 * soft-fp/extenddftf2.c: Likewise.
13602 * soft-fp/extended.h: Likewise.
13603 * soft-fp/extendsfdf2.c: Likewise.
13604 * soft-fp/extendsftf2.c: Likewise.
13605 * soft-fp/extendxftf2.c: Likewise.
13606 * soft-fp/fixdfdi.c: Likewise.
13607 * soft-fp/fixdfsi.c: Likewise.
13608 * soft-fp/fixdfti.c: Likewise.
13609 * soft-fp/fixsfdi.c: Likewise.
13610 * soft-fp/fixsfsi.c: Likewise.
13611 * soft-fp/fixsfti.c: Likewise.
13612 * soft-fp/fixtfdi.c: Likewise.
13613 * soft-fp/fixtfsi.c: Likewise.
13614 * soft-fp/fixtfti.c: Likewise.
13615 * soft-fp/fixunsdfdi.c: Likewise.
13616 * soft-fp/fixunsdfsi.c: Likewise.
13617 * soft-fp/fixunsdfti.c: Likewise.
13618 * soft-fp/fixunssfdi.c: Likewise.
13619 * soft-fp/fixunssfsi.c: Likewise.
13620 * soft-fp/fixunssfti.c: Likewise.
13621 * soft-fp/fixunstfdi.c: Likewise.
13622 * soft-fp/fixunstfsi.c: Likewise.
13623 * soft-fp/fixunstfti.c: Likewise.
13624 * soft-fp/floatdidf.c: Likewise.
13625 * soft-fp/floatdisf.c: Likewise.
13626 * soft-fp/floatditf.c: Likewise.
13627 * soft-fp/floatsidf.c: Likewise.
13628 * soft-fp/floatsisf.c: Likewise.
13629 * soft-fp/floatsitf.c: Likewise.
13630 * soft-fp/floattidf.c: Likewise.
13631 * soft-fp/floattisf.c: Likewise.
13632 * soft-fp/floattitf.c: Likewise.
13633 * soft-fp/floatundidf.c: Likewise.
13634 * soft-fp/floatundisf.c: Likewise.
13635 * soft-fp/floatunsidf.c: Likewise.
13636 * soft-fp/floatunsisf.c: Likewise.
13637 * soft-fp/floatuntidf.c: Likewise.
13638 * soft-fp/floatuntisf.c: Likewise.
13639 * soft-fp/floatuntitf.c: Likewise.
13640 * soft-fp/fmadf4.c: Likewise.
13641 * soft-fp/fmasf4.c: Likewise.
13642 * soft-fp/fmatf4.c: Likewise.
13643 * soft-fp/gedf2.c: Likewise.
13644 * soft-fp/gesf2.c: Likewise.
13645 * soft-fp/getf2.c: Likewise.
13646 * soft-fp/ledf2.c: Likewise.
13647 * soft-fp/lesf2.c: Likewise.
13648 * soft-fp/letf2.c: Likewise.
13649 * soft-fp/muldf3.c: Likewise.
13650 * soft-fp/mulsf3.c: Likewise.
13651 * soft-fp/multf3.c: Likewise.
13652 * soft-fp/negdf2.c: Likewise.
13653 * soft-fp/negsf2.c: Likewise.
13654 * soft-fp/negtf2.c: Likewise.
13655 * soft-fp/op-1.h: Likewise.
13656 * soft-fp/op-2.h: Likewise.
13657 * soft-fp/op-4.h: Likewise.
13658 * soft-fp/op-8.h: Likewise.
13659 * soft-fp/op-common.h: Likewise.
13660 * soft-fp/quad.h: Likewise.
13661 * soft-fp/single.h: Likewise.
13662 * soft-fp/soft-fp.h: Likewise.
13663 * soft-fp/sqrtdf2.c: Likewise.
13664 * soft-fp/sqrtsf2.c: Likewise.
13665 * soft-fp/sqrttf2.c: Likewise.
13666 * soft-fp/subdf3.c: Likewise.
13667 * soft-fp/subsf3.c: Likewise.
13668 * soft-fp/subtf3.c: Likewise.
13669 * soft-fp/truncdfsf2.c: Likewise.
13670 * soft-fp/trunctfdf2.c: Likewise.
13671 * soft-fp/trunctfsf2.c: Likewise.
13672 * soft-fp/trunctfxf2.c: Likewise.
13673 * soft-fp/unorddf2.c: Likewise.
13674 * soft-fp/unordsf2.c: Likewise.
13675 * soft-fp/unordtf2.c: Likewise.
13677 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13680 * misc/error.c (error_tail): Fix possible buffer overflow.
13682 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13685 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13688 2013-10-14 P. J. McDermott <pj@pehjota.net>
13691 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13692 testing pipefail option.
13694 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13696 * soft-fp/double.h: Indent preprocessor directives inside #if.
13697 * soft-fp/extended.h: Likewise.
13698 * soft-fp/op-2.h: Likewise.
13699 * soft-fp/op-4.h: Likewise.
13700 * soft-fp/op-common.h: Likewise.
13701 * soft-fp/quad.h: Likewise.
13702 * soft-fp/single.h: Likewise.
13703 * soft-fp/soft-fp.h: Likewise.
13705 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13707 * iconv/iconv_prog.c: Fix typos.
13708 * stdio-common/psiginfo-data.h: Likewise.
13710 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13713 * locale/setlocale.c: Fix typo.
13715 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13718 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13719 signaling NaN arguments.
13720 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13721 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13724 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13725 unordered operands.
13726 * soft-fp/gesf2.c (__gesf2): Likewise.
13727 * soft-fp/getf2.c (__getf2): Likewise.
13728 * soft-fp/ledf2.c (__ledf2): Likewise.
13729 * soft-fp/lesf2.c (__lesf2): Likewise.
13730 * soft-fp/letf2.c (__letf2): Likewise.
13732 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13733 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13734 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13735 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13736 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13737 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13738 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13739 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13740 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13741 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13742 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13743 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13744 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13745 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13746 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13747 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13748 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13749 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13750 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13751 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13752 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13753 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13754 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13755 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13756 * soft-fp/floattidf.c (__floattidf): Likewise.
13757 * soft-fp/floattisf.c (__floattisf): Likewise.
13758 * soft-fp/floattitf.c (__floattitf): Likewise.
13759 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13760 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13761 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13762 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13763 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13764 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13765 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13766 * soft-fp/gesf2.c (__gesf2): Likewise.
13767 * soft-fp/getf2.c (__getf2): Likewise.
13768 * soft-fp/ledf2.c (__ledf2): Likewise.
13769 * soft-fp/lesf2.c (__lesf2): Likewise.
13770 * soft-fp/letf2.c (__letf2): Likewise.
13772 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13773 Undefine and redefine.
13774 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13775 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13776 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13777 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13778 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13779 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13780 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13781 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13782 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13783 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13784 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13785 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13786 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13787 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13788 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13791 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13792 without decrementing exponent if mantissa >= that for the
13793 denominator, not >.
13794 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13795 denominator, not >. Decrement exponent in < case instead of
13796 incrementing in >= case.
13797 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13798 without decrementing exponent if mantissa >= that for the
13799 denominator, not >.
13801 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13802 computing saturated result for unsigned overflow.
13804 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13805 Jeff Law <law@redhat.com>
13807 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13808 (atan2Mp): Add systemtap probe marker.
13809 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13810 (__ieee754_log): Add systemtap probe marker.
13811 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13812 (atanMp): Add systemtap probe marker.
13813 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13814 (tanMp): Add systemtap probe marker.
13815 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13816 (__slowexp): Add systemtap probe marker.
13817 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13818 (__slowpow): Add systemtap probe marker.
13819 * manual/probes.texi: Document probes.
13821 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13824 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13826 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13828 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13829 written to buffer but not flushed.
13830 * libio/iofwrite_u.c: Likewise.
13831 * libio/iopadn.c: Return bytes returned even if EOF was
13833 * libio/iowpadn.c: Likewise.
13834 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13835 if _IO_padn does not write the whole buffer.
13836 [!COMPILE_WPRINTF] (PAD): Likewise.
13838 2013-10-10 David S. Miller <davem@davemloft.net>
13840 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13843 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13845 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13846 instead of FSF address.
13847 * soft-fp/fixdfti.c: Likewise.
13848 * soft-fp/fixsfti.c: Likewise.
13849 * soft-fp/fixtfti.c: Likewise.
13850 * soft-fp/fixunsdfti.c: Likewise.
13851 * soft-fp/fixunssfti.c: Likewise.
13852 * soft-fp/fixunstfti.c: Likewise.
13853 * soft-fp/floattidf.c: Likewise.
13854 * soft-fp/floattisf.c: Likewise.
13855 * soft-fp/floattitf.c: Likewise.
13856 * soft-fp/floatuntidf.c: Likewise.
13857 * soft-fp/floatuntisf.c: Likewise.
13858 * soft-fp/floatuntitf.c: Likewise.
13859 * soft-fp/trunctfxf2.c: Likewise.
13861 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13862 * soft-fp/fixdfti.c: Likewise.
13863 * soft-fp/fixsfti.c: Likewise.
13864 * soft-fp/fixtfti.c: Likewise.
13865 * soft-fp/fixunsdfti.c: Likewise.
13866 * soft-fp/fixunssfti.c: Likewise.
13867 * soft-fp/fixunstfti.c: Likewise.
13868 * soft-fp/floattidf.c: Likewise.
13869 * soft-fp/floattisf.c: Likewise.
13870 * soft-fp/floattitf.c: Likewise.
13871 * soft-fp/floatuntidf.c: Likewise.
13872 * soft-fp/floatuntisf.c: Likewise.
13873 * soft-fp/floatuntitf.c: Likewise.
13874 * soft-fp/trunctfxf2.c: Likewise.
13876 2013-10-10 David S. Miller <davem@davemloft.net>
13878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13880 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13882 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13883 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13884 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13885 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13886 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13887 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13888 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13890 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13891 for NaNs before doing comparisons on argument.
13892 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13895 2013-10-10 Will Newton <will.newton@linaro.org>
13897 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13898 passed to _int_memalign does not overflow.
13900 2013-10-10 Torvald Riegel <triegel@redhat.com>
13902 * scripts/bench.pl: Add include-sources directive.
13903 * benchtests/README: Update documentation.
13905 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13907 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13908 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13909 instead of FP_INIT_ROUNDMODE.
13910 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13911 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13914 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13915 copy class of input value.
13916 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13917 not handle exceptions.
13918 * soft-fp/negsf2.c (__negsf2): Likewise.
13919 * soft-fp/negtf2.c (__negtf2): Likewise.
13920 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13922 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13924 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13925 semicolon. From Linux kernel.
13927 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13929 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13931 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13934 * manual/socket.texi: Added statement about buffer
13935 for gethostbyname2_r.
13937 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13939 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13940 Use .p2align directive instead, throughout.
13941 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13942 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13943 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13944 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13945 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13946 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13947 * sysdeps/x86_64/strchr.S: Likewise.
13948 * sysdeps/x86_64/strrchr.S: Likewise.
13950 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13952 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13954 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13956 * sysdeps/generic/math_private.h (__mpsin1): Remove
13958 (__mpcos1): Likewise.
13959 (__mpsin): New argument __range_reduce.
13960 (__mpcos): Likewise.
13961 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13962 (slow): Use __mpsin and __mpcos.
13966 (sloww1): Likewise.
13967 (sloww2): Likewise.
13968 (bsloww): Likewise.
13969 (bsloww1): Likewise.
13970 (bsloww2): Likewise.
13971 (cslow2): Likewise.
13972 (csloww): Likewise.
13973 (csloww1): Likewise.
13974 (csloww2): Likewise.
13975 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13976 range_reduce. Merge in __mpsin1.
13977 (__mpcos): Likewise.
13978 (__mpsin1): Remove.
13979 (__mpcos1): Likewise.
13981 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13983 * locale/loadlocale.c (_nl_intern_locale_data): Use
13985 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13986 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13987 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13988 obstack data is appropriately aligned.
13989 (obstack_int32_grow_fast): Likewise.
13990 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13991 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13992 (add_locale_uint32_array): Likewise.
13994 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13996 * benchtests/Makefile: Remove ARGLIST and RET variables.
13997 ($(objpfx)bench-%.c): Pass only function name to the script.
13998 * benchtests/README: Update documentation.
13999 * benchtests/acos-inputs: Add new directives.
14000 * benchtests/acosh-inputs: Likewise.
14001 * benchtests/asin-inputs: Likewise.
14002 * benchtests/asinh-inputs: Likewise.
14003 * benchtests/atan-inputs: Likewise.
14004 * benchtests/atanh-inputs: Likewise.
14005 * benchtests/cos-inputs: Likewise.
14006 * benchtests/cosh-inputs: Likewise.
14007 * benchtests/exp-inputs: Likewise.
14008 * benchtests/log-inputs: Likewise.
14009 * benchtests/pow-inputs: Likewise.
14010 * benchtests/rint-inputs: Likewise.
14011 * benchtests/sin-inputs: Likewise.
14012 * benchtests/sinh-inputs: Likewise.
14013 * benchtests/tan-inputs: Likewise.
14014 * benchtests/tanh-inputs: Likewise.
14015 * scripts/bench.pl: Add support for new directives.
14017 2013-10-07 Alan Modra <amodra@gmail.com>
14019 * README: Fix careless merge.
14021 2013-10-05 Alan Modra <amodra@gmail.com>
14023 * NEWS: Mention powerpc64le support and bugs fixed.
14024 * README: Both big-endian and little-endian powerpc64 supported.
14026 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14028 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14029 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14030 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14031 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14033 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14035 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14038 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14040 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14041 Move -mhard-float appending from
14042 ports/sysdeps/powerpc/powerpc32/Makefile.
14043 [$(with-fp) = yes] (ASFLAGS): Likewise.
14044 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14045 * sysdeps/powerpc/nofpu: Move directory from
14046 ports/sysdeps/powerpc/nofpu.
14047 * sysdeps/powerpc/soft-fp: Move directory from
14048 ports/sysdeps/powerpc/soft-fp.
14049 * sysdeps/powerpc/powerpc32/405: Move directory from
14050 ports/sysdeps/powerpc/powerpc32/405.
14051 * sysdeps/powerpc/powerpc32/440: Move directory from
14052 ports/sysdeps/powerpc/powerpc32/440.
14053 * sysdeps/powerpc/powerpc32/464: Move directory from
14054 ports/sysdeps/powerpc/powerpc32/464.
14055 * sysdeps/powerpc/powerpc32/476: Move directory from
14056 ports/sysdeps/powerpc/powerpc32/476.
14057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14058 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14060 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14062 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14064 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14066 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14067 * README: Update for powerpc-*-linux-gnu software floating point
14070 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14071 case to powerpc/powerpc32*.
14072 * sysdeps/unix/sysv/linux/configure: Regenerated.
14074 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14075 (_FPU_MASK_OM): Define as 0x04.
14076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14084 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14087 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14090 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14091 and setcontext_e500.
14093 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14095 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14097 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14099 * manual/threads.texi (Default Thread Attributes): Fix typo.
14101 2013-10-04 Will Newton <will.newton@linaro.org>
14103 * malloc/Makefile: Add tst-memalign.
14104 * malloc/tst-memalign.c: New file.
14106 * malloc/tst-posix_memalign.c: Add comments.
14107 (do_test): Add comments and call free on all potentially
14108 allocated pointers. Add space after cast.
14110 * malloc/tst-pvalloc.c: Add comments.
14111 (do_test): Add comments and call free on all potentially
14112 allocated pointers. Remove duplicate check for NULL pointer.
14113 Add space after cast.
14115 * malloc/tst-valloc.c: Add comments.
14116 (do_test): Add comments and call free on all potentially
14117 allocated pointers. Remove duplicate check for NULL pointer.
14118 Add space after cast.
14120 2013-10-04 Alan Modra <amodra@gmail.com>
14122 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14123 Use stdint types in rather than __attribute__((mode())).
14124 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14126 2013-10-04 Alan Modra <amodra@gmail.com>
14128 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14129 Correct handling of unaligned relocs for little-endian.
14130 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14132 2013-10-04 Alan Modra <amodra@gmail.com>
14134 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14135 * configure: Regenerate.
14136 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14137 * shlib-versions: Likewise.
14139 2013-10-04 Alan Modra <amodra@gmail.com>
14141 * string/tester.c (test_memrchr): Increment reported test cycle.
14143 2013-10-04 Alan Modra <amodra@gmail.com>
14145 * string/test-memcpy.c (do_one_test): When reporting errors, print
14146 string address and don't overrun end of string.
14148 2013-10-04 Alan Modra <amodra@gmail.com>
14150 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14151 insrdi. Make better use of reg selection to speed exit slightly.
14152 Schedule entry path a little better. Remove useless "are we done"
14153 checks on entry to main loop. Handle wrapping around zero address.
14154 Correct main loop count. Handle single left-over word from main
14155 loop inline rather than by using loop_small. Remove extra word
14156 case in loop_small caused by wrong loop count. Add little-endian
14158 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14159 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14161 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14162 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14163 support. Avoid rlwimi.
14164 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14166 2013-10-04 Alan Modra <amodra@gmail.com>
14168 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14169 insrdi. Formatting.
14170 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14171 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14172 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14173 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14174 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14175 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14177 2013-10-04 Alan Modra <amodra@gmail.com>
14179 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14180 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14181 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14182 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14183 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14184 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14185 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14186 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14187 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14188 use of regs. Use power7 mtocrf. Tidy function tails.
14190 2013-10-04 Alan Modra <amodra@gmail.com>
14192 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14193 Formatting. Consistently use rXXX register defines or rN defines.
14194 Use early exit labels that avoid restoring unused non-volatile regs.
14195 Make cr field use more consistent with rWORDn compares. Rename
14196 regs used as shift registers for unaligned loop, using rN defines
14197 for short lifetime/multiple use regs.
14198 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14199 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14200 addi 1,1,64 to pop stack frame. Simplify return value code.
14201 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14203 2013-10-04 Alan Modra <amodra@gmail.com>
14205 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14206 support. Correct typos, formatting. Optimize tail. Use insrdi
14207 rather than rlwimi.
14208 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14209 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14210 little-endian support. Correct typos.
14211 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14212 rather than rlwimi.
14213 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14214 in loop and entry code to keep "and." results.
14215 (strchr): Add little-endian support. Comment. Move cntlzd
14217 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14219 2013-10-04 Alan Modra <amodra@gmail.com>
14221 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14222 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14223 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14224 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14226 2013-10-04 Alan Modra <amodra@gmail.com>
14228 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14229 (rTMP): Define as r11.
14230 (strcmp): Add little-endian support. Optimise tail.
14231 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14232 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14233 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14234 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14235 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14236 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14237 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14239 2013-10-04 Alan Modra <amodra@gmail.com>
14241 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14242 little-endian support. Remove unnecessary "are we done" tests.
14243 Handle "s" wrapping around zero and extremely large "size".
14244 Correct main loop count. Handle single left-over word from main
14245 loop inline rather than by using small_loop. Correct comments.
14246 Delete "zero" tail, use "end_max" instead.
14247 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14249 2013-10-04 Alan Modra <amodra@gmail.com>
14251 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14252 support. Don't branch over align.
14253 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14254 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14255 support. Rearrange tmp reg use to suit. Comment.
14256 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14258 2013-10-04 Alan Modra <amodra@gmail.com>
14260 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14262 2013-10-04 Alan Modra <amodra@gmail.com>
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14265 conditional form of branch and link when obtaining pc.
14266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14268 2013-10-04 Alan Modra <amodra@gmail.com>
14270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14275 2013-10-04 Alan Modra <amodra@gmail.com>
14277 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14278 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14279 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14280 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14281 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14282 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14283 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14284 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14285 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14286 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14288 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14289 Alistair Popple <alistair@ozlabs.au.ibm.com>
14290 Alan Modra <amodra@gmail.com>
14293 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14294 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14295 _dl_hwcap access for little-endian.
14296 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14297 destroy vmx regs when saving unaligned.
14298 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14299 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14300 destroy vmx regs when saving unaligned.
14302 2013-10-04 Alan Modra <amodra@gmail.com>
14304 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14305 Don't use a union to pack hi/low value.
14307 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14309 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14311 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14312 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14313 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14314 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14315 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14317 2013-10-04 Alan Modra <amodra@gmail.com>
14319 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14320 constants to usual value for .cst8 section, and remove redundant
14322 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14323 constant for 0x1p52. Load little-endian words of double from
14324 correct stack offsets.
14326 2013-10-04 Alan Modra <amodra@gmail.com>
14328 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14329 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14330 words of double from correct stack offsets.
14331 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14332 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14333 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14334 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14335 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14336 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14337 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14338 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14339 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14340 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14341 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14342 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14343 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14344 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14345 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14346 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14347 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14349 2013-10-04 Alan Modra <amodra@gmail.com>
14351 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14352 64-bit int/double union.
14353 (_FPU_SETCW): Likewise.
14354 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14355 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14357 2013-10-04 Alan Modra <amodra@gmail.com>
14359 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14360 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14362 2013-10-04 Alan Modra <amodra@gmail.com>
14364 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14365 use vector int constants.
14366 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14368 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14370 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14371 array with long long.
14372 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14373 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14374 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14375 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14376 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14377 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14378 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14379 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14380 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14381 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14382 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14383 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14384 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14386 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14388 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14389 (__signbit): Likewise. Correct for little-endian.
14390 (__signbitl): Call __signbit.
14391 (lrint): Correct for little-endian.
14392 (lrintf): Call lrint.
14394 2013-10-04 Alan Modra <amodra@gmail.com>
14396 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14397 union 32-bit int array member with 64-bit int array.
14398 (t515, tm256): Double rather than long double.
14399 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14401 2013-10-04 Alan Modra <amodra@gmail.com>
14403 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14405 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14406 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14407 version of math_ldbl.h.
14409 2013-10-04 Alan Modra <amodra@gmail.com>
14411 [BZ #15734], [BZ #15735]
14412 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14413 all uses of ieee875 long double macros and unions. Simplify test
14414 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14415 ldbl_extract_mantissa value for ix,iy exponents. Properly
14416 normalize after ldbl_extract_mantissa, and don't add hidden bit
14417 already handled. Don't treat low word of ieee854 mantissa like
14418 low word of IBM long double and mask off bit when testing for
14420 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14421 all uses of ieee875 long double macros and unions. Simplify tests
14422 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14423 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14424 two1022, instead use their values. Recognise that tests for large
14425 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14426 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14427 Rewrite all uses of ieee875 long double macros and unions. Simplify
14428 test for 0.0L and nan. Correct negation.
14429 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14430 ieee875 long double macros and unions. Correct output for large
14431 magnitude x. Correct absolute value calculation.
14432 (__erfcl): Likewise.
14433 * math/libm-test.inc: Add tests for errors discovered in IBM long
14434 double versions of fmodl, remainderl, erfl and erfcl.
14436 2013-10-04 Alan Modra <amodra@gmail.com>
14438 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14439 all uses of ieee854 long double macros and unions. Simplify tests
14440 for long doubles that are fully specified by the high double.
14441 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14443 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14444 Remove dead code too.
14445 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14446 (__ieee754_ynl): Likewise.
14447 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14450 Remove dead code too.
14451 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14452 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14453 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14454 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14456 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14458 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14459 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14460 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14461 Comment on variable precision.
14462 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14463 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14465 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14466 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14467 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14468 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14469 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14471 2013-10-04 Alan Modra <amodra@gmail.com>
14473 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14474 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14475 all uses of ieee854 long double macros and unions.
14476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14477 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14478 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14479 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14480 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14481 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14483 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14484 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14485 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14486 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14487 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14488 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14489 Simplify sign and nan test too.
14490 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14491 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14492 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14493 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14495 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14496 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14498 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14500 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14501 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14502 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14505 2013-10-04 Alan Modra <amodra@gmail.com>
14507 * stdio-common/printf_size.c (__printf_size): Don't use
14508 union ieee854_long_double in fpnum union.
14509 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14510 signbit macro to retrieve sign from long double.
14511 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14512 retrieve sign from long double.
14513 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14514 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14515 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14516 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14517 * math/test-misc.c (main): Don't use union ieee854_long_double.
14519 2013-10-04 Alan Modra <amodra@gmail.com>
14522 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14523 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14524 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14525 calculation. Remove unnecessary test for denormal exponent.
14526 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14527 Correct handling of denormals. Avoid undefined shift behaviour.
14528 Correct normalisation of low mantissa when low double is denormal.
14529 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14530 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14531 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14532 Correct normalisation of low mantissa. Test for overflow of high
14533 mantissa and normalise.
14534 (ldbl_nearbyint): Use more readable constant for two52.
14535 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14536 (__mpn_construct_long_double): Fix test for overflow of high
14537 mantissa and correct normalisation. Avoid undefined shift.
14539 2013-10-04 Alan Modra <amodra@gmail.com>
14541 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14542 (union ibm_extended_long_double): Define as an array of ieee754_double.
14543 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14544 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14545 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14546 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14547 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14548 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14549 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14550 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14551 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14552 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14553 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14555 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14557 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14558 page size instead of calling getpagesize.
14560 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14561 (LOCFILE_ALIGN_MASK): Likewise.
14562 (LOCFILE_ALIGN_UP): Likewise.
14563 (LOCFILE_ALIGNED_P): Likewise.
14564 * locale/programs/ld-collate.c (collate_output): Use the new
14565 macros instead of __alignof__ (int32_t).
14566 * locale/weight.h (findidx): Likewise.
14568 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14571 * manual/string.texi: Fix strncat and wcsncat.
14573 2013-10-03 Brooks Moses <bmoses@google.com>
14576 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14577 * Makerules: ...here, and adjust associated comments.
14579 2013-10-02 Will Newton <will.newton@linaro.org>
14581 * malloc/Makefile: Add tst-pvalloc.
14582 * malloc/tst-pvalloc.c: New file.
14584 2013-10-02 Will Newton <will.newton@linaro.org>
14586 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14587 improve test coverage.
14589 2013-10-02 Will Newton <will.newton@linaro.org>
14591 * malloc/Makefile: Add tst-posix_memalign.
14592 * malloc/tst-posix_memalign.c: New file.
14594 2013-10-01 Eric Blake <eblake@redhat.com>
14596 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14597 Use __THROWNL rather than __THROW on static functions.
14599 2013-09-30 Petr Machata <pmachata@redhat.com>
14601 * elf/elf.h (R_AARCH64_ABS16): New macro.
14602 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14603 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14604 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14605 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14606 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14607 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14608 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14609 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14610 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14611 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14612 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14613 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14614 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14615 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14616 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14617 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14618 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14619 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14620 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14621 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14622 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14623 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14624 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14625 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14626 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14627 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14628 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14629 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14630 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14631 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14632 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14633 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14634 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14635 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14636 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14637 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14638 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14639 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14640 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14641 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14642 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14643 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14644 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14645 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14646 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14647 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14648 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14649 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14650 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14651 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14652 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14653 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14654 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14655 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14656 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14657 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14658 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14659 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14660 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14661 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14662 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14663 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14664 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14665 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14666 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14667 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14668 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14669 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14670 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14671 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14672 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14673 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14674 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14675 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14676 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14677 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14678 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14679 (R_AARCH64_TLSDESC_LDR): Likewise.
14680 (R_AARCH64_TLSDESC_ADD): Likewise.
14681 (R_AARCH64_TLSDESC_CALL): Likewise.
14683 2013-09-30 Andreas Schwab <schwab@suse.de>
14686 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14687 the nss database lookup.
14688 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14691 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14693 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14695 2013-09-28 P. J. McDermott <pj@pehjota.net>
14697 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14698 ${Bash-specific parameter/pattern/string} parameter expansion.
14699 * sysdeps/unix/make-syscalls.sh: Likewise.
14701 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14703 * sysdeps/sh/stackguard-macros.h: New file.
14705 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14709 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14710 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14711 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14712 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14714 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14716 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14717 Fix thread ID register.
14719 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14721 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14722 [POSIX || UNIX98]: Require rather than permitting all symbols from
14724 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14725 element of struct sched_param.
14726 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14727 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14728 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14729 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14732 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14734 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14735 argument calculation.
14737 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14739 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14741 [POSIX] (pthread_attr_t): Do not require type.
14742 [POSIX] (pthread_cond_t): Likewise.
14743 [POSIX] (pthread_condattr_t): Likewise.
14744 [POSIX] (pthread_key_t): Likewise.
14745 [POSIX] (pthread_mutex_t): Likewise.
14746 [POSIX] (pthread_mutexattr_t): Likewise.
14747 [POSIX] (pthread_once_t): Likewise.
14748 [POSIX] (pthread_t): Likewise.
14749 [POSIX-based standards] (pthread_atfork): Expect function.
14751 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14752 Richard Sandiford <richard@codesourcery.com>
14754 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14755 (swap_endianness_p): New extern variable.
14756 (set_big_endian): New inline function.
14757 (maybe_swap_uint32): Likewise.
14758 (maybe_swap_uint32_array): Likewise.
14759 (maybe_swap_uint32_obstack): Likewise.
14760 * locale/programs/locfile.c: Include <stdbool.h>.
14761 (swap_endianness_p): New variable.
14762 (add_locale_uint32): Call maybe_swap_uint32.
14763 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14764 (write_locale_data): Call maybe_swap_uint32_array.
14765 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14767 (obstack_int32_grow_fast): Likewise.
14768 (output_weightwc): Call maybe_swap_uint32_obstack.
14769 (collate_output): Likewise.
14770 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14771 (OPT_LITTLE_ENDIAN): Likewise.
14772 (options): Add --little-endian and --big-endian options.
14773 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14774 * locale/programs/locarchive.c: Include "locfile.h".
14778 (create_archive): Use the new macros to access fields of
14779 structures directly mapped from or written to locale archives.
14780 (oldlocrecentcmp): Likewise.
14781 (enlarge_archive): Likewise.
14782 (insert_name): Likewise.
14783 (add_alias): Likewise.
14784 (add_locale): Likewise.
14785 (delete_locales_from_archive): Likewise.
14786 (show_archive_content): Likewise.
14787 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14790 2013-09-24 Roland McGrath <roland@hack.frob.com>
14792 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14793 http://www.gnu.org/doc/freemanuals.texi.
14794 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14796 2013-09-24 Will Newton <will.newton@linaro.org>
14798 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14801 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14803 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14806 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14808 * manual/threads.texi (POSIX Threads): Fix a typo.
14810 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14813 * string/tst-strcoll-overflow.c: New test case.
14814 * string/Makefile (xtests): Add tst-strcoll-overflow.
14815 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14816 cache if string sizes may cause integer overflow.
14819 * string/strcoll_l.c (coll_seq): New members rule, idx,
14820 save_idx and back_us.
14821 (get_next_seq_nocache): New function.
14822 (do_compare_nocache): New function.
14823 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14826 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14829 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14830 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14831 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14834 * elf/Makefile (tests): Add tst-ptrguard1.
14835 (tests-static): Add tst-ptrguard1-static.
14836 (tst-ptrguard1-ARGS): Define.
14837 (tst-ptrguard1-static-ARGS): Define.
14838 * elf/tst-ptrguard1.c: New file.
14839 * elf/tst-ptrguard1-static.c: New file.
14840 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14841 * sysdeps/i386/stackguard-macros.h: Likewise.
14842 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14843 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14844 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14845 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14846 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14847 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14849 2013-09-23 Hector Marco <hecmargi@upv.es>
14850 Ismael Ripoll <iripoll@disca.upv.es>
14851 Carlos O'Donell <carlos@redhat.com>
14854 * sysdeps/generic/stackguard-macros.h: Define
14855 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14856 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14857 Define __pointer_chk_guard_local.
14858 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14859 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14861 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14864 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14866 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14868 * include/string.h (__ffs): Declare as hidden.
14869 * string/ffs.c (__ffs): Define as hidden.
14870 * sysdeps/i386/ffs.c (__ffs): Likewise.
14871 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14872 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14873 * sysdeps/s390/ffs.c (__ffs): Likewise.
14874 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14876 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14878 * NEWS: Mention malloc probes.
14880 * malloc/arena.c (new_heap): New memory_heap_new probe.
14881 (grow_heap): New memory_heap_more probe.
14882 (shrink_heap): New memory_heap_less probe.
14883 (heap_trim): New memory_heap_free probe.
14884 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14885 (systrim): New memory_sbrk_less probe.
14886 * manual/probes.texi: Document them.
14888 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14889 * manual/probes.texi: Document it.
14891 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14892 (__libc_realloc): Add memory_realloc_retry probe.
14893 (__libc_memalign): Add memory_memalign_retry probe.
14894 (__libc_valloc): Add memory_valloc_retry probe.
14895 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14896 (__libc_calloc): Add memory_calloc_retry probe.
14897 * manual/probes.texi: Document them.
14899 * malloc/arena.c (get_free_list): Add probe
14900 memory_arena_reuse_free_list.
14901 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14902 and memory_arena_reuse.
14903 (arena_get2) [!PER_THREAD]: Likewise.
14904 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14905 memory_arena_reuse_realloc.
14906 * manual/probes.texi: Document them.
14908 * malloc/malloc.c (__libc_free): Add
14909 memory_mallopt_free_dyn_thresholds probe.
14910 (__libc_mallopt): Add multiple memory_mallopt probes.
14911 * manual/probes.texi: Document them.
14913 * malloc/malloc.c: Include stap-probe.h.
14914 (__libc_mallopt): Add memory_mallopt probe.
14915 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14916 * manual/probes.texi: New.
14917 * manual/Makefile (chapters): Add probes.
14918 * manual/threads.texi: Set next node.
14920 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14922 [BZ #15963, #13985]
14923 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14924 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14925 Add `Chinese' to `nan' entry name.
14927 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14929 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14930 (POLYNOMIAL): Likewise.
14931 (TAYLOR_SINCOS): Likewise.
14932 (TAYLOR_SLOW): Likewise.
14933 (__sin): Use TAYLOR_SINCOS.
14935 (slow): Use TAYLOR_SLOW.
14937 (bsloww): Likewise.
14938 (csloww): Likewise.
14940 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14942 * stdlib/strtod_l.c: Fix buffer overrun.
14944 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14946 * benchtests/Makefile (bench): Add sincos.
14947 * benchtests/bench-sincos.c: New file.
14949 * math/libm-test.inc (cos_test_data): New test inputs.
14950 (sin_test_data): Likewise.
14952 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14958 (sloww1): Likewise.
14959 (sloww2): Likewise.
14960 (bsloww1): Likewise.
14961 (bsloww2): Likewise.
14962 (cslow2): Likewise.
14963 (csloww1): Likewise.
14964 (csloww2): Likewise.
14966 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14971 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14975 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14977 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14978 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14979 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14980 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14981 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14982 * elf/cache.c (print_entry): Handle the new cache flags.
14984 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14985 Aldy Hernandez <aldyh@redhat.com>
14987 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14988 Change condition to [_SOFT_FLOAT].
14989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14990 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14993 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14994 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14995 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14996 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14998 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14999 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15000 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15001 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15002 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15003 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15004 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15007 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15009 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15010 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15011 (__longjmp): Use LOAD_GP to load saved GPRs.
15012 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15013 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15014 (__sigsetjmp): Use SAVE_GP to save GPRs.
15016 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15017 Do not append -msoft-float.
15018 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15020 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15022 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15024 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15027 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15028 (_FPU_GETCW): Use initial "__" on variable and field names but not
15029 on macro parameter name.
15030 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15031 parentheses around reference to macro parameter.
15033 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15035 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15037 (ctype_startup): Use uint32_t in cast and sizeof for
15040 2013-09-11 Jia Liu <proljc@gmail.com>
15042 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15044 [__FreeBSD__]: Likewise.
15046 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15048 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15049 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15050 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15051 (strchr): Remove __strchr_sse42 ifunc selection.
15052 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15053 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15055 2013-09-11 Will Newton <will.newton@linaro.org>
15057 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15058 parameter to RES. Remove hardcoded 1000 value.
15059 * benchtests/bench-skeleton.c (main): Pass RES parameter
15060 to TIMING_INIT and multiply result by 1000.
15062 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15066 2013-09-11 Andreas Schwab <schwab@suse.de>
15068 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15070 (O_TMPFILE) [__USE_GNU]: Define.
15071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15074 2013-09-11 Will Newton <will.newton@linaro.org>
15077 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15080 2013-09-11 Will Newton <will.newton@linaro.org>
15083 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15086 2013-09-11 Will Newton <will.newton@linaro.org>
15089 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15092 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15094 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15095 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15096 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15097 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15098 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15100 2013-09-10 Allan McRae <allan@archlinux.org>
15103 * manual/arith.texi (Parsing of Floats): Clarify
15107 * manual/install.texi (Running make install): Mention
15109 * INSTALL: Regenerated.
15111 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15113 * csu/init-first.c (_init): Remove the !SHARED condition around
15114 FPU control word initialization.
15115 * elf/dl-support.c (_dl_fpu_control): New variable.
15116 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15117 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15118 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15119 * math/test-fpucw-static.c: New file.
15120 * math/test-fpucw-ieee.c: New file.
15121 * math/test-fpucw-ieee-static.c: New file.
15122 * math/Makefile (tests): Add `test-fpucw-ieee' and
15124 (tests-static): New variable.
15125 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15127 [($(build-shared),yes)]
15128 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15130 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15133 2013-09-09 Allan McRae <allan@archlinux.org>
15136 * manual/string.texi (Collation Functions): Fix typo in
15138 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15141 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15144 * libio/memstream.c (open_memstream): Fix memory leak.
15145 * libio/wmemstream.c (open_wmemstream): Likewise.
15148 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15150 2013-09-09 Will Newton <will.newton@linaro.org>
15152 * malloc/Makefile: Add tst-realloc to tests.
15153 * malloc/tst-realloc.c: New file.
15155 2013-09-09 Allan McRae <allan@archlinux.org>
15158 * COPYING: Update from GNU website to fix FSF address.
15159 * COPYING.LIB: Likewise.
15161 2013-09-06 David S. Miller <davem@davemloft.net>
15163 * po/zh_TW.po: Update Chinese (traditional) translation from
15164 translation project.
15166 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15167 Joseph Myers <joseph@codesourcery.com>
15169 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15171 (obstack_chunk_alloc): New macro.
15172 (obstack_chunk_free): Likewise.
15173 (record_offset): New function.
15174 (init_locale_data): Likewise.
15175 (align_locale_data): Likewise.
15176 (add_locale_empty): Likewise.
15177 (add_locale_raw_data): Likewise.
15178 (add_locale_raw_obstack): Likewise.
15179 (add_locale_string): Likewise.
15180 (add_locale_wstring): Likewise.
15181 (add_locale_uint32): Likewise.
15182 (add_locale_uint32_array): Likewise.
15183 (add_locale_char): Likewise.
15184 (start_locale_structure): Likewise.
15185 (end_locale_structure): Likewise.
15186 (start_locale_prelude): Likewise.
15187 (end_locale_prelude): Likewise.
15188 (write_locale_data): Take locale_file structure rather than an
15190 * locale/programs/locfile.h: Include "obstack.h".
15191 (struct locale_file): Change to store locale file contents instead
15193 (init_locale_data): New prototype.
15194 (align_locale_data): Likewise.
15195 (add_locale_empty): Likewise.
15196 (add_locale_raw_data): Likewise.
15197 (add_locale_raw_obstack): Likewise.
15198 (add_locale_string): Likewise.
15199 (add_locale_wstring): Likewise.
15200 (add_locale_uint32): Likewise.
15201 (add_locale_uint32_array): Likewise.
15202 (add_locale_char): Likewise.
15203 (start_locale_structure): Likewise.
15204 (end_locale_structure): Likewise.
15205 (start_locale_prelude): Likewise.
15206 (end_locale_prelude): Likewise.
15207 (write_locale_data): Update prototype.
15208 * locale/programs/3level.h (struct TABLE): Remove result field.
15209 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15210 Use new locale_file interface.
15211 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15212 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15213 * locale/programs/ld-address.c (address_output): Use new
15214 locale_file interface.
15215 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15217 (collate_finish): Don't call collseq_table_finalize.
15218 (collate_output): Use new locale_file interface.
15219 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15221 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15222 (TABLE): Move defines earlier in file.
15223 (ELEMENT): Likewise.
15224 (DEFAULT): Likewise.
15225 (wctrans_table_add): Move macro and inline function earlier in
15227 (struct wctype_table): Move type earlier in file.
15228 (add_locale_wctype_table): New static prototype.
15229 (struct locale_ctype_t): Use logical types instead of struct iovec
15230 pointers for members.
15231 (ctype_output): Use new locale_file interface.
15232 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15233 new locale_file interface.
15234 (allocate_arrays): Update for use of new locale_file interface.
15235 * locale/programs/ld-identification.c (identification_output): Use
15236 new locale_file interface.
15237 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15238 * locale/programs/ld-messages.c (messages_output): Likewise.
15239 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15240 * locale/programs/ld-name.c (name_output): Likewise.
15241 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15242 * locale/programs/ld-paper.c (paper_output): Likewise.
15243 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15244 * locale/programs/ld-time.c (time_output): Likewise.
15246 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15248 * benchtests/Makefile: Add memrchr benchmark.
15249 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15250 benchmark as memrchr.
15251 * benchtests/bench-memrchr-ifunc.c: New file.
15252 * benchtests/bench-memrchr.c: New file.
15254 2013-09-06 Will Newton <will.newton@linaro.org>
15256 * benchtests/Makefile (string-bench): Add memcpy.
15258 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15259 Cong Wang <amwang@redhat.com>
15262 * sysdeps/unix/sysv/linux/bits/in.h
15263 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15264 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15265 before __USE_KERNEL_IPV6_DEFS uses.
15266 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15268 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15269 sockaddr_in6, or ipv6_mreq.
15271 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15273 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15274 memory access for final bytes in some large inputs.
15275 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15277 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15279 * string/test-memrchr.c: New file.
15280 * string/test-memrchr-ifunc.c: New file.
15281 * string/Makefile: Add new memrchr testcase.
15283 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15285 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15286 fanotify_init returns EPERM.
15288 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15290 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15292 (top level): Treat second token from macro or constant entries for
15293 allowed headers as allowed.
15294 * include/complex.h: Condition internal declarations on
15296 * include/fenv.h: Condition include of <stdbool.h> and internal
15297 declarations on [!_ISOMAC].
15299 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15302 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15304 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15306 * configure.in (--enable-versioning): Remove configure option.
15307 (libc_cv_asm_symver_directive): Remove configure test.
15308 (libc_cv_ld_version_script_option): Likewise.
15309 (VERSIONING): Remove variable and AC_SUBST.
15310 (DO_VERSIONING): Remove AC_DEFINE.
15311 * configure: Regenerated.
15312 * config.h.in (DO_VERSIONING): Remove macro.
15313 * Makerules [$(versioning) = yes]: Change conditionals to
15314 [$(build-shared) = yes].
15315 * config.make.in (versioning): Remove variable.
15316 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15317 [$(build-shared) = yes].
15318 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15319 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15320 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15321 [$(build-shared) = yes].
15322 * extra-lib.mk [$(versioning) = yes]: Likewise.
15323 * hurd/Makefile [$(versioning) = yes]: Likewise.
15324 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15326 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15328 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15329 [SHARED && !NO_HIDDEN].
15330 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15332 [SHARED && DO_VERSIONING]: Likewise..
15333 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15334 [$(build-shared) = yes].
15335 * manual/install.texi (--disable-versioning): Remove
15337 * INSTALL: Regenerated.
15338 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15340 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15341 [$(build-shared) = yes].
15342 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15343 * sysdeps/i386/i686/multiarch/strstr-c.c
15344 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15345 [SHARED && !NO_HIDDEN].
15346 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15347 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15348 * sysdeps/powerpc/powerpc32/dl-machine.c
15349 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15350 * sysdeps/powerpc/powerpc32/sysdep.h
15351 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15352 to [SHARED && PIC && !NO_HIDDEN].
15353 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15354 conditional to [SHARED].
15356 2013-09-04 Will Newton <will.newton@linaro.org>
15358 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15359 * benchtests/bench-string.h: Include bench-timing.h instead
15360 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15361 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15362 call to HP_TIMING_DIFF_INIT.
15363 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15364 instead of hp-timing.h macros.
15365 * benchtests/bench-memchr.c: Likewise.
15366 * benchtests/bench-memcmp.c: Likewise.
15367 * benchtests/bench-memcpy.c: Likewise.
15368 * benchtests/bench-memmem.c: Likewise.
15369 * benchtests/bench-memmove.c: Likewise.
15370 * benchtests/bench-memset.c: Likewise.
15371 * benchtests/bench-rawmemchr.c: Likewise.
15372 * benchtests/bench-strcasecmp.c: Likewise.
15373 * benchtests/bench-strcasestr.c: Likewise.
15374 * benchtests/bench-strcat.c: Likewise.
15375 * benchtests/bench-strchr.c: Likewise.
15376 * benchtests/bench-strcmp.c: Likewise.
15377 * benchtests/bench-strcpy.c: Likewise.
15378 * benchtests/bench-strcpy_chk.c: Likewise.
15379 * benchtests/bench-strlen.c: Likewise.
15380 * benchtests/bench-strncasecmp.c: Likewise.
15381 * benchtests/bench-strncat.c: Likewise.
15382 * benchtests/bench-strncmp.c: Likewise.
15383 * benchtests/bench-strncpy.c: Likewise.
15384 * benchtests/bench-strnlen.c: Likewise.
15385 * benchtests/bench-strpbrk.c: Likewise.
15386 * benchtests/bench-strrchr.c: Likewise.
15387 * benchtests/bench-strspn.c: Likewise.
15388 * benchtests/bench-strstr.c: Likewise.
15390 2013-09-04 Will Newton <will.newton@linaro.org>
15392 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15394 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15397 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15398 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15399 * math/libm-test.inc (lgamma_test_data): Add more tests.
15400 * sysdeps/i386/fpu/libm-test-ulps: Update.
15401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15403 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15405 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15406 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15408 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15409 Add strcmp-sse2-unaligned
15410 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15412 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15414 * Versions.def (libc): Add GLIBC_2.19.
15416 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15418 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15419 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15421 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15424 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15425 intermediate calculations in recurrence.
15426 (__ieee754_ynf): Likewise.
15427 * math/libm-test.inc (jn_test_data): Do not allow spurious
15428 underflow exception. Add more tests.
15429 (yn_test_data): Add more tests.
15430 * sysdeps/i386/fpu/libm-test-ulps: Update.
15431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15433 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15435 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15437 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15439 * csu/init-first.c: Fix then/than typos.
15440 * locale/programs/ld-collate.c: Likewise.
15441 * locale/programs/linereader.h: Likewise.
15442 * manual/charset.texi: Likewise.
15443 * manual/filesys.texi: Likewise.
15444 * manual/stdio.texi: Likewise.
15445 * manual/string.texi: Likewise.
15446 * stdlib/fmtmsg.c: Likewise.
15447 * sysdeps/i386/stpncpy.S: Likewise.
15448 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15449 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15450 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15451 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15453 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15455 * elf/dl-open.c: Fix typos.
15456 * iconvdata/gbbig5.c: Likewise.
15457 * iconvdata/iso-2022-jp.c: Likewise.
15458 * iconv/gconv_int.h: Likewise.
15459 * iconv/loop.c: Likewise.
15460 * nis/rpcsvc/nis.h: Likewise.
15461 * resolv/ns_name.c: Likewise.
15462 * stdio-common/vfscanf.c: Likewise.
15463 * streams/stropts.h: Likewise.
15464 * sunrpc/rpc_thread.c: Likewise.
15465 * sysdeps/i386/strpbrk.S: Likewise.
15466 * sysdeps/ieee754/k_standard.c: Likewise.
15467 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15468 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15469 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15470 * sysdeps/mach/hurd/profil.c: Likewise.
15471 * sysdeps/s390/dl-procinfo.h: Likewise.
15472 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15473 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15474 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15475 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15476 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15478 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15480 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15483 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15485 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15486 aix specific files.
15487 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15488 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15489 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15490 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15491 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15492 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15493 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15494 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15496 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15497 Roland McGrath <roland@hack.frob.com>
15499 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15500 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15502 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15504 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15505 __executable_start symbol instead of _start.
15507 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15509 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15510 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15512 * sysdeps/gnu/ldsodefs.h: ... this new file.
15514 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15515 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15516 instead of ELFOSABI_LINUX.
15518 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15519 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15520 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15521 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15523 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15524 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15525 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15527 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15528 (ibm_extended_long_double): Add ieee_nan member.
15529 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15530 (do_test): New function.
15532 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15534 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15535 functions, renamed from truncdfsf_test, trunctfsf_test,
15537 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15539 (do_test): Run all these.
15541 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15543 * argp/argp-help.c: Fix typos.
15544 * argp/argp-parse.c: Likewise.
15545 * debug/backtracesyms.c: Likewise.
15546 * elf/elf.h: Likewise.
15547 * malloc/malloc.c: Likewise.
15548 * nis/nis_print.c: Likewise.
15549 * resolv/res_comp.c: Likewise.
15550 * stdlib/stdlib.h: Likewise.
15551 * sunrpc/clnt_tcp.c: Likewise.
15552 * sunrpc/clnt_udp.c: Likewise.
15553 * sunrpc/clnt_unix.c: Likewise.
15554 * sysdeps/unix/bsd/ptsname.c: Likewise.
15555 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15556 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15563 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15565 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15567 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15570 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15573 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15574 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15575 ($(objpfx)bug-dl-leaf): New rule.
15576 ($(objpfx)bug-dl-leaf.so): Likewise.
15577 ($(objpfx)bug-dl-leaf.out): Likewise.
15578 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15579 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15580 * dlfcn/bug-dl-leaf.c: New test.
15581 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15582 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15583 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15584 (dlclose): Likewise.
15585 (dlmopen): Likewise.
15587 2013-08-27 Roland McGrath <roland@hack.frob.com>
15589 * include/netdb.h [!_ISOMAC]:
15590 Don't include <tls.h>.
15591 (h_errno, __libc_h_errno): Move declaration and macros out of
15594 * include/resolv.h [_RESOLV_H_]:
15595 Don't include <tls.h>.
15596 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15597 * resolv/res_libc.c: Don't include <tls.h>.
15598 (_res): Use __attribute__ ((nocommon)) in place of
15599 __attribute__ ((section (".bss"))).
15601 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15602 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15604 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15606 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15607 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15609 * resolv/res_mkquery.c: Include <sys/time.h>.
15611 * inet/ifreq.c: Moved to ...
15612 * sysdeps/unix/ifreq.c: ... here.
15613 * inet/ifreq.c: New file, true stub version.
15615 * socket/sa_len.c: New file.
15616 * socket/Makefile (aux): Add it.
15617 * sysdeps/unix/sysv/linux/Makefile
15618 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15619 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15620 and #include <socket/sa_len.c>.
15621 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15622 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15624 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15625 * bits/socket.h: ... here.
15627 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15628 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15629 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15631 2013-08-27 Andreas Schwab <schwab@suse.de>
15634 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15635 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15636 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15637 * string/test-strcasecmp.c (test_main): Run tests in several
15639 * string/test-strncasecmp.c (test_main): Likewise.
15641 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15642 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15643 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15644 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15645 (__strncasecmp_ssse3) [PIC]: Likewise.
15647 2013-08-26 Roland McGrath <roland@hack.frob.com>
15649 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15651 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15652 instead of explicitly declaring xdecrypt.
15653 * nis/nss_nis/nis-publickey.c: Likewise.
15655 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15658 * nscd/aicache.c: Include res_hconf.h.
15659 (addhstaiX): Initialize res_hconf.
15661 2013-08-26 Andreas Schwab <schwab@suse.de>
15663 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15664 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15666 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15668 * nscd/aicache.c (addhstaiX): Fix indentation.
15670 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15672 * configure.ac: Quote $build_pt_chown test.
15673 * configure: Regenerated.
15675 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15678 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15679 * math/s_cexpf.c (__cexpf): Likewise.
15680 * math/s_cexpl.c (__cexpl): Likewise.
15681 * math/libm-test.inc (cexp_test_data): Correct expected return
15682 value for NaN + i0. Add another test.
15684 2013-08-22 David S. Miller <davem@davemloft.net>
15686 * po/ca.po: Update Catalan translation from translation project.
15687 * po/uk.po: Add Ukrainian translations from translation project.
15689 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15692 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15693 is infinite, not alongside NaN test.
15694 * math/s_fdimf.c (__fdimf): Likewise.
15695 * math/s_fdiml.c (__fdiml): Likewise.
15696 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15697 errno is unchanged.
15699 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15701 * argp/argp-help.c: Fix typos.
15702 * crypt/speeds.c: Likewise.
15703 * csu/check_fds.c: Likewise.
15704 * elf/dl-load.c: Likewise.
15705 * elf/dl-open.c: Likewise.
15706 * elf/reldep3.c: Likewise.
15707 * elf/reldep.c: Likewise.
15708 * elf/sprof.c: Likewise.
15709 * iconv/iconv_charmap.c: Likewise.
15710 * iconv/skeleton.c: Likewise.
15711 * iconv/strtab.c: Likewise.
15712 * io/lockf64.c: Likewise.
15713 * libio/libioP.h: Likewise.
15714 * resolv/gai_notify.c: Likewise.
15715 * resolv/ns_name.c: Likewise.
15716 * resolv/ns_samedomain.c: Likewise.
15717 * resolv/res_send.c: Likewise.
15718 * stdlib/random.c: Likewise.
15719 * sunrpc/rpc/xdr.h: Likewise.
15720 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15721 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15722 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15723 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15724 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15725 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15726 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15727 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15728 * sysdeps/mach/hurd/check_fds.c: Likewise.
15729 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15730 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15731 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15732 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15733 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15734 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15735 * sysdeps/pthread/aio_notify.c: Likewise.
15736 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15737 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15738 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15739 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15740 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15742 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15744 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15745 version if bit_Slow_SSE4_2 is set.
15746 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15747 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15749 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15752 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15753 trampoline stack frame information.
15754 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15755 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15756 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15757 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15758 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15759 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15760 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15761 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15763 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15764 interrupting a syscall and set with option SA_SIGINFO.
15766 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15769 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15770 argument is infinite.
15771 * math/s_cprojf.c (__cprojf): Likewise.
15772 * math/s_cprojl.c (__cprojl): Likewise.
15773 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15774 * math/libm-test.inc (cproj_test_data): Add more tests.
15776 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15778 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15779 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15780 size. Use __ffs to determine corresponding shift.
15782 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15783 Roland McGrath <roland@hack.frob.com>
15785 * Makefile (INSTALL): Remove trailing blank lines from output of
15788 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15790 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15791 Align 32 bit compat elf_greg to 8 bytes.
15793 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15795 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15797 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15799 * string/strcoll_l.c (coll_seq): New structure.
15800 (get_next_seq_cached): New function.
15801 (get_next_seq): New function.
15802 (do_compare): New function.
15803 (STRCOLL): Use GNU style definition. Simplify implementation
15804 by using get_next_seq, get_next_seq_cached and do_compare.
15806 2013-08-16 Florian Weimer <fweimer@redhat.com>
15810 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15812 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15814 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15815 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15816 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15818 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15819 GETDENTS_64BIT_ALIGNED.
15820 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15821 * manual/filesys.texi (Reading/Closing Directory): Document
15822 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15824 * manual/conf.texi (Limits for Files): Add portability note to
15825 NAME_MAX, PATH_MAX.
15826 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15828 2013-08-13 Andreas Schwab <schwab@suse.de>
15831 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15833 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15834 LDBL_MAX_EXP >= 16384]: Add tests for it.
15836 2013-08-12 David S. Miller <davem@davemloft.net>
15838 * version.h (RELEASE): Set to "development".
15839 (VERSION): Set to "2.18.90".
15840 * NEWS: Add 2.19 section.
15842 2013-08-03 David S. Miller <davem@davemloft.net>
15844 * po/ko.po: Update Korean translation from translation project.
15846 2013-08-01 David S. Miller <davem@davemloft.net>
15848 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15849 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15852 2013-07-30 David S. Miller <davem@davemloft.net>
15854 * po/fr.po: Update French translation from translation project.
15856 2013-07-28 David S. Miller <davem@davemloft.net>
15858 * po/cs.po: Update Czech translation from translation project.
15860 * po/sv.po: Update Swedish translation from translation project.
15862 2013-07-27 David S. Miller <davem@davemloft.net>
15864 * po/eo.po: Update Esperanto translation from translation project.
15866 * po/vi.po: Update Vietnamese translation from translation project.
15868 * po/de.po: Update German translation from translation project.
15870 2013-07-26 David S. Miller <davem@davemloft.net>
15872 * po/bg.po: Update Bulgarian translation from translation project.
15874 * po/nl.po: Update Dutch translation from translation project.
15875 * po/pl.po: Update Polish translation from translation project.
15876 * po/ru.po: Update Russian translation from translation project.
15878 2013-07-24 David S. Miller <davem@davemloft.net>
15880 * po/libc.pot: Update.
15882 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15884 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15885 variable page size.
15886 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15887 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15888 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15890 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15892 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15894 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15895 Andreas Schwab <schwab@suse.de>
15896 Roland McGrath <roland@hack.frob.com>
15897 Joseph Myers <joseph@codesourcery.com>
15898 Carlos O'Donell <carlos@redhat.com>
15901 * config.h.in: Define HAVE_PT_CHOWN.
15902 * config.make.in (build-pt-chown): New variable.
15903 * configure.in (--enable-pt_chown): New configure option.
15904 * configure: Regenerate.
15905 * login/Makefile: Include Makeconfig. Build pt_chown only if
15906 build-pt-chown is enabled.
15907 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15908 pt_chown to fix pty ownership.
15909 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15911 * manual/install.texi (Configuring and compiling): Mention
15912 --enable-pt_chown. Add @findex for grantpt.
15913 * INSTALL: Regenerate.
15915 2013-07-20 David S. Miller <davem@davemloft.net>
15917 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15918 difference between 32-bit and 64-bit.
15920 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15923 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15924 Avoid system header dependency with -ffreestanding.
15925 ($(objpfx)bits/syscall%d): Likewise.
15927 2013-07-13 David S. Miller <davem@davemloft.net>
15929 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15930 underflows from atanl/atan2l due to bug 15319.
15931 (casinh_test_data): Likewise.
15933 2013-07-07 David S. Miller <davem@davemloft.net>
15935 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15937 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15939 * sysdeps/i386/fpu/libm-test-ulps: Update.
15940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15942 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15944 * configure.in (--enable-lock-elision): Fix message text.
15945 * INSTALL: Regenerate.
15946 * configure: Regenerate.
15948 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15952 2013-07-03 Andreas Jaeger <aj@suse.de>
15954 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15956 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15957 (ptrace_peeksiginfo_args): Add.
15958 (__ptrace_peeksiginfo_flags): Add.
15959 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15960 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15961 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15963 2013-07-03 Allan McRae <allan@archlinux.org>
15965 * sysdeps/i386/fpu/libm-test-ulps: Update.
15967 2013-07-02 David S. Miller <davem@davemloft.net>
15969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15971 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15975 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15977 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15980 2013-07-02 Andi Kleen <ak@linux.intel.com>
15982 * config.h.in (ENABLE_LOCK_ELISION): Add.
15983 * configure.in (--enable-lock-elision): Add option.
15984 * manual/install.texi: Document --enable lock elision.
15985 * configure: Regenerate
15986 * INSTALL: Regenerate.
15988 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15990 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15991 SSE4.2 strcasecmp for libc.a.
15992 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15994 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15997 * soft-fp/op-common.h (_FP_FMA): New macro.
15998 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15999 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16000 (_FP_MUL_MEAT_1_imm): ... here.
16001 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16002 (_FP_MUL_MEAT_1_wide): ... here.
16003 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16004 (_FP_MUL_MEAT_1_hard): ... here.
16005 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16006 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16007 (_FP_MUL_MEAT_2_wide): ... here.
16008 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16009 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16010 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16011 (_FP_MUL_MEAT_2_gmp): ... here.
16012 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16013 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16014 (_FP_MUL_MEAT_4_wide): ... here.
16015 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16016 (_FP_MUL_MEAT_4_gmp): ... here.
16017 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16018 (_FP_WFRACBITS_DW_S): Likewise.
16019 (_FP_WFRACXBITS_DW_S): Likewise.
16020 (_FP_HIGHBIT_DW_S): Likewise.
16021 (FP_FMA_S): Likewise.
16022 (_FP_FRAC_HIGH_DW_S): Likewise.
16023 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16024 (_FP_WFRACBITS_DW_D): Likewise.
16025 (_FP_WFRACXBITS_DW_D): Likewise.
16026 (_FP_HIGHBIT_DW_D): Likewise.
16027 (FP_FMA_D): Likewise.
16028 (_FP_FRAC_HIGH_DW_D): Likewise.
16029 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16030 (_FP_WFRACBITS_DW_E): Likewise.
16031 (_FP_WFRACXBITS_DW_E): Likewise.
16032 (_FP_HIGHBIT_DW_E): Likewise.
16033 (FP_FMA_E): Likewise.
16034 (_FP_FRAC_HIGH_DW_E): Likewise.
16035 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16036 (_FP_WFRACBITS_DW_Q): Likewise.
16037 (_FP_WFRACXBITS_DW_Q): Likewise.
16038 (_FP_HIGHBIT_DW_Q): Likewise.
16039 (FP_FMA_Q): Likewise.
16040 (_FP_FRAC_HIGH_DW_Q): Likewise.
16041 * soft-fp/fmasf4.c: New file.
16042 * soft-fp/fmadf4.c: Likewise.
16043 * soft-fp/fmatf4.c: Likewise.
16045 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16048 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16050 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16052 (index_Slow_SSE4_2): Likewise.
16053 (index_Prefer_PMINUB_for_stringop): Likewise.
16054 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16055 bit_Slow_SSE4_2 is set.
16056 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16057 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16059 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16061 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16062 rtld_global._dl_hwcap2.
16063 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16065 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16066 POWER8 feature descriptions defined in _dl_hwcap2.
16067 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16068 string handling for POWER8 feature bits.
16069 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16070 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16071 _dl_powerpc_cap_flags.
16072 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16073 * sysdeps/powerpc/rtld-global-offsets.sym
16074 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16075 _dl_hwcap2 in the rtld_global_ro structure.
16077 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16079 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16080 hardware capabilities in support of AT_HWCAP2.
16081 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16082 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16084 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16085 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16086 explicitly the unknown a_type display mechanism is used.
16087 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16088 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16090 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16091 to macro prototype for AT_HWCAP2 support.
16092 * sysdeps/i386/dl-procinfo.h: Likewise.
16093 * sysdeps/s390/dl-procinfo.h: Likewise.
16094 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16095 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16096 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16097 return -1 for unknown a_type display fallback.
16098 * sysdeps/sparc/dl-procinfo.h: Likewise.
16099 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16100 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16102 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16104 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16105 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16107 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16110 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16111 mprotect making __stack_prot writable.
16113 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16114 Joseph Myers <joseph@codesourcery.com>
16116 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16117 as being properly aligned.
16119 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16121 * dlfcn/modstatic5.c: New file.
16122 * dlfcn/tststatic5.c: New file.
16123 * dlfcn/Makefile (tests): Add tststatic5.
16124 (tests-static): Likewise.
16125 (modules-names): Add modstatic5.
16126 (tststatic5-ENV): New variable.
16127 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16130 * elf/dl-support.c (_dl_main_map): New variable.
16131 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16132 (_dl_nns, _dl_load_adds): Set to 1.
16133 (_dl_initial_searchlist): Refer to _dl_main_map.
16134 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16135 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16136 call to _dl_get_origin.
16137 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16139 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16140 * dlfcn/modstatic3.c: New file.
16141 * dlfcn/tststatic3.c: New file.
16142 * dlfcn/tststatic4.c: New file.
16143 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16144 (tests-static): Likewise.
16145 (modules-names): Add modstatic3.
16146 (tststatic3-ENV, tststatic4-ENV): New variables.
16147 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16148 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16150 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16152 * configure.in (CC): Require GCC version 4.4 or later.
16153 * configure: Regenerated.
16154 * manual/install.texi (Tools for Compilation): Update GCC version
16156 * INSTALL: Regenerated.
16158 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16161 * string/test-memcmp.c (check2): New.
16162 (main): Call check2.
16164 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16166 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16169 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16171 (dl_open_worker) [!SHARED]: ... here.
16173 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16175 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16177 2013-06-25 Richard Henderson <rth@redhat.com>
16179 * locale/programs/locarchive.c: Include <libc-internal.h>
16181 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16183 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16184 trailing whitespace removed.
16186 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16189 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16190 * locale/programs/locarchive.c: Include libc-mmap.h.
16191 (prepare_address_space): Take two new outputs (the mmap base and len).
16192 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16194 (create_archive): Declare new mmap base and len values for
16195 prepare_address_space, and store the result in ah.
16196 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16197 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16198 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16199 Declare new mmap base and len values for
16200 prepare_address_space, and store the result in new_ah.
16201 (open_archive): Declare new mmap base and len values for
16202 prepare_address_space, and store the result in ah.
16203 (close_archive): If ah->mmap_base is not NULL, use that and
16204 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16205 * sysdeps/generic/libc-mmap.h: New file.
16207 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16209 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16210 (ALIGN_UP): Likewise.
16211 (PTR_ALIGN_DOWN): Likewise.
16212 (PTR_ALIGN_UP): Likewise.
16214 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16216 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16217 entry mapped to PPC_PLATFORM_POWER8.
16218 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16220 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16221 (_dl_string_platform): Add case for exporting platform position for
16223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16224 search path to sysdeps/powerpc/powerpc32/power8 directory.
16225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16226 search path to sysdeps/powerpc/powerpc64/power8 directory.
16227 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16228 power7 directories.
16229 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16230 power7 directories.
16232 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16234 * INSTALL: Regenerate.
16236 * nscd/connections.c (nscd_init): Fix comment.
16238 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16240 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16243 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16244 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16246 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16248 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16250 (DL_DST_REQ_STATIC): Remove macro.
16252 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16255 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16256 with a shift of 0 bits.
16258 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16260 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16263 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16266 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16268 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16270 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16271 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16272 accepts -fno-tree-loop-distribute-patterns.
16273 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16274 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16276 * string/memset.c (memset): Likewise.
16277 * string/test-memmove.c (simple_memmove): Disable loop transformation
16279 * string/test-memset.c (simple_memset): Likewise.
16280 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16281 * benchtests/bench-memset.c (simple_memset): Likewise.
16282 * configure: Regenerated.
16284 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16286 * math/test-misc.c (main): Ignore fesetround failure when failures
16287 of subsequent rounding tests would be ignored.
16290 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16291 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16292 * math/fegetenv.c (__fegetenv): Return 0.
16293 * math/fegetexcept.c (fegetexcept): Return 0.
16294 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16296 * math/feholdexcpt.c (feholdexcept): Return 0.
16297 * math/fesetenv.c (__fesetenv): Return 0.
16298 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16299 argument FE_TONEAREST.
16300 * math/feupdateenv.c (__feupdateenv): Return 0.
16301 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16303 2013-06-18 Roland McGrath <roland@hack.frob.com>
16305 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16306 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16307 ($(objpfx)rtld-%.os rules): Use them.
16309 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16311 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16314 2013-06-17 Roland McGrath <roland@hack.frob.com>
16316 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16317 length of target pattern, then descending length of dependency pattern.
16318 * configure.in (AWK): Require gawk 3.1.2 or newer.
16319 * manual/install.texi (Tools for Compilation): Say that we do.
16320 * configure: Regenerated.
16322 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16323 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16324 * scripts/sysd-rules.awk: ... this new script.
16325 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16326 than a glob-style pattern.
16328 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16330 * math/test-misc.c (main): Do not treat incorrectly rounded
16331 conversions as failure unless ROUNDING_TESTS passes.
16333 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16336 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16337 restore exception state around main square root computation, then
16338 check for inexactness explicitly.
16340 * math/libm-test.inc (fma_test_data): Add another test.
16342 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16344 * manual/threads.texi (Non-POSIX Extensions): New document
16345 node. Document pthread_getattr_default_np and
16346 pthread_setattr_default_np.
16348 * Versions.def (libpthread): Add GLIBC_2.18.
16349 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16358 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16369 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16372 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16374 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16375 H.J. Lu <hjl.tools@gmail.com>
16378 * sysdeps/x86_64/rtld-memset.c: Remove file.
16379 * sysdeps/x86_64/rtld-memset.S: New file.
16381 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16383 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16384 (test_in_one_mode): Take arguments for whether the rounding mode
16385 is supported for each floating-point type.
16386 (do_test): Pass new arguments to test_in_one_mode using
16389 2013-06-13 Roland McGrath <roland@hack.frob.com>
16391 * posix/tst-waitid.c (do_test): Distinguish different instances of
16392 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16393 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16394 before entering the kernel for waitpid.
16396 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16398 * NEWS: Fix note on clock function precision. Text by Roland
16401 2013-06-13 Roland McGrath <roland@hack.frob.com>
16403 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16404 it into place only when and if the sanity check passes.
16406 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16408 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16409 output for whether conversion result is exact. Take argument
16410 indicating whether type is IBM long double.
16411 (round_for_all): Change need_exact field to ibm_ld.
16412 * stdlib/tst-strtod-round.c (struct exactness): New type.
16413 (struct test): Change bool ld_ok field to struct exactness exact.
16414 (TEST): Update all definitions for change to field.
16415 (tests): Regenerate array contents.
16416 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16417 field value. Check for IBM long double here.
16418 (do_test): Update calls to test_in_one_mode.
16420 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16423 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16424 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16426 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16429 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16430 generated by the compiler on loop optimizations.
16431 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16432 general definitions.
16434 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16436 * math/bug-nextafter.c: Include <math-tests.h>.
16437 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16439 * math/bug-nexttoward.c: Include <math-tests.h>.
16440 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16442 * math/test-misc.c: Include <math-tests.h>.
16443 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16446 2013-06-12 Andreas Jaeger <aj@suse.de>
16448 * po/ia.po: Update Interlingua translation from translation
16451 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16453 * include/fenv.h: Include stdbool.h.
16454 (struct rm_ctx): New structure.
16455 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16457 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16458 (SET_RESTORE_ROUNDF): Likewise.
16459 (SET_RESTORE_ROUNDL): Likewise.
16460 (SET_RESTORE_ROUND_NOEX): Likewise.
16461 (SET_RESTORE_ROUND_NOEXF): Likewise.
16462 (SET_RESTORE_ROUND_NOEXL): Likewise.
16463 (SET_RESTORE_ROUND_53BIT): Likewise.
16464 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16465 (libc_feresetround_noexf_ctx): Likewise.
16466 (libc_feresetround_noexl_ctx): Likewise.
16467 (libc_feholdsetround_53bit_ctx): Likewise.
16468 (libc_feresetround_53bit_ctx): Likewise.
16469 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16470 (libc_feholdexcept_setround_sse_ctx): New function.
16471 (libc_fesetenv_sse_ctx): Likewise.
16472 (libc_feupdateenv_sse_ctx): Likewise.
16473 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16474 (libc_feholdexcept_setround_387_ctx): Likewise.
16475 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16476 (libc_feholdsetround_387_prec_ctx): Likewise.
16477 (libc_feholdsetround_387_ctx): Likewise.
16478 (libc_feholdsetround_387_53bit_ctx): Likewise.
16479 (libc_feholdsetround_sse_ctx): Likewise.
16480 (libc_feresetround_sse_ctx): Likewise.
16481 (libc_feresetround_387_ctx): Likewise.
16482 (libc_feupdateenv_387_ctx): Likewise.
16483 (libc_feholdexcept_setroundf_ctx): Define macro.
16484 (libc_fesetenvf_ctx): Likewise.
16485 (libc_feupdateenvf_ctx): Likewise.
16486 (libc_feholdsetroundf_ctx): Likewise.
16487 (libc_feresetroundf_ctx): Likewise.
16488 (libc_feholdexcept_setround_ctx): Likewise.
16489 (libc_fesetenv_ctx): Likewise.
16490 (libc_feupdateenv_ctx): Likewise.
16491 (libc_feholdsetround_ctx): Likewise.
16492 (libc_feresetround_ctx): Likewise.
16493 (libc_feholdexcept_setroundl_ctx): Likewise.
16494 (libc_feupdateenvl_ctx): Likewise.
16495 (libc_feholdsetroundl_ctx): Likewise.
16496 (libc_feresetroundl_ctx): Likewise.
16497 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16498 (libc_feresetround_53bit_ctx): Likewise.
16500 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16502 * locale/iso-639.def: Convert to UTF-8.
16504 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16506 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16507 (EXCEPTION_TESTS_double): Likewise.
16508 (EXCEPTION_TESTS_long_double): Likewise.
16509 (EXCEPTION_TESTS): Likewise.
16510 * math/libm-test.inc (test_exceptions): Only test exceptions if
16511 EXCEPTION_TESTS (FLOAT).
16513 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16515 * benchtests/Makefile (string-bench): Add strcpy_chk and
16517 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16518 * benchtests/bench-stpcpy_chk.c: New file.
16519 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16520 * benchtests/bench-strcpy_chk.c: New file.
16521 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16523 (do_test): Likewise.
16525 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16527 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16528 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16529 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16530 with tabs where appropriate.
16531 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16533 [PPC_PLATFORM_PPC440]: Likewise.
16534 [PPC_PLATFORM_PPC464]: Likewise.
16535 [PPC_PLATFORM_PPC476]: Likewise.
16536 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16537 ppc464, and ppc476 platform strings merging from ports/
16540 2013-06-11 Andreas Schwab <schwab@suse.de>
16543 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16544 (from_ucs4_idx): Regenerate.
16545 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16546 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16547 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16548 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16549 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16550 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16551 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16552 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16553 from FROM_LOOP and TO_LOOP specific macros.
16554 (BODY): Handle combining characters.
16555 * iconvdata/BIG5HKSCS.irreversible: Update.
16556 * iconvdata/BIG5HKSCS.precomposed: New file.
16557 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16559 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16561 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16563 * include/sys/time.h: Fix indentation and add copyright header.
16565 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16566 (do_test): Likewise.
16567 * string/test-memchr.c (do_one_test): Likewise.
16568 (do_test): Likewise.
16569 * string/test-memcmp.c (do_one_test): Likewise.
16570 (do_test): Likewise.
16571 * string/test-memcpy.c (do_one_test): Likewise.
16572 (do_test): Likewise.
16573 * string/test-memmem.c (do_one_test): Likewise.
16574 (do_test): Likewise.
16575 (do_random_tests): Likewise.
16576 * string/test-memmove.c (do_one_test): Likewise.
16577 (do_test): Likewise.
16578 * string/test-memset.c (do_one_test): Likewise.
16579 (do_test): Likewise.
16580 * string/test-rawmemchr.c (do_one_test): Likewise.
16581 (do_test): Likewise.
16582 * string/test-strcasecmp.c (do_one_test): Likewise.
16583 (do_test): Likewise.
16584 * string/test-strcasestr.c (do_one_test): Likewise.
16585 (do_test): Likewise.
16586 * string/test-strcat.c (do_one_test): Likewise.
16587 (do_test): Likewise.
16588 * string/test-strchr.c (do_one_test): Likewise.
16589 (do_test): Likewise.
16590 * string/test-strcmp.c (do_one_test): Likewise.
16591 (do_test): Likewise.
16592 * string/test-strcpy.c (do_one_test): Likewise.
16593 (do_test): Likewise.
16594 * string/test-string.h: Likewise.
16595 (test_init): Likewise.
16596 * string/test-strlen.c (do_one_test): Likewise.
16597 (do_test): Likewise.
16598 * string/test-strncasecmp.c (do_one_test): Likewise.
16599 (do_test): Likewise.
16600 * string/test-strncat.c (do_one_test): Likewise.
16601 (do_test): Likewise.
16602 * string/test-strncmp.c (do_one_test): Likewise.
16603 (do_test_limit): Likewise.
16604 (do_test): Likewise.
16605 * string/test-strncpy.c (do_one_test): Likewise.
16606 (do_test): Likewise.
16607 * string/test-strnlen.c (do_one_test): Likewise.
16608 (do_test): Likewise.
16609 * string/test-strpbrk.c (do_one_test): Likewise.
16610 (do_test): Likewise.
16611 * string/test-strrchr.c (do_one_test): Likewise.
16612 (do_test): Likewise.
16613 * string/test-strspn.c (do_one_test): Likewise.
16614 (do_test): Likewise.
16615 * string/test-strstr.c (do_one_test): Likewise.
16616 (do_test): Likewise.
16618 * benchtests/Makefile (string-bench): Add string benchmarks.
16619 * benchtests/bench-bcopy-ifunc.c: New file.
16620 * benchtests/bench-bcopy.c: New file.
16621 * benchtests/bench-bzero-ifunc.c: New file.
16622 * benchtests/bench-bzero.c: New file.
16623 * benchtests/bench-memccpy-ifunc.c: New file.
16624 * benchtests/bench-memccpy.c: New file.
16625 * benchtests/bench-memchr-ifunc.c: New file.
16626 * benchtests/bench-memchr.c: New file.
16627 * benchtests/bench-memcmp-ifunc.c: New file.
16628 * benchtests/bench-memcmp.c: New file.
16629 * benchtests/bench-memmem-ifunc.c: New file.
16630 * benchtests/bench-memmem.c: New file.
16631 * benchtests/bench-memmove-ifunc.c: New file.
16632 * benchtests/bench-memmove.c: New file.
16633 * benchtests/bench-mempcpy-ifunc.c: New file.
16634 * benchtests/bench-mempcpy.c: New file.
16635 * benchtests/bench-memset-ifunc.c: New file.
16636 * benchtests/bench-memset.c: New file.
16637 * benchtests/bench-rawmemchr-ifunc.c: New file.
16638 * benchtests/bench-rawmemchr.c: New file.
16639 * benchtests/bench-stpcpy-ifunc.c: New file.
16640 * benchtests/bench-stpcpy.c: New file.
16641 * benchtests/bench-stpncpy-ifunc.c: New file.
16642 * benchtests/bench-stpncpy.c: New file.
16643 * benchtests/bench-strcasecmp-ifunc.c: New file.
16644 * benchtests/bench-strcasecmp.c: New file.
16645 * benchtests/bench-strcasestr-ifunc.c: New file.
16646 * benchtests/bench-strcasestr.c: New file.
16647 * benchtests/bench-strcat-ifunc.c: New file.
16648 * benchtests/bench-strcat.c: New file.
16649 * benchtests/bench-strchr-ifunc.c: New file.
16650 * benchtests/bench-strchr.c: New file.
16651 * benchtests/bench-strchrnul-ifunc.c: New file.
16652 * benchtests/bench-strchrnul.c: New file.
16653 * benchtests/bench-strcmp-ifunc.c: New file.
16654 * benchtests/bench-strcmp.c: New file.
16655 * benchtests/bench-strcpy-ifunc.c: New file.
16656 * benchtests/bench-strcpy.c: New file.
16657 * benchtests/bench-strcspn-ifunc.c: New file.
16658 * benchtests/bench-strcspn.c: New file.
16659 * benchtests/bench-strlen-ifunc.c: New file.
16660 * benchtests/bench-strlen.c: New file.
16661 * benchtests/bench-strncasecmp-ifunc.c: New file.
16662 * benchtests/bench-strncasecmp.c: New file.
16663 * benchtests/bench-strncat-ifunc.c: New file.
16664 * benchtests/bench-strncat.c: New file.
16665 * benchtests/bench-strncmp-ifunc.c: New file.
16666 * benchtests/bench-strncmp.c: New file.
16667 * benchtests/bench-strncpy-ifunc.c: New file.
16668 * benchtests/bench-strncpy.c: New file.
16669 * benchtests/bench-strnlen-ifunc.c: New file.
16670 * benchtests/bench-strnlen.c: New file.
16671 * benchtests/bench-strpbrk-ifunc.c: New file.
16672 * benchtests/bench-strpbrk.c: New file.
16673 * benchtests/bench-strrchr-ifunc.c: New file.
16674 * benchtests/bench-strrchr.c: New file.
16675 * benchtests/bench-strspn-ifunc.c: New file.
16676 * benchtests/bench-strspn.c: New file.
16677 * benchtests/bench-strstr-ifunc.c: New file.
16678 * benchtests/bench-strstr.c: New file.
16680 * benchtests/Makefile: Disable parallel execution of targets.
16681 (string-bench): Add memcpy.
16682 (benchset): New variable to store a list of benchmark sets.
16683 (bench-func): Renamed from bench.
16684 (bench-set): New target.
16685 (bench): Depend on bench-func and bench-set.
16686 * benchtests/README: Add section on benchmark sets.
16687 * benchtests/bench-memcpy-ifunc.c: New file.
16688 * benchtests/bench-memcpy.c: New file.
16689 * benchtests/bench-string.h: New file.
16691 2013-06-11 Andreas Schwab <schwab@suse.de>
16694 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16695 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16696 values in the triple.
16697 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16698 terminator in the group key.
16700 2013-06-11 Andreas Jaeger <aj@suse.de>
16702 * po/zh_TW.po: Update Chinese (traditional) translation from
16703 translation project.
16705 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16707 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16708 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16709 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16710 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16711 (clock_getcpuclockid): Likewise.
16712 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16713 Add weak_alias and libc_hidden_def.
16714 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16715 * rt/clock_gettime.c (clock_gettime): Rename to
16716 __clock_gettime. Add weak_alias and libc_hidden_def.
16717 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16718 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16719 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16720 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16721 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16723 * rt/clock_settime.c (clock_settime): Rename to
16724 __clock_settime. Add weak_alias and libc_hidden_def.
16725 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16727 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16729 * mach/err_boot.sub: Remove trailing whitespace.
16730 * mach/err_ipc.sub: Likewise.
16731 * mach/err_mach.sub: Likewise.
16733 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16734 (ROUNDING_TESTS_double): Likewise.
16735 (ROUNDING_TESTS_long_double): Likewise.
16736 (ROUNDING_TESTS): Likewise.
16737 * math/libm-test.inc: Include <math-tests.h>.
16738 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16739 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16740 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16741 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16743 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16745 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16748 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16750 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16751 otherwise empty TRANS lines.
16752 * sysdeps/gnu/errlist.c: Regenerated.
16754 * catgets/gencat.c (error_print): Use (void) in function
16756 * crypt/crypt_util.c (__init_des): Likewise.
16757 * crypt/speeds.c (Stop): Likewise.
16759 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16760 * inet/ruserpass.c (token): Likewise.
16761 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16762 * intl/localealias.c (extend_alias_table): Likewise.
16763 * intl/plural-exp.c (init_germanic_plural): Likewise.
16764 * libio/fcloseall.c (__fcloseall): Likewise.
16765 * libio/genops.c (_IO_flush_all): Likewise.
16766 (_IO_flush_all_linebuffered): Likewise.
16767 (_IO_cleanup): Likewise.
16768 (_IO_iter_begin): Likewise.
16769 (_IO_iter_end): Likewise.
16770 (_IO_list_lock): Likewise.
16771 (_IO_list_unlock): Likewise.
16772 (_IO_list_resetlock): Likewise.
16773 * libio/getchar.c (getchar): Likewise.
16774 * libio/getchar_u.c (getchar_unlocked): Likewise.
16775 * libio/getwchar.c (getwchar): Likewise.
16776 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16777 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16778 * login/getpt.c (__getpt): Likewise.
16779 * login/tst-utmp.c (main): Likewise.
16780 * malloc/hooks.c (__malloc_check_init): Likewise.
16781 * malloc/malloc.c (__malloc_stats): Likewise.
16782 * malloc/mtrace.c (tr_break): Likewise.
16783 (mtrace): Likewise.
16784 (muntrace): Likewise.
16785 * misc/fstab.c (endfsent): Likewise.
16786 * misc/getclktck.c (__getclktck): Likewise.
16787 * misc/getdtsz.c (__getdtablesize): Likewise.
16788 * misc/gethostid.c (gethostid): Likewise.
16789 * misc/getpagesize.c (__getpagesize): Likewise.
16790 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16791 (__get_nprocs): Likewise.
16792 (__get_phys_pages): Likewise.
16793 (__get_avphys_pages): Likewise.
16794 * misc/getttyent.c (getttyent): Likewise.
16795 (setttyent): Likewise.
16796 (endttyent): Likewise.
16797 * misc/getusershell.c (getusershell): Likewise.
16798 (endusershell): Likewise.
16799 (setusershell): Likewise.
16800 (initshells): Likewise.
16801 * misc/hsearch.c (__hdestroy): Likewise.
16802 * misc/sync.c (sync): Likewise.
16803 * misc/syslog.c (closelog_internal): Likewise.
16804 (closelog): Likewise.
16805 * misc/ttyslot.c (ttyslot): Likewise.
16806 * misc/vhangup.c (vhangup): Likewise.
16807 * posix/fork.c (__fork): Likewise.
16808 * posix/getegid.c (__getegid): Likewise.
16809 * posix/geteuid.c (__geteuid): Likewise.
16810 * posix/getgid.c (__getgid): Likewise.
16811 * posix/getpid.c (__getpid): Likewise.
16812 * posix/getppid.c (__getppid): Likewise.
16813 * posix/getuid.c (__getuid): Likewise.
16814 * posix/pause.c (pause): Likewise.
16815 * posix/setpgrp.c (setpgrp): Likewise.
16816 * posix/setsid.c (__setsid): Likewise.
16817 * posix/test-vfork.c (noop): Likewise.
16818 * resolv/gethnamaddr.c (_endhtent): Likewise.
16819 (_gethtent): Likewise.
16820 (ht_endhostent): Likewise.
16821 (gethostent): Likewise.
16822 (dns_service): Likewise.
16823 * stdlib/drand48.c (drand48): Likewise.
16824 * stdlib/lrand48.c (lrand48): Likewise.
16825 * stdlib/mrand48.c (mrand48): Likewise.
16826 * stdlib/rand.c (rand): Likewise.
16827 * stdlib/random.c (__random): Likewise.
16828 * stdlib/setenv.c (clearenv): Likewise.
16829 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16830 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16831 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16832 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16833 (__get_nprocs): Likewise.
16834 (__get_phys_pages): Likewise.
16835 (__get_avphys_pages): Likewise.
16836 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16837 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16838 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16839 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16840 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16841 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16842 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16843 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16844 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16845 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16846 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16847 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16848 * sysdeps/posix/clock.c (clock): Likewise.
16849 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16850 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16851 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16852 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16853 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16854 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16855 (__get_nprocs_conf): Likewise.
16856 (__get_phys_pages): Likewise.
16857 (__get_avphys_pages): Likewise.
16858 * time/clock.c (clock): Likewise.
16859 * time/tzset.c (__tzname_max): Likewise.
16861 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16863 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16864 (__bswap_32): Do not use "register".
16865 * crypt/crypt.c (_ufc_doit_r): Likewise.
16866 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16867 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16868 * gmon/gmon.c (__monstartup): Likewise.
16869 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16870 * hurd/hurdmalloc.c (more_memory): Likewise.
16871 (malloc): Likewise.
16873 (realloc): Likewise.
16874 (malloc_fork_prepare): Likewise.
16875 (malloc_fork_parent): Likewise.
16876 (malloc_fork_child): Likewise.
16877 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16878 (_svcauth_des): Likewise.
16879 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16880 * inet/inet_net.c (inet_network): Likewise.
16881 * inet/inet_netof.c (inet_netof): Likewise.
16882 * inet/rcmd.c (__validuser2_sa): Likewise.
16883 * io/fts.c (fts_open): Likewise.
16884 (fts_load): Likewise.
16885 (fts_close): Likewise.
16886 (fts_read): Likewise.
16887 (fts_children): Likewise.
16888 (fts_build): Likewise.
16889 (fts_stat): Likewise.
16890 (fts_sort): Likewise.
16891 (fts_alloc): Likewise.
16892 (fts_lfree): Likewise.
16893 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16894 (_IO_file_xsgetn): Likewise.
16895 (_IO_file_xsgetn_mmap): Likewise.
16896 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16897 (_IO_cookie_write): Likewise.
16898 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16899 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16900 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16901 * malloc/obstack.c (_obstack_begin): Likewise.
16902 (_obstack_begin_1): Likewise.
16903 (_obstack_newchunk): Likewise.
16904 (_obstack_allocated_p): Likewise.
16905 (obstack_free): Likewise.
16906 (_obstack_memory_used): Likewise.
16907 * misc/getttyent.c (getttynam): Likewise.
16908 (getttyent): Likewise.
16911 * misc/getusershell.c (initshells): Likewise.
16912 * misc/syslog.c (__vsyslog_chk): Likewise.
16913 * misc/ttyslot.c (ttyslot): Likewise.
16914 * nis/nis_hash.c (__nis_hash): Likewise.
16915 * posix/fnmatch_loop.c (FCT): Likewise.
16916 * posix/getconf.c (print_all): Likewise.
16918 * posix/getopt.c (exchange): Likewise.
16919 * posix/glob.c (globfree): Likewise.
16920 (prefix_array): Likewise.
16921 (__glob_pattern_type): Likewise.
16922 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16923 (NS_GET32): Likewise.
16924 (NS_PUT16): Likewise.
16925 (NS_PUT32): Likewise.
16926 * resolv/gethnamaddr.c (getanswer): Likewise.
16927 (gethostbyname2): Likewise.
16928 (gethostbyaddr): Likewise.
16929 (_gethtent): Likewise.
16930 (_gethtbyname2): Likewise.
16931 (_gethtbyaddr): Likewise.
16932 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16933 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16934 * resolv/res_init.c (__res_vinit): Likewise.
16935 (net_mask): Likewise.
16936 * resolv/res_mkquery.c (outchar): Likewise.
16938 * stdio-common/printf_fp.c (outchar): Likewise.
16940 * stdio-common/printf_fphex.c (outchar): Likewise.
16942 * stdio-common/printf_size.c (outchar): Likewise.
16944 * stdio-common/test_rdwr.c (main): Likewise.
16945 * stdio-common/tfformat.c (matches): Likewise.
16946 * stdio-common/vfprintf.c (outchar): Likewise.
16947 (printf_unknown): Likewise.
16948 (buffered_vfprintf): Likewise.
16949 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16950 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16951 (ReadFile): Likewise.
16952 * stdlib/qsort.c (SWAP): Likewise.
16953 (_quicksort): Likewise.
16954 * stdlib/setenv.c (__add_to_environ): Likewise.
16955 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16956 * stdlib/strtol_l.c (__strtol_l): Likewise.
16957 * stdlib/tst-strtod.c (main): Likewise.
16958 * stdlib/tst-strtol.c (main): Likewise.
16959 * stdlib/tst-strtoll.c (main): Likewise.
16960 * string/bits/string2.h (__strcmp_cc): Likewise.
16961 (__strcmp_cg): Likewise.
16962 (__strcspn_c1): Likewise.
16963 (__strcspn_c2): Likewise.
16964 (__strcspn_c3): Likewise.
16965 (__strspn_c1): Likewise.
16966 (__strspn_c2): Likewise.
16967 (__strspn_c3): Likewise.
16968 (__strsep_1c): Likewise.
16969 (__strsep_2c): Likewise.
16970 (__strsep_3c): Likewise.
16971 * string/memccpy.c (__memccpy): Likewise.
16972 * string/stpcpy.c (__stpcpy): Likewise.
16973 * string/strcmp.c (strcmp): Likewise.
16974 * string/strrchr.c (strrchr): Likewise.
16975 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16977 * sysdeps/mach/hurd/getcwd.c
16978 (_hurd_canonicalize_directory_name_internal): Likewise.
16979 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16980 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16981 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16982 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16983 Likewise, in both definitions.
16984 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16986 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16987 64] (__bswap_64): Likewise.
16988 * time/test_time.c (main): Likewise.
16989 * time/tzfile.c (__tzfile_read): Likewise.
16990 (__tzfile_compute): Likewise.
16991 * time/tzset.c (__tzset_parse_tz): Likewise.
16992 (tzset_internal): Likewise.
16993 (compute_change): Likewise.
16994 * wcsmbs/wcscat.c (__wcscat): Likewise.
16995 * wcsmbs/wcschr.c (wcschr): Likewise.
16996 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16997 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16998 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16999 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17000 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17001 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17002 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17003 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17004 * wcsmbs/wmemset.c (wmemset): Likewise.
17006 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17008 * scripts/config.guess: Update to version 2013-05-16.
17009 * scripts/config.sub: Update to version 2013-04-24.
17010 * scripts/install-sh: Update to version 2011-11-20.07.
17011 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17012 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17014 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17016 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17017 * elf/sln.c: Likewise.
17018 * hurd/hurd/ioctl.h: Likewise.
17019 * hurd/hurdmalloc.c: Likewise.
17020 * hurd/xattr.c: Likewise.
17021 * include/shlib-compat.h: Likewise.
17022 * inet/ruserpass.c: Likewise.
17023 * libio/iofgets_u.c: Likewise.
17024 * libio/iofgetws_u.c: Likewise.
17025 * locale/programs/ld-identification.c: Likewise.
17026 * locale/programs/ld-time.c: Likewise.
17027 * mach/msg-destroy.c: Likewise.
17028 * nss/nss_files/files-netgrp.c: Likewise.
17029 * resolv/res_data.c: Likewise.
17030 * soft-fp/op-1.h: Likewise.
17031 * soft-fp/op-2.h: Likewise.
17032 * soft-fp/op-4.h: Likewise.
17033 * soft-fp/op-common.h: Likewise.
17034 * stdio-common/printf_fphex.c: Likewise.
17035 * stdlib/strtod_l.c: Likewise.
17036 * sunrpc/rpc/clnt.h: Likewise.
17037 * sysdeps/generic/framestate.c: Likewise.
17038 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17039 * sysdeps/i386/bsd-setjmp.S: Likewise.
17040 * sysdeps/i386/__longjmp.S: Likewise.
17041 * sysdeps/i386/setjmp.S: Likewise.
17042 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17043 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17044 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17056 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17060 * sysdeps/ieee754/support.c: Likewise.
17061 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17062 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17063 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17064 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17065 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17066 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17067 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17068 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17069 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17070 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17071 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17072 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17073 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17074 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17075 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17076 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17077 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17080 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17082 * posix/transbug.c: Remove executable mode.
17084 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17086 * crypt/speeds.c: Remove trailing whitespace.
17087 * dlfcn/default.c: Likewise.
17088 * elf/ifuncdep2.c: Likewise.
17089 * elf/ifuncmain1.c: Likewise.
17090 * elf/ifuncmain1vis.c: Likewise.
17091 * elf/testobj.h: Likewise.
17092 * elf/tst-stackguard1.c: Likewise.
17093 * gmon/sys/gmon.h: Likewise.
17094 * hurd/hurdmsg.c: Likewise.
17095 * hurd/new-fd.c: Likewise.
17096 * hurd/ports-get.c: Likewise.
17097 * iconvdata/ibm1008_420.c: Likewise.
17098 * inet/tst-getni1.c: Likewise.
17099 * inet/tst-getni2.c: Likewise.
17100 * libio/ioungetc.c: Likewise.
17101 * libio/wfiledoalloc.c: Likewise.
17102 * manual/libm-err-tab.pl: Likewise.
17103 * math/w_dremf.c: Likewise.
17104 * misc/ftruncate.c: Likewise.
17105 * posix/bug-glob2.c: Likewise.
17106 * posix/tst-pcre.c: Likewise.
17107 * posix/wait4.c: Likewise.
17108 * resolv/README: Likewise.
17109 * resolv/res_debug.h: Likewise.
17110 * resolv/tst-inet_ntop.c: Likewise.
17111 * setjmp/bug269-setjmp.c: Likewise.
17112 * soft-fp/extended.h: Likewise.
17113 * soft-fp/op-1.h: Likewise.
17114 * soft-fp/op-2.h: Likewise.
17115 * soft-fp/op-4.h: Likewise.
17116 * soft-fp/op-8.h: Likewise.
17117 * soft-fp/testit.c: Likewise.
17118 * stdio-common/bug16.c: Likewise.
17119 * stdlib/random.c: Likewise.
17120 * sunrpc/rpcsvc/rquota.x: Likewise.
17121 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17122 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17123 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17124 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17125 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17126 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17127 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17128 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17129 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17130 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17131 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17132 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17133 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17134 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17136 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17137 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17138 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17139 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17140 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17141 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17142 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17143 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17144 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17145 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17146 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17147 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17148 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17149 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17150 * sysdeps/ieee754/s_lib_version.c: Likewise.
17151 * sysdeps/mach/hurd/check_fds.c: Likewise.
17152 * sysdeps/mach/hurd/getsockname.c: Likewise.
17153 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17154 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17155 * sysdeps/powerpc/bits/link.h: Likewise.
17156 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17157 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17158 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17159 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17160 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17161 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17162 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17163 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17164 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17165 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17166 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17167 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17168 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17169 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17170 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17171 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17172 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17173 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17174 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17175 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17176 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17177 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17178 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17179 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17180 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17181 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17182 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17183 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17184 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17185 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17186 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17187 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17188 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17189 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17190 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17191 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17192 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17193 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17194 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17195 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17196 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17197 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17198 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17199 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17200 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17201 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17202 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17203 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17204 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17205 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17206 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17207 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17208 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17209 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17210 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17211 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17212 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17213 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17214 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17215 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17216 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17217 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17218 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17219 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17220 * sysdeps/powerpc/sysdep.h: Likewise.
17221 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17222 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17223 * sysdeps/sh/dl-trampoline.S: Likewise.
17224 * sysdeps/sh/memset.S: Likewise.
17225 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17226 * sysdeps/sh/strlen.S: Likewise.
17227 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17228 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17229 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17230 * sysdeps/sparc/sparc32/rem.S: Likewise.
17231 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17232 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17233 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17234 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17235 * sysdeps/sparc/sparc32/urem.S: Likewise.
17236 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17237 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17238 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17239 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17240 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17241 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17242 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17243 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17244 * sysdeps/unix/bsd/times.c: Likewise.
17245 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17246 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17250 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17251 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17252 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17253 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17254 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17255 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17256 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17257 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17258 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17259 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17260 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17261 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17262 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17263 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17264 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17265 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17266 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17267 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17268 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17269 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17270 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17271 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17272 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17273 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17274 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17275 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17276 * sysdeps/x86_64/strcspn.S: Likewise.
17278 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17280 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17281 generated file. Regenerate properly from gen-translit.pl.
17282 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17283 locale/C-translit.h.
17285 2013-06-05 Andreas Schwab <schwab@suse.de>
17288 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17289 week as 6 instead of -1.
17290 * time/tst-strptime.c (day_tests): Add test case.
17292 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17294 * sysdeps/generic/math_private.h
17295 (libc_feholdexcept_setround_53bit): Replace with
17296 libc_feholdsetround_53bit.
17297 (libc_feupdateenv_53bit): Replace with
17298 libc_feresetround_53bit.
17299 (SET_RESTORE_ROUND_53BIT): Adjust.
17301 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17303 * string/test-strchrnul.c: Add copyright header.
17305 * posix/tst-getaddrinfo4.c: Increase test timeout.
17307 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17310 * math/libm-test.inc (MAX_EXP): Remove
17312 (ulp): Use MIN_EXP - MANT_DIG.
17313 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17315 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17317 * po/be.po: Revert last change.
17318 * po/zh_CN.po: Likewise.
17319 * po/header.pot: Likewise.
17321 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17323 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17324 link-libc-deps to empty as target-specific variable.
17325 * Makerules (link-libc-args): New variable.
17326 (libc-for-link): Likewise.
17327 (link-libc-deps): Likewise.
17328 (lib%.so): Depend on $(link-libc-deps). Link with
17330 (build-module): Link with $(link-libc-args).
17331 (build-module-asneeded): Likewise.
17332 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17334 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17335 target-specific variable.
17336 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17337 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17338 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17340 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17342 ($(objpfx)libpcprofile.so): Likewise.
17343 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17345 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17346 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17347 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17349 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17350 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17351 * login/Makefile ($(objpfx)libutil.so): Likewise.
17352 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17353 * math/Makefile ($(objpfx)libm.so): Likewise.
17354 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17355 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17356 variable instead of depending directly on libc.
17357 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17358 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17360 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17362 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17363 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17364 ($(objpfx)libanl.so): Likewise.
17365 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17367 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17369 * sysdeps/i386/fpu/Makefile: Remove file.
17370 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17371 ($(objpfx)libm.so): Remove dependency on ld.so.
17373 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17376 * nis/yp_xdr.c (XDRMAXNAME): Define.
17377 (XDRMAXRECORD): Define.
17378 (xdr_domainname): Use XDRMAXNAME.
17379 (xdr_mapname): Likewise.
17380 (xdr_peername): Likewise.
17381 (xdr_keydat): Use XDRMAXRECORD.
17382 (xdr_valdat): Likewise.
17384 2013-05-30 Jeff Law <law@redhat.com>
17387 * manual/errno.texi (ESTALE): Update to account for more than
17388 just NFS file systems.
17389 * sysdeps/gnu/errlist.c: Regenerated.
17391 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17394 * elf/Makefile (tests): Add tst-null-argv.
17395 (modules-names): Add tst-null-argv-lib.
17396 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17397 (tst-null-argv-ENV): Set environment for tst-null-argv.
17398 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17399 (RTLD_PROGNAME): New macro.
17400 * elf/tst-null-argv.c: New test case.
17401 * elf/tst-null-argv-lib.c: Library for test case.
17402 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17403 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17404 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17405 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17406 * elf/dl-init.c (call_init): Likewise.
17407 (_dl_init): Likewise.
17408 * elf/dl-load.c (print_search_path): Likewise.
17409 (_dl_map_object): Likewise.
17410 * elf/dl-lookup.c (do_lookup_x): Likewise.
17411 (add_dependency): Likewise.
17412 (_dl_lookup_symbol_x): Likewise.
17413 (_dl_debug_bindings): Likewise.
17414 * elf/dl-open.c (_dl_show_scope): Likewise.
17415 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17416 * elf/dl-version.c (match_symbol): Likewise.
17417 (_dl_check_map_versions): Likewise.
17418 * elf/rtld.c (dl_main): Likewise.
17419 (print_unresolved): Use RTLD_PROGNAME.
17420 (print_missing_version): Likewise.
17421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17422 (elf_machine_rela): Likewise.
17423 * sysdeps/powerpc/powerpc32/dl-machine.c
17424 (__process_machine_rela): Likewise.
17425 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17427 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17429 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17431 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17432 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17434 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17436 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17438 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17440 * po/be.po: Add descriptive title.
17441 * po/zh_CN.po: Likewise.
17442 * po/header.pot: Likewise.
17444 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17446 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17448 (enlarge_archive): Likewise.
17450 2013-05-28 Ben North <ben@redfrontdoor.org>
17452 * manual/arith.texi (frexp): It is the magnitude of the return
17453 value which lies in [0.5, 1), not the return value itself.
17455 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17459 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17461 * stdio-common/bug26.c (main): Correct fscanf template.
17463 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17464 declare _dl_skip_args.
17466 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17469 * manual/platform.texi: Add missing @end deftypefun.
17471 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17474 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17475 bit of mantissa of 2^16382.
17476 * math/libm-test.inc (hypot_test_data): Add more tests.
17478 * math/libm-test.inc: Add drem and pow10 to list of tested
17480 (pow10_test): New function.
17481 (drem_test): Likewise.
17482 (drem_test_tonearest): Likewise.
17483 (drem_test_towardzero): Likewise.
17484 (drem_test_downward): Likewise.
17485 (drem_test_upward): Likewise.
17486 (main): Call the new functions.
17488 * math/libm-test.inc (finite_test_data): Remove.
17489 (finite_test): Run tests from isfinite_test_data.
17490 (gamma_test_data): Remove.
17491 (gamma_test): Run tests from lgamma_test_data.
17492 * sysdeps/i386/fpu/libm-test-ulps: Update.
17493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17495 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17497 * manual/platform.texi: Add PowerPC PPR function set documentation.
17498 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17501 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17503 * math/libm-test.inc (MAX_EXP): Define.
17505 (ulp): New function.
17506 (check_float_internal): Use ULPDIFF.
17507 (cpow_test): Disable failing test.
17508 (check_ulp): Test ulp() implemetnation.
17509 (main): Call check_ulp before starting tests.
17511 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17513 * math/gen-libm-test.pl (generate_testfile): Do not handle
17514 START_DATA and END_DATA.
17515 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17517 (acos_tonearest_test_data): Likewise.
17518 (acos_towardzero_test_data): Likewise.
17519 (acos_downward_test_data): Likewise.
17520 (acos_upward_test_data): Likewise.
17521 (acosh_test_data): Likewise.
17522 (asin_test_data): Likewise.
17523 (asin_tonearest_test_data): Likewise.
17524 (asin_towardzero_test_data): Likewise.
17525 (asin_downward_test_data): Likewise.
17526 (asin_upward_test_data): Likewise.
17527 (asinh_test_data): Likewise.
17528 (atan_test_data): Likewise.
17529 (atanh_test_data): Likewise.
17530 (atan2_test_data): Likewise.
17531 (cabs_test_data): Likewise.
17532 (cacos_test_data): Likewise.
17533 (cacosh_test_data): Likewise.
17534 (carg_test_data): Likewise.
17535 (casin_test_data): Likewise.
17536 (casinh_test_data): Likewise.
17537 (catan_test_data): Likewise.
17538 (catanh_test_data): Likewise.
17539 (cbrt_test_data): Likewise.
17540 (ccos_test_data): Likewise.
17541 (ccosh_test_data): Likewise.
17542 (ceil_test_data): Likewise.
17543 (cexp_test_data): Likewise.
17544 (cimag_test_data): Likewise.
17545 (clog_test_data): Likewise.
17546 (clog10_test_data): Likewise.
17547 (conj_test_data): Likewise.
17548 (copysign_test_data): Likewise.
17549 (cos_test_data): Likewise.
17550 (cos_tonearest_test_data): Likewise.
17551 (cos_towardzero_test_data): Likewise.
17552 (cos_downward_test_data): Likewise.
17553 (cos_upward_test_data): Likewise.
17554 (cosh_test_data): Likewise.
17555 (cosh_tonearest_test_data): Likewise.
17556 (cosh_towardzero_test_data): Likewise.
17557 (cosh_downward_test_data): Likewise.
17558 (cosh_upward_test_data): Likewise.
17559 (cpow_test_data): Likewise.
17560 (cproj_test_data): Likewise.
17561 (creal_test_data): Likewise.
17562 (csin_test_data): Likewise.
17563 (csinh_test_data): Likewise.
17564 (csqrt_test_data): Likewise.
17565 (ctan_test_data): Likewise.
17566 (ctan_tonearest_test_data): Likewise.
17567 (ctan_towardzero_test_data): Likewise.
17568 (ctan_downward_test_data): Likewise.
17569 (ctan_upward_test_data): Likewise.
17570 (ctanh_test_data): Likewise.
17571 (ctanh_tonearest_test_data): Likewise.
17572 (ctanh_towardzero_test_data): Likewise.
17573 (ctanh_downward_test_data): Likewise.
17574 (ctanh_upward_test_data): Likewise.
17575 (erf_test_data): Likewise.
17576 (erfc_test_data): Likewise.
17577 (exp_test_data): Likewise.
17578 (exp_tonearest_test_data): Likewise.
17579 (exp_towardzero_test_data): Likewise.
17580 (exp_downward_test_data): Likewise.
17581 (exp_upward_test_data): Likewise.
17582 (exp10_test_data): Likewise.
17583 (exp2_test_data): Likewise.
17584 (expm1_test_data): Likewise.
17585 (fabs_test_data): Likewise.
17586 (fdim_test_data): Likewise.
17587 (finite_test_data): Likewise.
17588 (floor_test_data): Likewise.
17589 (fma_test_data): Likewise.
17590 (fma_towardzero_test_data): Likewise.
17591 (fma_downward_test_data): Likewise.
17592 (fma_upward_test_data): Likewise.
17593 (fmax_test_data): Likewise.
17594 (fmin_test_data): Likewise.
17595 (fmod_test_data): Likewise.
17596 (fpclassify_test_data): Likewise.
17597 (frexp_test_data): Likewise.
17598 (gamma_test_data): Likewise.
17599 (hypot_test_data): Likewise.
17600 (ilogb_test_data): Likewise.
17601 (isfinite_test_data): Likewise.
17602 (isgreater_test_data): Likewise.
17603 (isgreaterequal_test_data): Likewise.
17604 (isinf_test_data): Likewise.
17605 (isless_test_data): Likewise.
17606 (islessequal_test_data): Likewise.
17607 (islessgreater_test_data): Likewise.
17608 (isnan_test_data): Likewise.
17609 (isnormal_test_data): Likewise.
17610 (issignaling_test_data): Likewise.
17611 (isunordered_test_data): Likewise.
17612 (j0_test_data): Likewise.
17613 (j1_test_data): Likewise.
17614 (jn_test_data): Likewise.
17615 (ldexp_test_data): Likewise.
17616 (lgamma_test_data): Likewise.
17617 (lrint_test_data): Likewise.
17618 (lrint_tonearest_test_data): Likewise.
17619 (lrint_towardzero_test_data): Likewise.
17620 (lrint_downward_test_data): Likewise.
17621 (lrint_upward_test_data): Likewise.
17622 (llrint_test_data): Likewise.
17623 (llrint_tonearest_test_data): Likewise.
17624 (llrint_towardzero_test_data): Likewise.
17625 (llrint_downward_test_data): Likewise.
17626 (llrint_upward_test_data): Likewise.
17627 (log_test_data): Likewise.
17628 (log10_test_data): Likewise.
17629 (log1p_test_data): Likewise.
17630 (log2_test_data): Likewise.
17631 (logb_test_data): Likewise.
17632 (logb_downward_test_data): Likewise.
17633 (lround_test_data): Likewise.
17634 (llround_test_data): Likewise.
17635 (modf_test_data): Likewise.
17636 (nearbyint_test_data): Likewise.
17637 (nextafter_test_data): Likewise.
17638 (nexttoward_test_data): Likewise.
17639 (pow_test_data): Likewise.
17640 (pow_tonearest_test_data): Likewise.
17641 (pow_towardzero_test_data): Likewise.
17642 (pow_downward_test_data): Likewise.
17643 (pow_upward_test_data): Likewise.
17644 (remainder_test_data): Likewise.
17645 (remainder_tonearest_test_data): Likewise.
17646 (remainder_towardzero_test_data): Likewise.
17647 (remainder_downward_test_data): Likewise.
17648 (remainder_upward_test_data): Likewise.
17649 (remquo_test_data): Likewise.
17650 (rint_test_data): Likewise.
17651 (rint_tonearest_test_data): Likewise.
17652 (rint_towardzero_test_data): Likewise.
17653 (rint_downward_test_data): Likewise.
17654 (rint_upward_test_data): Likewise.
17655 (round_test_data): Likewise.
17656 (scalb_test_data): Likewise.
17657 (scalbn_test_data): Likewise.
17658 (scalbln_test_data): Likewise.
17659 (signbit_test_data): Likewise.
17660 (sin_test_data): Likewise.
17661 (sin_tonearest_test_data): Likewise.
17662 (sin_towardzero_test_data): Likewise.
17663 (sin_downward_test_data): Likewise.
17664 (sin_upward_test_data): Likewise.
17665 (sincos_test_data): Likewise.
17666 (sinh_test_data): Likewise.
17667 (sinh_tonearest_test_data): Likewise.
17668 (sinh_towardzero_test_data): Likewise.
17669 (sinh_downward_test_data): Likewise.
17670 (sinh_upward_test_data): Likewise.
17671 (sqrt_test_data): Likewise.
17672 (tan_test_data): Likewise.
17673 (tan_tonearest_test_data): Likewise.
17674 (tan_towardzero_test_data): Likewise.
17675 (tan_downward_test_data): Likewise.
17676 (tan_upward_test_data): Likewise.
17677 (tanh_test_data): Likewise.
17678 (tgamma_test_data): Likewise.
17679 (trunc_test_data): Likewise.
17680 (y0_test_data): Likewise.
17681 (y1_test_data): Likewise.
17682 (yn_test_data): Likewise.
17683 (significand_test_data): Likewise.
17685 * math/gen-libm-test.pl (@functions): Remove variable.
17686 (generate_testfile): Don't handle START and END lines.
17687 * math/libm-test.inc (START): New macro.
17689 (END_COMPLEX): Likewise.
17690 (acos_test): Use END macro without arguments.
17691 (acos_test_tonearest): Likewise.
17692 (acos_test_towardzero): Likewise.
17693 (acos_test_downward): Likewise.
17694 (acos_test_upward): Likewise.
17695 (acosh_test): Likewise.
17696 (asin_test): Likewise.
17697 (asin_test_tonearest): Likewise.
17698 (asin_test_towardzero): Likewise.
17699 (asin_test_downward): Likewise.
17700 (asin_test_upward): Likewise.
17701 (asinh_test): Likewise.
17702 (atan_test): Likewise.
17703 (atanh_test): Likewise.
17704 (atan2_test): Likewise.
17705 (cabs_test): Likewise.
17706 (cacos_test): Use END_COMPLEX macro without arguments.
17707 (cacosh_test): Likewise.
17708 (carg_test): Use END macro without arguments.
17709 (casin_test): Use END_COMPLEX macro without arguments.
17710 (casinh_test): Likewise.
17711 (catan_test): Likewise.
17712 (catanh_test): Likewise.
17713 (cbrt_test): Use END macro without arguments.
17714 (ccos_test): Use END_COMPLEX macro without arguments.
17715 (ccosh_test): Likewise.
17716 (ceil_test): Use END macro without arguments.
17717 (cexp_test): Use END_COMPLEX macro without arguments.
17718 (cimag_test): Use END macro without arguments.
17719 (clog_test): Use END_COMPLEX macro without arguments.
17720 (clog10_test): Likewise.
17721 (conj_test): Likewise.
17722 (copysign_test): Use END macro without arguments.
17723 (cos_test): Likewise.
17724 (cos_test_tonearest): Likewise.
17725 (cos_test_towardzero): Likewise.
17726 (cos_test_downward): Likewise.
17727 (cos_test_upward): Likewise.
17728 (cosh_test): Likewise.
17729 (cosh_test_tonearest): Likewise.
17730 (cosh_test_towardzero): Likewise.
17731 (cosh_test_downward): Likewise.
17732 (cosh_test_upward): Likewise.
17733 (cpow_test): Use END_COMPLEX macro without arguments.
17734 (cproj_test): Likewise.
17735 (creal_test): Use END macro without arguments.
17736 (csin_test): Use END_COMPLEX macro without arguments.
17737 (csinh_test): Likewise.
17738 (csqrt_test): Likewise.
17739 (ctan_test): Likewise.
17740 (ctan_test_tonearest): Likewise.
17741 (ctan_test_towardzero): Likewise.
17742 (ctan_test_downward): Likewise.
17743 (ctan_test_upward): Likewise.
17744 (ctanh_test): Likewise.
17745 (ctanh_test_tonearest): Likewise.
17746 (ctanh_test_towardzero): Likewise.
17747 (ctanh_test_downward): Likewise.
17748 (ctanh_test_upward): Likewise.
17749 (erf_test): Use END macro without arguments.
17750 (erfc_test): Likewise.
17751 (exp_test): Likewise.
17752 (exp_test_tonearest): Likewise.
17753 (exp_test_towardzero): Likewise.
17754 (exp_test_downward): Likewise.
17755 (exp_test_upward): Likewise.
17756 (exp10_test): Likewise.
17757 (exp2_test): Likewise.
17758 (expm1_test): Likewise.
17759 (fabs_test): Likewise.
17760 (fdim_test): Likewise.
17761 (finite_test): Likewise.
17762 (floor_test): Likewise.
17763 (fma_test): Likewise.
17764 (fma_test_towardzero): Likewise.
17765 (fma_test_downward): Likewise.
17766 (fma_test_upward): Likewise.
17767 (fmax_test): Likewise.
17768 (fmin_test): Likewise.
17769 (fmod_test): Likewise.
17770 (fpclassify_test): Likewise.
17771 (frexp_test): Likewise.
17772 (gamma_test): Likewise.
17773 (hypot_test): Likewise.
17774 (ilogb_test): Likewise.
17775 (isfinite_test): Likewise.
17776 (isgreater_test): Likewise.
17777 (isgreaterequal_test): Likewise.
17778 (isinf_test): Likewise.
17779 (isless_test): Likewise.
17780 (islessequal_test): Likewise.
17781 (islessgreater_test): Likewise.
17782 (isnan_test): Likewise.
17783 (isnormal_test): Likewise.
17784 (issignaling_test): Likewise.
17785 (isunordered_test): Likewise.
17786 (j0_test): Likewise.
17787 (j1_test): Likewise.
17788 (jn_test): Likewise.
17789 (ldexp_test): Likewise.
17790 (lgamma_test): Likewise.
17791 (lrint_test): Likewise.
17792 (lrint_test_tonearest): Likewise.
17793 (lrint_test_towardzero): Likewise.
17794 (lrint_test_downward): Likewise.
17795 (lrint_test_upward): Likewise.
17796 (llrint_test): Likewise.
17797 (llrint_test_tonearest): Likewise.
17798 (llrint_test_towardzero): Likewise.
17799 (llrint_test_downward): Likewise.
17800 (llrint_test_upward): Likewise.
17801 (log_test): Likewise.
17802 (log10_test): Likewise.
17803 (log1p_test): Likewise.
17804 (log2_test): Likewise.
17805 (logb_test): Likewise.
17806 (logb_test_downward): Likewise.
17807 (lround_test): Likewise.
17808 (llround_test): Likewise.
17809 (modf_test): Likewise.
17810 (nearbyint_test): Likewise.
17811 (nextafter_test): Likewise.
17812 (nexttoward_test): Likewise.
17813 (pow_test): Likewise.
17814 (pow_test_tonearest): Likewise.
17815 (pow_test_towardzero): Likewise.
17816 (pow_test_downward): Likewise.
17817 (pow_test_upward): Likewise.
17818 (remainder_test): Likewise.
17819 (remainder_test_tonearest): Likewise.
17820 (remainder_test_towardzero): Likewise.
17821 (remainder_test_downward): Likewise.
17822 (remainder_test_upward): Likewise.
17823 (remquo_test): Likewise.
17824 (rint_test): Likewise.
17825 (rint_test_tonearest): Likewise.
17826 (rint_test_towardzero): Likewise.
17827 (rint_test_downward): Likewise.
17828 (rint_test_upward): Likewise.
17829 (round_test): Likewise.
17830 (scalb_test): Likewise.
17831 (scalbn_test): Likewise.
17832 (scalbln_test): Likewise.
17833 (signbit_test): Likewise.
17834 (sin_test): Likewise.
17835 (sin_test_tonearest): Likewise.
17836 (sin_test_towardzero): Likewise.
17837 (sin_test_downward): Likewise.
17838 (sin_test_upward): Likewise.
17839 (sincos_test): Likewise.
17840 (sinh_test): Likewise.
17841 (sinh_test_tonearest): Likewise.
17842 (sinh_test_towardzero): Likewise.
17843 (sinh_test_downward): Likewise.
17844 (sinh_test_upward): Likewise.
17845 (sqrt_test): Likewise.
17846 (tan_test): Likewise.
17847 (tan_test_tonearest): Likewise.
17848 (tan_test_towardzero): Likewise.
17849 (tan_test_downward): Likewise.
17850 (tan_test_upward): Likewise.
17851 (tanh_test): Likewise.
17852 (tgamma_test): Likewise.
17853 (trunc_test): Likewise.
17854 (y0_test): Likewise.
17855 (y1_test): Likewise.
17856 (yn_test): Likewise.
17857 (significand_test): Likewise.
17859 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17862 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17864 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17867 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17868 __ppc_mdoio and __ppc_mdoom.
17869 * manual/platform.texi: Document new functions __ppc_yield,
17870 __ppc_mdoio and __ppc_mdoom.
17872 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17874 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17875 (main): Mention "tls" pseudo-hwcap is legacy.
17876 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17878 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17880 * math/gen-libm-test.pl (parse_args): Output only string of
17881 arguments as text for test name, not full call or descriptions of
17882 tests for extra outputs.
17883 (generate_testfile): Do not pass function name to parse_args.
17884 Generate this_func variable from START.
17885 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17887 (struct test_ff_f_data): Likewise.
17888 (test_ff_f_data_nexttoward): Likewise.
17889 (struct test_fi_f_data): Likewise.
17890 (struct test_fl_f_data): Likewise.
17891 (struct test_if_f_data): Likewise.
17892 (struct test_fff_f_data): Likewise.
17893 (struct test_c_f_data): Likewise.
17894 (struct test_f_f1_data): Likewise. Remove field extra_name.
17895 (struct test_fF_f1_data): Likewise.
17896 (struct test_ffI_f1_data): Likewise.
17897 (struct test_c_c_data): Rename test_name field to arg_str.
17898 (struct test_cc_c_data): Likewise.
17899 (struct test_f_i_data): Likewise.
17900 (struct test_ff_i_data): Likewise.
17901 (struct test_f_l_data): Likewise.
17902 (struct test_f_L_data): Likewise.
17903 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17905 (COMMON_TEST_SETUP): New macro.
17906 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17907 (COMMON_TEST_CLEANUP): Likewise.
17908 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17909 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17911 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17912 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17914 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17915 (RUN_TEST_fff_f): Take argument string. Call new setup and
17917 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17918 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17920 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17921 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17923 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17924 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17926 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17927 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17929 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17930 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17932 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17933 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17935 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17936 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17938 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17939 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17941 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17942 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17944 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17945 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17947 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17948 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17950 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17951 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17953 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17954 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17956 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17957 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17959 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17960 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17962 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17964 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17966 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17967 to _sifields.sigfault.
17968 (si_addr_lsb): Define new macro.
17969 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17970 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17971 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17973 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17976 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17978 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17980 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17981 loading the domain.
17983 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17985 * math/gen-libm-test.pl (parse_args): Do not include expected
17986 result in test name.
17987 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17988 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17989 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17990 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17991 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17994 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17996 * benchtests/Makefile: Sort function entries.
17998 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17999 tanh, asinh, acosh, atanh.
18000 * benchtests/acos-inputs: New file.
18001 * benchtests/acosh-inputs: New file.
18002 * benchtests/asin-inputs: New file.
18003 * benchtests/asinh-inputs: New file.
18004 * benchtests/atanh-inputs: New file.
18005 * benchtests/cosh-inputs: New file.
18006 * benchtests/log-inputs: New file.
18007 * benchtests/sinh-inputs: New file.
18008 * benchtests/tanh-inputs: New file.
18010 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18013 * posix/tst-getaddrinfo4.c: New test.
18014 * posix/Makefile (tests): Add it.
18016 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18019 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18020 when no services were used.
18021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18022 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18024 2013-05-21 Andreas Schwab <schwab@suse.de>
18027 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18028 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18030 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18031 redundant variable declarations and reallocation of buffer when
18032 parsing as IPv6 address. Always set NSS status when called from
18033 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18034 buffer too small. Correct computation of needed size.
18035 * nss/Makefile (tests): Add test-digits-dots.
18036 * nss/test-digits-dots.c: New test.
18038 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18040 * benchtests/Makefile: Remove instructions for adding
18042 * benchtests/README: New file to explain how to execute and
18043 enhance the benchmark tests.
18045 2013-05-21 Andreas Schwab <schwab@suse.de>
18048 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18049 * setjmp/tst-sigsetjmp.c: New test.
18051 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18053 * sysdeps/x86_64/memset.S (memset): New implementation.
18054 (__bzero): Likewise.
18055 (__memset_tail): New function.
18057 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18059 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18060 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18061 __memcpy_sse2_unaligned ifunc selection.
18062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18063 Add memcpy-sse2-unaligned.S.
18064 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18065 Add: __memcpy_sse2_unaligned.
18067 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18070 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18071 math_force_eval before restoring floating-point envrionment.
18072 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18073 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18075 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18077 (__nearbyintl): Use math_force_eval before restoring
18078 floating-point environment.
18079 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18081 * math/gen-libm-test.pl (special_functions): Remove.
18082 (parse_args): Don't handle TEST_extra. Handle functions with no
18084 * math/libm-test.inc (struct test_sincos_data): Replace with
18085 struct test_fFF_11_data.
18086 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18087 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18088 (sincos_test_data): Change element type to struct
18089 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18090 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18091 RUN_TEST_LOOP_sincos.
18092 * math/README.libm-test: Don't mention special handling of
18093 individual functions.
18094 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18095 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18096 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18097 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18098 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18101 * math/gen-libm-test.pl (get_variable): Remove function.
18102 (parse_args): Don't show pointer parameters to call in test
18103 names. Use "extra output N" in test names for extra outputs
18104 rather than naming variables.
18106 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18109 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18110 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18111 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18113 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18115 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18118 * math/gen-libm-test.pl (@tests): Remove variable.
18119 ($count): Likewise.
18120 (new_test): Remove function.
18121 (show_exceptions): New function.
18122 (special_functions): Use show_exceptions instead of new_test.
18123 (parse_args): Likewise.
18124 (generate_testfile): Pass only function name in generated call to
18125 print_max_error or print_complex_max_error.
18126 (get_ulps): Do not handle complex tests specially.
18127 (output_test): Rename to ...
18128 (get_all_ulps_for_test): ... this. Return a string rather than
18129 printing to a file. Require ulps to be present.
18130 (output_ulps): Generate arrays rather than #defines.
18131 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18132 (struct ulp_data): New type.
18133 (BUILD_COMPLEX_ULP): Remove macro.
18134 (compare_ulp_data): New function.
18135 (find_ulps): Likewise.
18136 (find_test_ulps): Likewise.
18137 (find_function_ulps): Likewise.
18138 (find_complex_function_ulps): Likewise.
18139 (print_max_error): Determine allowed ulps using
18140 find_function_ulps.
18141 (print_complex_max_error): Determine allowed ulps using
18142 find_complex_function_ulps.
18143 (check_float_internal): Determine max ulps using find_test_ulps.
18144 (check_float): Do not take max_ulp parameter. Update call to
18145 check_float_internal.
18146 (check_complex): Likewise.
18147 (check_int): Do not take max_ulp parameter.
18148 (check_long): Likewise.
18149 (check_bool): Likewise.
18150 (check_longlong): Likewise.
18151 (struct test_f_f_data): Remove max_ulp field.
18152 (struct test_ff_f_data): Likewise.
18153 (struct test_ff_f_data_nexttoward): Likewise.
18154 (struct test_fi_f_data): Likewise.
18155 (struct test_fl_f_data): Likewise.
18156 (struct test_if_f_data): Likewise.
18157 (struct test_fff_f_data): Likewise.
18158 (struct test_c_f_data): Likewise.
18159 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18160 (struct test_fF_f1_data): Likewise.
18161 (struct test_ffI_f1_data): Likewise.
18162 (struct test_c_c_data): Remove max_ulp field.
18163 (struct test_cc_c_data): Likewise.
18164 (struct test_f_i_data): Likewise.
18165 (struct test_ff_i_data): Likewise.
18166 (struct test_f_l_data): Likewise.
18167 (struct test_f_L_data): Likewise.
18168 (struct test_sincos_data): Likewise.
18169 (RUN_TEST_f_f): Do not handle ulps.
18170 (RUN_TEST_LOOP_f_f): Likewise.
18171 (RUN_TEST_2_f): Likewise.
18172 (RUN_TEST_LOOP_2_f): Likewise.
18173 (RUN_TEST_fff_f): Likewise.
18174 (RUN_TEST_LOOP_fff_f): Likewise.
18175 (RUN_TEST_c_f): Likewise.
18176 (RUN_TEST_LOOP_c_f): Likewise.
18177 (RUN_TEST_f_f1): Likewise.
18178 (RUN_TEST_LOOP_f_f1): Likewise.
18179 (RUN_TEST_fF_f1): Likewise.
18180 (RUN_TEST_LOOP_fF_f1): Likewise.
18181 (RUN_TEST_fI_f1): Likewise.
18182 (RUN_TEST_LOOP_fI_f1): Likewise.
18183 (RUN_TEST_ffI_f1): Likewise.
18184 (RUN_TEST_LOOP_ffI_f1): Likewise.
18185 (RUN_TEST_c_c): Likewise.
18186 (RUN_TEST_LOOP_c_c): Likewise.
18187 (RUN_TEST_cc_c): Likewise.
18188 (RUN_TEST_LOOP_cc_c): Likewise.
18189 (RUN_TEST_f_i): Likewise.
18190 (RUN_TEST_LOOP_f_i): Likewise.
18191 (RUN_TEST_f_i_tg): Likewise.
18192 (RUN_TEST_LOOP_f_i_tg): Likewise.
18193 (RUN_TEST_ff_i_tg): Likewise.
18194 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18195 (RUN_TEST_f_b): Likewise.
18196 (RUN_TEST_LOOP_f_b): Likewise.
18197 (RUN_TEST_f_b_tg): Likewise.
18198 (RUN_TEST_LOOP_f_b_tg): Likewise.
18199 (RUN_TEST_f_l): Likewise.
18200 (RUN_TEST_LOOP_f_l): Likewise.
18201 (RUN_TEST_f_L): Likewise.
18202 (RUN_TEST_LOOP_f_L): Likewise.
18203 (RUN_TEST_sincos): Likewise.
18204 (RUN_TEST_LOOP_sincos): Likewise.
18206 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18210 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18211 main case of finite arguments, set rounding mode to FE_TONEAREST
18212 and discard exceptions.
18213 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18215 (remainder_tonearest_test_data): New variable.
18216 (remainder_test_tonearest): New function.
18217 (remainder_towardzero_test_data): New variable.
18218 (remainder_test_towardzero): New function.
18219 (remainder_downward_test_data): New variable.
18220 (remainder_test_downward): New function.
18221 (remainder_upward_test_data): New variable.
18222 (remainder_test_upward): New function.
18223 (main): Call the new test functions.
18225 * math/libm-test.inc (struct test_f_f1_data): Remove field
18227 (struct test_fF_f1_data): Likewise.
18228 (struct test_ffI_f1_data): Likewise.
18229 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18230 based on value of EXTRA_EXPECTED.
18231 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18232 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18233 EXTRA_VAR based on value of EXTRA_EXPECTED.
18234 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18235 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18236 EXTRA_VAR based on value of EXTRA_EXPECTED.
18237 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18238 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18239 EXTRA_VAR based on value of EXTRA_EXPECTED.
18240 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18241 * math/gen-libm-test.pl (parse_args): Don't output initializers
18242 for extra output values.
18244 * math/libm-test.inc (check_int): Expect result to be exactly
18245 equal to expected value and do not handle ulps.
18246 (check_long): Likewise.
18247 (check_longlong): Likewise.
18249 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18251 (cimag_test_data): Likewise.
18252 (conj_test_data): Likewise.
18253 (copysign_test_data): Likewise.
18254 (cproj_test_data): Likewise.
18255 (creal_test_data): Likewise.
18256 (fabs_test_data): Likewise.
18257 (fdim_test_data): Likewise.
18258 (finite_test_data): Likewise.
18259 (floor_test_data): Likewise.
18260 (fmax_test_data): Likewise.
18261 (fmin_test_data): Likewise.
18262 (fmod_test_data): Likewise.
18263 (fpclassify_test_data): Likewise.
18264 (frexp_test_data): Likewise.
18265 (ilogb_test_data): Likewise.
18266 (isfinite_test_data): Likewise.
18267 (isgreater_test_data): Likewise.
18268 (isgreaterequal_test_data): Likewise.
18269 (isinf_test_data): Likewise.
18270 (isless_test_data): Likewise.
18271 (islessequal_test_data): Likewise.
18272 (islessgreater_test_data): Likewise.
18273 (isnan_test_data): Likewise.
18274 (isnormal_test_data): Likewise.
18275 (issignaling_test_data): Likewise.
18276 (isunordered_test_data): Likewise.
18277 (ldexp_test_data): Likewise.
18278 (lrint_test_data): Likewise.
18279 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18280 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18281 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18282 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18283 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18284 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18286 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18287 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18288 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18289 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18291 (lrint_downward_test_data): Test for "inexact" exceptions.
18292 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18293 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18294 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18296 (lrint_upward_test_data): Test for "inexact" exceptions.
18297 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18299 (llrint_test_data): Test for "inexact" exceptions.
18300 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18301 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18302 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18303 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18304 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18305 (llrint_downward_test_data): Test for "inexact" exceptions.
18306 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18307 (llrint_upward_test_data): Test for "inexact" exceptions.
18308 (logb_test_data): Likewise.
18309 (logb_downward_test_data): Likewise.
18310 (nextafter_test_data): Likewise.
18311 (nexttoward_test_data): Likewise.
18312 (remainder_test_data): Likewise.
18313 (remquo_test_data): Likewise.
18314 (scalbn_test_data): Likewise.
18315 (scalbln_test_data): Likewise.
18316 (signbit_test_data): Likewise.
18317 (sqrt_test_data): Likewise.
18318 (significand_test_data): Likewise.
18320 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18323 * benchtests/bench-modf.c (struct args): Mark arg0 as
18325 * scripts/bench.pl: Mark members of struct args as volatile.
18327 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18330 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18331 negative infinity on POWER6 or lower.
18332 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18334 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18337 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18338 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18339 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18340 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18341 (_FP_SETQNAN): New macro.
18342 (_FP_SETQNAN_SEMIRAW): Likewise.
18343 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18344 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18345 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18346 (FP_EXTEND): Use _FP_FRAC_SNANP.
18347 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18348 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18350 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18352 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18355 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18357 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18358 with DIVIDE_BY_ZERO_EXCEPTION.
18359 (gamma_test_data): Likewise.
18360 (lgamma_test_data): Likewise.
18361 (log_test_data): Likewise.
18362 (log10_test_data): Likewise.
18363 (log2_test_data): Likewise.
18364 (tgamma_test_data): Likewise.
18366 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18367 (acos_test_tonearest): Likewise.
18368 (acos_test_towardzero): Likewise.
18369 (acos_test_downward): Likewise.
18370 (acos_test_upward): Likewise.
18371 (acosh_test): Likewise.
18372 (asin_test): Likewise.
18373 (asin_test_tonearest): Likewise.
18374 (asin_test_towardzero): Likewise.
18375 (asin_test_downward): Likewise.
18376 (asin_test_upward): Likewise.
18377 (asinh_test): Likewise.
18378 (atan_test): Likewise.
18379 (atanh_test): Likewise.
18380 (atan2_test): Likewise.
18381 (cabs_test): Likewise.
18382 (cacos_test): Likewise.
18383 (cacosh_test): Likewise.
18384 (casin_test): Likewise.
18385 (casinh_test): Likewise.
18386 (catan_test): Likewise.
18387 (catanh_test): Likewise.
18388 (cbrt_test): Likewise.
18389 (ccos_test): Likewise.
18390 (ccosh_test): Likewise.
18391 (cexp_test): Likewise.
18392 (clog_test): Likewise.
18393 (clog10_test): Likewise.
18394 (cos_test): Likewise.
18395 (cos_test_tonearest): Likewise.
18396 (cos_test_towardzero): Likewise.
18397 (cos_test_downward): Likewise.
18398 (cos_test_upward): Likewise.
18399 (cosh_test): Likewise.
18400 (cosh_test_tonearest): Likewise.
18401 (cosh_test_towardzero): Likewise.
18402 (cosh_test_downward): Likewise.
18403 (cosh_test_upward): Likewise.
18404 (cpow_test): Likewise.
18405 (csin_test): Likewise.
18406 (csinh_test): Likewise.
18407 (csqrt_test): Likewise.
18408 (ctan_test): Likewise.
18409 (ctan_test_tonearest): Likewise.
18410 (ctan_test_towardzero): Likewise.
18411 (ctan_test_downward): Likewise.
18412 (ctan_test_upward): Likewise.
18413 (ctanh_test): Likewise.
18414 (ctanh_test_tonearest): Likewise.
18415 (ctanh_test_towardzero): Likewise.
18416 (ctanh_test_downward): Likewise.
18417 (ctanh_test_upward): Likewise.
18418 (erf_test): Likewise.
18419 (erfc_test): Likewise.
18420 (exp_test): Likewise.
18421 (exp_test_tonearest): Likewise.
18422 (exp_test_towardzero): Likewise.
18423 (exp_test_downward): Likewise.
18424 (exp_test_upward): Likewise.
18425 (exp10_test): Likewise.
18426 (exp2_test): Likewise.
18427 (expm1_test): Likewise.
18428 (fmod_test): Likewise.
18429 (gamma_test): Likewise.
18430 (hypot_test): Likewise.
18431 (j0_test): Likewise.
18432 (j1_test): Likewise.
18433 (jn_test): Likewise.
18434 (lgamma_test): Likewise.
18435 (log_test): Likewise.
18436 (log10_test): Likewise.
18437 (log1p_test): Likewise.
18438 (log2_test): Likewise.
18439 (logb_test_downward): Likewise.
18440 (pow_test): Likewise.
18441 (pow_test_tonearest): Likewise.
18442 (pow_test_towardzero): Likewise.
18443 (pow_test_downward): Likewise.
18444 (pow_test_upward): Likewise.
18445 (remainder_test): Likewise.
18446 (remquo_test): Likewise.
18447 (sin_test): Likewise.
18448 (sin_test_tonearest): Likewise.
18449 (sin_test_towardzero): Likewise.
18450 (sin_test_downward): Likewise.
18451 (sin_test_upward): Likewise.
18452 (sincos_test): Likewise.
18453 (sinh_test): Likewise.
18454 (sinh_test_tonearest): Likewise.
18455 (sinh_test_towardzero): Likewise.
18456 (sinh_test_downward): Likewise.
18457 (sinh_test_upward): Likewise.
18458 (sqrt_test): Likewise.
18459 (tan_test): Likewise.
18460 (tan_test_tonearest): Likewise.
18461 (tan_test_towardzero): Likewise.
18462 (tan_test_downward): Likewise.
18463 (tan_test_upward): Likewise.
18464 (tanh_test): Likewise.
18465 (tgamma_test): Likewise.
18466 (y0_test): Likewise.
18467 (y1_test): Likewise.
18468 (yn_test): Likewise.
18470 * math/gen-libm-test.pl (adjust_arg): Remove function.
18471 (special_function): Remove argument $in_func. Only handle
18472 generating output for tables of tests, not inside functions.
18473 (parse_args): Likewise.
18474 (generate_testfile): Remove variable $in_func. Update call to
18476 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18477 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18478 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18479 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18480 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18481 (MAX_VALUE_INIT): Rename macro to max_value.
18482 (MIN_VALUE_INIT): Rename macro to min_value.
18483 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18484 (plus_zero): Remove variable.
18485 (minus_zero): Likewise.
18486 (plus_infty): Likewise.
18487 (minus_infty): Likewise.
18488 (qnan_value): Likewise.
18489 (max_value): Likewise.
18490 (min_value): Likewise.
18491 (min_subnorm_value): Likewise.
18493 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18495 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18496 uint64_t or uint32_t usage.
18497 * crypt/sha256-block.c: Likewise.
18498 * crypt/sha256-crypt.c: Likewise.
18499 * crypt/sha256.c: Likewise.
18500 * crypt/sha512-block.c: Likewise.
18501 * crypt/sha512-crypt.c: Likewise.
18502 * crypt/sha512.c: Likewise.
18503 * debug/backtrace-tst.c: Likewise.
18504 * debug/pcprofiledump.c: Likewise.
18505 * elf/cache.c: Likewise.
18506 * elf/dl-cache.c: Likewise.
18507 * elf/dl-misc.c: Likewise.
18508 * elf/dl-profile.c: Likewise.
18509 * elf/dl-support.c: Likewise.
18510 * elf/ldconfig.c: Likewise.
18511 * elf/sprof.c: Likewise.
18512 * iconv/dummy-repertoire.c: Likewise.
18513 * iconv/iconv_charmap.c: Likewise.
18514 * iconv/skeleton.c: Likewise.
18515 * iconvdata/8bit-generic.c: Likewise.
18516 * iconvdata/cp737.h: Likewise.
18517 * iconvdata/cp775.h: Likewise.
18518 * iconvdata/ibm1008.h: Likewise.
18519 * iconvdata/ibm1025.h: Likewise.
18520 * iconvdata/ibm1046.h: Likewise.
18521 * iconvdata/ibm1097.h: Likewise.
18522 * iconvdata/ibm1112.h: Likewise.
18523 * iconvdata/ibm1122.h: Likewise.
18524 * iconvdata/ibm1123.h: Likewise.
18525 * iconvdata/ibm1124.h: Likewise.
18526 * iconvdata/ibm1129.h: Likewise.
18527 * iconvdata/ibm1130.h: Likewise.
18528 * iconvdata/ibm1132.h: Likewise.
18529 * iconvdata/ibm1133.h: Likewise.
18530 * iconvdata/ibm1137.h: Likewise.
18531 * iconvdata/ibm1140.h: Likewise.
18532 * iconvdata/ibm1141.h: Likewise.
18533 * iconvdata/ibm1142.h: Likewise.
18534 * iconvdata/ibm1143.h: Likewise.
18535 * iconvdata/ibm1144.h: Likewise.
18536 * iconvdata/ibm1145.h: Likewise.
18537 * iconvdata/ibm1146.h: Likewise.
18538 * iconvdata/ibm1147.h: Likewise.
18539 * iconvdata/ibm1148.h: Likewise.
18540 * iconvdata/ibm1149.h: Likewise.
18541 * iconvdata/ibm1153.h: Likewise.
18542 * iconvdata/ibm1154.h: Likewise.
18543 * iconvdata/ibm1155.h: Likewise.
18544 * iconvdata/ibm1156.h: Likewise.
18545 * iconvdata/ibm1157.h: Likewise.
18546 * iconvdata/ibm1158.h: Likewise.
18547 * iconvdata/ibm1160.h: Likewise.
18548 * iconvdata/ibm1161.h: Likewise.
18549 * iconvdata/ibm1162.h: Likewise.
18550 * iconvdata/ibm1163.h: Likewise.
18551 * iconvdata/ibm1164.h: Likewise.
18552 * iconvdata/ibm1166.h: Likewise.
18553 * iconvdata/ibm1167.h: Likewise.
18554 * iconvdata/ibm12712.h: Likewise.
18555 * iconvdata/ibm1390.h: Likewise.
18556 * iconvdata/ibm1399.h: Likewise.
18557 * iconvdata/ibm16804.h: Likewise.
18558 * iconvdata/ibm4517.h: Likewise.
18559 * iconvdata/ibm4899.h: Likewise.
18560 * iconvdata/ibm4909.h: Likewise.
18561 * iconvdata/ibm4971.h: Likewise.
18562 * iconvdata/ibm5347.h: Likewise.
18563 * iconvdata/ibm803.h: Likewise.
18564 * iconvdata/ibm856.h: Likewise.
18565 * iconvdata/ibm901.h: Likewise.
18566 * iconvdata/ibm902.h: Likewise.
18567 * iconvdata/ibm9030.h: Likewise.
18568 * iconvdata/ibm9066.h: Likewise.
18569 * iconvdata/ibm921.h: Likewise.
18570 * iconvdata/ibm922.h: Likewise.
18571 * iconvdata/ibm9448.h: Likewise.
18572 * iconvdata/isiri-3342.h: Likewise.
18573 * iconvdata/jis0201.h: Likewise.
18574 * include/link.h: Likewise.
18575 * include/netdb.h: Likewise.
18576 * inet/check_native.c: Likewise.
18577 * inet/check_pf.c: Likewise.
18578 * inet/getipv4sourcefilter.c: Likewise.
18579 * inet/getnameinfo.c: Likewise.
18580 * inet/getsourcefilter.c: Likewise.
18581 * inet/htonl.c: Likewise.
18582 * inet/setipv4sourcefilter.c: Likewise.
18583 * inet/setsourcefilter.c: Likewise.
18584 * inet/test-inet6_opt.c: Likewise.
18585 * inet/tst-network.c: Likewise.
18586 * locale/C-collate.c: Likewise.
18587 * locale/C-ctype.c: Likewise.
18588 * locale/C-time.c: Likewise.
18589 * locale/C-translit.h: Likewise.
18590 * locale/loadarchive.c: Likewise.
18591 * locale/programs/3level.h: Likewise.
18592 * locale/programs/charmap.c: Likewise.
18593 * locale/programs/charmap.h: Likewise.
18594 * locale/programs/ld-address.c: Likewise.
18595 * locale/programs/ld-collate.c: Likewise.
18596 * locale/programs/ld-ctype.c: Likewise.
18597 * locale/programs/ld-identification.c: Likewise.
18598 * locale/programs/ld-measurement.c: Likewise.
18599 * locale/programs/ld-messages.c: Likewise.
18600 * locale/programs/ld-monetary.c: Likewise.
18601 * locale/programs/ld-name.c: Likewise.
18602 * locale/programs/ld-numeric.c: Likewise.
18603 * locale/programs/ld-paper.c: Likewise.
18604 * locale/programs/ld-telephone.c: Likewise.
18605 * locale/programs/ld-time.c: Likewise.
18606 * locale/programs/linereader.c: Likewise.
18607 * locale/programs/locale.c: Likewise.
18608 * locale/programs/locarchive.c: Likewise.
18609 * locale/programs/locfile.h: Likewise.
18610 * locale/programs/repertoire.c: Likewise.
18611 * locale/programs/simple-hash.c: Likewise.
18612 * locale/programs/simple-hash.h: Likewise.
18613 * malloc/memusage.c: Likewise.
18614 * malloc/memusagestat.c: Likewise.
18615 * nis/nis_defaults.c: Likewise.
18616 * nis/nis_hash.c: Likewise.
18617 * nis/nis_print.c: Likewise.
18618 * nis/nis_xdr.c: Likewise.
18619 * nscd/connections.c: Likewise.
18620 * nscd/hstcache.c: Likewise.
18621 * nscd/nscd_gethst_r.c: Likewise.
18622 * nscd/nscd_getserv_r.c: Likewise.
18623 * nscd/nscd_helper.c: Likewise.
18624 * nscd/servicescache.c: Likewise.
18625 * nss/makedb.c: Likewise.
18626 * nss/nss_db/db-XXX.c: Likewise.
18627 * nss/nss_db/db-initgroups.c: Likewise.
18628 * nss/nss_db/db-netgrp.c: Likewise.
18629 * nss/nss_files/files-network.c: Likewise.
18630 * nss/nss_files/files-parse.c: Likewise.
18631 * posix/bug-regex5.c: Likewise.
18632 * posix/fnmatch_loop.c: Likewise.
18633 * posix/regcomp.c: Likewise.
18634 * posix/regexec.c: Likewise.
18635 * posix/tst-rfc3484-2.c: Likewise.
18636 * posix/tst-rfc3484-3.c: Likewise.
18637 * posix/tst-rfc3484.c: Likewise.
18638 * resolv/nss_dns/dns-canon.c: Likewise.
18639 * resolv/nss_dns/dns-network.c: Likewise.
18640 * resolv/res_init.c: Likewise.
18641 * resolv/res_mkquery.c: Likewise.
18642 * resolv/tst-aton.c: Likewise.
18643 * stdlib/cxa_atexit.c: Likewise.
18644 * stdlib/cxa_finalize.c: Likewise.
18645 * stdlib/gen-fpioconst.c: Likewise.
18646 * stdlib/strtol_l.c: Likewise.
18647 * string/tst-endian.c: Likewise.
18648 * sunrpc/auth_des.c: Likewise.
18649 * sunrpc/clnt_udp.c: Likewise.
18650 * sunrpc/rtime.c: Likewise.
18651 * sunrpc/svcauth_des.c: Likewise.
18652 * sunrpc/xdr.c: Likewise.
18653 * sunrpc/xdr_intXX_t.c: Likewise.
18654 * sunrpc/xdr_rec.c: Likewise.
18655 * sysdeps/generic/ldconfig.h: Likewise.
18656 * sysdeps/generic/ldsodefs.h: Likewise.
18657 * sysdeps/generic/memusage.h: Likewise.
18658 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18659 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18660 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18661 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18662 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18664 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18665 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18666 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18667 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18668 * sysdeps/posix/getaddrinfo.c: Likewise.
18669 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18670 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18671 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18672 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18673 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18674 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18675 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18676 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18677 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18678 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18679 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18680 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18681 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18682 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18683 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18684 * sysdeps/x86_64/dl-tls.h: Likewise.
18685 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18686 * time/alt_digit.c: Likewise.
18687 * time/era.c: Likewise.
18688 * wcsmbs/tst-c16c32-1.c: Likewise.
18690 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18692 * math/libm-test.inc (struct test_sincos_data): New type.
18693 (RUN_TEST_LOOP_sincos): New macro.
18694 (sincos_test_data): New variable.
18695 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18697 2013-05-16 Richard Henderson <rth@redhat.com>
18699 * math/atest-exp2.c (LIMB64): New macro.
18700 (CONSTSZ): New macro.
18701 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18703 (print_mpn_fp): ... to function scope.
18704 (read_mpn_hex): Remove.
18705 (get_log2): Remove.
18706 (exp2_mpn): Use mp_log2.
18707 (main): Use mp_exp1.
18709 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18711 * math/libm-test.inc: Remove comment about not testing "inexact"
18713 (INEXACT_EXCEPTION): New macro.
18714 (NO_INEXACT_EXCEPTION): Likewise.
18715 (INVALID_EXCEPTION_OK): Update value.
18716 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18717 (OVERFLOW_EXCEPTION_OK): Likewise.
18718 (UNDERFLOW_EXCEPTION_OK): Likewise.
18719 (IGNORE_ZERO_INF_SIGN): Likewise.
18720 (ERRNO_UNCHANGED): Likewise.
18721 (ERRNO_EDOM): Likewise.
18722 (ERRNO_ERANGE): Likewise.
18723 (test_exceptions): Handle testing "inexact" exceptions.
18724 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18725 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18726 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18727 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18729 (rint_towardzero_test_data): Likewise.
18730 (rint_downward_test_data): Likewise.
18731 (rint_upward_test_data): Likewise.
18733 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18734 with OVERFLOW_EXCEPTION.
18735 (exp10_test_data): Likewise.
18736 (exp2_test_data): Likewise.
18737 (expm1_test_data): Likewise.
18738 (lgamma_test_data): Likewise.
18739 (pow_test_data): Likewise.
18740 (tgamma_test_data): Likewise.
18741 (yn_test_data): Remove duplicate test of overflow.
18743 * math/libm-test.inc (struct test_cc_c_data): New type.
18744 (RUN_TEST_LOOP_cc_c): New macro.
18745 (cpow_test_data): New variable.
18746 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18748 * math/libm-test.inc (struct test_f_L_data): New type.
18749 (RUN_TEST_LOOP_f_L): New macro.
18750 (llrint_test_data): New variable.
18751 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18752 (llrint_tonearest_test_data): New variable.
18753 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18754 (llrint_towardzero_test_data): New variable.
18755 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18756 (llrint_downward_test_data): New variable.
18757 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18758 (llrint_upward_test_data): New variable.
18759 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18760 (llround_test_data): New variable.
18761 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18763 2013-05-13 Peter Collingbourne <pcc@google.com>
18765 * math/atest-exp2.c (get_log2): Remove const attribute.
18767 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18769 * math/libm-test.inc (struct test_f_l_data): New type.
18770 (RUN_TEST_LOOP_f_l): New macro.
18771 (lrint_test_data): New variable.
18772 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18773 (lrint_tonearest_test_data): New variable.
18774 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18775 (lrint_towardzero_test_data): New variable.
18776 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18777 (lrint_downward_test_data): New variable.
18778 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18779 (lrint_upward_test_data): New variable.
18780 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18781 (lround_test_data): New variable.
18782 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18784 2013-05-15 Peter Collingbourne <pcc@google.com>
18786 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18787 (EXTRACT_WORDS64) Use where appropriate.
18788 (INSERT_WORDS64) Likewise.
18790 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18791 constraints with x constraints.
18792 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18794 * malloc/obstack.c (_obstack_compat): Add initializer.
18796 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18799 si_trapno and add si_addr_lsb to _sifields.sigfault.
18800 (si_trapno): Remove macro.
18801 (si_addr_lsb): Define new macro.
18802 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18804 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18806 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18807 instead of TEST_f_l.
18808 (llrint_test_tonearest): Likewise.
18809 (llrint_test_towardzero): Likewise.
18810 (llrint_test_downward): Likewise.
18811 (llrint_test_upward): Likewise.
18812 (llround_test): Likewise.
18814 * math/libm-test.inc (struct test_f_i_data): Add comment.
18815 (RUN_TEST_LOOP_f_b): New macro.
18816 (RUN_TEST_LOOP_f_b_tg): Likewise.
18817 (finite_test_data): New variable.
18818 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18819 (isfinite_test_data): New variable.
18820 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18821 (isinf_test_data): New variable.
18822 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18823 (isnan_test_data): New variable.
18824 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18825 (isnormal_test_data): New variable.
18826 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18827 (issignaling_test_data): New variable.
18828 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18829 (signbit_test_data): New variable.
18830 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18832 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18833 with INVALID_EXCEPTION.
18834 (acosh_test_data): Likewise.
18835 (asin_test_data): Likewise.
18836 (atanh_test_data): Likewise.
18837 (fmod_test_data): Likewise.
18838 (log_test_data): Likewise.
18839 (log10_test_data): Likewise.
18840 (log2_test_data): Likewise.
18841 (pow_test_data): Likewise.
18842 (sqrt_test_data): Likewise.
18843 (y0_test_data): Likewise.
18844 (y1_test_data): Likewise.
18845 (yn_test_data): Likewise.
18847 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18850 * math/libm-test.inc (struct test_ff_i_data): New type.
18851 (RUN_TEST_LOOP_ff_i_tg): New macro.
18852 (isgreater_test_data): New variable.
18853 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18854 (isgreaterequal_test_data): New variable.
18855 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18856 (isless_test_data): New variable.
18857 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18858 (islessequal_test_data): New variable.
18859 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18860 (islessgreater_test_data): New variable.
18861 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18862 (isunordered_test_data): New variable.
18863 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18865 2013-05-14 David S. Miller <davem@davemloft.net>
18867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18869 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18871 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18873 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18875 (struct test_f_i_data): Change type of max_ulp to int.
18877 * math/libm-test.inc (test_ffI_f1_data): New type.
18878 (RUN_TEST_LOOP_ffI_f1): New macro.
18879 (remquo_test_data): New variable.
18880 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18882 * setjmp/tst-setjmp-fp.c: New file.
18883 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18884 (link-libm): New variable.
18885 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18887 * math/libm-test.inc (struct test_f_i_data): New type.
18888 (RUN_TEST_LOOP_f_i): New macro.
18889 (RUN_TEST_LOOP_f_i_tg): Likewise.
18890 (fpclassify_test_data): New variable.
18891 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18892 (ilogb_test_data): New variable.
18893 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18895 * math/libm-test.inc (scalbln_test): Correct function name in END
18898 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18899 (RUN_TEST_LOOP_fI_f1): New macro.
18900 (frexp_test_data): New variable.
18901 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18903 * math/libm-test.inc (struct test_fF_f1_data): New type.
18904 (RUN_TEST_LOOP_fF_f1): New macro.
18905 (modf_test_data): New variable.
18906 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18908 * math/libm-test.inc (struct test_f_f1_data): New type.
18909 (RUN_TEST_LOOP_f_f1): New macro.
18910 (gamma_test_data): New variable.
18911 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18912 (lgamma_test_data): New variable.
18913 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18915 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18917 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18918 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18919 (main): Comment "tls" pseudo-hwcap.
18921 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18923 * math/libm-test.inc (struct test_fl_f_data): New type.
18924 (RUN_TEST_LOOP_fl_f): New variable.
18925 (scalbln_test_data): New variable.
18926 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18928 * math/libm-test.inc (struct test_fi_f_data): New type.
18929 (RUN_TEST_LOOP_fi_f): New macro.
18930 (ldexp_test_data): New variable.
18931 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18932 (scalbn_test_data): New variable.
18933 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18935 * math/libm-test.inc (struct test_c_f_data): New type.
18936 (RUN_TEST_LOOP_c_f): New macro.
18937 (cabs_test_data): New variable.
18938 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18939 (carg_test_data): New variable.
18940 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18941 (cimag_test_data): New variable.
18942 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18943 (creal_test_data): New variable.
18944 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18946 * math/libm-test.inc (struct test_if_f_data): New type.
18947 (RUN_TEST_LOOP_if_f): New macro.
18948 (jn_test_data): New variable.
18949 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18950 (yn_test_data): New variable.
18951 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18953 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18955 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18957 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18958 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18960 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18962 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18963 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18964 (bench-deps): Add bench-timing.h.
18965 * benchtests-bench-skeleton.c: Include bench-timing.h.
18966 (main): Use TIMING_* macros instead of clock_gettime.
18967 * benchtests/bench-timing.h: New file.
18970 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18971 Renamed from _LIB_VERSION.
18972 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18974 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18976 * math/libm-test.inc (struct test_fff_f_data): New type.
18977 (RUN_TEST_LOOP_fff_f): New macro.
18978 (fma_test_data): New variable.
18979 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18980 (fma_towardzero_test_data): New variable.
18981 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18982 (fma_downward_test_data): New variable.
18983 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18984 (fma_upward_test_data): New variable.
18985 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18987 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18988 (struct test_c_c_data): New type.
18989 (RUN_TEST_LOOP_c_c): New macro.
18990 (cacos_test_data): New variable.
18991 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18992 (cacosh_test_data): New variable.
18993 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18994 (casin_test_data): New variable.
18995 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18996 (casinh_test_data): New variable.
18997 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18998 (catan_test_data): New variable.
18999 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19000 (catanh_test_data): New variable.
19001 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19002 (ccos_test_data): New variable.
19003 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19004 (ccosh_test_data): New variable.
19005 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19006 (cexp_test_data): New variable.
19007 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19008 (clog_test_data): New variable.
19009 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19010 (clog10_test_data): New variable.
19011 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19012 (conj_test_data): New variable.
19013 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19014 (cproj_test_data): New variable.
19015 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19016 (csin_test_data): New variable.
19017 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19018 (csinh_test_data): New variable.
19019 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19020 (csqrt_test_data): New variable.
19021 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19022 (ctan_test_data): New variable.
19023 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19024 (ctan_tonearest_test_data): New variable.
19025 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19026 (ctan_towardzero_test_data): New variable.
19027 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19028 (ctan_downward_test_data): New variable.
19029 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19030 (ctan_upward_test_data): New variable.
19031 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19032 (ctanh_test_data): New variable.
19033 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19034 (ctanh_tonearest_test_data): New variable.
19035 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19036 (ctanh_towardzero_test_data): New variable.
19037 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19038 (ctanh_downward_test_data): New variable.
19039 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19040 (ctanh_upward_test_data): New variable.
19041 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19042 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19045 * math/libm-test.inc (struct test_ff_f_data): New type.
19046 (struct test_ff_f_data_nexttoward): Likewise.
19047 (RUN_TEST_LOOP_2_f): New macro.
19048 (RUN_TEST_LOOP_ff_f): Likewise.
19049 (atan2_test_data): New variable.
19050 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19051 (copysign_test_data): New variable.
19052 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19053 (fdim_test_data): New variable.
19054 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19055 (fmax_test_data): New variable.
19056 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19057 (fmin_test_data): New variable.
19058 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19059 (fmod_test_data): New variable.
19060 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19061 (hypot_test_data): New variable.
19062 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19063 (nextafter_test_data): New variable.
19064 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19065 (nexttoward_test_data): New variable.
19066 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19067 (pow_test_data): New variable.
19068 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19069 (pow_tonearest_test_data): New variable.
19070 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19071 (pow_towardzero_test_data): New variable.
19072 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19073 (pow_downward_test_data): New variable.
19074 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19075 (pow_upward_test_data): New variable.
19076 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19077 (remainder_test_data): New variable.
19078 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19079 (scalb_test_data): New variable.
19080 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19081 * sysdeps/i386/fpu/libm-test-ulps: Update.
19083 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19085 * math/libm-test.inc (fma_test): Use max_value instead of local
19087 (nextafter_test): Likewise.
19089 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19090 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19091 (acos_downward_test_data): New variable.
19092 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19093 (acos_upward_test_data): New variable.
19094 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19095 (acosh_test_data): New variable.
19096 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19097 (asin_test_data): New variable.
19098 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19099 (asin_tonearest_test_data): New variable.
19100 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19101 (asin_towardzero_test_data): New variable.
19102 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19103 (asin_downward_test_data): New variable.
19104 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19105 (asin_upward_test_data): New variable.
19106 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19107 (asinh_test_data): New variable.
19108 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19109 (atan_test_data): New variable.
19110 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19111 (atanh_test_data): New variable.
19112 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19113 (cbrt_test_data): New variable.
19114 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19115 (ceil_test_data): New variable.
19116 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19117 (cos_test_data): New variable.
19118 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19119 (cos_tonearest_test_data): New variable.
19120 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19121 (cos_towardzero_test_data): New variable.
19122 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19123 (cos_downward_test_data): New variable.
19124 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19125 (cos_upward_test_data): New variable.
19126 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19127 (cosh_test_data): New variable.
19128 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19129 (cosh_tonearest_test_data): New variable.
19130 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19131 (cosh_towardzero_test_data): New variable.
19132 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19133 (cosh_downward_test_data): New variable.
19134 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19135 (cosh_upward_test_data): New variable.
19136 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19137 (erf_test_data): New variable.
19138 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19139 (erfc_test_data): New variable.
19140 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19141 (exp_test_data): New variable.
19142 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19143 (exp_tonearest_test_data): New variable.
19144 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19145 (exp_towardzero_test_data): New variable.
19146 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19147 (exp_downward_test_data): New variable.
19148 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19149 (exp_upward_test_data): New variable.
19150 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19151 (exp10_test_data): New variable.
19152 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19153 (exp2_test_data): New variable.
19154 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19155 (expm1_test_data): New variable.
19156 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19157 (fabs_test_data): New variable.
19158 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19159 (floor_test_data): New variable.
19160 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19161 (j0_test_data): New variable.
19162 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19163 (j1_test_data): New variable.
19164 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19165 (log_test_data): New variable.
19166 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19167 (log10_test_data): New variable.
19168 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19169 (log1p_test_data): New variable.
19170 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19171 (log2_test_data): New variable.
19172 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19173 (logb_test_data): New variable.
19174 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19175 (logb_downward_test_data): New variable.
19176 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19177 (nearbyint_test_data): New variable.
19178 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19179 (rint_test_data): New variable.
19180 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19181 (rint_tonearest_test_data): New variable.
19182 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19183 (rint_towardzero_test_data): New variable.
19184 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19185 (rint_downward_test_data): New variable.
19186 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19187 (rint_upward_test_data): New variable.
19188 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19189 (round_test_data): New variable.
19190 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19191 (sin_test_data): New variable.
19192 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19193 (sin_tonearest_test_data): New variable.
19194 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19195 (sin_towardzero_test_data): New variable.
19196 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19197 (sin_downward_test_data): New variable.
19198 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19199 (sin_upward_test_data): New variable.
19200 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19201 (sinh_test_data): New variable.
19202 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19203 (sinh_tonearest_test_data): New variable.
19204 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19205 (sinh_towardzero_test_data): New variable.
19206 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19207 (sinh_downward_test_data): New variable.
19208 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19209 (sinh_upward_test_data): New variable.
19210 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19211 (sqrt_test_data): New variable.
19212 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19213 (tan_test_data): New variable.
19214 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19215 (tan_tonearest_test_data): New variable.
19216 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19217 (tan_towardzero_test_data): New variable.
19218 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19219 (tan_downward_test_data): New variable.
19220 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19221 (tan_upward_test_data): New variable.
19222 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19223 (tanh_test_data): New variable.
19224 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19225 (tgamma_test_data): New variable.
19226 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19227 (trunc_test_data): New variable.
19228 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19229 (y0_test_data): New variable.
19230 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19231 (y1_test_data): New variable.
19232 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19233 (significand_test_data): New variable.
19234 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19236 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19239 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19241 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19243 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19245 2013-05-10 Andreas Jaeger <aj@suse.de>
19248 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19249 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19251 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19253 * math/gen-libm-test.pl (adjust_arg): New function.
19254 (special_functions): Handle generating output in both functions
19256 (parse_args): Likewise.
19257 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19258 $in_func argument to parse_args.
19259 * math/libm-test.inc (struct test_f_f_data): New type.
19260 (IF_ROUND_INIT_): New macro.
19261 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19262 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19263 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19264 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19265 (ROUND_RESTORE_): Likewise.
19266 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19267 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19268 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19269 (ROUND_RESTORE_FE_UPWARD): Likewise.
19270 (RUN_TEST_LOOP_f_f): New macro.
19271 (acos_test_data): New variable.
19272 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19273 (acos_tonearest_test_data): New variable.
19274 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19276 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19278 * benchtests/bench-skeleton.c (startup): Fix coding style.
19280 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19283 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19284 negative infinity argument.
19285 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19286 negative infinity argument.
19287 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19288 negative infinity argument.
19289 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19292 2013-05-10 Florian Weimer <fweimer@redhat.com>
19294 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19295 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19296 * iconv/iconv_prog.c (main): Likewise.
19297 * locale/programs/charmap-dir.c (charmap_readdir)
19298 (fopen_uncompressed): Likewise.
19299 * locale/programs/locfile.c (siblings_uncached)
19300 (write_locale_data): Use lstat64 instead of lstat.
19301 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19304 2013-05-10 Andreas Jaeger <aj@suse.de>
19307 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19309 Include <locale.h>.
19311 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19313 * elf/dl-close.c (_dl_close_worker): Add comments.
19315 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19318 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19320 (__ieee754_rem_pio2l): Update comments.
19323 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19325 (__ieee754_rem_pio2l): Update comments.
19327 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19328 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19330 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19333 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19334 (M_PI_34_LOG10El): Likewise.
19335 (M_PI2_LOG10El): Likewise.
19336 (M_PI4_LOG10El): Likewise.
19337 (M_PI_LOG10El): Likewise.
19339 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19343 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19345 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19346 (MINUS_ZERO_INIT): Likewise.
19347 (PLUS_INFTY_INIT): Likewise.
19348 (MINUS_INFTY_INIT): Likewise.
19349 (QNAN_VALUE_INIT): Likewise.
19350 (MAX_VALUE_INIT): Likewise.
19351 (MIN_VALUE_INIT): Likewise.
19352 (MIN_SUBNORM_VALUE_INIT): Likewise.
19353 (plus_zero): Initialize with PLUS_ZERO_INIT.
19354 (minus_zero): Initialize with MINUS_ZERO_INIT.
19355 (plus_infty): Initialize with PLUS_INFTY_INIT.
19356 (minus_infty): Initialize with MINUS_INFTY_INIT.
19357 (qnan_value): Initialize with QNAN_VALUE_INIT.
19358 (max_value): Initialize with MAX_VALUE_INIT.
19359 (min_value): Initialize with MIN_VALUE_INIT.
19360 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19362 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19363 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19364 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19365 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19367 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19368 (RUN_TEST_2_f): Likewise.
19369 (RUN_TEST_ff_f): Likewise.
19370 (RUN_TEST_fi_f): Likewise.
19371 (RUN_TEST_fl_f): Likewise.
19372 (RUN_TEST_fff_f): Likewise.
19373 (RUN_TEST_c_f): Likewise.
19374 (RUN_TEST_f_f1): Likewise.
19375 (RUN_TEST_fF_f1): Likewise.
19376 (RUN_TEST_fI_f1): Likewise.
19377 (RUN_TEST_ffI_f1): Likewise.
19378 (RUN_TEST_c_c): Likewise.
19379 (RUN_TEST_cc_c): Likewise.
19380 (RUN_TEST_f_i): Likewise.
19381 (RUN_TEST_f_i_tg): Likewise.
19382 (RUN_TEST_ff_i_tg): Likewise.
19383 (RUN_TEST_f_b): Likewise.
19384 (RUN_TEST_f_b_tg): Likewise.
19385 (RUN_TEST_f_l): Likewise.
19386 (RUN_TEST_f_L): Likewise.
19387 (RUN_TEST_sincos): Likewise.
19388 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19389 whether to show exceptions. Do not include ");\n" in return
19391 (special_functions): Output call to RUN_TEST_sincos instead of
19392 check_float calls. Update calls to new_test.
19393 (parse_args): Output call to single RUN_TEST_* macro instead of
19394 check_* calls and other assignments. Update calls to new_test.
19400 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19401 input to result for tgamma overflow.
19402 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19403 (gamma_coeff): New variable.
19404 (NCOEFF): New macro.
19405 (gamma_positive): New function.
19406 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19407 underflow here. Use gamma_positive instead of exp (lgamma) for
19409 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19410 (gamma_coeff): New variable.
19411 (NCOEFF): New macro.
19412 (gammaf_positive): New function.
19413 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19414 underflow here. Use gamma_positive instead of exp (lgamma) for
19416 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19417 (gamma_coeff): New variable.
19418 (NCOEFF): New macro.
19419 (gammal_positive): New function.
19420 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19421 underflow here. Use gamma_positive instead of exp (lgamma) for
19423 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19424 (gamma_coeff): New variable.
19425 (NCOEFF): New macro.
19426 (gammal_positive): New function.
19427 (__ieee754_gammal_r): Handle positive infinity, overflow and
19428 underflow here. Handle NaN the same as positive infinity. Remove
19429 check x < 0xffffffff for negative integers. Use gamma_positive
19430 instead of exp (lgamma) for other arguments.
19431 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19432 (gamma_coeff): New variable.
19433 (NCOEFF): New macro.
19434 (gammal_positive): New function.
19435 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19436 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19437 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19438 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19439 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19440 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19441 * sysdeps/generic/math_private.h (__gamma_productf): New
19443 (__gamma_product): Likewise.
19444 (__gamma_productl): Likewise.
19445 * math/Makefile (libm-calls): Add gamma_product.
19446 * math/libm-test.inc (tgamma_test): Add more tests.
19447 * sysdeps/i386/fpu/libm-test-ulps: Update.
19448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19450 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19452 * benchtests/bench-skeleton.c (main): Preheat CPU.
19454 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19456 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19458 2013-05-07 Roland McGrath <roland@hack.frob.com>
19460 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19461 and _dl_skip_args_internal.
19463 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19465 * manual/message.texi (Message Translation): Talk about users.
19466 Message to key mapping impacts design.
19468 2013-05-06 Roland McGrath <roland@hack.frob.com>
19470 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19472 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19474 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19475 * sysdeps/wordsize-64/glob64.c: ... here.
19477 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19478 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19481 * debug/getlogin_r_chk.c: Moved to ...
19482 * login/getlogin_r_chk.c: ... here.
19483 * debug/Makefile (routines): Move getlogin_r_chk to ...
19484 * login/Makefile (routines): ... here.
19485 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19486 * login/Versions (libc: GLIBC_2.4): ... here.
19488 * io/poll.c (__poll): Renamed from poll.
19489 Add libc_hidden_def.
19490 (poll): Define as weak alias.
19492 * debug/ptsname_r_chk.c: Moved to ...
19493 * login/ptsname_r_chk.c: ... here.
19494 * debug/Makefile (routines): Move ptsname_r_chk to ...
19495 * login/Makefile (routines): ... here.
19496 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19497 * login/Versions (libc: GLIBC_2.4): ... here.
19499 * posix/getlogin.c: Moved to ...
19500 * login/getlogin.c: ... here.
19501 * posix/getlogin_r.c: Moved to ...
19502 * login/getlogin_r.c: ... here.
19503 * posix/getlogin_r.c: Moved to ...
19504 * login/getlogin_r.c: ... here.
19505 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19506 * login/Makefile (routines): ... here.
19507 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19508 * login/Versions (libc: GLIBC_2.0): ... here.
19510 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19511 (setrlimit): Define as weak alias.
19513 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19514 Call __ names for open, ftruncate, and close.
19515 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19516 (truncate): Define as weak alias.
19518 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19520 * math/gen-libm-test.pl (parse_args): Initialize x before each
19521 test of frexp, modf and remquo.
19523 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19524 test signgam value.
19526 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19530 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19532 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19534 2013-05-06 Roland McGrath <roland@hack.frob.com>
19536 * elf/dl-writev.h: New file.
19537 * elf/dl-misc.c: Include it.
19538 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19539 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19541 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19543 * math/libm-test.inc (noXFails): Remove variable.
19544 (noXPasses): Likewise.
19545 (BUILD_COMPLEX_INT): Remove macro.
19546 (print_screen): Remove xfail argument.
19547 (print_screen_max_error): Likewise.
19548 (update_stats): Likewise.
19549 (print_max_error): Likewise. Update calls to other affected
19551 (print_complex_max_error): Likewise.
19552 (test_single_exception): Update calls to print_screen.
19553 (test_single_errno): Likewise.
19554 (check_float_internal): Remove xfail argument. Update calls to
19555 other affected functions.
19556 (check_float): Likewise.
19557 (check_complex): Likewise.
19558 (check_int): Likewise.
19559 (check_long): Likewise.
19560 (check_bool): Likewise.
19561 (check_longlong): Likewise.
19562 (main): Don't print noXFails and noXPasses.
19563 * math/gen-libm-test.pl (top level): Don't mention expected
19564 failure handling in comment.
19565 (new_test): Don't handle expected failures.
19566 (parse_args): Don't mention expected failure handling in comment.
19567 (generate_testfile): Don't handle expected failures.
19568 (parse_ulps): Likewise.
19569 (print_ulps_file): Likewise.
19570 (get_failure): Remove function.
19571 (output_test): Don't handle expected failures.
19572 * make/README.libm-test: Don't mention expected failure handling.
19574 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19575 (minus_zero): Likewise.
19576 (plus_infty): Likewise.
19577 (minus_infty): Likewise.
19578 (qnan_value): Likewise.
19579 (max_value): Likewise.
19580 (min_value): Likewise.
19581 (min_subnorm_value): Likewise.
19582 (initialize): Do not initialize those variables dynamically.
19584 2013-05-03 Roland McGrath <roland@hack.frob.com>
19586 * io/open.c (__open_2): Moved to ...
19587 * io/open_2.c: ... this new file.
19588 * io/open64.c (__open64_2): Moved to ...
19589 * io/open64_2.c: ... this new file.
19590 * io/openat.c (__openat_2): Moved to ...
19591 * io/openat_2.c: ... this new file.
19592 * io/openat64.c (__openat64_2): Moved to ...
19593 * io/openat64_2.c: ... this new file.
19594 * io/Makefile (routines): Add them.
19595 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19596 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19597 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19598 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19599 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19600 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19601 (__openat64): Add hidden_ver.
19602 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19603 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19605 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19606 Separately conditionalize setting of GLRO(dl_sysinfo) so
19607 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19608 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19610 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19612 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19613 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19615 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19616 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19617 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19618 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19619 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19621 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19623 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19624 test signgam value.
19626 * math/libm-test.inc (hypot_test): Do not use
19627 IGNORE_ZERO_INF_SIGN.
19629 2013-05-03 Andreas Jaeger <aj@suse.de>
19631 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19633 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19634 (PF_MAX): Adjust for VSOCK change.
19636 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19640 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19643 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19644 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19645 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19647 2013-05-02 David S. Miller <davem@davemloft.net>
19649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19651 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19653 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19655 2013-05-01 Roland McGrath <roland@hack.frob.com>
19657 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19659 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19662 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19663 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19664 Use __attribute__ ((__gnu_inline__)).
19665 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19666 Don't use __attribute__ ((__gnu_inline__)).
19668 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19671 * math/s_catan.c (__catan): Handle small real or imaginary part of
19672 input specially to avoid spurious underflow.
19673 * math/s_catanf.c (__catanf): Likewise.
19674 * math/s_catanh.c (__catanh): Likewise.
19675 * math/s_catanhf.c (__catanhf): Likewise.
19676 * math/s_catanhl.c (__catanhl): Likewise.
19677 * math/s_catanl.c (__catanl): Likewise.
19678 * math/libm-test.inc (catan_test): Add more tests.
19679 (catanh_test): Likewise.
19680 * sysdeps/i386/fpu/libm-test-ulps: Update.
19681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19683 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19687 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19690 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19691 accurately for denominator in atan2.
19692 * math/s_catanf.c (__catanf): Likewise.
19693 * math/s_catanh.c (__catanh): Likewise.
19694 * math/s_catanhf.c (__catanhf): Likewise.
19695 * math/s_catanhl.c (__catanhl): Likewise.
19696 * math/s_catanl.c (__catanl): Likewise.
19697 * math/libm-test.inc (catan_test): Add more tests.
19698 (catanh_test): Likewise.
19699 * sysdeps/i386/fpu/libm-test-ulps: Update.
19700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19702 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19704 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19706 * benchtests/Makefile (bench): Remove slow benchmarks.
19707 * benchtests/atan-inputs: Add slow benchmark inputs.
19708 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19709 (BENCH_FUNC): Accept variant offset.
19711 * benchtests/bench-skeleton.c (main): Run benchmark for each
19713 * benchtests/cos-inputs: Add slow benchmark inputs.
19714 * benchtests/exp-inputs: Likewise.
19715 * benchtests/pow-inputs: Likewise.
19716 * benchtests/sin-inputs: Likewise.
19717 * benchtests/slowatan-inputs: Remove.
19718 * benchtests/slowatan.c: Remove.
19719 * benchtests/slowcos-inputs: Remove.
19720 * benchtests/slowcos.c: Remove.
19721 * benchtests/slowexp-inputs: Remove.
19722 * benchtests/slowexp.c: Remove.
19723 * benchtests/slowpow-inputs: Remove.
19724 * benchtests/slowpow.c: Remove.
19725 * benchtests/slowsin-inputs: Remove.
19726 * benchtests/slowsin.c: Remove.
19727 * benchtests/slowtan-inputs: Remove.
19728 * benchtests/slowtan.c: Remove.
19729 * benchtests/tan-inputs: Add slow benchmark inputs.
19730 * scripts/bench.pl: Parse comments and directives.
19732 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19734 ($(objpfx)bench-%.c): Remove *-ITER.
19735 * benchtests/bench-modf.c: Remove definition of ITER.
19736 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19737 (main): Loop for DURATION seconds instead of fixed number of
19739 * scripts/bench.pl: Don't expect iterations in parameters.
19741 2013-04-29 Roland McGrath <roland@hack.frob.com>
19743 * io/fchdir.c (__fchdir): Renamed from fchdir.
19744 (fchdir): Define as weak alias.
19746 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19748 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19749 (ERRNO_EDOM): Likewise.
19750 (ERRNO_ERANGE): Likewise.
19751 (noErrnoTests): New variable.
19752 (init_max_error): Set errno to 0.
19753 (test_single_errno): New function.
19754 (test_errno): Likewise.
19755 (check_float_internal): Call test_errno. Set errno to 0.
19756 (check_complex): Refer to errno tests in comment.
19757 (check_int): Call test_errno. Set errno to 0.
19758 (check_long): Likewise.
19759 (check_bool): Likewise.
19760 (check_longlong): Likewise.
19761 (cos_test): Use ERRNO_* flags for errno tests instead of
19763 (expm1_test): Likewise.
19764 (fmod_test): Likewise.
19765 (ilogb_test): Likewise.
19766 (lgamma_test): Likewise.
19767 (pow_test): Likewise.
19768 (remainder_test): Likewise.
19769 (sin_test): Likewise.
19770 (tan_test): Likewise.
19771 (yn_test): Likewise.
19772 (initialize): Set errno to 0.
19773 (main): Print number of errno tests.
19774 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19776 2013-04-29 Andreas Jaeger <aj@suse.de>
19779 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19783 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19784 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19788 * stdlib/random.c (__initstate): Return NULL if
19792 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19793 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19796 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19800 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19802 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19803 of individual tests.
19804 (casin_test): Likewise.
19805 (casinh_test): Likewise.
19807 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19810 * math/s_catan.c (__catan): Handle arguments with large real or
19811 imaginary part separately without squaring.
19812 * math/s_catanf.c (__catanf): Likewise.
19813 * math/s_catanh.c (__catanh): Likewise.
19814 * math/s_catanhf.c (__catanhf): Likewise.
19815 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19817 (__catanhl): Handle arguments with large real or imaginary part
19818 separately without squaring.
19819 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19821 (__catanl): Handle arguments with large real or imaginary part
19822 separately without squaring.
19823 * math/libm-test.inc (catan_test): Add more tests.
19824 (catanh_test): Likewise.
19825 * sysdeps/i386/fpu/libm-test-ulps: Update.
19826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19828 2013-04-27 Andreas Jaeger <aj@suse.de>
19831 * stdlib/stdlib.h: Update guards for qecvt.
19832 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19835 2013-04-27 Allan McRae <allan@archlinux.org>
19837 * sysdeps/i386/fpu/libm-test-ulps: Update.
19839 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19842 * math/s_catan.c: Include <float.h>.
19843 (__catan): Ensure underflow exception occurs for underflowed
19845 * math/s_catanf.c: Include <float.h>.
19846 (__catanf): Ensure underflow exception occurs for underflowed
19848 * math/s_catanh.c: Include <float.h>.
19849 (__catanh): Ensure underflow exception occurs for underflowed
19851 * math/s_catanhf.c: Include <float.h>.
19852 (__catanhf): Ensure underflow exception occurs for underflowed
19854 * math/s_catanhl.c: Include <float.h>.
19855 (__catanhl): Ensure underflow exception occurs for underflowed
19857 * math/s_catanl.c: Include <float.h>.
19858 (__catanl): Ensure underflow exception occurs for underflowed
19860 * math/libm-test.inc (catan_test): Add more tests.
19861 (catanh_test): Likewise.
19864 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19865 underflowed result.
19866 * math/s_ccoshf.c (__ccoshf): Likewise.
19867 * math/s_ccoshl.c (__ccoshl): Likewise.
19868 * math/s_csin.c (__csin): Likewise.
19869 * math/s_csinf.c (__csinf): Likewise.
19870 * math/s_csinh.c (__csinh): Likewise.
19871 * math/s_csinhf.c (__csinhf): Likewise.
19872 * math/s_csinhl.c (__csinhl): Likewise.
19873 * math/s_csinl.c (__csinl): Likewise.
19874 * math/libm-test.inc (ccos_test): Add more tests.
19875 (ccosh_test): Likewise.
19876 (csin_test): Likewise.
19877 (csinh_test): Likewise.
19879 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19881 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19882 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19883 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19884 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19885 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19886 powerpc/power5+/fpu folders.
19887 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19890 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19894 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19896 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19897 additions to variable.
19898 [$(config-machine) = x86_64] (modules-names): Likewise.
19899 ($(objpfx)tst-audit3): Remove dependency.
19900 ($(objpfx)tst-audit3.out): Likewise.
19901 ($(objpfx)tst-audit4): Likewise.
19902 ($(objpfx)tst-audit4.out): Likewise.
19903 ($(objpfx)tst-audit5): Likewise.
19904 ($(objpfx)tst-audit5.out): Likewise.
19905 ($(objpfx)tst-audit6): Likewise.
19906 ($(objpfx)tst-audit6.out): Likewise.
19907 ($(objpfx)tst-audit7): Likewise.
19908 ($(objpfx)tst-audit7.out): Likewise.
19909 (tst-audit3-ENV): Remove variable.
19910 (tst-audit4-ENV): Likewise.
19911 (tst-audit5-ENV): Likewise.
19912 (tst-audit6-ENV): Likewise.
19913 (tst-audit7-ENV): Likewise.
19914 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19915 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19916 addition to variable.
19917 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19918 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19919 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19920 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19921 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19922 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19923 tst-audit3, tst-audit4 and tst-audit5.
19924 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19925 tst-audit6 and tst-audit7.
19926 [$(subdir) = elf] (modules-names): Add audit modules for those
19928 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19929 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19930 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19931 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19932 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19933 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19934 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19935 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19936 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19937 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19938 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19939 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19940 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19941 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19942 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19943 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19945 [$(subdir) = elf && $(config-cflags-avx) = yes]
19946 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19947 [$(subdir) = elf && $(config-cflags-avx) = yes]
19948 (CFLAGS-tst-auditmod4a.c): Likewise.
19949 [$(subdir) = elf && $(config-cflags-avx) = yes]
19950 (CFLAGS-tst-auditmod4b.c): Likewise.
19951 [$(subdir) = elf && $(config-cflags-avx) = yes]
19952 (CFLAGS-tst-auditmod6b.c): Likewise.
19953 [$(subdir) = elf && $(config-cflags-avx) = yes]
19954 (CFLAGS-tst-auditmod6c.c): Likewise.
19955 [$(subdir) = elf && $(config-cflags-avx) = yes]
19956 (CFLAGS-tst-auditmod7b.c): Likewise.
19957 * elf/tst-audit3.c: Move to ...
19958 * sysdeps/x86_64/tst-audit3.c: ... here.
19959 * elf/tst-audit4.c: Move to ...
19960 * sysdeps/x86_64/tst-audit4.c: ... here.
19961 * elf/tst-audit5.c: Move to ...
19962 * sysdeps/x86_64/tst-audit5.c: ... here.
19963 * elf/tst-audit6.c: Move to ...
19964 * sysdeps/x86_64/tst-audit6.c: ... here.
19965 * elf/tst-audit7.c: Move to ...
19966 * sysdeps/x86_64/tst-audit7.c: ... here.
19967 * elf/tst-auditmod3a.c: Move to ...
19968 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19969 * elf/tst-auditmod3b.c: Move to ...
19970 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19971 * elf/tst-auditmod4a.c: Move to ...
19972 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19973 * elf/tst-auditmod4b.c: Move to ...
19974 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19975 * elf/tst-auditmod5a.c: Move to ...
19976 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19977 * elf/tst-auditmod5b.c: Move to ...
19978 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19979 * elf/tst-auditmod6a.c: Move to ...
19980 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19981 * elf/tst-auditmod6b.c: Move to ...
19982 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19983 * elf/tst-auditmod6c.c: Move to ...
19984 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19985 * elf/tst-auditmod7a.c: Move to ...
19986 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19987 * elf/tst-auditmod7b.c: Move to ...
19988 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19990 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19993 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19994 define unconditionally.
19995 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19996 define unconditionally.
19997 (INT8_C, INT16_C, etc.): Likewise.
19999 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20001 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20002 __ehdr_start with hidden visibility.
20004 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20006 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20008 * math/libm-test.inc (cos_test): Use accurate hex constants.
20009 (sincost_test): Likewise.
20011 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20013 * math/libm-test.inc (catan_test): Add more tests.
20014 (catanh_test): Likewise.
20016 * math/s_catanf.c (__catanf): Use suffixed floating-point
20018 * math/s_catanhf.c (__catanhf): Likewise.
20019 * math/s_catanhl.c (__catanhl): Likewise.
20020 * math/s_catanl.c (__catanl): Likewise.
20023 * math/s_catan.c (__catan): Calculate imaginary part of result
20024 with log1p not log unless computing log of number close to 0.
20025 * math/s_catanf.c (__catanf): Likewise.
20026 * math/s_catanl.c (__catanl): Likewise.
20027 * math/s_catanh.c (__catanh): Calculate real part of result with
20028 log1p not log unless computing log of number close to 0.
20029 * math/s_catanhf.c (__catanhf): Likewise.
20030 * math/s_catanhl.c (__catanhl): Likewise.
20031 * math/libm-test.inc (catan_test): Add more tests.
20032 (catanh_test): Likewise.
20033 * sysdeps/i386/fpu/libm-test-ulps: Update.
20034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20036 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20038 * benchtests/Makefile: Mention files in which fast and slow
20039 paths of math functions are implemented.
20041 2013-04-23 Roland McGrath <roland@hack.frob.com>
20043 * sysdeps/posix/timespec_get.c: New file.
20045 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20047 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20049 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20051 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20052 powerpc/power5/fpu folders.
20053 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20054 * benchtests/Makefile: Add modf testcase.
20055 * benchtests/bench-modf.c: New file: Benchmark test for mo
20057 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20060 * time/Makefile (tests): Add tst-strptime-whitespace.
20061 * time/strptime_l.c (get_number): Use ISSPACE.
20062 (__strptime_internal): Likewise.
20063 * time/tst-strptime-whitespace.c: New test case.
20065 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20067 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20069 (_nss_files_init): Set it here.
20071 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20073 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20074 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20077 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20079 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20081 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20083 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20086 2013-04-21 David S. Miller <davem@davemloft.net>
20088 * po/ru.po: Update Russion translation from translation project.
20090 2013-04-17 Adam Conrad <adconrad@0c3.net>
20092 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20095 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20097 * configure.in: Remove i386 configure warning. Remove i386 case.
20098 * configure: Regenerate.
20099 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20100 Add example to error message.
20101 * sysdeps/i386/configure: Regenerate.
20103 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20105 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20107 * benchtests/cos-inputs: New file.
20108 * benchtests/slowcos-inputs: New file.
20109 * benchtests/slowcos.c: New file.
20110 * benchtests/slowtan-inputs: New file.
20111 * benchtests/slowtan.c: New file.
20112 * benchtests/tan-inputs: New file.
20114 2013-04-16 Roland McGrath <roland@hack.frob.com>
20116 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20119 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20121 * benchtests/Makefile: Include cppflags-iterator.mk to add
20122 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20124 * Makefile.in (bench-clean): New target.
20125 * benchtests/Makefile (bench-clean): Likewise.
20127 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20129 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20131 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20133 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20135 2013-04-15 Andreas Schwab <schwab@suse.de>
20137 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20138 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20139 * nscd/pwdcache.c (cache_addpw): Likewise.
20140 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20143 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20145 * benchtests/Makefile (bench): Write all output to
20146 bench-out.tmp together.
20148 2013-04-15 Andreas Schwab <schwab@suse.de>
20150 * nscd/nscd.c (main): Don't fork again after closing files.
20152 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20154 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20156 * benchtests/Rules (bench-deps): Collect dependencies into a
20157 single variable. Add Makefile to dependencies.
20158 ($(objpfx)bench-%.c): Depend on bench-deps.
20160 2013-04-12 Roland McGrath <roland@hack.frob.com>
20161 Xavier Roche <roche+kml2@exalead.com>
20164 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20165 just that it's a file descriptor.
20166 * manual/llio.texi (Synchronizing AIO Operations): Update description
20167 for EBADF error from aio_fsync.
20169 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20171 * Rules (bench): Move target definition...
20172 * benchtests/Makefile: ... here.
20174 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20176 * math/libm-test.inc (cos_test): Fix PI/2 test.
20177 (sincos_test): Likewise.
20178 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20179 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20181 2013-04-11 Andreas Schwab <schwab@suse.de>
20184 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20185 accept exponent character only when digits were seen.
20186 * stdio-common/Makefile (tests): Add bug26.
20187 * stdio-common/bug26.c: New file.
20190 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20193 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20195 * Makeconfig (rtld-prefix): Define built linker prefix.
20196 * Rules (run-bench): Use it.
20197 * math/Makefile (run-regen-ulps): Likewise.
20199 * Rules (bench): Remove eval.
20201 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20202 Roland McGrath <roland@hack.frob.com>
20203 Ondrej Bilka <neleai@seznam.cz>
20206 * time/getdate.c: Include ctype.h and alloca.h.
20207 (__getdate_r): Trim leading and trailing spaces of input.
20208 * time/tst-getdate.c (tests): Add tests with leading and
20211 2013-04-08 Roland McGrath <roland@hack.frob.com>
20214 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20215 when computing value.
20217 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20219 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20220 Use testrun.sh to run libm tests.
20223 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20225 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20228 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20230 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20232 * Makefile.in (regen-ulps): New target.
20233 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20234 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20235 [ifneq (no,$(PERL)] (regen-ulps): New target.
20236 [ifeq (no,$(PERL)] (regen-ulps): New target.
20237 * math/libm-test.inc (ulps_file_name): Define.
20238 (output_dir): New variable.
20239 (options): Add "output-dir" option.
20240 (parse_opt): Handle 'o' case.
20241 (main): If output_dir is non-NULL use it as a prefix
20243 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20245 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20247 [BZ #10060, #10062]
20248 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20249 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20250 fail configure if __sync_val_compare_and_swap is not inlined.
20251 * sysdeps/i386/configure: Regenerate.
20252 * configure.in: Build for i686 when configured for i386.
20253 * configure: Regenerate.
20254 * README: Remove i386 reference.
20256 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20258 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20259 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20261 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20263 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20264 (lmsnanval): New variables.
20265 (F): Add conversion tests.
20266 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20267 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20269 * stdio-common/tstdiomisc.c (F): Properly collect individual
20272 [BZ #14686, #15336]
20273 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20274 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20275 Instead, use input NaN values or generate a qNaN by arithmetic
20276 operation. Also fix bugs to comply with the standard.
20277 * math/libm-test.inc (remainder_test): Add more tests.
20279 [BZ #15335, #15342]
20280 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20281 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20282 input NaN values or generate a qNaN by arithmetic operation.
20284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20287 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20290 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20293 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20294 underflowed result.
20295 * math/s_cexpf.c (__cexpf): Likewise.
20296 * math/s_cexpl.c (__cexpl): Likewise.
20297 * math/libm-test.inc (cexp_test): Add more tests.
20299 2013-04-03 Andreas Schwab <schwab@suse.de>
20302 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20303 order arrays from heap if bigger than alloca cutoff.
20305 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20307 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20308 (SNAN_TESTS_double): Refer to GCC PR56831.
20309 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20312 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20314 * Rules (bench): Move bench.out after the run is complete.
20316 * Rules (bench): Echo currently running benchmark.
20318 * benchtests/Makefile (bench): Add atan and slowatan.
20319 * benchtests/atan-inputs: New file.
20320 * benchtests/slowatan-inputs: New file.
20321 * benchtests/slowatan.c: New file.
20323 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20324 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20328 * sysdeps/unix/sysv/linux/kernel-features.h
20329 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20330 __ASSUME_XFS_RESTRICTED_CHOWN.
20331 * sysdeps/unix/sysv/linux/pathconf.c
20332 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20333 Save and restore errno.
20335 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20338 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20339 arguments using __kernel_casinh.
20340 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20341 arguments using __kernel_casinhf.
20342 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20343 arguments using __kernel_casinhl.
20344 * math/libm-test.inc (cacosh_test): Add more tests.
20345 * sysdeps/i386/fpu/libm-test-ulps: Update.
20346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20348 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20350 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20351 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20353 * bench/Makefile (bench): Add sin and slowsin.
20354 * benchtests/sin-inputs: New file.
20355 * benchtests/slowsin-inputs: New file.
20356 * benchtests/slowsin.c: New file.
20358 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20359 (bench): Add slowexp and slowpow.
20360 (exp-ITER): Increase iterations.
20361 (pow-ITER): Likewise.
20362 * benchtests/exp-inputs: Change input.
20363 * benchtests/pow-inputs: Likewise.
20364 * benchtests/slowexp-inputs: New file.
20365 * benchtests/slowexp.c: New file.
20366 * benchtests/slowpow-inputs: New file.
20367 * benchtests/slowpow.c: New file.
20369 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20371 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20373 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20374 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20375 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20376 * benchtests/Makefile: Add rint benchtest.
20377 * benchtests/rint-inputs: Input for rint benchtest.
20379 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20381 * Versions.def (libm): Add GLIBC_2.18.
20382 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20383 hidden libm prototypes.
20384 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20385 * math/Makefile (libm-calls): Add s_issignaling.
20386 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20387 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20388 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20390 * math/math.h [__USE_GNU] (issignaling): New macro.
20391 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20392 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20393 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20394 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20395 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20396 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20397 * manual/arith.texi (issignaling): New section.
20398 * manual/libm-err-tab.pl (@all_functions): Update comment.
20399 * math/gen-libm-test.pl (parse_args): Apply special handling for
20401 * math/libm-test.inc (print_float, issignaling_test): New
20403 (check_float_internal): Add issignaling checks.
20404 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20405 default definition.
20406 * sysdeps/powerpc/math-tests.h: New file.
20407 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20409 * math/test-snan.c (TEST_FUNC): Likewise.
20411 2013-03-30 David S. Miller <davem@davemloft.net>
20413 * po/de.po: Update from translation team.
20415 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20418 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20419 imaginary part less than 1.0 and real part less than 0.5
20421 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20422 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20423 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20424 (cacos_test): Add more tests.
20425 (casin_test): Likewise.
20426 (casinh_test): Likewise.
20427 * sysdeps/i386/fpu/libm-test-ulps: Update.
20428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20430 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20432 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20433 ONE with its value.
20435 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20436 (__pow_mp): Replace ONE and MONE with their values.
20437 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20438 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20439 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20440 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20441 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20442 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20444 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20446 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20447 (__pow_mp): Replace ZERO and MZERO with their values.
20448 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20449 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20450 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20451 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20452 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20453 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20456 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20458 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20460 2013-03-28 Roland McGrath <roland@hack.frob.com>
20462 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20463 Declare with __attribute__ ((weak)).
20464 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20465 Call __call_tls_dtors only if it's not NULL.
20467 2013-03-28 Roland McGrath <roland@hack.frob.com>
20469 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20470 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20471 magic __ehdr_start linker symbol if it's defined.
20472 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20473 them up here if it was already done.
20475 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20476 (_dl_aux_init): Use const in cast when setting it.
20477 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20478 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20479 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20481 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20483 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20484 * csu/libc-tls.c: Nor here.
20485 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20487 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20488 (__libc_message): Never call vsyslog.
20490 2013-03-28 Alan Modra <amodra@gmail.com>
20492 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20494 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20497 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20500 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20504 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20507 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20508 Don't add gid passed as argument.
20510 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20512 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20515 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20516 imaginary part between 1.0 and 1.5 and real part less than 0.5
20518 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20519 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20520 * math/libm-test.inc (cacos_test): Add more tests.
20521 (casin_test): Likewise.
20522 (casinh_test): Likewise.
20523 * sysdeps/i386/fpu/libm-test-ulps: Update.
20524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20526 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20528 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20531 (denorm): Likewise.
20532 (__dbl_mp): Likewise.
20533 (add_magnitudes): Likewise.
20534 (sub_magnitudes): Likewise.
20542 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20544 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20545 (__dubcos): Likewise.
20546 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20547 (__ieee754_acos): Likewise.
20548 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20549 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20550 (__exp1): Likewise.
20551 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20552 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20554 (my_log2): Likewise.
20555 (checkint): Likewise.
20556 * sysdeps/ieee754/dbl-64/e_remainder.c
20557 (__ieee754_remainder): Likewise.
20558 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20559 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20560 (bsloww): Likewise.
20561 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20563 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20564 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20565 MANTISSA_STORE_T to store computations on mantissa. Use
20566 macros for rounding and division.
20567 (denorm): Likewise.
20568 (__dbl_mp): Likewise.
20569 (add_magnitudes): Likewise.
20570 (sub_magnitudes): Likewise.
20573 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20574 powers of two in terms of TWOPOW macro.
20575 (mp_no): Make type of mantissa as MANTISSA_T.
20576 [!RADIXI]: Define RADIXI.
20577 [!TWO52]: Define TWO52.
20578 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20580 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20582 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20583 llroundl symbol when building for PPC32.
20585 2013-03-24 Mark H Weaver <mhw@netris.org>
20587 * manual/arith.texi (Normalization Functions): Fix prototypes for
20588 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20590 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20593 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20594 high value to check if expl overflow.
20595 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20596 to check for underflow and overflow.
20597 * math/libm-test.inc: Add exp test.
20599 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20602 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20605 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20607 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20610 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20612 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20613 wrap blocks consisting of several statements.
20615 * sysdeps/generic/math-tests.h: New file.
20616 * sysdeps/i386/fpu/math-tests.h: Likewise.
20617 * math/test-snan.c: Include it.
20618 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20620 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20623 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20624 (__ieee754_j0l): Do not improve calculations using cos of twice
20625 input for inputs above LDBL_MAX / 2.0L.
20626 (__ieee754_y0l): Likewise.
20627 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20628 (__ieee754_j1l): Do not improve calculations using cos of twice
20629 input for inputs above LDBL_MAX / 2.0L.
20630 (__ieee754_y1l): Likewise.
20631 * math/libm-test.inc (j0_test): Add another test.
20632 (j1_test): Likewise.
20633 (y0_test): Likewise.
20634 (y1_test): Likewise.
20635 * sysdeps/i386/fpu/libm-test-ulps: Update.
20637 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20639 * Rules ($(objpfx)bench-%.c): Include code from a C source
20642 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20645 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20646 imaginary part 1.0 and real part less than 0.5 specially.
20647 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20648 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20649 * math/libm-test.inc (cacos_test): Add more tests.
20650 (casin_test): Likewise.
20651 (casinh_test): Likewise.
20652 * sysdeps/i386/fpu/libm-test-ulps: Update.
20653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20655 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20657 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20658 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20660 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20662 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20663 * config.make.in (config-cflags-sse4): Remove variable.
20664 (config-cflags-avx): Likewise.
20665 (config-cflags-sse2avx): Likewise.
20666 (config-cflags-novzeroupper): Likewise.
20667 (config-asflags-i686): Likewise.
20668 (have-mfma4): Likewise.
20669 (have-as-vis3): Likewise.
20671 * configure.in (MIG): Do not AC_SUBST.
20672 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20673 (libc_cv_cc_sse4): Do not AC_SUBST.
20674 (libc_cv_cc_avx): Likewise.
20675 (libc_cv_cc_sse2avx): Likewise.
20676 (libc_cv_cc_novzeroupper): Likewise.
20677 (libc_cv_cc_fma4): Likewise.
20678 (libc_cv_as_i686): Likewise.
20679 (libc_cv_sparc_as_vis3): Likewise.
20680 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20682 (config-asflags-i686): Likewise.
20683 (config-cflags-avx): Likewise.
20684 (config-cflags-sse2avx): Likewise.
20685 (have-mfma4): Likewise.
20686 (config-cflags-novzeroupper): Likewise.
20687 * sysdeps/mach/configure.in (MIG): Likewise.
20688 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20689 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20691 (config-cflags-avx): Likewise.
20692 (config-cflags-sse2avx): Likewise.
20693 (have-mfma4): Likewise.
20694 (config-cflags-novzeroupper): Likewise.
20695 * configure: Regenerated.
20696 * sysdeps/i386/configure: Likewise.
20697 * sysdeps/mach/configure: Likewise.
20698 * sysdeps/sparc/configure: Likewise.
20699 * sysdeps/x86_64/configure: Likewise.
20701 2013-03-20 Roland McGrath <roland@hack.frob.com>
20704 * locale/programs/localedef.c (options): Put N_ translation marker
20705 on argument names, not just descriptions.
20707 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20709 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20711 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20714 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20716 2013-03-19 Roland McGrath <roland@hack.frob.com>
20718 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20719 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20720 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20721 [!BEFORE_ABORT] (before_abort): New function.
20722 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20723 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20724 (writev_for_fatal): New function.
20725 (WRITEV_FOR_FATAL): New macro; call that.
20726 (backtrace_and_maps): New function.
20727 (BEFORE_ABORT): New macro; call that.
20728 (struct str_list): Type removed.
20729 (__libc_message, __libc_fatal): Functions removed.
20730 Include <sysdeps/posix/libc_fatal.c> instead.
20732 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20734 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20736 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20739 2013-03-19 Andreas Schwab <schwab@suse.de>
20741 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20742 * sysdeps/gnu/configure: Regenerate.
20744 * configure.in: Substitute libc_cv_rtlddir.
20745 * configure: Regenerate.
20746 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20747 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20748 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20749 * elf/Makefile (install-others, CFLAGS-interp.c)
20750 (ldso_install, common-ldd-rewrite): Likewise.
20751 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20752 $(inst_slibdir)/$(rtld-installed-name).
20753 * scripts/rellns-sh: Add -p option.
20754 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20757 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20759 * manual/nptl.texi: Renamed to ...
20760 * manual/threads.texi: ... this.
20761 * manual/Makefile (chapters): Update.
20763 2013-03-18 Roland McGrath <roland@hack.frob.com>
20766 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20767 on argument names, not just descriptions.
20768 * malloc/memusagestat.c (options): Likewise.
20769 * nss/getent.c (options): Likewise.
20771 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20774 * iconv/iconv_prog.c (options): Put N_ translation marker
20775 on argument names, not just descriptions.
20776 * iconv/iconvconfig.c (options): Likewise.
20778 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20780 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20781 implementation which is faster on all x86_64 architectures.
20782 Tested on AMD, Intel Nehalem, SNB, IVB.
20783 * sysdeps/x86_64/strnlen.S: Likewise.
20785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20786 Remove all multiarch strlen and strnlen versions.
20787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20788 Remove strlen and strnlen related parts.
20790 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20791 Inline strlen part.
20792 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20794 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20795 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20796 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20797 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20798 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20799 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20801 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20803 * manual/memory.texi (Malloc Tunable Parameters):
20804 Sort parameters alphabetically. Add comments for missing entries.
20806 2013-03-17 David S. Miller <davem@davemloft.net>
20808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20810 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20813 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20814 for arguments at most half maximum finite value.
20815 * math/libm-test.inc (j0_test): Add more tests.
20816 (j1_test): Likewise.
20817 (y0_test): Likewise.
20818 (y1_test): Likewise.
20819 * sysdeps/i386/fpu/libm-test-ulps: Update.
20820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20823 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20824 1 / x and functions P and Q for arguments above 0x1p256L.
20825 (__ieee754_y0l): Likewise.
20826 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20827 (__ieee754_y1l): Likewise.
20828 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20829 (j1_test): Likewise.
20830 (y0_test): Likewise.
20831 (y1_test): Likewise.
20833 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20835 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20838 2013-03-15 Roland McGrath <roland@hack.frob.com>
20840 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20841 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20842 zero since it's initialized to EXEC_PAGESIZE.
20844 * sysdeps/unix/sysv/linux/ldsodefs.h
20845 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20846 * sysdeps/generic/ldsodefs.h: ... here.
20848 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20850 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20852 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20854 * math/test-snan.c: Renamed from
20855 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20856 * math/Makefile (tests): Add test-snan.
20857 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20860 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20861 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20863 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20864 __builtin_nan family of functions.
20865 * math/libm-test.inc (initialize): Initialize qnan_value with
20866 __builtin_nan family of functions.
20867 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20869 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20871 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20872 storage class. Initialize qNaN_var and sNaN_var with
20873 __builtin_nan and __builtin_nans families of functions,
20876 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20877 (sqrt_test): Remove duplicate test with qNaN input.
20878 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20879 (round_test, signbit_test, significand_test): Note missing +/-Inf
20880 as well as qNaN tests.
20882 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20883 qNaN_var. Fix a few strings, too.
20884 * math/libm-test.inc (nan_value): Rename to qnan_value.
20885 * math/gen-libm-test.pl (%beautify): Adjust to that.
20886 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20887 * math/test-misc.c (main): Likewise.
20888 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20889 to __qnan_bytes, and __qnan_union, respectively.
20890 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20892 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20893 and lqnanval, respectively.
20894 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20895 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20896 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20897 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20899 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20900 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20903 * math/test-misc.c (main): Fix copy'n'pastos.
20904 * misc/tst-efgcvt.c (special): Likewise.
20906 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20907 Remove declarations.
20909 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20911 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20912 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20913 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20914 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20916 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20918 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20919 macro to return vdso values correctly in IFUNC implementations.
20920 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20921 Optimization by using IFUNC.
20923 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20924 Richard Henderson <rth@redhat.com>
20925 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20927 * Makefile.in (bench): New target.
20928 * NEWS: Mention the benchmark framework.
20929 * Rules (bench): Likewise.
20930 (binaries-bench): Generate binaries for functions to
20932 * benchtests/Makefile: New makefile for benchmark tests.
20933 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20935 * benchtests/exp-inputs: New input file for EXP function.
20936 * benchtests/pow-inputs: New input file for POW function.
20937 * scripts/bench.pl: New script to generate source files for
20938 benchmark programs.
20940 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20942 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20943 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20944 computations on mantissa. Use macros for rounding and
20946 (denorm): Likewise.
20947 (__dbl_mp): Likewise.
20948 (add_magnitudes): Likewise.
20949 (sub_magnitudes): Likewise.
20952 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20953 powers of two in terms of TWOPOW macro.
20954 (mp_no): Make type of mantissa as MANTISSA_T.
20955 [!RADIXI]: Define RADIXI.
20956 [!TWO52]: Define TWO52.
20957 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20959 * manual/nptl.texi (cindex): Modify threads to pthreads.
20961 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20963 * sysdeps/x86_64/preconfigure: Regenerated.
20965 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20968 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20970 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20971 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20973 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20974 * math/libm-test.inc (j0_test): Do not allow one spurious
20975 underflow exception.
20976 (y1_test): Likewise.
20978 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20980 * manual/Makefile (chapters): Add nptl.
20981 * manual/debug.texi (Debugging Support): Add link to Threads
20983 * manual/nptl.texi: New file.
20985 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20987 2013-03-14 Petr Baudis <pasky@ucw.cz>
20989 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20990 for non-NULL pointer before the memory validity test. Pointed
20991 out by Holger Brunck <holger.brunck@keymile.com>.
20993 2013-03-13 Andreas Schwab <schwab@suse.de>
20995 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20998 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21000 * timezone/zic.c: Update from tzcode 2013b.
21002 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21004 * manual/install.texi (Configuring and compiling):
21005 Mention i686 and i586.
21006 * INSTALL: Regenerate.
21008 2013-03-12 Roland McGrath <roland@hack.frob.com>
21010 * sysdeps/init_array/elf-init.c: New file.
21012 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21013 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21015 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21016 __gmon_start__ as global, but as static with a .preinit_array pointer.
21017 * sysdeps/init_array/gmon-start.c: New file. Use that.
21018 * sysdeps/init_array/crti.S: New file, empty except for comments.
21019 * sysdeps/init_array/crtn.S: Likewise.
21021 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21023 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21026 Remove Prefer_SSE_for_memop.
21027 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21028 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21029 HAS_PREFER_SSE_FOR_MEMOP.
21030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21033 Remove bzero, memset ifunc support.
21034 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21035 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21036 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21037 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21039 2013-03-11 Andreas Schwab <schwab@suse.de>
21042 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21045 (GLIBC_2.16): Remove pthread_atfork.
21047 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21049 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21050 (ptestcases.h): Likewise.
21052 2013-03-08 Roland McGrath <roland@hack.frob.com>
21054 * Makeconfig ($(common-objpfx)config.status): Depend on
21055 sysdeps/*/preconfigure{,.in} too.
21057 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21059 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21060 (__free_hook): Use void * instead of __malloc_ptr_t.
21061 (__malloc_hook): Likewise.
21062 (__realloc_hook): Likewise.
21063 (__memalign_hook): Likewise.
21064 (__after_morecore_hook): Likewise.
21065 * malloc/arena.c (save_malloc_hook): Likewise.
21066 (save_free_hook): Likewise.
21067 * malloc/hooks.c (malloc_hook_ini): Likewise.
21068 (realloc_hook_ini): Likewise.
21069 (memalign_hook_ini): Likewise.
21070 * malloc/malloc.c (malloc_hook_ini): Likewise.
21071 (realloc_hook_ini): Likewise.
21072 (memalign_hook_ini): Likewise.
21073 (__free_hook): Likewise.
21074 (__malloc_hook): Likewise.
21075 (__realloc_hook): Likewise.
21076 (__memalign_hook): Likewise.
21077 (__libc_malloc): Likewise.
21078 (__libc_free): Likewise.
21079 (__libc_realloc): Likewise.
21080 (__libc_memalign): Likewise.
21081 (__libc_valloc): Likewise.
21082 (__libc_pvalloc): Likewise.
21083 (__libc_calloc): Likewise.
21084 (__posix_memalign): Likewise.
21085 * malloc/morecore.c (__sbrk): Likewise.
21086 (__default_morecore): Likewise.
21088 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21090 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21091 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21092 __malloc_ptrdiff_t.
21094 * malloc/malloc.h (__malloc_size_t): Remove macro.
21095 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21097 (old_memalign_hook): Likewise.
21098 (old_realloc_hook): Likewise.
21099 (struct hdr): Likewise.
21101 (mallochook): Likewise.
21102 (memalignhook): Likewise.
21103 (reallochook): Likewise.
21104 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21105 (tr_old_realloc_hook): Likewise.
21106 (tr_old_memalign_hook): Likewise.
21107 (tr_mallochook): Likewise.
21108 (tr_reallochook): Likewise.
21109 (tr_memalignhook): Likewise.
21111 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21113 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21114 default_ldbl_pack and using as default implementation.
21115 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21117 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21118 redundant definition.
21119 (ldbl_insert_mantissa): Likewise.
21120 (ldbl_canonicalize): Likewise.
21121 (ldbl_nearbyint): Likewise.
21122 (ldbl_pack): Rename to ldbl_pack_ppc.
21123 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21124 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21125 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21127 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21130 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21131 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21132 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21134 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21135 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21136 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21138 2013-03-07 Andreas Jaeger <aj@suse.de>
21140 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21143 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21145 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21146 Include mpa.h and declare __MPEXP.
21147 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21148 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21149 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21150 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21151 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21152 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21153 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21155 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21156 (__slowpow): Use long double EXPL and LOGL functions to
21158 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21159 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21160 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21161 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21162 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21163 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21166 intermediate variable to calculate exponent.
21168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21172 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21173 [!NO__SQR]: Define __sqr.
21174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21175 and NO__SQR. Remove all code except __mul and __sqr. Include
21176 sysdeps/ieee754/dbl-64/mpa.c.
21177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21180 * posix/Makefile (tests): Add tst-pathconf.
21181 * posix/tst-pathconf.c: New test case.
21182 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21184 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21186 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21188 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21190 2013-03-06 Andreas Jaeger <aj@suse.de>
21192 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21193 definition via __MAP_ANONYMOUS.
21195 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21196 it's not part of Linux headers.
21198 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21199 (MAP_HUGE_MASK): Define.
21201 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21203 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21204 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21206 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21207 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21209 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21210 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21212 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21214 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21215 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21216 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21217 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21218 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21219 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21221 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21224 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21225 Handle f2fs and efivarfs.
21227 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21230 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21231 (EFIVARFS_MAGIC): Add.
21232 (F2FS_LINK_MAX): Add.
21234 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21236 * stdio-common/vfprintf.c: Replace __builtin_expect with
21239 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21242 * sysdeps/generic/bp-sym.h: Remove file.
21243 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21244 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21245 <bp-sym.h> and <bp-asm.h>.
21246 (__longjmp): Don't use BP_SYM.
21247 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21249 (memcpy): Don't use BP_SYM.
21250 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21251 <bp-sym.h> and <bp-asm.h>.
21252 (memcpy): Don't use BP_SYM.
21253 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21255 (memcpy): Don't use BP_SYM.
21256 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21258 (memset): Don't use BP_SYM.
21259 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21260 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21261 (__bzero): Don't use BP_SYM.
21262 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21263 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21264 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21265 <bp-sym.h> and <bp-asm.h>.
21266 (memcmp): Don't use BP_SYM. Remove comment about bounded
21268 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21269 <bp-sym.h> and <bp-asm.h>.
21270 (memcpy): Don't use BP_SYM.
21271 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21272 <bp-sym.h> and <bp-asm.h>.
21273 (memset): Don't use BP_SYM.
21274 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21275 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21276 (__bzero): Don't use BP_SYM.
21277 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21278 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21279 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21280 <bp-sym.h> and <bp-asm.h>.
21281 (strncmp): Don't use BP_SYM. Remove comment about bounded
21283 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21284 <bp-sym.h> and <bp-asm.h>.
21285 (memcpy): Don't use BP_SYM.
21286 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21287 <bp-sym.h> and <bp-asm.h>.
21288 (memset): Don't use BP_SYM.
21289 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21290 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21291 (__bzero): Don't use BP_SYM.
21292 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21293 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21294 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21295 <bp-sym.h> and <bp-asm.h>.
21296 (__memchr): Don't use BP_SYM.
21297 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21298 <bp-sym.h> and <bp-asm.h>.
21299 (memcmp): Don't use BP_SYM. Remove comment about bounded
21301 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21302 <bp-sym.h> and <bp-asm.h>.
21303 (memcpy): Don't use BP_SYM.
21304 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21305 <bp-sym.h> and <bp-asm.h>.
21306 (__mempcpy): Don't use BP_SYM.
21307 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21308 <bp-sym.h> and <bp-asm.h>.
21309 (__memrchr): Don't use BP_SYM.
21310 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21311 <bp-sym.h> and <bp-asm.h>.
21312 (memset): Don't use BP_SYM.
21313 (__bzero): Likewise.
21314 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21315 <bp-sym.h> and <bp-asm.h>.
21316 (__rawmemchr): Don't use BP_SYM.
21317 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21318 <bp-sym.h> and <bp-asm.h>.
21319 (__STRCMP): Don't use BP_SYM.
21320 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21321 <bp-sym.h> and <bp-asm.h>.
21322 (strchr): Don't use BP_SYM.
21323 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21324 <bp-sym.h> and <bp-asm.h>.
21325 (__strchrnul): Don't use BP_SYM.
21326 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21327 <bp-sym.h> and <bp-asm.h>.
21328 (strlen): Don't use BP_SYM.
21329 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21330 <bp-sym.h> and <bp-asm.h>.
21331 (strncmp): Don't use BP_SYM. Remove comment about bounded
21333 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21334 <bp-sym.h> and <bp-asm.h>.
21335 (__strnlen): Don't use BP_SYM.
21336 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21337 <bp-sym.h> and <bp-asm.h>.
21338 (__GI__setjmp): Don't use BP_SYM.
21339 (_setjmp): Likewise.
21340 (__sigsetjmp): Likewise.
21341 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21342 (L(start_addresses)): Don't use BP_SYM.
21343 (_start): Likewise.
21344 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21346 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21347 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21348 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21349 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21350 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21352 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21353 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21354 about bounded pointers.
21355 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21356 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21357 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21359 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21360 about bounded pointers. Remove GKM FIXME comments.
21361 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21362 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21364 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21365 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21366 Remove GKM FIXME comments.
21367 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21368 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21369 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21371 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21372 about bounded pointers. Remove GKM FIXME comment.
21373 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21375 (strncmp): Don't use BP_SYM. Remove comment about bounded
21377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21378 <bp-sym.h> and <bp-asm.h>.
21379 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21381 <bp-sym.h> and <bp-asm.h>.
21382 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21385 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21387 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21390 2013-03-05 David S. Miller <davem@davemloft.net>
21392 * po/es.po: Update from translation team.
21394 2013-03-05 Andreas Jaeger <aj@suse.de>
21396 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21397 <bits/mman-linux.h>.
21398 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21400 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21401 <bits/mman-linux.h> to end of file.
21402 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21404 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21405 <bits/mman-linux.h> to end of file.
21406 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21408 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21409 <bits/mman-linux.h> to end of file.
21411 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21412 (MCL_CURRENT, MCL_FUTURE): Define here.
21414 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21417 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21419 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21421 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21423 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21424 fourth parameter needed for rt_sigprocmask syscall.
21425 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21426 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21427 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21428 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21429 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21430 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21432 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21435 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21436 comment about bounded pointers.
21437 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21438 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21440 2013-03-04 Andreas Jaeger <aj@suse.de>
21442 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21443 common definitions.
21445 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21446 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21447 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21448 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21449 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21450 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21452 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21455 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21456 __ieee754_sqrl instead of __sqrl.
21458 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21460 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21461 * sysdeps/powerpc/fpu_control.h: ... here.
21462 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21463 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21464 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21465 * sysdeps/powerpc/bits/mathinline.h: ... here.
21467 2013-03-01 Roland McGrath <roland@hack.frob.com>
21469 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21470 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21471 to just [NEED_DL_SYSINFO_DSO].
21472 * elf/dl-support.c: Likewise.
21473 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21474 * elf/rtld.c (dl_main): Likewise.
21475 * elf/setup-vdso.h (setup_vdso): Likewise.
21476 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21477 * sysdeps/unix/sysv/linux/dl-sysdep.c
21478 (_dl_discover_osversion): Likewise.
21480 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21482 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21483 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21485 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21487 * NEWS: Mention libm performance improvements and non-x86 PI
21490 * csu/libc-start.c (__pthread_initialize_minimal): Change
21491 function arguments.
21492 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21494 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21497 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21498 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21499 <bp-sym.h> and <bp-asm.h>.
21500 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21501 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21503 (memcpy): Don't use BP_SYM.
21504 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21506 (__mpn_add_n): Don't use BP_SYM.
21507 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21508 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21510 (__mpn_addmul_1): Don't use BP_SYM.
21511 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21512 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21514 (_setjmp): Don't use BP_SYM.
21515 (__novmx_setjmp): Likewise.
21516 (__GI__setjmp): Likewise.
21517 (__vmx_setjmp): Likewise.
21518 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21520 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21521 (__bzero): Don't use BP_SYM.
21522 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21523 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21524 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21525 <bp-sym.h> and <bp-asm.h>.
21526 (memcpy): Don't use BP_SYM.
21527 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21528 <bp-sym.h> and <bp-asm.h>.
21529 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21530 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21531 <bp-sym.h> and <bp-asm.h>.
21532 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21533 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21535 (__mpn_lshift): Don't use BP_SYM.
21536 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21537 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21539 (memset): Don't use BP_SYM.
21540 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21541 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21542 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21544 (__mpn_mul_1): Don't use BP_SYM.
21545 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21546 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21547 <bp-sym.h> and <bp-asm.h>.
21548 (memcmp): Don't use BP_SYM.
21549 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21550 <bp-sym.h> and <bp-asm.h>.
21551 (memcpy): Don't use BP_SYM.
21552 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21553 <bp-sym.h> and <bp-asm.h>.
21554 (memset): Don't use BP_SYM.
21555 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21556 <bp-sym.h> and <bp-asm.h>.
21557 (strncmp): Don't use BP_SYM.
21558 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21559 <bp-sym.h> and <bp-asm.h>.
21560 (memcpy): Don't use BP_SYM.
21561 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21562 <bp-sym.h> and <bp-asm.h>.
21563 (memset): Don't use BP_SYM.
21564 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21565 <bp-sym.h> and <bp-asm.h>.
21566 (__memchr): Don't use BP_SYM.
21567 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21568 <bp-sym.h> and <bp-asm.h>.
21569 (memcmp): Don't use BP_SYM.
21570 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21571 <bp-sym.h> and <bp-asm.h>.
21572 (memcpy): Don't use BP_SYM.
21573 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21574 <bp-sym.h> and <bp-asm.h>.
21575 (__mempcpy): Don't use BP_SYM.
21576 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21577 <bp-sym.h> and <bp-asm.h>.
21578 (__memrchr): Don't use BP_SYM.
21579 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21580 <bp-sym.h> and <bp-asm.h>.
21581 (memset): Don't use BP_SYM.
21582 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21583 <bp-sym.h> and <bp-asm.h>.
21584 (__rawmemchr): Don't use BP_SYM.
21585 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21586 <bp-sym.h> and <bp-asm.h>.
21587 (__STRCMP): Don't use BP_SYM.
21588 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21589 <bp-sym.h> and <bp-asm.h>.
21590 (strchr): Don't use BP_SYM.
21591 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21592 <bp-sym.h> and <bp-asm.h>.
21593 (__strchrnul): Don't use BP_SYM.
21594 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21595 <bp-sym.h> and <bp-asm.h>.
21596 (strlen): Don't use BP_SYM.
21597 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21598 <bp-sym.h> and <bp-asm.h>.
21599 (strncmp): Don't use BP_SYM.
21600 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21601 <bp-sym.h> and <bp-asm.h>.
21602 (__strnlen): Don't use BP_SYM.
21603 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21605 (__mpn_rshift): Don't use BP_SYM.
21606 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21607 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21608 <bp-sym.h> and <bp-asm.h>.
21609 (__sigsetjmp): Don't use BP_SYM.
21610 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21611 (L(start_addresses)): Don't use BP_SYM.
21612 (_start): Likewise.
21613 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21615 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21616 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21617 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21618 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21620 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21621 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21622 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21623 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21625 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21627 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21628 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21630 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21632 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21633 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21634 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21636 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21638 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21640 (strncmp): Don't use BP_SYM,
21641 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21643 (__mpn_sub_n): Don't use BP_SYM.
21644 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21645 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21647 (__mpn_submul_1): Don't use BP_SYM.
21648 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21650 <bp-sym.h> and <bp-asm.h>.
21651 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21653 <bp-sym.h> and <bp-asm.h>.
21654 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21657 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21660 Use ZK to minimize writes to Z.
21661 (sub_magnitudes): Simplify code a bit.
21662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21663 Use ZK to minimize writes to Z.
21664 (sub_magnitudes): Simplify code a bit.
21666 2013-02-27 Roland McGrath <roland@hack.frob.com>
21668 * csu/gmon-start.c: Add special exception to license text.
21670 2013-02-27 Richard Henderson <rth@redhat.com>
21672 * scripts/config.guess: Update from config.git.
21673 * scripts/config.sub: Likewise.
21675 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21677 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21679 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21681 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21683 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21685 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21687 2013-02-26 Roland McGrath <roland@hack.frob.com>
21689 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21690 [$(build-shared = yes].
21692 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21694 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21695 (__mul): Reduce iterations for calculating mantissa.
21697 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21699 (__mpranred): Likewise.
21702 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21703 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21705 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21707 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21708 Define __attribute__.
21710 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21712 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21714 * posix/regex_internal.h (__attribute): Remove.
21715 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21716 (re_string_context_at): Likewise.
21717 (bitset_not): Use __attribute__ and mark function as possibly
21719 (bitset_merge): Likewise.
21720 (bitset_mask): Likewise.
21721 (re_string_char_size_at): Likewise.
21722 (re_string_wchar_at): Likewise.
21723 (re_string_elem_size_at): Likewise.
21725 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21727 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21731 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21735 (denorm): Likewise.
21736 (__dbl_mp): Likewise.
21737 (add_magnitudes): Likewise.
21738 (sub_magnitudes): Likewise.
21742 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21745 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21748 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21752 up changes with default code.
21753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21756 2013-02-24 Allan McRae <allan@archlinux.org>
21758 * manual/socket.texi (The Internet Namespace): Order menu items
21759 to match that in the file.
21761 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21762 node listing of the info page menu.
21764 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21767 * sysdeps/i386/bp-asm.h: Remove file.
21768 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21769 (PARMS): Do not use macros from bp-asm.h.
21773 (__mpn_add_n): Do not use BP_SYM
21774 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21776 (PARMS): Do not use macros from bp-asm.h.
21779 (__mpn_addmul_1): Do not use BP_SYM
21780 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21782 (PARMS): Do not use macros from bp-asm.h.
21783 (SIGMSK): Likewise.
21784 (_setjmp): Likewise. Do not use BP_SYM.
21785 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21787 (PARMS): Do not use macros from bp-asm.h.
21788 (SIGMSK): Likewise.
21789 (setjmp): Likewise. Do not use BP_SYM.
21790 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21792 (PARMS): Do not use macros from bp-asm.h.
21793 (__frexp): Do not use BP_SYM.
21795 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21797 (PARMS): Do not use macros from bp-asm.h.
21798 (__frexpf): Do not use BP_SYM.
21799 (frexpf): Likewise.
21800 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21802 (PARMS): Do not use macros from bp-asm.h.
21803 (__frexpl): Do not use BP_SYM.
21804 (frexpl): Likewise.
21805 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21807 (PARMS): Do not use macros from bp-asm.h.
21808 (__remquo): Do not use BP_SYM.
21809 (remquo): Likewise.
21810 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21812 (PARMS): Do not use macros from bp-asm.h.
21813 (__remquof): Do not use BP_SYM.
21814 (remquof): Likewise.
21815 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21817 (PARMS): Do not use macros from bp-asm.h.
21818 (__remquol): Do not use BP_SYM.
21819 (remquol): Likewise.
21820 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21822 (PARMS): Do not use macros from bp-asm.h.
21825 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21826 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21828 (PARMS): Do not use macros from bp-asm.h.
21829 (strlen): Do not use BP_SYM.
21830 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21832 (PARMS): Do not use macros from bp-asm.h.
21836 (__mpn_add_n): Do not use BP_SYM.
21837 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21839 (PARMS): Do not use macros from bp-asm.h.
21842 (__mpn_addmul_1): Do not use BP_SYM.
21843 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21846 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21848 (PARMS): Do not use macros from bp-asm.h.
21851 (__mpn_lshift): Do not use BP_SYM.
21852 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21854 (PARMS): Do not use macros from bp-asm.h.
21858 (memcpy): Likewise. Do not use BP_SYM.
21859 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21860 libc_hidden_def and weak_alias.
21861 (mempcpy): Do not use BP_SYM in weak_alias.
21862 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21864 (PARMS): Do not use macros from bp-asm.h.
21867 [!BZERO_P] (CHR): Likewise.
21868 (memset): Likewise. Do not use BP_SYM.
21869 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21871 (PARMS): Do not use macros from bp-asm.h.
21874 (__mpn_mul_1): Do not use BP_SYM.
21875 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21877 (PARMS): Do not use macros from bp-asm.h.
21880 (__mpn_rshift): Do not use BP_SYM.
21881 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21883 (PARMS): Do not use macros from bp-asm.h.
21886 (strchr): Likewise. Do not use BP_SYM.
21887 (index): Do not use BP_SYM in weak_alias.
21888 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21890 (PARMS): Do not use macros from bp-asm.h.
21893 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21894 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21896 (PARMS): Do not use macros from bp-asm.h.
21897 (strlen): Do not use BP_SYM.
21898 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21900 (PARMS): Do not use macros from bp-asm.h.
21904 (__mpn_sub_n): Do not use BP_SYM.
21905 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21907 (PARMS): Do not use macros from bp-asm.h.
21910 (__mpn_submul_1): Do not use BP_SYM.
21911 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21913 (PARMS): Do not use macros from bp-asm.h.
21917 (__mpn_add_n): Do not use BP_SYM.
21918 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21921 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21923 (PARMS): Do not use macros from bp-asm.h.
21926 (memcmp): Do not use BP_SYM.
21927 (bcmp): Do not use BP_SYM in weak_alias.
21928 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21930 (PARMS): Do not use macros from bp-asm.h.
21934 (memcpy): Likewise. Do not use BP_SYM.
21935 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21937 (PARMS): Do not use macros from bp-asm.h.
21941 (memmove): Likewise. Do not use BP_SYM.
21942 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21944 (PARMS): Do not use macros from bp-asm.h.
21948 (__mempcpy): Likewise. Do not use BP_SYM.
21949 (mempcpy): Do not use BP_SYM in weak_alias.
21950 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21952 (PARMS): Do not use macros from bp-asm.h.
21955 [!BZERO_P] (CHR): Likewise.
21956 (memset): Likewise. Do not use BP_SYM.
21957 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21959 (PARMS): Do not use macros from bp-asm.h.
21961 (strcmp): Do not use BP_SYM.
21962 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21964 (PARMS): Do not use macros from bp-asm.h.
21967 [USE_AS_STRTOK_R] (SAVE): Likewise.
21968 (FUNCTION): Likewise. Do not use BP_SYM.
21969 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21971 (strtok_r): Likewise.
21972 (__GI___strtok_r): Likewise.
21973 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21974 (PARMS): Do not use macros from bp-asm.h.
21977 (__mpn_lshift): Do not use BP_SYM.
21978 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21979 (PARMS): Do not use macros from bp-asm.h.
21982 (__memchr): Do not use BP_SYM.
21983 (memchr): Do not use BP_SYM in weak_alias.
21984 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21985 (PARMS): Do not use macros from bp-asm.h.
21988 (memcmp): Do not use BP_SYM.
21989 (bcmp): Do not use BP_SYM in weak_alias.
21990 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21991 (PARMS): Do not use macros from bp-asm.h.
21994 (__mpn_mul_1): Do not use BP_SYM.
21995 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21997 (PARMS): Do not use macros from bp-asm.h.
22000 (__rawmemchr): Do not use BP_SYM.
22001 (rawmemchr): Do not use BP_SYM in weak_alias.
22002 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22003 (PARMS): Do not use macros from bp-asm.h.
22006 (__mpn_rshift): Do not use BP_SYM.
22007 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22008 (PARMS): Do not use macros from bp-asm.h.
22009 (SIGMSK): Likewise.
22010 (__sigsetjmp): Likewise. Do not use BP_SYM.
22011 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22012 (_start): Do not use BP_SYM.
22013 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22014 (PARMS): Do not use macros from bp-asm.h.
22017 (__stpcpy): Likewise. Do not use BP_SYM.
22018 (stpcpy): Do not use BP_SYM in weak_alias.
22019 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22021 (PARMS): Do not use macros from bp-asm.h.
22025 (__stpncpy): Likewise. Do not use BP_SYM.
22026 (stpncpy): Do not use BP_SYM in weak_alias.
22027 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22028 (PARMS): Do not use macros from bp-asm.h.
22031 (strchr): Likewise. Do not use BP_SYM.
22032 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22034 (PARMS): Do not use macros from bp-asm.h.
22037 (__strchrnul): Likewise. Do not use BP_SYM.
22038 (strchrnul): Do not use BP_SYM in weak_alias.
22039 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22041 (PARMS): Do not use macros from bp-asm.h.
22043 (strcspn): Do not use BP_SYM.
22044 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22046 (PARMS): Do not use macros from bp-asm.h.
22049 (strpbrk): Likewise. Do not use BP_SYM.
22050 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22052 (PARMS): Do not use macros from bp-asm.h.
22055 (strrchr): Likewise. Do not use BP_SYM.
22056 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22057 (PARMS): Do not use macros from bp-asm.h.
22059 (strspn): Do not use BP_SYM.
22060 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22061 (PARMS): Do not use macros from bp-asm.h.
22065 (FUNCTION): Likewise. Do not use BP_SYM.
22066 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22068 (strtok_r): Likewise.
22069 (__GI___strtok_r): Likewise.
22070 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22071 (PARMS): Do not use macros from bp-asm.h.
22075 (__mpn_sub_n): Do not use BP_SYM.
22076 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22078 (PARMS): Do not use macros from bp-asm.h.
22081 (__mpn_submul_1): Do not use BP_SYM.
22082 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22084 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22086 (PARMS): Do not use macros from bp-asm.h.
22091 (__clone): Do not use BP_SYM.
22092 (clone): Do not use BP_SYM in weak_alias.
22093 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22095 (PARMS): Do not use macros from bp-asm.h.
22097 (__mmap64): Do not use BP_SYM.
22098 (mmap64): Do not use BP_SYM in weak_alias.
22099 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22100 <bp-sym.h> and <bp-asm.h>.
22101 (PARMS): Do not use macros from bp-asm.h.
22102 (__posix_fadvise64_l64): Do not use BP_SYM.
22103 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22104 (PARMS): Do not use macros from bp-asm.h.
22106 (semtimedop): Do not use BP_SYM.
22107 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22110 2013-02-21 Allan McRae <allan@archlinux.org>
22112 * manual/message.texi (Charset conversion in gettext):
22113 Move @end statement to beginning of line.
22115 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22122 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22123 (denorm): Likewise.
22124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22127 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22129 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22130 tail-call to the resolved function if pltexit isn't needed.
22132 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22135 or Y being zero as being unlikely.
22136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22139 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22141 * manual/nss.texi (System Databases and Name Service Switch):
22142 Remove frobnicate @pxref.
22144 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22146 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22147 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22149 2013-02-20 Petr Machata <pmachata@redhat.com>
22151 * elf/elf.h (R_ARM_TARGET1): New macro.
22152 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22153 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22154 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22155 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22156 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22157 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22158 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22159 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22160 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22161 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22162 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22163 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22164 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22165 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22166 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22167 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22168 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22169 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22170 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22171 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22172 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22173 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22174 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22175 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22176 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22177 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22178 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22179 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22180 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22181 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22182 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22183 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22184 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22185 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22186 (R_ARM_THM_GOT_BREL12): Likewise.
22187 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22188 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22189 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22190 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22191 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22192 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22193 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22194 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22195 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22197 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22199 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22200 __attribute_used__ to __attribute__ ((unused)).
22202 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22204 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22207 comment formatting.
22208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22210 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22213 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22215 (ENTER): Remove both macro definitions.
22217 (CHECK_BOUNDS_LOW): Likewise.
22218 (CHECK_BOUNDS_HIGH): Likewise.
22219 (CHECK_BOUNDS_BOTH): Likewise.
22220 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22221 (RETURN_BOUNDED_POINTER): Likewise.
22222 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22223 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22224 (POP_ERRNO_LOCATION_RETURN): Likewise.
22225 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22226 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22227 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22229 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22230 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22231 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22232 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22233 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22234 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22235 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22236 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22237 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22238 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22239 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22240 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22241 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22242 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22244 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22245 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22247 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22248 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22249 * sysdeps/i386/i586/memset.S (memset): Likewise.
22250 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22251 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22252 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22254 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22255 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22256 Change uses of L(2) to L(out).
22257 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22258 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22259 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22260 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22261 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22263 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22264 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22266 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22267 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22268 (RETURN): Do not use macro LEAVE.
22269 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22270 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22271 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22272 * sysdeps/i386/i686/memset.S (memset): Likewise.
22273 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22274 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22275 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22276 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22278 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22279 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22280 L(1_2) and L(1_3) into L(1).
22281 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22282 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22283 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22284 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22285 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22286 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22287 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22288 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22289 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22291 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22292 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22293 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22294 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22295 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22296 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22297 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22298 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22299 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22300 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22301 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22302 * sysdeps/i386/strspn.S (strspn): Likewise.
22303 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22305 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22306 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22307 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22308 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22309 L(1_3) into L(1_1).
22310 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22311 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22312 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22314 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22316 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22318 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22321 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22323 * math/atest-exp.c (exp_mpn): Remove ROUND.
22324 * math/atest-exp2.c (exp_mpn): Likewise.
22325 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22327 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22328 * stdlib/tst-tls-atexit-lib.c: Likewise.
22329 * stdlib/tst-tls-atexit.c: Likewise.
22331 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22333 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22334 and __attribute_alloc_size__.
22336 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22338 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22339 __attribute_alloc_size__.
22340 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22341 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22343 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22345 * include/programs/xmalloc.h: New file.
22346 * catgets/gencat.c: Include it.
22347 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22348 * elf/pldd.c: Likewise.
22349 * iconv/iconv_charmap.c: Likewise.
22350 * iconv/iconvconfig.c: Likewise.
22351 * iconv/strtab.c: Likewise.
22352 * locale/programs/locale.c: Likewise.
22353 * locale/programs/localedef.h: Likewise.
22354 * locale/programs/simple-hash.c: Likewise.
22355 * nscd/nscd.h: Likewise.
22356 * nss/makedb.c: Likewise.
22357 * sysdeps/generic/ldconfig.h: Likewise.
22359 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22361 * Versions.def: Add GLIBC_2.18.
22362 * include/link.h (struct link_map): New member l_tls_dtor_count.
22363 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22364 (__call_tls_dtors): Likewise.
22365 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22366 __cxa_thread_atexit_impl.
22367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22375 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22383 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22384 (tests): Add test case tst-tls-atexit.
22385 (modules-names): Add shared library for tst-tls-atexit.
22386 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22387 (GLIBC_PRIVATE): Add __call_tls_dtors.
22388 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22390 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22391 * stdlib/tst-tls-atexit.c: New test case.
22392 * stdlib/tst-tls-atexit-lib.c: New test case.
22394 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22396 * elf/Versions (ld): Add _dl_find_dso_for_object.
22397 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22398 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22399 (dl_open_worker): Use _dl_find_dso_for_object.
22400 * elf/dl-sym.c (do_sym): Likewise.
22401 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22403 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22405 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22406 Syntactic changes only.
22407 (_dl_runtime_profile): Do a tail-call to the resolved function.
22409 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22412 * sysdeps/x86_64/bp-asm.h: Remove file.
22413 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22414 <bp-sym.h> and <bp-asm.h>.
22415 (__clone): Do not use BP_SYM.
22416 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22417 <bp-sym.h> and <bp-asm.h>.
22418 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22419 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22421 (_setjmp): Do not use BP_SYM.
22422 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22424 (setjmp): Do not use BP_SYM.
22425 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22427 (mempcpy): Do not use BP_SYM in weak_alias.
22428 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22430 (strchr): Do not use BP_SYM.
22431 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22433 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22434 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22435 (_start): Do not use BP_SYM.
22436 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22438 (strcat): Do not use BP_SYM.
22439 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22441 (STRCMP): Do not use BP_SYM.
22442 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22444 (STRCPY): Do not use BP_SYM.
22445 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22447 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22449 (FUNCTION): Do not use BP_SYM.
22450 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22452 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22454 2013-02-17 Andreas Jaeger <aj@suse.de>
22456 * time/Versions: Sort entries.
22457 * string/Versions: Likewise.
22458 * resolv/Versions: Likewise.
22459 * posix/Versions: Likewise.
22460 * iconv/Versions: Likewise.
22461 * elf/Versions: Likewise.
22462 * wcsmbs/Versions: Likewise.
22464 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22466 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22467 loop termination condition.
22469 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22470 variable to calculate EZ.
22473 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22474 the lower precision input.
22476 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22479 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22480 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22481 (run-via-rtld-prefix): Do not handle %-bp tests.
22482 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22483 (all-object-suffixes): Remove .ob.
22484 (bppfx): Remove variable.
22485 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22486 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22487 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22488 [$(build-bounded) = yes] (libtype.ob): Likewise.
22489 * Makerules (elide-routines.ob): Remove variable.
22490 (do-tests-clean): Do not handle *-bp.out.
22491 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22492 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22493 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22494 (tests): Do not include $(tests-bp.out).
22495 (xtests): Do not include $(xtests-bp.out).
22496 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22497 [$(build-bounded) = yes] ($(addprefix
22498 $(objpfx),$(binaries-bounded))): Remove rule.
22499 ($(objpfx)%-bp.out): Remove rule.
22500 * config.make.in (build-bounded): Remove variable.
22501 * crypt/Makefile [$(build-bounded) = yes]
22502 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22503 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22504 append to variable.
22505 [$(build-bounded) = yes] (install-lib): Likewise.
22506 [$(build-bounded) = yes] (generated): Likewise.
22507 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22509 * intl/Makefile [$(build-bounded) = yes]
22510 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22511 * math/Makefile [$(build-bounded) = yes]
22512 ($(tests:%=$(objpfx)%-bp): Likewise.
22513 * misc/Makefile [$(build-bounded) = yes]
22514 ($(objpfx)tst-tsearch-bp): Likewise.
22515 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22516 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22518 * string/Makefile (o-objects.ob): Remove variable.
22519 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22520 (CFLAGS-.ob): Remove variable.
22521 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22522 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22523 both definitions of variable.
22524 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22525 (ASFLAGS-.ob): Remove variable.
22527 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22530 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22531 Remove __BOUNDED_POINTERS__ from condition.
22532 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22533 * string/bits/string2.h [!__NO_STRING_INLINES &&
22534 !__BOUNDED_POINTERS__]: Likewise.
22535 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22537 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22538 Remove conditional code.
22539 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22540 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22541 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22545 * csu/libc-start.c: Do not include <bp-sym.h>.
22546 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22547 * elf/dl-open.c: Do not include <bp-sym.h>.
22548 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22549 * math/fegetenv.c: Do not include <bp-sym.h>.
22550 (fegetenv): Do not use BP_SYM in versioned symbols.
22551 * nptl/sysdeps/pthread/bits/libc-lockP.h
22552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22555 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22557 (__pthread_mutex_destroy): Likewise.
22558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22559 (__pthread_mutex_lock): Likewise.
22560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22561 (__pthread_mutex_trylock): Likewise.
22562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22563 (__pthread_mutex_unlock): Likewise.
22564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22565 (__pthread_mutexattr_init): Likewise.
22566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22567 (__pthread_mutexattr_destroy): Likewise.
22568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22569 (__pthread_mutexattr_settype): Likewise.
22570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22571 (__pthread_rwlock_init): Likewise.
22572 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22573 (__pthread_rwlock_destroy): Likewise.
22574 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22575 (__pthread_rwlock_rdlock): Likewise.
22576 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22577 (__pthread_rwlock_tryrdlock): Likewise.
22578 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22579 (__pthread_rwlock_wrlock): Likewise.
22580 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22581 (__pthread_rwlock_trywrlock): Likewise.
22582 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22583 (__pthread_rwlock_unlock): Likewise.
22584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22585 (__pthread_key_create): Likewise.
22586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22587 (__pthread_setspecific): Likewise.
22588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22589 (__pthread_getspecific): Likewise.
22590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22593 (_pthread_cleanup_push_defer): Likewise.
22594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22595 (_pthread_cleanup_pop_restore): Likewise.
22596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22597 (pthread_setcancelstate): Likewise.
22598 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22600 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22601 (memchr): Do not use BP_SYM in weak_alias.
22602 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22603 (fegetenv): Do not use BP_SYM in versioned symbols.
22604 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22605 (fesetenv): Do not use BP_SYM in versioned symbols.
22606 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22607 (feupdateenv): Do not use BP_SYM in versioned symbols.
22608 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22609 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22610 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22611 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22612 (open64): Do not use BP_SYM in weak_alias.
22613 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22614 (fegetenv): Do not use BP_SYM in versioned symbols.
22615 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22616 (fesetenv): Do not use BP_SYM in versioned symbols.
22617 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22618 (feupdateenv): Do not use BP_SYM in versioned symbols.
22619 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22620 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22621 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22622 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22623 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22624 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22625 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22627 (__libc_start_main): Do not use BP_SYM.
22629 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22632 redundant return line.
22634 (denorm): Likewise.
22635 (dbl_mp): Likewise.
22636 (sub_magnitudes): Likewise.
22642 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22644 (denorm): Likewise.
22645 (dbl_mp): Likewise.
22646 (sub_magnitudes): Likewise.
22653 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22655 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22656 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22659 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22660 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22662 of __mul for squares.
22663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22667 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22668 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22670 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22673 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22675 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22676 prototype or function definition. Rename ubp_* variables and
22677 parameters. Remove argv definitions conditional on
22678 [__BOUNDED_POINTERS__].
22679 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22680 * elf/dl-runtime.c (_dl_fixup): Likewise.
22681 * include/set-hooks.h (RUN_HOOK): Likewise.
22682 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22684 * string/strcpy.c (strcpy): Do not use __unbounded.
22685 * sysdeps/generic/frame.h (struct layout): Likewise.
22686 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22687 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22688 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22689 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22690 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22691 (__backtrace): Likewise.
22692 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22694 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22695 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22696 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22698 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22699 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22700 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22701 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22702 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22703 Do not use __unbounded.
22704 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22705 Rename __unboundedrlimits parameter to rlimits in prototype.
22706 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22707 Do not use __unbounded.
22708 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22709 not use __ptrvalue.
22710 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22711 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22712 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22713 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22714 __ptrvalue or __unbounded.
22715 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22716 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22718 (__new_msgctl): Do not use __ptrvalue.
22719 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22721 (__libc_msgrcv): Do not use __ptrvalue.
22722 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22723 startup_info): Do not use __unbounded.
22724 (__libc_start_main): Likewise. Rename ubp_* variables and
22725 parameters. Remove argv definitions conditional on
22726 [__BOUNDED_POINTERS__].
22727 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22729 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22731 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22733 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22735 (__new_shmctl): Do not use __ptrvalue.
22736 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22737 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22739 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22740 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22741 (__libc_sigaction): Likewise.
22742 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22743 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22745 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22747 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22749 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22751 * string/mempcpy.c: Implement by calling memcpy.
22753 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22760 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22761 values in the mantissa.
22763 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22764 minimize writes to Z.
22765 (sub_magnitudes): Simplify code a bit.
22767 2013-02-12 Roland McGrath <roland@hack.frob.com>
22769 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22770 from the message. The linker prefixes all warnings with that already.
22772 2013-02-12 Andreas Schwab <schwab@suse.de>
22775 * posix/regexec.c (extend_buffers): Add parameter min_len.
22776 (check_matching): Pass minimum needed length.
22777 (clean_state_log_if_needed): Likewise.
22778 (get_subexp): Likewise.
22779 * posix/Makefile (tests): Add bug-regex34.
22780 (bug-regex34-ENV): Define.
22781 * posix/bug-regex34.c: New file.
22784 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22785 elements compare against the byte sequence of it, not its name.
22786 * posix/Makefile (tests): Add bug-regex35.
22787 (bug-regex35-ENV): Define.
22788 * posix/bug-regex35.c: New file.
22790 2013-02-11 Tom de Vries <tom@codesourcery.com>
22792 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22794 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22795 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22796 (CHECK_EOL): Add undef.
22798 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22800 * bits/stdlib-bsearch.h: New file.
22801 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22802 * stdlib/stdlib.h: Likewise.
22804 2013-02-11 Roland McGrath <roland@hack.frob.com>
22806 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22807 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22809 * manual/search.texi (Array Search Function): Add missing const in
22811 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22812 declaration to use rlim_t.
22813 (Basic Scheduling Functions): Remove erroneous const from
22814 sched_getparam prototype. Remove erroneous * from
22815 sched_get_priority_max and sched_get_priority_min prototypes.
22816 (Resource Usage): Fix summary @comment on vtimes to refer to
22817 sys/vtimes.h rather than vtimes.h.
22818 Add missing *s in vtimes prototype.
22819 (Limits on Resources): Fix ulimit prototype to return long int.
22820 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22821 prototypes to use long int rather than double.
22822 (BSD Random): Fix initstate and setstate to use char *, not void *.
22823 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22824 prototype to make second argument 'struct aiocb64 *const[]'.
22825 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22826 (Status of AIO Operations): Remove erroneous const in aio_return and
22827 aio_return64 prototypes.
22828 (Synchronizing I/O): Fix sync prototype to return void.
22829 * manual/startup.texi (Suboptions): Remove an erroneous const in
22830 getsubopt prototype.
22831 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22832 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22833 use size_t rather than int.
22834 (Scanning All Users): Likewise for getpwent_r.
22835 (Setting Groups): Add missing const to setgroups prototype.
22836 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22837 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22838 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22839 'const void *' rather than 'const char *'.
22840 (Host Address Functions): Likewise for inet_ntop.
22841 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22842 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22843 ssize_t for return value.
22844 (Sending Data): Likewise for send, sendto, sendmsg.
22845 (Socket Option Functions): Add a missing const in setsockopt prototype.
22846 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22847 use wchar_t for the argument.
22848 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22849 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22851 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22852 double/float/long double for second argument.
22853 Fix return types of significand, significandf, significandl.
22854 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22855 argument in fchmod prototype.
22856 (File Owner): Use uid_t and gid_t in fchown prototype.
22857 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22858 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22859 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22860 use 'const struct dirent **' as argument types to CMP function pointer
22862 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22863 (File Times): Fix summary magic @comment for struct utimbuf and utime
22864 to refer to utime.h, not time.h.
22865 * manual/string.texi (Argz Functions): Add missing const in
22866 argz_extract and argz_next prototypes.
22867 (Finding Tokens in a String): Likewise for basename.
22868 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22869 (Copying and Concatenation): Fix typo in wmemmove prototype.
22870 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22871 (Signal Stack): Remove erroneous const in sigstack prototype.
22872 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22874 (Simple Calendar Time): Likewise for stime.
22875 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22877 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22878 say sys/sysctl.h instead.
22879 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22880 and vsyslog prototypes.
22882 2013-02-11 Tom de Vries <tom@codesourcery.com>
22884 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22887 2013-02-11 Roland McGrath <roland@hack.frob.com>
22889 * misc/sys/mman.h: Fix typo in mremap comment.
22891 2013-02-08 Roland McGrath <roland@hack.frob.com>
22893 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22894 the '\0' terminator.
22896 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22899 * debug/segfault.c: Don't include <bp-checks.h>.
22900 * sysdeps/generic/bp-checks.h: Remove file.
22901 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22902 (__GETDENTS): Don't use CHECK_N.
22903 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22904 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22905 (__getgroups): Don't use CHECK_N.
22906 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22907 (setgroups): Don't use CHECK_N.
22908 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22909 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22910 (__libc_msgrcv): Don't use CHECK_N.
22911 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22912 (__libc_msgsnd): Don't use CHECK_N.
22913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22915 (__libc_pread): Don't use CHECK_N.
22916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22917 include <bp-checks.h>.
22918 (__libc_pread64): Don't use CHECK_N.
22919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22920 include <bp-checks.h>.
22921 (__libc_pwrite): Don't use CHECK_N.
22922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22923 include <bp-checks.h>.
22924 (__libc_pwrite64): Don't use CHECK_N.
22925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22927 (__libc_pread): Don't use CHECK_N.
22928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22929 include <bp-checks.h>.
22930 (__libc_pread64): Don't use CHECK_N.
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22932 include <bp-checks.h>.
22933 (__libc_pwrite): Don't use CHECK_N.
22934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22935 include <bp-checks.h>.
22936 (__libc_pwrite64): Don't use CHECK_N.
22937 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22938 (do_pread): Don't use CHECK_N.
22939 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22940 (do_pread64): Don't use CHECK_N.
22941 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22942 (do_pwrite): Don't use CHECK_N.
22943 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22944 (do_pwrite64): Don't use CHECK_N.
22945 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22946 (__libc_readv): Don't use CHECK_N.
22947 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22948 (semop): Don't use CHECK_N.
22949 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22951 (semtimedop): Don't use CHECK_N.
22952 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22953 (__libc_pread): Don't use CHECK_N.
22954 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22956 (__libc_pread64): Don't use CHECK_N.
22957 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22959 (__libc_pwrite): Don't use CHECK_N.
22960 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22962 (__libc_pwrite64): Don't use CHECK_N.
22963 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22965 (__libc_msgrcv): Don't use CHECK_N.
22966 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22967 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22968 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22969 (__libc_writev): Don't use CHECK_N.
22971 2013-02-08 Roland McGrath <roland@hack.frob.com>
22973 * string/strcpy.c: Removed unused variable.
22975 * Makeconfig (+sysdep-includes): Define with := rather than =.
22976 Use an existing include/ subdir of each sysdeps dir before it.
22978 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22980 * nscd/connection.c (register_traced_file): Comment function.
22981 [HAVE_INOTIFY] (union __inev): Define.
22982 [HAVE_INOTIFY] (inotify_check_files): New function.
22983 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22984 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22986 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22988 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22990 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22991 loaded if not already and that a failure is permanent.
22993 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22996 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22997 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22999 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23002 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23003 (CHECK_1_NULL_OK): Likewise.
23004 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23005 (__fxstat): Do not use CHECK_1.
23006 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23008 (___fxstat64): Do not use CHECK_1.
23009 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23011 (__fxstatat): Do not use CHECK_1.
23012 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23014 (__fxstatat64): Do not use CHECK_1.
23015 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23017 (__fxstat): Do not use CHECK_1.
23018 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23020 (__fxstatat): Do not use CHECK_1.
23021 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23023 (__getresgid): Do not use CHECK_1.
23024 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23026 (__getresuid): Do not use CHECK_1.
23027 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23029 (__lxstat): Do not use CHECK_1.
23030 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23032 (__old_msgctl): Do not use CHECK_1.
23033 (__new_msgctl): Likewise.
23034 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23036 (__new_setrlimit): Do not use CHECK_1.
23037 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23039 (__old_shmctl): Do not use CHECK_1.
23040 (__new_shmctl): Likewise.
23041 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23043 (__xstat): Do not use CHECK_1.
23044 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23045 (__lxstat): Do not use CHECK_1.
23046 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23048 (___lxstat64): Do not use CHECK_1.
23049 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23050 (__old_msgctl): Do not use CHECK_1.
23051 (__new_msgctl): Likewise.
23052 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23054 (__gettimeofday): Do not use CHECK_1.
23055 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23056 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23057 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23059 (__gettimeofday): Do not use CHECK_1.
23060 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23061 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23062 (__new_shmctl): Do not use CHECK_1.
23063 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23065 (do_sigtimedwait): Do not use CHECK_1.
23066 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23068 (do_sigwaitinfo): Do not use CHECK_1.
23069 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23071 (msgctl): Do not use CHECK_1.
23072 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23074 (shmctl): Do not use CHECK_1.
23075 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23076 (ustat): Do not use CHECK_1.
23077 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23079 (__fxstat): Do not use CHECK_1.
23080 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23082 (__fxstatat): Do not use CHECK_1.
23083 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23085 (__lxstat): Do not use CHECK_1.
23086 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23088 (__xstat): Do not use CHECK_1.
23089 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23090 (__xstat): Do not use CHECK_1.
23091 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23092 (___xstat64): Do not use CHECK_1.
23095 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23097 (CHECK_BOUNDS_HIGH): Likewise.
23098 * string/strcpy.c: Do not include <bp-checks.h>.
23099 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23101 2013-02-07 Roland McGrath <roland@hack.frob.com>
23103 * nscd/nscd-client.h (__nscd_drop_map_ref):
23104 Add __attribute__ ((unused)).
23105 * nis/nss-nisplus.h (niserr2nss): Likewise.
23107 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23108 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23110 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23111 Remove inline keyword.
23112 * include/rounding-mode.h (round_away): Likewise.
23113 * libio/wfileops.c (adjust_wide_data): Likewise.
23114 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23115 (__m128i_strloadu_tolower): Likewise.
23116 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23117 (__m128i_strloadu_tolower): Likewise.
23118 * time/mktime.c (ydhms_diff): Likewise.
23119 * locale/elem-hash.h (elem_hash): Likewise.
23120 * locale/setlocale.c (setdata): Likewise.
23121 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23122 (re_string_wchar_at): Likewise.
23123 (bitset_not, bitset_merge, bitset_mask): Likewise.
23124 [!(__GNUC__ > 3)] (inline): Remove macro.
23125 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23126 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23127 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23128 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23129 * string/memcmp.c (memcmp_bytes): Likewise.
23130 * locale/programs/locarchive.c (compute_hashval): Likewise.
23131 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23132 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23133 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23134 * nss/getent.c (print_rpc, print_protocols): Likewise.
23135 (print_passwd, print_group, print_aliases): Likewise.
23136 * nis/nss-nisplus.h (niserr2nss): Likewise.
23137 * nscd/connections.c (restart_p): Likewise.
23138 Change return type to bool.
23140 2013-02-05 Roland McGrath <roland@hack.frob.com>
23142 * Makeconfig (all-Depend-files): Add existing
23143 $(sorted-subdirs:=/Depend) files.
23144 (all-subdirs): Remove nss.
23145 * sysdeps/unix/inet/Subdirs: Add it here instead.
23146 * hesiod/Depend: New file.
23148 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23149 instead of calling alloca.
23151 * io/lseek.c (__lseek): Rename to __libc_lseek.
23152 Define __lseek as an alias.
23154 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23156 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23158 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23159 else clause and remove check for non-standard endianness.
23161 2013-02-04 David S. Miller <davem@davemloft.net>
23163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23165 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23168 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23169 (__ubp_memchr): Remove prototype.
23170 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23171 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23172 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23173 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23174 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23176 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23177 (__ubp_memchr): Likewise.
23178 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23179 (__ubp_memchr): Likewise.
23180 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23181 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23182 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23183 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23185 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23186 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23187 (__getcwd): Do not use CHECK_STRING.
23188 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23190 (__real_chown): Do not use CHECK_STRING.
23191 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23193 (fchownat): Do not use CHECK_STRING.
23194 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23196 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23198 (__lchown): Do not use CHECK_STRING.
23199 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23200 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23201 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23202 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23204 include <bp-checks.h>.
23205 (truncate64): Do not use CHECK_STRING.
23206 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23208 (__real_chown): Do not use CHECK_STRING.
23209 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23211 (__lchown): Do not use CHECK_STRING.
23212 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23214 (__chown): Do not use CHECK_STRING.
23215 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23217 (truncate64): Do not use CHECK_STRING.
23218 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23220 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23221 (__xmknod): Do not use CHECK_STRING.
23222 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23224 (__xmknodat): Do not use CHECK_STRING.
23225 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23226 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23228 2013-02-04 Andreas Schwab <schwab@suse.de>
23231 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23232 * include/netdb.h: Likewise for h_errno.
23233 * elf/tst-stackguard1.c: Include <tls.h>.
23235 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23237 * elf/link.h (struct link_map): Extend the l_addr comment.
23238 * include/link.h (struct link_map): Likewise.
23240 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23243 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23244 (BOUNDED_1): Remove macro.
23245 * debug/backtrace.c: Don't include <bp-checks.h>.
23246 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23247 (__backtrace): Likewise.
23248 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23250 (__backtrace): Don't use BOUNDED_1.
23251 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23253 (__backtrace): Don't use BOUNDED_1.
23254 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23255 (__backtrace): Don't use BOUNDED_1.
23256 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23257 (shmat): Don't use BOUNDED_N.
23259 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23262 * sysdeps/generic/bp-start.h: Remove file.
23263 * csu/libc-start.c: Don't include <bp-start.h>.
23264 (LIBC_START_MAIN): Set up __environ directly instead of using
23265 INIT_ARGV_and_ENVIRON.
23266 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23270 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23272 (CHECK_FCNTL): Likewise.
23273 (CHECK_N_PAGES): Likewise.
23276 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23278 (CHECK_SIGSET_NULL_OK): Likewise.
23279 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23281 (sigpending): Don't use CHECK_SIGSET.
23282 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23284 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23285 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23287 (do_sigsuspend): Don't use CHECK_SIGSET.
23288 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23290 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23291 (do_sigwait): Don't use CHECK_SIGSET.
23292 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23294 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23295 include <bp-checks.h>.
23296 (sigpending): Don't use CHECK_SIGSET.
23297 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23298 include <bp-checks.h>.
23299 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23300 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23302 (sigpending): Don't use CHECK_SIGSET.
23303 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23305 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23308 * sysdeps/generic/bp-semctl.h: Remove file.
23309 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23310 <bp-checks.h> and <bp-semctl.h>.
23311 (__old_semctl): Don't use CHECK_SEMCTL.
23312 (__new_semctl): Likewise.
23313 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23315 (__old_semctl): Don't use CHECK_SEMCTL.
23316 (__new_semctl): Likewise.
23317 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23318 <bp-checks.h> and <bp-semctl.h>.
23319 (__old_semctl): Don't use CHECK_SEMCTL.
23320 (__new_semctl): Likewise.
23321 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23322 <bp-checks.h> and <bp-semctl.h>.
23323 (semctl): Don't use CHECK_SEMCTL.
23326 * Makerules (elide-bp-thunks): Remove variable.
23327 (elide-routines.oS): Don't use $(elide-bp-thunks).
23328 (elide-routines.os): Likewise.
23329 (elide-routines.o): Likewise.
23330 (elide-routines.op): Likewise.
23331 (elide-routines.og): Likewise.
23332 (objects): Don't use $(bp-thunks).
23333 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23335 (common-generated): Do not add s-proto-bp.d.
23336 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23339 Do not generate makefile rules for bounded-pointer thunks.
23340 * sysdeps/generic/bp-thunks.h: Remove file.
23341 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23342 * sysdeps/unix/s-proto-bp.S: Likewise.
23345 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23346 parts of result separately when argument is not close to line from
23347 -i to i and one part of argument is small.
23348 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23349 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23350 * math/libm-test.inc (cacos_test): Add more tests.
23351 (casin_test): Likewise.
23352 (casinh_test): Likewise.
23353 * sysdeps/i386/fpu/libm-test-ulps: Update.
23354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23356 2013-01-31 David S. Miller <davem@davemloft.net>
23358 * po/de.po: Update from translation team.
23360 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23362 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23364 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23366 * configure.in (_AC_PROG_CC_C89): New definition.
23367 * configure: Regenerate.
23369 * configure.in (AC_PROG_CPP): New definition.
23370 * configure: Regenerate.
23372 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23374 * debug/tst-backtrace.h: New file.
23375 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23376 (ret): Remove variable.
23378 (FAIL): Remove macro.
23379 (NO_INLINE): Likewise.
23380 (fn1): Use match function instead of strstr.
23381 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23382 (ret): Remove variable.
23384 (FAIL): Remove macro.
23385 (NO_INLINE): Likewise.
23386 (fn): Use match function instead of strstr.
23387 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23388 (ret): Remove variable.
23390 (FAIL): Remove macro.
23391 (NO_INLINE): Likewise.
23392 (handle_signal): Use match function instead of strstr.
23393 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23394 (ret): Remove variable.
23396 (FAIL): Remove macro.
23397 (NO_INLINE): Likewise.
23398 (handle_signal): Use match function instead of strstr.
23400 2013-01-23 Roland McGrath <roland@hack.frob.com>
23402 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23404 2013-01-23 David S. Miller <davem@davemloft.net>
23406 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23407 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23408 argument of CAS if possible.
23409 * sysdeps/sparc/sparc64/bits/atomic.h
23410 (__arch_compare_and_exchange_val_32_acq): Likewise.
23411 (__arch_compare_and_exchange_val_64_acq): Likewise.
23413 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23415 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23416 * sysdeps/posix/ulimit.c: ... this.
23417 Include <limits.h>.
23418 * sysdeps/unix/bsd/ulimit.c: Remove file.
23420 2013-01-23 Adam Conrad <adconrad@0c3.net>
23422 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23423 (LDFLAGS-tst-array5): Likewise.
23425 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23428 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23429 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23430 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23431 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23433 2013-01-21 David S. Miller <davem@davemloft.net>
23435 * sysdeps/sparc/backtrace.c: New file.
23436 * sysdeps/sparc/sparc32/backtrace.h: New file.
23437 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23438 * sysdeps/sparc/sparc64/backtrace.h: New file.
23439 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23440 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23443 2013-01-21 Andreas Schwab <schwab@suse.de>
23446 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23449 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23455 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23456 Mark Mitchell <mark@codesourcery.com>
23457 Tom de Vries <tom@codesourcery.com>
23458 Paul Pluzhnikov <ppluzhnikov@google.com>
23460 * debug/tst-backtrace2.c: New file.
23461 * debug/tst-backtrace3.c: Likewise.
23462 * debug/tst-backtrace4.c: Likewise.
23463 * debug/tst-backtrace5.c: Likewise.
23464 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23465 (CFLAGS-tst-backtrace3.c): Likewise.
23466 (CFLAGS-tst-backtrace4.c): Likewise.
23467 (CFLAGS-tst-backtrace5.c): Likewise.
23468 (LDFLAGS-tst-backtrace2): Likewise.
23469 (LDFLAGS-tst-backtrace3): Likewise.
23470 (LDFLAGS-tst-backtrace4): Likewise.
23471 (LDFLAGS-tst-backtrace5): Likewise.
23472 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23473 tst-backtrace4 and tst-backtrace5.
23475 2013-01-18 Anton Blanchard <anton@samba.org>
23476 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23478 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23479 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23480 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23481 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23483 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23484 "+r" and remove output regs list as redundant. Add explicit inline
23485 asm to specify register of return val to work around compiler codegen
23486 bug. Remove (int) cast on return value. Add return type parameter to
23487 use in macro so that this macro does not truncate return value for
23489 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23490 pass to INTERNAL_VSYSCALL_NCS.
23491 (INLINE_VSYSCALL): Add 'long int' as return type to
23492 INTERNAL_VSYSCALL_NCS macro invocation.
23493 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23494 INTERNAL_VSYSCALL_NCS macro invocation.
23495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23497 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23500 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23501 Fix application of SIMD FP exception mask.
23503 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23504 mp_no from a power of two.
23505 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23506 __mpexp_twomm1. Use __pow_mp.
23508 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23511 2013-01-17 David S. Miller <davem@davemloft.net>
23513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23515 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23518 * include/complex.h: Condition contents on [!_COMPLEX_H].
23519 (__kernel_casinhf): New prototype.
23520 (__kernel_casinh): Likewise.
23521 (__kernel_casinhl): Likewise.
23522 * math/Makefile (libm_calls): Add k_casinh.
23523 * math/k_casinh.c: New file.
23524 * math/k_casinhf.c: Likewise.
23525 * math/k_casinhl.c: Likewise.
23526 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23527 finite nonzero arguments.
23528 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23529 finite nonzero arguments.
23530 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23531 finite nonzero arguments.
23532 * math/s_casinh.c: Do not include <float.h>.
23533 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23534 * math/s_casinhf.c: Do not include <float.h>.
23535 (__casinhf): Move code for finite nonzero arguments to
23537 * math/s_casinhl.c: Do not include <float.h>.
23538 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23540 (__casinhl): Move code for finite nonzero arguments to
23542 * math/libm-test.inc (cacos_test): Add more tests.
23543 * sysdeps/i386/fpu/libm-test-ulps: Update.
23544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23546 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23548 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23549 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23550 [!HAVE_MREMAP]: Remove [defined linux] case.
23551 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23553 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23555 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23557 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23559 * elf/elf.h (R_386_SIZE32): New relocation.
23560 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23562 (elf_machine_rela): Likewise.
23563 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23564 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23566 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23568 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23569 (FP_FAST_FMA): Do not define.
23570 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23571 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23572 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23573 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23574 !_SOFT_FLOAT]: Likewise.
23575 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23576 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23578 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23579 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23580 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23581 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23582 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23583 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23586 2013-01-16 Andreas Schwab <schwab@suse.de>
23589 * include/stdlib.h (__mktemp): Add declaration.
23590 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23591 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23593 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23595 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23597 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23598 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23599 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23601 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23602 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23604 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23606 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23607 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23608 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23610 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23611 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23613 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23615 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23617 2013-01-15 David S. Miller <davem@davemloft.net>
23619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23620 trunc{,f} to libm-sysdep_routes.
23621 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23631 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23632 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23633 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23634 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23635 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23636 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23639 nearbyint{,f} to libm-sysdep_routes.
23640 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23651 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23653 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23654 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23656 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23657 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23658 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23660 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23661 libc_feholdexcept and libc_fesetenv.
23663 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23665 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23667 2013-01-14 David S. Miller <davem@davemloft.net>
23669 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23670 (SPARC_ASM_VIS2_IFUNC): Likewise.
23671 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23673 use of 'siam' instruction.
23674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23707 routines to libm-sysdep_routines.
23708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23711 fdim/fdimf to libm-sysdep_routines.
23712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23720 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23721 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23722 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23723 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23725 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23727 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23728 to optimize copies.
23730 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23735 local variable MPTWO.
23736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23739 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23741 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23744 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23746 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23748 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23750 * manual/pattern.texi (glob_t): Document gl_flags.
23751 (glob64_t): Likewise.
23753 2013-01-11 David S. Miller <davem@davemloft.net>
23755 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23756 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23757 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23758 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23759 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23760 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23761 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23762 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23763 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23764 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23765 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23766 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23767 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23769 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23770 sparc V9 rather than using V8 code.
23771 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23772 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23774 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23776 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23779 2013-01-11 Roland McGrath <roland@hack.frob.com>
23781 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23782 not in the main loop.
23783 * configure: Regenerated.
23785 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23787 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23788 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23790 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23791 [!__GLIBC_HAVE_LONG_LONG] case.
23792 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23793 condition to just #else.
23794 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23795 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23796 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23797 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23799 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23800 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23801 #elif condition to just #else.
23802 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23803 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23804 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23805 #elif condition to just #else.
23807 2013-01-11 Steve Ellcey <sellcey@mips.com>
23809 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23810 (EF_MIPS_ARCH_64): Fix value.
23811 (EF_MIPS_ARCH_32R2): New.
23812 (EF_MIPS_ARCH_64R2): New.
23814 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23816 * Makeconfig (+link-pie-before-libc): New.
23817 (+link-pie-after-libc): Likewise.
23818 (+link-pie-tests): Likewise.
23819 (+link-pie): Rewritten.
23820 (link-before-libc): Remove $(config-LDFLAGS).
23821 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23822 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23823 (config-LDFLAGS): Renamed to ...
23824 (rtld-LDFLAGS): This.
23825 (rtld-tests-LDFLAGS): New macro.
23826 (link-libc-rpath-link): Likewise.
23827 (link-libc-tests-rpath-link): Likewise.
23828 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23829 (link-libc): Prepand $(link-libc-rpath-link).
23830 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23831 (test-program-prefix): New macro.
23832 (test-via-rtld-prefix): Likewise.
23833 (test-program-cmd): Likewise.
23834 (host-test-program-cmd): Likewise.
23835 * Makefile ($(common-objpfx)testrun.sh): Replace
23836 $(run-program-prefix) with $(test-program-prefix).
23837 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23839 ($(common-objpfx)shlib.lds): Likewise.
23840 (build-module-helper): Likewise.
23841 ($(common-objpfx)format.lds): Likewise.
23842 * Rules (binaries-pie-tests): New.
23843 (binaries-pie-notests): Likewise.
23844 (binaries-pie): Rewritten.
23845 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23846 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23847 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23848 (make-test-out): Replace $(host-built-program-cmd) with
23849 $(host-test-program-cmd).
23850 * config.make.in (build-hardcoded-path-in-tests): New variable.
23851 * configure.in (--enable-hardcoded-path-in-tests): New configure
23853 (hardcoded_path_in_tests): New AC_SUBST.
23854 * configure: Regenerated.
23855 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23856 $(built-program-cmd) with $(test-program-cmd).
23857 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23858 (test_program_cmd): This.
23859 * elf/Makefile ($(objpfx)order.out): Run test with
23860 $(test-program-prefix).
23861 ($(objpfx)order2.out): Likewise.
23862 ($(objpfx)tst-initorder.out): Likewise.
23863 ($(objpfx)tst-initorder2.out): Likewise.
23864 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23865 $(test-program-cmd).
23866 ($(objpfx)tst-array1-static.out): Likewise.
23867 ($(objpfx)tst-array2.out): Likewise.
23868 ($(objpfx)tst-array3.out): Likewise.
23869 ($(objpfx)tst-array4.out): Likewise.
23870 ($(objpfx)tst-array5.out): Likewise.
23871 ($(objpfx)tst-array5-static.out): Likewise.
23872 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23873 $(test-program-cmd).
23874 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23875 $(run-program-prefix) with $(test-program-prefix).
23876 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23877 (test_program_prefix): This.
23878 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23879 $(run-program-prefix) with $(test-program-prefix).
23880 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23881 (test_program_prefix): This.
23882 * iconvdata/tst-tables.sh: Likewise.
23883 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23884 $(run-program-prefix) with $(test-program-prefix).
23885 ($(objpfx)tst-translit.out): Likewise.
23886 ($(objpfx)tst-gettext2.out): Likewise.
23887 ($(objpfx)tst-gettext4.out): Likewise.
23888 ($(objpfx)tst-gettext6.out): Likewise.
23889 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23890 (test_program_prefix): This.
23891 * intl/tst-gettext2.sh: Likewise.
23892 * intl/tst-gettext4.sh Likewise.
23893 * intl/tst-gettext6.sh: Likewise.
23894 * intl/tst-translit.sh: Likewise.
23895 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23896 with $(test-program-cmd).
23897 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23898 $(run-program-prefix) with $(test-program-prefix).
23899 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23900 (test_program_prefix): This.
23901 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23902 $(run-program-prefix) with $(test-program-prefix).
23903 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23904 (test_program_prefix): This.
23905 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23906 * posix/Makefile ($(objpfx)globtest.out): Replace
23907 $(run-via-rtld-prefix) and $(test-wrapper) with
23908 $(test-program-prefix) and $(test-via-rtld-prefix).
23909 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23910 $(test-program-prefix).
23911 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23912 $(host-test-program-cmd).
23913 (tst-spawn-ARGS): Likewise.
23914 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23915 $(test-program-prefix).
23916 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23917 (test_via_rtld_prefix): This.
23918 (test_wrapper): Renamed to ...
23919 (test_program_prefix): This.
23920 (run_program_prefix): Replaced by test_program_prefix.
23921 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23922 (test_program_prefix): This.
23923 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23924 with $(host-test-program-cmd).
23925 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23926 $(run-program-prefix) with $(test-program-prefix).
23927 ($(objpfx)tst-printf.out): Likewise.
23928 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23929 $(test-program-cmd).
23930 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23931 (test_program_prefix): This.
23932 * stdio-common/tst-unbputc.sh: Likewise.
23933 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23934 $(run-program-prefix) with $(test-program-prefix).
23935 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23936 (test_program_prefix): This.
23937 * string/Makefile ($(objpfx)tst-svc.out): Replace
23938 $(built-program-cmd) with $(test-program-cmd).
23940 2013-01-11 Andreas Jaeger <aj@suse.de>
23943 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23944 value. Sync with Linux 3.7.
23946 2013-01-10 David S. Miller <davem@davemloft.net>
23948 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23949 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23950 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23952 2013-01-10 Roland McGrath <roland@hack.frob.com>
23954 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23956 * configure: Regenerated.
23958 2013-01-10 David S. Miller <davem@davemloft.net>
23960 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23961 sparc V9 rather than using V8 code.
23962 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23963 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23965 2013-01-10 Roland McGrath <roland@hack.frob.com>
23967 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23968 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23969 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23970 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23971 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23972 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23973 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23974 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23975 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23976 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23977 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23978 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23979 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23980 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23981 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23982 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23983 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23984 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23985 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23986 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23987 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23988 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23989 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23990 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23991 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23992 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23993 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23995 2013-01-10 David S. Miller <davem@davemloft.net>
23997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23999 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24001 * posix/Makefile (tests-static): New variable.
24002 (tests): Add $(tests-static).
24003 (tst-exec-static-ARGS): New variable.
24004 (tst-spawn-static-ARGS): Likewise.
24005 * posix/tst-exec-static.c: New file.
24006 * posix/tst-spawn-static.c: Likewise.
24007 * posix/tst-exec.c: Support run directly.
24008 * posix/tst-spawn.c: Likewise.
24010 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24012 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24014 * math/bits/mathcalls.h (llrint): Likewise.
24015 (llround): Likewise.
24016 * stdlib/stdlib.h (struct drand48_data): Likewise.
24017 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24018 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24019 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24021 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24023 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24024 (elf_greg_t): Likewise.
24025 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24026 (__jmp_buf): Likewise.
24027 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24029 (llrint): Likewise, for all definitions.
24030 (llrintl): Likewise.
24032 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24033 Remove [__GNUC__] condition.
24034 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24035 condition to just [__USE_ISOC99].
24036 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24038 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24041 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24042 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24044 (_POSIX_V6_ILP32_OFF32): Likewise.
24045 (_XBS5_ILP32_OFF32): Likewise.
24046 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24047 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24049 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24051 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24053 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24054 doubles __mpexp_twomm1. Adjust usage.
24055 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24058 2013-01-10 Andreas Schwab <schwab@suse.de>
24061 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24062 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24064 2013-01-09 David S. Miller <davem@davemloft.net>
24067 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24068 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24069 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24070 (TCP_FASTOPEN): Define.
24071 (tcp_repair_opt): New structure.
24072 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24074 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24075 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24076 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24077 (tcp_cookie_transactions): New structure.
24079 2013-01-09 Anton Blanchard <anton@samba.org>
24081 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24082 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24083 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24084 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24086 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24088 * include/features.h (__USE_ANSI): Remove.
24090 2013-01-09 Roland McGrath <roland@hack.frob.com>
24092 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24094 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24096 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24098 * sysdeps/s390/fpu/libm-test-ulps: Update.
24100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24102 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24106 (denorm): Likewise.
24107 (__mp_dbl): Likewise.
24108 (__dbl_mp): Likewise.
24109 (add_magnitudes): Likewise.
24110 (sub_magnitudes): Likewise.
24116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24120 (denorm): Likewise.
24121 (__mp_dbl): Likewise.
24122 (__dbl_mp): Likewise.
24123 (add_magnitudes): Likewise.
24124 (sub_magnitudes): Likewise.
24130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24134 (denorm): Likewise.
24135 (__mp_dbl): Likewise.
24136 (__dbl_mp): Likewise.
24137 (add_magnitudes): Likewise.
24138 (sub_magnitudes): Likewise.
24145 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24147 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24148 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24149 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24150 2 && __USE_EXTERN_INLINES]: Likewise.
24152 2013-01-08 Andreas Jaeger <aj@suse.de>
24155 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24157 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24158 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24160 2013-01-07 Anton Blanchard <anton@samba.org>
24162 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24163 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24164 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24165 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24166 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24167 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24168 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24169 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24171 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24172 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24173 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24174 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24175 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24176 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24177 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24178 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24179 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24180 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24181 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24182 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24183 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24184 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24185 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24186 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24187 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24188 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24189 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24190 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24191 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24192 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24194 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24195 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24196 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24197 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24198 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24199 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24200 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24201 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24202 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24203 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24204 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24206 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24208 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24209 (__MALLOC_PMT): Likewise.
24210 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24211 [__GNUC__], only on [_LIBC].
24212 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24213 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24214 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24215 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24216 forward declaration.
24217 (realloc_hook_ini): Likewise.
24218 (memalign_hook_ini): Likewise.
24219 (__libc_memalign): Do not use __MALLOC_PMT in variable
24221 (__libc_valloc): Likewise.
24222 (__libc_pvalloc): Likewise.
24223 (__libc_calloc): Likewise.
24224 (__posix_memalign): Likewise.
24227 * math/s_casinh.c: Include <float.h>.
24228 (__casinh): Do not do computation with squaring and square root
24229 for large arguments.
24230 * math/s_casinhf.c: Include <float.h>.
24231 (__casinhf): Do not do computation with squaring and square root
24232 for large arguments.
24233 * math/s_casinhl.c: Include <float.h>.
24234 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24235 (__casinhl): Do not do computation with squaring and square root
24236 for large arguments.
24237 * math/libm-test.inc (casin_test): Add more tests.
24238 (casinh_test): Likewise.
24239 * sysdeps/i386/fpu/libm-test-ulps: Update.
24240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24242 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24244 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24245 (__x86_64_raw_data_cache_size): Likewise.
24246 (__x86_64_data_cache_size_half): Likewise.
24247 (__x86_64_raw_data_cache_size_half): Likewise.
24248 (__x86_64_shared_cache_size): Likewise.
24249 (__x86_64_raw_shared_cache_size): Likewise.
24250 (__x86_64_shared_cache_size_half): Likewise.
24251 (__x86_64_raw_shared_cache_size_half): Likewise.
24252 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24254 (__x86_data_cache_size): This.
24255 (__x86_64_raw_data_cache_size): Renamed to ...
24256 (__x86_raw_data_cache_size): This.
24257 (__x86_64_data_cache_size_half): Renamed to ...
24258 (__x86_data_cache_size_half): This.
24259 (__x86_64_raw_data_cache_size_half): Renamed to ...
24260 (__x86_raw_data_cache_size_half): This.
24261 (__x86_64_shared_cache_size): Renamed to ...
24262 (__x86_shared_cache_size): This.
24263 (__x86_64_raw_shared_cache_size): Renamed to ...
24264 (__x86_raw_shared_cache_size): This.
24265 (__x86_64_shared_cache_size_half): Renamed to ...
24266 (__x86_shared_cache_size_half): This.
24267 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24268 (__x86_raw_shared_cache_size_half): This.
24269 * sysdeps/x86_64/memcpy.S: Updated.
24270 * sysdeps/x86_64/memset.S: Likewise.
24271 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24272 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24273 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24275 2013-01-04 David S. Miller <davem@davemloft.net>
24277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24279 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24281 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24282 1 to avoid redefinition warning.
24283 (__USE_GNU): Don't define.
24284 (init_signaling_nan): Protoize.
24286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24288 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24290 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24292 (__cpymn): Likewise.
24293 (norm): Remove commented code.
24294 (denorm): Likewise.
24295 (__mp_dbl): Likewise.
24297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24298 (__cpymn): Likewise.
24299 (norm): Remove commented code.
24300 (denorm): Likewise.
24301 (__mp_dbl): Likewise.
24304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24305 mp_no value for 1.0 and 2.0.
24306 (norm): Use RADIXI instead of radixi.d.
24307 (denorm): Likewise.
24308 (__mul): Use 0.0 instead of zero.d.
24309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24310 mp_no value for 1.0 and 2.0.
24311 (norm): Use RADIXI instead of radixi.d.
24312 (denorm): Likewise.
24313 (__mul): Use 0.0 instead of zero.d.
24315 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24318 * math/s_casinh.c (__casinh): Reduce finite argument to first
24319 quadrant then set signs of results at the end.
24320 * math/s_casinhf.c (__casinhf): Likewise.
24321 * math/s_casinhl.c (__casinhl): Likewise.
24322 * math/libm-test.inc (casin_test): Add more tests.
24323 (casinh_test): Likewise.
24324 * sysdeps/i386/fpu/libm-test-ulps: Update.
24325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24327 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24329 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24331 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24333 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24335 (denorm): Likewise.
24336 (__mp_dbl): Likewise.
24339 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24340 and adjust the header comment.
24342 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24343 variable name from declaration.
24345 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24348 Initialize COMMON_CPUID_INDEX_7 element.
24349 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24350 (CPUID_RTM): Likewise.
24351 (HAS_RTM): Likewise.
24352 (COMMON_CPUID_INDEX_7): New enum.
24354 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24357 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24358 size is zero, record memory as freed.
24360 2013-01-03 Andreas Jaeger <aj@suse.de>
24362 * po/ia.po: Add new Interlingua translation.
24364 2012-01-03 Allan McRae <allan@archlinux.org>
24366 * locale/programs/localedef.c: Fix description of '--posix' flag.
24368 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24370 * NEWS: Update dates in second copyright notice.
24371 * README: Update copyright dates in example.
24372 * manual/libc.texinfo: Update copyright dates.
24373 * scripts/test-installation.pl: Update copyright date in --version
24376 * hurd/ctty-input.c: Fix copyright notice formatting.
24377 * hurd/ctty-output.c: Likewise.
24378 * hurd/dtable.c: Likewise.
24379 * hurd/hurd-raise.c: Likewise.
24380 * hurd/hurdprio.c: Likewise.
24381 * hurd/msgportdemux.c: Likewise.
24382 * misc/sys/file.h: Likewise.
24383 * misc/sys/ioctl.h: Likewise.
24384 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24385 * sysdeps/mach/hurd/chdir.c: Likewise.
24386 * sysdeps/mach/hurd/fchdir.c: Likewise.
24387 * sysdeps/mach/hurd/rename.c: Likewise.
24388 * sysdeps/mach/hurd/rmdir.c: Likewise.
24389 * sysdeps/mach/hurd/seekdir.c: Likewise.
24390 * sysdeps/mach/hurd/setsid.c: Likewise.
24391 * sysdeps/posix/wait3.c: Likewise.
24393 * All files with FSF copyright notices: Update copyright dates
24394 using scripts/update-copyrights.
24395 * intl/plural.c: Regenerated.
24396 * locale/programs/charmap-kw.h: Likewise.
24397 * locale/programs/locfile-kw.h: Likewise.
24399 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24401 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24404 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24405 calculation loop and add branch prediction.
24407 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24408 check access beyond bounds of m1np.
24410 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24412 (__inv): Remove local variable MPTWO to use the global
24414 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24415 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24417 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24418 MP3HALFS static const.
24420 2013-01-01 David S. Miller <davem@davemloft.net>
24422 * po/ca.po: Update from translation team.
24424 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24426 * scripts/update-copyrights: New file.
24427 * Makeconfig: Reformat copyright notice.
24428 * ctype/ctype.h: Likewise.
24429 * debug/swprintf_chk.c: Likewise.
24430 * elf/dl-cache.c: Likewise.
24431 * elf/dl-debug.c: Likewise.
24432 * elf/dl-object.c: Likewise.
24433 * grp/initgroups.c: Likewise.
24434 * hurd/Makefile: Likewise.
24435 * hurd/hurd/signal.h: Likewise.
24436 * hurd/hurdfault.c: Likewise.
24437 * hurd/hurdioctl.c: Likewise.
24438 * hurd/hurdlookup.c: Likewise.
24439 * hurd/intr-msg.c: Likewise.
24440 * iconv/gconv_open.c: Likewise.
24441 * libio/swprintf.c: Likewise.
24442 * locale/lc-ctype.c: Likewise.
24443 * locale/nl_langinfo.c: Likewise.
24444 * mach/Machrules: Likewise.
24445 * mach/Makefile: Likewise.
24446 * malloc/obstack.h: Likewise.
24447 * manual/Makefile: Likewise.
24448 * manual/tsort.awk: Likewise.
24449 * misc/bits/stab.def: Likewise.
24450 * nis/nis_print_group_entry.c: Likewise.
24451 * nis/nis_table.c: Likewise.
24452 * nis/nss_compat/compat-pwd.c: Likewise.
24453 * nis/nss_compat/compat-spwd.c: Likewise.
24454 * po/Makefile: Likewise.
24455 * posix/fnmatch.c: Likewise.
24456 * posix/regex.h: Likewise.
24457 * resolv/Makefile: Likewise.
24458 * resolv/nss_dns/dns-network.c: Likewise.
24459 * resolv/res_hconf.c: Likewise.
24460 * scripts/gen-sorted.awk: Likewise.
24461 * soft-fp/soft-fp.h: Likewise.
24462 * stdio-common/printf.h: Likewise.
24463 * stdlib/monetary.h: Likewise.
24464 * stdlib/random.c: Likewise.
24465 * stdlib/random_r.c: Likewise.
24466 * sysdeps/generic/Makefile: Likewise.
24467 * sysdeps/gnu/Makefile: Likewise.
24468 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24469 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24470 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24472 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24473 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24474 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24475 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24476 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24477 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24478 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24479 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24480 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24481 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24482 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24483 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24484 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24486 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24487 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24488 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24489 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24490 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24491 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24492 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24493 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24494 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24495 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24496 * sysdeps/mach/hurd/errnos.awk: Likewise.
24497 * sysdeps/mach/hurd/fork.c: Likewise.
24498 * sysdeps/mach/hurd/getcwd.c: Likewise.
24499 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24500 * sysdeps/mach/hurd/mmap.c: Likewise.
24501 * sysdeps/mach/hurd/utimes.c: Likewise.
24502 * sysdeps/mach/hurd/xmknod.c: Likewise.
24503 * sysdeps/posix/profil.c: Likewise.
24504 * sysdeps/posix/readdir_r.c: Likewise.
24505 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24506 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24507 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24508 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24510 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24511 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24512 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24514 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24515 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24516 * sysdeps/pthread/lio_listio.c: Likewise.
24517 * sysdeps/sparc/dl-procinfo.h: Likewise.
24518 * sysdeps/unix/i386/sysdep.S: Likewise.
24519 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24520 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24521 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24522 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24524 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24525 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24526 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24527 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24528 * sysdeps/wordsize-32/divdi3.c: Likewise.
24529 * time/sys/time.h: Likewise.
24530 * wcsmbs/Makefile: Likewise.
24532 2013-01-01 David S. Miller <davem@davemloft.net>
24534 * po/fr.po: Update from translation team.
24536 * catgets/gencat.c: Update copyright year.
24537 * csu/version.c: Likewise.
24538 * debug/catchsegv.sh: Likewise.
24539 * debug/pcprofiledump.c: Likewise.
24540 * debug/xtrace.sh: Likewise.
24541 * elf/ldconfig.c: Likewise.
24542 * elf/ldd.bash.in: Likewise.
24543 * elf/pldd.c: Likewise.
24544 * elf/sotruss.ksh: Likewise.
24545 * elf/sprof.c: Likewise.
24546 * iconv/iconv_prog.c: Likewise.
24547 * iconv/iconvconfig.c: Likewise.
24548 * locale/programs/locale.c: Likewise.
24549 * locale/programs/localedef.c: Likewise.
24550 * login/programs/pt_chown.c: Likewise.
24551 * malloc/memusage.sh: Likewise.
24552 * malloc/memusagestat.c: Likewise.
24553 * malloc/mtrace.pl: Likewise.
24554 * nscd/nscd.c: Likewise.
24555 * nss/getent.c: Likewise.
24556 * nss/makedb.c: Likewise.
24557 * posix/getconf.c: Likewise.
24559 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24561 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24564 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24566 * math/bits/mathcalls.h (modf): Use __nonnull.
24568 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24570 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24571 (split): Use macro CN instead of the bare value.
24572 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24575 instead of the bare value.
24576 (power1): Likewise.
24578 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24580 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24582 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24584 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24586 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24587 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24588 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24589 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24591 2012-12-28 Andreas Jaeger <aj@suse.de>
24593 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24594 values are from Linux 3.7.
24596 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24597 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24599 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24601 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24604 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24606 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24607 variables with preprocessor constants.
24608 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24609 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24610 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24612 2012-12-27 Bruno Haible <bruno@clisp.org>
24615 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24618 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24620 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24621 and use variable directly.
24622 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24624 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24626 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24627 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24629 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24630 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24631 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24632 include directive. Remove local variable MPONE.
24633 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24634 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24635 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24637 2012-12-25 David S. Miller <davem@davemloft.net>
24639 * version.h (RELEASE): Set to "development".
24640 (VERSION): Set to "2.17.90".
24641 * NEWS: Add 2.18 section.
24643 2012-12-21 David S. Miller <davem@davemloft.net>
24645 * po/hr.po: Update from translation team.
24647 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24649 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24651 2012-12-19 Steve Ellcey <sellcey@mips.com>
24653 * NEWS: Mention new memcpy for MIPS.
24655 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24657 * manual/contrib.texi (Contributors): Spelling correction.
24659 2012-12-15 David S. Miller <davem@davemloft.net>
24661 * po/ru.po: Update from translation team.
24663 2012-12-13 David S. Miller <davem@davemloft.net>
24665 * NEWS: Mention IFUNC testsuite enhancements.
24667 * po/pl.po: Update from translation team.
24668 * po/bg.po: Likewise.
24670 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24671 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24673 2012-12-11 David S. Miller <davem@davemloft.net>
24675 * po/sv.po: Update from translation team.
24677 * po/vi.po: Update from translation team.
24679 * po/cs.po: Update from translation team.
24681 * po/de.po: Update from translation team.
24682 * po/eo.po: Likewise.
24683 * po/nl.po: Likewise.
24685 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24688 * manual/argp.texi (Argp Helper Functions): Move node to follow
24689 Argp Parsing State.
24692 * manual/conf.texi (Limits on File System Capacity): Mention if
24693 terminating null is included in the max size.
24695 2012-12-10 Andreas Jaeger <aj@suse.de>
24697 * po/cs.po: Update from translation team.
24699 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24701 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24702 void pointer and cast to uintptr_t.
24703 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24705 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24706 * sysdeps/s390/s390-64/memset.S: Likewise.
24708 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24711 * menual/message.texi (Message Translation): Fix typos.
24712 (Helper programs for gettext): Likewise.
24714 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24717 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24720 2012-12-07 David S. Miller <davem@davemloft.net>
24722 * po/libc.pot: Update.
24724 2012-12-07 Richard Henderson <rth@redhat.com>
24727 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24728 normal/normal case to before the switch.
24729 (_FP_DIV): Likewise.
24731 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24732 Mike Frysinger <vapier@gentoo.org>
24734 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24735 check for __NR_fadvise64_64.
24737 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24739 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24740 0, not just to plain "0" as a statement.
24741 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24744 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24746 * NEWS: Use sourceware.org in Bugzilla URL.
24748 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24751 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24753 * stdio-common/tst-put-error.c (do_test): Add newline to the
24754 padded test to ensure flush.
24756 2012-12-05 Jeff Law <law@redhat.com>
24758 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24760 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24762 * README: Don't refer to ports add-on as distributed separately.
24763 Mention AArch64 in list of systems supported in the ports add-on.
24765 * LICENSES: Add more non-FSF copyright and license notices.
24767 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24770 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24772 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24773 10000 as width of padded output.
24775 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24777 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24779 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24780 variable LX with __attribute__ ((unused)).
24781 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24783 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24784 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24785 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24786 with __attribute__ ((unused)).
24788 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24790 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24792 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24794 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24795 (CFLAGS-nldbl-acos.c): New variable.
24796 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24797 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24798 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24799 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24800 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24801 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24802 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24803 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24804 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24805 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24806 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24807 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24808 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24809 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24810 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24811 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24812 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24813 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24814 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24815 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24816 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24817 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24818 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24819 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24820 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24821 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24822 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24823 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24824 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24825 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24826 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24827 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24828 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24829 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24830 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24831 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24832 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24833 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24834 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24835 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24836 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24837 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24838 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24839 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24840 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24841 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24842 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24843 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24844 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24845 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24846 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24847 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24848 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24849 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24850 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24851 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24852 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24853 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24854 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24855 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24856 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24857 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24858 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24859 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24860 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24861 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24862 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24863 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24864 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24865 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24866 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24867 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24868 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24869 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24870 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24871 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24872 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24873 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24874 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24875 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24876 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24877 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24878 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24879 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24880 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24881 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24882 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24883 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24884 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24885 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24886 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24887 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24888 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24889 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24890 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24891 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24892 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24895 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24898 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24899 whole low double instead of just low 47 bits when splitting values
24902 2012-12-03 Allan McRae <allan@archlinux.org>
24904 * manual/stdio.texi (Predefined Printf Handlers): Remove
24905 @hsep and @vsep usage.
24907 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24909 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24910 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24912 2012-12-03 Jeff Law <law@redhat.com>
24914 * time/sys/time.h (settimeofday): Do not mark TV argument
24917 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24919 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24920 when currently writing and seek to current position when not.
24921 * libio/Makefile (tests): Remove bug-fclose1.
24922 * libio/bug-fclose1.c: Delete.
24924 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24926 * manual/arith.texi (feenableexcept): Fix typo.
24927 (fedisableexcept): Likewise.
24929 2012-11-30 Roland McGrath <roland@hack.frob.com>
24931 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24932 second, differently-typed declaration, rather than a cast.
24934 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24936 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24937 * include/rpc/svc.h: ... here.
24939 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24942 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24943 depending n and resplen2 to catch cases where answer
24946 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24948 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24949 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24951 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24953 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24955 2012-11-29 Roland McGrath <roland@hack.frob.com>
24957 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24959 2012-11-28 Jeff Law <law@redhat.com>
24962 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24963 dataset_temporary. Track alloca usage into alloca_used.
24964 If dataset is large allocate and release it via malloc/free.
24966 2012-06-04 Florian Weimer <fweimer@redhat.com>
24969 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24971 2012-11-28 David S. Miller <davem@davemloft.net>
24973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24975 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24978 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24979 of pi/2 rounded to nearest to 64 bits.
24980 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24981 nearest to 64 bits.
24982 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24985 2012-11-28 Jeff Law <law@redhat.com>
24986 Martin Osvald <mosvald@redhat.com>
24989 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24990 * sunrpc/svc.c: Include time.h.
24991 (__svc_accept_failed): New function.
24992 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24993 any reason other than EINTR, call __svc_accept_failed.
24994 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24995 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24997 2012-11-28 Andreas Schwab <schwab@suse.de>
24999 * scripts/abilist.awk: Also handle indirect functions in .opd
25002 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25005 * sysdeps/x86/fpu/powl_helper.c: New file.
25006 * sysdeps/x86/fpu/Makefile: Likewise.
25007 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25009 (__ieee754_powl): Use __powl_helper for finite arguments except
25010 integer exponents below 8.
25011 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25013 (__ieee754_powl): Use __powl_helper for finite arguments except
25014 integer exponents below 8.
25015 * math/libm-test.inc (pow_test): Add more tests and enable some
25016 previously disabled tests.
25017 * sysdeps/i386/fpu/libm-test-ulps: Update.
25018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25020 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25021 Carlos O'Donell <carlos_odonell@mentor.com>
25023 * nss/makedb.c (is_prime): Assert that input is odd and greater
25024 than 4. Note that fact in a comment too.
25025 (next_prime): Add 4 to input.
25027 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25030 * libio/Makefile (tests): Add test case tst-fwrite-error.
25031 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25032 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25033 * libio/tst-fwrite-error.c: New test case.
25035 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25037 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25038 before casting to void *.
25039 * include/libc-internal.h (__pointer_type): New macro.
25040 (__integer_if_pointer_type_sub): Likewise.
25041 (__integer_if_pointer_type): Likewise.
25042 (cast_to_integer): Likewise.
25043 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25044 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25045 before casting to atomic64_t.
25046 (atomic_exchange_acq): Likewise.
25047 (__arch_exchange_and_add_body): Likewise.
25048 (__arch_add_body): Likewise.
25049 (atomic_add_negative): Likewise.
25050 (atomic_add_zero): Likewise.
25052 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25054 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25055 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25056 (add_fdes): Likewise.
25057 (linear_search_fdes): Likewise.
25058 (binary_search_unencoded_fdes): Likewise.
25060 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25062 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25064 2012-11-24 Adam Conrad <adconrad@0c3.net>
25066 * configure.in: Autodetect C++ header directories.
25067 * configure: Regenerated.
25069 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25071 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25073 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25077 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25079 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25080 LDBL_MANT_DIG == 106]: Disable some tests.
25081 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25083 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25087 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25088 input for small inputs. Return +/- pi/2 for large inputs.
25089 * math/libm-test.inc (atan_test): Add more tests.
25091 * sysdeps/generic/unwind-dw2-fde-glibc.c
25092 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25093 __attribute__ ((unused)).
25096 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25097 x * y if x and y are nonzero and z is zero.
25100 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25101 nonzero exponents with absolute value below 0x1p-117 to +/-
25105 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25106 up arguments below 2**-450, not just those below 2**-500.
25107 * math/libm-test.inc (hypot_test): Add another test.
25110 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25111 Return a+b for ratio over 2**120, not 2**60.
25112 * math/libm-test.inc (hypot_test): Add another test.
25114 * math/libm-test.inc (clog_test): Use
25115 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25116 (clog10_test): Likewise.
25119 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25121 2012-11-22 Andreas Schwab <schwab@suse.de>
25123 * sysdeps/i386/fpu/libm-test-ulps: Update.
25125 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25127 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25128 printf output with newline.
25130 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25133 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25134 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25135 -z nodlopen, -z initfirst and -z execstack support.
25136 * configure: Regenerated.
25138 * elf/elf.h (DF_1_NODIRECT): New macro.
25139 (DF_1_IGNMULDEF): Likewise.
25140 (DF_1_NOKSYMS): Likewise.
25141 (DF_1_NOHDR): Likewise.
25142 (DF_1_EDITED): Likewise.
25143 (DF_1_NORELOC): Likewise.
25144 (DF_1_SYMINTPOSE): Likewise.
25145 (DF_1_GLOBAUDIT): Likewise.
25146 (DF_1_SINGLETON): Likewise.
25147 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25148 DT_1_SUPPORTED_MASK bits.
25149 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25151 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25153 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25155 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25157 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25160 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25161 (sendmmsg): Move declarations...
25162 * socket/sys/socket.h: ... here.
25163 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25164 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25166 * socket/recvmmsg.c: ... this new file.
25167 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25168 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25169 definition of __sendmmsg hidden.
25170 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25171 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25172 Move ENOSYS stub into and include it from...
25173 * socket/sendmmsg.c: ... this new file.
25174 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25175 (sysdep_routines): Move recvmmsg and sendmmsg...
25176 * socket/Makefile (routines): ... here.
25177 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25178 (GLIBC_PRIVATE): Add __sendmmsg.
25179 * include/sys/socket.h (__sendmmsg): Add declarations.
25180 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25183 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25185 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25186 variable I1 with __attribute__ ((unused)).
25187 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25189 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25191 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25192 DUMMY variables with __attribute__ ((unused)).
25194 * bits/byteswap.h: Include <bits/types.h>.
25195 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25197 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25199 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25200 string_t. Do not manually set errno.
25201 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25202 length with __strnlen. Make sure to both set errno and return it on
25205 2012-11-19 David S. Miller <davem@davemloft.net>
25207 With help from Joseph Myers.
25208 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25209 very large arguments properly.
25210 * math/libm-test.inc (atan_test): New tests.
25211 (atan2_test): New tests.
25212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25215 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25218 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25221 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25222 [POSIX] (EADDRNOTAVAIL): Likewise.
25223 [POSIX] (EAFNOSUPPORT): Likewise.
25224 [POSIX] (EALREADY): Likewise.
25225 [POSIX] (ECONNABORTED): Likewise.
25226 [POSIX] (ECONNREFUSED): Likewise.
25227 [POSIX] (ECONNRESET): Likewise.
25228 [POSIX] (EDESTADDRREQ): Likewise.
25229 [POSIX] (EDQUOT): Likewise.
25230 [POSIX] (EHOSTUNREACH): Likewise.
25231 [POSIX] (EIDRM): Likewise.
25232 [POSIX] (EISCONN): Likewise.
25233 [POSIX] (ELOOP): Likewise.
25234 [POSIX] (EMULTIHOP): Likewise.
25235 [POSIX] (ENETDOWN): Likewise.
25236 [POSIX] (ENETUNREACH): Likewise.
25237 [POSIX] (ENOBUFS): Likewise.
25238 [POSIX] (ENODATA): Likewise.
25239 [POSIX] (ENOLINK): Likewise.
25240 [POSIX] (ENOMSG): Likewise.
25241 [POSIX] (ENOPROTOOPT): Likewise.
25242 [POSIX] (ENOSR): Likewise.
25243 [POSIX] (ENOSTR): Likewise.
25244 [POSIX] (ENOTCONN): Likewise.
25245 [POSIX] (ENOTSOCK): Likewise.
25246 [POSIX] (EOPNOTSUPP): Likewise.
25247 [POSIX] (EOVERFLOW): Likewise.
25248 [POSIX] (EPROTO): Likewise.
25249 [POSIX] (EPROTONOSUPPORT): Likewise.
25250 [POSIX] (EPROTOTYPE): Likewise.
25251 [POSIX] (ESTALE): Likewise.
25252 [POSIX] (ETIME): Likewise.
25253 [POSIX] (ETXTBSY): Likewise.
25254 [POSIX] (EWOULDBLOCK): Likewise.
25255 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25256 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25257 [POSIX] (SEEK_CUR): Likewise.
25258 [POSIX] (SEEK_END): Likewise.
25259 [POSIX || UNIX98] (mode_t): Do not require.
25260 [POSIX] (off_t): Likewise.
25261 [POSIX] (pid_t): Likewise.
25262 [POSIX] (sys/stat.h): Do not allow header.
25263 [POSIX] (unistd.h): Likewise.
25264 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25265 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25266 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25267 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25269 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25270 sigevent): Specify elements.
25271 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25273 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25274 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25276 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25277 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25278 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25279 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25280 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25281 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25282 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25283 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25284 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25285 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25286 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25287 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25288 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25289 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25291 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25293 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25295 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25297 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25298 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25299 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25300 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25301 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25302 Specify lower bound on value.
25303 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25304 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25305 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25306 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25307 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25308 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25309 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25310 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25312 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25314 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25315 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25316 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25317 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25318 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25319 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25320 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25321 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25322 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25323 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25324 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25325 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25326 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25327 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25328 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25329 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25331 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25333 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25334 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25335 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25336 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25337 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25338 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25340 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25341 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25342 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25343 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25344 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25345 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25346 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25348 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25349 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25350 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25351 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25352 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25353 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25354 specify as optional.
25355 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25356 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25357 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25358 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25359 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25360 [XPG3] (NL_LANGMAX): Likewise.
25361 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25362 [POSIX || XPG3] (NL_NMAX): Likewise.
25363 [POSIX || XPG3] (NL_SETMAX): Likewise.
25364 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25365 [XPG3] (NZERO): Likewise.
25366 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25367 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25368 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25369 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25370 (REG_ERANGE): Expect.
25371 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25373 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25374 Use (void) in prototype.
25375 [POSIX] (*_t): Allow.
25376 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25377 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25378 (WRDE_BADVAL): Expect.
25380 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25382 [XPG3 || XPG4] (O_RSYNC): Likewise.
25383 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25385 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25386 [XPG3 || XPG4] (sigqueue): Likewise.
25387 [XPG3 || XPG4] (sigtimedwait): Likewise.
25388 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25389 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25390 [XPG3 || XPG4] (vsnprintf): Likewise.
25391 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25393 [XPG3 || XPG4] (blksize_t): Likewise.
25394 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25396 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25397 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25398 [XPG3 || XPG4] (struct itimerspec): Likewise.
25399 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25400 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25401 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25402 [XPG3 || XPG4] (clockid_t): Likewise.
25403 [XPG3 || XPG4] (timer_t): Likewise.
25404 [XPG3 || XPG4] (clock_getres): Likewise.
25405 [XPG3 || XPG4] (clock_gettime): Likewise.
25406 [XPG3 || XPG4] (clock_settime): Likewise.
25407 [XPG3 || XPG4] (nanosleep): Likewise.
25408 [XPG3 || XPG4] (timer_create): Likewise.
25409 [XPG3 || XPG4] (timer_delete): Likewise.
25410 [XPG3 || XPG4] (timer_gettime): Likewise.
25411 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25412 [XPG3 || XPG4] (timer_settime): Likewise.
25413 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25414 [XPG3 || XPG4] (getlogin_r): Likewise.
25415 [XPG3 || XPG4] (pread): Likewise.
25416 [XPG3 || XPG4] (pthread_atfork): Likewise.
25417 [XPG3 || XPG4] (pwrite): Likewise.
25420 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25423 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25425 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25426 finalizing MALLSTREAM.
25428 * sysdeps/mach/hurd/syncfs.c: New file.
25430 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25433 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25434 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25435 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25436 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25437 (_nss_dns_gethostbyname4_r): Likewise.
25438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25439 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25441 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25444 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25446 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25448 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25449 * elf/cache.c (print_entry): Print ",AArch64" for
25452 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25453 * elf/cache.c (print_entry): Print ",hard-float" for
25456 2012-11-18 David S. Miller <davem@davemloft.net>
25458 With help from Joseph Myers.
25459 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25461 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25463 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25464 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25466 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25467 * math/libm-test.inc (y0_test): New tests.
25468 (y1_test): New tests.
25469 * sysdeps/i386/fpu/libm-test-ulps: Update.
25470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25473 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25475 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25477 * configure: Regenerated.
25479 2012-11-17 David S. Miller <davem@davemloft.net>
25482 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25483 nonzero exponents with absolute value below 0x1p-128 to +/-
25486 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25488 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25490 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25492 * posix/getconf-speclist.c: New file.
25493 * posix/posix-envs.def: Likewise.
25494 * posix/confstr.c (START_ENV_GROUP): New macro.
25495 (END_ENV_GROUP): Likewise.
25496 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25497 (KNOWN_PRESENT_ENV_STRING): Likewise.
25498 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25499 (UNKNOWN_ENVIRONMENT): Likewise.
25500 (confstr): Include posix-envs.def instead of handling
25501 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25502 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25503 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25504 (END_ENV_GROUP): Likewise.
25505 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25506 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25507 (UNKNOWN_ENVIRONMENT): Likewise.
25508 (__sysconf): Include posix-envs.def instead of handling associated
25509 cases directly here.
25510 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25511 preprocessing getconf-speclist.c rather than running getconf or
25512 generating empty file.
25514 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25516 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25518 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25521 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25523 2012-11-16 David S. Miller <davem@davemloft.net>
25525 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25526 smaller than LDBL_EPSILON/2.0L, just return xm1.
25528 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25530 * elf/tst-array1.c (init): Set constructor priority to 1000.
25531 (fini): Set destructor priority to 1000.
25532 * elf/tst-array2dep.c: Likewise.
25534 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25537 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25538 (_IO_new_file_xsputn): Also return EOF if none of the input
25539 data was written when overflow failed.
25540 * libio/iopadn.c (_IO_padn): Likewise.
25541 * libio/iowpadn.c (_IO_wpadn): Likewise.
25542 * stdio-common/tst-put-error.c: Add copyright notice.
25543 (do_test): Add case for printing padded string.
25544 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25545 _IO_padn returned error.
25546 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25547 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25550 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25552 * libio/libioP.h: Add comment note that the references to C++
25553 bits are now obsolete.
25555 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25557 * math/libm-test.inc (check_complex): Use asprintf.
25559 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25561 * debug/pcprofiledump.c (print_version): Update copyright year.
25562 * malloc/memusagestat.c (print_version): Likewise.
25564 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25567 * elf/Makefile (tests): Add tst-audit8.
25568 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25569 ($(objpfx)tst-audit8.out): New target.
25570 (tst-audit8-ENV): New variable.
25571 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25572 audit if l_reloc_result is NULL.
25573 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25574 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25575 * elf/tst-audit8.c: New file.
25577 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25579 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25580 * misc/Makefile (CFLAGS-select.c): Define.
25581 * posix/Makefile (CFLAGS-pause.c): Define.
25583 2012-11-13 David S. Miller <davem@davemloft.net>
25585 * crypt/Makefile: Move test targets after toplevel Rules
25586 inclusion. Grab any necessary sysdep routines when linking.
25587 * crypt/md5.c (md5_process_block): Remove define, we will always
25588 name it __md5_process_block.
25589 (md5_finish_ctx): Update md5_process_block call.
25590 (md5_stream): Likewise.
25591 (md5_process_bytes): Likewise.
25592 (md5_process_block): Rename to __md5_process_block and move to ...
25593 * crypt/md5-block.c: ... here.
25594 * crypt/sha256.c (sha256_process_block): Move to ...
25595 * crypt/sha256-block.c: ... here.
25596 * crypt/sha512.c (sha512_process_block): Move to ...
25597 * crypt/sha512-block.c: ... here.
25598 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25600 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25601 * sysdeps/sparc/sparc64/multiarch/Makefile
25602 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25604 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25605 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25607 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25608 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25609 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25610 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25611 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25612 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25613 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25614 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25615 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25617 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25618 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25620 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25622 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25624 * timezone/tzselect.ksh: Update from tzcode git revision
25625 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25626 * timezone/zdump.c: Likewise.
25627 * timezone/zic.c: Likewise.
25628 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25629 in TZVERSION setting, not $(PKGVERSION).
25630 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25631 REPORT_BUGS_TO settings.
25634 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25637 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25639 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25640 detection to immediately after _FP_ROUND().
25641 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25644 2012-11-11 David S. Miller <davem@davemloft.net>
25646 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25648 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25649 __close rather than their public counterparts.
25651 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25653 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25655 [UNIX98] (sem_timedwait): Do not expect.
25656 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25657 [XPG4 || UNIX98] (sockatmark): Do not expect.
25658 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25659 (clock_getcpuclockid): Do not expect.
25660 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25661 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25663 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25664 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25665 [UNIX98] (vwscanf): Likewise.
25666 [UNIX98] (vswscanf): Likewise.
25668 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25670 * timezone/version.h: Remove file.
25671 * timezone/README: Do not refer to version.h.
25672 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25673 $(objpfx)version.h.
25674 ($(objpfx)zdump.o): Likewise.
25675 ($(objpfx)version.h): New target.
25677 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25679 * timezone/README: Don't mention modification to tzselect.ksh.
25680 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25681 work on unmodified tzselect.ksh. Substitute version numbers in
25684 * Makefile (format-me): Remove.
25685 (INSTALL): Adjust indentation. Use commands directly instead of
25686 using $(format-me).
25688 * aclocal.m4 (ACX_PKGVERSION): New macro.
25689 (ACX_BUGURL): Likewise.
25690 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25691 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25692 (REPORT_BUGS_TO): Likewise.
25693 * configure: Regenerated.
25694 * config.h.in (PKGVERSION): New macro.
25695 (REPORT_BUGS_TO): Likewise.
25696 * config.make.in (PKGVERSION): New variable.
25697 (PKGVERSION_TEXI): Likewise.
25698 (REPORT_BUGS_TO): Likewise.
25699 (REPORT_BUGS_TEXI): Likewise.
25700 * Makefile (format-me): Use -I$(common-objpfx)manual.
25701 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25702 ($(common-objpfx)manual/%): New target.
25703 (manual/%): Remove target.
25704 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25705 (print_version): Use PKGVERSION.
25706 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25707 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25708 and REPORT_BUGS_TO.
25709 ($(objpfx)xtrace): Likewise.
25710 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25711 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25712 (print_version): Use PKGVERSION.
25713 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25714 (do_version): Use PKGVERSION.
25715 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25717 (common-ldd-rewrite): Likewise.
25718 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25719 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25720 (print_version): Use PKGVERSION.
25721 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25722 * elf/pldd.c (argp_program_bug_address): Remove variable.
25723 (more_help): New function.
25724 (argp): Use more_help.
25725 (print_version): Use PKGVERSION.
25726 * elf/sln.c (main): Use PKGVERSION.
25727 (usage): Use REPORT_BUGS_TO.
25728 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25729 (top level): Use PKGVERSION.
25730 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25731 (print_version): Use PKGVERSION.
25732 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25733 (print_version): Use PKGVERSION.
25734 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25735 (print_version): Use PKGVERSION.
25736 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25737 (print_version): Use PKGVERSION.
25738 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25739 (print_version): Use PKGVERSION.
25740 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25741 (print_version): Use PKGVERSION.
25742 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25744 ($(objpfx)memusage): Likewise.
25745 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25746 (do_version): Use PKGVERSION.
25747 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25748 (print_version): Use PKGVERSION.
25749 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25750 ($PKGVERSION): New variable.
25751 ($REPORT_BUGS_TO): Likewise.
25752 (usage): Use $REPORT_BUGS_TO.
25753 (top level): Use $PKGVERSION.
25754 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25755 ($(objpfx)pkgvers.texi): New rule.
25756 ($(objpfx)stamp-pkgvers): Likewise.
25757 * manual/install.texi: Include pkgvers.texi.
25758 (--with-pkgversion): Document new configure option.
25759 (--with-bugurl): Likewise.
25760 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25761 than necessarily for this particular distribution. Use
25762 REPORT_BUGS_TO for where to report bugs.
25763 * INSTALL: Regenerated.
25764 * manual/libc.texinfo: Include pkgvers.texi.
25765 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25766 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25767 (print_version): Use PKGVERSION.
25768 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25769 (print_version): Use PKGVERSION.
25770 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25771 (print_version): Use PKGVERSION.
25772 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25773 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25775 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25776 (print_version): Use PKGVERSION.
25777 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25778 (print_version): Use PKGVERSION.
25779 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25782 * timezone/checktab.awk: Update from tzcode 2012i.
25783 * timezone/ialloc.c: Likewise.
25784 * timezone/private.h: Likewise.
25785 * timezone/scheck.c: Likewise.
25786 * timezone/tzfile.h: Likewise.
25787 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25788 (TZVERSION): Hardcode tzcode version number.
25789 * timezone/zdump.c: Update from tzcode 2012i.
25790 * timezone/zic.c: Likewise.
25791 * timezone/version.h: New file.
25792 * timezone/README: Describe version.h. Update upstream location.
25795 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25796 (mktemp): Enable declaration.
25797 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25798 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25799 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25800 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25802 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25804 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25806 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25808 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25810 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25814 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25815 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25816 for copies of such integer values.
25817 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25818 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25820 2012-11-09 Andreas Jaeger <aj@suse.de>
25822 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25823 definitions and declarations that are provided by
25824 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25826 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25828 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25829 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25830 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25833 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25835 * elf/elf.h: Update comment before AArch64 relocations.
25837 2012-11-07 David S. Miller <davem@davemloft.net>
25839 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25840 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25841 (__start_context): Declare.
25842 (__makecontext_ret): Delete.
25843 (__makecontext): Hook up __start_context instead of
25845 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25846 (sysdep_routines): Add __start_context when in stdlib.
25848 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25850 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25851 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25852 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25854 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25855 (READELF): New variable. Use it instead of hardcoded "readelf".
25857 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25859 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25860 * sysdeps/x86/Makefile: Here.
25861 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25862 * sysdeps/x86/tst-xmmymm.sh: This.
25864 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25866 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25868 [UNIX98] (pthread_barrier_t): Do not expect.
25869 [UNIX98] (pthread_barrierattr_t): Likewise.
25870 [UNIX98] (pthread_spinlock_t): Likewise.
25871 [UNIX98] (pthread_barrier_destroy): Likewise.
25872 [UNIX98] (pthread_barrier_init): Likewise.
25873 [UNIX98] (pthread_barrier_wait): Likewise.
25874 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25875 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25876 [UNIX98] (pthread_barrierattr_init): Likewise.
25877 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25878 [UNIX98] (pthread_getcpuclockid): Likewise.
25879 [UNIX98] (pthread_mutex_timedlock): Likewise.
25880 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25881 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25882 [UNIX98] (pthread_sigmask): Likewise.
25883 [UNIX98] (pthread_spin_destroy): Likewise.
25884 [UNIX98] (pthread_spin_init): Likewise.
25885 [UNIX98] (pthread_spin_lock): Likewise.
25886 [UNIX98] (pthread_spin_trylock): Likewise.
25887 [UNIX98] (pthread_spin_unlock): Likewise.
25888 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25890 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25891 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25892 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25893 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25894 [XPG3 || XPG4] (pthread_key_t): Likewise.
25895 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25896 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25897 [XPG3 || XPG4] (pthread_once_t): Likewise.
25898 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25899 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25900 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25901 [XPG3 || XPG4] (pthread_t): Likewise.
25903 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25905 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25907 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25908 Change function return type to int.
25910 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25911 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25912 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25913 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25914 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25915 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25916 [!POSIX] (posix_madvise): Likewise.
25917 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25919 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25920 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25921 (mode_t): Likewise.
25922 (posix_mem_offset): Likewise.
25923 (posix_typed_mem_get_info): Likewise.
25924 (posix_typed_mem_open): Likewise.
25926 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25927 Change condition to [XOPEN2K8].
25929 * conform/conformtest.pl: Preprocess allow-header data with -x c
25930 instead of from stdin.
25931 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25932 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25933 [C99-based standards] (cerfc): Likewise.
25934 [C99-based standards] (cexp2): Likewise.
25935 [C99-based standards] (cexpm1): Likewise.
25936 [C99-based standards] (clog10): Likewise.
25937 [C99-based standards] (clog1p): Likewise.
25938 [C99-based standards] (clog2): Likewise.
25939 [C99-based standards] (clgamma): Likewise.
25940 [C99-based standards] (ctgamma): Likewise.
25941 [C99-based standards] (cerff): Likewise.
25942 [C99-based standards] (cerfcf): Likewise.
25943 [C99-based standards] (cexp2f): Likewise.
25944 [C99-based standards] (cexpm1f): Likewise.
25945 [C99-based standards] (clog10f): Likewise.
25946 [C99-based standards] (clog1pf): Likewise.
25947 [C99-based standards] (clog2f): Likewise.
25948 [C99-based standards] (clgammaf): Likewise.
25949 [C99-based standards] (ctgammaf): Likewise.
25950 [C99-based standards] (cerfl): Likewise.
25951 [C99-based standards] (cerfcl): Likewise.
25952 [C99-based standards] (cexp2l): Likewise.
25953 [C99-based standards] (cexpm1l): Likewise.
25954 [C99-based standards] (clog10l): Likewise.
25955 [C99-based standards] (clog1pl): Likewise.
25956 [C99-based standards] (clog2l): Likewise.
25957 [C99-based standards] (clgammal): Likewise.
25958 [C99-based standards] (ctgammal): Likewise.
25959 * conform/data/inttypes.h-data [C99-based standards]: Include
25960 stdint.h-data. Remove all expectations for stdint.h contents.
25961 [C99-based standards] (PRI*): Do not allow.
25962 [C99-based standards] (SCN*): Likewise.
25963 [C99-based standards] (*_t): Likewise.
25964 [C99-based-standards] (PRId8): Expect macro.
25965 [C99-based-standards] (PRIi8): Likewise.
25966 [C99-based-standards] (PRIo8): Likewise.
25967 [C99-based-standards] (PRIu8): Likewise.
25968 [C99-based-standards] (PRIx8): Likewise.
25969 [C99-based-standards] (PRIX8): Likewise.
25970 [C99-based-standards] (SCNd8): Likewise.
25971 [C99-based-standards] (SCNi8): Likewise.
25972 [C99-based-standards] (SCNo8): Likewise.
25973 [C99-based-standards] (SCNu8): Likewise.
25974 [C99-based-standards] (SCNx8): Likewise.
25975 [C99-based-standards] (PRIdLEAST8): Likewise.
25976 [C99-based-standards] (PRIiLEAST8): Likewise.
25977 [C99-based-standards] (PRIoLEAST8): Likewise.
25978 [C99-based-standards] (PRIuLEAST8): Likewise.
25979 [C99-based-standards] (PRIxLEAST8): Likewise.
25980 [C99-based-standards] (PRIXLEAST8): Likewise.
25981 [C99-based-standards] (SCNdLEAST8): Likewise.
25982 [C99-based-standards] (SCNiLEAST8): Likewise.
25983 [C99-based-standards] (SCNoLEAST8): Likewise.
25984 [C99-based-standards] (SCNuLEAST8): Likewise.
25985 [C99-based-standards] (SCNxLEAST8): Likewise.
25986 [C99-based-standards] (PRIdFAST8): Likewise.
25987 [C99-based-standards] (PRIiFAST8): Likewise.
25988 [C99-based-standards] (PRIoFAST8): Likewise.
25989 [C99-based-standards] (PRIuFAST8): Likewise.
25990 [C99-based-standards] (PRIxFAST8): Likewise.
25991 [C99-based-standards] (PRIXFAST8): Likewise.
25992 [C99-based-standards] (SCNdFAST8): Likewise.
25993 [C99-based-standards] (SCNiFAST8): Likewise.
25994 [C99-based-standards] (SCNoFAST8): Likewise.
25995 [C99-based-standards] (SCNuFAST8): Likewise.
25996 [C99-based-standards] (SCNxFAST8): Likewise.
25997 [C99-based-standards] (PRId16): Likewise.
25998 [C99-based-standards] (PRIi16): Likewise.
25999 [C99-based-standards] (PRIo16): Likewise.
26000 [C99-based-standards] (PRIu16): Likewise.
26001 [C99-based-standards] (PRIx16): Likewise.
26002 [C99-based-standards] (PRIX16): Likewise.
26003 [C99-based-standards] (SCNd16): Likewise.
26004 [C99-based-standards] (SCNi16): Likewise.
26005 [C99-based-standards] (SCNo16): Likewise.
26006 [C99-based-standards] (SCNu16): Likewise.
26007 [C99-based-standards] (SCNx16): Likewise.
26008 [C99-based-standards] (PRIdLEAST16): Likewise.
26009 [C99-based-standards] (PRIiLEAST16): Likewise.
26010 [C99-based-standards] (PRIoLEAST16): Likewise.
26011 [C99-based-standards] (PRIuLEAST16): Likewise.
26012 [C99-based-standards] (PRIxLEAST16): Likewise.
26013 [C99-based-standards] (PRIXLEAST16): Likewise.
26014 [C99-based-standards] (SCNdLEAST16): Likewise.
26015 [C99-based-standards] (SCNiLEAST16): Likewise.
26016 [C99-based-standards] (SCNoLEAST16): Likewise.
26017 [C99-based-standards] (SCNuLEAST16): Likewise.
26018 [C99-based-standards] (SCNxLEAST16): Likewise.
26019 [C99-based-standards] (PRIdFAST16): Likewise.
26020 [C99-based-standards] (PRIiFAST16): Likewise.
26021 [C99-based-standards] (PRIoFAST16): Likewise.
26022 [C99-based-standards] (PRIuFAST16): Likewise.
26023 [C99-based-standards] (PRIxFAST16): Likewise.
26024 [C99-based-standards] (PRIXFAST16): Likewise.
26025 [C99-based-standards] (SCNdFAST16): Likewise.
26026 [C99-based-standards] (SCNiFAST16): Likewise.
26027 [C99-based-standards] (SCNoFAST16): Likewise.
26028 [C99-based-standards] (SCNuFAST16): Likewise.
26029 [C99-based-standards] (SCNxFAST16): Likewise.
26030 [C99-based-standards] (PRId32): Likewise.
26031 [C99-based-standards] (PRIi32): Likewise.
26032 [C99-based-standards] (PRIo32): Likewise.
26033 [C99-based-standards] (PRIu32): Likewise.
26034 [C99-based-standards] (PRIx32): Likewise.
26035 [C99-based-standards] (PRIX32): Likewise.
26036 [C99-based-standards] (SCNd32): Likewise.
26037 [C99-based-standards] (SCNi32): Likewise.
26038 [C99-based-standards] (SCNo32): Likewise.
26039 [C99-based-standards] (SCNu32): Likewise.
26040 [C99-based-standards] (SCNx32): Likewise.
26041 [C99-based-standards] (PRIdLEAST32): Likewise.
26042 [C99-based-standards] (PRIiLEAST32): Likewise.
26043 [C99-based-standards] (PRIoLEAST32): Likewise.
26044 [C99-based-standards] (PRIuLEAST32): Likewise.
26045 [C99-based-standards] (PRIxLEAST32): Likewise.
26046 [C99-based-standards] (PRIXLEAST32): Likewise.
26047 [C99-based-standards] (SCNdLEAST32): Likewise.
26048 [C99-based-standards] (SCNiLEAST32): Likewise.
26049 [C99-based-standards] (SCNoLEAST32): Likewise.
26050 [C99-based-standards] (SCNuLEAST32): Likewise.
26051 [C99-based-standards] (SCNxLEAST32): Likewise.
26052 [C99-based-standards] (PRIdFAST32): Likewise.
26053 [C99-based-standards] (PRIiFAST32): Likewise.
26054 [C99-based-standards] (PRIoFAST32): Likewise.
26055 [C99-based-standards] (PRIuFAST32): Likewise.
26056 [C99-based-standards] (PRIxFAST32): Likewise.
26057 [C99-based-standards] (PRIXFAST32): Likewise.
26058 [C99-based-standards] (SCNdFAST32): Likewise.
26059 [C99-based-standards] (SCNiFAST32): Likewise.
26060 [C99-based-standards] (SCNoFAST32): Likewise.
26061 [C99-based-standards] (SCNuFAST32): Likewise.
26062 [C99-based-standards] (SCNxFAST32): Likewise.
26063 [C99-based-standards] (PRId64): Likewise.
26064 [C99-based-standards] (PRIi64): Likewise.
26065 [C99-based-standards] (PRIo64): Likewise.
26066 [C99-based-standards] (PRIu64): Likewise.
26067 [C99-based-standards] (PRIx64): Likewise.
26068 [C99-based-standards] (PRIX64): Likewise.
26069 [C99-based-standards] (SCNd64): Likewise.
26070 [C99-based-standards] (SCNi64): Likewise.
26071 [C99-based-standards] (SCNo64): Likewise.
26072 [C99-based-standards] (SCNu64): Likewise.
26073 [C99-based-standards] (SCNx64): Likewise.
26074 [C99-based-standards] (PRIdLEAST64): Likewise.
26075 [C99-based-standards] (PRIiLEAST64): Likewise.
26076 [C99-based-standards] (PRIoLEAST64): Likewise.
26077 [C99-based-standards] (PRIuLEAST64): Likewise.
26078 [C99-based-standards] (PRIxLEAST64): Likewise.
26079 [C99-based-standards] (PRIXLEAST64): Likewise.
26080 [C99-based-standards] (SCNdLEAST64): Likewise.
26081 [C99-based-standards] (SCNiLEAST64): Likewise.
26082 [C99-based-standards] (SCNoLEAST64): Likewise.
26083 [C99-based-standards] (SCNuLEAST64): Likewise.
26084 [C99-based-standards] (SCNxLEAST64): Likewise.
26085 [C99-based-standards] (PRIdFAST64): Likewise.
26086 [C99-based-standards] (PRIiFAST64): Likewise.
26087 [C99-based-standards] (PRIoFAST64): Likewise.
26088 [C99-based-standards] (PRIuFAST64): Likewise.
26089 [C99-based-standards] (PRIxFAST64): Likewise.
26090 [C99-based-standards] (PRIXFAST64): Likewise.
26091 [C99-based-standards] (SCNdFAST64): Likewise.
26092 [C99-based-standards] (SCNiFAST64): Likewise.
26093 [C99-based-standards] (SCNoFAST64): Likewise.
26094 [C99-based-standards] (SCNuFAST64): Likewise.
26095 [C99-based-standards] (SCNxFAST64): Likewise.
26096 [C99-based-standards] (PRIdMAX): Likewise.
26097 [C99-based-standards] (PRIiMAX): Likewise.
26098 [C99-based-standards] (PRIoMAX): Likewise.
26099 [C99-based-standards] (PRIuMAX): Likewise.
26100 [C99-based-standards] (PRIxMAX): Likewise.
26101 [C99-based-standards] (PRIXMAX): Likewise.
26102 [C99-based-standards] (SCNdMAX): Likewise.
26103 [C99-based-standards] (SCNiMAX): Likewise.
26104 [C99-based-standards] (SCNoMAX): Likewise.
26105 [C99-based-standards] (SCNuMAX): Likewise.
26106 [C99-based-standards] (SCNxMAX): Likewise.
26107 [C99-based-standards] (PRIdPTR): Likewise.
26108 [C99-based-standards] (PRIiPTR): Likewise.
26109 [C99-based-standards] (PRIoPTR): Likewise.
26110 [C99-based-standards] (PRIuPTR): Likewise.
26111 [C99-based-standards] (PRIxPTR): Likewise.
26112 [C99-based-standards] (PRIXPTR): Likewise.
26113 [C99-based-standards] (SCNdPTR): Likewise.
26114 [C99-based-standards] (SCNiPTR): Likewise.
26115 [C99-based-standards] (SCNoPTR): Likewise.
26116 [C99-based-standards] (SCNuPTR): Likewise.
26117 [C99-based-standards] (SCNxPTR): Likewise.
26118 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26120 * conform/data/stdint.h-data: Update comments to clarify
26122 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26124 [C99-based standards] (INT8_MAX): Likewise.
26125 [C99-based standards] (INT16_MIN): Likewise.
26126 [C99-based standards] (INT16_MAX): Likewise.
26127 [C99-based standards] (INT32_MIN): Likewise.
26128 [C99-based standards] (INT32_MAX): Likewise.
26129 [C99-based standards] (INT64_MIN): Likewise.
26130 [C99-based standards] (INT64_MAX): Likewise.
26131 [C99-based standards] (UINT8_MAX): Likewise.
26132 [C99-based standards] (UINT16_MAX): Likewise.
26133 [C99-based standards] (UINT32_MAX): Likewise.
26134 [C99-based standards] (UINT64_MAX): Likewise.
26135 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26136 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26137 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26138 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26139 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26140 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26141 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26142 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26143 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26144 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26145 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26146 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26147 [C99-based standards] (INT_FAST8_MIN): Likewise.
26148 [C99-based standards] (INT_FAST8_MAX): Likewise.
26149 [C99-based standards] (INT_FAST16_MIN): Likewise.
26150 [C99-based standards] (INT_FAST16_MAX): Likewise.
26151 [C99-based standards] (INT_FAST32_MIN): Likewise.
26152 [C99-based standards] (INT_FAST32_MAX): Likewise.
26153 [C99-based standards] (INT_FAST64_MIN): Likewise.
26154 [C99-based standards] (INT_FAST64_MAX): Likewise.
26155 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26156 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26157 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26158 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26159 [C99-based standards] (INTPTR_MIN): Likewise.
26160 [C99-based standards] (INTPTR_MAX): Likewise.
26161 [C99-based standards] (UINTPTR_MAX): Likewise.
26162 [C99-based standards] (INTMAX_MIN): Likewise.
26163 [C99-based standards] (INTMAX_MAX): Likewise.
26164 [C99-based standards] (UINTMAX_MAX): Likewise.
26165 [C99-based standards] (PTRDIFF_MIN): Likewise.
26166 [C99-based standards] (PTRDIFF_MAX): Likewise.
26167 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26168 [C99-based standards] (SIZE_MAX): Likewise.
26169 [C99-based standards] (WCHAR_MAX): Likewise.
26170 [C99-based standards] (WINT_MAX): Likewise.
26171 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26172 constraint on value.
26173 [C99-based standards] (WCHAR_MIN): Likewise.
26174 [C99-based standards] (WINT_MIN): Likewise.
26175 [C99-based standards] (*_t): Allow.
26176 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26177 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26178 Include math.h-data and complex.h-data. Remove all expectations
26179 of math.h and complex.h contents.
26180 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26182 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26183 (struct tm): Expect tag.
26184 [C99-based-standards] (wcstof): Expect function.
26185 [C99-based-standards] (wcstold): Likewise.
26186 [C99-based-standards] (wcstoll): Likewise.
26187 [C99-based-standards] (wcstoull): Likewise.
26188 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26189 macro-int-constant. Specify type.
26190 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26191 constraint on value.
26192 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26194 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26196 [ISO C standards]: Do not allow headers.
26197 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26198 wcs[abcdefghijklmnopqrstuvwxyz]*.
26199 [ISO C standards] (*_t): Do not allow.
26200 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26202 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26203 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26205 [ISO C standards]: Do not allow headers.
26206 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26207 is[abcdefghijklmnopqrstuvwxyz]*.
26208 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26209 to[abcdefghijklmnopqrstuvwxyz]*.
26210 [ISO C standards] (*_t): Do not allow.
26211 * conform/data/stdalign.h-data: New file.
26212 * conform/data/stdbool.h-data: Likewise.
26213 * conform/data/stdnoreturn.h-data: Likewise.
26215 2012-11-07 Roland McGrath <roland@hack.frob.com>
26218 * manual/filesys.texi (Directory Entries): Typo fix.
26219 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26221 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26223 * elf/elf.h (EM_AARCH64): New macro.
26224 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26225 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26226 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26227 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26228 (R_AARCH64_TLSDESC): Likewise.
26229 (NT_ARM_TLS): Likewise.
26230 (NT_ARM_HW_BREAK): Likewise.
26231 (NT_ARM_HW_WATCH): Likewise.
26233 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26236 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26237 (__ieee754_powl): Saturate nonzero exponents with absolute value
26238 below 0x1p-79 to +/- 0x1p-79.
26239 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26240 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26241 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26242 nonzero exponents with absolute value below 0x1p-32 to +/-
26244 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26245 (__ieee754_powl): Saturate nonzero exponents with absolute value
26246 below 0x1p-79 to +/- 0x1p-79.
26247 * math/libm-test.inc (pow_test): Add more tests.
26249 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26251 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26252 _dl_s390_cap_flags with kernel. Increase string length.
26253 (_dl_s390_platforms): Add z196 and zEC12.
26255 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26257 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26258 Change XOPEN21K to XOPEN2K.
26260 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26262 * string/memmove.c: Use memcpy when possible.
26264 2012-11-06 Andreas Jaeger <aj@suse.de>
26266 * po/eo.po: Update from translation team.
26268 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26272 exponent and small x and y exponents, scale x or y up. Increase
26273 by 2 the exponent used in scaling up.
26274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26276 * math/libm-test.inc (fma_test): Add more tests.
26277 (fma_test_towardzero): Likewise.
26278 (fma_test_downward): Likewise.
26279 (fma_test_upward): Likewise.
26281 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26284 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26288 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26289 namespace for names of struct fields.
26290 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26292 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26293 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26295 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26298 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26300 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26302 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26306 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26309 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26313 definitely overflow as x * y not x * y + z.
26314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26316 * math/libm-test.inc (fma_test): Add more tests.
26317 (fma_test_towardzero): Likewise.
26318 (fma_test_downward): Likewise.
26319 (fma_test_upward): Likewise.
26321 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26325 * include/stub-tag.h: Remove file.
26326 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26328 * manual/maint.texi (Porting): Don't reference it.
26329 * Makerules ($(objpfx)stubs): Likewise.
26330 * dirent/closedir.c: Don't include <stub-tag.h>.
26331 * dirent/dirfd.c: Likewise.
26332 * dirent/fdopendir.c: Likewise.
26333 * dirent/getdents.c: Likewise.
26334 * dirent/getdents64.c: Likewise.
26335 * dirent/opendir.c: Likewise.
26336 * dirent/readdir.c: Likewise.
26337 * dirent/readdir64.c: Likewise.
26338 * dirent/readdir64_r.c: Likewise.
26339 * dirent/readdir_r.c: Likewise.
26340 * dirent/rewinddir.c: Likewise.
26341 * dirent/seekdir.c: Likewise.
26342 * dirent/telldir.c: Likewise.
26343 * gmon/profil.c: Likewise.
26344 * grp/setgroups.c: Likewise.
26345 * inet/if_index.c: Likewise.
26346 * io/access.c: Likewise.
26347 * io/chdir.c: Likewise.
26348 * io/chmod.c: Likewise.
26349 * io/chown.c: Likewise.
26350 * io/close.c: Likewise.
26351 * io/dup.c: Likewise.
26352 * io/dup2.c: Likewise.
26353 * io/dup3.c: Likewise.
26354 * io/euidaccess.c: Likewise.
26355 * io/faccessat.c: Likewise.
26356 * io/fchdir.c: Likewise.
26357 * io/fchmod.c: Likewise.
26358 * io/fchmodat.c: Likewise.
26359 * io/fchown.c: Likewise.
26360 * io/fchownat.c: Likewise.
26361 * io/fcntl.c: Likewise.
26362 * io/flock.c: Likewise.
26363 * io/fstatfs.c: Likewise.
26364 * io/fstatfs64.c: Likewise.
26365 * io/fstatvfs.c: Likewise.
26366 * io/fstatvfs64.c: Likewise.
26367 * io/futimens.c: Likewise.
26368 * io/fxstat.c: Likewise.
26369 * io/fxstat64.c: Likewise.
26370 * io/fxstatat.c: Likewise.
26371 * io/fxstatat64.c: Likewise.
26372 * io/getcwd.c: Likewise.
26373 * io/isatty.c: Likewise.
26374 * io/lchmod.c: Likewise.
26375 * io/lchown.c: Likewise.
26376 * io/link.c: Likewise.
26377 * io/linkat.c: Likewise.
26378 * io/lseek.c: Likewise.
26379 * io/lseek64.c: Likewise.
26380 * io/lxstat64.c: Likewise.
26381 * io/mkdir.c: Likewise.
26382 * io/mkdirat.c: Likewise.
26383 * io/mkfifo.c: Likewise.
26384 * io/mkfifoat.c: Likewise.
26385 * io/open.c: Likewise.
26386 * io/open64.c: Likewise.
26387 * io/openat.c: Likewise.
26388 * io/openat64.c: Likewise.
26389 * io/pipe.c: Likewise.
26390 * io/pipe2.c: Likewise.
26391 * io/poll.c: Likewise.
26392 * io/posix_fadvise.c: Likewise.
26393 * io/posix_fadvise64.c: Likewise.
26394 * io/posix_fallocate.c: Likewise.
26395 * io/posix_fallocate64.c: Likewise.
26396 * io/read.c: Likewise.
26397 * io/readlink.c: Likewise.
26398 * io/readlinkat.c: Likewise.
26399 * io/rmdir.c: Likewise.
26400 * io/sendfile.c: Likewise.
26401 * io/sendfile64.c: Likewise.
26402 * io/statfs.c: Likewise.
26403 * io/statfs64.c: Likewise.
26404 * io/statvfs.c: Likewise.
26405 * io/statvfs64.c: Likewise.
26406 * io/symlink.c: Likewise.
26407 * io/symlinkat.c: Likewise.
26408 * io/ttyname.c: Likewise.
26409 * io/ttyname_r.c: Likewise.
26410 * io/umask.c: Likewise.
26411 * io/unlink.c: Likewise.
26412 * io/unlinkat.c: Likewise.
26413 * io/utime.c: Likewise.
26414 * io/utimensat.c: Likewise.
26415 * io/write.c: Likewise.
26416 * io/xmknod.c: Likewise.
26417 * io/xmknodat.c: Likewise.
26418 * io/xstat.c: Likewise.
26419 * io/xstat64.c: Likewise.
26420 * login/getpt.c: Likewise.
26421 * login/grantpt.c: Likewise.
26422 * login/unlockpt.c: Likewise.
26423 * math/e_acoshl.c: Likewise.
26424 * math/e_acosl.c: Likewise.
26425 * math/e_asinl.c: Likewise.
26426 * math/e_atan2l.c: Likewise.
26427 * math/e_atanhl.c: Likewise.
26428 * math/e_coshl.c: Likewise.
26429 * math/e_expl.c: Likewise.
26430 * math/e_fmodl.c: Likewise.
26431 * math/e_gammal_r.c: Likewise.
26432 * math/e_hypotl.c: Likewise.
26433 * math/e_j0l.c: Likewise.
26434 * math/e_j1l.c: Likewise.
26435 * math/e_jnl.c: Likewise.
26436 * math/e_lgammal_r.c: Likewise.
26437 * math/e_log10l.c: Likewise.
26438 * math/e_log2l.c: Likewise.
26439 * math/e_logl.c: Likewise.
26440 * math/e_powl.c: Likewise.
26441 * math/e_rem_pio2l.c: Likewise.
26442 * math/e_sinhl.c: Likewise.
26443 * math/e_sqrtl.c: Likewise.
26444 * math/fclrexcpt.c: Likewise.
26445 * math/fedisblxcpt.c: Likewise.
26446 * math/feenablxcpt.c: Likewise.
26447 * math/fegetenv.c: Likewise.
26448 * math/fegetexcept.c: Likewise.
26449 * math/fegetround.c: Likewise.
26450 * math/feholdexcpt.c: Likewise.
26451 * math/fesetenv.c: Likewise.
26452 * math/fesetround.c: Likewise.
26453 * math/feupdateenv.c: Likewise.
26454 * math/fgetexcptflg.c: Likewise.
26455 * math/fraiseexcpt.c: Likewise.
26456 * math/fsetexcptflg.c: Likewise.
26457 * math/ftestexcept.c: Likewise.
26458 * math/k_cosl.c: Likewise.
26459 * math/k_rem_pio2l.c: Likewise.
26460 * math/k_sinl.c: Likewise.
26461 * math/k_tanl.c: Likewise.
26462 * math/s_asinhl.c: Likewise.
26463 * math/s_atanl.c: Likewise.
26464 * math/s_cbrtl.c: Likewise.
26465 * math/s_erfl.c: Likewise.
26466 * math/s_expm1l.c: Likewise.
26467 * math/s_log1pl.c: Likewise.
26468 * math/s_tanhl.c: Likewise.
26469 * misc/acct.c: Likewise.
26470 * misc/brk.c: Likewise.
26471 * misc/chflags.c: Likewise.
26472 * misc/chroot.c: Likewise.
26473 * misc/fchflags.c: Likewise.
26474 * misc/fgetxattr.c: Likewise.
26475 * misc/flistxattr.c: Likewise.
26476 * misc/fremovexattr.c: Likewise.
26477 * misc/fsetxattr.c: Likewise.
26478 * misc/fsync.c: Likewise.
26479 * misc/ftruncate.c: Likewise.
26480 * misc/futimes.c: Likewise.
26481 * misc/futimesat.c: Likewise.
26482 * misc/getdomain.c: Likewise.
26483 * misc/getdtsz.c: Likewise.
26484 * misc/gethostid.c: Likewise.
26485 * misc/gethostname.c: Likewise.
26486 * misc/getloadavg.c: Likewise.
26487 * misc/getpagesize.c: Likewise.
26488 * misc/getsysstats.c: Likewise.
26489 * misc/getxattr.c: Likewise.
26490 * misc/gtty.c: Likewise.
26491 * misc/ioctl.c: Likewise.
26492 * misc/lgetxattr.c: Likewise.
26493 * misc/listxattr.c: Likewise.
26494 * misc/llistxattr.c: Likewise.
26495 * misc/lremovexattr.c: Likewise.
26496 * misc/lsetxattr.c: Likewise.
26497 * misc/lutimes.c: Likewise.
26498 * misc/madvise.c: Likewise.
26499 * misc/mincore.c: Likewise.
26500 * misc/mlock.c: Likewise.
26501 * misc/mlockall.c: Likewise.
26502 * misc/mmap.c: Likewise.
26503 * misc/mprotect.c: Likewise.
26504 * misc/msync.c: Likewise.
26505 * misc/munlock.c: Likewise.
26506 * misc/munlockall.c: Likewise.
26507 * misc/munmap.c: Likewise.
26508 * misc/preadv.c: Likewise.
26509 * misc/preadv64.c: Likewise.
26510 * misc/ptrace.c: Likewise.
26511 * misc/pwritev.c: Likewise.
26512 * misc/pwritev64.c: Likewise.
26513 * misc/readv.c: Likewise.
26514 * misc/reboot.c: Likewise.
26515 * misc/remap_file_pages.c: Likewise.
26516 * misc/removexattr.c: Likewise.
26517 * misc/revoke.c: Likewise.
26518 * misc/select.c: Likewise.
26519 * misc/setdomain.c: Likewise.
26520 * misc/setegid.c: Likewise.
26521 * misc/seteuid.c: Likewise.
26522 * misc/sethostid.c: Likewise.
26523 * misc/sethostname.c: Likewise.
26524 * misc/setregid.c: Likewise.
26525 * misc/setreuid.c: Likewise.
26526 * misc/setxattr.c: Likewise.
26527 * misc/sstk.c: Likewise.
26528 * misc/stty.c: Likewise.
26529 * misc/swapoff.c: Likewise.
26530 * misc/swapon.c: Likewise.
26531 * misc/sync.c: Likewise.
26532 * misc/syncfs.c: Likewise.
26533 * misc/syscall.c: Likewise.
26534 * misc/truncate.c: Likewise.
26535 * misc/ualarm.c: Likewise.
26536 * misc/usleep.c: Likewise.
26537 * misc/ustat.c: Likewise.
26538 * misc/utimes.c: Likewise.
26539 * misc/vhangup.c: Likewise.
26540 * misc/writev.c: Likewise.
26541 * posix/_exit.c: Likewise.
26542 * posix/alarm.c: Likewise.
26543 * posix/execve.c: Likewise.
26544 * posix/fexecve.c: Likewise.
26545 * posix/fork.c: Likewise.
26546 * posix/fpathconf.c: Likewise.
26547 * posix/getaddrinfo.c: Likewise.
26548 * posix/getegid.c: Likewise.
26549 * posix/geteuid.c: Likewise.
26550 * posix/getgid.c: Likewise.
26551 * posix/getgroups.c: Likewise.
26552 * posix/getlogin.c: Likewise.
26553 * posix/getlogin_r.c: Likewise.
26554 * posix/getpgid.c: Likewise.
26555 * posix/getpid.c: Likewise.
26556 * posix/getppid.c: Likewise.
26557 * posix/getresgid.c: Likewise.
26558 * posix/getresuid.c: Likewise.
26559 * posix/getsid.c: Likewise.
26560 * posix/getuid.c: Likewise.
26561 * posix/glob64.c: Likewise.
26562 * posix/nanosleep.c: Likewise.
26563 * posix/pathconf.c: Likewise.
26564 * posix/pause.c: Likewise.
26565 * posix/posix_madvise.c: Likewise.
26566 * posix/pread.c: Likewise.
26567 * posix/pread64.c: Likewise.
26568 * posix/pwrite.c: Likewise.
26569 * posix/pwrite64.c: Likewise.
26570 * posix/sched_getaffinity.c: Likewise.
26571 * posix/sched_getp.c: Likewise.
26572 * posix/sched_gets.c: Likewise.
26573 * posix/sched_primax.c: Likewise.
26574 * posix/sched_primin.c: Likewise.
26575 * posix/sched_rr_gi.c: Likewise.
26576 * posix/sched_setaffinity.c: Likewise.
26577 * posix/sched_setp.c: Likewise.
26578 * posix/sched_sets.c: Likewise.
26579 * posix/sched_yield.c: Likewise.
26580 * posix/setgid.c: Likewise.
26581 * posix/setlogin.c: Likewise.
26582 * posix/setpgid.c: Likewise.
26583 * posix/setresgid.c: Likewise.
26584 * posix/setresuid.c: Likewise.
26585 * posix/setsid.c: Likewise.
26586 * posix/setuid.c: Likewise.
26587 * posix/sleep.c: Likewise.
26588 * posix/spawni.c: Likewise.
26589 * posix/sysconf.c: Likewise.
26590 * posix/times.c: Likewise.
26591 * posix/wait.c: Likewise.
26592 * posix/wait3.c: Likewise.
26593 * posix/wait4.c: Likewise.
26594 * posix/waitpid.c: Likewise.
26595 * resolv/gai_sigqueue.c: Likewise.
26596 * resource/getpriority.c: Likewise.
26597 * resource/getrlimit.c: Likewise.
26598 * resource/getrusage.c: Likewise.
26599 * resource/nice.c: Likewise.
26600 * resource/setpriority.c: Likewise.
26601 * resource/setrlimit.c: Likewise.
26602 * resource/ulimit.c: Likewise.
26603 * rt/aio_cancel.c: Likewise.
26604 * rt/aio_fsync.c: Likewise.
26605 * rt/aio_read.c: Likewise.
26606 * rt/aio_sigqueue.c: Likewise.
26607 * rt/aio_suspend.c: Likewise.
26608 * rt/aio_write.c: Likewise.
26609 * rt/clock_getres.c: Likewise.
26610 * rt/clock_gettime.c: Likewise.
26611 * rt/clock_nanosleep.c: Likewise.
26612 * rt/clock_settime.c: Likewise.
26613 * rt/lio_listio.c: Likewise.
26614 * rt/mq_close.c: Likewise.
26615 * rt/mq_getattr.c: Likewise.
26616 * rt/mq_notify.c: Likewise.
26617 * rt/mq_open.c: Likewise.
26618 * rt/mq_receive.c: Likewise.
26619 * rt/mq_send.c: Likewise.
26620 * rt/mq_setattr.c: Likewise.
26621 * rt/mq_timedreceive.c: Likewise.
26622 * rt/mq_timedsend.c: Likewise.
26623 * rt/mq_unlink.c: Likewise.
26624 * rt/shm_open.c: Likewise.
26625 * rt/shm_unlink.c: Likewise.
26626 * rt/timer_create.c: Likewise.
26627 * rt/timer_delete.c: Likewise.
26628 * rt/timer_getoverr.c: Likewise.
26629 * rt/timer_gettime.c: Likewise.
26630 * rt/timer_settime.c: Likewise.
26631 * setjmp/__longjmp.c: Likewise.
26632 * setjmp/setjmp.c: Likewise.
26633 * signal/kill.c: Likewise.
26634 * signal/killpg.c: Likewise.
26635 * signal/raise.c: Likewise.
26636 * signal/sigaction.c: Likewise.
26637 * signal/sigaltstack.c: Likewise.
26638 * signal/sigblock.c: Likewise.
26639 * signal/sigignore.c: Likewise.
26640 * signal/sigintr.c: Likewise.
26641 * signal/signal.c: Likewise.
26642 * signal/sigpause.c: Likewise.
26643 * signal/sigpending.c: Likewise.
26644 * signal/sigqueue.c: Likewise.
26645 * signal/sigreturn.c: Likewise.
26646 * signal/sigset.c: Likewise.
26647 * signal/sigsetmask.c: Likewise.
26648 * signal/sigstack.c: Likewise.
26649 * signal/sigsuspend.c: Likewise.
26650 * signal/sigtimedwait.c: Likewise.
26651 * signal/sigvec.c: Likewise.
26652 * signal/sigwait.c: Likewise.
26653 * signal/sigwaitinfo.c: Likewise.
26654 * signal/sysv_signal.c: Likewise.
26655 * socket/accept.c: Likewise.
26656 * socket/accept4.c: Likewise.
26657 * socket/bind.c: Likewise.
26658 * socket/connect.c: Likewise.
26659 * socket/getpeername.c: Likewise.
26660 * socket/getsockname.c: Likewise.
26661 * socket/getsockopt.c: Likewise.
26662 * socket/isfdtype.c: Likewise.
26663 * socket/listen.c: Likewise.
26664 * socket/recv.c: Likewise.
26665 * socket/recvfrom.c: Likewise.
26666 * socket/recvmsg.c: Likewise.
26667 * socket/send.c: Likewise.
26668 * socket/sendmsg.c: Likewise.
26669 * socket/sendto.c: Likewise.
26670 * socket/setsockopt.c: Likewise.
26671 * socket/shutdown.c: Likewise.
26672 * socket/sockatmark.c: Likewise.
26673 * socket/socket.c: Likewise.
26674 * socket/socketpair.c: Likewise.
26675 * stdio-common/ctermid.c: Likewise.
26676 * stdio-common/cuserid.c: Likewise.
26677 * stdio-common/remove.c: Likewise.
26678 * stdio-common/rename.c: Likewise.
26679 * stdio-common/renameat.c: Likewise.
26680 * stdio-common/tempname.c: Likewise.
26681 * stdlib/getcontext.c: Likewise.
26682 * stdlib/makecontext.c: Likewise.
26683 * stdlib/setcontext.c: Likewise.
26684 * stdlib/swapcontext.c: Likewise.
26685 * stdlib/system.c: Likewise.
26686 * streams/fattach.c: Likewise.
26687 * streams/fdetach.c: Likewise.
26688 * streams/getmsg.c: Likewise.
26689 * streams/getpmsg.c: Likewise.
26690 * streams/putmsg.c: Likewise.
26691 * streams/putpmsg.c: Likewise.
26692 * sysdeps/unix/bsd/getpt.c: Likewise.
26693 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26694 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26695 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26698 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26699 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26700 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26701 * sysvipc/msgctl.c: Likewise.
26702 * sysvipc/msgget.c: Likewise.
26703 * sysvipc/msgrcv.c: Likewise.
26704 * sysvipc/msgsnd.c: Likewise.
26705 * sysvipc/semctl.c: Likewise.
26706 * sysvipc/semget.c: Likewise.
26707 * sysvipc/semop.c: Likewise.
26708 * sysvipc/semtimedop.c: Likewise.
26709 * sysvipc/shmat.c: Likewise.
26710 * sysvipc/shmctl.c: Likewise.
26711 * sysvipc/shmdt.c: Likewise.
26712 * sysvipc/shmget.c: Likewise.
26713 * termios/tcdrain.c: Likewise.
26714 * termios/tcflow.c: Likewise.
26715 * termios/tcflush.c: Likewise.
26716 * termios/tcgetattr.c: Likewise.
26717 * termios/tcgetpgrp.c: Likewise.
26718 * termios/tcsendbrk.c: Likewise.
26719 * termios/tcsetattr.c: Likewise.
26720 * termios/tcsetpgrp.c: Likewise.
26721 * time/adjtime.c: Likewise.
26722 * time/clock.c: Likewise.
26723 * time/getitimer.c: Likewise.
26724 * time/gettimeofday.c: Likewise.
26725 * time/setitimer.c: Likewise.
26726 * time/settimeofday.c: Likewise.
26727 * time/stime.c: Likewise.
26728 * time/time.c: Likewise.
26730 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26732 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26735 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26737 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26739 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26742 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26743 FE_TONEAREST before applying Dekker multiplication and Knuth
26744 addition. Clear inexact exceptions and check for exact zero
26745 results afterwards.
26746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26747 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26749 * math/libm-test.inc (fma_test): Add more tests.
26750 (fma_test_towardzero): Likewise.
26751 (fma_test_downward): Likewise.
26752 (fma_test_upward): Likewise.
26753 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26755 (libc_fesetround): New macro.
26756 (libc_fesetroundf): Likewise.
26757 (libc_fesetroundl): Likewise.
26758 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26760 (libc_fesetround_387): Likewise.
26761 (libc_fesetroundf): New macro.
26762 (libc_fesetround): Likewise.
26763 (libc_fesetroundl): Likewise.
26764 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26766 (libc_fesetroundf): New macro.
26767 (libc_fesetround): Likewise.
26768 (libc_fesetroundl): Likewise.
26769 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26770 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26771 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26773 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26774 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26776 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26777 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26779 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26783 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26784 integer constant usable in #if and use that to give value to enum
26786 (FE_DIVBYZERO): Likewise.
26787 (FE_UNDERFLOW): Likewise.
26788 (FE_OVERFLOW): Likewise.
26789 (FE_INVALID): Likewise.
26790 (FE_INVALID_SNAN): Likewise.
26791 (FE_INVALID_ISI): Likewise.
26792 (FE_INVALID_IDI): Likewise.
26793 (FE_INVALID_ZDZ): Likewise.
26794 (FE_INVALID_IMZ): Likewise.
26795 (FE_INVALID_COMPARE): Likewise.
26796 (FE_INVALID_SOFTWARE): Likewise.
26797 (FE_INVALID_SQRT): Likewise.
26798 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26799 (FE_TONEAREST): Likewise.
26800 (FE_TOWARDZERO): Likewise.
26801 (FE_UPWARD): Likewise.
26802 (FE_DOWNWARD): Likewise.
26803 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26804 (FE_DIVBYZERO): Likewise.
26805 (FE_OVERFLOW): Likewise.
26806 (FE_UNDERFLOW): Likewise.
26807 (FE_INEXACT): Likewise.
26808 (FE_TONEAREST): Likewise.
26809 (FE_DOWNWARD): Likewise.
26810 (FE_UPWARD): Likewise.
26811 (FE_TOWARDZERO): Likewise.
26812 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26813 (FE_UNDERFLOW): Likewise.
26814 (FE_OVERFLOW): Likewise.
26815 (FE_DIVBYZERO): Likewise.
26816 (FE_INVALID): Likewise.
26817 (FE_TONEAREST): Likewise.
26818 (FE_TOWARDZERO): Likewise.
26819 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26820 (FE_OVERFLOW): Likewise.
26821 (FE_UNDERFLOW): Likewise.
26822 (FE_DIVBYZERO): Likewise.
26823 (FE_INEXACT): Likewise.
26824 (FE_TONEAREST): Likewise.
26825 (FE_TOWARDZERO): Likewise.
26826 (FE_UPWARD): Likewise.
26827 (FE_DOWNWARD): Likewise.
26828 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26829 (FE_DIVBYZERO): Likewise.
26830 (FE_OVERFLOW): Likewise.
26831 (FE_UNDERFLOW): Likewise.
26832 (FE_INEXACT): Likewise.
26833 (FE_TONEAREST): Likewise.
26834 (FE_DOWNWARD): Likewise.
26835 (FE_UPWARD): Likewise.
26836 (FE_TOWARDZERO): Likewise.
26838 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26840 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26842 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26844 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26845 commands. Quote $PWD.
26846 (blacklist_exports): Don't use remove_newlines. Replace "declare
26848 (remove_newlines): Remove.
26850 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26852 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26853 * stdlib/stdlib.h (atof): Moved to ...
26854 * include/bits/stdlib-float.h: Here. New file.
26855 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26856 * stdlib/bits/stdlib-float.h: New file.
26857 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26859 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26862 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26864 * conform/conformtest.pl (@headers): Add fenv.h.
26865 * conform/data/fenv.h-data: New file.
26866 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26867 include of <math/fenv.h>.
26869 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26870 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26871 && !UNIX98]. Enables tests for XOPEN2K8.
26872 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26873 POSIX2008]: Likewise.
26875 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26876 (struct rusage): Do not expect type or its members.
26879 * math/math.h (FP_NAN): Define macro to integer constant usable in
26880 #if and use that to give value to enum constant.
26881 (FP_INFINITE): Likewise.
26882 (FP_ZERO): Likewise.
26883 (FP_SUBNORMAL): Likewise.
26884 (FP_NORMAL): Likewise.
26886 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26888 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26889 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26892 2012-11-02 Roland McGrath <roland@hack.frob.com>
26894 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26895 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26896 autoconf-time if not.
26897 * configure.in: Remove AC_PREREQ.
26899 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26901 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26902 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26903 of the internal implementation.
26905 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26907 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26908 except include of <misc/sys/syslog.h>.
26910 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26913 function returns with a NULL context exit with zero.
26915 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26917 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26919 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26921 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26922 (run_program_cmd): This.
26923 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26924 (tst_langinfo): New variable. Use it.
26926 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26928 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26929 floating point opcodes.
26931 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26933 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26936 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26938 * sysdeps/mach/hurd/powerpc: Remove directory.
26939 * sysdeps/mach/powerpc: Likewise.
26941 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26943 * scripts/check-local-headers.sh: Ignore c++ headers.
26945 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26947 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26948 __libc_cleanup_region_start argument.
26950 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26955 x * y using scaling, not as x * y + z.
26956 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26957 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26958 * math/libm-test.inc (fma_test): Add more tests.
26959 (fma_test_towardzero): Likewise.
26960 (fma_test_downward): Likewise.
26961 (fma_test_upward): Likewise.
26963 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26965 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26967 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26969 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26972 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26974 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26976 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26983 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26986 Fix the order of the list for glibc 2.17.
26987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26990 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26994 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26997 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26998 for low part of x being zero before using __atanl (y).
26999 * math/libm-test.inc (atan2_test): Add another test.
27001 * manual/install.texi (Configuring and compiling): Document
27002 general use of test-wrapper and test-wrapper-env.
27003 * INSTALL: Regenerated.
27005 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27006 (__fma): Do not extract and scale down low bits on after-rounding
27007 systems when result rounded to normal precision would have normal
27009 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27010 (__fmal): Do not extract and scale down low bits on after-rounding
27011 systems when result rounded to normal precision would have normal
27013 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27014 (__fmal): Do not extract and scale down low bits on after-rounding
27015 systems when result rounded to normal precision would have normal
27017 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27019 (fma_test): Add more tests.
27020 (fma_test_towardzero): Likewise.
27021 (fma_test_downward): Likewise.
27022 (fma_test_upward): Likewise.
27024 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27026 * sysdeps/i386/tininess.h: Renamed to ...
27027 * sysdeps/x86/tininess.h: This.
27028 * sysdeps/x86_64/tininess.h: Removed.
27030 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27032 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27033 input. Use $(build-program-cmd).
27034 ($(objpfx)tst-array1-static.out): Likewise.
27035 ($(objpfx)tst-array2.out): Likewise.
27036 ($(objpfx)tst-array3.out): Likewise.
27037 ($(objpfx)tst-array4.out): Likewise.
27038 ($(objpfx)tst-array5.out): Likewise.
27039 ($(objpfx)tst-array5-static.out): Likewise.
27041 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27043 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27046 * nss/nsswitch.h (nss_interface_function): Provide new
27047 macro for use with NSS functions.
27048 * grp/initgroups.c: Use new macro.
27049 * nss/getXXbyYY.c: Likewise.
27050 * nss/getXXbyYY_r.c: Likewise.
27051 * nss/getXXent.c: Likewise.
27052 * nss/getXXent_r.c: Likewise.
27053 * sysdeps/posix/getaddrinfo.c: Likewise.
27055 2012-10-30 Andreas Jaeger <aj@suse.de>
27057 * po/ru.po: Update Russion translation from translation project.
27059 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27064 result and shift together with sticky bit instead of replicating
27065 round-to-nearest rounding.
27066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27067 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27068 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27069 missing underflow exceptions.
27070 (fma_test_towardzero): Add more tests.
27071 (fma_test_downward): Likewise.
27072 (fma_test_upward): Likewise.
27075 * sysdeps/generic/tininess.h: New file.
27076 * sysdeps/i386/tininess.h: Likewise.
27077 * sysdeps/sh/tininess.h: Likewise.
27078 * sysdeps/x86_64/tininess.h: Likewise.
27079 * stdlib/tst-strtod-underflow.c: Likewise.
27080 * stdlib/tst-tininess.c: Likewise.
27081 * stdlib/strtod_l.c: Include <tininess.h>.
27082 (round_and_return): Do not set errno for exact underflow cases.
27083 Force an underflow exception when setting errno for underflow.
27084 Determine underflow based on rounding to normal precision if
27085 TININESS_AFTER_ROUNDING.
27086 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27087 ERANGE for exact underflow cases.
27088 * stdlib/Makefile (tests): Add tst-tininess and
27089 tst-strtod-underflow.
27090 ($(objpfx)tst-tininess): Use $(link-libm).
27091 ($(objpfx)tst-strtod-underflow): Likewise.
27093 2012-10-30 Andreas Jaeger <aj@suse.de>
27096 * elf/Makefile (tests): Remove conditional for have-initfini-array
27097 since this is now always required and the variable does not exist
27099 (tests-static): Likewise.
27100 (modules-names): Likewise.
27102 * po/eo.po: Add Esperanto translation from translation project.
27104 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27105 merged with constructor/destructor.
27106 (init_array): Likewise.
27107 * elf/tst-array2dep.c (fini_array): Likewise.
27108 (init_array): Likewise.
27110 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27112 * manual/message.texi: Delete @cartouche tags.
27114 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27116 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27118 * sysdeps/mach/hurd/fsync.c: Likewise.
27120 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27121 [_POSIX_REALTIME_SIGNALS]: Change condition to
27122 [_POSIX_REALTIME_SIGNALS > 0].
27124 2012-10-27 Andreas Jaeger <aj@suse.de>
27126 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27127 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27129 [__WORDSIZE != 64]: Likewise.
27131 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27133 * iconvdata/tst-table.sh: Remove ${SHELL}.
27134 * iconvdata/tst-tables.sh: Likewise.
27136 2012-10-25 David S. Miller <davem@davemloft.net>
27138 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27139 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27144 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27145 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27146 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27149 2012-10-25 Roland McGrath <roland@hack.frob.com>
27151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27152 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27155 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27156 Jim Blandy <jimb@codesourcery.com>
27158 * scripts/cross-test-ssh.sh: New file.
27159 * manual/install.texi (Configuring and compiling): Document use of
27161 * INSTALL: Regenerated.
27163 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27165 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27168 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27170 * Makeconfig (run-program-prefix): Fix comment.
27172 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27173 Jim Blandy <jimb@codesourcery.com>
27175 * Makeconfig (test-wrapper): New variable,
27176 (test-wrapper-env): Likewise.
27177 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27178 (run-built-tests): Define to yes.
27179 (run-program-prefix): Use $(test-wrapper).
27180 (built-program-cmd): Likewise.
27181 * Rules (make-test-out): Use $(test-wrapper-env) and
27182 $(host-built-program-cmd).
27183 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27184 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27186 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27187 $(test-wrapper-env) to tst-rtld-load-self.sh.
27188 ($(objpfx)order2.out): Use $(test-wrapper).
27189 ($(objpfx)tst-initorder.out): Likewise.
27190 ($(objpfx)tst-initorder2.out): Likewise.
27191 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27192 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27193 (test_wrapper_env): New variable. Use it to run ld.so.
27194 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27195 Use it to run ld.so.
27196 (test_wrapper_env): Likewise.
27197 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27198 $(test-wrapper) to run-iconv-test.sh.
27199 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27200 (ICONV): Use $test_wrapper.
27201 * posix/Makefile ($(objpfx)globtest.out): Pass
27202 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27203 globtest.sh, not $(run-program-prefix).
27204 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27205 (test_wrapper): Likewise.
27206 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27207 set together with run_via_rtld_prefix.
27208 (run_program_prefix): Define in terms of test_wrapper and
27209 run_via_rtld_prefix.
27211 2012-10-24 Roland McGrath <roland@hack.frob.com>
27213 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27214 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27218 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27219 Declare __clock_getres, __clock_gettime, __clock_settime,
27220 __clock_nanosleep, and __clock_getcpuclockid.
27221 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27222 Remove librt_hidden_def (clock_gettime).
27223 * sysdeps/unix/clock_gettime.c: Likewise.
27224 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27225 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27226 * rt/clock_getres.c: Define __clock_getres as an alias.
27227 * sysdeps/posix/clock_getres.c: Likewise.
27228 * rt/clock_settime.c: Define __clock_settime as an alias.
27229 * sysdeps/unix/clock_settime.c: Likewise.
27230 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27231 * sysdeps/unix/clock_nanosleep.c: Likewise.
27232 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27233 * rt/clock-compat.c: New file.
27234 * rt/Makefile (librt-routines): Add clock-compat and move
27235 $(clock-routines) to ...
27236 (routines): ... here, new variable.
27237 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27238 Don't add get_clockfreq here.
27239 * rt/Versions (libc: GLIBC_2.17): New version set.
27240 Add clock_* symbols here.
27241 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27242 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27243 (GLIBC_2.17): Add clock_* symbols.
27244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27246 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27255 * NEWS: Mention the move.
27257 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27258 Use __open, __read, __close rather than their public counterparts.
27259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27260 (__get_clockfreq_via_cpuinfo): Likewise.
27261 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27262 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27264 * config.h.in (HAVE_IFUNC): New #undef.
27265 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27267 * configure: Regenerated.
27269 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27271 * configure.in: Move READELF check to start of file.
27272 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27273 libc_cv_asm_gnu_indirect_function in the process.
27274 * configure: Regenerated.
27276 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27278 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27279 send the output to /dev/null.
27280 (libc_cv_cc_with_libunwind): Likewise.
27281 (libc_cv_as_noexecstack): Likewise.
27282 * configure: Regenerate.
27284 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27286 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27288 * posix/globtest.sh (TMPDIR): Do not set.
27289 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27290 (testout): Likewise.
27292 2012-10-24 Andreas Jaeger <aj@suse.de>
27294 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27295 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27296 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27297 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27298 posix_fadvise64, posix_fallocate64.
27300 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27301 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27302 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27304 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27306 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27309 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27310 <bits/fcntl-linux.h>.
27311 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27313 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27314 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27315 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27316 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27317 [__WORDSIZE != 64]: Likewise.
27319 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27321 * Makeconfig (run-built-tests): New variable.
27322 * Rules [$(cross-compiling) = yes]: Change condition to
27323 [$(run-built-tests) = no].
27324 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27325 to [$(run-built-tests) = yes].
27326 * elf/Makefile [$(cross-compiling) = no]: Likewise
27327 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27328 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27329 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27330 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27331 * io/Makefile [$(cross-compiling) = no]: Likewise.
27332 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27333 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27334 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27335 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27336 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27337 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27338 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27339 * string/Makefile [$(cross-compiling) = no]: Likewise.
27341 * posix/Makefile ($(objpfx)globtest.out): Pass
27342 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27343 $(rtld-installed-name).
27344 * posix/globtest.sh (elf_objpfx): Remove variable.
27345 (rtld_installed_name): Likewise.
27346 (library_path): Likewise.
27347 (run_program_prefix): New variable. Use for running globtest
27350 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27351 Joseph Myers <joseph@codesourcery.com>
27353 * Makeconfig (host-built-program-cmd): New variable.
27354 * elf/Makefile (tst-stackguard1-ARGS): Use
27355 $(host-built-program-cmd).
27356 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27357 (tst-spawn-ARGS): Likewise.
27358 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27360 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27361 Jim Blandy <jimb@codesourcery.com>
27363 * Makeconfig (run-via-rtld-prefix): New variable.
27364 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27365 (built-program-cmd): Likewise.
27367 2012-10-22 Andreas Jaeger <aj@suse.de>
27369 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27370 __O_RSYNC if it exists, otherwise to O_SYNC.
27372 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27373 Joseph Myers <joseph@codesourcery.com>
27375 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27377 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27379 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27382 2012-10-22 Andreas Jaeger <aj@suse.de>
27384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27389 bits/fcntl-linux.h.
27391 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27392 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27394 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27399 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27400 Joseph Myers <joseph@codesourcery.com>
27402 * config.make.in (NM): New variable.
27404 2012-10-21 Andreas Jaeger <aj@suse.de>
27406 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27407 definitions and declarations that are provided by
27408 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27410 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27413 * elf/Makefile (tests-static): Add tst-leaks1-static.
27414 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27415 ($(objpfx)tst-leaks1-static): New rule.
27416 ($(objpfx)tst-leaks1-static-mem): Likewise.
27417 (tst-leaks1-static-ENV): New macro.
27418 * elf/dl-open.c (dl_open_worker): Check the main application
27419 only if SHARED is defined.
27420 * elf/tst-leaks1-static.c: New file.
27422 2012-10-20 Andreas Jaeger <aj@suse.de>
27424 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27425 generic values for Linux.
27426 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27427 and declarations that are provided by <bits/fcntl-linux.h> and
27428 include <bits/fcntl-linux.h>.
27429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27432 2012-10-20 Roland McGrath <roland@hack.frob.com>
27434 * io/fcntl.h: Move include of <bits/types.h> to the top and
27435 include it unconditionally.
27437 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27439 * wcsmbs/Makefile (tests-ifunc): New variable.
27440 (tests): Add $(tests-ifunc).
27441 * wcsmbs/test-wcschr-ifunc.c: New file.
27442 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27443 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27444 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27445 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27446 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27448 * string/Makefile (tests-ifunc): New variable.
27449 (tests): Add $(tests-ifunc).
27450 * string/test-memccpy.c (TEST_NAME): New macro.
27451 * string/test-memchr.c (TEST_NAME): Likewise.
27452 * string/test-memcmp.c (TEST_NAME): Likewise.
27453 * string/test-memcpy.c (TEST_NAME): Likewise.
27454 * string/test-memmem.c (TEST_NAME): Likewise.
27455 * string/test-memmove.c (TEST_NAME): Likewise.
27456 * string/test-memset.c (TEST_NAME): Likewise.
27457 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27458 * string/test-stpcpy.c (TEST_NAME): Likewise.
27459 * string/test-stpncpy.c (TEST_NAME): Likewise.
27460 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27461 * string/test-strcasestr.c (TEST_NAME): Likewise.
27462 * string/test-strcat.c (TEST_NAME): Likewise.
27463 * string/test-strchr.c (TEST_NAME): Likewise.
27464 * string/test-strcmp.c(TEST_NAME): Likewise.
27465 * string/test-strcpy.c (TEST_NAME): Likewise.
27466 * string/test-strcspn.c (TEST_NAME): Likewise.
27467 * string/test-strlen.c (TEST_NAME): Likewise.
27468 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27469 * string/test-strncmp.c (TEST_NAME): Likewise.
27470 * string/test-strncpy.c (TEST_NAME): Likewise.
27471 * string/test-strnlen.c (TEST_NAME): Likewise.
27472 * string/test-strpbrk.c (TEST_NAME): Likewise.
27473 * string/test-strrchr.c (TEST_NAME): Likewise.
27474 * string/test-strspn.c (TEST_NAME): Likewise.
27475 * string/test-strstr.c (TEST_NAME): Likewise.
27476 * string/test-bcopy-ifunc.c: New file.
27477 * string/test-bzero-ifunc.c: Likewise.
27478 * string/test-memccpy-ifunc.c: Likewise.
27479 * string/test-memchr-ifunc.c: Likewise.
27480 * string/test-memcmp-ifunc.c: Likewise.
27481 * string/test-memcpy-ifunc.c: Likewise.
27482 * string/test-memmem-ifunc.c: Likewise.
27483 * string/test-memmove-ifunc.c: Likewise.
27484 * string/test-mempcpy-ifunc.c: Likewise.
27485 * string/test-memset-ifunc.c: Likewise.
27486 * string/test-rawmemchr-ifunc.c: Likewise.
27487 * string/test-stpcpy-ifunc.c: Likewise.
27488 * string/test-stpncpy-ifunc.c: Likewise.
27489 * string/test-strcasecmp-ifunc.c: Likewise.
27490 * string/test-strcasestr-ifunc.c: Likewise.
27491 * string/test-strcat-ifunc.c: Likewise.
27492 * string/test-strchr-ifunc.c: Likewise.
27493 * string/test-strchrnul-ifunc.c: Likewise.
27494 * string/test-strcmp-ifunc.c: Likewise.
27495 * string/test-strcpy-ifunc.c: Likewise.
27496 * string/test-strcspn-ifunc.c: Likewise.
27497 * string/test-strlen-ifunc.c: Likewise.
27498 * string/test-strncasecmp-ifunc.c: Likewise.
27499 * string/test-strncat-ifunc.c: Likewise.
27500 * string/test-strncmp-ifunc.c: Likewise.
27501 * string/test-strncpy-ifunc.c: Likewise.
27502 * string/test-strnlen-ifunc.c: Likewise.
27503 * string/test-strpbrk-ifunc.c: Likewise.
27504 * string/test-strrchr-ifunc.c: Likewise.
27505 * string/test-strspn-ifunc.c: Likewise.
27506 * string/test-strstr-ifunc.c: Likewise.
27508 * debug/Makefile (tests-ifunc): New variable.
27509 (tests): Add $(tests-ifunc).
27510 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27511 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27512 * debug/test-stpcpy_chk-ifunc.c: New file.
27513 * debug/test-strcpy_chk-ifunc.c: Likewise.
27515 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27518 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27519 header is not read in.
27521 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27523 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27524 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27525 directly. Pass built executable to script as
27526 $(built-program-cmd).
27527 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27528 $testprogram without using LD_LIBRARY_PATH and $ldso.
27530 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27531 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27532 $(rtld-installed-name).
27533 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27534 (rtld_installed_name): Likewise.
27535 (library_path): Likewise.
27536 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27537 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27538 $(run-program-prefix) to tst-tables.sh.
27539 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27540 it to run tst-table-from and tst-table-to.
27541 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27542 Pass it to tst-table.sh.
27543 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27544 $(run-program-prefix) to tst-gettext.sh.
27545 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27547 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27549 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27550 to run tst-gettext.
27551 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27552 to run tst-gettext2.
27553 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27554 to run tst-translit.
27555 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27556 $(run-program-prefix) to tst-mtrace.sh.
27557 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27559 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27560 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27561 $(rtld-installed-name).
27562 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27563 (rtld_installed_name): Likewise.
27564 (run_program_prefix): New variable. Use it to run wordexp-test.
27566 * Makeconfig (ARCH): Remove all definitions.
27567 (machine): Likewise.
27568 [ARCH]: Remove conditional code.
27569 [!objdir]: Give error.
27570 [!objdir] (objpfx): Remove.
27571 [!objdir] (common-objpfx): Likewise.
27572 [!objdir] (common-objdir): Likewise.
27573 * configure.in (config_makefile): Remove. Hardcode Makefile in
27574 AC_CONFIG_FILES call.
27575 * configure: Regenerated.
27578 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27580 (testout): Likewise.
27582 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27583 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27584 $(rtld-installed-name).
27585 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27586 (rtld_installed_name): Likwise.
27587 (runit): Remove function.
27588 (run_getconf): New variable, Use it for running getconf binary.
27590 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27593 * string/test-memmem.c (check_result): New function.
27594 (do_one_test): Use it.
27595 (check1): New function.
27596 (test_main): Use it.
27598 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27600 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27602 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27604 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27605 (_G_LSEEK64): Likewise.
27606 (_G_MMAP64): Likewise.
27607 (_G_FSTAT64): Likewise.
27608 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27609 (_G_LSEEK64): Likewise.
27610 (_G_MMAP64): Likewise.
27611 (_G_FSTAT64): Likewise.
27612 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27613 unconditional. Call __mmap64 directly.
27614 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27615 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27616 __lseek64 directly.
27617 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27618 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27620 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27621 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27622 __lseek64 directly.
27623 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27624 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27625 __lseek64 directly.
27626 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27627 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27628 __lseek64 directly.
27629 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27630 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27631 __fxstat64 directly.
27632 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27633 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27635 (freopen64) [!_G_OPEN64]: Remove conditional code.
27636 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27638 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27639 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27641 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27642 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27644 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27645 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27647 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27648 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27650 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27651 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27653 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27654 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27656 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27658 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27661 * manual/memory.texi (Malloc Tunable Parameters): Add note
27662 about free list pointers overwriting some perturb bytes.
27663 Wording suggested by Roland McGrath.
27665 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27667 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27668 (lgamma_test): Likewise.
27669 (tgamma_test): Likewise.
27671 2012-10-16 Florian Weimer <fweimer@redhat.com>
27674 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27675 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27677 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27679 * NEWS: Mention BZ #14716.
27680 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27681 when removing AVAILABLE1_USES_J macro.
27683 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27685 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27686 (__bswap_64): __uint64_t for unsigned 64-bit int.
27688 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27690 * include/string.h (memmem): Declare libc hidden alias.
27691 * string/memmem.c (memmem): Define libc hidden alias.
27692 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27693 __read, __close instead of open, read, close.
27695 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27697 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27698 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27700 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27701 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27702 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27704 (__rawmemchr_sse2): Likewise.
27705 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27706 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27707 (__strchr_sse2): Likewise.
27708 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27709 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27710 (__strcasecmp_sse2): Likewise.
27711 (__strncasecmp_sse2): Likewise.
27712 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27713 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27714 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27715 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27716 (__strrchr_sse2): Likewise.
27717 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27719 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27720 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27721 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27722 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27723 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27724 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27725 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27726 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27727 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27728 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27729 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27730 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27731 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27732 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27733 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27734 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27735 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27736 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27737 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27738 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27739 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27740 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27741 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27742 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27743 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27744 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27745 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27746 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27747 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27748 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27750 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27752 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27753 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27754 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27755 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27757 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27759 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27760 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27761 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27762 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27764 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27765 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27766 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27767 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27768 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27769 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27770 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27771 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27772 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27773 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27774 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27775 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27776 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27777 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27778 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27779 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27780 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27781 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27782 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27783 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27784 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27785 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27786 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27787 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27788 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27789 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27790 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27791 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27792 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27793 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27794 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27795 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27796 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27797 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27798 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27799 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27800 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27801 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27802 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27803 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27804 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27806 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27807 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27808 * include/ifunc-impl-list.h: New file.
27809 * misc/ifunc-impl-list.c: Likewise.
27810 * misc/Makefile (routines): Add ifunc-impl-list.
27811 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27812 * string/test-string.h: Include <ifunc-impl-list.h>.
27813 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27814 TEST_NAME]: New variables.
27815 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27817 (test_init): Call __libc_ifunc_impl_list to initialize
27818 func_list if TEST_IFUNC and TEST_NAME are defined.
27820 * string/Makefile (strop-tests): Add bcopy and bzero.
27821 * string/test-bcopy.c: New file.
27822 * string/test-bzero.c: Likewise.
27823 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27825 * string/test-memset.c: Support bzero test if TEST_BZERO is
27827 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27829 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27831 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27834 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27836 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27837 * configure: Regenerated.
27839 * Makeconfig (+link-static-before-libc): Don't include
27840 $(link-static-libc).
27842 * libio/libio.h (_IO_pos_t): Remove.
27844 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27846 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27849 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27851 * crypt/crypt-entry.c: Include fips-private.h.
27852 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27853 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27854 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27855 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27857 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27859 * crypt/crypt-private.h: Include stdbool.h.
27860 (_ufc_setup_salt_r): Return bool.
27861 * crypt/crypt-entry.c: Include errno.h.
27862 (__crypt_r): Return NULL with EINVAL for bad salt.
27863 * crypt/crypt_util.c (bad_for_salt): New.
27864 (_ufc_setup_salt_r): Check that salt is long enough and within
27865 the specified alphabet.
27866 * crypt/badsalttest.c: New file.
27867 * crypt/Makefile (tests): Add it.
27868 ($(objpfx)badsalttest): New.
27870 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27872 * NEWS: Add entry for BZ #14602.
27874 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27876 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27878 * math/libm-test.inc: Update comment listing what functions and
27880 (isgreater_test): New function.
27881 (isgreaterequal_test): Likewise.
27882 (isless_test): Likewise.
27883 (islessequal_test): Likewise.
27884 (islessgreater_test): Likewise.
27885 (isunordered_test): Likewise.
27886 (main): Call the new functions.
27888 2012-10-09 Roland McGrath <roland@hack.frob.com>
27890 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27891 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27892 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27893 * sysdeps/i386/configure: Regenerated.
27894 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27895 * sysdeps/mach/configure: Regenerated.
27896 * sysdeps/mach/hurd/configure: Regenerated.
27897 * sysdeps/powerpc/configure: Regenerated.
27898 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27899 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27900 * sysdeps/s390/s390-32/configure: Regenerated.
27901 * sysdeps/s390/s390-64/configure: Regenerated.
27902 * sysdeps/sh/configure: Regenerated.
27903 * sysdeps/sparc/configure: Regenerated.
27904 * sysdeps/unix/sysv/linux/configure: Regenerated.
27905 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27906 * sysdeps/x86_64/configure: Regenerated.
27908 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27909 defined. Don't check if MAP is NULL.
27911 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27913 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27914 (_G_stat64): Likewise.
27915 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27916 (_G_stat64): Likewise.
27917 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27918 instead of struct _G_stat64.
27919 * libio/fileops.c (mmap_remap_check): Likewise.
27920 (decide_maybe_mmap): Likewise.
27921 (_IO_new_file_seekoff): Likewise.
27922 (_IO_file_stat): Likewise.
27923 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27925 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27926 instead of struct _G_stat64.
27927 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27929 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27932 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27934 (CHECK_EOL): New macro.
27935 (two_way_short_needle): Check beginning of haystack for EOL. Use
27937 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27938 Replace with CHECK_EOL.
27939 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27940 Replace with CHECK_EOL.
27942 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27944 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27946 * math/libm-test.inc: Update comment listing what functions and
27948 (finite_test): New function.
27949 (isinf_test): Likewise.
27950 (isnan_test): Likewise.
27951 (fpclassify_test): Test subnormal input.
27952 (isfinite_test): Likewise.
27953 (isnormal_test): Likewise.
27954 (main): Call the new functions.
27956 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27959 * Makerules (%.dynsym): Force C locale when running
27960 $(OBJDUMP) --dynamic-syms.
27962 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27964 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27967 2012-10-06 David S. Miller <davem@davemloft.net>
27969 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27970 upper 32-bits of the length value in %o2 since we use branch-on-register
27971 tests which consider the entire 64-bit register.
27973 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27975 * string/test-strstr.c (check2): Add a test for page boundary.
27977 2012-10-05 David S. Miller <davem@davemloft.net>
27979 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27980 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27982 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27984 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27985 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27986 and bzero when HWCAP_SPARC_CRYPTO is present.
27988 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27991 * string/test-strstr.c (check2): New function.
27992 (test_main): Call check2.
27994 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27996 * string/bug-strcasestr1.c (do_test): Moved to ...
27997 * string/test-strcasestr.c (check1): Here. New function.
27998 (do_one_test): Break out result checking code into ...
27999 (check_result): This. New function.
28000 (do_one_test): Call check_result.
28001 (test_main): Call check1.
28002 * string/bug-strchr1.c (do_test): Moved to ...
28003 * string/test-strchr.c (check1): Here. New function.
28004 (do_one_test): Break out result checking code into ...
28005 (check_result): This. New function.
28006 (do_one_test): Call check_result.
28007 (test_main): Call check1.
28008 * string/bug-strstr1.c (main): Moved to ...
28009 * string/test-strstr.c (check1): Here. New function.
28010 (do_one_test): Break out result checking code into ...
28011 (check_result): This. New function.
28012 (do_one_test): Call check_result.
28013 (test_main): Call check1.
28014 * string/bug-strcasestr1.c: Removed.
28015 * string/bug-strchr1.c: Likewise.
28016 * string/bug-strstr1.c: Likewise.
28018 * elf/Makefile (dl-routines): Add hwcaps.
28019 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28020 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28021 (_dl_important_hwcaps): Moved to ...
28022 * elf/dl-hwcaps.c: Here. New file.
28023 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28026 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28027 if IS_IN_rtld isn't defined.
28029 * elf/dl-support.c (_dl_sysinfo_map): New.
28030 Include "get-dynamic-info.h" and "setup-vdso.h".
28031 (_dl_non_dynamic_init): Call setup_vdso.
28032 * elf/dynamic-link.h: Don't include <assert.h>.
28033 (elf_get_dynamic_info): Moved to ...
28034 * elf/get-dynamic-info.h: Here. New file.
28035 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28036 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28037 * elf/setup-vdso.h: Here. New file.
28038 * elf/rtld.c: Include "setup-vdso.h".
28039 (dl_main): Call setup_vdso.
28041 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28043 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28044 creal in comment listing functions tested. List finite, isinf,
28045 isnan, isless, islessequal, isgreater, isgreaterequal,
28046 islessgreater, isunordered, lgamma_r and pow10 as functions and
28047 macros not tested. Mention which functions not tested are aliases
28048 for other functions. Fix typo. Note that signs of NaNs are not
28051 * scripts/config.guess: Update from config.git.
28052 * scripts/config.sub: Likewise.
28054 2012-10-04 Roland McGrath <roland@hack.frob.com>
28056 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28057 * misc/madvise.c (madvise): Renamed to __madvise.
28058 Make madvise a weak alias.
28059 * include/sys/mman.h: Declare __madvise.
28060 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28061 * sysdeps/unix/syscalls.list
28062 (madvise): Make __madvise the strong name, and madvise a weak alias.
28063 * sysdeps/unix/sysv/linux/syscalls.list
28064 (madvise, mmap): Remove redundant entries.
28065 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28066 * malloc/malloc.c (mtrim): Likewise.
28067 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28069 2012-10-03 Roland McGrath <roland@hack.frob.com>
28071 * sysdeps/mach/hurd/dl-cache.c: File removed.
28072 * config.h.in (USE_LDCONFIG): New #undef.
28073 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28074 * configure: Regenerated.
28075 * elf/Makefile (dl-routines): Add dl-cache only under
28076 [$(use-ldconfig) = yes].
28077 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28078 cache on [USE_LDCONFIG].
28079 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28081 * elf/rtld.c (dl_main): Likewise.
28083 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28085 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28086 _SC_LEVEL4_CACHE_LINESIZE.
28088 2012-10-03 Roland McGrath <roland@hack.frob.com>
28090 * sysdeps/unix/bsd/confstr.h: File removed.
28092 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28094 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28097 2012-10-02 Roland McGrath <roland@hack.frob.com>
28099 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28100 Make 'mapoff' field ElfW(Off) rather than off_t.
28102 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28104 * nscd/Makefile: Remove nscd-cflags and all its users.
28105 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28106 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28109 * malloc.c (malloc_printerr): Clarify error message.
28111 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28115 Set bit_FMA_Usable if FMA is supported.
28116 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28118 (bit_FMA4_Usable): Updated.
28119 (index_FMA_Usable): New macro.
28120 (CPUID_FMA): Likewise
28121 (HAS_FMA): Defined with bit_FMA_Usable.
28123 2012-10-01 Roland McGrath <roland@hack.frob.com>
28125 * bits/types.h (__swblk_t): Type removed.
28126 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28127 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28128 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28129 (__SWBLK_T_TYPE): Likewise.
28130 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28131 (__SWBLK_T_TYPE): Likewise.
28132 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28133 (__SWBLK_T_TYPE): Likewise.
28134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28135 (__SWBLK_T_TYPE): Likewise.
28137 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28138 Honza Horak <hhorak@redhat.com>
28140 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28141 (xdr_mapname): Use YPMAXMAP as maxsize.
28142 (xdr_peername): Use YPMAXPEER as maxsize.
28143 (xdr_keydat): Use YPAXRECORD as maxsize.
28144 (xdr_valdat): Use YPMAXRECORD as maxsize.
28146 2012-10-01 Roland McGrath <roland@hack.frob.com>
28148 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28150 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28151 * csu/init-first.c: ... here.
28152 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28153 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28154 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28155 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28156 * sysdeps/i386/init-first.c: File removed.
28157 * sysdeps/sh/init-first.c: File removed.
28159 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28163 if x * y might underflow to zero and z is zero.
28164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28165 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28166 * math/libm-test.inc (min_subnorm_value): New variable.
28167 (fma_test): Add more tests.
28168 (fma_test_towardzero): Likewise.
28169 (fma_test_downward): Likewise
28170 (fma_test_upward): Likewise.
28171 (initialize): Set min_subnorm_value.
28173 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28176 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28179 mode for addition resulting in exact zero.
28180 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28181 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28183 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28184 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28185 * math/libm-test.inc (fma_test): Add more tests.
28186 (fma_test_towardzero): New function.
28187 (fma_test_downward): Likewise.
28188 (fma_test_upward): Likewise.
28189 (main): Call the new functions.
28191 2012-09-28 David S. Miller <davem@davemloft.net>
28193 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28195 2012-09-28 Roland McGrath <roland@hack.frob.com>
28197 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28198 instead of SIGALRM.
28200 * sysdeps/gnu/_G_config.h: Moved to ...
28201 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28202 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28203 * sysdeps/generic/_G_config.h: ... here.
28205 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28207 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28209 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28210 Conditionalize target on [libnss_test1.so-version].
28212 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28214 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28215 (elfobjdir): Move out of conditionals.
28217 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28218 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28219 (__nss_lookup_function): Conditionalize label remove_from_tree on
28220 [!DO_STATIC_NSS || SHARED], matching its only use.
28222 2012-09-28 David S. Miller <davem@davemloft.net>
28224 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28225 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28227 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28229 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28231 when HWCAP_SPARC_CRYPTO is present.
28233 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28235 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28237 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28240 * stdio-common/vfprintf.c (process_string_arg): Revert
28243 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28245 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28247 * stdio-common/tst-sprintf.c: Include <locale.h>
28248 (main): Test sprintf's handling of incomplete multibyte
28251 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28253 * elf/dl-runtime.c (VERSYMIDX): Removed.
28254 * elf/dl-version.c (VERSYMIDX): Likewise.
28255 * elf/do-rel.h (VERSYMIDX): Likewise.
28256 (VALIDX): Likewise.
28257 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28258 * elf/rtld.c (VALIDX): Likewise.
28259 (ADDRIDX): Likewise.
28260 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28261 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28262 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28263 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28264 (VALIDX): Likewise.
28265 (ADDRIDX): Likewise.
28267 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28269 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28271 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28274 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28276 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28277 addresses are in the same scope as 192.0.2/24.
28278 * posix/gai.conf: Document new scope table defaults.
28280 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28283 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28284 for ftell. Compute offsets from write pointers instead.
28285 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28287 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28290 * libio/Makefile (tests): New test case tst-fseek.
28291 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28292 combination works in wide mode.
28293 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28294 state when the external buffer state changes.
28296 2012-09-27 David S. Miller <davem@davemloft.net>
28299 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28300 pass reloc->r_addend in as the 'high' argument to
28301 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28305 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28307 * rt/tst-aio2.c: Include <pthread.h>.
28308 * rt/tst-aio3.c: Likewise.
28310 2012-09-27 Steve Ellcey <sellcey@mips.com>
28312 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28314 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28316 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28317 contents on [SHARED].
28319 2012-09-26 Marek Polacek <polacek@redhat.com>
28323 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28324 for C++ and GCC <4.3 as well as for non GCC compilers.
28326 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28330 2012-09-25 Roland McGrath <roland@hack.frob.com>
28332 * Makefile.in (all, install): Declare with .PHONY.
28333 Reported by Michael Hope <michael.hope@linaro.org>.
28335 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28337 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28338 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28340 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28342 (sydep_routines): Add the new and the internal functions.
28343 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28344 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28346 (GLIBC_2.17): Add the new function.
28347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28348 (GLIBC_2.17): Likewise.
28349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28350 (GLIBC_2.17): Likewise.
28351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28352 (GLIBC_2.17): Likewise.
28353 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28355 2012-09-25 Alan Modra <amodra@gmail.com>
28357 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28358 Add release barrier before setting once_control to say
28359 initialisation is done. Add hints on lwarx. Use macro in
28361 (clear_once_control): Add release barrier.
28363 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28366 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28368 * math/s_clog10.c (__clog10): Likewise.
28369 * math/s_clog10f.c (__clog10f): Likewise.
28370 * math/s_clog10l.c (__clog10l): Likewise.
28371 * math/s_clogf.c (__clogf): Likewise.
28372 * math/s_clogl.c (__clogl): Likewise.
28373 * math/Makefile (libm-calls): Add x2y2m1.
28374 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28375 (__x2y2m1): Likewise.
28376 (__x2y2m1l): Likewise.
28377 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28378 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28379 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28380 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28381 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28382 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28383 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28384 * sysdeps/i386/fpu/libm-test-ulps: Update.
28385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28388 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28389 int as type of variable DEPTH.
28390 (glob): Use size_t instead of int as type of variables NEWCOUNT
28393 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28395 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28396 Add s_sincosf-sse2.
28397 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28398 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28399 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28400 macros for using routine as __sincosf_ia32.
28401 Use macro for function declaration and weak_alias.
28402 * sysdeps/i386/fpu/libm-test-ulps: Update.
28404 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28407 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28408 subnormal argument.
28409 * math/s_cexpf.c (__cexpf): Likewise.
28410 * math/s_csinf.c (__csinf): Likewise.
28411 * math/s_csinhf.c (__csinhf): Likewise.
28412 * math/s_ctanf.c (__ctanf): Likewise.
28413 * math/s_ctanhf.c (__ctanhf): Likewise.
28414 * math/s_ccosh.c (__ccoshf): Likewise.
28415 * math/s_cexp.c (__cexpl): Likewise.
28416 * math/s_csin.c (__csin): Likewise.
28417 * math/s_csinh.c (__csinh): Likewise.
28418 * math/s_ctan.c (__ctan): Likewise.
28419 * math/s_ctanh.c (ctanh): Likewise.
28420 * math/s_ccoshl.c (__ccoshl): Likewise.
28421 * math/s_cexpl.c (__cexpl): Likewise.
28422 * math/s_csinl.c (__csinl): Likewise.
28423 * math/s_csinhl.c (__csinhl): Likewise.
28424 * math/s_ctanl.c (__ctanl): Likewise.
28425 * math/s_ctanhl.c (__ctanhl): Likewise.
28427 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28429 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28430 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28431 (_IO_off_t): Define to __off_t, not _G_off_t.
28432 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28433 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28434 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28435 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28436 type of __dummy and __dummy2 fields.
28437 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28438 (_G_ssize_t): Likewise.
28439 (_G_off_t): Likewise.
28440 (_G_pid_t): Likewise.
28441 (_G_uid_t): Likewise.
28442 (_G_wchar_t): Likewise.
28443 (_G_wint_t): Likewise.
28444 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28445 (_G_ssize_t): Likewise.
28446 (_G_off_t): Likewise.
28447 (_G_pid_t): Likewise.
28448 (_G_uid_t): Likewise.
28449 (_G_wchar_t): Likewise.
28450 (_G_wint_t): Likewise.
28451 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28452 (_G_ssize_t): Likewise.
28453 (_G_off_t): Likewise.
28454 (_G_pid_t): Likewise.
28455 (_G_uid_t): Likewise.
28456 (_G_wchar_t): Likewise.
28457 (_G_wint_t): Likewise.
28459 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28461 * malloc/arena.c: Include malloc-sysdep.h.
28462 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28463 is sufficient to shrink the heap or an unmap is needed.
28464 * sysdeps/generic/malloc-sysdep.h: New file. Define
28465 new function check_may_shrink_heap.
28466 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28467 new function check_may_shrink_heap.
28469 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28471 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28474 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28476 * catgets/test-gencat.sh: Add "set -e".
28477 * elf/tst-pathopt.sh: Likewise.
28478 * grp/tst_fgetgrent.sh: Likewise.
28479 * iconvdata/run-iconv-test.sh: Likewise.
28480 * intl/tst-gettext.sh: Likewise.
28481 * intl/tst-gettext2.sh: Likewise.
28482 * intl/tst-gettext4.sh: Likewise.
28483 * intl/tst-gettext6.sh: Likewise.
28484 * intl/tst-translit.sh: Likewise.
28485 * io/ftwtest-sh: Likewise.
28486 * libio/test-freopen.sh: Likewise.
28487 * malloc/tst-mtrace.sh: Likewise.
28488 * posix/globtest.sh: Likewise.
28489 * posix/tst-getconf.sh: Likewise.
28490 * posix/wordexp-tst.sh: Likewise.
28491 * stdio-common/tst-printf.sh: Likewise.
28492 * stdio-common/tst-unbputc.sh: Likewise.
28493 * stdlib/tst-fmtmsg.sh: Likewise.
28494 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28495 * catgets/Makefile: Do not specify -e option when running
28496 testsuite shell scripts.
28497 * elf/Makefile: Likewise.
28498 * grp/Makefile: Likewise.
28499 * iconvdata/Makefile: Likewise.
28500 * intl/Makefile: Likewise.
28501 * io/Makefile: Likewise.
28502 * libio/Makefile: Likewise.
28503 * malloc/Makefile: Likewise.
28504 * posix/Makefile: Likewise.
28505 * stdio-common/Makefile: Likewise.
28506 * stdlib/Makefile: Likewise.
28507 * sysdeps/x86_64/Makefile: Likewise.
28509 * io/ftwtest-sh: Add copyright header.
28510 * posix/globtest.sh: Likewise.
28511 * posix/tst-getconf.sh: Likewise.
28512 * posix/wordexp-tst.sh: Likewise.
28513 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28515 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28518 * Makeconfig (+link): Defined as $(+link-static) if
28519 $(build-shared) isn't yes.
28520 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28522 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28524 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28527 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28528 new chunk size with MALLOC_ALIGN_MASK.
28530 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28533 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28535 (__printf_fphex): Determine rounding using get_rounding_mode and
28537 * stdio-common/tst-printf-round.c (struct hex_test): New
28539 (hex_tests): New variable.
28540 (test_hex_in_one_mode): New function.
28541 (do_test): Also run tests for hex float output.
28543 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28545 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28546 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28547 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28548 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28549 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28550 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28551 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28552 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28554 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28556 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28557 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28558 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28559 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28561 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28564 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28566 * elf/tst-rtld-load-self.sh: New test.
28567 * elf/Makefile: Run it.
28569 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28571 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28572 (tst-writev-ENV): Remove.
28573 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28575 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28577 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28579 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28581 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28583 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28585 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28586 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28587 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28590 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28593 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28594 * config.make.in (have-cpp-asm-debuginfo): Removed.
28595 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28596 * configure: Regenerated.
28598 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28601 * stdio-common/printf_fp.c: Include <stdbool.h> and
28603 (___printf_fp): Determine rounding using get_rounding_mode and
28605 * stdio-common/tst-printf-round.c: New file.
28606 * stdio-common/Makefile (tests): Add tst-printf-round.
28607 (link-libm): New variable.
28608 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28610 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28613 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28614 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28616 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28619 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28621 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28622 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28623 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28624 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28626 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28629 * include/rounding-mode.h: New file.
28630 * sysdeps/generic/get-rounding-mode.h: Likewise.
28631 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28632 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28633 (MAX_VALUE): New macro.
28634 (MIN_VALUE): Likewise.
28635 (overflow_value): New function.
28636 (underflow_value): Likewise.
28637 (round_and_return): Use overflow_value and underflow_value to
28638 determine return values in overflow and underflow cases. Use
28639 round_away to determine rounding depending on rounding mode.
28640 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28641 determine return values in overflow and underflow cases.
28642 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28643 (struct test_results): New structure.
28644 (struct test): Use struct test_results to store expected results
28645 for all rounding modes.
28646 (TEST): Include expected results for all rounding modes.
28647 (test_in_one_mode): New function.
28648 (do_test): Use test_in_one_mode to compute and check results.
28649 Check results for all rounding modes.
28650 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28653 2012-12-09 Allan McRae <allan@archlinux.org>
28655 * sysdeps/i386/fpu/libm-test-ulps: Update
28657 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28659 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28660 (_G_int32_t): Likewise.
28661 (_G_uint16_t): Likewise.
28662 (_G_uint32_t): Likewise.
28663 (_G_HAVE_BOOL): Likewise.
28664 (_G_HAVE_ATEXIT): Likewise.
28665 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28666 (_G_HAVE_IO_FILE_OPEN): Likewise.
28667 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28668 (_G_int32_t): Likewise.
28669 (_G_uint16_t): Likewise.
28670 (_G_uint32_t): Likewise.
28671 (_G_HAVE_BOOL): Likewise.
28672 (_G_HAVE_ATEXIT): Likewise.
28673 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28674 (_G_HAVE_IO_FILE_OPEN): Likewise.
28675 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28676 (_G_int32_t): Likewise.
28677 (_G_uint16_t): Likewise.
28678 (_G_uint32_t): Likewise.
28679 (_G_HAVE_BOOL): Likewise.
28680 (_G_HAVE_ATEXIT): Likewise.
28681 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28682 (_G_HAVE_IO_FILE_OPEN): Likewise.
28684 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28686 * csu/libc-tls.c: Update copyright years.
28688 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28690 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28691 [!_G_USING_THUNKS]: Remove conditional code.
28692 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28693 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28695 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28696 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28697 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28698 (_G_VTABLE_LABEL_PREFIX): Likewise.
28699 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28700 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28701 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28702 (_G_VTABLE_LABEL_PREFIX): Likewise.
28703 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28704 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28705 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28706 (_G_VTABLE_LABEL_PREFIX): Likewise.
28707 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28709 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28711 * libio/Makefile: Include ../Makeconfig before tests.
28712 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28713 only if $(build-shared) is yes.
28715 * iconv/gconv_db.c: Update copyright years.
28717 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28719 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28720 unwind info if defined PIC. Fix special cases description.
28721 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28723 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28725 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28727 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28729 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28731 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28734 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28735 (LDLIBS-tst-chk4): This.
28736 (LDFLAGS-tst-chk5): Renamed to ...
28737 (LDLIBS-tst-chk5): This.
28738 (LDFLAGS-tst-chk6): Renamed to ...
28739 (LDLIBS-tst-chk6): This.
28740 (LDFLAGS-tst-lfschk4): Renamed to ...
28741 (LDLIBS-tst-lfschk4): This.
28742 (LDFLAGS-tst-lfschk5): Renamed to ...
28743 (LDLIBS-tst-lfschk5): This.
28744 (LDFLAGS-tst-lfschk6): Renamed to ...
28745 (LDLIBS-tst-lfschk6): This.
28747 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28748 on $(common-objpfx)soversions.mk.
28750 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28753 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28756 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28758 * malloc/arena.c (arena_get_retry): New function that gets
28759 another arena for the caller to try its request on.
28760 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28761 current arena cannot fulfill the request.
28762 (__libc_memalign): Likewise.
28763 (__libc_memalign): Likewise.
28764 (__libc_pvalloc): Likewise.
28765 (__libc_calloc): Likewise.
28767 2012-09-05 John Tobey <john.tobey@gmail.com>
28770 * manual/arith.texi (Operations on Complex): Fix description
28771 of carg branch cut.
28773 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28776 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28780 * manual/memory.texi (Memory): Make order of menu items match
28783 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28785 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28786 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28787 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28789 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28791 * csu/libc-tls.c (static_dtv): Renamed to ...
28792 (_dl_static_dtv): This. Make it global.
28793 (_dl_initial_dtv): Removed.
28794 (__libc_setup_tls): Updated.
28795 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28796 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28799 2012-09-06 Petr Machata <pmachata@redhat.com>
28801 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28802 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28803 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28804 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28806 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28809 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28810 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28813 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28816 * Makeconfig (link-static-before-libc): Replace $(+prector)
28818 (link-static-after-libc): Replace $(+postctor) with
28820 (link-bounded): Replace $(+prector)/$(+postctor) with
28821 $(+prectorT)/$(+postctorT).
28822 (+prectorT): New macro.
28823 (+postctorT): Likewise.
28825 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28827 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28828 (round_str): Handle values above the maximum for IBM long double
28830 * stdlib/tst-strtod-round.c (tests): Regenerated.
28832 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28834 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28836 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28837 zarch_nohighgprs around the zarch optimized routines.
28838 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28839 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28840 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28843 2012-09-05 David S. Miller <davem@davemloft.net>
28845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28847 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28848 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28849 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28850 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28853 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28855 * malloc/arena.c: Fold copyright years.
28856 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28858 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28860 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28862 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28864 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28866 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28868 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28869 change internal state upon failure.
28871 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28873 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28874 * malloc/memusage.c (mmap): Likewise.
28875 (mmap64, mremap): Likewise. Adjust name in comment.
28877 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28879 * libio/fileops.c: Fix typos in comments.
28880 * libio/oldfileops.c: Likewise.
28881 * libio/wfileops.c: Likewise.
28883 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28886 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28887 (tst-malloc-usable-ENV): Set environment for test case.
28888 * malloc/hooks.c (malloc_check_get_size): New function to get
28890 * malloc/malloc.c (musable): Use malloc_check_get_size.
28891 * malloc/tst-malloc-usable.c: New test case.
28893 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28895 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28897 2012-09-05 Allan McRae <allan@archlinux.org>
28900 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28901 determine header location.
28902 * configure: Regenerated.
28904 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28906 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28908 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28909 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28911 (test): Regenerate.
28913 2012-09-04 David S. Miller <davem@davemloft.net>
28915 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28916 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28917 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28919 2012-09-04 Florian Weimer <fweimer@redhat.com>
28921 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28924 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28926 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28929 * libio/iogetdelim.c: Include <limits.h>.
28930 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28931 + len + 1 would overflow.
28933 2012-09-03 Andreas Jaeger <aj@suse.de>
28935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28936 * sysdeps/i386/fpu/libm-test-ulps: Update.
28938 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28940 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28941 Add s_sinf-sse2, s_conf-sse2.
28943 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28944 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28945 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28946 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28948 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28949 for using routine as __sinf_ia32.
28950 Use macro for function declaration and weak_alias.
28951 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28952 for using routine as __cosf_ia32.
28953 Use macro for function declaration and weak_alias.
28955 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28956 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28958 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28959 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28962 * math/libm-test.inc (cos_test): Add more test cases.
28963 (sin_test): Likewise.
28964 (sincos_test): Likewise.
28966 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28968 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28969 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28971 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28973 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28976 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28977 first element of the GOT.
28978 (elf_machine_load_address): Return the difference between
28979 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28981 2012-09-01 Allan McRae <allan@archlinux.org>
28984 * configure.in (AWK): Require gawk version 3.0 or later.
28985 * configure: Regenerated.
28987 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28989 * sysdeps/unix/sysv/linux/kernel-features.h
28990 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28991 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28992 [__NR_clock_getres]: Make code unconditional.
28993 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28994 (clock_getcpuclockid): Remove code left unreachable by removal of
28996 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28997 code unconditional.
28998 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28999 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29000 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29001 Make code unconditional.
29002 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29003 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29004 * sysdeps/unix/sysv/linux/clock_settime.c
29005 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29007 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29008 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29010 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29013 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29014 scripts/test-installation.pl.
29016 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29017 and $ld_so_version if it is set.
29019 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29022 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29023 failure if reading from procfs failed.
29024 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29026 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29028 * sysdeps/unix/sysv/linux/kernel-features.h
29029 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29030 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29031 Remove conditional code.
29032 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29033 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29034 Remove conditional code.
29035 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29036 * sysdeps/unix/sysv/linux/i386/fxstat.c
29037 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29038 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29039 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29040 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29041 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29042 * sysdeps/unix/sysv/linux/i386/lxstat.c
29043 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29044 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29045 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29046 Remove conditional code.
29047 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29048 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29049 Remove conditional code.
29050 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29051 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29052 <kernel-features.h>.
29053 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29055 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29056 Remove conditional code.
29057 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29058 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29059 Remove conditional.
29061 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29064 * NEWS: Add fixed bug number.
29066 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29069 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29070 underflowing exponent in case of negative sign.
29071 * stdlib/tst-strtod-round-data: Add more tests.
29072 * stdlib/tst-strtod-round.c (tests): Regenerated.
29075 * stdlib/strtod_l.c (NDIG): Remove.
29076 (HEXNDIG): Likewise.
29077 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29078 smallest representable value.
29079 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29080 lie within an exact representation of 1/2 ulp of the result.
29081 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29083 (TENS_P9_IDX): Define unconditionally.
29084 (TENS_P9_SIZE): Likewise.
29085 (TENS_P10_IDX): Likewise.
29086 (TENS_P10_SIZE): Likewise.
29087 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29088 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29089 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29090 entries for 10^2^13 and 10^2^14.
29091 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29092 (TENS_P13_IDX): Define.
29093 (TENS_P13_SIZE): Likewise.
29094 (TENS_P14_IDX): Likewise.
29095 (TENS_P14_SIZE): Likewise.
29096 (_fpioconst_pow10): Change array size to
29097 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29099 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29100 1024]: Add entries for 10^2^13 and 10^2^14.
29101 [LAST_POW10 > _LAST_POW10]: Remove #error.
29102 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29103 (_fpioconst_pow10): Change array size to
29104 FPIOCONST_POW10_ARRAY_SIZE.
29105 * stdlib/gen-fpioconst.c: New file.
29106 * stdlib/gen-tst-strtod-round.c: Likewise.
29107 * stdlib/tst-strtod-round-data: Likewise.
29108 * stdlib/tst-strtod-round.c: Likewise.
29109 * stdlib/Makefile (tests): Add tst-strtod-round.
29112 * stdlib/strtod_l.c: Include <stdint.h>.
29113 (NDEBUG): Do not define.
29114 (round_and_return): Change EXPONENT parameter to type intmax_t.
29115 Rearrange calculations to avoid internal overflow possibilities.
29116 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29117 Rearrange calculations to avoid internal overflow possibilities.
29118 Assert that number fits inside MPNSIZE limbs.
29119 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29120 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29121 calculations and add assertions to avoid internal overflow
29122 possibilities. Add casts to avoid signed/unsigned operations.
29123 * stdlib/tst-strtod-overflow.c: New file.
29124 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29126 2012-08-25 Marek Polacek <polacek@redhat.com>
29128 * time/time.h: Fix some typos in comments.
29130 2012-08-23 Roland McGrath <roland@hack.frob.com>
29132 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29133 * posix/tst-rfc3484-2.c: Likewise.
29134 * posix/tst-rfc3484-3.c: Likewise.
29136 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29138 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29139 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29141 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29143 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29144 #include of fxstatat64.c.
29146 2012-08-22 Roland McGrath <roland@hack.frob.com>
29148 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29149 * shadow/getspent_r.c: Likewise.
29150 * shadow/getspnam.c: Likewise.
29151 * shadow/getspnam_r.c: Likewise.
29152 * gshadow/getsgent.c: Likewise.
29153 * gshadow/getsgent_r.c: Likewise.
29154 * gshadow/getsgnam.c: Likewise.
29155 * gshadow/getsgnam_r.c: Likewise.
29156 * inet/getnetbyad.c: Likewise.
29157 * inet/getnetbyad_r.c: Likewise.
29158 * inet/getnetbynm.c: Likewise.
29159 * inet/getnetbynm_r.c: Likewise.
29160 * inet/getnetent.c: Likewise.
29161 * inet/getnetent_r.c: Likewise.
29162 * inet/getproto.c: Likewise.
29163 * inet/getproto_r.c: Likewise.
29164 * inet/getprtent.c: Likewise.
29165 * inet/getprtent_r.c: Likewise.
29166 * inet/getprtname.c: Likewise.
29167 * inet/getprtname_r.c: Likewise.
29168 * inet/getrpcbyname.c: Likewise.
29169 * inet/getrpcbyname_r.c: Likewise.
29170 * inet/getrpcbynumber.c: Likewise.
29171 * inet/getrpcbynumber_r.c: Likewise.
29172 * inet/getrpcent.c: Likewise.
29173 * inet/getrpcent_r.c: Likewise.
29174 * inet/getaliasent.c: Likewise.
29175 * inet/getaliasent_r.c: Likewise.
29176 * inet/getaliasname.c: Likewise.
29177 * inet/getaliasname_r.c: Likewise.
29178 * nscd/getgrgid_r.c: Likewise.
29179 * nscd/getgrnam_r.c: Likewise.
29180 * nscd/gethstbyad_r.c: Likewise.
29181 * nscd/gethstbynm3_r.c: Likewise.
29182 * nscd/getpwnam_r.c: Likewise.
29183 * nscd/getpwuid_r.c: Likewise.
29184 * nscd/getsrvbynm_r.c: Likewise.
29185 * nscd/getsrvbypt_r.c: Likewise.
29186 * nscd/gai.c: Likewise.
29188 * configure.in (build_nscd): New substituted variable, set
29189 by --disable-build-nscd and defaults to $use_nscd.
29190 * configure: Regenerated.
29191 * config.make.in (build-nscd): New substituted variable.
29192 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29193 Change conditional to require [$(build-nscd) = yes] as well.
29194 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29197 * configure.in (use_nscd): New substituted variable, set by
29198 --disable-nscd. If enabled, define USE_NSCD.
29199 * configure: Regenerated.
29200 * config.h.in: Add USE_NSCD.
29201 * config.make.in (use-nscd): New substituted variable.
29202 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29203 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29204 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29205 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29206 (CFLAGS-getgrnam_r.c): Likewise.
29207 (CFLAGS-initgroups.c): Likewise.
29208 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29209 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29211 * inet/getnetgrent_r.c
29212 (nscd_setnetgrent): New function, broken out of ...
29213 (setnetgrent): ... here. Call it.
29214 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29215 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29216 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29217 * nscd/Makefile (routines, aux): Move definitions after include of
29218 Makeconfig. Conditionalize on [$(use-nscd) != no].
29219 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29220 Conditionalize on [USE_NSCD].
29221 (is_nscd, nscd_init_cb): Likewise.
29222 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29223 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29224 * nss/nss_db/db-init.c: Likewise.
29225 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29227 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29228 (make_request): Use it.
29229 (cache_valid_p): New function.
29230 (__check_pf): Use it.
29231 * NEWS: Add item for --disable-nscd.
29233 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29235 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29236 to support sed >= 4.2.1-20-ga9bf076.
29237 * configure: Regenerated.
29239 2012-08-22 Roland McGrath <roland@hack.frob.com>
29241 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29242 Conditionalize whole body on [IREL].
29244 2012-08-22 Jeff Law <law@redhat.com>
29247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29248 if the family is PF_UNSPEC.
29250 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29252 * Makerules (lib-version): Rename from V.
29253 (install-lib-nosubdir): Change V to lib-version.
29255 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29258 * powerpc32/power6/wcschr.c: New file.
29259 * powerpc32/power6/wcscpy.c: New file.
29260 * powerpc32/power6/wcsrchr.c: New file.
29261 * powerpc64/power6/wcschr.c: New file.
29262 * powerpc64/power6/wcscpy.c: New file.
29263 * powerpc64/power6/wcsrchr.c: New file.
29265 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29267 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29268 (two_way_short_needle): Use it.
29269 * string/strstr.c (AVAILABLE1_USES_J): Define.
29270 * string/strcasestr.c: Likewise.
29272 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29274 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29277 * NEWS: Add an entry.
29278 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29279 define their defaults.
29280 (two_way_short_needle): Detect end-of-string on-the-fly.
29281 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29282 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29283 * string/bug-strcasestr1.c: New test.
29284 * string/Makefile: Run it.
29286 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29289 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29290 the first character.
29292 2012-08-21 Roland McGrath <roland@hack.frob.com>
29294 * csu/elf-init.c (__libc_csu_irel): Function removed.
29295 * csu/libc-start.c (apply_irel): New function.
29296 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29298 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29300 * sysdeps/unix/sysv/linux/kernel-features.h
29301 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29302 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29303 <kernel-features.h>.
29304 [__NR_fadvise64_64]: Make code unconditional.
29305 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29306 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29307 !__NR_fadvise64_64)]: Likewise.
29308 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29309 !__NR_fadvise64_64))]: Likewise.
29310 [__NR_fadvise64]: Make code unconditional.
29311 [!__NR_fadvise64]: Remove conditional code.
29312 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29313 <kernel-features.h>.
29314 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29316 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29319 not include <kernel-features.h>.
29320 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29322 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29324 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29325 include <kernel-features.h>.
29326 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29328 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29331 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29333 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29334 slight instruction rearrangements per scrollpipe analysis.
29335 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29337 2012-08-20 Roland McGrath <roland@hack.frob.com>
29339 * manual/syslog.texi (syslog; vsyslog, closelog):
29340 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29341 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29343 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29344 DSOCAPS to match condition on defining it.
29346 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29348 * sysdeps/unix/sysv/linux/kernel-features.h
29349 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29351 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29352 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29354 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29355 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29357 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29358 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29360 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29361 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29363 * sysdeps/unix/sysv/linux/kernel-features.h
29364 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29365 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29367 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29368 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29369 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29370 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29371 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29372 Make code unconditional.
29373 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29374 (__mmap64) [!__NR_mmap2]: Likewise.
29375 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29376 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29377 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29378 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29379 [__NR_mmap2]: Make code unconditional.
29380 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29381 (__mmap64) [!__NR_mmap2]: Likewise.
29383 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29385 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29387 2012-08-18 Andreas Jaeger <aj@suse.de>
29389 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29391 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29393 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29394 * include/unistd.h (__have_sock_cloexec): Likewise.
29395 (__have_pipe2): Likewise.
29396 (__have_dup3): Likewise.
29398 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29401 * include/unistd.h (__have_pipe2): Change define into an extern int.
29402 (__have_dup3): Likewise.
29403 * socket/have_sock_cloexec.c: Include fcntl.h.
29404 (__have_pipe2): New variable.
29405 (__have_dup3): Likewise.
29407 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29409 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29411 2012-08-17 Marek Polacek <polacek@redhat.com>
29413 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29414 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29416 2012-08-17 Roland McGrath <roland@hack.frob.com>
29418 * configure.in: Add AC_SUBST for sysheaders.
29419 * configure: Regenerated.
29420 * config.make.in (sysheaders): New substituted variable.
29422 * sysdeps/unix/mkfifo.c: Moved ...
29423 * sysdeps/posix/mkfifo.c: ... here.
29424 * sysdeps/unix/mkfifoat.c: Moved ...
29425 * sysdeps/posix/mkfifoat.c: ... here.
29427 * sysdeps/unix/utime.c: Moved ...
29428 * sysdeps/posix/utime.c: ... here.
29430 * sysdeps/unix/time.c: Moved ...
29431 * sysdeps/posix/time.c: ... here.
29432 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29433 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29435 * sysdeps/unix/nice.c: Moved ...
29436 * sysdeps/posix/nice.c: ... here.
29438 * sysdeps/unix/alarm.c: Moved ...
29439 * sysdeps/posix/alarm.c: ... here.
29441 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29443 2012-08-17 Jeff Law <law@redhat.com>
29445 * intl/Makefile (codeset_mo): New variable.
29446 ($(codeset_mo)): New target.
29447 (tst-codeset.out): Depend on that. Remove explicit rule.
29448 (tst-gettext3.out, tst-gettext5.out): Likewise.
29449 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29450 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29451 * intl/tst-codeset.sh: Remove.
29452 * intl/tst-gettext3.sh: Likewise.
29453 * intl/tst-gettext5.sh: Likewise.
29455 2012-08-17 Roland McGrath <roland@hack.frob.com>
29457 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29458 * sysdeps/unix/syscalls.list: ... here.
29460 * sysdeps/posix/getaddrinfo.c
29461 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29462 (gaiconf_init, gaiconf_reload): Use them.
29463 [!_STATBUF_ST_NSEC]
29464 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29465 Define using time_t rather than struct timespec.
29467 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29468 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29470 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29472 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29473 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29476 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29477 __libc_cleanup_push argument.
29479 * bits/param.h: New file.
29480 * misc/sys/param.h: New file.
29481 * include/sys/param.h: New file.
29482 * misc/Makefile (headers): Add bits/param.h.
29483 * sysdeps/generic/sys/param.h: File removed.
29484 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29485 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29486 * sysdeps/mach/hurd/bits/param.h: New file.
29487 * sysdeps/mach/hurd/sys/param.h: File removed.
29489 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29492 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29494 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29495 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29498 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29499 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29500 rather than -D_IO_MTSAFE_IO conditionally.
29501 * stdio-common/Makefile (CPPFLAGS): Likewise.
29502 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29503 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29504 Use $(libio-mtsafe).
29505 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29506 of -D_IO_MTSAFE_IO.
29507 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29508 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29509 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29510 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29511 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29512 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29513 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29514 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29515 (CFLAGS-fread_u_chk.c): Likewise.
29516 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29517 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29518 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29519 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29520 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29521 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29522 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29523 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29524 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29526 * libio/Makefile: Test [$(libc-reentrant) = yes]
29527 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29530 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29531 * sysdeps/pthread/configure: File removed.
29532 * sysdeps/pthread/Makeconfig: New file.
29533 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29534 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29536 2012-08-16 Gary Benson <gbenson@redhat.com>
29538 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29539 unmapping the first object in a namespace.
29541 2012-08-16 Roland McGrath <roland@hack.frob.com>
29543 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29544 (__internal_setnetgrent): ... this. Add internal_function to
29545 definition. Add libc_hidden_def.
29546 (setnetgrent): Update caller.
29547 (internal_endnetgrent): Renamed to ...
29548 (__internal_endnetgrent): ... this. Add internal_function to
29549 definition. Add libc_hidden_def.
29550 (endnetgrent): Update caller.
29551 (internal_getnetgrent_r): Renamed to ...
29552 (__internal_getnetgrent_r): ... this. Add internal_function to
29553 definition. Add libc_hidden_def.
29554 (__getnetgrent_r): Update caller.
29555 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29557 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29559 * stdlib/longlong.h: Update from GCC.
29561 2012-08-16 Roland McGrath <roland@hack.frob.com>
29563 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29564 on _QL, which is set by umul_ppmm but never used.
29565 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29566 variables, which are set by GMP macros but never used.
29567 * stdio-common/_itowa.c (_itowa): Likewise.
29568 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29569 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29571 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29573 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29574 struct La_sh_regs is not constant.
29575 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29576 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29577 and struct La_sparc64_regs are not constant.
29579 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29581 * sysdeps/unix/sysv/linux/kernel-features.h
29582 (__ASSUME_POSIX_TIMERS): Remove.
29583 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29584 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29585 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29586 Make code unconditional.
29587 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29588 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29589 Make code unconditional.
29590 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29591 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29592 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29593 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29594 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29595 Make code unconditional.
29596 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29597 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29598 (__libc_missing_posix_timers): Remove.
29600 2012-08-15 Roland McGrath <roland@hack.frob.com>
29602 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29603 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29605 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29607 * elf/dl-sym.c: Include <stdlib.h>.
29609 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29610 constants, which avoids warnings in 32-bit builds.
29612 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29613 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29615 * misc/lseek.c: File moved to ...
29616 * io/lseek.c: ... here.
29618 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29620 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29621 shifting LEN more than 31 bits at once.
29623 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29626 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29627 segmentation fault for a case of two empty input strings.
29628 * string/test-strncasecmp.c (check1): Renamed to...
29629 (bz12205): ...this.
29630 (bz14195): Add new testcase for two empty input strings and N > 0.
29631 (test_main): Call new testcase, adapt for renamed function.
29633 2012-08-15 Andreas Jaeger <aj@suse.de>
29636 * crypt/md5test2.c: New test, based on test supplied by Serge
29637 Belyshev <belyshev@depni.sinp.msu.ru>.
29638 * crypt/Makefile (xtests): Add md5test-giant..
29639 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29641 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29644 * crypt/md5.c (md5_process_block): Don't assume the buffer
29645 length is less than 2**32.
29646 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29647 length is less than 2**64.
29649 2012-08-15 Roland McGrath <roland@hack.frob.com>
29651 * string/str-two-way.h: Include <sys/param.h>.
29652 (MAX): Macro removed.
29654 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29655 Move #define and #undef of memmove to just before and after
29656 including <string.h>.
29658 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29659 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29660 and after including <string.h>. Move declarations of
29661 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29662 to before #include "string/memmove.c".
29664 * include/dirent.h: Declare __getdirentries.
29666 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29667 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29669 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29671 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29672 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29673 * sysdeps/i386/configure: Regenerated.
29674 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29675 STABS_CURRENT_FILE, and STABS_FUN.
29676 (END): Remove call to STABS_FUN_END.
29677 (STABS_CURRENT_FILE1): Delete.
29678 (STABS_CURRENT_FILE): Likewise.
29679 (STABS_FUN): Likewise.
29680 (STABS_FUN_END): Likewise.
29681 (STABS_FUN2): Likewise.
29682 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29683 * sysdeps/x86_64/configure: Regenerated.
29685 2012-08-14 Roland McGrath <roland@hack.frob.com>
29687 * elf/dl-open.c: Include <atomic.h>.
29688 * elf/dl-lookup.c: Likewise.
29690 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29692 * sysdeps/unix/sysv/linux/kernel-features.h
29693 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29694 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29696 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29698 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29699 condition on __ASSUME_CLONE_THREAD_FLAGS.
29701 2012-08-14 Andreas Jaeger <aj@suse.de>
29703 * sysdeps/i386/fpu/libm-test-ulps: Update.
29705 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29707 * include/atomic.h (atomic_exchange_and_add): Split into ...
29708 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29711 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29715 2012-08-13 Jeff Law <law@redhat.com>
29717 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29718 null byte in the output string.
29720 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29722 * sysdeps/unix/sysv/linux/kernel-features.h
29723 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29724 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29725 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29726 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29727 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29728 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29729 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29731 2012-08-09 Jeff Law <law@redhat.com>
29734 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29735 When avoid_arena is set, don't retry in the that arena. Pick the
29736 next one, whatever it might be.
29737 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29738 (arena_lock): Pass in new parameter to arena_get2.
29739 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29741 (__libc_malloc): Unify retrying after main arena failure with
29742 __libc_memalign version.
29743 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29745 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29748 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29749 to __redirect_strstr.
29750 (__strstr_sse42): Use typeof __redirect_strstr.
29751 (__strstr_ia32): Likewise.
29752 (__libc_strstr): New prototype.
29753 (strstr): Renamed to ...
29754 (__libc_strstr): This.
29755 (strstr): New strong alias of __libc_strstr.
29756 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29757 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29760 (__libc_time): New prototype.
29761 (time_ifunc): Replace time with __libc_time.
29762 (time): New strong alias and hidden definition of __libc_time.
29763 (__GI_time): Remove strong alias.
29764 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29765 Include <stddef.h>.
29766 (memmove): Redefined to __redirect_memmove.
29767 (__memmove_sse2): Use typeof __redirect_memmove.
29768 (__memmove_ssse3): Likewise.
29769 (__memmove_ssse3_back): Likewise.
29770 (__libc_memmove): New prototype.
29771 (memmove): Renamed to ...
29772 (__libc_memmove): This.
29773 (memmove): New strong alias of __libc_memmove.
29775 2012-08-08 Mark Salter <msalter@redhat.com>
29778 (R_MN10300_TLS_GD): Define.
29779 (R_MN10300_TLS_LD): Likewise.
29780 (R_MN10300_TLS_LDO): Likewise.
29781 (R_MN10300_TLS_GOTIE): Likewise.
29782 (R_MN10300_TLS_IE): Likewise.
29783 (R_MN10300_TLS_LE): Likewise.
29784 (R_MN10300_TLS_DTPMOD): Likewise.
29785 (R_MN10300_TLS_DTPOFF): Likewise.
29786 (R_MN10300_TLS_TPOFF): Likewise.
29787 (R_MN10300_SYM_DIFF): Likewise.
29788 (R_MN10300_ALIGN): Likewise.
29789 (R_MN10300_NUM): Update.
29791 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29793 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29796 2012-08-08 Roland McGrath <roland@hack.frob.com>
29798 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29800 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29801 sysdeps/unix -> sysdeps/posix move.
29802 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29804 2012-08-07 Allan McRae <allan@archlinux.org>
29807 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29808 (SUNOS_CPP): Likewise.
29809 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29811 (open_input): Call CPP using execvp.
29813 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29815 * sysdeps/unix/sysv/linux/kernel-features.h
29816 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29817 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29818 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29819 (__ASSUME_WAITID_SYSCALL): Likewise.
29820 * sysdeps/unix/sysv/linux/dl-execstack.c
29821 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29822 code unconditional.
29823 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29825 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29826 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29827 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29829 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29831 [__ASSUME_WAITID_SYSCALL]: Likewise.
29832 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29834 2012-08-07 Roland McGrath <roland@hack.frob.com>
29836 * sysdeps/unix/closedir.c: Renamed to ...
29837 * sysdeps/posix/closedir.c: ... here.
29838 * sysdeps/unix/dirfd.c: Renamed to ...
29839 * sysdeps/posix/dirfd.c: ... here.
29840 * sysdeps/unix/dirstream.h: Renamed to ...
29841 * sysdeps/posix/dirstream.h: ... here.
29842 * sysdeps/unix/fdopendir.c: Renamed to ...
29843 * sysdeps/posix/fdopendir.c: ... here.
29844 * sysdeps/unix/opendir.c: Renamed to ...
29845 * sysdeps/posix/opendir.c: ... here.
29846 * sysdeps/unix/readdir.c: Renamed to ...
29847 * sysdeps/posix/readdir.c: ... here.
29848 * sysdeps/unix/readdir_r.c: Renamed to ...
29849 * sysdeps/posix/readdir_r.c: ... here.
29850 * sysdeps/unix/rewinddir.c: Renamed to ...
29851 * sysdeps/posix/rewinddir.c: ... here.
29852 * sysdeps/unix/seekdir.c: Renamed to ...
29853 * sysdeps/posix/seekdir.c: ... here.
29854 * sysdeps/unix/telldir.c: Renamed to ...
29855 * sysdeps/posix/telldir.c: ... here.
29856 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29857 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29858 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29859 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29861 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29862 * bits/fcntl.h: ... here.
29864 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29866 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29867 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29868 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29869 (struct flock): Move l_start, l_len to the beginning.
29870 Use __pid_t for l_pid.
29871 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29872 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29873 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29874 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29875 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29876 [__USE_LARGEFILE64] (struct flock64): New type.
29877 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29879 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29880 * bits/dirent.h: ... here.
29882 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29883 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29885 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29887 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29888 Change from 2.6.0 to 2.6.16.
29889 * sysdeps/unix/sysv/linux/configure: Regenerated.
29890 * sysdeps/unix/sysv/linux/kernel-features.h
29891 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29892 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29894 (__ASSUME_UTIMES): Likewise.
29895 (__ASSUME_CLONE_STOPPED): Remove.
29896 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29897 architectures, not kernel version.
29898 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29899 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29900 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29901 (__ASSUME_WAITID_SYSCALL): Likewise.
29902 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29903 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29904 * README: State 2.6.16 as minimum Linux kernel version. Do not
29905 refer to older versions.
29907 2012-08-06 Roland McGrath <roland@hack.frob.com>
29909 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29910 Define alphasort64 as an alias.
29911 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29912 Define versionsort64 as an alias.
29913 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29914 Define scandir64 as an alias.
29915 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29916 Define scandirat64 as an alias.
29917 * dirent/alphasort64.c (alphasort64):
29918 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29919 * dirent/versionsort64.c: Likewise.
29920 * dirent/scandir64.c: Likewise.
29921 * dirent/scandirat64.c: Likewise.
29922 * sysdeps/wordsize-64/alphasort.c: File removed.
29923 * sysdeps/wordsize-64/alphasort64.c: File removed.
29924 * sysdeps/wordsize-64/scandir.c: File removed.
29925 * sysdeps/wordsize-64/scandir64.c: File removed.
29926 * sysdeps/wordsize-64/scandirat.c: File removed.
29927 * sysdeps/wordsize-64/scandirat64.c: File removed.
29928 * sysdeps/wordsize-64/versionsort.c: File removed.
29929 * sysdeps/wordsize-64/versionsort64.c: File removed.
29930 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29931 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29932 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29933 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29934 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29935 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29936 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29937 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29939 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29940 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29941 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29942 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29943 [defined __arch64__ || defined __sparcv9]
29944 (__INO_T_MATCHES_INO64_T): New macro.
29945 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29946 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29947 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29948 * sysdeps/unix/sysv/linux/bits/dirent.h
29949 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29950 (_DIRENT_MATCHES_DIRENT64): New macro.
29952 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29953 Define lockf64 as an alias.
29954 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29955 Define fseeko64 as an alias.
29956 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29957 Define ftello64 as an alias.
29958 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29959 Define _IO_fgetpos64 and fgetpos64 as aliases.
29960 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29961 Define _IO_fsetpos64 and fsetpos64 as aliases.
29962 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29963 Conditionalize body on this.
29964 * libio/fseeko64.c: Likewise.
29965 * libio/ftello64.c: Likewise.
29966 * libio/iofgetpos64.c: Likewise.
29967 * libio/iofsetpos64.c: Likewise.
29968 * sysdeps/wordsize-64/lockf.c: File removed.
29969 * sysdeps/wordsize-64/lockf64.c: File removed.
29970 * sysdeps/wordsize-64/fseeko.c: File removed.
29971 * sysdeps/wordsize-64/fseeko64.c: File removed.
29972 * sysdeps/wordsize-64/ftello.c: File removed.
29973 * sysdeps/wordsize-64/ftello64.c: File removed.
29974 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29975 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29976 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29977 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29978 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29979 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29980 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29981 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29982 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29983 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29984 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29985 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29986 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29987 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29989 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29990 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29991 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29992 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29993 [defined __arch64__ || defined __sparcv9]
29994 (__OFF_T_MATCHES_OFF64_T): New macro.
29995 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29996 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29997 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29998 (__OFF_T_MATCHES_OFF64_T): New macro.
30000 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30002 * stdlib/secure-getenv.c (__secure_getenv): Replace
30003 GLIBC_2_16 with GLIBC_2_17.
30005 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30007 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30008 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30010 2012-08-03 David S. Miller <davem@davemloft.net>
30012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30014 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30016 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30018 (__ASSUME_CORRECT_SI_PID): Likewise.
30019 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30020 (__ASSUME_TMPFS_NAME): Likewise.
30021 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30022 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30023 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30024 (HAVE_AUX_SECURE): Make definition unconditional.
30025 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30026 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30028 2012-08-03 Roland McGrath <roland@hack.frob.com>
30030 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30031 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30032 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30033 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30034 __eloop_threshold instead of SYMLOOP_MAX.
30036 * sysdeps/generic/eloop-threshold.h: New file.
30037 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30039 * elf/chroot_canon.c (chroot_canon): Likewise.
30041 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30044 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30045 Change to 2.6.0 everywhere.
30046 * sysdeps/unix/sysv/linux/configure: Regenerated.
30047 * sysdeps/unix/sysv/linux/kernel-features.h
30048 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30049 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30051 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30052 (__ASSUME_FUTEX_REQUEUE): Remove.
30053 (__ASSUME_STATFS64): Define unconditionally.
30054 (__ASSUME_AT_SECURE): Likewise.
30055 (__ASSUME_CORRECT_SI_PID): Likewise.
30056 (__ASSUME_TGKILL): Define without depending on kernel version for
30058 (__ASSUME_UTIMES): Likewise.
30059 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30061 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30062 (__ASSUME_TMPFS_NAME): Likewise.
30063 * README: Update reference to Linux kernel versions.
30065 2012-08-02 Marek Polacek <polacek@redhat.com>
30068 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30069 libc_cv_asm_type_prefix with %.
30070 * configure: Regenerated.
30071 * include/libc-symbols.h: Remove comment about
30072 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30073 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30074 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30075 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30076 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30077 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30078 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30079 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30080 * elf/tst-unique2mod1.c: Likewise.
30081 * elf/tst-unique1mod2.c: Likewise.
30082 * elf/tst-unique1mod1.c: Likewise.
30083 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30084 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30085 Replace ASM_TYPE_DIRECTIVE with .type.
30086 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30087 * sysdeps/i386/sysdep.h: Likewise.
30088 * sysdeps/x86_64/sysdep.h: Likewise.
30089 * sysdeps/sh/sysdep.h: Likewise.
30090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30091 Do not define ASM_TYPE_DIRECTIVE.
30092 * sysdeps/powerpc/sysdep.h: Likewise.
30093 * sysdeps/powerpc/powerpc32/sysdep.h:
30094 Replace ASM_TYPE_DIRECTIVE with .type.
30095 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30096 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30097 * sysdeps/i386/fpu/e_powf.S: Likewise.
30098 * sysdeps/i386/fpu/e_expl.S: Likewise.
30099 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30100 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30101 * sysdeps/i386/fpu/e_pow.S: Likewise.
30102 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30103 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30104 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30105 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30106 * sysdeps/i386/fpu/e_log2.S: Likewise.
30107 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30108 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30109 * sysdeps/i386/fpu/e_powl.S: Likewise.
30110 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30111 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30112 * sysdeps/i386/fpu/e_logl.S: Likewise.
30113 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30114 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30115 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30116 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30117 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30118 * sysdeps/i386/fpu/e_log.S: Likewise.
30119 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30120 * sysdeps/i386/fpu/e_logf.S: Likewise.
30121 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30122 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30123 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30124 * sysdeps/i386/fpu/e_log10.S: Likewise.
30125 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30126 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30127 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30128 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30129 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30130 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30131 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30132 * sysdeps/i386/i686/strtok.S: Likewise.
30133 * sysdeps/i386/i386-mcount.S: Likewise.
30134 * sysdeps/i386/strtok.S: Likewise.
30135 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30136 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30137 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30138 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30139 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30140 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30141 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30142 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30143 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30144 * sysdeps/x86_64/_mcount.S: Likewise.
30145 * sysdeps/x86_64/strtok.S: Likewise.
30146 * sysdeps/sh/_mcount.S: Likewise.
30148 2012-08-01 Roland McGrath <roland@hack.frob.com>
30150 * libio/iofopen.c: Include <fcntl.h>.
30151 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30152 (_IO_fopen64, fopen64): Define as aliases.
30153 * libio/iofopen64.c: Include <fcntl.h>.
30154 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30155 Conditionalize body on this.
30156 * sysdeps/wordsize-64/iofopen.c: File removed.
30157 * sysdeps/wordsize-64/iofopen64.c: File removed.
30159 2012-08-01 Marek Polacek <polacek@redhat.com>
30161 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30162 Use dlfcn directly instead of a variable.
30163 (binfmt-subdir): Do not define.
30166 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30168 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30169 Remove all definitions.
30170 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30171 <kernel-features.h>.
30172 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30173 (miss_F_GETOWN_EX): Remove all definitions.
30174 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30176 [!__ASSUME_FCNTL64]: Remove conditional code.
30177 [__ASSUME_FCNTL64]: Make code unconditional.
30178 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30179 <kernel-features.h>.
30180 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30181 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30182 (lockf64) [__NR_fcntl64]: Make code unconditional.
30183 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30185 * sysdeps/unix/sysv/linux/kernel-features.h
30186 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30187 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30188 Make code unconditional.
30189 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30190 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30192 [__NR_vfork]: Make code unconditional.
30193 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30194 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30196 [__NR_vfork]: Make code unconditional.
30197 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30198 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30200 2012-08-01 Roland McGrath <roland@hack.frob.com>
30202 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30203 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30205 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30206 Define mkstemp64 as an alias.
30207 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30208 Define mkstemps64 as an alias.
30209 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30210 Define mkostemp64 as an alias.
30211 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30212 Define mkostemps64 as an alias.
30213 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30214 Conditionalize body on this.
30215 * misc/mkostemp64.c: Likewise.
30216 * misc/mkostemps64.c: Likewise.
30217 * misc/mkstemps64.c: Likewise.
30218 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30219 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30220 * sysdeps/wordsize-64/mkostemp.c: File removed.
30221 * sysdeps/wordsize-64/mkstemp.c: File removed.
30222 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30223 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30224 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30225 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30228 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30229 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30230 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30231 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30233 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30234 compat_symbol macros from <shlib-compat.h> rather than the underlying
30235 default_symbol_version and symbol_version macros, so that DEFAULT
30236 lines in shlib-versions are respected.
30237 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30239 2012-08-01 Florian Weimer <fweimer@redhat.com>
30241 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30242 Declare with warn_unused_result.
30243 (setgid, setregid, setegid, setresgid): Likewise.
30244 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30246 * WUR-REPORT: Remove set*id functions.
30248 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30250 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30252 2012-07-31 Roland McGrath <roland@hack.frob.com>
30255 * include/sys/socket.h (__libc_accept, __libc_accept4):
30256 Add attribute_hidden.
30257 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30259 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30261 * inet/getnetgrent_r.c (setup): Likewise.
30263 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30265 2012-07-31 David S. Miller <davem@davemloft.net>
30267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30269 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30272 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30273 value between 1.0 and 2.0 and smaller part has absolute value less
30275 * math/s_clog10.c (__clog10): Likewise.
30276 * math/s_clog10f.c (__clog10f): Likewise.
30277 * math/s_clog10l.c (__clog10l): Likewise.
30278 * math/s_clogf.c (__clogf): Likewise.
30279 * math/s_clogl.c (__clogl): Likewise.
30280 * math/libm-test.inc (clog_test): Add more tests.
30281 (clog10_test): Likewise.
30282 * sysdeps/i386/fpu/libm-test-ulps: Update.
30283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30285 2012-07-31 Florian Weimer <fweimer@redhat.com>
30287 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30288 Exit with zero in case no suitable GID is found, and write a
30289 message to standard error.
30291 2012-07-30 Roland McGrath <roland@hack.frob.com>
30293 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30295 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30296 (MAXPATHLEN): Removed.
30297 (NOGROUP, NODEV): New macros.
30298 (setbit, clrbit, isset, isclr): New macros.
30299 (howmany, roundup, powerof2): New macros.
30300 (DEV_BSIZE): New macro.
30302 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30303 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30305 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30306 definition on [!__NO_LONG_DOUBLE_MATH].
30308 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30309 PTR_MANGLE and PTR_DEMANGLE.
30311 * socket/accept4.c (accept4): Rename to __libc_accept4.
30312 Define accept4 as a weak alias.
30314 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30315 on [_DIRENT_HAVE_D_TYPE].
30316 * io/ftw.c (ftw_dir): Likewise.
30318 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30320 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30322 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30323 Use the BSD numbers rather than the arbitrary ones we had.
30324 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30325 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30326 (SIGXCPU, SIGXFSZ): New macros.
30329 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30330 initializer on [_LIBC_REENTRANT].
30332 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30333 definitions inside [_POSIX_MAPPED_FILES].
30335 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30337 * dirent/opendir.c: Include <fcntl.h>.
30339 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30340 (__libc_getspecific): Likewise.
30341 (__libc_key_create): Likewise.
30343 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30344 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30345 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30346 (tmpfile64): Define as alias.
30347 * sysdeps/wordsize-64/tmpfile.c: File removed.
30348 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30349 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30350 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30352 * stdio-common/vfscanf.c: Include <stdbool.h>.
30353 * nss/makedb.c: Likewise.
30354 * stdio-common/_i18n_number.h: Likewise.
30355 * argp/argp-help.c: Likewise.
30356 * posix/wordexp.c: Likewise.
30357 * sysdeps/posix/spawni.c: Likewise.
30358 * nss/nss_files/files-initgroups.c: Likewise.
30359 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30360 * nss/nss_files/files-initgroups.c: Likewise.
30361 * nss/nss_db/db-netgrp.c: Likewise.
30362 * nss/nss_db/db-initgroups.c: Likewise.
30363 * io/fchmodat.c: Include <sys/stat.h>.
30365 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30366 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30368 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30371 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30372 Add multiple inclusion protection.
30374 2012-07-27 David S. Miller <davem@davemloft.net>
30376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30378 2012-07-27 Gary Benson <gbenson@redhat.com>
30381 * elf/rtld.c: Include <stap-probe.h>.
30382 (dl_main): Added static probes "init_start" and "init_complete".
30383 * elf/dl-load.c: Include <stap-probe.h>.
30384 (lose): Take new parameter "nsid".
30385 Added static probe "map_failed".
30386 (_dl_map_object_from_fd): Pass namespace id to lose.
30387 Added static probe "map_start".
30388 (open_verify): Pass namespace id to lose.
30389 * elf/dl-open.c: Include <stap-probe.h>.
30390 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30391 and "reloc_complete".
30392 * elf/dl-close.c: Include <stap-probe.h>.
30393 (_dl_close_worker): Added static probes "unmap_start" and
30395 * elf/rtld-debugger-interface.txt: New file documenting the above.
30397 2012-07-26 Roland McGrath <roland@hack.frob.com>
30399 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30400 rather than a string variable.
30401 * sunrpc/rpc_main.c (h_output): Likewise.
30402 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30404 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30406 * inet/check_native.c: New file.
30408 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30411 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30412 if larger part has absolute value 1.0.
30413 * math/s_clog10.c (__clog10): Likewise.
30414 * math/s_clog10f.c (__clog10f): Likewise.
30415 * math/s_clog10l.c (__clog10l): Likewise.
30416 * math/s_clogf.c (__clogf): Likewise.
30417 * math/s_clogl.c (__clogl): Likewise.
30418 * math/libm-test.inc (clog_test): Add more tests.
30419 (clog10_test): Likewise.
30420 * sysdeps/i386/fpu/libm-test-ulps: Update.
30421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30423 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30424 (pltexit): Likewise.
30425 (La_regs): Likewise.
30426 (La_retval): Likewise.
30427 (int_retval): Likewise.
30428 Update #error for removed macros to refer only to definitions in
30430 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30432 (pltexit): Likewise.
30433 (La_regs): Likewise.
30434 (La_retval): Likewise.
30435 (int_retval): Likewise.
30436 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30438 (pltexit): Likewise.
30439 (La_regs): Likewise.
30440 (La_retval): Likewise.
30441 (int_retval): Likewise.
30442 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30444 (pltexit): Likewise.
30445 (La_regs): Likewise.
30446 (La_retval): Likewise.
30447 (int_retval): Likewise.
30448 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30450 (pltexit): Likewise.
30451 (La_regs): Likewise.
30452 (La_retval): Likewise.
30453 (int_retval): Likewise.
30454 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30456 (pltexit): Likewise.
30457 (La_regs): Likewise.
30458 (La_retval): Likewise.
30459 (int_retval): Likewise.
30460 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30462 (pltexit): Likewise.
30463 (La_regs): Likewise.
30464 (La_retval): Likewise.
30465 (int_retval): Likewise.
30466 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30467 macro definitions in tst-audit.h.
30468 * sysdeps/i386/tst-audit.h: New file.
30469 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30470 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30471 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30472 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30473 * sysdeps/sh/tst-audit.h: Likewise.
30474 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30475 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30476 * sysdeps/x86_64/tst-audit.h: Likewise.
30478 2012-07-26 Andreas Jaeger <aj@suse.de>
30480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30483 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30484 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30485 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30487 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30488 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30489 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30491 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30494 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30496 (si_call_addr, si_syscall, si_arch): Define new macro.
30497 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30499 (si_call_addr, si_syscall, si_arch): Define new marcro.
30500 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30502 (si_call_addr, si_syscall, si_arch): Define new macro.
30503 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30505 (si_call_addr, si_syscall, si_arch): Define new macro.
30507 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30510 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30511 Change to 2.4.21 where previously 2.4.1.
30512 * sysdeps/unix/sysv/linux/configure: Regenerated.
30513 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30514 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30515 Linux kernel version.
30516 (__ASSUME_STD_AUXV): Remove.
30517 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30519 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30520 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30521 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30522 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30523 (__ASSUME_NETLINK_SUPPORT): Likewise.
30524 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30525 (__no_netlink_support): Remove conditional definition.
30526 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30528 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30529 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30530 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30531 (if_nameindex_ioctl): Remove.
30532 (if_nameindex_netlink): Do not handle __no_netlink_support.
30533 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30535 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30536 Remove conditional code.
30537 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30539 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30541 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30542 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30543 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30545 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30546 [!__ASSUME_STD_AUXV]: Remove conditional code.
30547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30548 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30549 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30551 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30552 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30554 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30556 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30557 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30559 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30561 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30564 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30567 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30568 code unconditional.
30569 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30571 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30573 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30576 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30578 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30581 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30582 code unconditional.
30583 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30585 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30587 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30590 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30591 code unconditional.
30592 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30594 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30596 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30599 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30601 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30602 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30603 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30604 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30605 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30606 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30607 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30608 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30609 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30610 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30611 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30612 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30613 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30614 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30615 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30616 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30617 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30618 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30619 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30621 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30622 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30623 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30625 2012-07-25 Florian Weimer <fweimer@redhat.com>
30627 * Versions.def: Add GLIBC_2.17.
30628 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30629 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30630 Introduce __libc_secure_getenv.
30631 * stdlib/Versions (2.17): Add secure_getenv
30632 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30633 * stdlib/secure-getenv.c: Rename __secure_getenv to
30634 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30635 symbol __secure_getenv for GLIBC_2.0.
30636 * stdlib/tst-secure-getenv.c: New.
30637 * stdlib/Makefile (tests): Add testcase.
30638 * manual/startup.texi (Environment Access): Document
30640 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30641 __libc_secure_getenv.
30642 * inet/ruserpass.c (ruserpass): Likewise.
30643 * malloc/mtrace.c (mtrace): Likewise.
30644 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30645 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30646 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30647 * sysdeps/posix/tempname.c: Likewise. Evaluate
30648 HAVE_SECURE_GETENV.
30649 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30650 __secure_getenv to __libc_secure_getenv.
30651 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30658 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30664 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30666 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30667 (struct La_i86_retval): Likewise.
30668 (struct La_x86_64_regs): Likewise.
30669 (struct La_x86_64_retval): Likewise.
30670 (struct La_x32_regs): Likewise.
30671 (struct La_x32_retval): Likewise.
30672 (struct La_ppc32_regs): Likewise.
30673 (struct La_ppc32_retval): Likewise.
30674 (struct La_ppc64_regs): Likewise.
30675 (struct La_ppc64_retval): Likewise.
30676 (struct La_sh_regs): Likewise.
30677 (struct La_sh_retval): Likewise.
30678 (struct La_s390_32_regs): Likewise.
30679 (struct La_s390_32_retval): Likewise.
30680 (struct La_s390_64_regs): Likewise.
30681 (struct La_s390_64_retval): Likewise.
30682 (struct La_sparc32_regs): Likewise.
30683 (struct La_sparc32_retval): Likewise.
30684 (struct La_sparc64_regs): Likewise.
30685 (struct La_sparc64_retval): Likewise.
30686 (struct audit_ifaces): Remove architecture-specific pltenter and
30688 * sysdeps/i386/ldsodefs.h: New file.
30689 * sysdeps/powerpc/ldsodefs.h: Likewise.
30690 * sysdeps/s390/ldsodefs.h: Likewise.
30691 * sysdeps/sh/ldsodefs.h: Likewise.
30692 * sysdeps/sparc/ldsodefs.h: Likewise.
30693 * sysdeps/x86_64/ldsodefs.h: Likewise.
30695 2012-07-25 Marek Polacek <polacek@redhat.com>
30698 * math/libm-test.inc (yn_test): Add another test.
30699 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30700 to ERANGE when the result is +-Inf.
30701 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30702 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30703 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30704 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30706 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30708 * conform/data/time.h-data (NULL): Use macro-constant. Require
30710 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30712 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30714 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30716 * configure.in <sysdeps resolving>: Correct printing
30718 * configure: Regenerate.
30720 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30722 * math/w_ilogb.c: Include <limits.h>.
30723 * math/w_ilogbl.c: Likewise.
30725 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30727 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30728 va_copy. Document allowing for unavailable va_copy only as
30729 pre-C99 compatibility.
30730 * manual/string.texi (Copying and Concatenation): Use va_copy
30731 instead of __va_copy in concat example.
30733 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30735 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30736 (__sendto): Use create_address_port. Initialize APORT and deallocate
30739 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30740 with O_NOLINK passed to __file_name_lookup.
30742 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30743 with O_NOLINK passed to __file_name_lookup.
30745 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30746 negative N or less than NGIDS.
30748 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30749 type to string_t. Set ERANGE as errno and return it if NAME is not big
30750 enough. Use memcpy instead of strncpy.
30752 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30754 * elf/Makefile (check-data): Remove.
30755 (localplt.data): New vpath directive.
30756 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30757 instead of $(check-data).
30758 * scripts/data/localplt-generic.data: Move to ...
30759 * sysdeps/generic/localplt.data: ... here.
30760 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30761 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30762 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30765 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30768 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30771 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30774 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30777 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30781 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30783 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30784 PPC32 and PPC64 files.
30785 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30786 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30788 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30790 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30791 __makecontext_ret to ...
30792 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30793 ... here and call exit if uc_link is NULL. New file.
30794 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30795 __makecontext_ret.S.
30796 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30797 __makecontext_ret to ...
30798 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30799 ... here and call exit if uc_link is NULL. New file.
30800 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30801 __makecontext_ret.S.
30803 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30805 * elf/elf.h (R_390_IRELATIVE): New definition.
30806 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30807 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30808 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30809 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30810 (elf_machine_lazy_rel): Likewise.
30811 * sysdeps/s390/dl-irel.h: New file.
30812 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30813 * sysdeps/s390/s390-64/memset.S: New asm code.
30814 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30815 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30816 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30817 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30818 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30819 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30820 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30821 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30822 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30823 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30824 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30825 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30826 * sysdeps/s390/s390-32/memset.S: New asm code.
30827 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30829 2012-07-17 Marek Polacek <polacek@redhat.com>
30832 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30833 * sysdeps/s390/s390-64/configure.in: Likewise.
30834 * sysdeps/sparc/configure.in: Likewise.
30835 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30836 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30837 * sysdeps/i386/configure.in: Likewise.
30838 * sysdeps/x86_64/configure.in: Likewise.
30839 * sysdeps/sh/configure.in: Likewise.
30840 * sysdeps/s390/s390-32/configure: Regenerated.
30841 * sysdeps/s390/s390-64/configure: Likewise.
30842 * sysdeps/x86_64/configure: Likewise.
30843 * sysdeps/sh/configure: Likewise.
30844 * sysdeps/powerpc/powerpc64/configure: Likewise.
30845 * sysdeps/powerpc/powerpc32/configure: Likewise.
30846 * sysdeps/sparc/configure: Likwise.
30847 * sysdeps/i386/configure: Likewise.
30849 * elf/dl-open.c: Comment fixes.
30851 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30853 * Makefile [CXX] (check-data): Remove.
30854 [CXX] (c++-types.data): New vpath directive.
30855 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30856 vpath. Do not allow for C++ type data being missing.
30857 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30858 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30859 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30860 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30861 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30862 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30863 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30866 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30869 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30872 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30875 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30878 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30881 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30884 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30887 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30888 definitions to architecture-specific files.
30889 (TLS_IE): Likewise.
30890 (TLS_LD): Likewise.
30891 (TLS_GD): Likewise.
30892 * sysdeps/i386/tls-macros.h: New file.
30893 * sysdeps/powerpc/tls-macros.h: Likewise.
30894 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30895 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30896 * sysdeps/sh/tls-macros.h: Likewise.
30897 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30898 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30899 * sysdeps/x86_64/tls-macros.h: Likewise.
30901 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30903 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30904 zero value for regular exit case.
30906 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30907 (__start_context): Preserve zero value for regular exit case.
30909 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30910 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30912 * manual/setjmp.texi (setcontext): Clarify normal process
30913 termination when uc_link is the null pointer.
30914 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30917 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30919 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30920 preprocessor. Test for each exception mask separately.
30922 2012-07-16 Andreas Jaeger <aj@suse.de>
30924 * po/ru.po: Update from translation team.
30926 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30928 * conform/data/string.h-data (NULL): Use macro-constant. Require
30930 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30931 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30932 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30933 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30934 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30936 2012-07-13 Andreas Jaeger <aj@suse.de>
30938 * po/fr.po: Update from translation team.
30940 2012-07-12 Marek Polacek <polacek@redhat.com>
30943 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30944 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30947 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30950 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30951 Change to 2.4.1 where previously 2.4.0.
30952 * sysdeps/unix/sysv/linux/configure: Regenerated.
30953 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30954 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30956 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30957 (__ASSUME_AT_CLKTCK): Remove.
30958 (__ASSUME_AT_PAGESIZE): Likewise.
30959 (__ASSUME_AT_XID): Likewise.
30960 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30961 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30962 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30964 (HAVE_AUX_PAGESIZE): Likewise.
30965 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30966 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30967 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30969 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30973 the temporary buffer used to invoke __gethostbyname2_r,
30974 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30975 host_data / struct gaih_addrtuple.
30976 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30977 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30978 header file nss/nsswitch.h.
30979 * nss/nsswitch.h (global scope): Add definition of implementation
30980 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30981 resolv/nss_dns/dns-host.c).
30983 2012-07-11 Andreas Jaeger <aj@suse.de>
30985 * po/fr.po: Update from translation team.
30987 * po/sv.po: Update from translation team
30988 * po/fr.po: Another update from translation team.
30990 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30992 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30993 for subnormals or multiply small sinh result by itself.
30994 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30997 2012-07-11 David S. Miller <davem@davemloft.net>
30999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31001 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31004 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31005 (INTERNAL_MARK): Shift it here.
31007 2012-07-10 Marek Polacek <polacek@redhat.com>
31010 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31011 libc_cv_asm_global_directive with .globl.
31012 * configure: Regenerated.
31013 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31015 * sysdeps/i386/configure: Regenerated.
31016 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31018 * sysdeps/x86_64/configure: Regenerated.
31019 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31020 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31021 * elf/tst-unique2mod2.c: Likewise.
31022 * elf/tst-unique2mod1.c: Likewise.
31023 * elf/tst-unique1mod2.c: Likewise.
31024 * elf/tst-unique1mod1.c: Likewise.
31025 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31026 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31027 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31028 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31029 * sysdeps/mach/sysdep.h: Likewise.
31030 * sysdeps/i386/sysdep.h: Likewise.
31031 * sysdeps/i386/i386-mcount.S: Likewise.
31032 * sysdeps/x86_64/_mcount.S: Likewise.
31033 * sysdeps/x86_64/sysdep.h: Likewise.
31034 * sysdeps/sh/_mcount.S: Likewise.
31035 * sysdeps/sh/sysdep.h: Likewise.
31036 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31037 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31038 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31039 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31040 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31041 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31042 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31043 * locale/localeinfo.h: Likewise.
31044 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31045 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31047 2012-07-09 Roland McGrath <roland@hack.frob.com>
31050 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31052 * manual/message.texi (The Uniforum approach): Likewise.
31053 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31054 (glibc iconv Implementation): Likewise.
31056 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31059 * math/s_clog.c (__clog): Avoid scaling a value down where that
31060 could result in underflow.
31061 * math/s_clog10.c (__clog10): Likewise.
31062 * math/s_clog10f.c (__clog10f): Likewise.
31063 * math/s_clog10l.c (__clog10l): Likewise.
31064 * math/s_clogf.c (__clogf): Likewise.
31065 * math/s_clogl.c (__clogl): Likewise.
31066 * math/libm-test.inc (clog_test): Add more tests.
31067 (clog10_test): Likewise.
31068 * sysdeps/i386/fpu/libm-test-ulps: Update.
31069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31071 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31074 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31075 by 7 not 8 to examine high bit of fractional part.
31078 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31079 for call to __mcount_internal.
31080 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31081 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31082 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31084 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31087 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31088 approximation for values within 0x1p-13f of an odd multiple of
31090 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31091 exception. Add more tests.
31092 * sysdeps/i386/fpu/libm-test-ulps: Update.
31095 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31096 inputs and return -1 for them. Do not check for +Inf in case not
31097 reachable for +Inf.
31098 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31099 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31100 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31101 and return -1 for them. Do not check for +Inf in case not
31102 reachable for +Inf.
31103 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31105 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31106 and return -1 for them. Do not check for +Inf in case not
31107 reachable for +Inf.
31108 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31109 spurious underflow.
31110 * sysdeps/i386/fpu/libm-test-ulps: Update.
31111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31113 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31115 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31117 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31121 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31122 could result in spurious underflow. Scale down values above
31123 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31124 * math/s_csqrtf.c (__csqrtf): Likewise.
31125 * math/s_csqrtl.c (__csqrtl): Likewise.
31126 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31127 spurious underflow.
31128 * sysdeps/i386/fpu/libm-test-ulps: Update.
31129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31131 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31133 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31135 * catgets/xopen-msg.awk: New file.
31136 * catgets/xopen-msg.sed: Removed.
31138 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31140 * intl/po2test.awk: New file.
31141 * intl/po2test.sed: Removed.
31143 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31146 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31147 or multiply small sinh result by itself.
31148 * math/s_ctanf.c (__ctanf): Likewise.
31149 * math/s_ctanh.c (__ctanh): Likewise.
31150 * math/s_ctanhf.c (__ctanhf): Likewise.
31151 * math/s_ctanhl.c (__ctanhl): Likewise.
31152 * math/s_ctanl.c (__ctanl): Likewise.
31153 * math/libm-test.inc (ctan_test_tonearest): New function.
31154 (ctan_test_towardzero): Likewise.
31155 (ctan_test_downward): Likewise.
31156 (ctan_test_upward): Likewise.
31157 (ctanh_test_tonearest): Likewise.
31158 (ctanh_test_towardzero): Likewise.
31159 (ctanh_test_downward): Likewise.
31160 (ctanh_test_upward): Likewise.
31161 (main): Call these new functions.
31162 * sysdeps/i386/fpu/libm-test-ulps: Update.
31163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31165 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31167 * .gitignore: Delete /ports entry.
31169 2012-07-03 Andreas Jaeger <aj@suse.de>
31171 * po/bg.po: Update from translation team.
31172 * po/cs.po: Likewise.
31173 * po/de.po: Likewise.
31174 * po/hr.po: Likewise.
31175 * po/nl.pl: Likewise.
31176 * po/pl.po: Likewise.
31177 * po/vi.po: Likewise.
31179 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31181 * Makeconfig [!+link] (+link-before-libc): New variable.
31182 [!+link] (+link-after-libc): Likewise.
31183 [!+link] (+link-tests): Likewise.
31184 [!+link] (+link): Define in terms of $(+link-before-libc) and
31185 $(+link-after-libc).
31186 [!+link-static] (+link-static-before-libc): New variable.
31187 [!+link-static] (+link-static-after-libc): Likewise.
31188 [!+link-static] (+link-static-tests): Likewise.
31189 [!+link-static] (+link-static): Define in terms of
31190 $(+link-static-before-libc) and $(+link-static-after-libc).
31191 [build-shared] (link-libc-before-gnulib): New variable.
31192 [build-shared] (link-libc-tests): Likewise.
31193 [build-shared] (link-libc): Define in terms of
31194 $(link-libc-before-gnulib).
31195 [!build-shared] (link-libc-tests): New variable.
31196 (link-libc-static-tests): New variable.
31197 [!gnulib] (gnulib-arch): New variable.
31198 [!gnulib] (gnulib-tests): Likewise.
31199 [!gnulib] (static-gnulib-arch): Likewise.
31200 [!gnulib] (static-gnulib-tests): Likewise.
31201 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31202 Define with "=" instead of ":=".
31203 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31204 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31205 * Rules (binaries-all-notests): New variable.
31206 (binaries-all-tests): Likewise.
31207 (binaries-static-notests): Likewise.
31208 (binaries-static-tests): Likewise.
31209 (binaries-all): Define using $(binaries-all-notests) and
31210 $(binaries-all-tests).
31211 (binaries-static): Define using $(binaries-static-notests) and
31212 $(binaries-static-tests).
31213 (binaries-shared-tests): New variable.
31214 (binaries-shared-notests): Likewise.
31215 (binaries-shared): Remove variable.
31216 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31217 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31218 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31219 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31220 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31221 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31222 * elf/Makefile (sln-modules): New variable.
31223 (extra-objs): Add $(sln-modules:=.o).
31224 (ldconfig-modules): Add static-stubs.
31225 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31226 * elf/static-stubs.c: New file.
31229 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31230 by 7 not 8 to examine high bit of fractional part. Use volatile
31231 variables when splitting into final array of floats if
31232 __FLT_EVAL_METHOD__ != 0.
31233 * math/libm-test.inc (cos_test): Add another test.
31234 (sin_test): Likewise.
31235 * sysdeps/i386/fpu/libm-test-ulps: Update.
31238 * math/libm-test.inc (cosh_test): Add more tests.
31240 * version.h (RELEASE): Set to "development".
31241 (VERSION): Set to "2.16.90".
31243 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31245 * NEWS: Update copyright. Remove last-updated date.
31246 Mention math library bug fixes and timezone data changes.
31247 * README: Mention GNU/Hurd, x32, and HPPA support status.
31249 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31251 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31253 2012-06-27 Andreas Jaeger <aj@suse.de>
31255 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31257 2012-06-25 Andreas Jaeger <aj@suse.de>
31259 * sysdeps/s390/fpu/libm-test-ulps: Update.
31261 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31262 Thomas Schwinge <thomas@codesourcery.com>
31264 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31265 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31269 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31271 * sysdeps/mach/start.c: Remove file.
31272 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31273 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31274 * sysdeps/sh/init-first.c: Likewise.
31276 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31277 registers for frame unwinding purposes, add CFI directives.
31278 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31279 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31280 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31283 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31284 __fortify_fail returning.
31285 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31287 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31288 sysdeps/sh/____longjmp_chk.S.
31289 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31290 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31291 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31292 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31294 * sysdeps/sh/abort-instr.h: New file.
31295 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31296 process in case exit returns.
31298 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31299 initialize the GOT register before use.
31301 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31302 calculation of ARGC > 4.
31304 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31305 meaningful names to some local labels.
31307 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31308 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31310 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31311 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31312 (__arch_compare_and_exchange_val_16_acq): Likewise.
31313 (__arch_compare_and_exchange_val_32_acq): Likewise.
31314 (atomic_exchange_and_add): Fix gUSA sequence.
31315 (atomic_add): Likewise.
31316 (atomic_add_negative): Likewise.
31317 (atomic_add_zero): Likewise.
31318 (atomic_bit_test_set): Likewise.
31320 2012-06-22 Andreas Schwab <schwab@redhat.com>
31323 * include/link.h (struct link_map): Add l_free_initfini.
31324 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31326 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31327 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31328 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31331 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31333 * configure.in: Use AC_LANG_SOURCE.
31334 * configure: Regenerate.
31336 2012-06-22 Roland McGrath <roland@hack.frob.com>
31338 * configure.in (libc_cv_localstatedir): New substituted variable.
31339 * configure: Regenerated.
31340 * config.make.in (localstatedir): New variable, substituted from
31341 libc_cv_localstatedir.
31342 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31343 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31344 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31345 * sysdeps/gnu/configure: Regenerated.
31347 2012-06-21 Jeff Law <law@redhat.com>
31350 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31351 free. Simplify list management for _LIBC case.
31353 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31356 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31357 Clear sign bit of 64-bit integer value before comparing against
31360 * sysdeps/mach/configure: Regenerated.
31362 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31365 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31367 2012-06-21 Jeff Law <law@redhat.com>
31370 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31371 uint16_t for elements in the "seen" array to avoid char overflows.
31372 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31373 * elf/dl-open.c (dl_open_worker): Likewise.
31375 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31377 * scripts/list-sources.sh: Scan PORTS for translations.
31378 * po/libc.pot: Regenerated.
31380 2012-06-21 Andreas Jaeger <aj@suse.de>
31383 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31385 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31386 * bits/byteswap-16.h (__bswap_16): Likewise.
31387 * bits/byteswap.h (__bswap_constant_16): Likewise.
31389 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31392 * sysdeps/i386/fpu_control.h: Removed.
31393 * sysdeps/x86_64/fpu_control.h: Moved to ...
31394 * sysdeps/x86/fpu_control.h: Here.
31396 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31397 (_FPU_SETCW): Likewise.
31399 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31402 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31403 * sysdeps/x86/fpu/bits/mathinline.h: This.
31404 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31408 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31409 functions if __x86_64__ is defined.
31411 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31413 * string/endian.h: Add !__ASSEMBLER__ condition for including
31414 conversion interfaces.
31416 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31420 of ABS(x) in calculating zero to negative powers other than odd
31422 * math/libm-test.inc (pow_test): Add more tests.
31424 2012-06-15 Andreas Jaeger <aj@suse.de>
31426 * manual/contrib.texi (Contributors): Update entry of Liubov
31427 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31430 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31432 * string/string.h: Add __wur to GNU version of strerror_r.
31434 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31437 * string/Makefile (tests): Add tst-strtok_r.
31438 * string/tst-strtok_r.c: New file.
31439 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31440 RAX_LP/RDX_LP on SAVE_PTR.
31442 2012-06-14 Roland McGrath <roland@hack.frob.com>
31444 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31446 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31448 * libm_test.inc (csqrt_test): Allow more spurious underflow
31450 (j0_test): Likewise.
31451 (j1_test): Likewise.
31452 (y0_test): Likewise.
31453 (y1_test): Likewise.
31455 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31457 * po/Makefile (libc.pot): Use UTF-8 charset.
31459 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31462 Suppress sign-conversion warning from FD_SET.
31463 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31464 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31465 not unsigned long int.
31466 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31468 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31472 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31473 __extern_always_inline instead of __extern_inline.
31474 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31475 (__signbit): Likewise.
31476 (__signbitl): Support C++ namespace.
31477 (lrintf): New inline function.
31479 (llrintf): Likewise.
31480 (llrint): Likewise.
31490 (floorf): Likewise.
31491 (nearbyint): Likewise.
31492 (nearbyintf): Likewise.
31494 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31496 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31497 non-default versions.
31499 2012-06-11 Roland McGrath <roland@hack.frob.com>
31502 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31504 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31506 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31507 (FE_UPWARD, FE_DOWNWARD): Don't define.
31508 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31509 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31511 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31513 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31514 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31516 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31518 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31520 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31521 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31523 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31526 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31527 * sysdeps/i386/fpu/Implies: New file.
31528 * sysdeps/x86_64/fpu/Implies: Likewise.
31529 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31530 * sysdeps/x86/fpu/bits/fenv.h: This.
31532 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31535 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31538 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31539 character 0xffff that matches the last element of the
31542 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31544 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31547 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31549 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31550 values higher than 25.6283.
31552 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31554 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31555 subnormal exponent extraction and add some __builtin_expect.
31556 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31557 Fix for subnormal mantissa calculation.
31559 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31561 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31562 cpu2 is -1 and errno is not ENOSYS.
31564 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31567 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31568 * sysdeps/x86/bits/string.h: This.
31569 * sysdeps/x86_64/bits/string.h: Removed.
31571 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31572 if not compiling for x86-64, but compiling for >= i486.
31574 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31575 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31577 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31578 New macro from Linux kernel 3.4.0.
31579 (FP_XSTATE_MAGIC2): Likewise.
31580 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31581 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31582 (struct _fpx_sw_bytes): New struct.
31583 (struct _xsave_hdr): Likewise.
31584 (struct _ymmh_state): Likewise.
31585 (struct _xstate): Likewise.
31587 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31588 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31589 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31590 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31591 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31592 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31594 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31595 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31596 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31597 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31598 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31599 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31601 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31604 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31605 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31606 (sysdep_headers): Include sys/platform/ppc.h.
31607 * sysdeps/powerpc/test-gettimebase.c: Test for
31608 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31609 * manual/Makefile (appendices): Include platform.texi.
31610 * manual/contrib.texi (Contributors): Update @node pointers.
31611 * manual/maint.texi (Maintenance): Likewise.
31612 (Platform): New node.
31613 * manual/platform.texi: New file. Document the new features.
31615 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31616 Jakub Jelinek <jakub@redhat.com>
31619 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31620 where __builtin_expect is unavailable.
31622 2012-06-03 David S. Miller <davem@davemloft.net>
31624 * stdlib/longlong.h: Updated from GCC.
31626 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31629 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31630 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31633 (GLIBC_2.16): Likewise.
31635 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31637 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31639 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31642 (default-abi): New variable.
31643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31644 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31646 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31648 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31650 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31653 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31654 definition. Document in comment.
31656 2012-06-01 David S. Miller <davem@davemloft.net>
31658 * stdlib/longlong.h: Updated from GCC.
31660 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31663 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31664 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31665 sys/debugreg.h sys/io.h here.
31666 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31667 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31669 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31670 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31671 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31672 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31673 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31674 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31676 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31677 Define only if __x86_64__ is defined.
31679 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31682 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31683 Use int64_t for variable i.
31684 * math/libm-test.inc (fmod_test): Add more tests.
31686 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31687 z computation is not scheduled after fetestexcept.
31688 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31689 Use math_force_eval instead of asm to ensure calculation scheduled
31690 before exception test.
31691 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31692 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31694 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31697 computation is not scheduled after fetestexcept.
31699 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31702 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31703 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31705 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31707 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31708 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31710 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31713 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31715 (__WCHAR_MIN): Support __WORDSIZE == 64.
31716 (__WCHAR_MAX): Likewise.
31718 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31719 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31722 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31723 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31726 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31727 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31729 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31730 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31732 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31733 Defined to 1 if __x86_64__ isn't defined.
31734 (_STAT_VER_LINUX_OLD): New.
31735 (st_atime): Remove duplicate.
31736 (st_mtime): Likewise.
31737 (st_ctime): Likewise.
31739 2012-05-31 David S. Miller <davem@davemloft.net>
31741 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31744 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31746 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31750 * elf/dl-reloc.c: Include <_itoa.h>.
31751 (_dl_reloc_bad_type): Remove use of INTUSE.
31752 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31753 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31754 * stdio-common/psiginfo.c (psiginfo): Likewise.
31755 * stdio-common/psignal.c (psignal): Likewise.
31756 * string/strsignal.c (strsignal): Likewise.
31757 * include/signal.h (_sys_siglist): Declare hidden proto.
31758 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31759 INTVARDEF with libc_hidden_data_def.
31760 * stdio-common/itoa-udigits.c: Likewise.
31761 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31762 (_itoa_lower_digits_internal): Remove declaration.
31763 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31764 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31765 (_sys_sigabbrev_internal): Remove aliases.
31766 (_sys_siglist): Define hidden alias.
31768 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31773 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31776 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31777 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31779 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31780 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31781 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31782 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31783 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31784 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31786 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31787 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31788 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31790 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31798 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31799 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31800 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31802 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31803 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31804 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31805 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31806 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31807 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31809 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31810 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31812 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31813 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31815 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31817 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31819 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31820 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31822 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31824 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31825 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31826 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31828 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31830 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31832 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31834 * math/math.h (M_El): Use two more decimal places.
31835 (M_LOG2El): Likewise.
31836 (M_LOG10El): Likewise.
31837 (M_LN2l): Likewise.
31838 (M_LN10l): Likewise.
31840 (M_PI_2l): Likewise.
31841 (M_PI_4l): Likewise.
31842 (M_1_PIl): Likewise.
31843 (M_2_PIl): Likewise.
31844 (M_2_SQRTPIl): Likewise.
31845 (M_SQRT2l): Likewise.
31846 (M_SQRT1_2l): Likewise.
31848 2012-05-31 David S. Miller <davem@davemloft.net>
31850 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31851 values between float registers.
31852 * sysdeps/sparc/sparc64/memset.S: Likewise.
31853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31855 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31857 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31858 -D_FORTIFY_SOURCE=1.
31859 (CPPFLAGS-tst-longjmp_chk.c): Define.
31860 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31861 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31862 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31863 CFLAGS-tst-wchar-h.c.
31865 2012-05-31 Marek Polacek <polacek@redhat.com>
31868 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31869 __endmntent_internal): Remove declaration.
31870 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31871 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31872 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31874 2012-05-30 David S. Miller <davem@davemloft.net>
31876 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31877 (___Q_simulate_exceptions): Use real FP ops rather than writing
31879 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31882 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31885 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31886 * sysdeps/x86/bits/xtitypes.h: This.
31888 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31889 * sysdeps/x86/bits/wordsize.h: This.
31891 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31892 * sysdeps/x86/bits/huge_vall.h: This.
31894 * sysdeps/i386/bits/select.h: Removed.
31895 * sysdeps/x86_64/bits/select.h: Renamed to ...
31896 * sysdeps/x86/bits/select.h: This.
31898 * sysdeps/i386/bits/setjmp.h: Removed.
31899 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31900 * sysdeps/x86/bits/setjmp.h: This.
31902 * sysdeps/i386/bits/mathdef.h: Removed.
31903 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31904 * sysdeps/x86/bits/mathdef.h: This.
31906 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31909 * include/sys/socket.h (__connect_internal)
31910 (__libc_sa_len_internal): Remove declaration.
31911 (__connect, __libc_sa_len): Declare hidden_proto.
31912 (SA_LEN): Remove use of INTUSE.
31913 * socket/connect.c: Add libc_hidden_def.
31914 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31915 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31916 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31918 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31919 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31920 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31921 of adding _internal alias.
31923 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31926 * sysdeps/i386/bits/link.h: Removed.
31927 * sysdeps/i386/bits/linkmap.h: Likewise.
31928 * sysdeps/x86_64/bits/link.h: Renamed to ...
31929 * sysdeps/x86/bits/link.h: This.
31930 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31931 * sysdeps/x86/bits/linkmap.h: This.
31933 * sysdeps/i386/bits/endian.h: Removed.
31934 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31935 * sysdeps/x86/bits/endian.h: This.
31937 * sysdeps/i386/bits/byteswap.h: Removed.
31938 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31939 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31940 * sysdeps/x86/bits/byteswap.h: This.
31941 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31942 * sysdeps/x86/bits/byteswap-16.h: This.
31943 * sysdeps/i386/Implies: Add x86.
31944 * sysdeps/x86_64/Implies: Likewise.
31946 2012-05-30 David S. Miller <davem@davemloft.net>
31948 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31949 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31950 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31951 (FP_TRAPPING_EXCEPTIONS): Define.
31952 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31953 (FP_TRAPPING_EXCEPTIONS): Define.
31954 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31955 subnormals only when inexact has been signalled or underflow
31956 exceptions are enabled.
31957 (_FP_PACK_CANONICAL): Likewise.
31959 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31962 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31963 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31965 2012-05-30 Richard Henderson <rth@twiddle.net>
31967 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31968 with #ifndef NOT_IN_libc.
31970 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31971 marked to avoid plt entry.
31973 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31976 * Makeconfig (default-abi): New macro.
31977 (abi-includes): Likewise.
31978 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31979 $(abi-$(default-abi)-lib-soname) for soname if defined.
31980 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31982 * Makefile (installed-stubs): Likewise.
31983 * include/stubs-biarch.h: Removed.
31984 * scripts/lib-names.awk: Only handle one library at a time.
31985 * scripts/soversions.awk: Remove WORDSIZE support.
31986 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31988 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31990 (syscall-list-default-condition): Likewise.
31991 (syscall-list-default-condition): Likewise.
31992 (syscall-list-includes): Likewise.
31993 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31994 syscall-list-* with abi-*. Handle undefined abi-variants.
31995 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31996 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31997 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31998 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31999 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32000 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32002 (syscall-list-32-options): Likewise.
32003 (syscall-list-32-condition): Likewise.
32004 (syscall-list-64-options): Likewise.
32005 (syscall-list-64-condition): Likewise.
32006 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32008 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32011 (abi-64-ld-soname): New macro.
32012 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32013 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32016 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32017 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32019 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32021 * sysdeps/unix/sysv/linux/kernel-features.h
32022 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32023 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32024 include <kernel-features.h>.
32025 [!__NR_ftruncate64]: Remove conditional code.
32026 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32027 [__NR_ftruncate64]: Make code unconditional.
32028 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32029 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32030 include <kernel-features.h>.
32031 [!__NR_ftruncate64]: Remove conditional code.
32032 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32033 [__NR_ftruncate64]: Make code unconditional.
32034 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32036 include <kernel-features.h>.
32037 [!__NR_ftruncate64]: Remove conditional code.
32038 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32039 [__NR_ftruncate64]: Make code unconditional.
32040 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32042 include <kernel-features.h>.
32043 [!__NR_ftruncate64]: Remove conditional code.
32044 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32045 [__NR_ftruncate64]: Make code unconditional.
32046 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32048 * configure.in (libc_cv_fpie): Weaken to a compile test using
32049 LIBC_TRY_CC_OPTION.
32050 * configure: Regenerated.
32052 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32067 2012-05-27 David S. Miller <davem@davemloft.net>
32069 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32071 (__Q_simulate_exceptions): Return void. Change to simulate
32072 exceptions by writing into the %fsr.
32073 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32074 (__Qp_handle_exceptions): Likewise.
32076 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32077 __Qp_handle_exceptions.
32078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32079 __Qp_handle_exceptions.
32080 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32081 as unused and give dummy FP_RND_NEAREST initializer.
32082 (FP_INHIBIT_RESULTS): Define.
32083 (___Q_simulate_exceptions): Update declaration.
32084 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32086 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32087 as unused and give dummy FP_RND_NEAREST initializer.
32088 (__Qp_handle_exceptions): Update declaration.
32089 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32092 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32094 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32095 the temporary FPU control word.
32096 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32097 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32098 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32099 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32100 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32101 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32102 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32103 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32104 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32105 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32106 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32108 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32110 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32113 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32115 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32116 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32117 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32118 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32120 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32121 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32124 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32126 * po/h.po: Update from translation team.
32128 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32130 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32132 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32133 handling of denormals.
32134 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32135 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32136 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32137 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32140 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32143 2012-05-26 Marek Polacek <polacek@redhat.com>
32146 * math/libm-test.inc (fma_test): Don't always expect underflow
32149 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32152 * elf/tst-execstack.c: Include stackinfo.h.
32153 (do_test): Adjust test case to ensure that pthread_getattr_np
32154 behaviour remains the same after marking stack executable.
32156 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32158 * sysdeps/unix/sysv/linux/kernel-features.h
32159 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32160 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32162 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32163 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32164 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32166 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32167 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32169 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32171 * configure.in: Define the default includes to being none.
32172 * configure: Regenerated.
32174 2012-05-25 Roland McGrath <roland@hack.frob.com>
32176 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32177 * sysdeps/x86_64/setjmp.S: Likewise.
32178 * sysdeps/i386/bsd-setjmp.S: Likewise.
32179 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32180 * sysdeps/i386/setjmp.S: Likewise.
32181 * sysdeps/i386/__longjmp.S: Likewise.
32182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32183 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32185 * include/stap-probe.h: New file.
32186 * configure.in: Handle --enable-systemtap.
32187 * configure: Regenerated.
32188 * config.h.in (USE_STAP_PROBE): New #undef.
32189 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32190 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32191 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32193 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32196 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32197 to 2.4.0 where earlier.
32198 * sysdeps/unix/sysv/linux/configure: Regenerated.
32199 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32200 <kernel-features.h>.
32201 [__ASSUME_32BITUIDS]: Make code unconditional.
32202 [!__ASSUME_32BITUIDS]: Remove conditional code.
32203 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32204 <kernel-features.h>.
32205 [__ASSUME_32BITUIDS]: Make code unconditional.
32206 [!__ASSUME_32BITUIDS]: Remove conditional code.
32207 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32208 [__ASSUME_32BITUIDS]: Make code unconditional.
32209 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32210 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
32227 <kernel-features.h>.
32228 [__ASSUME_32BITUIDS]: Make code unconditional.
32229 [!__ASSUME_32BITUIDS]: Remove conditional code.
32230 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32231 <kernel-features.h>.
32232 [__ASSUME_32BITUIDS]: Make code unconditional.
32233 [!__ASSUME_32BITUIDS]: Remove conditional code.
32234 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32235 <kernel-features.h>.
32236 [__ASSUME_32BITUIDS]: Make code unconditional.
32237 [!__ASSUME_32BITUIDS]: Remove conditional code.
32238 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32239 <kernel-features.h>.
32240 [__ASSUME_32BITUIDS]: Make code unconditional.
32241 [!__ASSUME_32BITUIDS]: Remove conditional code.
32242 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32243 <kernel-features.h>.
32244 [__ASSUME_32BITUIDS]: Make code unconditional.
32245 [!__ASSUME_32BITUIDS]: Remove conditional code.
32246 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32247 <kernel-features.h>.
32248 [__ASSUME_32BITUIDS]: Make code unconditional.
32249 [!__ASSUME_32BITUIDS]: Remove conditional code.
32250 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32251 <kernel-features.h>.
32252 [__NR_setresgid] (__setresgid): Do not declare.
32253 [__ASSUME_32BITUIDS]: Make code unconditional.
32254 [!__ASSUME_32BITUIDS]: Remove conditional code.
32255 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32256 <kernel-features.h>.
32257 [__NR_setresuid] (__setresuid): Do not declare.
32258 [__ASSUME_32BITUIDS]: Make code unconditional.
32259 [!__ASSUME_32BITUIDS]: Remove conditional code.
32260 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
32277 <kernel-features.h>.
32278 [__ASSUME_32BITUIDS]: Make code unconditional.
32279 [!__ASSUME_32BITUIDS]: Remove conditional code.
32280 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32281 <kernel-features.h>.
32282 [__ASSUME_32BITUIDS]: Make code unconditional.
32283 [!__ASSUME_32BITUIDS]: Remove conditional code.
32284 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32285 <kernel-features.h>.
32286 [__ASSUME_32BITUIDS]: Make code unconditional.
32287 [!__ASSUME_32BITUIDS]: Remove conditional code.
32288 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32289 <kernel-features.h>.
32290 [__ASSUME_32BITUIDS]: Make code unconditional.
32291 [!__ASSUME_32BITUIDS]: Remove conditional code.
32292 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32293 <kernel-features.h>.
32294 [__ASSUME_32BITUIDS]: Make code unconditional.
32295 [!__ASSUME_32BITUIDS]: Remove conditional code.
32296 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32297 <kernel-features.h>.
32298 [__ASSUME_32BITUIDS]: Make code unconditional.
32299 [!__ASSUME_32BITUIDS]: Remove conditional code.
32300 * sysdeps/unix/sysv/linux/kernel-features.h
32301 (__ASSUME_SETRESUID_SYSCALL): Remove.
32302 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32303 (__ASSUME_32BITUIDS): Likewise.
32304 (__ASSUME_LDT_WORKS): Likewise.
32305 (__ASSUME_O_DIRECTORY): Likewise.
32306 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32307 architecture but not kernel version.
32308 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32309 (__ASSUME_MMAP2_SYSCALL): Likewise.
32310 (__ASSUME_STAT64_SYSCALL): Likewise.
32311 (__ASSUME_IPC64): Likewise.
32312 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32313 <kernel-features.h>.
32314 [__ASSUME_32BITUIDS]: Make code unconditional.
32315 [!__ASSUME_32BITUIDS]: Remove conditional code.
32316 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32317 <kernel-features.h>.
32318 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32319 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32320 132096]: Remove conditional code.
32321 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32322 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32323 <kernel-features.h>.
32324 [__ASSUME_32BITUIDS]: Make code unconditional.
32325 [!__ASSUME_32BITUIDS]: Remove conditional code.
32326 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32327 <kernel-features.h>.
32328 [__ASSUME_32BITUIDS]: Make code unconditional.
32329 [!__ASSUME_32BITUIDS]: Remove conditional code.
32330 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32331 <kernel-features.h>.
32332 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32334 (__setresgid): Do not declare.
32335 [__ASSUME_32BITUIDS]: Make code unconditional.
32336 [!__ASSUME_32BITUIDS]: Remove conditional code.
32337 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32338 <kernel-features.h>.
32339 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32341 (__setresuid): Do not declare.
32342 [__ASSUME_32BITUIDS]: Make code unconditional.
32343 [!__ASSUME_32BITUIDS]: Remove conditional code.
32344 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32345 <kernel-features.h>.
32346 [__ASSUME_32BITUIDS]: Make code unconditional.
32347 [!__ASSUME_32BITUIDS]: Remove conditional code.
32348 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32349 <kernel-features.h>.
32350 [__ASSUME_32BITUIDS]: Make code unconditional.
32351 [!__ASSUME_32BITUIDS]: Remove conditional code.
32353 2012-05-25 Richard Henderson <rth@twiddle.net>
32355 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32356 dl_hwcap to ifunc resolver.
32357 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32359 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32360 dl_hwcap to ifunc resolver.
32361 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32363 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32366 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32367 for |x| <= 2**-26, not 2**-57.
32368 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32371 2012-05-24 Jeff Law <law@redhat.com>
32373 * stdio-common/Makefile (tests): Add bug25.
32374 * stdio-common/bug25.c: New test.
32376 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32379 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32380 multiple of MALLOC_ALIGNMENT in size.
32381 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32383 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32385 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32387 (FILENAME_MAX): Use macro-int-constant.
32388 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32389 (_IOFBF): Use macro-int-constant.
32390 (_IOLBF): Likewise.
32391 (_IONBF): Likewise.
32392 (SEEK_CUR): Likewise.
32393 (SEEK_END): Likewise.
32394 (SEEK_SET): Likewise.
32395 (TMP_MAX): Likewise.
32396 (EOF): Use macro-int-constant. Require < 0.
32397 (NULL): Use macro-constant. Require == 0.
32398 (stdin): Require type to be FILE *.
32399 (stdout): Likewise.
32400 (stderr): Likewise.
32401 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32402 macro-int-constant.
32403 (EXIT_SUCCESS): Likewise.
32404 (NULL): Use macro-constant. Require == 0.
32405 (RAND_MAX): Use macro-int-constant.
32406 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32407 [C99-based standards] (strtof): Require function.
32408 [C99-based standards] (strtold): Likewise.
32409 [C99-based standards] (strtoll): Likewise.
32410 [C99-based standards] (strtoull): Likewise.
32411 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32412 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32413 [ISO || ISO99 || ISO11] (math.h): Likewise.
32414 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32415 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32418 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32421 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32422 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32423 * intl/dgettext.c (DCGETTEXT): Likewise.
32424 * intl/gettext.c (DCGETTEXT): Likewise.
32425 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32426 * posix/regex_internal.h (gettext): Likewise.
32427 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32428 Remove declaration.
32429 * include/argz.h (__argz_count_internal)
32430 (__argz_stringify_internal): Remove declaration.
32431 (__argz_count, __argz_stringify): Declare hidden proto.
32432 * intl/dcgettext.c: Remove use of INTDEF.
32433 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32434 * string/argz-stringify.c: Likewise.
32435 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32436 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32437 Declare hidden proto.
32438 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32439 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32440 Declare hidden proto.
32441 * include/stdio.h (__asprintf_internal): Don't declare.
32442 (__asprintf): Don't define as macro. Declare hidden proto.
32443 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32444 (__fsetlocking): Declare hidden proto.
32445 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32446 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32448 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32449 (_IO_setlinebuf): Remove use of INTUSE.
32450 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32451 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32452 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32453 Remove declaration.
32454 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32455 (_IO_do_flush): Remove use of INTUSE.
32456 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32457 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32458 (_IO_adjust_column, _IO_least_wmarker)
32459 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32460 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32461 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32462 (_IO_default_doallocate, _IO_wdefault_doallocate)
32463 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32464 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32465 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32466 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32467 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32468 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32469 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32470 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32471 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32472 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32473 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32474 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32475 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32477 (_IO_flush_all_internal, _IO_adjust_column_internal)
32478 (_IO_default_uflow_internal, _IO_default_finish_internal)
32479 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32480 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32481 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32482 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32483 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32484 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32485 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32486 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32487 (_IO_file_close_internal, _IO_file_close_it_internal)
32488 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32489 (_IO_file_init_internal, _IO_file_attach_internal)
32490 (_IO_file_fopen_internal, _IO_file_read_internal)
32491 (_IO_file_sync_internal, _IO_file_seek_internal)
32492 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32493 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32494 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32495 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32496 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32497 (_IO_list_all_internal, _IO_link_in_internal)
32498 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32499 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32500 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32501 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32502 (_IO_do_write_internal, _IO_padn_internal)
32503 (_IO_getline_info_internal, _IO_getline_internal)
32504 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32505 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32506 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32507 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32508 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32509 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32510 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32511 with libc_hidden_ver, remove use of INTUSE.
32512 * libio/genops.c: Likewise.
32513 * libio/freopen.c: Likewise.
32514 * libio/freopen64.c: Likewise.
32515 * libio/iofclose.c: Likewise.
32516 * libio/iofdopen.c: Likewise.
32517 * libio/iofflush.c: Likewise.
32518 * libio/iofflush_u.c: Likewise.
32519 * libio/iofgets.c: Likewise.
32520 * libio/iofgets_u.c: Likewise.
32521 * libio/iofopen.c: Likewise.
32522 * libio/iofopncook.c: Likewise.
32523 * libio/iofread.c: Likewise.
32524 * libio/iofread_u.c: Likewise.
32525 * libio/ioftell.c: Likewise.
32526 * libio/iofwrite.c: Likewise.
32527 * libio/iogetline.c: Likewise.
32528 * libio/iogets.c: Likewise.
32529 * libio/iogetwline.c: Likewise.
32530 * libio/iopadn.c: Likewise.
32531 * libio/iopopen.c: Likewise.
32532 * libio/ioseekoff.c: Likewise.
32533 * libio/ioseekpos.c: Likewise.
32534 * libio/iosetbuffer.c: Likewise.
32535 * libio/iosetvbuf.c: Likewise.
32536 * libio/ioungetc.c: Likewise.
32537 * libio/ioungetwc.c: Likewise.
32538 * libio/iovdprintf.c: Likewise.
32539 * libio/iovsprintf.c: Likewise.
32540 * libio/iovsscanf.c: Likewise.
32541 * libio/memstream.c: Likewise.
32542 * libio/obprintf.c: Likewise.
32543 * libio/oldfileops.c: Likewise.
32544 * libio/oldiofclose.c: Likewise.
32545 * libio/oldiofdopen.c: Likewise.
32546 * libio/oldiofopen.c: Likewise.
32547 * libio/oldiopopen.c: Likewise.
32548 * libio/oldstdfiles.c: Likewise.
32549 * libio/putc.c: Likewise.
32550 * libio/setbuf.c: Likewise.
32551 * libio/setlinebuf.c: Likewise.
32552 * libio/stdfiles.c: Likewise.
32553 * libio/strops.c: Likewise.
32554 * libio/vasprintf.c: Likewise.
32555 * libio/vscanf.c: Likewise.
32556 * libio/vsnprintf.c: Likewise.
32557 * libio/vswprintf.c: Likewise.
32558 * libio/wfiledoalloc.c: Likewise.
32559 * libio/wfileops.c: Likewise.
32560 * libio/wgenops.c: Likewise.
32561 * libio/wmemstream.c: Likewise.
32562 * libio/wstrops.c: Likewise.
32563 * libio/__fpurge.c: Likewise.
32564 * libio/__fsetlocking.c: Likewise.
32565 * assert/assert.c: Likewise.
32566 * debug/fgets_chk.c: Likewise.
32567 * debug/fgets_u_chk.c: Likewise.
32568 * debug/fread_chk.c: Likewise.
32569 * debug/fread_u_chk.c: Likewise.
32570 * debug/gets_chk.c: Likewise.
32571 * debug/obprintf_chk.c: Likewise.
32572 * debug/vasprintf_chk.c: Likewise.
32573 * debug/vdprintf_chk.c: Likewise.
32574 * debug/vsnprintf_chk.c: Likewise.
32575 * debug/vsprintf_chk.c: Likewise.
32576 * malloc/mtrace.c: Likewise.
32577 * misc/error.c: Likewise.
32578 * misc/syslog.c: Likewise.
32579 * stdio-common/asprintf.c: Likewise.
32580 * stdio-common/fxprintf.c: Likewise.
32581 * stdio-common/getw.c: Likewise.
32582 * stdio-common/isoc99_fscanf.c: Likewise.
32583 * stdio-common/isoc99_scanf.c: Likewise.
32584 * stdio-common/isoc99_vfscanf.c: Likewise.
32585 * stdio-common/isoc99_vscanf.c: Likewise.
32586 * stdio-common/isoc99_vsscanf.c: Likewise.
32587 * stdio-common/printf-prs.c: Likewise.
32588 * stdio-common/printf_fp.c: Likewise.
32589 * stdio-common/printf_fphex.c: Likewise.
32590 * stdio-common/printf_size.c: Likewise.
32591 * stdio-common/putw.c: Likewise.
32592 * stdio-common/scanf.c: Likewise.
32593 * stdio-common/sprintf.c: Likewise.
32594 * stdio-common/tmpfile.c: Likewise.
32595 * stdio-common/vfprintf.c: Likewise.
32596 * stdio-common/vfscanf.c: Likewise.
32597 * stdlib/strfmon_l.c: Likewise.
32598 * sunrpc/openchild.c: Likewise.
32599 * sunrpc/xdr_stdio.c: Likewise.
32600 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32601 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32603 2012-05-24 Roland McGrath <roland@hack.frob.com>
32605 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32607 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32608 in the third column, to generate for the shared library an IFUNC
32609 that uses _dl_vdso_vsym.
32610 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32611 * Makeconfig (object-suffixes-noshared): New variable.
32613 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32614 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32615 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32616 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32619 * include/sys/time.h (__gettimeofday): Remove macro.
32620 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32621 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32623 (__gettimeofday): Add libc_hidden_def.
32624 (gettimeofday): Add libc_hidden_weak.
32625 * sysdeps/mach/gettimeofday.c: Likewise.
32626 * sysdeps/posix/gettimeofday.c: Likewise.
32627 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32628 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32629 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32630 (__gettimeofday_internal): Remove strong_alias.
32631 (__gettimeofday): Add libc_hidden_def.
32632 (gettimeofday): Add libc_hidden_weak.
32633 * sysdeps/unix/syscalls.list (gettimeofday):
32634 Remove __gettimeofday_internal alias.
32636 2012-05-24 Daniel Jacobowitz <drow@false.org>
32637 H.J. Lu <hongjiu.lu@intel.com>
32640 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32641 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32642 (largebin_index_32_big): New.
32643 (largebin_index): Use it for 16-byte alignment.
32644 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32645 correction with front_misalign.
32647 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32675 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32676 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32678 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32682 * math/libm-test.inc (exp_test): Add test from bug 14036.
32683 (pow_test): Add test from bug 10846.
32685 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32687 (special_function): Do not include flags in test name.
32688 (parse_args): Likewise.
32689 * sysdeps/i386/fpu/libm-test-ulps: Update.
32690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32691 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32692 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32695 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32697 * math/libm-test.inc ("Philosophy"): Update comment about
32699 (UNDERFLOW_EXCEPTION): New macro.
32700 (UNDERFLOW_EXCEPTION_OK): Likewise.
32701 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32702 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32703 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32704 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32705 (INVALID_EXCEPTION_OK): Update value.
32706 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32707 (OVERFLOW_EXCEPTION_OK): Likewise.
32708 (IGNORE_ZERO_INF_SIGN): Likewise.
32709 (test_exceptions): Handle underflow exceptions.
32710 (acos_test): Update for underflow exception expectations.
32711 (cexp_test): Likewise.
32712 (clog_test): Likewise.
32713 (clog10_test): Likewise.
32714 (csqrt_test): Likewise.
32715 (ctan_test): Likewise.
32716 (ctanh_test): Likewise.
32717 (exp_test): Likewise.
32718 (exp10_test): Likewise.
32719 (exp2_test): Likewise.
32720 (expm1_test): Likewise.
32721 (fma_test): Likewise.
32722 (j0_test): Likewise.
32723 (jn_test): Likewise.
32724 (nexttoward_test): Likewise.
32725 (pow_test): Likewise.
32726 (scalbn_test): Likewise.
32727 (scalbln_test): Likewise.
32728 (tan_test): Likewise.
32729 (y1_test): Likewise.
32730 * sysdeps/i386/fpu/libm-test-ulps: Update.
32731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32733 2012-05-23 David S. Miller <davem@davemloft.net>
32735 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32736 (__libc_sigaction): Remove unused local variables.
32738 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32740 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32742 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32744 mktime: avoid signed integer overflow
32745 * time/mktime.c (__mktime_internal): Do not mishandle the case
32746 where diff == INT_MIN.
32748 mktime: simplify computation of average
32749 * time/mktime.c (ranged_convert): Use new time_t_avg function
32750 instead of rolling our own (probably-slower) code.
32752 mktime: do not assume signed right shift propagates sign bit
32753 * time/mktime.c (isdst_differ): New static function.
32754 (__mktime_internal): No need to normalize tm_isdst now.
32755 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32758 mktime: merge another wrapv change from gnulib
32759 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32760 from some compilers.
32762 mktime: remove incorrect attempt at unusual arithmetics
32763 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32764 The code didn't really work on such machines anyway.
32765 (TYPE_MINIMUM): Assume two's complement.
32766 (twos_complement_arithmetic): Verify that long_int and time_t
32767 are two's complement (or unsigned, in the latter case).
32769 mktime: check signed shifts on long_int and time_t, too
32770 * time/mktime.c (SHR): Check that shifts work as desired
32771 on the types long_int and time_t too, as SHR is used on
32774 mktime: do not assume 'long' is wide enough
32775 * time/mktime.c (verify): Move decl up.
32776 (long_int): New type.
32777 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32778 to remove assumption in the code that 'long' is wide enough to
32779 store year values. This assumption is not true on x32 and on
32780 some non-glibc platforms.
32782 mktime: merge wrapv change from gnulib
32783 * time/mktime.c (WRAPV): New macro.
32784 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32785 (guess_time_tm, __mktime_internal): Do not assume that signed
32786 integer overflow wraps around; modern compilers generate code
32787 where this assumption is no longer valid.
32789 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32791 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32792 Replace "jmp L(pseudo_end)" with "ret".
32793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32796 2012-05-23 Andreas Jaeger <aj@suse.de>
32798 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32799 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32801 2012-05-23 Andreas Jaeger <aj@suse.de>
32802 Maximilian Attems <max@stro.at>
32804 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32807 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32809 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32810 code so that pseudo_end is just ret and the stack pointer is
32811 correct also for static library in error case.
32813 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32815 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32816 move to syscalls.list.
32817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32822 * manual/install.texi (Running make install): Do not mention Linux
32823 kernel version for which pt_chown is not needed.
32824 (Linux): Do not mention problems with nscd with 2.0 kernels.
32825 * INSTALL: Regenerated.
32827 2012-05-23 Andreas Jaeger <aj@suse.de>
32829 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32830 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32832 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32833 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32834 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32835 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32836 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32837 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32838 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32839 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32840 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32841 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32842 * sysdeps/unix/sysv/linux/bits/in.h
32843 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32845 2012-05-22 Roland McGrath <roland@hack.frob.com>
32847 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32848 (PREPARE_VERSION): Just use assert instead, it will be elided
32849 under [NDEBUG] anyway.
32851 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32853 * sysdeps/unix/sysv/linux/Makefile: Include
32854 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32855 (sysdep_routines): Remove sysctl.
32856 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32857 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32858 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32859 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32860 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32862 2012-05-22 Andreas Jaeger <aj@suse.de>
32864 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32865 that pseudo_end is just ret and the stack pointer is correct also
32866 for static library in error case.
32868 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32871 * nss/nsswitch.c (defconfig_entries): New variable.
32872 (__nss_database_lookup): Don't leak defconfig entries.
32873 (nss_parse_service_list): Don't leak on error paths.
32874 (free_database_entries): New function.
32875 (free_defconfig): New function.
32876 (free_mem): Move common code to free_database_entries.
32878 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32880 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32882 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32884 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32885 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32888 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32889 (INTERNAL_SYSCALL_TYPES): Likewise.
32890 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32891 (LOAD_REGS_TYPES_[1-6]): Likewise.
32892 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32893 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32895 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32897 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32898 copysignl for GLIBC_2_0.
32899 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32900 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32902 logbl for GLIBC_2_0.
32903 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32904 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32906 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32909 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32911 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32914 * time/mktime.c: Update copyright years.
32916 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32918 mktime: merge comment-quoting-style change from gnulib
32919 * time/mktime.c: Quote 'like this' in comments.
32920 The GNU coding standards suggest that we no longer quote `like this',
32921 as "`" and "'" are typically rendered asymmetrically nowadays.
32922 The typical gnulib style is to quote 'like this' when quoting
32923 code, and "like this" when quoting English.
32925 * time/mktime.c (compile-command): Add "-I.".
32927 mktime: merge mktime-internal.h change from gnulib
32928 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32930 mktime: merge time_r change from gnulib
32931 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32933 mktime: merge DEBUG change from gnulib
32934 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32935 case system <time.h> has a #define.
32937 mktime: merge <sys/types.h> change from gnulib
32938 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32939 since <time.t> is now guaranteed to define time_t.
32941 mktime: merge HAVE_CONFIG_H change from gnulib
32942 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32944 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32949 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32951 (struct rusage): Use anonymous union to pad each field to
32954 2012-05-21 David S. Miller <davem@davemloft.net>
32956 * Makefules (o-iterator): Remove .s cases.
32957 (compile-command.s): Delete.
32958 (COMPILE.s): Delete.
32959 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32961 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32963 * configure.in (libc_cv_predef_stack_protector): Only consider
32964 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32965 * configure: Regenerated.
32967 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32970 New macro. Use R*LP on int and pointer.
32971 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32972 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32973 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32974 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32976 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32977 [__WORDSIZE_TIME64_COMPAT32] instead of
32978 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32979 (struct utmp): Likewise.
32980 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32981 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32983 (__WORDSIZE_TIME64_COMPAT32): This.
32984 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32985 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32986 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32987 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32988 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32989 (__WORDSIZE_TIME64_COMPAT32): New macro.
32991 2012-05-21 Andreas Jaeger <aj@suse.de>
32993 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32994 only if [SHARED]. Add prototype for __wcschr_ia32.
32996 2012-05-21 Roland McGrath <roland@hack.frob.com>
32998 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32999 of %rbp unmolested in the jmp_buf while mangling the low bits.
33000 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33001 unmolested high bits of %rbp while demangling the low bits.
33002 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33004 2012-05-21 Andreas Jaeger <aj@suse.de>
33006 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33007 * sunrpc/svc_simple.c: Use it for registerrpc.
33008 * sunrpc/xcrypt.c: Use it for passwd2des.
33010 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33012 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33014 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33015 Don't define if [__SYSCALL_WORDSIZE != 32].
33016 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33019 2012-05-21 Bruno Haible <bruno@clisp.org>
33020 Andreas Jaeger <aj@suse.de>
33022 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33023 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33024 inptr and inend for must_buffer_ch.
33025 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33026 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33027 * stdio-common/Makefile (tests): Remove bug15.
33028 (bug15-ENV): Remove macro.
33029 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33032 2012-05-19 Andreas Jaeger <aj@suse.de>
33033 Roland McGrath <roland@hack.frob.com>
33035 * manual/contrib.texi: Completely rewritten. It contains now an
33036 alphabetical list of contributors and their contributions.
33038 2012-05-21 Richard Henderson <rth@twiddle.net>
33040 * misc/getauxval.c (__getauxval): Use unsigned long int.
33041 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33042 (getauxval): Use unsigned long int.
33044 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33046 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33048 2012-05-21 Roland McGrath <roland@hack.frob.com>
33050 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33051 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33052 __alignof__ (long double).
33054 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33058 2012-05-20 Richard Henderson <rth@twiddle.net>
33060 * misc/getauxval.c: New file.
33061 * misc/sys/auxv.h: New file.
33062 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33063 (routines): Add getauxval.
33064 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33065 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33066 * elf/dl-sysdep.c (_dl_auxv): Remove.
33067 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33068 * elf/dl-support.c (_dl_auxv): New variable.
33069 (_dl_aux_init): Initialize it.
33070 * manual/startup.texi (Auxiliary Vector): New node.
33071 * sysdeps/generic/bits/hwcap.h: New file.
33072 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33073 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33074 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33075 * sysdeps/sparc/sysdep.h: ... here. Include it.
33076 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33077 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33083 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33089 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33093 2012-05-19 David S. Miller <davem@davemloft.net>
33095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33097 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33100 * math/s_ccosh.c: Include <float.h>
33101 (__ccosh): Avoid internal overflow calculating sinh and cosh
33102 values before multiplying by sin and cos values.
33103 * math/s_ccoshf.c: Likewise.
33104 * math/s_ccoshl.c: Likewise.
33105 * math/s_csin.c: Likewise.
33106 * math/s_csinf.c: Likewise.
33107 * math/s_csinl.c: Likewise.
33108 * math/s_csinh.c: Likewise.
33109 * math/s_csinhf.c: Likewise.
33110 * math/s_csinhl.c: Likewise.
33111 * math/libm-test.inc (ccos_test): Add more tests.
33112 (ccosh_test): Likewise.
33113 (csin_test): Likewise.
33114 (csinh_test): Likewise.
33115 * sysdeps/i386/fpu/libm-test-ulps: Update.
33116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33118 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33120 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33121 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33123 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33125 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33127 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33128 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33129 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33130 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33131 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33132 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33133 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33134 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33135 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33136 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33137 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33138 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33139 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33140 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33141 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33142 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33143 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33144 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33145 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33146 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33147 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33148 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33149 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33150 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33151 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33152 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33153 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33154 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33155 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33156 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33157 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33159 2012-05-18 Andreas Jaeger <aj@suse.de>
33161 * csu/.gitignore: Delete.
33163 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33165 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33166 (timex): Use __syscall_slong_t.
33168 2012-05-18 Andreas Jaeger <aj@suse.de>
33169 Carlos O'Donell <carlos_odonell@mentor.com>
33171 * manual/install.texi (Configuring and compiling): Update
33172 description about files modified in the source directory.
33173 * INSTALL: Regenerated.
33175 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33177 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33178 value. Use "or" to set return value to -1.
33179 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33180 negate return value.
33182 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33184 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33185 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33186 failure if the compiler has Graphite support disabled.
33187 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33189 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33190 (CFLAGS-memmove.c): Likewise.
33191 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33194 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33196 * sysdeps/x86_64/x32/_itoa.h: New file.
33198 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33199 getdents system call only if kernel and user dirents have the
33200 same d_ino and d_off.
33202 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33203 LLONG_MAX != LONG_MAX.
33204 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33205 (_fitoa_word): Likewise.
33207 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33209 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33210 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33211 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33213 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33214 include <bits/wordsize.h>. Check __x86_64__ instead of
33216 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33217 if __x86_64__ is defined. Use anonymous union on fpstate.
33219 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33222 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33224 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33225 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33226 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33227 Refer to _rtld_local_ro instead of _rtld_global_ro.
33228 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33230 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33232 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33234 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33235 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33236 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33238 * sysdeps/powerpc/powerpc32/dl-machine.c
33239 (__elf_machine_runtime_setup) [PROF]: Don't reference
33242 2012-05-18 Andreas Jaeger <aj@suse.de>
33244 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33245 function only available for GCCs before 3.4 since GCC 3.4
33246 introduced a builtin.
33248 (llrintf): Likewise.
33249 (llrint): Likewise.
33256 (nearbyint): Likewise.
33257 (nearbyintf): Likewise.
33261 (floorf): Likewise.
33263 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33265 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33266 on both fields and cast pointer to __syscall_ulong_t.
33268 * bits/types.h (__fsword_t): New type.
33269 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33270 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33271 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33272 (__FSWORD_T_TYPE): Likewise.
33273 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33274 (__FSWORD_T_TYPE): Likewise.
33275 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33276 (__FSWORD_T_TYPE): Likewise.
33277 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33278 (__FSWORD_T_TYPE): Likewise.
33279 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33280 __SWORD_TYPE with __fsword_t.
33281 (statfs64): Likewise.
33283 2012-05-17 David S. Miller <davem@davemloft.net>
33285 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33287 2012-05-17 Andreas Jaeger <aj@suse.de>
33289 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33292 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33294 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33296 2012-05-17 Andreas Jaeger <aj@suse.de>
33298 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33301 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33303 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33305 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33307 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33308 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33310 2012-05-17 Andreas Jaeger <aj@suse.de>
33311 Carlos O'Donell <carlos_odonell@mentor.com>
33314 * sysdeps/x86_64/multiarch/init-arch.h
33315 (bit_YMM_Usable): Rename to...
33316 (bit_AVX_Usable): ... this.
33317 (bit_FMA4_Usable): New macro.
33318 (bit_XMM_state): New macro.
33319 (bit_YMM_state): New macro.
33320 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33321 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33322 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33323 (CPUID_OSXSAVE): New macro.
33324 (CPUID_AVX): New macro.
33325 (CPUID_FMA4): New macro.
33326 (index_YMM_Usable): Rename to...
33327 (index_AVX_Usable): ... this.
33328 (HAS_AVX): Use HAS_ARCH_FEATURE.
33329 (HAS_FMA4): Likewise.
33330 (HAS_YMM_USABLE): Remove.
33331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33332 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33334 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33335 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33336 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33337 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33338 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33340 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33342 * math/libm-test.c: Support platforms without multiple rounding modes.
33343 * math/bug-nextafter.c: Support platforms without FP exceptions.
33344 * math/bug-nexttoward.c: Likewise.
33345 * math/test-fenv.c: Likewise.
33346 * math/test-misc.c: Likewise.
33347 * stdlib/bug-getcontext.c: Likewise.
33349 2012-05-17 Andreas Jaeger <aj@suse.de>
33351 * manual/examples/search.c (critter_cmp): Change signature to
33353 * manual/string.texi (Collation Functions): Likewise.
33355 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33357 * bits/types.h: Fold copyright years.
33358 * bits/typesizes.h: Likewise.
33359 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33361 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33362 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33363 * time/time.h: Likewise.
33365 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33368 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33369 in instead of returning them. Return void.
33370 (__libc_mallinfo): Accumulate over all arenas.
33371 (__malloc_stats): Adjust for change in int_mallinfo interface.
33373 2012-05-16 Roland McGrath <roland@hack.frob.com>
33376 * configure.in (NM): Add AC_CHECK_TOOL for it.
33377 (libc_extra_cflags): New substituted variable.
33378 Check for -fstack-protector being used implicitly.
33379 * configure: Regenerated.
33380 * config.make.in (config-extra-cflags): New variable,
33381 gets @libc_extra_cflags@.
33382 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33385 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33386 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33387 * configure: Regenerated.
33388 * config.make.in (CPPUNDEFS): New substituted variable.
33389 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33390 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33391 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33393 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33395 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33396 (mq_attr): Use __syscall_slong_t.
33398 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33400 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33401 Check __x86_64__ instead of __WORDSIZE.
33402 (_STAT_VER_LINUX): Likewise.
33403 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33404 __syscall_ulong_t and __syscall_slong_t.
33405 (stat64): Likewise.
33407 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33409 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33411 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33413 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33415 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33417 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33420 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33421 include <bits/wordsize.h>. Check __x86_64__ instead of
33423 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33425 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33427 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33428 include <bits/wordsize.h>. Check __x86_64__ instead of
33430 (user_regs_struct): Use "__extension__ unsigned long long"
33431 instead of "unsigned long" if __x86_64__ is defined.
33432 (user): Likewise. Pad after pointer field if __ILP32__ is
33435 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33437 * configure.in (makeinfo): Require version 4.5 or later. Allow
33439 * configure: Regenerated.
33440 * manual/install.texi (texinfo): Increase version requirement to
33442 * INSTALL: Regenerated.
33444 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33446 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33448 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33450 * sysdeps/x86_64/x32/ffs.c: New file.
33452 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33454 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33455 defined. Use __syscall_ulong_t.
33456 (shminfo): Use __syscall_ulong_t.
33457 (shm_info): Likewise.
33459 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33462 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33464 (msgqnum_t): Use __syscall_ulong_t.
33465 (msglen_t): Likewise.
33466 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33469 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33470 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33472 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33474 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33475 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33477 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33480 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33481 include <bits/wordsize.h>. Check __x86_64__ instead of
33484 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33485 "unsigned long long int" if __x86_64__ is defined.
33486 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33488 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33489 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33490 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33492 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33494 (GET_PC): Cast to uintptr_t first.
33495 (GET_FRAME): Likewise.
33496 (GET_STACK): Likewise.
33498 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33499 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33500 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33501 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33502 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33503 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33504 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33505 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33506 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33507 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33508 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33509 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33510 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33511 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33512 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33513 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33514 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33515 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33516 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33517 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33518 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33519 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33520 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33521 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33522 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33523 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33524 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33525 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33526 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33528 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33530 * Makerules (+depfiles): Also collect depfiles from .oS in
33532 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33533 .oS, $(libnldbl-routines)).
33535 * Makerules (native-compile-mkdep-flags): Define.
33536 * sunrpc/Makefile (extra-objs): Add $(addprefix
33537 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33538 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33539 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33540 calling $(make-target-directory).
33542 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33544 * bits/types.h (__snseconds_t): Removed.
33545 * time/time.h (struct timespec): Replace __snseconds_t with
33547 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33548 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33550 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33551 (__SNSECONDS_T_TYPE): Likewise.
33552 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33553 (__SNSECONDS_T_TYPE): Likewise.
33554 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33555 (__SNSECONDS_T_TYPE): Likewise.
33557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33559 * sysdeps/mach/hurd/bits/typesizes.h
33560 (__SYSCALL_SLONG_TYPE): New macro.
33561 (__SYSCALL_ULONG_TYPE): Likewise.
33563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33565 * bits/types.h (__syscall_slong_t): New type.
33566 (__syscall_ulong_t): Likewise.
33568 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33569 (__SYSCALL_ULONG_TYPE): Likewise.
33570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33571 (__SYSCALL_SLONG_TYPE): Likewise.
33572 (__SYSCALL_ULONG_TYPE): Likewise.
33573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33574 (__SYSCALL_SLONG_TYPE): Likewise.
33575 (__SYSCALL_ULONG_TYPE): Likewise.
33576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33577 (__SYSCALL_SLONG_TYPE): Likewise.
33578 (__SYSCALL_ULONG_TYPE): Likewise.
33580 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33582 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33583 Add sigaltstack-offsets.sym.
33584 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33585 <sigaltstack-offsets.h>.
33586 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33587 longjmp_msg pointer.
33588 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33589 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33591 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33593 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33595 * elf/stackguard-macros.h: Remove file.
33596 * sysdeps/generic/stackguard-macros.h: New file.
33597 * sysdeps/i386/stackguard-macros.h: Likewise.
33598 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33599 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33600 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33601 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33602 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33603 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33604 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33605 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33606 <elf/stackguard-macros.h>.
33609 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33610 __aligned__ in attribute.
33611 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33612 (gregset_t): Likewise.
33614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33616 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33617 * sysdeps/x86_64/64/Implies-after: Here. New file.
33618 * sysdeps/x86_64/x32/Implies-after: New file.
33620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33622 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33623 and access return value for _dl_profile_fixup. Use R10_LP to
33626 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33628 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33632 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33633 * sysdeps/x86_64/x32/sysdep.h: New file.
33635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33637 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33638 * sysdeps/x86_64/setjmp.S: Likewise.
33640 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33642 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33643 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33644 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33645 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33646 remove unused global constant.
33648 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33650 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33651 include of <not-cancel.h>.
33653 2012-05-15 Roland McGrath <roland@hack.frob.com>
33655 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33657 2012-05-15 Jeff Law <law@redhat.com>
33658 Andreas Jaeger <aj@suse.de>
33661 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33663 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33664 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33665 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33666 code changing __hst_map_handle.map.
33668 2012-05-15 Roland McGrath <roland@hack.frob.com>
33670 * configure.in (sysnames): Look for Implies-before and Implies-after
33672 * configure: Regenerated.
33674 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33676 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33677 8-byte data alignment with LP_SIZE alignment.
33679 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33681 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33684 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33686 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33688 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33690 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33691 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33692 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33694 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33696 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33698 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33699 (stackinfo_sub_sp): Likewise.
33701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33703 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33706 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33708 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33711 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33713 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33718 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33722 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33723 into R11_LP and load __x86_64_shared_cache_size_half into
33726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33728 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33731 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33737 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33739 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33740 powerpc32/power7/fpu/s_logb.c via #include.
33741 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33742 powerpc32/power7/fpu/s_logbf.c via #include.
33743 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33744 powerpc32/power7/fpu/s_logbl.c via #include.
33746 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33748 * README.libm: Remove file.
33750 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33752 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33753 count for x32. Use R*_LP and omit operand-size suffix.
33755 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33757 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33758 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33759 * sysdeps/x86_64/x32/shlib-versions: New file.
33761 2012-05-14 Roland McGrath <roland@hack.frob.com>
33763 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33764 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33765 Use _dl_fatal_printf instead.
33767 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33769 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33770 set if not set by the user. Do not allow for being unset.
33771 * sysdeps/unix/sysv/linux/configure: Regenerated.
33773 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33775 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33776 the `q' suffix from lea and replace .quad with ASM_ADDR.
33778 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33781 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33783 (PTR_DEMANGLE): Likewise.
33785 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33787 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33789 (ASM_ADDR): Likewise.
33790 (RAX_LP): Likewise.
33791 (RBP_LP): Likewise.
33792 (RBX_LP): Likewise.
33793 (RCX_LP): Likewise.
33794 (RDI_LP): Likewise.
33795 (RSI_LP): Likewise.
33796 (RSP_LP): Likewise.
33799 (R10_LP): Likewise.
33800 (R10_LP): Likewise.
33801 (R11_LP): Likewise.
33802 (R12_LP): Likewise.
33803 (R13_LP): Likewise.
33804 (R14_LP): Likewise.
33805 (R15_LP): Likewise.
33807 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33809 * sysdeps/x86_64/x32/dl-machine.h: New file.
33811 2012-05-14 Andreas Jaeger <aj@suse.de>
33813 * manual/Makefile (subdir): Remove export of subdir.
33814 (all): Remove target.
33815 (.PHONY): Remove all from list.
33816 (mkinstalldirs): Remove.
33817 (.PHONY): Remove installdirs from list.
33818 ($(inst_infodir)/libc.info): Use make-target-directory.
33819 (installdirs): Remove.
33820 (subdir_%): Remove.
33821 (glibc-targets): Remove.
33824 ($(objpfx)stubs ../po/manual.pot): Remove.
33825 ($(objpfx)stamp%): Remove.
33826 (make-target-directory): Remove.
33827 (subdir_install): Remove.
33828 (routines): Remove.
33835 * manual/.gitignore: Remove, it's not needed anymore.
33836 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33838 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33840 (texis): Renamed to $(objpfx)texis.
33841 (texis-path): New, contains path to generated files.
33842 (chapters.%): Use texis-path for complete path, add extra argument
33844 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33845 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33846 (summary,texi, stamp-summary): Use complete path of
33847 files. Generate files in build dir.
33848 (dir-add.texi): Build in build dir.
33849 (libm-err.texi,stamp-libm-err): Likewise.
33850 (version.texi, stamp-version): Likewise.
33851 (.%c.texi): Likewise.
33852 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33853 (mostlyclean): Remove target.
33854 (realclean): Remove target.
33855 (generated): Add new variable with contents from mostlyclean and
33856 realclean, remove entries duplicated in common-mostlyclean, add
33857 stamp-libm-err and stamp-version.
33858 (generated-dirs): Add libc directory.
33859 ($(inst_infodir)/libc.info): Install files from build dir.
33861 * manual/install.texi (Configuring and compiling): Adjust since
33862 the info files are not part of the tar ball anymore.
33864 2012-05-14 Andreas Jaeger <aj@suse.de>
33866 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33869 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33872 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33873 to 2.2.0 where earlier.
33874 * sysdeps/unix/sysv/linux/configure: Regenerated.
33875 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33876 Remove conditional code.
33877 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33878 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33879 Remove conditional code.
33880 [!__NR_lchown]: Likewise.
33881 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33882 [__NR_lchown]: Likewise.
33883 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33884 comment referencing __ASSUME_LCHOWN_SYSCALL.
33885 * sysdeps/unix/sysv/linux/i386/sigaction.c
33886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33888 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33889 Remove conditional code.
33890 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33891 (__protocol_available): Remove #if 0 code.
33892 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33894 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33895 * sysdeps/unix/sysv/linux/kernel-features.h
33896 (__ASSUME_GETCWD_SYSCALL): Don't define.
33897 (__ASSUME_REALTIME_SIGNALS): Likewise.
33898 (__ASSUME_PREAD_SYSCALL): Likewise.
33899 (__ASSUME_PWRITE_SYSCALL): Likewise.
33900 (__ASSUME_POLL_SYSCALL): Likewise.
33901 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33902 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33904 (__ASSUME_SIOCGIFNAME): Don't define.
33905 (__ASSUME_MSG_NOSIGNAL): Likewise.
33906 (__ASSUME_SENDFILE): Define unconditionally.
33907 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33908 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33910 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33911 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33912 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33913 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33914 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33915 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33916 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33918 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33919 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33921 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33922 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33924 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33927 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33930 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33931 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33933 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33936 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33937 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33939 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33941 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33942 Remove conditional code.
33943 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33944 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33945 Remove conditional code.
33946 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33947 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33948 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33949 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33950 Remove conditional code.
33951 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33952 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33953 Remove conditional code.
33954 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33955 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33956 Remove conditional code.
33957 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33958 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33959 Remove conditional code.
33960 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33961 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33962 Remove conditional code.
33963 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33964 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33965 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33966 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33967 * sysdeps/unix/sysv/linux/sigaction.c
33968 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33969 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33970 * sysdeps/unix/sysv/linux/sigpending.c
33971 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33972 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33973 * sysdeps/unix/sysv/linux/sigprocmask.c
33974 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33975 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33976 * sysdeps/unix/sysv/linux/sigsuspend.c
33977 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33978 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33979 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33980 (__libc_missing_rt_sigs): Remove.
33981 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33982 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33983 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33984 Remove conditional code.
33985 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33986 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33988 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33989 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33990 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33991 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33993 2012-05-14 Andreas Jaeger <aj@suse.de>
33995 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33996 it's not used in glibc.
33997 (__coshm1): Likewise.
33998 (__acosh1p): Likewise.
34001 * manual/string.texi (Copying and Concatenation): Add missing
34002 variable in concat example.
34003 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34005 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34008 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34009 __builtin_clzl with __builtin_clzll.
34011 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34014 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34017 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34019 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34020 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34021 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34022 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34024 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34026 * NEWS: Update ia64 info.
34028 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34030 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34033 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34035 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34036 * sysdeps/unix/syscalls.list (dup3): Likewise.
34037 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34038 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34040 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34042 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34043 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34045 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34047 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34049 (TLS_IE): Use mov/add instead of movq/addq to load thread
34051 (TLS_GD_PREFIX): New.
34054 2012-05-11 David S. Miller <davem@davemloft.net>
34056 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34057 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34058 (_FPU_SETCW): Likewise.
34060 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34062 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34063 is 32-byte aligned.
34065 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34068 * iconvdata/gb18030.c: Update tables.
34069 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34070 characters specially.
34071 (BODY for TO_LOOP): Add encoding of missing ranges.
34073 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34076 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34077 * sysdeps/mach/hurd/dup3.c: Likewise.
34078 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34079 * sysdeps/powerpc/memmove.c:: Likewise.
34081 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34083 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34084 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34086 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34088 * elf/elf.h (R_X86_64_RELATIVE64): New.
34089 (R_X86_64_NUM): Updated.
34090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34091 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34092 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34093 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34094 tst-quad1pie tst-quad2pie
34095 (modules-names): Add tst-quadmod1 tst-quadmod2.
34096 ($(objpfx)tst-quad1): New dependency.
34097 ($(objpfx)tst-quad2): Likewise.
34098 ($(objpfx)tst-quad1pie): Likewise.
34099 ($(objpfx)tst-quad2pie): Likewise.
34100 * sysdeps/x86_64/tst-quad1.c: New file.
34101 * sysdeps/x86_64/tst-quad1pie.c: New file.
34102 * sysdeps/x86_64/tst-quad2.c: Likewise.
34103 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34104 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34105 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34106 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34107 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34109 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34111 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34112 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34113 * streams/stropts.h (t_scalar_t): Define type.
34115 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34116 (_PATH_PRESERVE): Set to "/var/lib".
34117 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34119 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34122 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34123 if __dir_mkfile succeeded.
34125 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34126 checking for _hurd_dtablesize. Unlock it right after having
34127 finished _hurd_dtable allocation.
34129 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34131 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34132 * sysdeps/mach/hurd/configure: Regenerated.
34133 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34134 special-casing to...
34135 * sysdeps/gnu/configure.in: ... this new file.
34136 * sysdeps/unix/sysv/linux/configure: Regenerated.
34137 * sysdeps/gnu/configure: New generated file.
34139 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34140 for Linux: use nsec instead of usec, as well as:
34141 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34142 members of type struct timespec.
34143 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34145 (struct stat64): Likewise.
34146 (_STATBUF_ST_NSEC): New macro.
34147 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34149 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34150 __strtoul_internal rather than strtoul.
34152 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34154 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34157 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34159 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34160 which preserves existing values.
34161 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34163 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34165 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34166 TIMEOUT values. Return EINVAL for NFDS values either negative or
34167 greater than FD_SETSIZE.
34169 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34171 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34172 allocated, call __vm_protect to finish enabling the existing space, and
34173 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34174 allocate the remainder.
34176 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34178 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34179 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34181 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34183 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34184 sysdeps/mach/hurd/readlink.c.
34186 * posix/tst-sysconf.c (posix_options): Only use
34187 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34188 _POSIX_SYNCHRONIZED_IO when they are defined
34189 * sysdeps/mach/hurd/bits/posix_opt.h:
34190 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34191 (_XOPEN_REALTIME): Undefine macro.
34192 (_XOPEN_REALTIME_THREADS): Undefine macro.
34193 (_XOPEN_SHM): Undefine macro.
34194 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34196 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34198 (_POSIX_ASYNC_IO): Undefine macro.
34199 (_POSIX_PRIORITIZED_IO): Undefine macro.
34200 (_POSIX_SPIN_LOCKS): Define macro to -1.
34202 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34203 SA_NODEFER, SA_RESETHAND.
34204 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34205 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34208 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34210 * elf/Makefile (pldd-modules): Define unconditionally.
34212 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34214 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34216 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34218 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34219 Return ENOENT when name is empty.
34220 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34222 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34224 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34226 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34228 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34230 Fix mlock in all cases except non-readable pages.
34231 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34232 instead of VM_PROT_ALL as parameter to __vm_wire function.
34234 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34235 (__mkdir): When path is `/', just fail with EEXIST.
34236 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34238 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34240 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34241 <sys/uio.h> (for writev).
34242 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34243 and <sys/param.h> (for MIN).
34245 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34247 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34248 REQUESTED_TIME. Properly set the remaining time and return EINTR
34251 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34253 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34254 Depend on against $(link-rpcuserlibs).
34256 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34258 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34259 (__libc_stack_end): Do not use attribute_relro.
34260 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34261 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34262 to libthread-provided value.
34263 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34266 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34269 * bits/libc-lock.h (__libc_once_get): New macro.
34270 * sysdeps/mach/bits/libc-lock.h: Likewise.
34271 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34272 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34273 instead of using implementation details.
34275 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34276 * libio/freopen.c: Likewise.
34277 * libio/freopen64.c: Likewise.
34278 * misc/syslog.c: Likewise.
34279 * nscd/connections.c: Likewise.
34280 * nscd/netgroupcache.c: Likewise.
34281 * sysdeps/posix/getcwd.c: Likewise.
34283 2012-05-10 Roland McGrath <roland@hack.frob.com>
34285 * math/w_ilogbf.c: Add #include <limits.h>.
34287 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34289 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34290 path instead of returning without unlocking.
34292 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34293 immediate-write ioctls.
34294 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34296 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34298 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34299 __builtin_frame_address instead of making assumptions about the
34300 location of the return address relative to DATA. Force early load of
34301 the return address.
34302 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34303 __builtin_frame_address.
34306 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34307 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34308 implement dup3 and do some further code clean-ups.
34309 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34310 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34312 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34314 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34316 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34317 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34318 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34319 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34320 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34323 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34324 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34325 when handler == SIG_ERR, not when handler != SIG_ERR.
34327 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34329 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34330 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34333 accept4 for GNU Hurd.
34334 * include/sys/socket.h (__libc_accept4): New prototype.
34335 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34336 to implement __libc_accept4.
34337 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34339 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34341 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34342 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34343 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34344 signal-defines.sym.
34346 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34348 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34350 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34352 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34353 assertion on O_CLOEXEC flag.
34354 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34355 * hurd/intern-fd.c: Likewise.
34356 * hurd/port2fd.c: Likewise.
34358 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34361 * bits/in.h (IPV6_PKTINFO): Define new macro.
34362 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34364 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34369 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34370 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34371 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34372 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34373 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34374 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34375 * math/libm-test.inc (logb_test) : Additional logb tests.
34377 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34378 Andreas Jaeger <aj@suse.de>
34380 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34381 * configure: Regenerated.
34382 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34383 * config.make.in (link-obsolete-rpc): New substituted variable.
34384 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34385 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34386 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34387 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34388 so that libc.a contains the symbols.
34389 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34390 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34391 * sunrpc/auth_none.c: Likewise.
34392 * sunrpc/auth_unix.c: Likewise.
34393 * sunrpc/authdes_prot.c: Likewise.
34394 * sunrpc/authuxprot.c: Likewise.
34395 * sunrpc/clnt_gen.c: Likewise.
34396 * sunrpc/clnt_perr.c: Likewise.
34397 * sunrpc/clnt_raw.c: Likewise.
34398 * sunrpc/clnt_simp.c: Likewise.
34399 * sunrpc/clnt_tcp.c: Likewise.
34400 * sunrpc/clnt_udp.c: Likewise.
34401 * sunrpc/clnt_unix.c: Likewise.
34402 * sunrpc/des_crypt.c: Likewise.
34403 * sunrpc/des_soft.c: Likewise.
34404 * sunrpc/get_myaddr.c: Likewise.
34405 * sunrpc/key_call.c: Likewise.
34406 * sunrpc/key_prot.c: Likewise.
34407 * sunrpc/netname.c: Likewise.
34408 * sunrpc/pm_getmaps.c: Likewise.
34409 * sunrpc/pm_getport.c: Likewise.
34410 * sunrpc/pmap_clnt.c: Likewise.
34411 * sunrpc/pmap_prot.c: Likewise.
34412 * sunrpc/pmap_prot2.c: Likewise.
34413 * sunrpc/pmap_rmt.c: Likewise.
34414 * sunrpc/publickey.c: Likewise.
34415 * sunrpc/rpc_cmsg.c: Likewise.
34416 * sunrpc/rpc_common.c: Likewise.
34417 * sunrpc/rpc_dtable.c: Likewise.
34418 * sunrpc/rpc_prot.c: Likewise.
34419 * sunrpc/rpc_thread.c: Likewise.
34420 * sunrpc/rtime.c: Likewise.
34421 * sunrpc/svc.c: Likewise.
34422 * sunrpc/svc_auth.c: Likewise.
34423 * sunrpc/svc_raw.c: Likewise.
34424 * sunrpc/svc_run.c: Likewise.
34425 * sunrpc/svc_tcp.c: Likewise.
34426 * sunrpc/svc_udp.c: Likewise.
34427 * sunrpc/svc_unix.c: Likewise.
34428 * sunrpc/svcauth_des.c: Likewise.
34429 * sunrpc/xcrypt.c: Likewise.
34430 * sunrpc/xdr.c: Likewise.
34431 * sunrpc/xdr_array.c: Likewise.
34432 * sunrpc/xdr_float.c: Likewise.
34433 * sunrpc/xdr_intXX_t.c: Likewise.
34434 * sunrpc/xdr_mem.c: Likewise.
34435 * sunrpc/xdr_rec.c: Likewise.
34436 * sunrpc/xdr_ref.c: Likewise.
34437 * sunrpc/xdr_sizeof.c: Likewise.
34438 * sunrpc/xdr_stdio.c: Likewise.
34440 2012-05-10 Roland McGrath <roland@hack.frob.com>
34442 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34443 change. Update copyright years.
34445 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34447 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34449 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34450 Joseph Myers <joseph@codesourcery.com>
34451 Paul Pluzhnikov <ppluzhnikov@google.com>
34454 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34456 [cross-compiling] (extra-libs): Likewise.
34457 [cross-compiling] (extra-libs-others): Likewise.
34458 [cross-compiling] (librpcsvc-routines): Likewise.
34459 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34460 [cross-compiling] (omit-deps): Likewise.
34461 (sunrpc-CPPFLAGS): New variable.
34462 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34463 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34464 (cross-rpcgen-objs): New variable.
34465 (extra-objs): Append $(cross-rpcgen-objs).
34466 ($(cross-rpcgen-objs)): New rule.
34467 ($(objpfx)cross-rpcgen): Likewise.
34468 (rpcgen-cmd): Define to use $(built-program-file). Expand
34470 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34471 ($(objpfx)x%.stmp): Likewise.
34472 * sunrpc/proto.h [IS_IN_build] (_): Define.
34473 [IS_IN_build] (_libc_intl_domainname): Likewise.
34475 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34478 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34479 and R_X86_64_TPOFF64.
34481 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34483 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34484 sysdeps/unix/sysv/syscalls.list.
34487 * sysdeps/unix/sysv/syscalls.list: Remove file.
34489 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34492 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34493 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34494 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34495 (__LC_IDENTIFICATION): Make these macros useful in #if
34496 expressions, as required by C99.
34498 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34500 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34501 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34504 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34506 * stdlib/longlong.h: Updated from GCC.
34508 2012-05-09 Andreas Jaeger <aj@suse.de>
34510 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34511 default is first entry.
34512 (run_mode): Set type.
34513 (main): Remove informal message about syslog.
34514 (options): Fix typo.
34517 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34520 (llrintf): Likewise.
34521 (llrint): Likewise.
34524 (nearbyint): Likewise.
34525 (nearbyintf): Likewise.
34527 2012-05-09 Andreas Jaeger <aj@suse.de>
34528 Pedro Alves <palves@redhat.com>
34530 * nscd/nscd.c (run_mode): Use enum.
34531 (main): Cleanup coding style issue.
34533 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34534 Andreas Jaeger <aj@suse.de>
34536 * nscd/nscd.c (go_background): Replaced with...
34537 (run_mode): ... this.
34538 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34539 (options): Add -F --foreground.
34540 (main): Implement it.
34541 (parse_opt): Parse it.
34543 2012-05-09 Andreas Jaeger <aj@suse.de>
34546 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34547 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34548 -Wconversion warning.
34549 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34552 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34554 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34556 (LC_ALL): Use macro-int-constant.
34557 (LC_COLLATE): Likewise.
34558 (LC_CTYPE): Likewise.
34559 (LC_MESSAGES): Likewise.
34560 (LC_MONETARY): Likewise.
34561 (LC_NUMERIC): Likewise.
34562 (LC_TIME): Likewise.
34563 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34564 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34565 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34566 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34568 [C99-based standards] (float_t): Expect type.
34569 [C99-based standards] (double_t): Expect type.
34570 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34572 [C99-based standards] (HUGE_VALL): Likewise.
34573 [C99-based standards] (INFINITY): Likewise.
34574 [C99-based standards] (NAN): Likewise.
34575 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34576 [C99-based standards] (FP_NAN): Likewise.
34577 [C99-based standards] (FP_NORMAL): Likewise.
34578 [C99-based standards] (FP_SUBNORMAL): Likewise.
34579 [C99-based standards] (FP_ZERO): Likewise.
34580 [C99-based standards] (FP_FAST_FMA): Use
34581 optional-macro-int-constant. Specify type. Require == 1.
34582 [C99-based standards] (FP_FAST_FMAF): Likewise.
34583 [C99-based standards] (FP_FAST_FMAL): Likewise.
34584 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34585 [C99-based standards] (FP_ILOGBNAN): Likewise.
34586 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34588 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34589 [C99-based standards] (math_errhandling): Specify type.
34590 [ISO99 || ISO11] (signgam): Do not allow.
34591 [non-C99-based standards] (copysignf): Do not allow.
34592 [non-C99-based standards] (exp2f): Likewise.
34593 [non-C99-based standards] (log2f): Likewise.
34594 [non-C99-based standards] (modff): Allow.
34595 [non-C99-based standards] (erff): Do not allow.
34596 [non-C99-based standards] (erfcf): Likewise.
34597 [non-C99-based standards] (gammaf): Likewise.
34598 [non-C99-based standards] (hypotf): Likewise.
34599 [non-C99-based standards] (j0f): Likewise.
34600 [non-C99-based standards] (j1f): Likewise.
34601 [non-C99-based standards] (jnf): Likewise.
34602 [non-C99-based standards] (lgammaf): Likewise.
34603 [non-C99-based standards] (tgammaf): Likewise.
34604 [non-C99-based standards] (y0f): Likewise.
34605 [non-C99-based standards] (y1f): Likewise.
34606 [non-C99-based standards] (ynf): Likewise.
34607 [non-C99-based standards] (isnanf): Likewise.
34608 [non-C99-based standards] (acoshf): Likewise.
34609 [non-C99-based standards] (asinhf): Likewise.
34610 [non-C99-based standards] (atanhf): Likewise.
34611 [non-C99-based standards] (cbrtf): Likewise.
34612 [non-C99-based standards] (expm1f): Likewise.
34613 [non-C99-based standards] (ilogbf): Likewise.
34614 [non-C99-based standards] (log1pf): Likewise.
34615 [non-C99-based standards] (logbf): Likewise.
34616 [non-C99-based standards] (nextafterf): Likewise.
34617 [non-C99-based standards] (remainderf): Likewise.
34618 [non-C99-based standards] (rintf): Likewise.
34619 [non-C99-based standards] (scalbf): Likewise.
34620 [non-C99-based standards] (copysignl): Likewise.
34621 [non-C99-based standards] (exp2l): Likewise.
34622 [non-C99-based standards] (log2l): Likewise.
34623 [non-C99-based standards] (modfl): Allow.
34624 [non-C99-based standards] (erfl): Do not allow.
34625 [non-C99-based standards] (erfcl): Likewise.
34626 [non-C99-based standards] (gammal): Likewise.
34627 [non-C99-based standards] (hypotl): Likewise.
34628 [non-C99-based standards] (j0l): Likewise.
34629 [non-C99-based standards] (j1l): Likewise.
34630 [non-C99-based standards] (jnl): Likewise.
34631 [non-C99-based standards] (lgammal): Likewise.
34632 [non-C99-based standards] (tgammal): Likewise.
34633 [non-C99-based standards] (y0l): Likewise.
34634 [non-C99-based standards] (y1l): Likewise.
34635 [non-C99-based standards] (ynl): Likewise.
34636 [non-C99-based standards] (isnanl): Likewise.
34637 [non-C99-based standards] (acoshl): Likewise.
34638 [non-C99-based standards] (asinhl): Likewise.
34639 [non-C99-based standards] (atanhl): Likewise.
34640 [non-C99-based standards] (cbrtl): Likewise.
34641 [non-C99-based standards] (expm1l): Likewise.
34642 [non-C99-based standards] (ilogbl): Likewise.
34643 [non-C99-based standards] (log1pl): Likewise.
34644 [non-C99-based standards] (logbl): Likewise.
34645 [non-C99-based standards] (nextafterl): Likewise.
34646 [non-C99-based standards] (remainderl): Likewise.
34647 [non-C99-based standards] (rintl): Likewise.
34648 [non-C99-based standards] (scalbl): Likewise.
34649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34650 [non-C99-based standards] (FP_*): Do not allow.
34651 [C99-based standards] (FP_*): Change to
34652 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34653 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34655 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34656 (SIG_ERR): Likewise.
34657 [X/Open-based standards] (SIG_HOLD): Likewise.
34658 (SIG_IGN): Likewise.
34659 (SIGABRT): Use macro-int-constant. Specify type. Require
34661 (SIGFPE): Likewise.
34662 (SIGILL): Likewise.
34663 (SIGINT): Likewise.
34664 (SIGSEGV): Likewise.
34665 (SIGTER): Likewise.
34666 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34667 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34668 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34669 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34670 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34671 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34672 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34673 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34674 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34675 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34676 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34677 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34678 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34679 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34680 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34681 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34682 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34683 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34684 [X/Open-based standards] (SIGTRAP): Likewise.
34685 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34686 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34687 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34688 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34689 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34692 2012-05-08 Ian Wienand <ianw@vmware.com>
34695 * time/tzset.c (__tzset_parse_tz): Update default rules for
34696 daylight time changes in the Energy Policy Act of 2005.
34698 2012-05-09 Andreas Jaeger <aj@suse.de>
34701 * elf/ldconfig.c (parse_conf): Change string to make clear that
34702 ldconfig only issued a warning if ld.so.conf does not exist.
34704 2012-05-08 David S. Miller <davem@davemloft.net>
34706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34707 movxtod instead of popping the value on the stack.
34709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34711 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34713 * config.h.in: Add HAVE_ARM_PCS_VFP.
34715 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34718 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34719 checking but the checks are disabled for any reason.
34721 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34723 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34724 and ELF64_R_TYPE with ELFW(R_TYPE).
34726 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34728 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34729 (ulimit): Likewise.
34731 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34732 (settimeofday): Likewise.
34734 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34736 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34737 a struct th_u2 inside the union, and move tu_block/tu_code into
34738 a new th_u3 union of tu_block/tu_code inside of that. Move
34739 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34740 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34741 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34742 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34743 (th_stuff): Change to th_u1.tu_stuff.
34745 (th_msg): Change to th_u1.th_u2.tu_data.
34747 2012-05-07 David S. Miller <davem@davemloft.net>
34749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34752 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34753 (SETUP_PIC_REG): Use it.
34754 (SETUP_PIC_REG_LEAF): Use it.
34756 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34760 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34762 (EXPL_FINITE): Likewise.
34763 (FLDLOG): Likewise.
34764 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34765 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34767 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34769 (EXPL_FINITE): Likewise.
34770 (FLDLOG): Likewise.
34771 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34772 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34774 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34775 test of -max_value argument for long double.
34776 * sysdeps/i386/fpu/libm-test-ulps: Update.
34777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34779 2012-05-06 David S. Miller <davem@davemloft.net>
34781 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34782 quad soft-float symbols whose references which are compiler
34784 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34786 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34790 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34792 (EXPL_FINITE): Likewise.
34793 (FLDLOG): Likewise.
34796 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34797 Adjust comments for base varying.
34798 (__expl_finite): Change alias to EXPL_FINITE.
34799 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34801 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34802 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34803 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34804 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34805 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34807 (EXPL_FINITE): Likewise.
34808 (FLDLOG): Likewise.
34811 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34812 Adjust comments for base varying.
34813 (__expl_finite): Change alias to EXPL_FINITE.
34814 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34819 * math/libm-test.inc (check_float_internal): Correct ulp
34820 calculation for subnormal expected results.
34822 2012-05-06 Andreas Jaeger <aj@suse.de>
34824 * Makeconfig (+math-flags): New, set to -frounding-math.
34825 (+cflags): Add +math-flags so that all of glibc gets compiled with
34828 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34830 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34832 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34838 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34839 (__ieee754_expl): Allow for and saturate large arguments.
34840 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34841 (u_threshold): Likewise.
34842 (__exp): Call __ieee754_exp before checking for overflow and
34844 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34845 (u_threshold): Likewise.
34846 (__expf): Call __ieee754_expf before checking for overflow and
34848 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34849 (u_threshold): Likewise.
34850 (__expl): Call __ieee754_expl before checking for overflow and
34852 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34853 (__ieee754_expl): Allow for and saturate large arguments.
34854 * math/libm-test.inc (exp_test): Add another test. Do not allow
34855 missing overflow exception on overflow.
34856 (expm1_test): Do not allow missing overflow exception on overflow.
34858 * sysdeps/i386/fpu/e_expl.c: Move to ...
34859 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34860 rather than using inline asm.
34861 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34862 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34863 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34865 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34868 (signal): Likewise.
34872 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34874 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34875 sysdeps/unix/common/syscalls.list.
34876 (fchmod): Likewise.
34877 (fchown): Likewise.
34878 (ftruncate): Likewise.
34879 (getrusage): Likewise.
34880 (gettimeofday): Likewise.
34881 (setpgid): Likewise.
34882 (setregid): Likewise.
34883 (setreuid): Likewise.
34884 (sigaction): Likewise.
34885 (truncate): Likewise.
34886 (vhangup): Likewise.
34887 * sysdeps/unix/common/syscalls.list: Remove file.
34888 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34889 * sysdeps/unix/sysv/linux/Implies: Likewise.
34891 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34893 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34895 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34899 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34902 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34905 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34908 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34911 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34914 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34917 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34921 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34925 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34928 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34932 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34936 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34938 * sysdeps/unix/common/bits/dirent.h: Remove file.
34939 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34941 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34942 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34943 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34944 * sysdeps/unix/bsd/isatty.c: Likewise.
34945 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34946 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34947 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34949 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34952 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34953 long double comparison inaccuracies.
34954 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34957 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34959 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34960 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34962 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34965 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34966 nonzero digits before rounding a hex value.
34967 * stdlib/tst-strtod.c (tests): Add another test.
34969 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34971 * sysdeps/s390/fpu/libm-test-ulps: Update.
34973 2012-05-03 Andreas Jaeger <aj@suse.de>
34975 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34976 does not get optimized out.
34977 (malloc_opt_barrier): New.
34979 2012-05-03 Andreas Jaeger <aj@suse.de>
34980 Roland McGrath <roland@hack.frob.com>
34982 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34983 intermediate file deletion.
34984 (generated): Add .symlist files.
34986 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34989 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34990 Redirect under this condition.
34991 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34992 [__USE_GNU] (__dprintf_chk): Not under this condition.
34993 [__USE_GNU] (__vdprintf_chk): Likewise.
34994 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34995 under this condition.
34996 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34997 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34998 [__USE_XOPEN2K8] (vdprintf): Likewise.
34999 [__USE_GNU] (__dprintf_chk): Not under this condition.
35000 [__USE_GNU] (__vdprintf_chk): Likewise.
35001 [__USE_GNU] (dprintf): Likewise.
35002 [__USE_GNU] (vdprintf): Likewise.
35004 2012-05-03 Roland McGrath <roland@hack.frob.com>
35006 * elf/Makefile (common-generated): Set this instead of generated for
35007 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35008 $(all-built-dso)-derived lists.
35010 2012-05-03 Andreas Jaeger <aj@suse.de>
35012 * sysdeps/i386/fpu/libm-test-ulps: Update.
35015 * FAQ.in: Likewise.
35016 * scripts/gen-FAQ.pl: Likewise.
35017 * manual/install.texi (Installation): Point to online location of
35019 * Makefile (files-for-dist): Remove FAQ.
35022 2012-05-02 Allan McRae <allan@archlinux.org>
35024 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35025 (LDFLAGS-reldepmod5.so): Likewise.
35026 (LDFLAGS-reldep6mod1.so): Likewise.
35027 (LDFLAGS-reldep6mod4.so): Likewise.
35028 (LDFLAGS-reldep8mod3.so): Likewise.
35029 (LDFLAGS-unload4mod1.so): Likewise.
35030 (LDFLAGS-unload4mod2.so): Likewise.
35031 (LDFLAGS-tst-initorder): Likewise.
35032 (LDFLAGS-tst-initordera2.so): Likewise.
35033 (LDFLAGS-tst-initordera3.so): Likewise.
35034 (LDFLAGS-tst-initordera4.so): Likewise.
35035 (LDFLAGS-tst-initorderb2.so): Likewise.
35036 (LDFLAGS-noload): Likewise.
35037 (LDFLAGS-next): Likewise.
35038 (LDFLAGS-order2mod1.so): Likewise.
35039 (LDFLAGS-order2mod2.so): Likewise.
35040 (LDFLAGS-tst-initorder2): Likewise.
35041 (LDFLAGS-tst-initorder2a.so): Likewise.
35042 (LDFLAGS-tst-initorder2b.so): Likewise.
35043 (LDFLAGS-tst-initorder2c.so): Likewise.
35044 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35046 2012-05-02 David S. Miller <davem@davemloft.net>
35048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35050 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35053 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35055 2012-05-02 Andreas Jaeger <aj@suse.de>
35057 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35058 since we manipulate rounding mode.
35059 (CPPFLAGS-test-idouble.c): Likewise.
35060 (CPPFLAGS-test-ifloat.c): Likewise.
35061 (CFLAGS-test-ldouble.c): Likewise.
35062 (CFLAGS-test-double.c): Likewise.
35063 (CFLAGS-test-float.c): Likewise.
35064 (CFLAGS-test-misc.c): Likewise.
35065 (CFLAGS-test-test-fenv.c): Likewise.
35067 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35071 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35072 comparisons to determine direction to adjust input.
35074 2012-05-01 Roland McGrath <roland@hack.frob.com>
35076 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35077 output to the target.
35079 * scripts/localplt.awk: New file.
35080 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35081 (check-localplt-CFLAGS): Variable removed.
35082 ($(all-built-dso:=.jmprel)): New static pattern rule.
35083 (generated): Add those targets.
35084 (localplt-built-dso): New variable.
35085 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35087 * elf/check-localplt.c: File removed.
35089 * scripts/check-execstack.awk: New file.
35090 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35091 (check-execstack-CFLAGS): Variable removed.
35092 ($(objpfx)check-execstack.h): Target removed.
35093 ($(objpfx)execstack-default): New target.
35094 (generated): Add that instead of check-execstack.h.
35095 ($(all-built-dso:=.phdr)): New static pattern rule.
35096 (generated): Add those targets.
35097 * elf/check-execstack.c: File removed.
35099 * scripts/check-textrel.awk: New file.
35100 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35101 (check-textrel-CFLAGS): Variable removed.
35102 (all-built-dso): Use := to define.o
35103 ($(all-built-dso:=.dyn)): New static pattern rule.
35104 (generated): Add those targets.
35105 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35106 * config.make.in (READELF): New substituted variable.
35107 * elf/check-textrel.c: File removed.
35109 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35111 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35113 * conform/data/ctype.h-data [C99-based standards] (isblank):
35115 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35116 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35118 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35119 Specify type. Require positive value.
35120 (EILSEQ): Likewise.
35121 (ERANGE): Likewise.
35122 [ISO || POSIX] (EILSEQ): Do not expect.
35123 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35124 Specify type. Require positive value.
35125 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35126 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35127 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35128 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35129 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35130 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35131 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35132 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35133 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35134 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35135 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35136 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35137 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35138 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35139 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35140 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35141 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35142 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35143 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35144 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35145 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35146 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35147 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35148 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35149 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35150 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35151 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35152 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35153 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35154 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35155 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35156 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35157 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35158 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35159 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35160 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35161 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35162 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35163 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35164 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35165 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35166 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35167 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35168 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35169 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35170 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35171 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35172 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35173 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35174 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35175 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35176 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35177 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35178 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35179 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35180 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35181 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35182 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35183 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35184 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35185 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35186 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35187 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35188 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35189 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35190 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35191 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35192 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35193 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35194 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35195 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35196 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35197 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35198 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35199 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35200 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35201 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35203 (FLT_ROUNDS): Expect as macro, not constant.
35204 (FLT_MANT_DIG): Use macro-int-constant.
35205 (DBL_MANT_DIG): Likewise.
35206 (LDBL_MANT_DIG): Likewise.
35207 (FLT_DIG): Likewise.
35208 (DBL_DIG): Likewise.
35209 (LDBL_DIG): Likewise.
35210 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35211 (DBL_MIN_EXP): Likewise.
35212 (LDBL_MIN_EXP): Likewise.
35213 (FLT_MAX_EXP): Use macro-int-constant.
35214 (DBL_MAX_EXP): Likewise.
35215 (LDBL_MAX_EXP): Likewise.
35216 (FLT_MAX_10_EXP): Likewise.
35217 (DBL_MAX_10_EXP): Likewise.
35218 (LDBL_MAX_10_EXP): Likewise.
35219 (FLT_MAX): Use macro-constant.
35220 (DBL_MAX): Likewise.
35221 (LDBL_MAX): Likewise.
35222 (FLT_EPSILON): Use macro-constant. Give upper bound.
35223 (DBL_EPSILON): Likewise.
35224 (LDBL_EPSILON): Likewise.
35225 (FLT_MIN): Likewise.
35226 (DBL_MIN): Likewise.
35227 (LDBL_MIN): Likewise.
35228 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35229 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35230 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35231 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35232 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35233 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35234 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35235 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35236 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35237 [ISO11] (FLT_TRUE_MIN): Likewise.
35238 [ISO11] (LDBL_TRUE_MIN): Likewise.
35239 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35240 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35241 (SCHAR_MIN): Use macro-int-constant. Specify type.
35242 (SCHAR_MAX): Likewise.
35243 (UCHAR_MAX): Likewise.
35244 (CHAR_MIN): Likewise.
35245 (CHAR_MAX): Likewise.
35246 (MB_LEN_MAX): Use macro-int-constant.
35247 (SHRT_MIN): Use macro-int-constant. Specify type.
35248 (SHRT_MAX): Likewise.
35249 (USHRT_MAX): Likewise.
35250 (INT_MAX): Likewise.
35251 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35253 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35255 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35257 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35258 bound negative. Suffix upper bound with "L".
35259 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35261 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35263 [C99-based standards] (LLONG_MAX): Likewise.
35264 [C99-based standards] (ULLONG_MAX): Likewise.
35265 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35267 [ISO11] (max_align_t): Require type.
35268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35270 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35271 from $CFLAGS, without defining away __attribute__ calls.
35272 (checknamespace): Use $CFLAGS_namespace.
35274 * conform/conformtest.pl (@keywords): Only include C99 keywords
35275 for standards based on C99 or C11.
35277 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35279 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35282 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35283 usability of symbols in #if.
35285 * conform/conformtest.pl: If macro or constant types start
35286 "promoted:", expect the symbol to be of the following type
35287 promoted by the integer promotions.
35289 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35290 in one place. Also handle "macro-constant".
35292 * conform/conformtest.pl: Only accept expected macro values with
35293 "==". Parse all "macro" lines in one place.
35294 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35296 * conform/conformtest.pl: Handle braced types on "constant" lines
35297 instead of handling "typed-constant".
35298 * conform/data/signal.h-data: Use "constant" instead of
35301 * conform/conformtest.pl: Handle "optional-" at start of lines in
35302 one place rather than duplicating several cases. Handle each
35303 format of "macro" line with initial "optional-".
35305 * conform/conformtest.pl: Only accept expected constant or
35306 optional-constant values with "==". Parse all "constant" lines in
35307 one place. Parse all "optional-constant" lines in one place.
35308 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35309 * conform/data/fmtmsg.h-data: Likewise.
35310 * conform/data/netinet/in.h-data: Likewise.
35311 * conform/data/tar.h-data: Likewise.
35312 * conform/data/limits.h-data: Use "==" form on "constant" and
35313 "optional-constant" lines.
35315 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35316 Use -std=c99 for XOPEN2K.
35317 (@knownproblems): Remove.
35318 (newtoken): Don't check %isknown.
35320 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35321 Do not expect macro.
35322 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35323 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35324 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35325 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35326 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35327 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35328 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35329 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35330 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35331 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35332 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35333 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35334 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35335 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35336 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35337 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35338 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35339 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35340 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35341 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35342 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35343 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35344 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35345 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35346 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35347 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35348 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35349 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35350 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35351 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35352 [XPG3] (acosh): Likewise.
35353 [XPG3] (asinh): Likewise.
35354 [XPG3] (atanh): Likewise.
35355 [XPG3] (cbrt): Likewise.
35356 [XPG3] (expm1): Likewise.
35357 [XPG3] (ilogb): Likewise.
35358 [XPG3] (log1p): Likewise.
35359 [XPG3] (logb): Likewise.
35360 [XPG3] (nextafter): Likewise.
35361 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35362 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35363 [XPG3] (remainder): Likewise.
35364 [XPG3] (rint): Likewise.
35365 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35366 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35367 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35368 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35369 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35370 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35371 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35372 [UNIX98 || XOPEN2K] (scalb): Expect.
35373 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35374 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35375 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35376 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35377 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35378 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35379 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35380 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35381 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35382 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35383 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35384 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35385 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35386 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35387 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35388 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35389 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35390 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35391 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35392 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35393 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35394 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35395 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35396 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35397 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35398 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35399 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35400 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35401 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35402 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35403 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35404 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35405 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35406 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35407 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35408 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35409 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35410 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35411 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35412 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35413 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35414 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35415 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35416 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35417 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35418 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35419 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35420 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35421 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35422 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35423 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35424 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35425 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35426 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35427 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35428 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35429 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35430 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35431 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35432 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35433 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35434 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35435 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35436 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35437 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35438 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35439 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35440 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35441 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35442 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35443 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35444 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35445 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35446 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35447 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35448 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35449 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35450 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35451 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35452 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35453 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35454 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35455 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35456 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35457 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35458 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35459 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35460 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35461 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35462 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35463 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35464 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35465 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35466 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35467 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35468 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35469 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35470 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35471 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35472 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35473 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35474 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35475 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35476 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35477 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35478 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35479 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35480 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35481 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35482 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35483 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35484 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35485 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35486 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35487 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35488 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35489 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35490 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35491 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35492 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35493 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35494 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35495 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35496 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35497 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35498 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35499 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35500 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35501 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35502 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35503 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35504 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35505 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35506 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35507 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35508 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35509 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35511 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35512 _XOPEN_SOURCE_EXTENDED for XPG4.
35514 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35516 * Makeconfig (localtime): Remove variable.
35517 (inst_localtime-file): Likewise.
35519 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35540 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35544 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35545 comparisons to determine direction to adjust input.
35546 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35547 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35548 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35550 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35552 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35554 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35555 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35557 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35559 * math/libm-test.inc (nexttoward_test): Add more tests.
35561 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35564 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35565 in version GLIBC_2.1, not GLIBC_2.0.
35566 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35569 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35572 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35574 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35575 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35576 * math/libm-test.inc (acos_test): Add more tests.
35577 (asin_test): Likewise.
35578 * sysdeps/i386/fpu/libm-test-ulps: Update.
35579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35582 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35584 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35585 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35586 * math/libm-test.inc (acos_test_tonearest): New function.
35587 (acos_test_towardzero): Likewise.
35588 (acos_test_downward): Likewise.
35589 (acos_test_upward): Likewise.
35590 (asin_test_tonearest): Likewise.
35591 (asin_test_towardzero): Likewise.
35592 (asin_test_downward): Likewise.
35593 (asin_test_upward): Likewise.
35594 (main): Call the new functions.
35595 * sysdeps/i386/fpu/libm-test-ulps: Update.
35596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35600 * math/e_exp10.c: Include <float.h>.
35601 (__ieee754_exp10): Handle underflow here rather than multiplying
35602 large negative argument by M_LN10.
35603 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35605 * math/e_exp10l.c: Include <float.h>.
35606 (__ieee754_exp10l): Handle underflow here rather than multiplying
35607 large negative argument by M_LN10l.
35608 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35609 spurious overflow exception on underflow.
35611 2012-04-29 Marek Polacek <polacek@redhat.com>
35613 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35614 (__fortify_function): New macro.
35615 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35616 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35617 __extern_always_inline.
35618 * libio/bits/stdio2.h: Likewise.
35619 * libio/bits/stdio.h: Likewise.
35620 * string/string.h: Likewise.
35621 * string/bits/string3.h: Likewise.
35622 * include/stdio.h: Likewise.
35623 * stdlib/bits/stdlib.h: Likewise.
35624 * stdlib/stdlib.h: Likewise.
35625 * rt/bits/mqueue2.h: Likewise.
35626 * rt/mqueue.h: Likewise.
35627 * posix/bits/unistd.h: Likewise.
35628 * posix/unistd.h: Likewise.
35629 * io/bits/poll2.h: Likewise.
35630 * io/bits/fcntl2.h: Likewise.
35631 * io/fcntl.h: Likewise.
35632 * io/sys/poll.h: Likewise.
35633 * misc/bits/syslog.h: Likewise.
35634 * misc/bits/syslog-ldbl.h: Likewise.
35635 * misc/sys/syslog.h: Likewise.
35636 * socket/bits/socket2.h: Likewise.
35637 * socket/sys/socket.h: Likewise.
35638 * debug/tst-chk1.c: Likewise.
35639 * wcsmbs/bits/wchar2.h: Likewise.
35640 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35641 * wcsmbs/wchar.h: Likewise.
35643 2012-04-29 Andreas Jaeger <aj@suse.de>
35645 * Makerules (tests): Remove enable-check-abi protection.
35646 (check-abi-warn): Remove.
35647 (check-abi-%): Remove check-abi-warn usage.
35649 * configure.in: Remove check-abi configure option.
35650 * configure: Regenerated.
35651 * config.make.in (enable-check-abi): Remove.
35653 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35656 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35657 double functions to double *_finite functions.
35660 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35661 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35663 * stdio-common/Makefile (tests): Add tst-sprintf3.
35664 * stdio-common/tst-sprintf3.c: New file.
35666 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35667 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35669 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35671 * conform/conformtest.pl: Remove duplicate typed-constant
35674 2012-04-28 David S. Miller <davem@davemloft.net>
35676 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35677 (check-abi-%): Remove AWK script prerequisite and explicit
35679 (check-abi): Rewrite to just diff the symlist with the abilist.
35680 (config-tls, config-abi-config): Delete, no longer used.
35681 (update-abi-%): Remove AWK script and explicit abilist directory.
35682 (update-abi): Rewrite to simply compare and conditionally copy the
35683 symlist and the sysdep abilist file. Remove update-abi-config
35685 * abilist/ld.abilist: Remove.
35686 * abilist/libBrokenLocale.abilist: Remove.
35687 * abilist/libanl.abilist: Remove.
35688 * abilist/libcrypt.abilist: Remove.
35689 * abilist/libdl.abilist: Remove.
35690 * abilist/librt.abilist: Remove.
35691 * abilist/libthread_db.abilist: Remove.
35692 * abilist/libutil.abilist: Remove.
35693 * scripts/extract-abilist.awk: Remove.
35694 * scripts/merge-abilist.awk: Remove.
35695 * sysdeps/generic/libcidn.abilist: New file.
35696 * sysdeps/generic/libnss_compat.abilist: New file.
35697 * sysdeps/generic/libnss_db.abilist: New file.
35698 * sysdeps/generic/libnss_dns.abilist: New file.
35699 * sysdeps/generic/libnss_files.abilist: New file.
35700 * sysdeps/generic/libnss_hesiod.abilist: New file.
35701 * sysdeps/generic/libnss_nis.abilist: New file.
35702 * sysdeps/generic/libnss_nisplus.abilist: New file.
35703 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35704 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35705 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35707 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35708 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35709 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35710 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35711 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35712 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35713 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35714 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35715 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35717 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35718 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35719 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35720 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35722 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35723 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35724 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35725 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35726 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35727 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35729 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35730 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35731 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35733 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35734 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35736 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35738 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35740 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35742 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35744 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35746 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35748 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35750 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35752 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35754 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35758 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35836 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35837 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35838 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35841 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35842 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35843 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35844 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35845 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35846 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35847 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35848 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35849 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35901 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35903 * conform/conformtest.pl: Fix typo in handling typed-constant from
35906 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35908 * README: Cut down references to pre-2.6 Linux kernels and
35909 Linuxthreads. Update lists of configurations in libc and ports
35910 and sort alphabetically. Say "or newer" with Linux kernel version
35913 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35915 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35918 * math/libm-test.inc (logb_test_downward): New test to expose
35919 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35922 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35925 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35927 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35928 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35930 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35932 * sysdeps/unix/i386/brk.S: Remove file.
35933 * sysdeps/unix/i386/dl-brk.S: Likewise.
35934 * sysdeps/unix/i386/pipe.S: Likewise.
35935 * sysdeps/unix/i386/sigreturn.S: Likewise.
35936 * sysdeps/unix/i386/syscall.S: Likewise.
35937 * sysdeps/unix/i386/vfork.S: Likewise.
35938 * sysdeps/unix/i386/wait.S: Likewise.
35940 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35941 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35943 * configure.in (arm*-none*): Do not allow without
35944 --enable-hacker-mode.
35945 (netbsd*): Remove case setting base_os.
35946 (386bsd*): Likewise.
35947 (freebsd*): Likewise.
35950 (sunos*): Likewise.
35951 (ultrix*): Likewise.
35952 (newsos*): Likewise.
35953 (dynix*): Likewise.
35959 (minix*): Likewise.
35960 (irix4*): Likewise.
35961 (irix6*): Likewise.
35962 (solaris[2-9]*): Likewise.
35964 * configure: Regenerated.
35966 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35969 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35970 overflow or cancellation in calculating denominator.
35971 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35972 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35973 down expression to avoid unexpected rounding in newer GCCs.
35974 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35976 2012-04-26 David S. Miller <davem@davemloft.net>
35978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35979 long-double compat symbols.
35980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35994 2012-04-25 David S. Miller <davem@davemloft.net>
35996 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35997 HWCAP_* values only after the memory barriers have been defined.
35998 (atomic_full_barrier): Define.
35999 (atomic_read_barrier): Define.
36000 (atomic_write_barrier): Define.
36002 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36004 * shlib-versions: Add libgcc_s version information.
36005 * sysdeps/generic/libgcc_s.h: Remove.
36006 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36008 * sysdeps/gnu/unwind-resume.c: Likewise.
36009 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36011 2012-04-25 David S. Miller <davem@davemloft.net>
36013 * sysdeps/unix/sparc/brk.S: Delete.
36014 * sysdeps/unix/sparc/dl-brk.S: Delete.
36015 * sysdeps/unix/sparc/pipe.S: Delete.
36016 * sysdeps/unix/sparc/sysdep.S: Delete.
36017 * sysdeps/unix/sparc/sysdep.h: Delete.
36018 * sysdeps/unix/sparc/vfork.S: Delete.
36019 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36020 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36021 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36022 (ret_ERRVAL, r0, r1, MOVE): Define.
36023 (JUMPTARGET): Remove.
36024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36025 sysdeps/unix/sparc/sysdep.h
36026 (ENTRY, END): Remove.
36027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36029 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36031 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36032 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36035 * timezone/README: Update upstream location and email address for
36037 * timezone/zdump.c: Update from tzcode 2012b.
36038 * timezone/zic.c: Likewise.
36040 * configure.in (libc_cv_as_needed): Remove test.
36041 * configure: Regenerated.
36042 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36043 conditional definition.
36044 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36045 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36046 * config.make.in (have-as-needed): Remove variable.
36048 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36049 Paul Pluzhnikov <ppluzhnikov@google.com>
36051 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36054 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36056 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36057 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36058 * sysdeps/sh/strlen.S: Likewise.
36060 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36062 * sysdeps/unix/fork.S: Remove file.
36063 * sysdeps/unix/i386/fork.S: Likewise.
36064 * sysdeps/unix/sparc/fork.S: Likewise.
36066 * sysdeps/unix/system.c: Remove file.
36067 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36069 * sysdeps/unix/getegid.S: Remove file.
36070 * sysdeps/unix/geteuid.S: Likewise.
36072 2012-04-24 Roland McGrath <roland@hack.frob.com>
36074 * scripts/check-localplt.awk: New file.
36075 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36077 * scripts/data/localplt-generic.data: Add a comment.
36079 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36080 NODE when __dir_mkfile failed.
36081 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36082 Reported by Ludovic Courtès <ludo@gnu.org>.
36084 2012-04-24 Andreas Jaeger <aj@suse.de>
36086 * Makerules (common-clean): Also remove gen-as-const-headers
36089 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36091 * Makerules (native-compile): Do not change working directory for
36092 build. Use $(OUTPUT_OPTION) in command.
36093 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36095 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36098 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36099 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36100 * math/libm-test.inc (floor_test): Add more tests.
36101 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36103 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36105 * sysdeps/unix/getdents.c: Remove file.
36106 * sysdeps/unix/sysv/getdents.c: Likewise.
36107 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36109 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36110 sysdeps/unix/mman/syscalls.list.
36112 (mprotect): Likewise.
36114 (munmap): Likewise.
36115 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36116 * sysdeps/unix/mman/syscalls.list: Remove.
36117 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36119 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36120 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36121 * configure: Regenerated.
36122 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36123 $(libgcc_s_suffix).
36124 * config.make.in (libgcc_s_suffix): Remove variable.
36126 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36128 * sysdeps/unix/sysv/gethostname.c: Move to ...
36129 * sysdeps/posix/gethostname.c: ... here.
36131 * sysdeps/unix/execve.S: Remove file.
36133 * sysdeps/unix/_exit.S: Remove file.
36135 2012-04-23 Andreas Jaeger <aj@suse.de>
36138 * manual/Makefile: Remove make dist support, there's no
36139 need for a stand-alone documentation tar ball.
36140 (TEXI2DVI): Define always, it's not in Makeconfig.
36143 (edition): Removed.
36144 (glibc-doc-$(edition).tar): Removed
36148 (ETAGS): Remove, it's in Makeconfig.
36149 (move-if-change): Remove, it's in Makeconfig.
36151 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36154 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36155 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36156 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36157 (strtod_l, strtof_l, strtold_l): Remove __wur.
36158 It is not necessarily an error to ignore strtol's return value.
36159 One can reliably look at the stored endptr to decide whether
36160 the number had valid syntax.
36162 2012-04-21 Andreas Jaeger <aj@suse.de>
36165 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36167 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36169 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36170 * sysdeps/unix/sysv/Versions: Remove file.
36172 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36177 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36180 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36181 version from __vm86.
36183 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36185 * sysdeps/unix/common/lxstat.c: Remove file.
36186 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36188 * sysdeps/unix/sysv/Makefile: Remove file.
36190 * sysdeps/unix/sysv/direct.h: Remove file.
36192 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36193 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36194 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36195 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36196 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36197 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36198 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36200 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36202 * sysdeps/unix/xmknod.c: Remove file.
36203 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36205 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36207 * sysdeps/unix/sysv/i386/time.S: Remove file.
36209 * sysdeps/unix/fxstat.c: Remove file.
36210 * sysdeps/unix/xstat.c: Likewise.
36211 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36213 * sysdeps/unix/sysv/sigaction.c: Remove file.
36215 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36216 (sysdep_headers): Remove variable.
36217 [termio.h not in sysdep_headers] (generated): Likewise.
36218 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36219 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36220 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36221 * sysdeps/unix/sysv/tcflow.c: Likewise.
36222 * sysdeps/unix/sysv/tcflush.c: Likewise.
36223 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36224 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36225 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36226 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36227 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36229 * sysdeps/unix/siglist.c: Remove file.
36231 * sysdeps/unix/getppid.S: Remove file.
36233 * sysdeps/unix/mkdir.c: Remove file.
36234 * sysdeps/unix/rmdir.c: Likewise.
36236 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36238 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36240 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36241 errlist-compat value.
36243 2012-04-18 David S. Miller <davem@davemloft.net>
36245 * sysdeps/generic/memcopy.h (reg_char): Delete.
36246 * debug/strcat_chk.c: Use char, not reg_char.
36247 * debug/strcpy_chk.c: Likewise.
36248 * debug/strncat_chk.c: Likewise.
36249 * debug/strncpy_chk.c: Likewise.
36250 * string/memchr.c: Likewise.
36251 * string/memrchr.c: Likewise.
36252 * string/rawmemchr.c: Likewise.
36253 * string/strcat.c: Likewise.
36254 * string/strchr.c: Likewise.
36255 * string/strchrnul.c: Likewise.
36256 * string/strcmp.c: Likewise.
36257 * string/strcpy.c: Likewise.
36258 * string/strncat.c: Likewise.
36259 * string/strncmp.c: Likewise.
36260 * string/strncpy.c: Likewise.
36262 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36264 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36265 __builtin_memcopy is called when src and dest ranges are known to not
36268 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36270 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36271 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36272 fwd_align_merge macro call.
36273 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36274 bwd_align_merge macro call.
36275 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36277 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36279 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36280 bwd_align_merge macros.
36281 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36282 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36283 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36285 2012-04-18 David S. Miller <davem@davemloft.net>
36287 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36289 2012-04-18 Andreas Jaeger <aj@suse.de>
36292 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36293 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36294 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36296 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36297 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36298 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36300 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36301 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36302 Adjust for changed ldbl-128 files.
36304 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36305 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36306 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36308 2012-04-17 David S. Miller <davem@davemloft.net>
36310 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36312 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36314 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36315 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36316 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36317 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36318 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36319 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36321 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36324 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36325 * math/libm-test.inc: Add ilogb errno and exception tests.
36326 * math/w_ilogb.c: New file: ilogb wrapper.
36327 * math/w_ilogbf.c: New file: ilogbf wrapper.
36328 * math/w_ilogbl.c: New file: ilogbl wrapper.
36329 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36330 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36331 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36332 exception being thrown with 0.0 as argument.
36333 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36334 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36335 exception being thrown with 0.0 as argument.
36336 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36337 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36338 exception being thrown with 0.0 as argument.
36339 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36340 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36341 exception being thrown with 0.0 as argument.
36342 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36343 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36344 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36345 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36346 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36347 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36348 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36349 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36350 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36352 2012-04-17 Petr Baudis <pasky@ucw.cz>
36354 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36357 2012-04-16 Marek Polacek <polacek@redhat.com>
36359 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36361 2012-04-16 Marek Polacek <polacek@redhat.com>
36363 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36364 operands of fdivp instruction.
36366 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36368 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36369 * elf/tst-auditmod3b.c: Likewise.
36370 * elf/tst-auditmod4b.c: Likewise.
36371 * elf/tst-auditmod5b.c: Likewise.
36372 * elf/tst-auditmod6b.c: Likewise.
36373 * elf/tst-auditmod6c.c: Likewise.
36374 * elf/tst-auditmod7b.c: Likewise.
36375 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36376 * sysdeps/x86_64/preconfigure.in: Likewise.
36377 * sysdeps/x86_64/preconfigure: Regenerated.
36379 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36381 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36384 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36387 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36389 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36392 * locale/iso-639.def: Fix gl language name. Spotted by
36395 2012-04-12 Roland McGrath <roland@hack.frob.com>
36398 * libio/libio.h (__io_write_fn): Update comment.
36400 2012-04-12 Petr Baudis <pasky@ucw.cz>
36403 * stdio.texi (Hook Functions): The user provided writer function
36404 is not allowed to return -1.
36406 2012-04-11 David S. Miller <davem@davemloft.net>
36408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36410 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36412 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36413 Add a leading slash to rtkaio.
36415 2012-04-11 Jim Meyering <meyering@redhat.com>
36418 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36419 It is not necessarily an error to ignore fwrite's return
36420 value. One can reliably use ferror to test for errors after
36423 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36425 * bits/types.h (__snseconds_t): New type.
36426 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36428 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36430 (__SNSECONDS_T_TYPE): Likewise.
36431 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36432 (__SNSECONDS_T_TYPE): Likewise.
36433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36434 (__SNSECONDS_T_TYPE): Likewise.
36436 2012-04-10 Andreas Jaeger <aj@suse.de>
36439 * manual/time.texi (Processor Time): Return type of times is
36440 elapsed real time since an arbitrary point in the past.
36441 (CPU Time): Move CLK_TCK from here...
36442 (Processor Time): ...to here. Correct description.
36443 * manual/conf.texi (Constants for Sysconf): Correct description of
36446 2012-04-10 David S. Miller <davem@davemloft.net>
36449 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36450 where the is a gap between DT_REL(A) and DT_JMPREL.
36452 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36454 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36455 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36456 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36458 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36460 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36461 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36462 (dl_main): Handle --inhibit-cache.
36463 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36465 * elf/dl-load.c (_dl_map_object): Use it.
36466 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36468 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36471 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36472 (__ieee754_powl): Saturate large exponents rather than testing for
36473 overflow of y*log2(x).
36474 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36475 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36479 * math/s_ctan.c: Include <float.h>.
36480 (__ctan): Avoid internal overflow or cancellation in calculating
36482 * math/s_ctanf.c: Likewise.
36483 * math/s_ctanl.c: Likewise.
36484 * math/s_ctanh.c: Likewise.
36485 * math/s_ctanhf.c: Likewise.
36486 * math/s_ctanhl.c: Likewise.
36487 * math/libm-test.inc (ctan_test): Add more tests.
36488 (ctanh_test): Likewise.
36489 * sysdeps/i386/fpu/libm-test-ulps: Update.
36490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36492 2012-04-09 Andreas Jaeger <aj@suse.de>
36495 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36496 is an optional BSD extension.
36499 * manual/stdio.texi (Opening Streams): Document additional fopen
36502 2012-04-09 Roland McGrath <roland@hack.frob.com>
36504 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36505 %eax without telling the compiler.
36507 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36510 * manual/install.texi: Use sourceware.org.
36512 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36515 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36516 (__ieee754_pow): Generate overflow and underflow using huge*huge
36517 and tiny*tiny rather than just returning constant infinity or zero
36518 for large exponents.
36519 * math/libm-test.inc (pow_test): Require overflow exceptions for
36520 applicable cases of large exponents.
36523 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36524 (__ieee754_pow): Use iterative multiplication algorithm only for
36525 integer exponents with absolute value below 1024. Check for odd
36526 integer exponents when using algorithm for real exponents.
36527 * math/libm-test.inc (pow_test): Add more tests.
36528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36530 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36533 * math/libm-test.inc (exp_test): Do not allow overflow exception
36536 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36539 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36540 instead of __kernel_standard_f.
36542 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36544 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36545 * sysdeps/x86_64/memset_chk.S: Likewise.
36547 2012-04-08 Andreas Jaeger <aj@suse.de>
36550 * manual/startup.texi (Environment Access): Describe return value
36551 for putenv and setenv.
36554 * manual/filesys.texi (Directory Entries): Add description for
36558 * manual/filesys.texi (Directory Entries): Clarify that it's file
36559 system not operating system in the description of DT_UNKNOWN.
36562 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36564 2012-04-08 Stephen Compall <s11@member.fsf.org>
36567 * manual/llio.texi (Opening and Closing Files): Add cross
36568 reference to explain mode argument.
36570 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36572 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36573 * sysdeps/x86_64/memset_chk.S: Likewise.
36575 2012-04-07 David S. Miller <davem@davemloft.net>
36577 * elf/elf.h (R_SPARC_WDISP10): Define.
36578 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36580 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36581 R_SPARC_SIZE64 and R_SPARC_H34.
36583 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36585 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36586 conditions and remove no longer applicable assertion.
36588 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36590 * bits/byteswap.h: Include <features.h>.
36591 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36592 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36594 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36596 * bits/byteswap.h (__bswap_16): Removed.
36597 Include <bits/byteswap-16.h> to get __bswap_16.
36598 * sysdeps/i386/bits/byteswap.h: Likewise.
36599 * sysdeps/s390/bits/byteswap.h: Likewise.
36600 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36601 * bits/byteswap-16.h: New file.
36602 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36603 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36604 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36605 * string/Makefile (headers): Add bits/byteswap-16.h.
36607 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36610 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36612 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36613 * nss/tst-nss-static.c: New.
36615 2012-04-06 Robert Millan <rmh@gnu.org>
36618 * manual/llio.texi (File Position Primitive): lseek
36619 refers to WHENCE when it really means OFFSET.
36621 2012-04-06 Andreas Jaeger <aj@suse.de>
36623 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36624 strncmp declarations.
36626 * abilist/libc.abilist: Add __poll and __ppoll.
36628 2012-04-05 David S. Miller <davem@davemloft.net>
36630 * scripts/check-local-headers.sh: Accept a host triplet in the
36631 path matched by the exclude regexp.
36633 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36635 * sysdeps/powerpc/powerpc32/dl-machine.h
36636 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36637 * sysdeps/s390/s390-32/dl-machine.h
36638 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36639 * sysdeps/sparc/sparc32/dl-machine.h
36640 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36641 * sysdeps/sparc/sparc64/dl-machine.h
36642 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36644 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36646 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36647 undefined symbol errors.
36649 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36652 2012-04-05 Michael Matz <matz@suse.de>
36655 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36657 2012-04-05 Andreas Jaeger <aj@suse.de>
36660 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36663 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36665 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36666 which ROUND is no valid rounding mode.
36668 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36670 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36672 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36674 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36676 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36677 an exception using FPU order intentionally.
36679 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36681 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36682 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36683 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36684 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36686 2012-04-05 Simon Josefsson <simon@josefsson.org>
36689 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36690 EINVAL when BUFLEN is too smal.
36692 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36695 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36696 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36698 2012-04-03 Andreas Jaeger <aj@suse.de>
36701 * manual/setjmp.texi (System V contexts): Fix sentence.
36704 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36705 New macro for this case.
36706 [!__GNUC__] (__bswap_64): New inline function for this case.
36707 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36708 * bits/byteswap.h: Likewise.
36709 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36710 ull, guard with __GLIBC_HAVE_LONG_LONG.
36712 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36713 __GLIBC_HAVE_LONG_LONG.
36715 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36716 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36718 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36721 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36722 inptr and inend, rather than using last_ch.
36724 2012-04-02 David S. Miller <davem@davemloft.net>
36726 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36727 * stdio-common/printf-parse.h (read_int): Change return type to
36728 'int', return -1 on INT_MAX overflow.
36729 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36730 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36731 overflows INT_MAX. Check for overflow of in-format-string precision
36732 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36733 SIZE_MAX not INT_MAX for integer overflow test.
36734 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36735 skip the construct in the format string but do not record anything.
36736 * stdio-common/bug22.c: Adjust to test both width/prevision
36737 INT_MAX overflow as well as total length INT_MAX overflow. Check
36738 explicitly for proper errno values.
36740 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36742 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36744 * string/test-strcmp.c [! WIDE]: Likewise.
36745 * time/tst-mktime2.c: Likewise for INT_MAX.
36746 * string/test-string.h: #include <sys/param.h> for MIN.
36748 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36749 * sysdeps/i386/init-first.c (init): Likewise.
36750 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36751 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36752 * sysdeps/sh/init-first.c (init): Likewise.
36754 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36756 * po/ru.po: Update from translation team.
36757 * po/vi.po: Likewise.
36759 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36761 * resolv/nss_dns/dns-host.c: Merge copyright years.
36763 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36765 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36766 Optimize memcpy with prefetch if
36767 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36768 src, dst pointers have unequal 16 byte alignments.
36770 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36773 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36774 from a CNAME entry and return the minimum ttl for the query.
36775 (gaih_getanswer_slice): Likewise.
36777 2012-03-30 Jeff Law <law@redhat.com>
36779 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36781 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36782 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36784 * resolv/nss_dns/dns-host.c: Update copyright year.
36786 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36788 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36789 requests to save a system call. Fix check that all bytes are sent.
36791 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36792 comments for sendmmsg.
36794 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36797 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36798 with only 1 character between 0x0041 and 0x01b0.
36799 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36800 * wcsmbs/tst-mbsnrtowcs.c: New file.
36802 2012-03-29 David S. Miller <davem@davemloft.net>
36804 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36805 small copies by hand.
36807 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36810 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36811 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36814 2012-03-28 David S. Miller <davem@davemloft.net>
36816 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36817 that branches into memcpy.
36818 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36819 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36820 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36821 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36822 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36824 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36825 implementation too.
36826 * sysdeps/sparc/mempcpy.S: New file.
36828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36829 the IFUNC routine in the libc case.
36830 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36832 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36833 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36834 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36835 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36836 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36837 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36838 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36839 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36841 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36842 loop to 256 bytes instead of 64 bytes and fix test signedness.
36844 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36845 * sysdeps/sparc/sparc32/Makefile: rather than here...
36846 * sysdeps/sparc/sparc64/Makefile: and here.
36848 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36850 * malloc/mallocbug.c: Avoid warnings about unused variables.
36852 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36855 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36856 in the right place. Discard and retry query if response is
36857 larger than input buffer size.
36859 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36864 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36865 x for large integer exponent.
36866 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36867 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36868 sign of result as needed afterwards.
36869 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36870 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36871 result for underflowing pow the same as for overflow.
36872 (__kernel_standard_l): Handle powl overflow and underflow here
36873 rather than calling __kernel_standard.
36874 * math/libm-test.inc (pow_test): Add more tests.
36889 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36890 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36891 (__kernel_standard_l): New function.
36892 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36894 * math/w_acosl.c (__acosl): Likewise.
36895 * math/w_asinl.c (__asinl): Likewise.
36896 * math/w_atan2l.c (__atan2l): Likewise.
36897 * math/w_atanhl.c (__atanhl): Likewise.
36898 * math/w_coshl.c (__coshl): Likewise.
36899 * math/w_exp10l.c (__exp10l): Likewise.
36900 * math/w_exp2l.c (__exp2l): Likewise.
36901 * math/w_fmodl.c (__fmodl): Likewise.
36902 * math/w_hypotl.c (__hypotl): Likewise.
36903 * math/w_j0l.c (__j0l, __y0l): Likewise.
36904 * math/w_j1l.c (__j1l, __y1l): Likewise.
36905 * math/w_jnl.c (__jnl, __ynl): Likewise.
36906 * math/w_lgammal.c (__lgammal): Likewise.
36907 * math/w_log10l.c (__log10l): Likewise.
36908 * math/w_log2l.c (__log2l): Likewise.
36909 * math/w_logl.c (__logl): Likewise.
36910 * math/w_powl.c (__powl): Likewise.
36911 * math/w_remainderl.c (__remainderl): Likewise.
36912 * math/w_scalbl.c (sysv_scalbl): Likewise.
36913 * math/w_sinhl.c (__sinhl): Likewise.
36914 * math/w_sqrtl.c (__sqrtl): Likewise.
36915 * math/w_tgammal.c (__tgammal): Likewise.
36916 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36917 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36918 * math/libm-test.inc (acos_test): Add more tests.
36919 (acosh_test): Likewise.
36920 (asin_test): Likewise.
36921 (atanh_test): Likewise.
36922 (exp_test): Likewise.
36923 (exp10_test): Likewise.
36924 (exp2_test): Likewise.
36925 (expm1_test): Likewise.
36926 (lgamma_test): Likewise.
36927 (log_test): Likewise.
36928 (log10_test): Likewise.
36929 (log1p_test): Likewise.
36930 (log2_test): Likewise.
36931 (pow_test): Do not allow some spurious overflow exceptions.
36932 (sqrt_test): Add more tests.
36933 (tgamma_test): Likewise.
36934 (y0_test): Likewise.
36935 (y1_test): Likewise.
36936 (yn_test): Likewise.
36938 2012-03-27 Anton Blanchard <anton@samba.org>
36940 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36942 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36943 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36944 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36946 2012-03-27 David S. Miller <davem@davemloft.net>
36948 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36950 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36951 have-as-vis3 check.
36953 2012-03-27 Andreas Jaeger <aj@suse.de>
36955 * sysdeps/x86_64/elf/configure.in: Moved to ...
36956 * sysdeps/x86_64/configure.in: ... here.
36957 * sysdeps/x86_64/elf/start.S: Moved to ...
36958 * sysdeps/x86_64/start.S: ... here.
36959 * sysdeps/x86_64/elf/configure: Delete.
36961 * sysdeps/x86_64/configure.in: Merge contents from
36962 sysdeps/i386/configure.in (without i686 check).
36964 * sysdeps/i386/elf/Versions: Merge into ...
36965 * sysdeps/i386/Versions: ... this.
36966 * sysdeps/i386/elf/Versions: Delete file.
36967 * sysdeps/i386/elf/start.S: Moved to ...
36968 * sysdeps/i386/start.S: ...here.
36969 * sysdeps/i386/elf/configure.in: Merge into...
36970 * sysdeps/i386/configure.in: ...here.
36971 * sysdeps/i386/elf/configure.in: Delete file.
36972 * sysdeps/i386/elf/configure: Delete file.
36974 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36975 * debug/backtracesyms.c: ... here.
36976 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36977 * debug/backtracesymsfd.c: ... here.
36978 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36979 * sysdeps/generic/ifunc-sel.h: ... here.
36981 * sysdeps/unix/i386/start.c: Delete file.
36982 * sysdeps/unix/sparc/start.c: Delete file.
36983 * sysdeps/unix/start.c: Delete file.
36985 * sysdeps/sh/elf/configure.in: Moved to ...
36986 * sysdeps/sh/configure.in: ... here.
36987 * sysdeps/sh/elf/start.S: Moved to ...
36988 * sysdeps/sh/start.S: ... here.
36989 * sysdeps/sh/elf/configure: Delete file.
36991 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36992 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36993 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36994 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36995 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36996 * sysdeps/powerpc/powerpc64/start.S: here.
36997 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36998 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36999 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37000 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37001 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37003 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37004 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37005 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37006 * sysdeps/powerpc/powerpc32/start.S: ... here.
37007 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37008 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37009 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37011 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37012 * sysdeps/powerpc/ifunc-sel.h: ... here.
37013 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37014 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37016 * sysdeps/sparc/elf/configure.in: Moved to ...
37017 * sysdeps/sparc/configure.in: ... here.
37018 * sysdeps/sparc/elf/configure: Delete file.
37019 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37020 * sysdeps/sparc/sparc32/start.S: ... here.
37021 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37022 * sysdeps/sparc/sparc64/start.S: ... here.
37023 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37024 * sysdeps/sparc/sparc32/Makefile: ... this.
37025 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37026 * sysdeps/sparc/sparc64/Makefile: ... this.
37028 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37029 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37030 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37031 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37032 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37033 * sysdeps/s390/s390-32/setjmp.S: ... here.
37034 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37035 * sysdeps/s390/s390-32/configure.in: ... here.
37036 * sysdeps/s390/s390-32/elf/configure: Delete file.
37037 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37038 * sysdeps/s390/s390-32/start.S: ... here.
37040 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37041 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37042 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37043 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37044 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37045 * sysdeps/s390/s390-64/setjmp.S: ... here.
37046 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37047 * sysdeps/s390/s390-64/configure.in: ... here
37048 * sysdeps/s390/s390-64/elf/configure: Delete file.
37049 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37050 * sysdeps/s390/s390-64/start.S: ... here.
37051 * sysdeps/s390/s390-64/elf/configure: Delete.
37053 * configure.in: Remove support for elf directories in sysdeps.
37055 * configure: Regenerated.
37056 * sysdeps/i386/configure: Regenerated.
37057 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37058 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37059 * sysdeps/s390/s390-32/configure: Regenerated.
37060 * sysdeps/s390/s390-64/configure: Regenerated.
37061 * sysdeps/sh/configure: Regenerated.
37062 * sysdeps/sparc/configure: Regenerated.
37063 * sysdeps/x86_64/configure: Regenerated.
37065 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37069 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37070 denormal result into account.
37072 2012-03-25 Roland McGrath <roland@hack.frob.com>
37074 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37075 Reported by Allan McRae <allan@archlinux.org>.
37077 2012-03-23 Jeff Law <law@redhat.com>
37079 * nss/getnssent.c (__nss_getent): Fix typo.
37081 2012-03-23 David S. Miller <davem@davemloft.net>
37083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37085 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37087 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37088 to pad to uint64_t for each field.
37089 (dl_tls_index): Replace unsigned long with uint64_t.
37091 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37092 Paul Pluzhnikov <ppluzhnikov@google.com>
37095 * grp/Makefile (otherlibs): Don't set it.
37096 * inet/Makefile (otherlibs): Likewise.
37097 * login/Makefile (otherlibs): Likewise.
37098 * nscd/Makefile (otherlibs): Likewise.
37099 * posix/Makefile (otherlibs): Likewise.
37100 * pwd/Makefile (otherlibs): Likewise.
37101 * rt/Makefile (otherlibs): Likewise.
37102 * sunrpc/Makefile (otherlibs): Likewise.
37103 * nss/Makefile (otherlibs): Likewise.
37104 Add libnss_files to routines and static-only-routines.
37105 ($(objpfx)getent): Remove rule.
37106 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37107 static-only-routines.
37109 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37112 * math/s_cexp.c: Include <float.h>.
37113 (__cexp): Handle exp result overflowing not necessarily
37114 overflowing both real and imaginary parts of result.
37115 * math/s_cexpf.c: Likewise.
37116 * math/s_cexpl.c: Likewise.
37117 * math/libm-test.inc (cexp_test): Add more tests.
37118 * sysdeps/i386/fpu/libm-test-ulps: Update.
37119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37121 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37123 * include/link.h (ELFW): New macro.
37124 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37125 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37127 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37129 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37132 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37134 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37136 (struct La_x32_retval): Likewise.
37138 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37140 * sysdeps/x86_64/preconfigure.in: New file.
37141 * sysdeps/x86_64/preconfigure: New generated file.
37143 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37146 * math/e_exp2l.c: Include <float.h>.
37147 (__ieee754_exp2l): Handle overflow and underflow cases
37148 separately. Only pass fractional part of argument to
37150 * math/libm-test.inc (exp2_test): Add more tests.
37152 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37153 negating x to take absolute value.
37154 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37156 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37157 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37159 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37160 computing low part if x was negated.
37161 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37163 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37165 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37166 la_x32_gnu_pltexit.
37167 (pltexit): Cast int_retval to ptrdiff_t.
37168 * elf/tst-auditmod3b.c: Likewise.
37169 * elf/tst-auditmod4b.c: Likewise.
37170 * elf/tst-auditmod5b.c: Likewise.
37171 * elf/tst-auditmod6b.c: Likewise.
37172 * elf/tst-auditmod6c.c: Likewise.
37173 * elf/tst-auditmod7b.c: Likewise.
37175 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37176 and x32_gnu_pltexit.
37178 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37179 __ELF_NATIVE_CLASS.
37180 (La_x32_regs): New macro.
37181 (La_x32_retval): Likewise.
37182 (la_x32_gnu_pltenter): New function prototype.
37183 (la_x32_gnu_pltexit): Likewise.
37185 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37192 * configure.in (libc_cv_cc_nofma): Check for option to disable
37193 generation of FMA instructions.
37194 * configure: Regenerate.
37195 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37196 * sysdeps/ieee754/dbl-64/Makefile: New file.
37197 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37198 Remove brandred-fma4.
37199 (CFLAGS-brandred-fma4.c): Remove.
37200 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37201 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37203 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37206 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37208 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37209 LLONG_MAX != LONG_MAX.
37210 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37211 (_fitoa_word): Likewise.
37212 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37213 LLONG_MAX != LONG_MAX.
37214 * stdio-common/_itowa.h: Include <_itoa.h>.
37215 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37216 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37217 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37218 only if not defined.
37219 (_ITOA_WORD_TYPE): Likewise.
37220 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37221 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37223 2012-03-21 David S. Miller <davem@davemloft.net>
37225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37227 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37229 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37230 of x86_64 when setting libc_cv_slibdir, libdir and
37232 * sysdeps/unix/sysv/linux/configure: Regenerated.
37234 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37236 * manual/lang.texi (Old Varargs): Remove section.
37237 (How Variadic): Update menu.
37238 (va_start): Do not mention varargs.h.
37240 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37241 Joseph Myers <joseph@codesourcery.com>
37243 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37245 * configure: Regenerated.
37247 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37249 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37250 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37253 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37256 * Makefile (files-for-dist): Remove NOTES.
37257 (NOTES): Remove rule.
37258 * README: Don't refer to NOTES.
37259 * manual/creature.texi: Don't include macros.texi.
37260 * manual/intro.texi (creature.texi): Remove comment referring to
37263 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37264 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37265 * configure: Regenerated.
37266 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37267 LIBC_TRY_CC_OPTION.
37268 (libc_cv_as_i686): Likewise.
37269 (libc_cv_cc_avx): Likewise.
37270 (libc_cv_cc_sse2avx): Likewise.
37271 (libc_cv_cc_fma4): Likewise.
37272 (libc_cv_cc_novzeroupper): Likewise.
37273 * sysdeps/i386/configure: Regenerated.
37276 * sysdeps/i386/fpu/s_cexp.S: Remove.
37277 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37278 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37279 * math/libm-test.inc (cexp_test): Add more tests.
37280 * sysdeps/i386/fpu/libm-test-ulps: Update.
37281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37283 2012-03-21 Allan McRae <allan@archlinux.org>
37285 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37287 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37290 * math/w_exp2.c: Do not include <float.h>.
37291 (o_threshold, u_threshold): Remove.
37292 (__exp2): Calculate result before checking finiteness and calling
37294 * math/w_exp2f.c: Likewise.
37295 * math/w_exp2l.c: Likewise.
37296 * math/libm-test.inc (exp2_test): Require overflow exception for
37300 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37301 range of signed 64-bit integers before using fistpll. Remove
37302 checks for whether integers fit in mantissa bits.
37303 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37304 the range of signed 32-bit integers before using fistpl. Remove
37305 checks for whether integers fit in mantissa bits.
37306 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37307 (__ieee754_powl): Test for y outside the range of signed 64-bit
37308 integers before using fistpll. Reduce 64-bit values to 63-bit
37310 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37311 divide-by-zero is raised for zero to large negative powers.
37312 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37313 (__ieee754_powl): Test for y outside the range of signed 64-bit
37314 integers before using fistpll. Reduce 64-bit values to 63-bit
37316 * math/libm-test.inc (pow_test): Add more tests.
37318 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37320 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37321 <stdio-common/_itoa.h>.
37322 * debug/segfault.c: Likewise.
37323 * elf/dl-cache.c: Likewise.
37324 * elf/dl-minimal.c: Likewise.
37325 * elf/dl-misc.c: Likewise.
37326 * elf/dl-sysdep.c: Likewise.
37327 * elf/dl-version.c: Likewise.
37328 * elf/rtld.c: Likewise.
37329 * hurd/hurdsock.c: Likewise.
37330 * hurd/lookup-retry.c: Likewise.
37331 * malloc/malloc.c: Likewise.
37332 * malloc/mtrace.c: Likewise.
37333 * nscd/nscd_getgr_r.c: Likewise.
37334 * nscd/nscd_getpw_r.c: Likewise.
37335 * nscd/nscd_getserv_r.c: Likewise.
37336 * posix/getopt_init.c: Likewise.
37337 * posix/wordexp.c: Likewise.
37338 * stdio-common/_itoa.c: Likewise.
37339 * stdio-common/printf_fphex.c: Likewise.
37340 * stdio-common/vfprintf.c: Likewise.
37341 * string/_strerror.c: Likewise.
37342 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37343 * sysdeps/i386/i686/hp-timing.h: Likewise.
37344 * sysdeps/mach/_strerror.c: Likewise.
37345 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37346 * sysdeps/mach/hurd/sethostid.c: Likewise.
37347 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37348 * sysdeps/mach/xpg-strerror.c: Likewise.
37349 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37350 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37351 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37352 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37353 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37354 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37355 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37356 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37357 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37358 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37359 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37360 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37361 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37362 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37363 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37364 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37365 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37366 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37367 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37368 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37369 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37371 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37373 * stdio-common/_itoa.h: Moved to ...
37374 * sysdeps/generic/_itoa.h: Here.
37376 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37378 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37379 instead of "_itoa.h" and "_itowa.h".
37380 * stdio-common/vfprintf.: Likewise.
37382 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37384 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37386 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37387 (__signbit): Likwise.
37388 (llrintf): Likwise.
37391 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37393 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37396 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37398 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37399 OVERFLOW_EXCEPTION_OK.
37400 * math/libm-test.inc ("Philosophy"): Update comment about
37402 (OVERFLOW_EXCEPTION): Define.
37403 (OVERFLOW_EXCEPTION_OK): Likewise.
37404 (INVALID_EXCEPTION_OK): Renumber.
37405 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37406 (IGNORE_ZERO_INF_SIGN): Likewise.
37407 (test_exceptions): Handle FE_OVERFLOW.
37408 (exp10_test): Expect overflow exceptions.
37409 (exp2_test): Likewise.
37410 (expm1_test): Likewise.
37411 (nextafter_test): Likewise.
37412 (pow_test): Likewise.
37413 (scalbn_test): Likewise.
37414 (scalbln_test): Likewise.
37416 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37418 * sysdeps/x86_64/bits/atomic.h
37419 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37421 (atomic_exchange_acq): Likewise.
37422 (__arch_exchange_and_add_body): Likewise.
37423 (__arch_add_body): Likewise.
37424 (atomic_add_negative): Likewise.
37425 (atomic_add_zero): Likewise.
37427 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37429 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37430 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37432 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37434 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37435 Check __x86_64__ instead of __WORDSIZE.
37437 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37439 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37441 2012-03-19 David S. Miller <davem@davemloft.net>
37443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37445 * sysdeps/sparc/fpu/fenv_private.h: New file.
37446 * sysdeps/sparc/fpu/math_private.h: Use it.
37447 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37449 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37450 (libc_feholdexcept_setroundl): Remove.
37451 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37453 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37454 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37456 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37458 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37459 int64_t instead of long int.
37460 (INSERT_WORDS64): Likwise.
37462 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37464 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37465 _Unwind_GetCFA return to _Unwind_Ptr first.
37467 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37470 * math/s_clog.c: Include <float.h>.
37471 (__clog): Scale large or subnormal inputs.
37472 * math/s_clogf.c: Likewise.
37473 * math/s_clogl.c: Likewise.
37474 * math/s_clog10.c: Include <float.h>.
37475 (M_LOG10_2): Define.
37476 (__clog10): Scale large or subnormal inputs.
37477 * math/s_clog10f.c: Likewise.
37478 * math/s_clog10l.c: Likewise.
37479 * math/libm-test.inc (clog_test): Add more tests.
37480 (clog10_test): Likewise.
37481 * sysdeps/i386/fpu/libm-test-ulps: Update.
37482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37485 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37487 * math/libm-test.inc (atan2_test): Add another test.
37489 * Makerules (common-objdir-compile): Remove.
37490 * sysdeps/unix/Makefile (config-generated): Do not add
37491 $(unix-generated) to variable.
37492 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37493 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37495 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37497 [generic bits/local_lim.h] (before-compile): Do not append to
37499 [generic bits/local_lim.h] (common-generated): Likewise.
37500 [generic sys/param.h] (before-compile): Do not append to variable.
37501 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37502 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37503 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37504 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37506 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37507 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37508 [generic sys/param.h] ($(addprefix
37509 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37510 [generic sys/param.h] (common-generated): Do not append to
37512 [generic sys/param.h] (sysdep_headers): Likewise.
37513 [generic bits/errno.h] (before-compile): Do not append to
37515 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37517 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37518 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37519 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37520 [generic bits/errno.h] (common-generated): Do not append to
37522 [generic bits/ioctls.h] (before-compile): Do not append to
37524 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37526 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37527 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37528 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37530 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37531 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37532 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37533 [generic bits/ioctls.h] (common-generated): Do not append to
37535 [generic sys/syscall.h] (syscall.h): Remove variable.
37536 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37538 [generic sys/syscall.h] (before-compile): Do not append to
37540 [generic sys/syscall.h] (common-generated): Likewise.
37541 * sysdeps/unix/errnos-tmpl.c: Remove file.
37542 * sysdeps/unix/errnos.awk: Likewise.
37543 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37544 * sysdeps/unix/ioctls.awk: Likewise.
37545 * sysdeps/unix/mk-local_lim.c: Likewise.
37546 * sysdeps/unix/snarf-ioctls: Likewise.
37548 2012-03-19 Richard Henderson <rth@twiddle.net>
37550 * sysdeps/i386/fpu/fenv_private.h: New file.
37551 * sysdeps/i386/fpu/math_private.h: Use it.
37552 (math_opt_barrier, math_force_eval): Remove.
37553 (libc_feholdexcept_setround_53bit): Remove.
37554 (libc_feupdateenv_53bit): Remove.
37555 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37556 (math_opt_barrier, math_force_eval): Remove.
37557 (libc_feholdexcept): Remove.
37558 (libc_feholdexcept_setround): Remove.
37559 (libc_fetestexcept, libc_fesetenv): Remove.
37560 (libc_feupdateenv_test): Remove.
37561 (libc_feupdateenv, libc_feholdsetround): Remove.
37562 (libc_feresetround): Remove.
37564 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37565 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37567 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37568 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37569 (libc_feupdateenv_testl): New.
37570 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37571 (libc_feupdateenv_testf): New.
37572 (libc_feupdateenv): Use libc_feupdateenv_test.
37573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37574 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37576 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37577 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37578 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37579 (libc_feresetround_noex): New.
37580 (libc_feresetround_noexf): New.
37581 (libc_feresetround_noexl): New.
37582 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37583 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37584 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37585 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37587 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37590 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37591 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37592 SET_RESTORE_ROUND_NOEX.
37593 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37594 SET_RESTORE_ROUND_NOEXF.
37595 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37596 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37597 (libc_feholdsetroundf): New.
37598 (libc_feresetround, libc_feresetroundf): New.
37600 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37601 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37602 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37604 * sysdeps/generic/math_private.h: Include <fenv.h>.
37605 (default_libc_feholdexcept): New.
37606 (default_libc_feholdexcept_setround): New.
37607 (default_libc_fesetenv, default_libc_feupdateenv): New.
37608 (libc_feholdexcept): Only define if undefined.
37609 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37610 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37611 (libc_feholdexcept_setroundl): Likewise.
37612 (libc_feholdexcept_setround_53bit): Likewise.
37613 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37614 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37615 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37616 (libc_feupdateenv_53bit): Likewise.
37617 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37618 (libc_feholdexcept): Convert from macro to inline function.
37619 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37620 (libc_fesetenv, libc_feupdateenv): Likewise.
37622 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37623 not previously defined.
37624 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37625 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37626 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37627 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37628 * sysdeps/ieee754/flt-32/math_private.h: New file.
37629 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37630 math_private.h below SET_FLOAT_WORD.
37631 (__isnan, __isinf_ns, __finite): Remove.
37632 (__isnanf, __isinf_nsf, __finitef): Remove.
37634 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37638 2012-03-17 David S. Miller <davem@davemloft.net>
37641 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37644 2012-03-16 David S. Miller <davem@davemloft.net>
37646 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37650 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37652 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37653 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37654 sysdep_routines when subdir is sysvipc.
37655 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37656 __getshmlba helper.
37658 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37660 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37662 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37665 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37667 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37668 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37669 (__lround): Renamed to ...
37670 (__llround): This. Replace long int with long long int.
37671 Define lround functions as aliases of llround functions.
37672 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37674 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37676 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37677 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37678 adresses to uintptr_t. Replace "long int" and "unsigned long
37679 int" with "greg_t" on va_arg.
37681 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37683 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37684 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37686 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37687 Move e_machine check before EI_CLASS check. Handle x32
37688 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37689 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37690 SKIP_EM_IA_64 and include
37691 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37693 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37694 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37695 (add_system_dir): New macro.
37697 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37698 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37700 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37711 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37713 * math/w_j0f.c (j0f): Likewise.
37715 * math/w_j0l.c (__j0l): Likewise.
37717 * math/w_j1.c (j1): Likewise.
37719 * math/w_j1f.c (j1f): Likewise.
37721 * math/w_j1l.c (__j1l): Likewise.
37723 * math/w_jn.c (jn): Likewise.
37725 * math/w_jnf.c (jnf): Likewise.
37727 * math/w_jnl.c (__jnl): Likewise.
37729 * math/libm-test.inc (j0_test): Add more tests.
37730 (j1_test): Likewise.
37731 (jn_test): Likewise. Add trailing semicolon to existing test.
37732 (y0_test): Likewise.
37733 (y1_test): Likewise.
37734 * sysdeps/i386/fpu/libm-test-ulps: Update.
37735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37739 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37740 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37741 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37742 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37743 (__tanl): Set errno for infinite argument.
37744 * sysdeps/i386/fpu/mptan.c: Remove.
37745 * sysdeps/i386/fpu/s_tan.S: Likewise.
37746 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37747 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37748 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37749 * math/libm-test.inc (tan_test): Add more tests and enable more
37750 tests for double and long double.
37751 * sysdeps/i386/fpu/libm-test-ulps: Update.
37752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37754 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37756 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37757 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37759 2012-03-16 Roland McGrath <roland@hack.frob.com>
37761 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37762 * configure.in: Use it for both main tree and add-ons.
37763 * configure: Regenerated.
37765 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37767 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37769 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37771 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37775 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37776 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37778 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37779 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37781 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37782 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37783 != 0 for prec == 2.
37784 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37785 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37786 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37787 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37788 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37789 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37790 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37791 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37792 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37793 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37794 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37795 * math/libm-test.inc (cos_test): Add more tests and enable more
37796 tests for long double.
37797 (sin_test): Likewise.
37798 (sincos_test): Likewise.
37799 * sysdeps/i386/fpu/libm-test-ulps: Update.
37800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37802 2012-03-16 David S. Miller <davem@davemloft.net>
37804 * sysdeps/sparc/fpu/math_private.h: New file.
37806 2012-03-15 David S. Miller <davem@davemloft.net>
37808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37818 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37822 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37823 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37825 * sysdeps/sparc/sparc-ifunc.h: New file.
37826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37871 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37873 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37877 2012-03-15 Andreas Jaeger <aj@suse.de>
37880 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37881 ieee754/flt-32 implementation for sin, cos and sincos.
37882 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37883 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37884 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37885 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37886 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37887 ieee754/flt-32 implementation for tan.
37889 * math/libm-test.inc (cos_test): Enable some large input tests for
37891 (sin_test): Likewise.
37892 (sincos_test): Likewise.
37893 (tan_test): Add tests for large input.
37895 * sysdeps/i386/fpu/libm-test-ulps: Update.
37897 2012-03-15 Andreas Jaeger <aj@suse.de>
37900 * math/libm-test.inc (cos_test): Add more test cases.
37901 (sin_test): Likewise.
37902 (sincos_test): Likewise.
37904 2012-03-15 Andreas Jaeger <aj@suse.de>
37907 * math/libm-test.inc (cos_test): Add a test case for large input
37909 (sin_test): Likewise.
37910 (sincos_test): Likewise.
37912 2012-03-15 Andreas Jaeger <aj@suse.de>
37913 Joseph Myers <joseph@codesourcery.com>
37916 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37917 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37918 * sysdeps/i386/fpu/branred.c: Likewise.
37919 * sysdeps/i386/fpu/dosincos.c: Likewise.
37920 * sysdeps/i386/fpu/mpa.c: Likewise.
37921 * sysdeps/i386/fpu/s_cos.S: Likewise.
37922 * sysdeps/i386/fpu/s_sin.S: Likewise.
37923 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37924 * sysdeps/i386/fpu/sincos32.c: Likewise.
37926 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37928 (libc_feupdateenv_53bit): Define.
37929 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37931 (libc_feupdateenv_53bit): Define.
37933 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37934 53 bit (without extend i386 double precision).
37936 * math/libm-test.inc (sincos_test): Add tests for large input.
37940 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37942 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37946 2012-03-15 David S. Miller <davem@davemloft.net>
37948 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37949 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37950 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37951 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37976 fmin/fmax sysdep routines.
37977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37979 2012-03-14 David S. Miller <davem@davemloft.net>
37981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37985 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37986 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37987 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37988 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38001 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38005 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38053 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38058 * sysdeps/sparc/configure.in: New file.
38059 * sysdeps/sparc/configure: Generate.
38060 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38061 * configure: Regenerate.
38062 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38063 * config.make.in (have-as-vis3): New.
38064 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38065 available use -Av9d instead of -Av9a.
38066 * sysdeps/sparc/sparc64/Makefile: Likewise.
38067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38077 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38079 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38082 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38083 fzeros/fnegs to load 0x80000000 into a float register instead of
38085 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38087 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38091 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38092 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38093 ($(inst_includedir)/bits/syscall.h): Remove rule.
38094 ($(objpfx)bits/syscall.d): Include instead of
38095 $(objpfx)syscall-list.d.
38096 (generated): Change syscall-list.h and syscall-list.d to
38097 bits/syscall.h and bits/syscall.d.
38099 2012-03-14 Roland McGrath <roland@hack.frob.com>
38102 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38104 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38107 * math/s_csqrt.c: Include <float.h>.
38108 (__csqrt): Scale large or subnormal inputs.
38109 * math/s_csqrtf.c: Likewise.
38110 * math/s_csqrtl.c: Likewise.
38111 * math/libm-test.inc (csqrt_test): Add more tests.
38112 * sysdeps/i386/fpu/libm-test-ulps: Update.
38113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38116 * math/libm-test.inc (hypot_test): Add more tests.
38118 2012-03-13 David S. Miller <davem@davemloft.net>
38121 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38122 double-precision for the calculation instead of scaling.
38124 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38126 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38127 manipulate bits before adding and subtracting TWO52[sx].
38128 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38129 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38131 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38133 2012-03-13 David S. Miller <davem@davemloft.net>
38135 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38136 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38137 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38138 rtld-global-offsets.h
38139 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38141 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38144 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38146 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38147 'err' in the ifdef scope in which it is actually used.
38149 * nss/nss_db/db-init.c: Include string.h
38151 2012-03-12 David S. Miller <davem@davemloft.net>
38153 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38154 masking out of the most significant byte of random value used.
38155 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38156 Fix coding style in previous change.
38158 * sysdeps/unix/sysv/linux/kernel-features.h
38159 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38160 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38162 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38165 2012-03-11 David S. Miller <davem@davemloft.net>
38167 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38168 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38169 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38170 for 'resultvar' otherwise things get truncated on 64-bit.
38172 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38173 Fix masking out of the most significant byte of random value used.
38175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38177 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38181 2012-03-09 David S. Miller <davem@davemloft.net>
38183 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38184 variables with appropriate CPP guards.
38185 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38186 from the frame pointer, not the stack pointer. Correct layout
38187 comments. Fix test on resulting framesize and the management of
38188 the outregs buffer for pltexit. Preserve floating point return
38189 values across _dl_call_pltexit call.
38190 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38191 framesize and the management of the outregs buffer for pltexit.
38192 Preserve floating point return values across _dl_call_pltexit
38194 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38195 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38196 (la_sparc64_gnu_pltexit): New functions.
38197 (print_exit): Fix format string for return register value.
38199 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38201 * sunrpc/Makefile (others): Add rpcgen.
38202 ($(objpfx)rpcgen): Remove special build rule and dependency on
38204 * sunrpc/rpcgen.c: New file.
38206 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38209 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38210 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38211 * sysdeps/i386/crti.S: Likewise.
38212 * sysdeps/i386/crtn.S: Likewise.
38213 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38214 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38215 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38216 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38217 * sysdeps/sh/crti.S: Likewise.
38218 * sysdeps/sh/crtn.S: Likewise.
38219 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38222 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38224 * locale/programs/locfile-kw.gperf: Likewise.
38225 * locale/programs/charmap-kw.h: Regenerated.
38226 * locale/programs/locfile-kw.h: Likewise.
38229 * intl/plural.y: Replace FSF snail mail address with URL.
38230 * intl/plural.c: Regenerated.
38232 2012-03-09 Richard Henderson <rth@twiddle.net>
38234 * include/math_private.h: Remove file.
38235 * math/math_private.h: Move file ...
38236 * sysdeps/generic/math_private.h: ... here.
38238 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38239 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38240 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38242 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38243 and <math_private.h>.
38244 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38245 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38246 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38247 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38248 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38249 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38250 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38252 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38253 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38254 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38255 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38256 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38257 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38258 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38259 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38260 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38261 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38262 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38263 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38265 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38266 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38268 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38269 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38270 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38271 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38272 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38273 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38274 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38276 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38277 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38278 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38279 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38280 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38281 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38282 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38283 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38284 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38285 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38286 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38287 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38288 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38289 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38290 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38291 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38292 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38293 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38294 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38295 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38296 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38297 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38298 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38299 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38300 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38301 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38302 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38303 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38304 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38305 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38306 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38307 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38308 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38309 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38310 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38311 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38312 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38313 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38314 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38315 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38316 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38317 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38318 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38321 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38322 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38323 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38324 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38325 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38326 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38327 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38328 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38330 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38331 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38332 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38333 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38334 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38335 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38336 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38337 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38338 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38339 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38340 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38341 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38342 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38343 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38344 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38345 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38346 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38347 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38348 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38349 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38350 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38351 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38352 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38353 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38354 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38355 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38356 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38357 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38358 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38359 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38360 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38361 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38362 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38363 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38364 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38365 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38366 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38367 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38368 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38369 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38370 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38371 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38372 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38373 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38374 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38375 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38376 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38377 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38378 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38379 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38380 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38381 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38382 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38383 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38384 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38385 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38386 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38387 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38388 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38389 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38390 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38391 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38392 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38393 * sysdeps/ieee754/k_standard.c: Likewise.
38394 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38395 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38396 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38397 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38398 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38399 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38400 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38401 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38402 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38403 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38404 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38405 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38406 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38407 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38408 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38409 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38410 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38411 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38412 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38413 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38414 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38415 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38416 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38417 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38418 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38419 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38420 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38421 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38422 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38423 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38424 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38425 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38426 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38427 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38428 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38429 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38430 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38431 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38432 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38433 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38434 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38435 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38436 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38437 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38438 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38439 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38440 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38441 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38442 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38443 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38444 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38445 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38446 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38447 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38448 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38449 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38450 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38451 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38452 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38453 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38454 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38455 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38456 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38457 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38458 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38459 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38460 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38461 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38462 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38463 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38464 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38465 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38466 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38467 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38468 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38469 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38470 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38471 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38472 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38473 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38474 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38475 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38476 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38477 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38478 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38479 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38480 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38481 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38482 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38483 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38484 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38485 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38486 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38487 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38488 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38489 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38490 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38491 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38492 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38493 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38494 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38495 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38496 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38497 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38498 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38499 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38500 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38501 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38502 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38503 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38504 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38505 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38506 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38507 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38508 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38509 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38510 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38511 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38512 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38513 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38514 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38515 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38516 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38517 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38518 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38519 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38520 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38521 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38522 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38523 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38524 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38525 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38526 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38527 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38528 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38529 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38530 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38531 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38532 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38533 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38534 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38535 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38536 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38537 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38538 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38539 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38540 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38541 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38542 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38543 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38544 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38545 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38546 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38547 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38548 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38549 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38550 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38551 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38552 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38553 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38554 * sysdeps/ieee754/s_lib_version.c: Likewise.
38555 * sysdeps/ieee754/s_matherr.c: Likewise.
38556 * sysdeps/ieee754/s_signgam.c: Likewise.
38557 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38558 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38559 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38560 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38561 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38562 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38563 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38564 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38565 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38566 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38567 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38568 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38569 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38570 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38571 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38572 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38573 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38574 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38575 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38576 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38577 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38579 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38581 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38582 * sunrpc/rpc_main.c: Likewise.
38583 * sunrpc/rpc_svcout.c: Likewise.
38585 2012-03-09 David S. Miller <davem@davemloft.net>
38587 * include/math_private.h: New file.
38589 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38591 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38592 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38593 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38594 from <bits/socket_type.h>.
38595 (enum __socket_type): Don't define here.
38596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38598 bits/socket_type.h.
38601 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38602 checking __USE_GNU.
38604 * Makerules ($(inst_includedir)/%.h): New rule.
38605 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38606 (install-others): Remove variable setting.
38607 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38609 2012-03-08 Richard Henderson <rth@twiddle.net>
38611 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38612 from macro to inline function; merge with the
38613 !__LIBC_INTERNAL_MATH_INLINES version.
38614 (__ieee754_sqrtf): Likewise.
38616 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38617 to inline function.
38618 (__rintf, __floor, __floorf): Likewise.
38620 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38621 macro to inline function.
38622 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38624 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38625 not <math/math_private.h>.
38627 2012-03-08 David S. Miller <davem@davemloft.net>
38629 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38631 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38633 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38635 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38637 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38638 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38640 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38642 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38643 be defined individually, they must be defined as a block. Define
38644 S for printing a string instead of hidint the different by using a
38645 macro for adding the 'l'.
38646 * stdio-common/tst-fphex-wide.c: Adjust.
38648 2012-03-07 Marek Polacek <polacek@redhat.com>
38650 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38652 2012-03-08 Marek Polacek <polacek@redhat.com>
38655 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38656 * stdio-common/tst-fphex.c: Define a few macros to make the
38657 test reusable. Use them.
38658 * stdio-common/tst-fphex-wide.c: New file.
38660 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38663 * manual/macros.texi (gnusystems): New macro.
38664 (nongnusystems): Likewise.
38665 (gnulinuxhurdsystems): Likewise.
38666 (gnuhurdsystems): Likewise..
38667 (gnulinuxsystems): Likewise.
38668 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38669 variants of the GNU system, not "GNU system".
38670 * manual/conf.texi: Likewise.
38671 * manual/errno.texi: Likewise. Update example of errno macro
38673 * manual/filesys.texi: Likewise.
38674 (getumask): Document as specific to GNU/Hurd.
38675 * manual/install.texi: Likewise. Reword some references to
38677 * manual/intro.texi: Likewise.
38678 * manual/io.texi: Likewise.
38679 (File Name Portability): Detail which constraints are inapplicable
38680 to all GNU systems and which are only inapplicable to GNU/Hurd.
38681 * manual/job.texi: Likewise.
38682 * manual/llio.texi: Likewise.
38683 (O_NOCTTY): Document as present on GNU/Linux.
38684 * manual/maint.texi: Likewise.
38685 * manual/memory.texi: Likewise.
38686 * manual/pattern.texi: Likewise.
38687 * manual/pipe.texi: Likewise.
38688 * manual/process.texi: Likewise.
38689 * manual/resource.texi: Likewise.
38690 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38692 * manual/setjmp.texi: Likewise.
38693 * manual/signal.texi: Likewise.
38694 * manual/startup.texi: Likewise.
38695 * manual/stdio.texi: Likewise.
38696 * manual/terminal.texi: Likewise.
38697 (ONLCR): Document as POSIX.
38698 (OXTABS): Document availability on GNU/Linux as XTABS.
38699 (ONOEOT): Document availability separately from other bits.
38700 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38701 * manual/time.texi: Likewise.
38702 * manual/users.texi: Likewise.
38703 * INSTALL: Regenerated.
38704 * sysdeps/gnu/errlist.c: Regenerated.
38706 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38707 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38708 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38710 * configure: Regenerated.
38712 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38714 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38715 default includes instead of AC_HEADER_CHECK.
38716 * sysdeps/i386/configure: Regenerated.
38719 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38720 * math/s_cacoshf.c (__cacoshf): Likewise.
38721 * math/s_cacoshl.c (__cacoshl): Likewise.
38722 * math/s_casinh.c (__casinh): Set signs of result from argument.
38723 * math/s_casinhf.c (__casinhf): Likewise.
38724 * math/s_casinhl.c (__casinhl): Likewise.
38725 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38726 (casinh_test): Add more tests.
38727 * sysdeps/i386/fpu/libm-test-ulps: Update.
38728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38730 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38732 * po/zh_TW.po: Update from translation team.
38734 * login/Makefile (distribute): Remove variable.
38735 * catgets/Makefile: Likewise.
38736 * mach/Makefile: Likewise.
38737 * malloc/Makefile: Likewise.
38738 * misc/Makefile: Likewise.
38739 * iconv/Makefile: Likewise.
38740 * nscd/Makefile: Likewise.
38741 * hurd/Makefile: Likewise.
38742 * manual/Makefile: Likewise.
38743 * locale/Makefile: Likewise.
38744 * intl/Makefile: Likewise.
38745 * conform/Makefile: Likewise.
38746 * nss/Makefile: Likewise.
38747 * time/Makefile: Likewise.
38748 * soft-fp/Makefile: Likewise.
38749 * dirent/Makefile: Likewise.
38750 * gmon/Makefile: Likewise.
38751 * po/Makefile: Likewise.
38752 * rt/Makefile: Likewise.
38753 * socket/Makefile: Likewise.
38754 * math/Makefile: Likewise.
38755 * signal/Makefile: Likewise.
38756 * debug/Makefile: Likewise.
38757 * elf/Makefile: Likewise.
38758 * timezone/Makefile: Likewise.
38759 * stdlib/Makefile: Likewise.
38760 * iconvdata/Makefile: Likewise.
38761 * sunrpc/Makefile: Likewise.
38762 * io/Makefile: Likewise.
38763 * argp/Makefile: Likewise.
38764 * inet/Makefile: Likewise.
38765 * hesiod/Makefile: Likewise.
38766 * grp/Makefile: Likewise.
38767 * csu/Makefile: Likewise.
38768 * wctype/Makefile: Likewise.
38769 * crypt/Makefile: Likewise.
38770 * libio/Makefile: Likewise.
38771 * string/Makefile: Likewise.
38772 * nis/Makefile: Likewise.
38773 * resolv/Makefile: Likewise.
38774 * stdio-common/Makefile: Likewise.
38775 * wcsmbs/Makefile: Likewise.
38776 * dlfcn/Makefile: Likewise.
38777 * posix/Makefile: Likewise.
38780 * timezone/Makefile: Don't install timezone files, just the programs
38783 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38785 * nss/databases.def: Add missing gshadow entry.
38787 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38789 2012-03-06 Marek Polacek <polacek@redhat.com>
38792 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38793 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38794 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38795 * stdio-common/tst-long-dbl-fphex.c: New file.
38797 2012-03-06 David S. Miller <davem@davemloft.net>
38799 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38800 (set_obp_int): New function.
38801 (get_obp_int): New function.
38802 (__get_clockfreq_via_dev_openprom): Likewise.
38803 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38804 Avoid unused variable warnings on 'val' and use builtin_expect.
38805 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38807 (INLINE_CLONE_SYSCALL): Likewise.
38809 2012-03-05 David S. Miller <davem@davemloft.net>
38811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38813 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38817 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38818 only for |x| >= 40.
38819 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38821 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38824 Replace gettimeofday with __vdso_gettimeofday.
38826 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38827 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38828 __vdso_clock_gettime and __vdso_getcpu.
38830 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38831 time with __vdso_time.
38833 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38835 * manual/lang.texi (size_t): Note types to which size_t may be
38836 equivalent with the GNU C Library, but do not describe when
38837 differences between them are significant.
38839 2012-03-05 Andreas Jaeger <aj@suse.de>
38841 * sysdeps/i386/fpu/libm-test-ulps: Update.
38843 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38846 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38847 (__ieee754_pow): Save and restore rounding mode and use
38848 round-to-nearest for main computations.
38849 * math/libm-test.inc (pow_test_tonearest): New function.
38850 (pow_test_towardzero): Likewise.
38851 (pow_test_downward): Likewise.
38852 (pow_test_upward): Likewise.
38853 (main): Call the new functions.
38854 * sysdeps/i386/fpu/libm-test-ulps: Update.
38855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38858 * math/libm-test.inc (cosh_test_tonearest): New function.
38859 (cosh_test_towardzero): Likewise.
38860 (cosh_test_downward): Likewise.
38861 (cosh_test_upward): Likewise.
38862 (sinh_test_tonearest): Likewise.
38863 (sinh_test_towardzero): Likewise.
38864 (sinh_test_downward): Likewise.
38865 (sinh_test_upward): Likewise.
38866 (main): Call the new functions.
38867 * sysdeps/i386/fpu/libm-test-ulps: Update.
38868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38870 2012-03-05 Tom de Vries <tom@codesourcery.com>
38872 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38873 default stack guard is set in last bytes.
38874 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38876 2012-03-05 Kees Cook <keescook@chromium.org>
38878 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38881 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38882 possibly allocate from heap instead of stack.
38883 * stdio-common/bug-vfprintf-nargs.c: New file.
38884 * stdio-common/Makefile (tests): Add nargs overflow test.
38886 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38890 2012-03-03 Marek Polacek <polacek@redhat.com>
38892 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38893 * math/math_private.h: Likewise.
38894 * stdlib/tst-strtod.c: Likewise.
38895 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38896 * sysdeps/x86_64/bits/atomic.h: Likewise.
38898 2012-03-02 David S. Miller <davem@davemloft.net>
38900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38904 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38905 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38906 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38907 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38909 2012-03-02 Roland McGrath <roland@hack.frob.com>
38912 * manual/examples/README: New file, says the example source files
38913 can be used under GPL>=2.
38914 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38915 line containing just "*/".
38916 * manual/examples/add.c: Add copyright header (GPL>=2).
38917 * manual/examples/argp-ex1.c: Likewise.
38918 * manual/examples/argp-ex2.c: Likewise.
38919 * manual/examples/argp-ex3.c: Likewise.
38920 * manual/examples/argp-ex4.c: Likewise.
38921 * manual/examples/atexit.c: Likewise.
38922 * manual/examples/db.c: Likewise.
38923 * manual/examples/dir.c: Likewise.
38924 * manual/examples/dir2.c: Likewise.
38925 * manual/examples/execinfo.c: Likewise.
38926 * manual/examples/filecli.c: Likewise.
38927 * manual/examples/filesrv.c: Likewise.
38928 * manual/examples/fmtmsgexpl.c: Likewise.
38929 * manual/examples/genpass.c: Likewise.
38930 * manual/examples/inetcli.c: Likewise.
38931 * manual/examples/inetsrv.c: Likewise.
38932 * manual/examples/isockad.c: Likewise.
38933 * manual/examples/longopt.c: Likewise.
38934 * manual/examples/memopen.c: Likewise.
38935 * manual/examples/memstrm.c: Likewise.
38936 * manual/examples/mkfsock.c: Likewise.
38937 * manual/examples/mkisock.c: Likewise.
38938 * manual/examples/mygetpass.c: Likewise.
38939 * manual/examples/pipe.c: Likewise.
38940 * manual/examples/popen.c: Likewise.
38941 * manual/examples/rprintf.c: Likewise.
38942 * manual/examples/search.c: Likewise.
38943 * manual/examples/select.c: Likewise.
38944 * manual/examples/setjmp.c: Likewise.
38945 * manual/examples/sigh1.c: Likewise.
38946 * manual/examples/sigusr.c: Likewise.
38947 * manual/examples/stpcpy.c: Likewise.
38948 * manual/examples/strdupa.c: Likewise.
38949 * manual/examples/strftim.c: Likewise.
38950 * manual/examples/strncat.c: Likewise.
38951 * manual/examples/subopt.c: Likewise.
38952 * manual/examples/swapcontext.c: Likewise.
38953 * manual/examples/termios.c: Likewise.
38954 * manual/examples/testopt.c: Likewise.
38955 * manual/examples/testpass.c: Likewise.
38956 * manual/examples/timeval_subtract.c: Likewise.
38959 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38961 * manual/timeval_subtract.c.texi: ... here, new file.
38963 2012-03-02 David S. Miller <davem@davemloft.net>
38965 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38967 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38970 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38971 (__sin): Save and restore rounding mode and use round-to-nearest
38972 for all computations.
38973 (__cos): Save and restore rounding mode and use round-to-nearest
38974 for all computations.
38975 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38977 (tan): Save and restore rounding mode and use round-to-nearest for
38979 * math/libm-test.inc (cos_test_tonearest): New function.
38980 (cos_test_towardzero): Likewise.
38981 (cos_test_downward): Likewise.
38982 (cos_test_upward): Likewise.
38983 (sin_test_tonearest): Likewise.
38984 (sin_test_towardzero): Likewise.
38985 (sin_test_downward): Likewise.
38986 (sin_test_upward): Likewise.
38987 (tan_test_tonearest): Likewise.
38988 (tan_test_towardzero): Likewise.
38989 (tan_test_downward): Likewise.
38990 (tan_test_upward): Likewise.
38991 (main): Call the new functions.
38992 * sysdeps/i386/fpu/libm-test-ulps: Update.
38993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38996 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38997 small n, then large n, before computing and testing k+n.
38998 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38999 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39001 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39003 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39004 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39005 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39006 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39007 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39008 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39009 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39010 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39011 * math/libm-test.inc (scalbn_test): Add more tests.
39012 (scalbln_test): Likewise.
39014 * manual/filesys.texi (mode_t): Describe constraints on size and
39015 signedness, not exact equivalence to a particular type.
39017 (ino64_t): Likewise.
39019 (nlink_t): Likewise.
39020 (blkcnt_t): Likewise.
39021 (blkcnt64_t): Likewise.
39022 * manual/llio.texi (off_t): Likewise.
39025 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39026 (__ieee754_exp): Save and restore rounding mode and use
39027 round-to-nearest for all computations.
39028 * math/libm-test.inc (exp_test_tonearest): New function.
39029 (exp_test_towardzero): Likewise.
39030 (exp_test_downward): Likewise.
39031 (exp_test_upward): Likewise.
39032 (main): Call the new functions.
39033 * sysdeps/i386/fpu/libm-test-ulps: Update.
39034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39036 2012-03-01 Chris Demetriou <cgd@google.com>
39038 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39039 have predictable order.
39041 2012-03-01 David S. Miller <davem@davemloft.net>
39043 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39045 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39046 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39047 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39048 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39050 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39051 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39052 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39054 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39055 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39056 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39057 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39058 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39062 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39063 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39064 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39066 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39067 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39068 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39069 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39070 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39072 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39073 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39074 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39075 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39076 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39077 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39078 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39079 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39080 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39081 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39082 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39083 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39084 * sysdeps/sparc/elf/configure: Regenerated.
39086 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39088 * configure.in (AS, LD): Require binutils 2.20 or later.
39089 * configure: Regenerated.
39090 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39091 as required minimum version.
39092 * INSTALL: Regenerated.
39096 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39097 before squaring exponent.
39098 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39099 bottom long double and 27 bits of top long double before squaring
39101 * math/libm-test.inc (erfc_test): Add more tests.
39102 * sysdeps/i386/fpu/libm-test-ulps: Update.
39103 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39106 2012-03-01 Kai Tietz <ktietz@redhat.com>
39108 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39109 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39110 containing bit-fields.
39111 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39112 * soft-fp/single.h (_FP_UNION_S): Likewise.
39113 * soft-fp/double.h (_FP_UNION_D): Likewise.
39115 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39118 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39119 not include ../strcmp.S.
39120 [USE_AS_STRNCASECMP_L]: Likewise.
39121 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39122 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39123 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39124 (__strncasecmp_l_ia32): Define as alias to
39125 __strncasecmp_l_nonascii.
39128 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39129 * sysdeps/i386/fpu/libm-test-ulps: Update.
39130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39132 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39135 2012-02-29 Jeff Law <law@redhat.com>
39137 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39138 out of bounds read.
39140 2012-02-29 Marek Polacek <polacek@redhat.com>
39143 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39144 * elf/Makefile: Add rules to run tst-unused-dep.out.
39146 2012-02-28 David S. Miller <davem@davemloft.net>
39148 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39149 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39151 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39152 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39153 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39155 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39157 * math/libm-test.inc (llround_test): Move one test from
39158 lround_test. Use TEST_f_L in moved test.
39159 (lround_test): Move misplaced test to llround_test. Add testcase
39162 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39164 * sysdeps/x86_64/fpu/e_expf.S: New file.
39165 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39167 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39170 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39171 of remain_len that may cause incomplete multi-byte character and
39173 * posix/bug-regex33.c: New file.
39174 * posix/Makefile (tests): Add bug-regex33.
39176 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39178 * manual/macros.texi: New file.
39179 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39180 * manual/libc.texinfo: Include macros.texi.
39181 * manual/creatute.texi: Likewise.
39182 * manual/install.texi: Likewise.
39183 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39184 @glibcadj{} in references to the GNU C Library.
39185 * manual/charset.texi: Likewise.
39186 * manual/conf.texi: Likewise.
39187 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39188 when not using those macros.
39189 * manual/creature.texi: Likewise.
39190 * manual/crypt.texi: Likewise.
39191 * manual/errno.texi: Likewise.
39192 * manual/filesys.texi: Likewise.
39193 * manual/header.texi: Likewise.
39194 * manual/install.texi: Likewise.
39195 * manual/intro.texi: Likewise.
39196 * manual/io.texi: Likewise.
39197 * manual/job.texi: Likewise.
39198 * manual/lang.texi: Likewise.
39199 * manual/libc.texiinfo: Likewise.
39200 * manual/llio.texi: Likewise.
39201 * manual/locale.texi: Likewise.
39202 * manual/maint.texi: Likewise.
39203 * manual/math.texi: Likewise.
39204 * manual/memory.texi: Likewise.
39205 * manual/message.texi: Likewise.
39206 * manual/nss.texi: Likewise.
39207 * manual/pattern.texi: Likewise.
39208 * manual/process.texi: Likewise.
39209 * manual/resource.texi: Likewise.
39210 * manual/search.texi: Likewise.
39211 * manual/setjmp.texi: Likewise.
39212 * manual/signal.texi: Likewise.
39213 * manual/socket.texi: Likewise.
39214 * manual/startup.texi: Likewise.
39215 * manual/stdio.texi: Likewise.
39216 * manual/string.texi: Likewise.
39217 * manual/sysinfo.texi: Likewise.
39218 * manual/syslog.texi: Likewise.
39219 * manual/terminal.texi: Likewise.
39220 * manual/time.texi: Likewise.
39221 * manual/users.texi: Likewise.
39222 * INSTALL: Regenerated.
39223 * NOTES: Regenerated.
39224 * sysdeps/gnu/errlist.c: Regenerated.
39226 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39228 * include/dirent.h: Include <dirstream.h> before
39231 2012-02-28 David S. Miller <davem@davemloft.net>
39233 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39234 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39235 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39236 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39238 2012-02-27 David S. Miller <davem@davemloft.net>
39240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39242 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39243 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39246 frame pointer instead of stack pointer relative arg slot.
39247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39248 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39249 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39251 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39254 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39256 2012-02-27 David S. Miller <davem@davemloft.net>
39258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39262 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39263 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39264 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39265 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39267 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39269 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39270 later. Allow versions 5-9.
39271 * configure: Regenerated.
39272 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39273 required minimum version and 4.6 as recommended version. Do not
39274 mention bugs in GCC 2.7 and 2.8.
39275 * INSTALL: Regenerated.
39277 2012-02-27 David S. Miller <davem@davemloft.net>
39279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39283 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39284 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39285 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39286 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39288 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39289 manipulate bits before adding and subtracting TWO112[sx].
39290 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39292 2012-02-27 Roland McGrath <roland@hack.frob.com>
39295 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39296 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39297 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39298 being in POSIX, because they are in 1003.1-2008.
39300 * rt/tst-aio.c: Include <fcntl.h>.
39301 * rt/tst-aio7.c: Likewise.
39302 * rt/tst-aio64.c: Likewise.
39304 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39306 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39308 * manual/install.texi (--with-headers): Describe headers as
39309 interface headers, not private headers.
39310 (Specific advice for GNU/Linux systems): Describe use of headers
39311 from "make headers_install", not private headers from older
39313 * INSTALL: Regenerated.
39314 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39316 * sysdeps/unix/sysv/linux/configure: Regenerated.
39318 * manual/llio.texi (fclean): Remove documentation.
39320 * manual/Makefile (libc-texi-generated): New variable. Include
39322 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39323 $(libc-texi-generated), not duplicated list of files.
39324 (version.texi, stamp-version): New rules.
39325 (realclean): Remove $(libc-texi-generated), not individual files
39326 from that list. Do not remove dir-add.texinfo.
39327 * manual/libc.texinfo: Comment out uses of edition numbers and
39328 references to printed manual. Remove last-updated dates.
39329 (EDITION): Comment out.
39331 (VERSION, UPDATED): Remove.
39332 (version.texi): Include.
39334 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39336 * sysdeps/posix/spawni.c: Include <signal.h>.
39337 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39338 * sysdeps/pthread/aio_fsync.c: Likewise.
39340 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39342 * conform/Makefile (tests): Run only when not cross-compiling and
39343 when fast-check is not defined.
39345 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39346 * conform/data/limits.h-data: Fixes for POSIX2008.
39347 * conform/run-conformtest.sh: Run all tests.
39348 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39350 * include/bits/dlfcn.h: Likewise.
39351 * include/langinfo.h: Likewise.
39352 * include/monetary.h: Likewise.
39353 * include/sys/poll.h: Likewise.
39355 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39357 * posix/spawn.h: Define __need_sigset_t.
39358 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39359 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39360 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39361 to get sigevent_t only.
39362 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39363 only for __USE_GNU.
39364 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39365 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39366 process_vm_writev only for __USE_GNU.
39367 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39369 * conform/Makefile: For now ignore errors from run-conformtest.
39370 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39371 POSIX to avoid namespace pollution. Don't prepend headers.
39372 * conform/data/aio.h-data: Fixes for POSIX testing.
39373 * conform/data/fcntl.h-data: Likewise.
39374 * conform/data/glob.h-data: Likewise.
39375 * conform/data/grp.h-data: Likewise.
39376 * conform/data/pthread.h-data: Likewise.
39377 * conform/data/pwd.h-data: Likewise.
39378 * conform/data/signal.h-data: Likewise.
39379 * conform/data/spawn.h-data: Likewise.
39380 * conform/data/stdio.h-data: Likewise.
39381 * conform/data/stdlib.h-data: Likewise.
39382 * conform/data/stropts.h-data: Likewise.
39383 * conform/data/sys/mman.h-data: Likewise.
39384 * conform/data/sys/stat.h-data: Likewise.
39385 * conform/data/sys/types.h-data: Likewise.
39386 * conform/data/sys/wait.h-data: Likewise.
39387 * conform/data/time.h-data: Likewise.
39388 * conform/data/unistd.h-data: Likewise.
39389 * conform/data/utime.h-data: Likewise.
39391 * io/sys/stat.h: fchmod was always in POSIX.
39392 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39393 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39394 * rt/aio.h: Define __need_timespec before including <time.h>.
39395 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39396 struct. Add forward declaration of pthread_attr_t and use it in
39398 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39399 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39400 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39401 always remove CLK_TCK definition.
39403 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39405 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39407 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39409 * conform/run-conformtest.sh: New file.
39410 * conform/Makefile: Run run-conformtest for tests.
39411 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39414 * conform/data/uchar.h-data: New file.
39415 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39416 * conform/data/arpa/inet.h-data: Likewise.
39417 * conform/data/assert.h-data: Likewise.
39418 * conform/data/complex.h-data: Likewise.
39419 * conform/data/cpio.h-data: Likewise.
39420 * conform/data/ctype.h-data: Likewise.
39421 * conform/data/dirent.h-data: Likewise.
39422 * conform/data/dlfcn.h-data: Likewise.
39423 * conform/data/errno.h-data: Likewise.
39424 * conform/data/fcntl.h-data: Likewise.
39425 * conform/data/float.h-data: Likewise.
39426 * conform/data/fmtmsg.h-data: Likewise.
39427 * conform/data/fnmatch.h-data: Likewise.
39428 * conform/data/ftw.h-data: Likewise.
39429 * conform/data/glob.h-data: Likewise.
39430 * conform/data/grp.h-data: Likewise.
39431 * conform/data/iconv.h-data: Likewise.
39432 * conform/data/inttypes.h-data: Likewise.
39433 * conform/data/langinfo.h-data: Likewise.
39434 * conform/data/libgen.h-data: Likewise.
39435 * conform/data/limits.h-data: Likewise.
39436 * conform/data/locale.h-data: Likewise.
39437 * conform/data/math.h-data: Likewise.
39438 * conform/data/monetary.h-data: Likewise.
39439 * conform/data/mqueue.h-data: Likewise.
39440 * conform/data/ndbm.h-data: Likewise.
39441 * conform/data/net/if.h-data: Likewise.
39442 * conform/data/netdb.h-data: Likewise.
39443 * conform/data/netinet/in.h-data: Likewise.
39444 * conform/data/nl_types.h-data: Likewise.
39445 * conform/data/poll.h-data: Likewise.
39446 * conform/data/pthread.h-data: Likewise.
39447 * conform/data/pwd.h-data: Likewise.
39448 * conform/data/regex.h-data: Likewise.
39449 * conform/data/sched.h-data: Likewise.
39450 * conform/data/search.h-data: Likewise.
39451 * conform/data/semaphore.h-data: Likewise.
39452 * conform/data/setjmp.h-data: Likewise.
39453 * conform/data/signal.h-data: Likewise.
39454 * conform/data/spawn.h-data: Likewise.
39455 * conform/data/stdarg.h-data: Likewise.
39456 * conform/data/stdio.h-data: Likewise.
39457 * conform/data/stdlib.h-data: Likewise.
39458 * conform/data/string.h-data: Likewise.
39459 * conform/data/strings.h-data: Likewise.
39460 * conform/data/stropts.h-data: Likewise.
39461 * conform/data/sys/ipc.h-data: Likewise.
39462 * conform/data/sys/mman.h-data: Likewise.
39463 * conform/data/sys/msg.h-data: Likewise.
39464 * conform/data/sys/resource.h-data: Likewise.
39465 * conform/data/sys/select.h-data: Likewise.
39466 * conform/data/sys/sem.h-data: Likewise.
39467 * conform/data/sys/shm.h-data: Likewise.
39468 * conform/data/sys/socket.h-data: Likewise.
39469 * conform/data/sys/stat.h-data: Likewise.
39470 * conform/data/sys/statvfs.h-data: Likewise.
39471 * conform/data/sys/time.h-data: Likewise.
39472 * conform/data/sys/timeb.h-data: Likewise.
39473 * conform/data/sys/times.h-data: Likewise.
39474 * conform/data/sys/types.h-data: Likewise.
39475 * conform/data/sys/uio.h-data: Likewise.
39476 * conform/data/sys/un.h-data: Likewise.
39477 * conform/data/sys/utsname.h-data: Likewise.
39478 * conform/data/sys/wait.h-data: Likewise.
39479 * conform/data/syslog.h-data: Likewise.
39480 * conform/data/tar.h-data: Likewise.
39481 * conform/data/termios.h-data: Likewise.
39482 * conform/data/utime.h-data: Likewise.
39483 * conform/data/utmpx.h-data: Likewise.
39484 * conform/data/varargs.h-data: Likewise.
39485 * conform/data/wchar.h-data: Likewise.
39486 * conform/data/wctype.h-data: Likewise.
39487 * conform/data/wordexp.h-data: Likewise.
39489 * include/stropts.h: New file.
39490 * include/uchar.h: New file.
39491 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39492 * include/assert.h: Likewise.
39493 * include/ctype.h: Likewise.
39494 * include/dirent.h: Likewise.
39495 * include/dlfcn.h: Likewise.
39496 * include/fcntl.h: Likewise.
39497 * include/fnmatch.h: Likewise.
39498 * include/glob.h: Likewise.
39499 * include/grp.h: Likewise.
39500 * include/libio.h: Likewise.
39501 * include/locale.h: Likewise.
39502 * include/math.h: Likewise.
39503 * include/net/if.h: Likewise.
39504 * include/netdb.h: Likewise.
39505 * include/netinet/in.h: Likewise.
39506 * include/pthread.h: Likewise.
39507 * include/pwd.h: Likewise.
39508 * include/regex.h: Likewise.
39509 * include/sched.h: Likewise.
39510 * include/search.h: Likewise.
39511 * include/setjmp.h: Likewise.
39512 * include/signal.h: Likewise.
39513 * include/stdio.h: Likewise.
39514 * include/stdlib.h: Likewise.
39515 * include/string.h: Likewise.
39516 * include/sys/cdefs.h: Likewise.
39517 * include/sys/mman.h: Likewise.
39518 * include/sys/msg.h: Likewise.
39519 * include/sys/resource.h: Likewise.
39520 * include/sys/select.h: Likewise.
39521 * include/sys/socket.h: Likewise.
39522 * include/sys/stat.h: Likewise.
39523 * include/sys/statvfs.h: Likewise.
39524 * include/sys/time.h: Likewise.
39525 * include/sys/times.h: Likewise.
39526 * include/sys/uio.h: Likewise.
39527 * include/sys/utsname.h: Likewise.
39528 * include/sys/wait.h: Likewise.
39529 * include/termios.h: Likewise.
39530 * include/time.h: Likewise.
39531 * include/ulimit.h: Likewise.
39532 * include/unistd.h: Likewise.
39533 * include/utime.h: Likewise.
39534 * include/wchar.h: Likewise.
39535 * include/wctype.h: Likewise.
39536 * include/wordexp.h: Likewise.
39538 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39540 * time/time.h: TIME_UTC must be a macro.
39541 Make timespec_get available for ISO C11 only as well.
39543 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39545 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39546 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39548 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39550 * configure.in: Use -o not -a in test for unsupported multi-arch.
39552 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39554 * manual/texinfo.tex: Update to version 2012-01-19.16.
39556 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39558 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39560 2012-02-24 Roland McGrath <roland@hack.frob.com>
39563 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39564 * manual/fdl-1.3.texi: New file.
39565 * manual/fdl-1.1.texi: File removed.
39568 * manual/libc.texinfo (FDL_VERSION): New @set.
39569 Use it for mention of FDL in cover text.
39570 (Documentation License): Use it in @include file name.
39572 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39573 Roland McGrath <roland@hack.frob.com>
39576 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39577 (not LONG_LONG_MAX and LONG_LONG_MIN.
39578 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39579 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39581 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39583 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39587 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39588 manipulate bits before adding and subtracting TWO23[sx].
39589 * math/libm-test.inc (nearbyint_test): Add more tests.
39591 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39594 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39595 bits before adding and subtracting TWO23[sx].
39596 * math/libm-test.inc (rint_test): Add more tests.
39597 (rint_test_tonearest): Likewise.
39598 (rint_test_towardzero): Likewise.
39599 (rint_test_downward): Likewise.
39600 (rint_test_upward: Likewise.
39602 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39605 * include/stdc-predef.h: New file. Extracted from features.h.
39606 * include/features.h: Include stdc-predef.h.
39607 * Makefile (headers): Add stdc-predef.h.
39608 * CONFORMANCE (Compiler limitations): Update.
39610 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39612 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39614 2012-02-21 David S. Miller <davem@davemloft.net>
39616 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39617 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39619 2012-02-20 David S. Miller <davem@davemloft.net>
39621 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39622 using a normal save/restore sequence, rather than allocating a
39623 dummy stack frame just to store a frame pointer and restore.
39624 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39626 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39628 * manual/install.texi: Fix stray word in line-wrapped comment.
39630 2012-02-20 David S. Miller <davem@davemloft.net>
39632 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39633 both binutils and gcc support GOTDATA.
39635 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39636 "rd %pc" in the PIC register setup sequences.
39638 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39639 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39640 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39641 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39642 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39643 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39644 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39645 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39647 (SYSCALL_ERROR_HANDLER): Likewise.
39648 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39649 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39651 (SYSCALL_ERROR_HANDLER): Likewise.
39653 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39654 (HAVE_GCC_GOTDATA): New.
39655 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39656 relocation support in both binutils and gcc.
39657 * sysdeps/sparc/elf/configure: Regenerate.
39659 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39660 * sysdeps/sparc/sparc32/elf/configure: Delete.
39661 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39662 * sysdeps/sparc/sparc64/elf/configure: Delete.
39663 * sysdeps/sparc/elf/configure.in: New file.
39664 * sysdeps/sparc/elf/configure: Generate.
39666 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39667 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39668 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39669 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39670 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39672 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39674 * manual/install.texi: Do not mention specific glibc version
39676 * manual/libc.texinfo (VERSION, UPDATED): Update.
39677 (@copying): Use @copyright{} and range of years.
39679 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39682 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39683 [crti.S not in sysdirs] (generated): Do not append.
39684 [crti.S not in sysdirs] (omit-deps): Likewise.
39685 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39686 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39687 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39688 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39689 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39691 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39692 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39693 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39694 * csu/defs.awk: Remove file.
39695 * sysdeps/generic/initfini.c: Likewise.
39696 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39698 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39701 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39703 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39704 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39705 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39706 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39707 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39708 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39710 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39711 (__EPOLL_PACKED): Define to empty if not defined by
39713 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39717 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39719 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39720 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39721 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39722 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39724 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39728 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39730 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39732 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39733 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39734 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39737 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39739 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39740 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39742 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39744 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39745 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39747 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39749 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39752 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39754 * math/w_acos.c: Use non-signaling floating-point comparisons.
39755 * math/w_acosf.c: Likewise.
39756 * math/w_acosh.c: Likewise.
39757 * math/w_acoshf.c: Likewise.
39758 * math/w_acoshl.c: Likewise.
39759 * math/w_acosl.c: Likewise.
39760 * math/w_asin.c: Likewise.
39761 * math/w_asinf.c: Likewise.
39762 * math/w_asinl.c: Likewise.
39763 * math/w_atanh.c: Likewise.
39764 * math/w_atanhf.c: Likewise.
39765 * math/w_atanhl.c: Likewise.
39766 * math/w_exp2.c: Likewise.
39767 * math/w_exp2f.c: Likewise.
39768 * math/w_exp2l.c: Likewise.
39769 * math/w_j0.c: Likewise.
39770 * math/w_j0f.c: Likewise.
39771 * math/w_j0l.c: Likewise.
39772 * math/w_j1.c: Likewise.
39773 * math/w_j1f.c: Likewise.
39774 * math/w_j1l.c: Likewise.
39775 * math/w_jn.c: Likewise.
39776 * math/w_jnf.c: Likewise.
39777 * math/w_log.c: Likewise.
39778 * math/w_log10.c: Likewise.
39779 * math/w_log10f.c: Likewise.
39780 * math/w_log10l.c: Likewise.
39781 * math/w_log2.c: Likewise.
39782 * math/w_log2f.c: Likewise.
39783 * math/w_log2l.c: Likewise.
39784 * math/w_logf.c: Likewise.
39785 * math/w_logl.c: Likewise.
39786 * math/w_sqrt.c: Likewise.
39787 * math/w_sqrtf.c: Likewise.
39788 * math/w_sqrtl.c: Likewise.
39789 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39790 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39791 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39792 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39793 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39795 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39798 * manual/string.texi (strnlen): Use correct parameter name in
39799 equivalent expression.
39801 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39804 * manual/users.texi (seteuid): Consistently use neweuid for
39807 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39810 * manual/nss.texi (Services in the NSS configuration): Correct
39811 list of services in example configuration file.
39813 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39816 * manual/arith.texi: Remove statements about negative zero
39817 behaving identically to zero.
39819 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39822 * manual/install.texi: Do not document upgrading from libc5.
39824 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39827 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39829 2012-02-18 David S. Miller <davem@davemloft.net>
39831 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39832 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39833 %o7 across the call.
39834 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39836 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39837 SETUP_PIC_REG_LEAF.
39838 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39839 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39840 * sysdeps/sparc/crtn.S: Likewise.
39842 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39844 * aout/Makefile: Remove.
39846 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39849 * manual/examples/argp-ex1.c (main): Format definition in GNU
39851 * manual/examples/argp-ex2.c (main): Likewise.
39852 * manual/examples/argp-ex3.c (main): Likewise.
39853 * manual/examples/argp-ex4.c (main): Likewise.
39854 * manual/examples/longopt.c (main): Use new-style prototype
39856 * manual/examples/strncat.c (main): Specify return type and use
39857 (void) for arguments.
39858 * manual/examples/subopt.c (main): Use char **argv argument.
39860 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39863 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39866 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39869 * manual/string.texi (strchr): Change when strchrnul is
39872 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39875 * manual/locale.texi (setlocale): Document LOCPATH.
39877 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39880 * manual/process.texi (execle): Move @dots{} before last argument.
39882 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39885 * manual/charset.texi (Generic Charset Conversion): Fix typo
39886 (LC_TYPE -> LC_CTYPE).
39888 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39891 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39892 (scalbnf): Likewise.
39893 (scalbnl): Likewise.
39894 (scalbln): Likewise.
39895 (scalblnf): Likewise.
39896 (scalblnl): Likewise.
39897 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39898 (vwarnx): Likewise.
39901 * manual/filesys.texi (telldir): Use braces around return type.
39902 * manual/llio.texi (mmap): Add space after comma.
39903 (mmap64): Likewise.
39904 * manual/math.texi (jn): Use @var{} on parameter names.
39910 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39912 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39914 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39915 (sched_get_priority_max): Likewise.
39916 * manual/signal.texi (sigvec): Add space after comma.
39917 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39919 (if_indextoname): Likewise.
39920 (if_freenameindex): Likewise.
39921 (sendto): Use ',' instead of '.' in prototype.
39922 * manual/startup.texi (syscall): Use @dots{} instead of literal
39924 * manual/stdio.texi (__fpending): Separate initial words of
39925 paragraph from @deftypefun line.
39926 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39928 (vsyslog): Use @var{} on parameter names.
39929 * manual/terminal.texi (stty): Use @var{} on parameter names.
39930 * manual/users.texi (getutmp): Use @var{} on parameter names.
39931 (getutmpx): Likewise.
39933 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39936 * manual/stdio.texi (fopen): Fix typos in description of
39939 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39942 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39943 get clock_id definition.
39945 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39948 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39949 (madvise): Cast every argument to void on its own.
39951 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39954 * manual/startup.texi (Exit Status): Fix typo.
39956 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39959 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39960 * manual/examples/argp-ex2.c: Likewise.
39961 * manual/examples/argp-ex3.c: Likewise.
39963 2012-02-16 Richard Henderson <rth@redhat.com>
39965 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39966 * sysdeps/s390/s390-32/initfini.c: Remove.
39967 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39968 * sysdeps/s390/s390-64/initfini.c: Remove.
39970 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39972 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39973 compiler output for sysdeps/generic/initfini.c.
39974 * sysdeps/sh/elf/initfini.c: Remove file.
39976 2012-02-16 David S. Miller <davem@davemloft.net>
39979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39981 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39982 * sysdeps/sparc/crti.S: New file.
39983 * sysdeps/sparc/crtn.S: New file.
39984 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39985 * sysdeps/sparc/sparc64/Makefile: Likewise.
39987 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39990 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39992 2012-02-15 Roland McGrath <roland@hack.frob.com>
39995 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39997 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39998 (write, read, close): Likewise.
39999 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40001 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40003 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40004 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40005 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40006 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40008 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40012 2012-02-14 Marek Polacek <polacek@redhat.com>
40014 * sysdeps/x86_64/crti.S: New file.
40015 * sysdeps/x86_64/crtn.S: New file.
40016 * sysdeps/x86_64/elf/initfini.c: Remove file.
40018 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40020 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40021 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40022 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40023 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40025 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40029 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40031 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40032 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40033 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40034 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40036 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40040 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40042 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40043 __feraiseexcept instead of feraiseexcept.
40045 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40046 nanosleep invocations.
40047 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40048 strings, and add error checking for a nanosleep invocations.
40050 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40052 Replace FSF snail mail address with URLs, as per GNU coding standards.
40053 Most of the snail mail addresses were wrong anyway, and omitting
40054 them makes the source code easier to maintain. Almost all of the
40055 changes are to license notices and to locale LC_IDENTIFICATION
40056 addresses, except for this one:
40057 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40058 not its snail mail address.
40060 2012-02-09 Richard Henderson <rth@twiddle.net>
40062 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40063 of kernel-features.h.
40065 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40067 2012-02-08 Marek Polacek <polacek@redhat.com>
40069 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40070 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40071 * sysdeps/gnu/_G_config.h: Likewise.
40072 * sysdeps/generic/_G_config.h: Likewise.
40074 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40076 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40080 * sysdeps/powerpc/powerpc32/crti.S: New file.
40081 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40082 * sysdeps/powerpc/powerpc64/crti.S: New file.
40083 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40085 * Makeconfig (have-initfini): Don't set.
40086 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40087 * configure.in (nopic_initfini): Don't substitute.
40088 * config.h.in (HAVE_INITFINI): Don't #undef.
40089 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40090 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40092 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40094 Support crti.S and crtn.S provided directly by architectures.
40095 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40096 [crti.S in sysdirs] (omit-deps): Likewise.
40097 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40098 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40099 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40100 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40101 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40102 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40103 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40104 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40105 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40106 compiler output for sysdeps/generic/initfini.c.
40107 * sysdeps/i386/elf/Makefile: Remove file.
40108 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40110 2012-02-07 Marek Polacek <polacek@redhat.com>
40112 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40113 * sysdeps/gnu/_G_config.h: Likewise.
40114 * sysdeps/mach/hurd/_G_config.h: Likewise.
40116 2012-02-07 Marek Polacek <polacek@redhat.com>
40118 * math/Makefile (tests): Add tst-CMPLX2.
40119 * math/tst-CMPLX2.c: New file.
40121 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40123 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40125 * math/libm-test.inc (jn_test): Add missing L suffix.
40127 2012-02-06 Marek Polacek <polacek@redhat.com>
40129 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40130 * sysdeps/i386/fpu/e_powf.S: Likewise.
40131 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40132 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40133 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40134 * sysdeps/i386/fpu/e_pow.S: Likewise.
40135 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40136 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40137 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40138 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40139 * sysdeps/i386/fpu/e_log2.S: Likewise.
40140 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40141 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40142 * sysdeps/i386/fpu/e_powl.S: Likewise.
40143 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40144 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40145 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40146 * sysdeps/i386/fpu/e_logl.S: Likewise.
40147 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40148 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40149 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40150 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40151 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40152 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40153 * sysdeps/i386/fpu/e_log.S: Likewise.
40154 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40155 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40156 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40157 * sysdeps/i386/fpu/e_logf.S: Likewise.
40158 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40159 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40160 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40161 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40162 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40163 * sysdeps/i386/fpu/e_log10.S: Likewise.
40164 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40165 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40166 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40167 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40168 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40169 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40170 * sysdeps/i386/asm-syntax.h: Likewise.
40171 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40172 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40173 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40174 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40175 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40176 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40177 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40178 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40179 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40180 * sysdeps/powerpc/sysdep.h: Likewise.
40181 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40182 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40184 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40187 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40189 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40191 * sysdeps/i386/sysdep.h: Include <features.h>.
40192 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40195 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40197 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40199 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40202 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40204 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40205 (SETUP_PIC_REG): Use GET_PC_THUNK.
40206 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40209 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40211 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40212 for non-PIC compilation.
40213 (SETUP_PIC_REG): Add .p2align directive.
40214 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40215 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40216 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40217 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40218 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40219 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40220 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40221 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40222 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40223 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40224 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40225 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40226 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40227 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40228 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40229 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40230 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40231 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40232 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40233 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40234 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40235 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40236 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40237 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40238 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40240 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40241 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40242 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40243 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40244 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40245 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40246 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40247 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40248 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40249 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40250 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40251 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40252 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40253 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40254 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40256 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40258 * math/tst-CMPLX.c: Include <stdio.h>.
40260 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40262 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40264 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40265 * sysdeps/sparc/bits/mathdef.h: Likewise.
40267 2012-01-31 Marek Polacek <polacek@redhat.com>
40269 * libio/libio.h: Don't define _PARAMS.
40270 * locale/programs/config.h: Don't define PARAMS.
40271 * stdlib/strtol_l.c: Likewise.
40272 (__strtol_l): Remove PARAMS from the prototype.
40274 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40276 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40277 names. Just use the correct names. Remove unnecessary wrapper
40279 * malloc/arena.c: Likewise.
40280 * malloc/hooks.c: Likewise.
40282 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40283 ARENA_TEST says not to. Simplify test for creation of a new arena.
40284 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40286 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40288 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40290 (update_get_addr): New function.
40291 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40292 GET_ADDR_MODULE parameter.
40294 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40296 * crypt/cert.c: Remove __STDC__ conditionals.
40297 * crypt/crypt-entry.c: Likewise.
40298 * crypt/crypt_util.c: Likewise.
40299 * libio/filedoalloc.c: Likewise.
40300 * libio/fileops.c: Likewise.
40301 * libio/genops.c: Likewise.
40302 * libio/iofclose.c: Likewise.
40303 * libio/iofdopen.c: Likewise.
40304 * libio/iofopen.c: Likewise.
40305 * libio/iofopen64.c: Likewise.
40306 * libio/iogetdelim.c: Likewise.
40307 * libio/iopopen.c: Likewise.
40308 * libio/obprintf.c: Likewise.
40309 * libio/oldfileops.c: Likewise.
40310 * libio/oldiofclose.c: Likewise.
40311 * libio/oldiofdopen.c: Likewise.
40312 * libio/oldiofopen.c: Likewise.
40313 * libio/oldiopopen.c: Likewise.
40314 * libio/wfiledoalloc.c: Likewise.
40315 * libio/wgenops.c: Likewise.
40316 * locale/programs/xmalloc.c: Likewise.
40317 * misc/syslog.c: Likewise.
40318 * stdio-common/xbug.c: Likewise.
40319 * string/memchr.c: Likewise.
40320 * string/memcmp.c: Likewise.
40321 * string/memrchr.c: Likewise.
40322 * string/rawmemchr.c: Likewise.
40323 * sysdeps/posix/getcwd.c: Likewise.
40324 * time/strftime_l.c: Likewise.
40326 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40328 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40329 * config.make.in (config-cflags-sse2avx): Define.
40330 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40333 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40335 * scripts/config.guess: Update from upstream config git repository.
40336 * scripts/config.sub: Likewise.
40338 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40340 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40342 (R_TILEPRO_*, R_TILEGX_*): New macros.
40344 * scripts/firstversions.awk: Fix bug in version range handling.
40346 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40348 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40350 * include/sys/epoll.h: New file.
40351 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40354 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40356 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40357 Avoid unnecessary __WORDSIZE == 64 test.
40358 (fmaxf): Use VEX format if possible.
40363 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40364 * math/math_private.h: Remove libc_fegetround* and
40366 * sysdeps/i386/configure.in: Check for -msse2avx.
40367 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40368 also if SSE2AVX is defined.
40369 Remove libc_fegetround* and libc_fesetround*.
40370 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40371 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40372 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40374 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40375 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40376 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40377 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40378 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40380 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40382 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40384 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40386 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40388 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40391 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40393 * Makeconfig (libm): Define.
40394 * elf/Makefile: Add rules to build and run tst-relsort1.
40395 * elf/tst-relsort1.c: New file.
40396 * elf/tst-relsort1mod1.c: New file.
40397 * elf/tst-relsort1mod2.c: New file.
40399 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40401 * math/s_ldexp.c: Remove __STDC__ conditionals.
40402 * math/s_ldexpf.c: Likewise.
40403 * math/s_ldexpl.c: Likewise.
40404 * math/s_nextafter.c: Likewise.
40405 * math/s_nexttowardf.c: Likewise.
40406 * math/s_significand.c: Likewise.
40407 * math/s_significandf.c: Likewise.
40408 * math/s_significandl.c: Likewise.
40409 * math/w_jnl.c: Likewise.
40410 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40411 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40412 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40413 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40414 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40416 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40417 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40418 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40419 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40420 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40421 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40422 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40423 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40424 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40425 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40426 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40427 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40429 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40430 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40431 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40432 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40433 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40434 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40435 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40436 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40437 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40438 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40439 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40440 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40441 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40442 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40443 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40444 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40445 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40446 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40447 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40448 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40449 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40450 * sysdeps/ieee754/k_standard.c: Likewise.
40451 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40452 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40453 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40454 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40455 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40456 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40457 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40458 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40459 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40460 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40461 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40462 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40463 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40464 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40465 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40466 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40467 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40468 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40469 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40470 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40471 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40472 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40473 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40474 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40475 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40476 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40477 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40478 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40480 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40481 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40482 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40483 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40484 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40485 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40486 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40487 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40488 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40489 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40490 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40491 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40492 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40493 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40494 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40495 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40496 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40497 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40498 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40499 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40500 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40501 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40502 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40503 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40504 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40505 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40506 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40507 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40508 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40509 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40510 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40511 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40512 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40513 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40514 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40515 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40516 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40517 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40518 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40519 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40520 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40521 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40522 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40523 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40524 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40525 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40526 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40527 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40528 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40529 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40530 * sysdeps/ieee754/s_matherr.c: Likewise.
40531 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40532 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40534 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40536 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40538 * crypt/md5.h: Remove __STDC__ conditionals.
40539 * libio/libioP.h: Likewise.
40540 * locale/programs/config.h: Likewise.
40541 * sysdeps/generic/sysdep.h: Likewise.
40542 * sysdeps/i386/asm-syntax.h: Likewise.
40543 * sysdeps/s390/asm-syntax.h: Likewise.
40544 * sysdeps/unix/sysdep.h: Likewise.
40545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40548 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40550 * libio/libio.h: Remove __STDC__ conditionals.
40551 * malloc/obstack.h: Likewise.
40552 * math/complex.h: Likewise.
40553 * math/math.h: Likewise.
40554 * sysdeps/generic/_G_config.h: Likewise.
40555 * sysdeps/gnu/_G_config.h: Likewise.
40556 * sysdeps/mach/hurd/_G_config.h: Likewise.
40557 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40558 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40559 * sysdeps/sparc/bits/mathdef.h: Likewise.
40561 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40564 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40565 Clean up HAS_* macros.
40566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40567 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40569 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40571 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40572 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40573 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40574 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40575 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40577 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40579 * elf/tst-unique3.cc (gets): Remove declaration.
40580 * elf/tst-unique3lib.cc (gets): Likewise.
40581 * elf/tst-unique3lib2.cc (gets): Likewise.
40582 * elf/tst-unique4.cc (gets): Likewise.
40584 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40586 * include/stdio.h: Add C++ protection. Add gets declarations and
40588 * debug/tst-chk1.c: Don't declare gets here.
40589 * stdio-common/tst-gets.c: Likewise.
40591 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40593 * posix/glob: Remove directory.
40595 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40597 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40599 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40601 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40602 of the non-standard EPFNOSUPPORT.
40604 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40606 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40607 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40608 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40610 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40612 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40614 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40616 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40618 * nscd/grpcache.c (cache_addgr): Likewise.
40619 * nscd/hstcache.c (cache_addhst): Likewise.
40620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40621 * nscd/pwdcache.c (cache_addpw): Likewise.
40622 * nscd/servicescache.c (cache_addserv): Likewise.
40624 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40626 * malloc/malloc.c: Various cleanups.
40627 * malloc/hooks.c: Likewise.
40629 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40630 * stdlib/bug-fmtmsg1.c: New file.
40632 * stdlib/fmtmsg.c (init): Add missing unlock.
40633 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40635 2012-01-12 Marek Polacek <polacek@redhat.com>
40637 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40640 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40642 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40643 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40644 macro to ensure uniqueness of label name.
40645 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40646 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40648 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40650 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40652 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40653 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40654 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40655 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40657 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40659 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40661 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40662 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40663 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40665 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40667 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40668 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40669 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40670 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40672 * math/bits/math-finite.h: Add ldexp support.
40674 2012-01-10 Marek Polacek <polacek@redhat.com>
40676 * locale/programs/localedef.h (show_archive_content): Add noreturn
40679 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40681 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40683 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40685 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40687 * io/Makefile (headers): Add bits/poll2.h.
40689 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40692 typo #include statement.
40694 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40696 * include/sys/cdefs.h: Define __attribute_alloc_size.
40697 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40698 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40699 * elf/pldd.c: Likewise.
40700 * iconv/iconv_charmap.c: Likewise.
40701 * iconv/iconvconfig.c: Likewise.
40702 * iconv/strtab.c: Likewise.
40703 * locale/programs/locale.c: Likewise.
40704 * locale/programs/localedef.h: Likewise.
40705 * locale/programs/simple-hash.c: Likewise.
40706 * nscd/nscd.h: Likewise.
40707 * nss/makedb.c: Likewise.
40708 * sysdeps/generic/ldconfig.h: Likewise.
40709 * locale/programs/localedef.c: Remove xmalloc prototype.
40710 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40712 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40714 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40717 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40719 * math/Makefile (tests): Add tst-CMPLX.
40720 * math/tst-CMPLX.c: New file.
40722 * math/complex.h (CMPLXL): Fix typo.
40724 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40725 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40727 * debug/tst-chk1.c: Add poll and ppoll tests.
40728 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40729 * include/sys/poll.h: Add hidden proto for ppoll.
40730 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40731 * sysdeps/mach/hurd/ppoll.c: Likewise.
40732 * io/ppoll.c: Likewise.
40733 * debug/poll_chk.c: New file.
40734 * debug/ppoll_chk.c: New file.
40735 * include/bits/poll2.h: New file.
40736 * io/bits/poll2.h: New file.
40739 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40741 * configure.in: static is always set to yes. Remove.
40742 * config.make.in: Don't set build-static.
40743 * Makeconfig: Remove use of build-static.
40744 * dlfcn/Makefile: Likewise.
40745 * elf/Makefile: Likewise.
40746 * math/Makefile: Likewise.
40747 * misc/Makefile: Likewise.
40748 * nptl/Makefile: Likewise.
40749 * sysdeps/mach/hurd/Makefile: Likewise.
40751 * configure.in: PWD_P is not used anymore.
40752 * config.make.in: Remove PWD_P entry.
40754 * configure.in: Remove last remnants of RANLIB.
40755 No need to check for signed size_t anymore.
40756 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40758 Remove __builtin_expect test because we require at least gcc 3.4.
40759 * aclocal.m4: Likewise.
40761 * wcsmbs/mbrtoc16.c: Implement using towc function.
40762 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40763 * wcsmbs/wcsmbsload.c: Likewise.
40764 * iconv/gconv_simple.c: Likewise.
40765 * iconv/gconv_int.h: Likewise.
40766 * iconv/gconv_builtin.h: Likewise.
40767 * iconv/iconv_prog.c: Remove CHAR16 handling.
40769 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40771 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40773 * configure.in: Remove --with-elf and --enable-bounded options.
40774 Dont set base_machine for ia64. More non-ELF conditions removed.
40775 Remove testing and setting of leading underscore information.
40776 * config.make.in (build-bounded): Set to no.
40777 * config.h.in: Remove NO_UNDERSCORES entry.
40778 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40780 * csu/start.c: Remove !NO_UNDERSCORE code.
40781 * locale/localeinfo.h: Likewise.
40782 * sysdeps/generic/machine-gmon.h: Likewise.
40783 * sysdeps/generic/sysdep.h: Likewise.
40784 * sysdeps/i386/sysdep.h: Likewise.
40785 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40786 * sysdeps/mach/sysdep.h: Likewise.
40787 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40789 * sysdeps/sh/sysdep.h: Likewise.
40790 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40791 * sysdeps/unix/i386/sysdep.S: Likewise.
40792 * sysdeps/unix/sparc/start.c: Likewise.
40793 * sysdeps/unix/sparc/sysdep.S: Likewise.
40794 * sysdeps/unix/sparc/sysdep.h: Likewise.
40795 * sysdeps/unix/start.c: Likewise.
40796 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40797 * sysdeps/x86_64/sysdep.h: Likewise.
40799 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40802 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40804 * argp/argp-fmtstream.h: Use const instead __const.
40805 * argp/argp.h: Likewise.
40806 * assert/assert.h: Likewise.
40807 * bits/fenv.h: Likewise.
40808 * bits/sched.h: Likewise.
40809 * bits/sigset.h: Likewise.
40810 * bits/sigthread.h: Likewise.
40811 * catgets/nl_types.h: Likewise.
40812 * conform/data/pthread.h-data: Likewise.
40813 * crypt/crypt-private.h: Likewise.
40814 * crypt/crypt.h: Likewise.
40815 * crypt/crypt_util.c: Likewise.
40816 * ctype/ctype.h: Likewise.
40817 * debug/execinfo.h: Likewise.
40818 * debug/mbsnrtowcs_chk.c: Likewise.
40819 * debug/mbsrtowcs_chk.c: Likewise.
40820 * debug/wcsnrtombs_chk.c: Likewise.
40821 * debug/wcsrtombs_chk.c: Likewise.
40822 * debug/wcstombs_chk.c: Likewise.
40823 * dirent/dirent.h: Likewise.
40824 * dlfcn/dlfcn.h: Likewise.
40825 * elf/neededtest4.c: Likewise.
40826 * grp/grp.h: Likewise.
40827 * gshadow/gshadow.h: Likewise.
40828 * iconv/gconv.h: Likewise.
40829 * iconv/gconv_int.h: Likewise.
40830 * iconv/gconv_simple.c: Likewise.
40831 * iconv/iconv.h: Likewise.
40832 * iconv/loop.c: Likewise.
40833 * iconv/skeleton.c: Likewise.
40834 * include/aio.h: Likewise.
40835 * include/aliases.h: Likewise.
40836 * include/argz.h: Likewise.
40837 * include/arpa/inet.h: Likewise.
40838 * include/assert.h: Likewise.
40839 * include/dirent.h: Likewise.
40840 * include/dlfcn.h: Likewise.
40841 * include/execinfo.h: Likewise.
40842 * include/fcntl.h: Likewise.
40843 * include/fenv.h: Likewise.
40844 * include/glob.h: Likewise.
40845 * include/grp.h: Likewise.
40846 * include/libintl.h: Likewise.
40847 * include/mntent.h: Likewise.
40848 * include/netdb.h: Likewise.
40849 * include/pwd.h: Likewise.
40850 * include/rpc/netdb.h: Likewise.
40851 * include/sched.h: Likewise.
40852 * include/search.h: Likewise.
40853 * include/shadow.h: Likewise.
40854 * include/signal.h: Likewise.
40855 * include/stdio.h: Likewise.
40856 * include/stdlib.h: Likewise.
40857 * include/string.h: Likewise.
40858 * include/sys/socket.h: Likewise.
40859 * include/sys/stat.h: Likewise.
40860 * include/sys/statfs.h: Likewise.
40861 * include/sys/statvfs.h: Likewise.
40862 * include/sys/syslog.h: Likewise.
40863 * include/sys/time.h: Likewise.
40864 * include/sys/uio.h: Likewise.
40865 * include/time.h: Likewise.
40866 * include/unistd.h: Likewise.
40867 * include/utmp.h: Likewise.
40868 * include/wchar.h: Likewise.
40869 * include/wctype.h: Likewise.
40870 * inet/aliases.h: Likewise.
40871 * inet/arpa/inet.h: Likewise.
40872 * inet/netinet/ether.h: Likewise.
40873 * inet/netinet/in.h: Likewise.
40874 * intl/libintl.h: Likewise.
40875 * io/bits/fcntl2.h: Likewise.
40876 * io/fcntl.h: Likewise.
40877 * io/ftw.h: Likewise.
40878 * io/sys/poll.h: Likewise.
40879 * io/sys/stat.h: Likewise.
40880 * io/sys/statfs.h: Likewise.
40881 * io/sys/statvfs.h: Likewise.
40882 * io/utime.h: Likewise.
40883 * libio/bits/stdio.h: Likewise.
40884 * libio/bits/stdio2.h: Likewise.
40885 * libio/libio.h: Likewise.
40886 * libio/libioP.h: Likewise.
40887 * libio/stdio.h: Likewise.
40888 * locale/lc-ctype.c: Likewise.
40889 * locale/locale.h: Likewise.
40890 * login/utmp.h: Likewise.
40891 * malloc/arena.c: Likewise.
40892 * malloc/malloc.c: Likewise.
40893 * malloc/malloc.h: Likewise.
40894 * malloc/mcheck.c: Likewise.
40895 * malloc/mtrace.c: Likewise.
40896 * math/bits/mathcalls.h: Likewise.
40897 * math/fenv.h: Likewise.
40898 * math/math_private.h: Likewise.
40899 * misc/bits/error.h: Likewise.
40900 * misc/bits/syslog.h: Likewise.
40901 * misc/err.h: Likewise.
40902 * misc/error.h: Likewise.
40903 * misc/fstab.h: Likewise.
40904 * misc/mntent.h: Likewise.
40905 * misc/regexp.h: Likewise.
40906 * misc/search.h: Likewise.
40907 * misc/sgtty.h: Likewise.
40908 * misc/sys/mman.h: Likewise.
40909 * misc/sys/syslog.h: Likewise.
40910 * misc/sys/uio.h: Likewise.
40911 * misc/sys/xattr.h: Likewise.
40912 * misc/ttyent.h: Likewise.
40913 * nis/rpcsvc/ypclnt.h: Likewise.
40914 * nss/nss.h: Likewise.
40915 * posix/bits/unistd.h: Likewise.
40916 * posix/fnmatch.h: Likewise.
40917 * posix/glob.h: Likewise.
40918 * posix/sched.h: Likewise.
40919 * posix/spawn.h: Likewise.
40920 * posix/sys/wait.h: Likewise.
40921 * posix/unistd.h: Likewise.
40922 * posix/wordexp.h: Likewise.
40923 * pwd/pwd.h: Likewise.
40924 * resolv/netdb.h: Likewise.
40925 * resource/sys/resource.h: Likewise.
40926 * rt/aio.h: Likewise.
40927 * rt/bits/mqueue2.h: Likewise.
40928 * rt/mqueue.h: Likewise.
40929 * shadow/shadow.h: Likewise.
40930 * signal/signal.h: Likewise.
40931 * socket/send.c: Likewise.
40932 * socket/sendto.c: Likewise.
40933 * socket/sys/socket.h: Likewise.
40934 * stdio-common/printf.h: Likewise.
40935 * stdlib/bits/stdlib.h: Likewise.
40936 * stdlib/fmtmsg.h: Likewise.
40937 * stdlib/monetary.h: Likewise.
40938 * stdlib/stdlib.h: Likewise.
40939 * stdlib/ucontext.h: Likewise.
40940 * streams/stropts.h: Likewise.
40941 * string/argz.h: Likewise.
40942 * string/bits/string2.h: Likewise.
40943 * string/string.h: Likewise.
40944 * string/strings.h: Likewise.
40945 * sunrpc/rpc/auth.h: Likewise.
40946 * sunrpc/rpc/auth_des.h: Likewise.
40947 * sunrpc/rpc/clnt.h: Likewise.
40948 * sunrpc/rpc/netdb.h: Likewise.
40949 * sunrpc/rpc/pmap_clnt.h: Likewise.
40950 * sunrpc/rpc/xdr.h: Likewise.
40951 * sysdeps/generic/inttypes.h: Likewise.
40952 * sysdeps/generic/net/if.h: Likewise.
40953 * sysdeps/generic/sys/swap.h: Likewise.
40954 * sysdeps/gnu/net/if.h: Likewise.
40955 * sysdeps/gnu/utmpx.h: Likewise.
40956 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40957 * sysdeps/i386/i486/bits/string.h: Likewise.
40958 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40959 * sysdeps/s390/bits/string.h: Likewise.
40960 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40961 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40962 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40963 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40964 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40965 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40966 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40967 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40968 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40969 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40970 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40971 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40972 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40973 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40974 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40975 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40976 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40978 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40979 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40980 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40981 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40982 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40983 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40984 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40985 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40986 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40987 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40988 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40989 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40990 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40991 * sysvipc/sys/ipc.h: Likewise.
40992 * sysvipc/sys/msg.h: Likewise.
40993 * sysvipc/sys/sem.h: Likewise.
40994 * sysvipc/sys/shm.h: Likewise.
40995 * termios/termios.h: Likewise.
40996 * time/sys/time.h: Likewise.
40997 * time/time.h: Likewise.
40998 * wcsmbs/bits/wchar2.h: Likewise.
40999 * wcsmbs/uchar.h: Likewise.
41000 * wcsmbs/wchar.h: Likewise.
41001 * wctype/wctype.h: Likewise.
41004 * Makeconfig: Remove all but ELF support including AIX support.
41005 * Makerules: Likewise.
41006 * config.h.in: Likewise.
41007 * config.make.in: Likewise.
41008 * configure: Likewise.
41009 * configure.in: Likewise.
41010 * csu/Makefile: Likewise.
41011 * csu/version.c: Likewise.
41012 * debug/Makefile: Likewise.
41013 * dlfcn/Makefile: Likewise.
41014 * elf/Makefile: Likewise.
41015 * extra-lib.mk: Likewise.
41016 * iconv/Makefile: Likewise.
41017 * include/libc-symbols.h: Likewise.
41018 * include/shlib-compat.h: Likewise.
41019 * resolv/Makefile: Likewise.
41020 * resolv/res_libc.c: Likewise.
41021 * rt/Makefile: Likewise.
41022 * sysdeps/i386/asm-syntax.h: Likewise.
41023 * sysdeps/i386/sysdep.h: Likewise.
41024 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41025 * sysdeps/mach/sysdep.h: Likewise.
41026 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41027 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41028 * sysdeps/s390/asm-syntax.h: Likewise.
41029 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41030 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41031 * sysdeps/sh/sysdep.h: Likewise.
41032 * sysdeps/unix/sparc/sysdep.h: Likewise.
41033 * sysdeps/wordsize-32/divdi3.c: Likewise.
41034 * sysdeps/x86_64/sysdep.h: Likewise.
41036 * argp/Versions: Remove _argp_unlock_xxx.
41039 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41040 * abilist/libBrokenLocale.abilist: Likewise.
41041 * abilist/libanl.abilist: Likewise.
41042 * abilist/libc.abilist: Likewise.
41043 * abilist/libcrypt.abilist: Likewise.
41044 * abilist/libdl.abilist: Likewise.
41045 * abilist/libm.abilist: Likewise.
41046 * abilist/libnsl.abilist: Likewise.
41047 * abilist/libpthread.abilist: Likewise.
41048 * abilist/libresolv.abilist: Likewise.
41049 * abilist/librt.abilist: Likewise.
41050 * abilist/libthread_db.abilist: Likewise.
41051 * abilist/libutil.abilist: Likewise.
41052 * abilist/libnss_db.abilist: New file.
41054 * scripts/abilist.awk: Add support for indirect functions.
41056 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41058 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41060 * shlib-versions: Remove entries for ports architectures.
41062 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41064 * elf/stackguard-macros.h: Remove support for IA-64.
41065 * elf/tst-auditmod1.c: Likewise.
41066 * sysdeps/generic/ldsodefs.h: Likewise.
41068 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41069 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41073 * configure.in: Remove --enable-omitfp support.
41075 * config.make.in: Likewise.
41076 * Makeconfig: Likewise.
41077 * manual/install.texi: Likewise.
41079 In case anyone cares, the IA-64 architecture could move to ports.
41080 * sysdeps/ia64/*: Removed.
41081 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41082 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41085 * configure.in: Remove entries for unsupported architectures.
41088 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41089 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41091 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41092 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41093 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41094 fall back to using wcrtomb.
41095 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41096 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41098 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41099 * wcsmbs/tst-c16c32-1.c: New file.
41101 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41104 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41106 * elf/tst-unique3.cc: Add explicit declaration of gets.
41107 * elf/tst-unique3lib.cc: Likewise.
41108 * elf/tst-unique3lib2.cc: Likewise.
41109 * elf/tst-unique4.cc: Likewise.
41111 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41113 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41116 * assert/assert.h (static_assert): Don't define for C++.
41117 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41118 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41120 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41122 * iconv/loop.c (single loop): Fix assertion in storing of
41125 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41127 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41129 * posix/getconf.c: Update copyright year.
41130 * nss/getent.c: Likewise.
41131 * nss/makedb.c: Likewise.
41132 * iconv/iconvconfig.c: Likewise.
41133 * iconv/iconv_prog.c: Likewise.
41134 * elf/ldconfig.c: Likewise.
41135 * elf/pldd.c: Likewise.
41136 * elf/sotruss.ksh: Likewise.
41137 * catgets/gencat.c: Likewise.
41138 * csu/version.c: Likewise.
41139 * elf/ldd.bash.in: Likewise.
41140 * elf/sprof.c (print_version): Likewise.
41141 * locale/programs/locale.c: Likewise.
41142 * locale/programs/localedef.c: Likewise.
41143 * login/programs/pt_chown.c: Likewise.
41144 * nscd/nscd.c (print_version): Likewise.
41145 * debug/xtrace.sh: Likewise.
41146 * malloc/memusage.sh: Likewise.
41147 * malloc/mtrace.pl: Likewise.
41148 * debug/catchsegv.sh: Likewise.
41150 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41152 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41155 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41158 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41159 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41161 * iconv/gconv_int.h: Likewise.
41162 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41163 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41164 from libc for GLIBC_2.16.
41165 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41166 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41167 * wcsmbs/uchar.h: Really define mbstate_t.
41168 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41169 * wcsmbs/c16rtomb.c: New file.
41170 * wcsmbs/mbrtoc16.c: New file.
41171 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41172 for C/POSIX locale.
41173 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41174 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41176 * wcsmbs/wchar.h: Add missing __restrict.
41178 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41181 * time/Makefile (routines): Add timespec_get.
41182 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41183 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41184 timespec for ISO C11.
41185 * time/timespec_get.c: New file.
41186 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41187 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41190 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41191 * stdlib/stdlib.h: Declare aligned_alloc.
41192 * Versions.def: Add GLIBC_2.16 for libc.
41193 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41196 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41199 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41203 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41206 * assert/assert.h (static_assert): Define.
41208 * version.h: Update for 2.16 development version.
41211 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41214 * version.h (RELEASE): Bump for 2.15 release.
41215 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41217 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41218 Patch by Marek Polacek <mpolacek@redhat.com>.
41220 * bits/byteswap.h: Protect long long constants with __extension__.
41221 * sysdeps/i386/bits/byteswap.h: Likewise.
41222 * sysdeps/ia64/bits/byteswap.h: Likewise.
41223 * sysdeps/s390/bits/byteswap.h: Likewise.
41224 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41226 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41229 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41230 destination buffer.
41231 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41233 2011-12-23 Marek Polacek <polacek@redhat.com>
41235 * elf/dl-addr.c (determine_info): Add inline keyword.
41236 * elf/tst-auditmod4b.c (check_avx): Likewise.
41237 * elf/tst-auditmod6b.c (check_avx): Likewise.
41238 * elf/tst-auditmod6c.c (check_avx): Likewise.
41239 * elf/tst-auditmod7b.c (check_avx): Likewise.
41241 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41243 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41246 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41249 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41250 processing for last bytes.
41252 2011-08-06 Bruno Haible <bruno@clisp.org>
41255 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41256 U+0385, not to U+1FEE.
41259 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41260 entry for U+00A5 U+0301.
41262 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41265 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41266 buffer for the output is too small.
41268 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41272 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41273 SSE flags if possible.
41275 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41278 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41279 processing for last bytes.
41281 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41283 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41284 (syscall-list-default-options, syscall-list-default-condition)
41285 (syscall-list-includes): Define.
41286 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41287 list of ABIs and options and #if conditions for each ABI. Do not
41288 handle common syscalls between ABIs specially.
41289 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41291 (syscall-list-variants, syscall-list-32bit-options)
41292 (syscall-list-32bit-condition, syscall-list-64bit-options)
41293 (syscall-list-64bit-condition): Define.
41294 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41295 (syscall-list-variants, syscall-list-32bit-options)
41296 (syscall-list-32bit-condition, syscall-list-64bit-options)
41297 (syscall-list-64bit-condition): Define.
41298 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41300 (syscall-list-variants, syscall-list-32bit-options)
41301 (syscall-list-32bit-condition, syscall-list-64bit-options)
41302 (syscall-list-64bit-condition): Define.
41303 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41305 (syscall-list-variants, syscall-list-32bit-options)
41306 (syscall-list-32bit-condition, syscall-list-64bit-options)
41307 (syscall-list-64bit-condition): Define.
41309 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41311 * locale/iso-639.def: Add brx entry.
41314 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41315 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41317 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41318 __feraiseexcept_renamed.
41320 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41323 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41324 EPOLLET with unsigned values.
41325 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41326 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41328 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41329 to large cancellation.
41330 * math/s_cacoshf.c: Likewise.
41331 * math/s_cacoshl.c: Likewise.
41333 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41337 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41338 * math/s_cacoshf.c: Likewise.
41339 * math/s_cacoshl.c: Likewise.
41341 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41344 * iconv/gconv.h: Define __GCONV_SWAP.
41345 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41346 * iconvdata/utf-16.c: Likewise.
41347 * iconvdata/utf-32.c: Likewise.
41349 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41352 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41353 numerator after shifting it by one limb.
41355 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41357 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41358 under [__USE_EXTERN_INLINES].
41360 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41363 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41365 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41367 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41368 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41370 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41371 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41372 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41373 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41374 for strncasecmp/strncasecmp_l compilation.
41375 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41376 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41378 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41381 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41384 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41387 * time/tzfile.c (__tzfile_read): Check values from file header.
41389 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41391 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41392 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41393 * powerpc/powerpc32/dl-start.S: Likewise.
41394 * powerpc/powerpc32/elf/start.S: Likewise.
41395 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41396 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41397 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41398 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41399 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41400 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41401 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41402 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41403 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41404 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41405 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41406 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41407 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41408 * powerpc/powerpc32/memset.S: Likewise.
41409 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41410 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41411 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41412 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41413 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41414 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41415 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41416 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41417 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41418 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41419 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41420 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41421 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41423 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41425 * math/libm-test.inc: Added more nearbyint tests.
41426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41427 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41429 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41431 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41433 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41436 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41438 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41439 Add wcscpy-ssse3 wcscpy-c.
41440 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41441 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41442 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41443 * sysdeps/x86_64/wcschr.S: New file.
41444 * sysdeps/x86_64/wcsrchr.S: New file.
41445 * string/test-strcmp.c: Remove checking of wcscmp function for
41447 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41448 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41449 wcsrchr-sse2 wcsrchr-c.
41450 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41451 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41452 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41453 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41454 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41455 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41456 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41457 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41458 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41459 * wcsmbc/wcschr.c (WCSCHR): New macro.
41461 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41463 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41464 * wcsmbs/test-wcsrchr.c: New file.
41465 * string/test-strrchr.c: Add wcsrchr support.
41467 * wcsmbs/test-wcscpy.c: New file.
41468 * string/test-strcpy.c: Add wcscpy support.
41471 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41473 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41476 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41479 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41481 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41483 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41484 Minor optimizations.
41486 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41487 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41488 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41490 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41492 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41493 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41494 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41495 for gcc to avoid warnings.
41496 * inet/Makefile (tests): Add tst-checks.
41497 * inet/tst-checks.c: New file.
41499 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41502 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41505 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41506 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41508 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41510 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41512 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41515 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41517 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41519 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41520 conditional on GCC version.
41521 (__arch_compare_and_exchange_val_8_acq)
41522 (__arch_compare_and_exchange_val_16_acq)
41523 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41524 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41525 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41527 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41529 * sysdeps/sh/backtrace.c: New file.
41531 2011-12-02 Andreas Schwab <schwab@redhat.com>
41533 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41536 2011-12-01 Andreas Schwab <schwab@redhat.com>
41538 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41539 falling back to utime.
41541 2011-11-30 Andreas Schwab <schwab@redhat.com>
41543 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41544 expectations for float.
41546 2011-11-29 Andreas Schwab <schwab@redhat.com>
41548 * locale/weight.h (findidx): Add parameter len.
41549 * locale/weightwc.h (findidx): Likewise.
41550 * posix/fnmatch_loop.c (FCT): Adjust caller.
41551 * posix/regcomp.c (build_equiv_class): Likewise.
41552 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41553 * posix/regexec.c (check_node_accept_bytes): Likewise.
41554 * string/strcoll_l.c (STRCOLL): Likewise.
41555 * string/strxfrm_l.c (STRXFRM): Likewise.
41557 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41559 * Makefile.in: Remove CVSOPT handling.
41560 * configure.in: Remove use of AC_REVISION.
41561 * iconvdata/Makefile (distribute): No need to filter out CVS.
41562 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41565 2011-11-16 Andreas Schwab <schwab@redhat.com>
41567 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41568 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41569 [USE_AS_STRNCASECMP_L]: Likewise.
41570 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41571 NO_TLS_DIRECT_SEG_REFS.
41572 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41573 Fix argument offsets for non-PIC.
41574 [USE_AS_STRNCASECMP_L]: Likewise.
41575 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41576 NO_TLS_DIRECT_SEG_REFS.
41578 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41580 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41582 * locale/loadlocale.c (_nl_load_locale): Likewise.
41584 2011-11-15 Andreas Schwab <schwab@redhat.com>
41586 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41587 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41588 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41589 (SYSCALL_GETTIME): Set errno on error.
41591 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41592 count references to noai6ai_cached.
41594 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41596 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41598 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41599 FD_CLOEXEC for /proc/self/maps.
41601 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41602 FD_CLOEXEC for /proc/meminfo.
41604 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41607 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41608 FD_CLOEXEC for given file.
41610 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41612 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41613 FD_CLOEXEC for /etc/hosts.
41614 (_gethtent): Likewise.
41616 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41618 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41619 cancellation and set FD_CLOEXEC for /etc/netgroup.
41621 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41622 reading /etc/publickey.
41624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41625 allow cancellation when reading /etc/group.
41627 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41629 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41631 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41632 when using data file.
41634 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41636 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41637 (write_nis_obj): Use "c" and "e" in fopen.
41639 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41641 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41643 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41645 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41647 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41650 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41652 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41654 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41656 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41657 file parsing and set FD_CLOEXEC.
41659 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41661 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41663 2011-11-14 Andreas Schwab <schwab@redhat.com>
41665 * malloc/arena.c (arena_get2): Don't call reused_arena when
41666 _int_new_arena failed.
41668 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41670 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41671 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41672 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41673 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41674 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41675 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41676 to compile strcasecmp and strncasecmp.
41677 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41678 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41680 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41682 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41684 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41685 locale-defines.sym to gen-as-const-headers.
41686 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41687 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41689 to compile strcasecmp and strncasecmp.
41690 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41691 strcasecmp_l and strncasecmp_l.
41692 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41693 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41694 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41695 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41696 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41697 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41698 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41699 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41700 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41701 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41702 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41704 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41706 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41707 result of SYSDEP_GETTIME_CPU to retval.
41708 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41709 parameter list to macro. Remove trailing semicolon. Adjust users.
41711 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41714 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41716 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41718 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41719 from unused variable.
41721 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41723 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41726 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41729 * sunrpc/rpc_prot.c (rejected): Fix case value.
41731 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41732 unsigned long long int to avoid warnings in shift.
41734 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41736 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41739 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41740 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41741 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41743 * nis/nis_table.c (nis_list): Use variable of correct type for
41744 result of __follow_path call.
41746 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41748 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41749 of math functions ceil, trunc, floor, round, and sqrt, when
41750 avaliable on the platform.
41751 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41753 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41754 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41755 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41757 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41759 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41760 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41762 2011-11-11 Roland McGrath <roland@hack.frob.com>
41764 * include/unistd.h: Fix __readlink return type.
41765 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41767 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41769 * stdlib/ucontext.h: Undo last change for makecontext.
41771 2011-11-11 Andreas Schwab <schwab@redhat.com>
41773 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41775 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41776 * setjmp/setjmp.h: Mark functions as non-leaf.
41777 * setjmp/bits/setjmp2.h: Likewise.
41778 * stdlib/ucontext.h: Likewise.
41780 2011-11-10 Andreas Schwab <schwab@redhat.com>
41782 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41783 (reused_arena): Don't check arena limit.
41784 (arena_get2): Atomically check arena limit.
41786 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41788 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41789 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41794 2011-11-07 Andreas Schwab <schwab@redhat.com>
41796 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41797 handler when locking.
41799 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41800 Fix size of allocated buffer.
41802 2011-11-04 Andreas Schwab <schwab@redhat.com>
41805 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41806 declarations for long double functions.
41807 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41809 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41811 2011-11-03 Andreas Schwab <schwab@redhat.com>
41813 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41816 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41819 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41821 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41823 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41825 * include/alloca.h (stackinfo_alloca_round): Define.
41826 (extend_alloca): Use it.
41827 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41828 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41831 * scripts/check-local-headers.sh: Ignore libaudit.h.
41833 * nscd/Makefile (extra-objs): Make recursively expanded.
41835 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41837 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41838 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41840 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41841 * posix/tst-rfc3484-2.c: Likewise.
41842 * posix/tst-rfc3484-3.c: Likewise.
41844 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41846 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41848 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41849 process_vm_writev from libc using GLIBC_2.15 version.
41851 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41853 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41855 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41858 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41861 * nss/getent.c (initgroups_keys): Show error message in case no group
41864 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41865 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41866 __bump_nl_timestamp.
41867 * nscd/connections (nscd_init): When host database is served open
41868 netlink socket and request notification about configuration changes.
41869 (main_loop_poll): Track netlink file descriptor and bump timestamp
41870 in case data becomes available.
41871 (main_loop_epoll): Likewise.
41872 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41873 (database_pers_head): Add extra_data fileds.
41874 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41875 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41876 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41878 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41879 in6ai data, call __free_in6ai.
41880 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41881 Add -DHAVE_NETLINK.
41882 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41883 interface information. Reuse previous data if netlink timestamp
41885 (__bump_nl_timestamp): New function.
41886 (__free_in6ai): New function.
41888 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41890 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41891 close_not_cancel_no_status here.
41892 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41894 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41897 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41900 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41901 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41902 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41904 2011-07-03 Andreas Jaeger <aj@suse.de>
41907 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41908 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41909 * math/libm-test.inc (sin_test): Add test case.
41911 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41914 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41915 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41917 * elf/chroot_canon.c (chroot_canon): Cleanups.
41919 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41922 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41923 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41925 * string/test-strchr.c: Make usable for strchrnul testing.
41926 * string/test-strchrnul.c: New file.
41927 * string/Makefile (strop-tests): Add strchrnul.
41929 * po/it.po: Update from translation team.
41930 * po/es.po: Likewise.
41932 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41934 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41935 the three constants needed as parameters. Drop the others.
41936 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41937 __m128i_strloadu_tolower.
41938 Create and initialize variable zero and use it in all the places
41939 where _mm_setzero_si128 was used.
41941 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41942 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41943 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41944 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41946 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41947 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41948 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41949 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41950 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41951 __mpranred, __mptan.
41952 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41953 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41954 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41955 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41956 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41957 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41958 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41959 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41960 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41962 2011-10-28 Andreas Schwab <schwab@redhat.com>
41964 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41965 redefine if SHARED.
41966 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41969 wide char related routines to wcsmbs subdir.
41971 2011-10-27 Andreas Schwab <schwab@redhat.com>
41974 * misc/sys/cdefs.h (__THROWNL): Define.
41975 * posix/unistd.h: Use __THREADNL instead of __THREAD
41976 for memory synchronization functions.
41978 2011-10-26 Roland McGrath <roland@hack.frob.com>
41981 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41983 * manual/stdio.texi (Obstack Streams): Node removed.
41985 2011-10-26 Andreas Schwab <schwab@redhat.com>
41987 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41988 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41989 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41991 * math/math_private.h (math_force_eval): Allow non-addressable
41993 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41995 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41997 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41998 file is not needed.
42000 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42001 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42002 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42003 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42004 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42005 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42006 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42007 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42009 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42010 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42011 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42012 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42013 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42014 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42015 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42016 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42017 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42018 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42019 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42020 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42021 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42022 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42023 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42024 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42025 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42026 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42027 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42029 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42030 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42032 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42033 place. Use VEX encoding when compiling for AVX.
42035 2011-10-25 Andreas Schwab <schwab@redhat.com>
42037 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42038 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42040 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42042 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42044 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42045 useless if() expression.
42046 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42047 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42048 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42049 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42050 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42051 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42052 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42053 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42054 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42055 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42056 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42057 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42058 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42059 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42060 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42061 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42062 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42063 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42064 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42066 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42068 2011-10-25 Andreas Schwab <schwab@redhat.com>
42070 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42072 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42074 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42076 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42077 .text section. Avoid duplicate constants.
42078 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42079 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42080 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42082 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42083 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42084 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42086 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42087 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42088 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42089 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42090 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42091 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42092 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42093 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42094 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42095 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42096 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42098 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42099 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42100 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42101 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42102 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42103 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42104 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42105 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42106 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42107 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42108 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42109 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42110 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42111 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42112 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42113 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42114 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42115 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42116 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42117 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42118 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42119 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42120 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42121 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42122 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42124 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42126 * sysdeps/x86_64/dla.h: Move to ...
42127 * sysdeps/x86_64/fpu/dla.h: ...here.
42128 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42129 situations. Use __builtin_fma only for gcc 4.6 and up.
42131 * config.make.in: Add have-mfma4 entry.
42132 * configure.in: Substitute libc_cv_cc_fma4.
42133 * math/Makefile (dbl-only-routines): Add sincostab.
42134 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42135 Use __sincostab not sincos.
42136 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42138 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42143 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42144 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42145 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42146 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42148 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42149 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42151 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42152 define aliases when function name is a macro.
42153 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42154 sysdeps/ieee754/dbl-64/sincos.tbl.
42155 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42156 fma4-enabled routines.
42157 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42158 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42159 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42160 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42161 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42162 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42163 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42164 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42165 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42166 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42167 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42168 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42169 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42170 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42171 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42172 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42173 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42174 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42175 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42176 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42177 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42178 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42179 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42180 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42181 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42182 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42183 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42184 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42185 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42186 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42188 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42194 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42199 2011-10-24 Andreas Schwab <schwab@redhat.com>
42201 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42203 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42205 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42207 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42209 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42211 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42212 Remove unused variable magic_bits.
42213 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42215 * string/strnlen.c: Define and use STRNLEN macro.
42216 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42217 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42218 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42219 * wcsmbs/wcslen.c: Define and use WCSLEN.
42220 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42221 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42222 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42223 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42224 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42225 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42226 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42228 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42230 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42231 strnlen-sse2-no-bsf.
42232 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42233 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42234 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42235 Add strnlen support.
42236 (USE_AS_STRNLEN): New macro.
42237 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42238 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42239 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42240 * sysdeps/x86_64/wcslen.S: New file.
42242 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42244 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42245 XMM-moves are used for copying on small sizes.
42247 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42249 * wcsmbs/Makefile (strop-tests): Add wcschr.
42250 * wcsmbs/test-wcschr.c: New file.
42251 * string/test-strchr.c: Update.
42252 Add wcschr support.
42255 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42257 * wcsmbs/Makefile (strop-tests): Add wcslen.
42258 * wcsmbs/test-wcslen.c: New file.
42259 * string/test-strlen.c: Update.
42260 Add wcslen support.
42263 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42265 * po/it.po: Update from translation team.
42267 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42269 * sysdeps/x86_64/wcscmp.S: Update.
42270 Fix wrong comparison semantics.
42271 wcscmp shall use signed comparison not unsigned.
42272 Don't use substraction to avoid overflow bug.
42273 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42274 * wcsmbc/wcscmp.c: Likewise.
42275 * string/test-strcmp.c: Likewise.
42276 Add new tests to check cases with negative values.
42278 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42280 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42281 * sysdeps/x86_64/dla.h: ...here. New file.
42282 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
42288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42289 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42290 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42292 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42295 __ynl_finite aliases.
42297 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42301 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42303 [DLA_FMA] (EMULV): Use DLA_FMA.
42304 [DLA_FMA] (MUL12): Use EMULV.
42305 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42306 that are not needed.
42307 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42308 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42309 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42310 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42311 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42312 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42313 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42315 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42317 * math/s_nan.c: Undef __nan.
42318 * math/s_nanf.c: Undef __nanf.
42319 * math/s_nanl.c: Undef __nanl.
42320 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42323 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42325 * math/s_catan.c: Add branch predictions.
42326 * math/s_catanf.c: Likewise.
42327 * math/s_catanh.c: Likewise.
42328 * math/s_catanhf.c: Likewise.
42329 * math/s_catanhl.c: Likewise.
42330 * math/s_catanl.c: Likewise.
42331 * math/s_cexp.c: Likewise.
42332 * math/s_cexpf.c: Likewise.
42333 * math/s_cexpl.c: Likewise.
42334 * math/s_clog.c: Likewise.
42335 * math/s_clog10.c: Likewise.
42336 * math/s_clog10f.c: Likewise.
42337 * math/s_clog10l.c: Likewise.
42338 * math/s_clogf.c: Likewise.
42339 * math/s_clogl.c: Likewise.
42340 * math/s_csqrt.c: Likewise.
42341 * math/s_csqrtf.c: Likewise.
42342 * math/s_csqrtl.c: Likewise.
42343 * math/s_ctanf.c: Likewise.
42344 * math/s_ctanh.c: Likewise.
42345 * math/s_ctanhf.c: Likewise.
42346 * math/s_ctanhl.c: Likewise.
42347 * math/s_ctanl.c: Likewise.
42349 * math/math_private.h: Define __nan, __nanf, __nanl.
42350 * math/s_cacosh.c: Include <math_private.h>.
42351 * math/s_cacoshl.c: Likewise.
42352 * math/s_casinh.c: Likewise.
42353 * math/s_casinhf.c: Likewise.
42354 * math/s_casinhl.c: Likewise.
42355 * math/s_ccos.c: Rely entire on ccosh.
42356 * math/s_ccosf.c: Rely entire on ccoshf.
42357 * math/s_ccosl.c: Rely entirely on ccoshl.
42358 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42359 Remove tests for FE_INVALID.
42360 * math/s_ccoshf.c: Likewise.
42361 * math/s_ccoshl.c: Likewise.
42362 * math/s_csin.c: Likewise.
42363 * math/s_csinf.c: Likewise.
42364 * math/s_csinh.c Likewise.
42365 * math/s_csinhf.c: Likewise.
42366 * math/s_csinhl.c: Likewise.
42367 * math/s_csinl.c: Likewise.
42368 * math/s_ctan.c: Likewise.
42369 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42370 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42371 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42373 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42376 compilation problems.
42378 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42381 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42383 * sysdeps/i386/configure.in: Test for -mfma4 option.
42384 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42385 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42386 COMMON_CPUID_INDEX_80000001.
42387 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42388 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42389 use it if FMA3 is not supported.
42390 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42392 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42393 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42395 2011-10-20 Andreas Schwab <schwab@redhat.com>
42398 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42399 it would create a cycle with a link time dependency.
42401 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42403 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42405 * string/Makefile (strop-tests): Add rawmemchr.
42406 * string/test-rawmemchr.c: New file.
42408 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42409 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42410 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42411 when compiling str{,n}casecmp and when AVX is available. Hook up
42412 new optimized code in initializers.
42414 2011-10-19 Andreas Schwab <schwab@redhat.com>
42416 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42417 __feraiseexcept instead of feraiseexcept.
42419 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42421 * math/math_private.h: Define defaults for libc_fetestexcept and
42423 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42424 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42425 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42426 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42427 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42428 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42429 libc_fetestexcept and libc_feupdateenv.
42431 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42432 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42433 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42434 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42435 libc_feholdexcept_setround.
42437 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42438 Add s_nearbyint-c and s_nearbyintf-c.
42439 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42440 nearbyintf inlines.
42441 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42442 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42443 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42444 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42446 * math/math_private.h: Define defaults for libc_fegetround,
42447 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42448 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42449 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42450 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42451 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42452 standard functions.
42453 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42454 Remove comments and hacks for old compiler versions.
42455 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42456 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42457 libc_feholdexceptl.
42459 2011-10-18 Andreas Schwab <schwab@redhat.com>
42461 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42462 (__feraiseexcept_renamed): Add __NTH.
42463 (feraiseexcept): Add __NTH. Rename local variables to fix
42464 namespace violations.
42466 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42468 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42470 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42472 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42473 recently added interfaces.
42474 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42476 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42477 about macro parameter expansion.
42479 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42480 __NO_MATH_INLINES is defined. Cleanups.
42482 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42483 and __floorf is target has SSE4.1.
42484 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42485 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42486 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42487 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42489 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42491 (floorf): Likewise.
42493 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42495 2011-10-17 Andreas Schwab <schwab@redhat.com>
42497 * misc/sys/cdefs.h: Fix last change.
42499 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42502 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42504 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42506 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42507 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42508 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42509 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42510 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42511 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42512 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42513 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42514 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42515 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42516 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42517 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42518 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42519 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42520 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42521 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42522 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42523 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42524 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42525 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42526 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42527 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42529 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42530 ceil, ceilf, floor, floorf.
42532 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42533 Perform IRELATIVE relocations last.
42535 * elf/do-rel.h: Add another parameter nrelative, replacing the
42536 local variable with the same name. Change name of the function
42537 to end in Rel or Rela (uppercase).
42538 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42539 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42540 elf_dynamic_do_##reloc function.
42542 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42544 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42545 is sufficient, at least on modern CPUs.
42547 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42549 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42550 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42552 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42554 * math/bits/math-finite.h: Add entries for exp.
42555 * math/e_expl.c: Add __*_finite alias.
42556 * sysdeps/i386/fpu/e_exp.S: Likewise.
42557 * sysdeps/i386/fpu/e_expf.S: Likewise.
42558 * sysdeps/i386/fpu/e_expl.c: Likewise.
42559 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42560 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42561 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42563 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42564 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42565 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42567 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42568 is sufficient, at least on modern CPUs.
42570 * ctype/ctype-info.c (__ctype_init): Define.
42571 * include/ctype.h (__ctype_init): Declare.
42572 (__ctype_b_loc): The variable is always initialized.
42573 (__ctype_toupper_loc): Likewise.
42574 (__ctype_tolower_loc): Likewise.
42575 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42576 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42578 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42580 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42582 * configure.in: Also look in $cxxmachine/include for C++ system
42585 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42587 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42588 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42589 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42590 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42591 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42592 (USE_AS_WMEMCMP): New macro.
42594 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42595 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42596 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42597 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42599 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42600 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42601 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42602 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42603 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42604 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42605 (USE_AS_WMEMCMP): New macro.
42606 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42607 * sysdeps/string/test-memcmp.c: Update.
42608 Fix simple_wmemcmp.
42610 * wcsmbs/wmemcmp.c: Update.
42611 (WMEMCMP): New macro.
42614 2011-10-12 Andreas Jaeger <aj@suse.de>
42617 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42619 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42621 * libio/iofwide.c (do_length): Avoid warning.
42623 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42625 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42627 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42629 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42630 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42631 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42632 * sysdeps/i386/i686/fpu/e_log.S: New file.
42633 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42634 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42636 * ctype/ctype.h: Add support for inlined isXXX functions when
42637 compiling C++ code.
42639 2011-10-14 Andreas Schwab <schwab@redhat.com>
42641 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42643 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42645 2011-10-13 Roland McGrath <roland@hack.frob.com>
42648 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42650 2011-10-13 Andreas Schwab <schwab@redhat.com>
42652 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42653 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42656 * sysdeps/x86_64/memrchr.S: Check for zero size.
42658 * string/stratcliff.c: Add memrchr tests.
42660 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42663 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42664 rawmemchr-sse2 rawmemchr-sse2-bsf.
42665 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42666 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42667 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42668 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42669 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42670 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42671 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42672 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42673 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42674 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42675 * string/memrchr.c (MEMRCHR): New macro.
42677 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42679 Add integration with gcc's -ffinite-math-only and optimize wrapper
42681 * Versions.def: Define GLIBC_2.15 version for libm.
42682 * math/Makefile (headers): Add bits/math-finite.h.
42683 * math/bits/math-finite.h: New file.
42684 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42685 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42686 * math/e_acoshl.c: Add __*_finite alias.
42687 * math/e_acosl.c: Likewise.
42688 * math/e_asinl.c: Likewise.
42689 * math/e_atan2l.c: Likewise.
42690 * math/e_atanhl.c: Likewise.
42691 * math/e_coshl.c: Likewise.
42692 * math/e_exp10.c: Likewise.
42693 * math/e_exp10f.c: Likewise.
42694 * math/e_exp10l.c: Likewise.
42695 * math/e_exp2l.c: Likewise.
42696 * math/e_fmodl.c: Likewise.
42697 * math/e_gammal_r.c: Likewise.
42698 * math/e_hypotl.c: Likewise.
42699 * math/e_j0l.c: Likewise.
42700 * math/e_j1l.c: Likewise.
42701 * math/e_jnl.c: Likewise.
42702 * math/e_lgammal_r.c: Likewise.
42703 * math/e_log10l.c: Likewise.
42704 * math/e_log2l.c: Likewise.
42705 * math/e_logl.c: Likewise.
42706 * math/e_powl.c: Likewise.
42707 * math/e_sinhl.c: Likewise.
42708 * math/e_sqrtl.c: Likewise.
42709 * math/e_scalb.c: Completely rewritten and optimized.
42710 * math/e_scalbf.c: Likewise.
42711 * math/e_scalbl.c: Likewise.
42712 * math/w_acos.c: Likewise.
42713 * math/w_acosf.c: Likewise.
42714 * math/w_acosl.c: Likewise.
42715 * math/w_acosh.c: Likewise.
42716 * math/w_acoshf.c: Likewise.
42717 * math/w_acoshl.c: Likewise.
42718 * math/w_asin.c: Likewise.
42719 * math/w_asinf.c: Likewise.
42720 * math/w_asinl.c: Likewise.
42721 * math/w_atan2.c: Likewise.
42722 * math/w_atan2f.c: Likewise.
42723 * math/w_atan2l.c: Likewise.
42724 * math/w_atanh.c: Likewise.
42725 * math/w_atanhf.c: Likewise.
42726 * math/w_atanhl.c: Likewise.
42727 * math/w_exp10.c: Likewise.
42728 * math/w_exp10f.c: Likewise.
42729 * math/w_exp10l.c: Likewise.
42730 * math/w_fmod.c: Likewise.
42731 * math/w_fmodf.c: Likewise.
42732 * math/w_fmodl.c: Likewise.
42733 * math/w_j0.c: Likewise.
42734 * math/w_j0f.c: Likewise.
42735 * math/w_j0l.c: Likewise.
42736 * math/w_j1.c: Likewise.
42737 * math/w_j1f.c: Likewise.
42738 * math/w_j1l.c: Likewise.
42739 * math/w_jn.c: Likewise.
42740 * math/w_jnf.c: Likewise.
42741 * math/w_log.c: Likewise.
42742 * math/w_logf.c: Likewise.
42743 * math/w_logl.c: Likewise.
42744 * math/w_log10.c: Likewise.
42745 * math/w_log10f.c: Likewise.
42746 * math/w_log10l.c: Likewise.
42747 * math/w_log2.c: Likewise.
42748 * math/w_log2f.c: Likewise.
42749 * math/w_log2l.c: Likewise.
42750 * math/w_pow.c: Likewise.
42751 * math/w_powf.c: Likewise.
42752 * math/w_powl.c: Likewise.
42753 * math/w_remainder.c: Likewise.
42754 * math/w_remainderf.c: Likewise.
42755 * math/w_remainderl.c: Likewise.
42756 * math/w_scalb.c: Likewise.
42757 * math/w_scalbf.c: Likewise.
42758 * math/w_scalbl.c: Likewise.
42759 * math/w_sqrt.c: Likewise.
42760 * math/w_sqrtf.c: Likewise.
42761 * math/w_sqrtl.c: Likewise.
42762 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42763 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42765 * math/math_private.h: Declare __kernel_standard_f.
42766 * math/w_cosh.c: Remove cruft and optimize a bit.
42767 * math/w_coshf.c: Likewise.
42768 * math/w_coshl.c: Likewise.
42769 * math/w_exp2.c: Likewise.
42770 * math/w_exp2f.c: Likewise.
42771 * math/w_exp2l.c: Likewise.
42772 * math/w_hypot.c: Likewise.
42773 * math/w_hypotf.c: Likewise.
42774 * math/w_hypotl.c: Likewise.
42775 * math/w_lgamma.c: Likewise.
42776 * math/w_lgamma_r.c: Likewise.
42777 * math/w_lgammaf.c: Likewise.
42778 * math/w_lgammaf_r.c: Likewise.
42779 * math/w_lgammal.c: Likewise.
42780 * math/w_lgammal_r.c: Likewise.
42781 * math/w_sinh.c: Likewise.
42782 * math/w_sinhf.c: Likewise.
42783 * math/w_sinhl.c: Likewise.
42784 * math/w_tgamma.c: Likewise.
42785 * math/w_tgammaf.c: Likewise.
42786 * math/w_tgammal.c: Likewise.
42787 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42788 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42789 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42790 Minor optimizations. Pretty printing. Remove cruft.
42791 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42792 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42793 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42794 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42795 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42796 * sysdeps/i386/fpu/e_asin.S: Likewise.
42797 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42798 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42799 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42800 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42801 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42802 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42803 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42804 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42805 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42806 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42807 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42808 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42809 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42810 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42811 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42812 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42813 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42814 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42815 * sysdeps/i386/fpu/e_log.S: Likewise.
42816 * sysdeps/i386/fpu/e_log10.S: Likewise.
42817 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42818 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42819 * sysdeps/i386/fpu/e_log2.S: Likewise.
42820 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42821 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42822 * sysdeps/i386/fpu/e_logf.S: Likewise.
42823 * sysdeps/i386/fpu/e_logl.S: Likewise.
42824 * sysdeps/i386/fpu/e_pow.S: Likewise.
42825 * sysdeps/i386/fpu/e_powf.S: Likewise.
42826 * sysdeps/i386/fpu/e_powl.S: Likewise.
42827 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42828 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42829 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42830 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42831 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42832 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42833 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42834 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42835 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42836 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42837 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42839 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42840 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42841 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42842 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42843 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42844 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42845 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42846 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42847 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42849 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42850 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42852 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42856 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42857 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42858 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42859 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42860 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42861 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42862 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42863 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42864 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42865 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42866 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42867 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42868 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42869 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42870 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42871 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42872 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42873 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42874 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42875 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42876 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42877 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42878 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42879 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42880 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42881 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42882 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42883 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42884 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42885 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42886 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42887 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42888 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42889 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42890 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42891 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42892 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42893 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42894 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42895 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42896 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42897 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42898 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42899 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42900 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42901 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42902 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42903 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42904 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42905 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42906 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42907 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42908 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42909 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42910 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42911 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42912 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42913 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42914 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42915 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42916 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42917 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42918 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42919 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42920 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42921 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42922 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42923 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42924 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42925 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42926 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42927 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42928 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42929 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42930 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42931 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42932 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42933 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42934 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42935 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42936 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42937 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42938 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42939 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42940 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42941 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42942 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42943 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42944 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42945 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42946 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42947 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42948 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42949 (__isnanf): Likewise.
42950 (__isinf_ns): Likewise.
42951 (__isinf_nsf): Likewise.
42952 (__finite): Likewise.
42953 (__finitef): Likewise.
42954 (__ieee754_sqrt): Define as macro.
42955 (__ieee754_sqrtf): Define as macro.
42956 (__ieee754_sqrtl): Define as macro.
42957 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42959 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42960 __FINITE_MATH_ONLY__ consistent.
42961 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42963 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42965 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42968 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42970 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42972 * po/ja.po: Update from translation team.
42974 2011-10-08 Roland McGrath <roland@hack.frob.com>
42976 * locale/programs/locarchive.c (prepare_address_space): New function.
42977 (create_archive, enlarge_archive, open_archive): Use it.
42979 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42980 inside [SHARED], where it is used.
42982 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42984 * nss/getent.c (netgroup_keys): Remove unused variable.
42985 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42987 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42989 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42990 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42991 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42992 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42993 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42994 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42995 * math/Makefile (libm-calls): Add s_isinf_ns.
42996 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42997 * math/multc3.c: Likewise.
42998 * math/s_casin.c: Likewise.
42999 * math/s_casinf.c: Likewise.
43000 * math/s_casinl.c: Likewise.
43001 * math/s_ccos.c: Likewise.
43002 * math/s_ccosf.c: Likewise.
43003 * math/s_ccosl.c: Likewise.
43004 * math/s_ctan.c: Likewise.
43005 * math/s_ctanf.c: Likewise.
43006 * math/s_ctanh.c: Likewise.
43007 * math/s_ctanhf.c: Likewise.
43008 * math/s_ctanhl.c: Likewise.
43009 * math/s_ctanl.c: Likewise.
43010 * math/w_fmod.c: Likewise.
43011 * math/w_fmodf.c: Likewise.
43012 * math/w_fmodl.c: Likewise.
43013 * math/w_remainder.c: Likewise.
43014 * math/w_remainderf.c: Likewise.
43015 * math/w_remainderl.c: Likewise.
43016 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43017 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43018 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43020 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43021 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43022 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43023 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43025 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43027 * stdio-common/printf_fphex.c: Likewise.
43028 * stdio-common/printf_size.c: Likewise.
43030 * math/e_exp10.c: Include math_private.h using <...> not "...".
43031 * math/e_exp10f.c: Likewise.
43032 * math/e_exp10l.c: Likewise.
43033 * math/e_exp2l.c: Likewise.
43034 * math/e_j0l.c: Likewise.
43035 * math/e_j1l.c: Likewise.
43036 * math/e_jnl.c: Likewise.
43037 * math/e_lgammal_r.c: Likewise.
43038 * math/e_rem_pio2l.c: Likewise.
43039 * math/e_scalb.c: Likewise.
43040 * math/e_scalbf.c: Likewise.
43041 * math/e_scalbl.c: Likewise.
43042 * math/k_cosl.c: Likewise.
43043 * math/k_sinl.c: Likewise.
43044 * math/k_tanl.c: Likewise.
43045 * math/s_cacoshf.c: Likewise.
43046 * math/s_catan.c: Likewise.
43047 * math/s_catanf.c: Likewise.
43048 * math/s_catanh.c: Likewise.
43049 * math/s_catanhf.c: Likewise.
43050 * math/s_catanhl.c: Likewise.
43051 * math/s_catanl.c: Likewise.
43052 * math/s_ccosh.c: Likewise.
43053 * math/s_ccoshf.c: Likewise.
43054 * math/s_ccoshl.c: Likewise.
43055 * math/s_cexp.c: Likewise.
43056 * math/s_cexpf.c: Likewise.
43057 * math/s_cexpl.c: Likewise.
43058 * math/s_clog.c: Likewise.
43059 * math/s_clog10.c: Likewise.
43060 * math/s_clog10f.c: Likewise.
43061 * math/s_clog10l.c: Likewise.
43062 * math/s_clogf.c: Likewise.
43063 * math/s_clogl.c: Likewise.
43064 * math/s_csin.c: Likewise.
43065 * math/s_csinf.c: Likewise.
43066 * math/s_csinh.c: Likewise.
43067 * math/s_csinhf.c: Likewise.
43068 * math/s_csinhl.c: Likewise.
43069 * math/s_csinl.c: Likewise.
43070 * math/s_csqrt.c: Likewise.
43071 * math/s_csqrtf.c: Likewise.
43072 * math/s_csqrtl.c: Likewise.
43073 * math/s_ctan.c: Likewise.
43074 * math/s_ctanf.c: Likewise.
43075 * math/s_ctanh.c: Likewise.
43076 * math/s_ctanhf.c: Likewise.
43077 * math/s_ctanhl.c: Likewise.
43078 * math/s_ctanl.c: Likewise.
43079 * math/s_ldexp.c: Likewise.
43080 * math/s_ldexpf.c: Likewise.
43081 * math/s_ldexpl.c: Likewise.
43082 * math/s_significand.c: Likewise.
43083 * math/s_significandf.c: Likewise.
43084 * math/s_significandl.c: Likewise.
43085 * math/w_acos.c: Likewise.
43086 * math/w_acosf.c: Likewise.
43087 * math/w_acosh.c: Likewise.
43088 * math/w_acoshf.c: Likewise.
43089 * math/w_acoshl.c: Likewise.
43090 * math/w_acosl.c: Likewise.
43091 * math/w_asin.c: Likewise.
43092 * math/w_asinf.c: Likewise.
43093 * math/w_asinl.c: Likewise.
43094 * math/w_atan2.c: Likewise.
43095 * math/w_atan2f.c: Likewise.
43096 * math/w_atan2l.c: Likewise.
43097 * math/w_atanh.c: Likewise.
43098 * math/w_atanhf.c: Likewise.
43099 * math/w_atanhl.c: Likewise.
43100 * math/w_cosh.c: Likewise.
43101 * math/w_coshf.c: Likewise.
43102 * math/w_coshl.c: Likewise.
43103 * math/w_dremf.c: Likewise.
43104 * math/w_exp10.c: Likewise.
43105 * math/w_exp10f.c: Likewise.
43106 * math/w_exp10l.c: Likewise.
43107 * math/w_exp2.c: Likewise.
43108 * math/w_exp2f.c: Likewise.
43109 * math/w_fmod.c: Likewise.
43110 * math/w_fmodf.c: Likewise.
43111 * math/w_fmodl.c: Likewise.
43112 * math/w_hypot.c: Likewise.
43113 * math/w_hypotf.c: Likewise.
43114 * math/w_hypotl.c: Likewise.
43115 * math/w_j0.c: Likewise.
43116 * math/w_j0f.c: Likewise.
43117 * math/w_j0l.c: Likewise.
43118 * math/w_j1.c: Likewise.
43119 * math/w_j1f.c: Likewise.
43120 * math/w_j1l.c: Likewise.
43121 * math/w_jn.c: Likewise.
43122 * math/w_jnf.c: Likewise.
43123 * math/w_jnl.c: Likewise.
43124 * math/w_lgamma.c: Likewise.
43125 * math/w_lgamma_r.c: Likewise.
43126 * math/w_lgammaf.c: Likewise.
43127 * math/w_lgammaf_r.c: Likewise.
43128 * math/w_lgammal.c: Likewise.
43129 * math/w_lgammal_r.c: Likewise.
43130 * math/w_log.c: Likewise.
43131 * math/w_log10.c: Likewise.
43132 * math/w_log10f.c: Likewise.
43133 * math/w_log10l.c: Likewise.
43134 * math/w_log2.c: Likewise.
43135 * math/w_log2f.c: Likewise.
43136 * math/w_log2l.c: Likewise.
43137 * math/w_logf.c: Likewise.
43138 * math/w_logl.c: Likewise.
43139 * math/w_pow.c: Likewise.
43140 * math/w_powf.c: Likewise.
43141 * math/w_powl.c: Likewise.
43142 * math/w_remainder.c: Likewise.
43143 * math/w_remainderf.c: Likewise.
43144 * math/w_remainderl.c: Likewise.
43145 * math/w_scalb.c: Likewise.
43146 * math/w_scalbf.c: Likewise.
43147 * math/w_scalbl.c: Likewise.
43148 * math/w_sinh.c: Likewise.
43149 * math/w_sinhf.c: Likewise.
43150 * math/w_sinhl.c: Likewise.
43151 * math/w_sqrt.c: Likewise.
43152 * math/w_sqrtf.c: Likewise.
43153 * math/w_sqrtl.c: Likewise.
43154 * math/w_tgamma.c: Likewise.
43155 * math/w_tgammaf.c: Likewise.
43156 * math/w_tgammal.c: Likewise.
43158 * po/ja.po: Update from translation team.
43160 2011-09-29 Andreas Jaeger <aj@suse.de>
43163 * sunrpc/netname.c (netname2host): Fix logic.
43167 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43169 * math/w_remainder.c (__remainder): Likewise.
43170 * math/w_remainderf.c (__remainderf): Likewise.
43171 * math/libm-test.inc (remainder_test): Add test cases.
43173 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43175 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43178 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43180 * string/test-memcmp.c: Avoid unncessary #defines.
43181 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43183 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43185 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43186 Use new sse2 version for core i3 - i7 as it's faster
43187 than sse42 version.
43188 (bit_Prefer_PMINUB_for_stringop): New.
43189 * sysdeps/x86_64/rawmemchr.S: Update.
43190 Replace with faster SSE2 version.
43191 * sysdeps/x86_64/memrchr.S: New file.
43192 * sysdeps/x86_64/memchr.S: Update.
43193 Replace with faster SSE2 version.
43195 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43197 * elf/dl-load.c (lose): Add cast to avoid warning.
43199 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43201 * po/ca.po: Update from translation team.
43203 * inet/getnetgrent_r.c: Hook up nscd.
43204 * nscd/Makefile (routines): Add nscd_netgroup.
43205 (nscd-modules): Add netgroupcache.
43206 (CFLAGS-netgroupcache.c): Define.
43207 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43208 (cache_search): Add const to second parameter.
43209 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43211 (dbs): Add netgrdb entry.
43212 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43213 (verify_persistent_db): Handle netgrdb.
43214 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43215 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43217 (netgroup_response_header): Define.
43218 (innetgroup_response_header): Define.
43219 (datahead): Add netgroup_response_header and innetgroup_response_header
43221 * nscd/nscd.conf: Add entries for netgroup cache.
43222 * nscd/nscd.h (dbtype): Add netgrdb.
43223 (_PATH_NSCD_NETGROUP_DB): Define.
43224 (netgroup_iov_disabled): Declare.
43225 (xmalloc, xcalloc, xrealloc): Move declarations here.
43226 (cache_search): Adjust prototype.
43227 Add netgroup-related prototypes.
43228 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43229 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43230 (__nscd_innetgr): Declare.
43231 * nscd/selinux.c (perms): Use access_vector_t as element type and
43232 add netgroup-related initializers.
43233 * nscd/netgroupcache.c: New file.
43234 * nscd/nscd_netgroup.c: New file.
43235 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43236 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43237 For four parameters use innetgr.
43238 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43239 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43240 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43241 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43243 * nscd/connections.c (register_traced_file): Don't register file
43244 for disabled databases.
43246 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43248 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43250 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43251 from tree and freeing node.
43253 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43255 * nss/nsswitch.c (__nss_database_lookup): Handle
43256 nss_parse_service_list out of memory case.
43258 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43260 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43261 out of memory case.
43263 2011-10-04 Andreas Schwab <schwab@redhat.com>
43265 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43266 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43268 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43269 elf_machine_rela, elf_machine_lazy_rel.
43270 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43271 (ELF_DYNAMIC_DO_REL): Likewise.
43272 (ELF_DYNAMIC_DO_RELA): Likewise.
43273 (ELF_DYNAMIC_RELOCATE): Likewise.
43274 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43275 to ELF_DYNAMIC_DO_REL.
43276 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43277 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43278 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43280 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43281 skip_ifunc, don't call ifunc function if non-zero.
43282 (elf_machine_rela): Likewise.
43283 (elf_machine_lazy_rel): Likewise.
43284 (elf_machine_lazy_rela): Likewise.
43285 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43286 (elf_machine_lazy_rel): Likewise.
43287 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43289 (elf_machine_lazy_rel): Likewise.
43290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43292 (elf_machine_lazy_rel): Likewise.
43293 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43294 (elf_machine_lazy_rel): Likewise.
43295 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43296 (elf_machine_lazy_rel): Likewise.
43297 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43298 (elf_machine_lazy_rel): Likewise.
43299 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43300 (elf_machine_lazy_rel): Likewise.
43301 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43302 (elf_machine_lazy_rel): Likewise.
43303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43304 (elf_machine_lazy_rel): Likewise.
43306 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43308 * nss/nss_files/files-init.c (_nss_files_init): Use static
43309 initialization for all the *_traced_file variables.
43311 2011-09-28 Andreas Schwab <schwab@redhat.com>
43313 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43315 2011-09-27 Roland McGrath <roland@hack.frob.com>
43318 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43320 2011-09-27 Andreas Schwab <schwab@redhat.com>
43322 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43323 Reread the line before reparsing it.
43325 2011-09-26 Andreas Schwab <schwab@redhat.com>
43327 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43329 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43330 Maxim Kuvyrkov <maxim@codesourcery.com>
43331 Joseph Myers <joseph@codesourcery.com>
43333 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43334 if needed for __stack_chk_guard.
43336 2011-09-19 Roland McGrath <roland@hack.frob.com>
43338 * sysdeps/posix/spawni.c (script_execute): Always define it.
43339 It will be optimized away if unused.
43340 (maybe_script_execute): New function.
43341 (__spawni): Call it.
43343 * Makerules: Don't include tls.make.
43344 (config-tls): Always set to thread.
43345 * tls.make.c: File removed.
43347 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43349 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43350 * config.make.in (CPPFLAGS-config): New substituted variable.
43352 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43354 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43357 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43358 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43360 2011-09-15 Roland McGrath <roland@hack.frob.com>
43362 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43363 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43364 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43365 (CALL_FAIL): Likewise.
43366 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43367 (CALL_FAIL): Macro removed.
43368 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43370 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43372 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43373 for __FINITE_MATH_ONLY__ == 1.
43375 2011-09-15 Andreas Schwab <schwab@redhat.com>
43377 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43378 __ieee754_sqrt instead of sqrt.
43379 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43380 __ieee754_sqrtf instead of sqrtf.
43381 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43382 __floorf instead of floorf.
43383 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43384 __floorf, __truncf instead of floorf, truncf.
43386 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43388 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43390 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43391 __extern_always_inline.
43392 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43395 2011-09-14 Andreas Schwab <schwab@redhat.com>
43397 * elf/rtld.c (dl_main): Also relocate in dependency order when
43398 doing symbol dependency testing.
43400 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43402 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43403 Always define `refsym'.
43405 2011-09-13 Andreas Schwab <schwab@redhat.com>
43407 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43408 (__FD_ELT): Renamed from __FDELT.
43409 * misc/bits/select2.h (__FD_ELT): Likewise.
43410 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43411 __FD_MASK instead of __FDELT, __FDMASK.
43412 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43414 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43417 * elf/Makefile (gen-ldd): Fix pattern.
43419 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43420 (init_tls): Likewise.
43422 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43424 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43426 2011-09-12 Andreas Schwab <schwab@redhat.com>
43428 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43429 `struct cmsghdr *' instead of `void *'.
43430 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43433 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43435 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43437 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43438 ldd_rewrite_script.
43440 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43442 * configure.in: Remove --with-tls option.
43443 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43444 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43445 out in case it is missing.
43446 * sysdeps/ia64/elf/configure.in: Likewise.
43447 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43448 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43449 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43450 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43451 * sysdeps/sh/elf/configure.in: Likewise.
43452 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43453 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43454 * sysdeps/x86_64/elf/configure.in: Likewise.
43455 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43456 * sysdeps/mach/hurd/tls.h: Likewise.
43459 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43462 * configure.in: Fix use of AC_INIT.
43464 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43466 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43468 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43470 * malloc/hooks.c: Likewise.
43473 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43474 variables statically.
43475 (narenas): Initialize.
43476 (list_lock): Initialize.
43477 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43478 initializtion of main_arena and list_lock. Small cleanups.
43479 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43480 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43481 Add initializers to main_arena and mp_.
43482 (malloc_state): Remove pagesize member. Change all users to use
43485 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43486 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43487 is always initialized.
43489 * malloc/malloc.c: Removed unused configurations and dead code.
43490 * malloc/arena.c: Likewise.
43491 * malloc/hooks.c: Likewise.
43492 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43494 * include/tls.h: Removed. USE___THREAD must always be defined.
43495 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43496 * elf/dl-libc.c: Likewise.
43497 * elf/dl-tsd.c: Likewise.
43498 * include/errno.h: Likewise.
43499 * include/netdb.h: Likewise.
43500 * include/resolv.h: Likewise.
43501 * inet/herrno-loc.c: Likewise.
43502 * inet/herrno.c: Likewise.
43503 * malloc/arena.c: Likewise.
43504 * malloc/hooks.c: Likewise.
43505 * malloc/malloc.c: Likewise.
43506 * resolv/res-state.c: Likewise.
43507 * resolv/res_libc.c: Likewise.
43508 * sysdeps/i386/dl-machine.h: Likewise.
43509 * sysdeps/ia64/dl-machine.h: Likewise.
43510 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43511 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43512 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43513 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43514 * sysdeps/sh/dl-machine.h: Likewise.
43515 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43516 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43517 * sysdeps/unix/i386/sysdep.S: Likewise.
43518 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43519 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43521 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43522 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43523 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43524 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43525 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43528 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43529 * sysdeps/x86_64/dl-machine.h: Likewise.
43530 * tls.make.c: Likewise.
43532 * configure.in: Remove --with-__thread option. Make tests for
43533 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43534 tls_model attribute fail if no support is available. Remove
43536 * Makeconfig: Adjust for dropped configure option. All features are
43538 * Makerules: Likewise.
43539 * Versions.def: Likewise.
43540 * argp/argp-fmtstream.c: Likewise.
43541 * argp/argp-fmtstream.h: Likewise.
43542 * argp/argp-help.c: Likewise.
43543 * assert/assert.c: Likewise.
43544 * config.h.in: Likewise.
43545 * config.make.in: Likewise.
43546 * configure: Likewise.
43547 * configure.in: Likewise.
43548 * csu/Versions: Likewise.
43549 * csu/init.c: Likewise.
43550 * elf/tst-audit2.c: Likewise.
43551 * elf/tst-tls10.c: Likewise.
43552 * elf/tst-tls10.h: Likewise.
43553 * elf/tst-tls11.c: Likewise.
43554 * elf/tst-tls12.c: Likewise.
43555 * elf/tst-tls14.c: Likewise.
43556 * elf/tst-tlsmod11.c: Likewise.
43557 * elf/tst-tlsmod12.c: Likewise.
43558 * elf/tst-tlsmod13.c: Likewise.
43559 * elf/tst-tlsmod13a.c: Likewise.
43560 * elf/tst-tlsmod14a.c: Likewise.
43561 * elf/tst-tlsmod15b.c: Likewise.
43562 * elf/tst-tlsmod16a.c: Likewise.
43563 * elf/tst-tlsmod16b.c: Likewise.
43564 * elf/tst-tlsmod7.c: Likewise.
43565 * elf/tst-tlsmod8.c: Likewise.
43566 * elf/tst-tlsmod9.c: Likewise.
43567 * gmon/gmon.c: Likewise.
43568 * grp/fgetgrent_r.c: Likewise.
43569 * grp/putgrent.c: Likewise.
43570 * hurd/fopenport.c: Likewise.
43571 * include/libc-symbols.h: Likewise.
43572 * include/tls.h: Likewise.
43573 * intl/gettextP.h: Likewise.
43574 * intl/loadinfo.h: Likewise.
43575 * locale/global-locale.c: Likewise.
43576 * locale/localeinfo.h: Likewise.
43577 * mach/devstream.c: Likewise.
43578 * malloc/arena.c: Likewise.
43579 * malloc/set-freeres.c: Likewise.
43580 * misc/err.c: Likewise.
43581 * misc/getttyent.c: Likewise.
43582 * misc/mntent_r.c: Likewise.
43583 * posix/getopt.c: Likewise.
43584 * posix/wordexp.c: Likewise.
43585 * pwd/fgetpwent_r.c: Likewise.
43586 * resolv/Versions: Likewise.
43587 * resolv/res_hconf.c: Likewise.
43588 * shadow/fgetspent_r.c: Likewise.
43589 * shadow/putspent.c: Likewise.
43590 * stdio-common/printf_fphex.c: Likewise.
43591 * stdio-common/tmpfile.c: Likewise.
43592 * stdlib/abort.c: Likewise.
43593 * stdlib/fmtmsg.c: Likewise.
43594 * sunrpc/auth_unix.c: Likewise.
43595 * sunrpc/clnt_perr.c: Likewise.
43596 * sunrpc/clnt_tcp.c: Likewise.
43597 * sunrpc/clnt_udp.c: Likewise.
43598 * sunrpc/clnt_unix.c: Likewise.
43599 * sunrpc/openchild.c: Likewise.
43600 * sunrpc/svc_simple.c: Likewise.
43601 * sunrpc/svc_tcp.c: Likewise.
43602 * sunrpc/svc_udp.c: Likewise.
43603 * sunrpc/svc_unix.c: Likewise.
43604 * sunrpc/xdr.c: Likewise.
43605 * sunrpc/xdr_array.c: Likewise.
43606 * sunrpc/xdr_rec.c: Likewise.
43607 * sunrpc/xdr_ref.c: Likewise.
43608 * sunrpc/xdr_stdio.c: Likewise.
43610 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43612 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43614 2011-07-03 Andreas Jaeger <aj@suse.de>
43616 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43617 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43618 regenerate with gen-libm-tests.pl.
43620 2010-05-12 Petr Baudis <pasky@suse.cz>
43623 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43624 around j0() zero points by switching to j1().
43625 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43626 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43627 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43628 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43630 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43632 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43634 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43637 Patch in part by Pavel Roskin <proski@gnu.org>.
43640 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43642 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43643 Free memory block if necessary.
43646 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43647 be NULL. Don't lock in this case.
43649 2011-09-09 Roland McGrath <roland@hack.frob.com>
43651 * elf/elf.h (ELFOSABI_GNU): New macro.
43652 (ELFOSABI_LINUX): Define to that.
43654 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43656 * string/strncat.c (strncat): Undef the symbol in case it has been
43657 defined in bits/string.h.
43659 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43661 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43663 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43666 2011-08-17 Andreas Jaeger <aj@suse.de>
43668 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43670 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43671 Ian Lance Taylor <iant@google.com>
43673 * math/libm-test.inc (lround_test): New testcase.
43674 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43676 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43678 * Makefile: Remove support for automatic cvs check-ins.
43679 * Makerules: Likewise.
43680 * config.make.in: Likewise.
43681 * configure.in: Likewise.
43682 * intl/Makefile: Likewise.
43683 * locale/Makefile: Likewise.
43684 * po/Makefile: Likewise.
43685 * posix/Makefile: Likewise.
43686 * sysdeps/gnu/Makefile: Likewise.
43687 * sysdeps/mach/hurd/Makefile: Likewise.
43688 * sysdeps/sparc/sparc32/Makefile: Likewise.
43691 * posix/Makefile (bug-regex32-ENV): Define.
43692 Patch by John Stanley <jpsinthemix@verizon.net>.
43694 * misc/Makefile (headers): Add bits/select2.h.
43695 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43696 * misc/bits/select2.h: New file.
43697 * include/bits/select2.h: New file.
43698 * debug/Makefile (routines): Add fdelt_chk.
43699 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43700 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43702 * debug/fdelt_chk.c: New file.
43704 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43705 * wcsmbs/test-wmemcmp.c: Likewise.
43706 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43707 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43709 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43711 * string/Makefile (strop-tests): Add memcmp.
43712 * string/test-wmemcmp.c: New file.
43713 * string/test-memcmp.c: Add wmemcmp support.
43715 2011-09-08 Roland McGrath <roland@hack.frob.com>
43718 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43721 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43722 garbage value in a __mach_port_mod_refs call in the cases of the
43723 task-self and thread-self ports.
43725 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43727 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43729 2011-09-08 Andreas Schwab <schwab@redhat.com>
43731 * elf/dl-load.c (lose): Check for non-null L.
43733 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43735 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43737 * elf/dl-libc.c (dlerror_run): Pass back error code from
43741 * elf/dl-load.c (lose): Free l_origin if it is valid.
43743 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43745 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43746 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43747 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43748 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43749 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43750 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43752 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43754 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43755 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43756 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43757 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43758 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43759 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43760 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43761 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43762 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43763 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43765 2011-08-15 Alan Modra <amodra@gmail.com>
43768 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43769 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43770 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43771 ppc_mcount to static-only-routines.
43772 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43774 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43775 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43777 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43779 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43780 for finite and infinity parameters.
43782 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43784 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43785 and add nop instructions for throughput optimization.
43786 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43788 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43790 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43791 aligned copy for power7 with vector-scalar instructions.
43792 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43794 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43796 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43799 2011-09-07 Andreas Schwab <schwab@redhat.com>
43802 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43805 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43807 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43808 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43809 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43810 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43813 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43815 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43816 Forgot to demangle the pointer.
43818 * sysdeps/i386/sysdep.h: Define atom_text_section.
43819 * sysdeps/x86_64/sysdep.h: Likewise.
43820 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43821 section with atom_text_section.
43822 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43823 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43824 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43825 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43826 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43828 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43829 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43830 already be defined. Change to take two parameters and don't assign
43831 result to variable. Adjust all users.
43832 Define INTERNAL_GETTIME if not already defined.
43833 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43836 HAVE_CLOCK_GETTIME_VSYSCALL.
43837 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43839 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43840 gettimeofday vsyscall, just use time.
43842 2011-09-06 Andreas Schwab <schwab@redhat.com>
43844 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43847 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43849 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43851 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43853 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43854 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43855 syscall if possible.
43857 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43859 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43860 e_ident. Don't pass to find_mapsXX.
43861 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43863 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43866 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43867 * sysdeps/x86_64/multiarch/strchr.S: Update.
43868 Check bit_slow_BSF bit.
43869 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43870 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43871 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43873 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43876 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43878 (tryshell): Define.
43879 (__spawni): Change last parameter to be flag. Test
43880 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43881 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43882 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43883 * posix/spawni.c: Likewise.
43884 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43885 * posix/spawnp.c: Likewise. Change normal version to use
43886 SPAWN_XFLAGS_USE_PATH.
43887 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43888 SPAWN_XFLAGS_TRY_SHELL.
43891 * posix/glob.h: Remove gcc 1.x support.
43894 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43896 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43899 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43901 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43902 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43903 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43904 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43905 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43906 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43908 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43910 * sysdeps/x86_64/wcscmp.S: New file.
43912 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43913 wcscmp-c wcscmp-sse2
43914 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43915 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43916 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43917 * wcsmbs/wcscmp.c: Allow renaming.
43919 2011-09-05 David S. Miller <davem@davemloft.net>
43921 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43922 stack slot, rather than the struct return pointer slot.
43923 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43924 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43926 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43928 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43930 * po/ja.po: Update from translation team.
43933 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43934 kernel in 64-bit binaries.
43936 2011-09-01 David S. Miller <davem@davemloft.net>
43938 * elf/elf.h (HWCAP_SPARC_*): Move to..
43939 * sysdeps/sparc/sysdep.h: this new file and add new values.
43940 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43941 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43942 _DL_HWCAP_COUNT to 24.
43943 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43945 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43946 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43947 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43948 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43949 instead of magic constants.
43950 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43952 2011-08-31 David S. Miller <davem@davemloft.net>
43954 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43956 Reimplement to do errno handling inline.
43957 (SYSCALL_ERROR_HANDLER): New macro.
43958 (__SYSCALL_STRING): Do not do errno handling in asm.
43959 (__CLONE_SYSCALL_STRING): Delete.
43960 (__INTERNAL_SYSCALL_STRING): Delete.
43961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43962 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43963 (PSEUDO): Reimplement to do errno handling inline.
43964 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43965 (SYSCALL_ERROR_HANDLER): New macro.
43966 (__SYSCALL_STRING): Do not do errno handling in asm.
43967 (__CLONE_SYSCALL_STRING): Delete.
43968 (__INTERNAL_SYSCALL_STRING): Delete.
43969 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43970 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43972 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43973 (inline_syscall*): Add 'err' argument.
43974 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43975 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43976 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43977 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43979 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43980 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43982 2011-08-30 Andreas Schwab <schwab@redhat.com>
43984 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43986 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43988 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43991 2011-08-24 David S. Miller <davem@davemloft.net>
43993 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43995 2011-08-24 Andreas Schwab <schwab@redhat.com>
43997 * elf/Makefile: Add rules to build and run unload8 test.
43998 * elf/unload8.c: New file.
43999 * elf/unload8mod1.c: New file.
44000 * elf/unload8mod1x.c: New file.
44001 * elf/unload8mod2.c: New file.
44002 * elf/unload8mod3.c: New file.
44004 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44007 2011-08-23 David S. Miller <davem@davemloft.net>
44009 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44010 subtract stack bias.
44011 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44012 %sp not %fp in calculations.
44013 (_JMPBUF_UNWINDS_ADJ): Likewise.
44015 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44016 (aio_suspend): Call it to force an exception region around the
44017 AIO_MISC_WAIT() invocation.
44019 2011-08-23 Andreas Schwab <schwab@redhat.com>
44021 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44024 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44026 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44028 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44029 and <dl-machine.h>.
44030 (Elf64_FuncDesc): Remove.
44032 2011-08-22 David S. Miller <davem@davemloft.net>
44034 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44035 sigaltstack check, add missing cfi directives.
44036 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44037 missing cfi directives, and sigaltstack handling.
44039 2011-08-16 Andreas Schwab <schwab@redhat.com>
44042 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44043 object is seen twice.
44044 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44046 * elf/Makefile (distribute): Add tst-initorder2.c.
44047 (tests): Add tst-initorder2.
44048 (modules-names): Add tst-initorder2a tst-initorder2b
44049 tst-initorder2c tst-initorder2d. Add rules to build them.
44050 ($(objpfx)tst-initorder2.out): New rule.
44051 * elf/tst-initorder2.c: New file.
44052 * elf/tst-initorder2.exp: New file.
44054 2011-08-22 Andreas Schwab <schwab@redhat.com>
44056 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44058 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44059 dependencies back to end of function.
44061 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44062 $(elfobjdir)/ld.so.
44064 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44067 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44069 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44070 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44071 of __vdso_gettimeofday.
44072 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44073 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44075 (_libc_vdso_platform_setup): Remove initialization of
44076 __vdso_gettimeofday and __vdso_time.
44078 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44080 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44081 and fgetc_unlocked.
44082 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44085 * elf/dl-open.c (add_to_global): Report additions to the global scope
44086 for LD_DEBUG=scopes.
44087 (dl_open_worker): Also print scope of newly loaded dependencies.
44088 (_dl_show_scope): Indicate if there is no scope.
44091 * stdio-common/Makefile (tests): Add bug24.
44092 * stdio-common/bug24.c: New file.
44094 2011-08-19 Andreas Jaeger <aj@suse.de>
44097 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44098 non-existant file when using close-on-exec mode.
44100 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44102 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44103 the very first instruction.
44105 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44106 the CFI state in the end.
44107 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44108 inclusion of dl-trampoline.h.
44109 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44111 2011-08-19 Andreas Schwab <schwab@redhat.com>
44113 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44114 expectations for long double.
44116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44117 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44119 2011-08-14 David S. Miller <davem@davemloft.net>
44121 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44122 artificual limit depends upon the system page size.
44124 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44126 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44127 * resolv/Makefile: Define CFLAGS-libresolv.
44129 2011-08-17 Andreas Schwab <schwab@redhat.com>
44131 * nss/makedb.c (compute_tables): Make variables used in nested
44134 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44136 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44137 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44138 if buffer was too small.
44140 * elf/pldd.c (main): Attach to all threads in the process.
44141 Rewrite /proc handling to use *at functions.
44143 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44145 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44146 specifies first scope to show.
44147 (dl_open_worker): Update callers. Move printing scope of new
44148 object to before the relocation.
44149 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44150 * sysdeps/generic/ldsodefs.h: Update declaration.
44152 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44153 string for the scope number.
44155 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44157 * nscd/servicescache.c (cache_addserv): Make sure written is always
44160 2011-08-14 Roland McGrath <roland@hack.frob.com>
44162 * sysdeps/i386/i486/bits/atomic.h
44163 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44164 statement expression, so as to suppress "set but not used" warning.
44165 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44167 * string/strncat.c (STRNCAT): Use prototype definition.
44169 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44170 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44172 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44173 (localedef-modules): Add localedef.
44174 (locale-modules): Add locale.
44176 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44177 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44178 to avoid a warning.
44180 2011-08-14 David S. Miller <davem@davemloft.net>
44182 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44183 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44185 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44187 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44188 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44189 * elf/rtld.c (dl_main): Set l_name of vDSO.
44190 Call _dl_show_scope when DL_DEBUG_SCOPES.
44191 (process_dl_debug): Recognize scopes flag and also set it for all.
44192 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44193 Declare _dl_show_scope.
44195 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44196 (do_dlopen): Pass caller_dlopen to dl_open.
44197 (__libc_dlopen_mode): Initialize caller_dlopen.
44199 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44200 of libc. Make tolower call locale-independent. Optimize a bit by
44201 using isdigit instead of isalnum.
44202 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44204 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44206 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44207 was a dependency or dynamically loaded.
44209 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44211 * intl/l10nflist.c: Allow architecture-specific pop function.
44212 * sysdeps/x86_64/l10nflist.c: New file.
44214 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44217 2011-08-10 Andreas Schwab <schwab@redhat.com>
44219 * include/dirent.h: Add libc_hidden_proto for scandirat and
44220 scandirat64. Don't declare __scandirat64.
44221 * dirent/scandirat.c: Add libc_hidden_def.
44222 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44223 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44225 2011-08-10 David S. Miller <davem@davemloft.net>
44227 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44229 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44230 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44231 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44233 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44235 * Versions.def [libc]: Add GLIBC_2.15.
44236 * dirent/Makefile (routines): Add scandirat and scandirat64.
44237 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44239 * dirent/dirent.h: Declare scandirat and scandirat64.
44240 * dirent/scandirat.c: New file.
44241 * dirent/scandirat64.c: New file.
44242 * sysdeps/wordsize-64/scandirat.c: New file.
44243 * sysdeps/wordsize-64/scandirat64.c: New file.
44244 * dirent/opendir.c: Define opendirat.
44245 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44247 * dirent/scandir64.c: Adjust for scandir.c change.
44248 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44249 __scandirat64, and __scandir_cancel_handler.
44250 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44251 additional parameter and use openat instead of open (outside of ld.so).
44252 Add new __opendir as wrapper around __opendirat.
44253 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44254 here without requiring old scandirat implementation.
44256 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44258 * dirent/scandir.c (cancel_handler): Renamed to
44259 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44260 defined. Adjust users.
44261 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44262 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44264 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44266 * string/test-string.h (IMPL): Use __STRING to expand name and then
44269 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44272 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44274 * string/Makefile: Update.
44275 (strop-tests): Append strncat.
44276 * string/test-wcscmp.c: New file.
44277 New comprehensive test for wcscmp.
44278 * string/test-strcmp.c: Update.
44279 (WIDE): New define.
44281 2011-07-22 Andreas Schwab <schwab@redhat.com>
44283 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44286 2011-07-26 Andreas Schwab <schwab@redhat.com>
44288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44289 encoding to ACE if AI_IDN.
44291 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44293 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44294 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44296 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44298 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44299 Fix overflow bug in strncat.
44300 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44302 * string/test-strncat.c: Update.
44303 Add new tests for checking overflow bugs.
44305 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44307 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44308 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44309 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44310 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44311 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44312 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44313 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44314 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44315 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44317 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44318 (USE_AS_STRCAT): Define.
44319 Add strcat and strncat support.
44320 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44322 2011-07-25 Andreas Schwab <schwab@redhat.com>
44324 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44325 __n bigger than INT_MAX+1.
44326 (__strncmp_g): Likewise.
44328 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44330 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44331 * libio/stido.h: Likewise.
44333 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44338 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44339 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44340 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44341 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44342 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44345 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44348 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44350 (_dl_x86_64_save_sse): Likewise.
44352 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44354 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44356 (_dl_x86_64_save_sse): Likewise.
44358 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44360 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44362 2011-07-21 Andreas Schwab <schwab@redhat.com>
44364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44366 (_dl_x86_64_save_sse): Use correct AVX check.
44368 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44370 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44371 bug in strncpy/strncat.
44372 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44374 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44376 * string/tester.c (test_strcat): Add tests for different alignments
44377 of source and destination.
44378 (test_strncat): Likewise.
44380 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44383 * posix/glob.c (glob): Check passed in values before using them in
44384 expressions to avoid some overflows.
44385 (glob_in_dir): Likewise.
44388 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44389 check for AVX enablement so that we don't crash with old kernels and
44391 * elf/tst-audit4.c: Add same checks here.
44392 * elf/tst-audit6.c: Likewise.
44394 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44396 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44398 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44400 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44402 * po/cs.po: Update from translation team.
44403 * po/bg.po: Likewise.
44405 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44407 * misc/sys/cdefs.h: Add support for const attribute.
44408 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44409 to gnu_dev_{major,minor,makedev} functions.
44411 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44413 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44415 2011-07-20 Andreas Schwab <schwab@redhat.com>
44417 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44420 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44422 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44423 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44424 register in order to avoid conflicts with the soft frame pointer
44425 being held in r11 when necessary.
44426 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44427 (INTERNAL_VSYSCALL_NCS): Likewise.
44429 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44431 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44432 * elf/dl-fini.c (_dl_fini): Adjust caller.
44433 * elf/dl-close.c (_dl_close_worker): Likewise.
44434 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44436 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44438 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44439 "aux_cache->nlibs < 0".
44441 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44442 in the reload-count case.
44444 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44447 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44448 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44449 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44450 * sysdeps/x86_64/multiarch/strcat.S: New file.
44451 * sysdeps/x86_64/multiarch/strncat.S: New file.
44452 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44453 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44454 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44455 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44456 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44457 (USE_AS_STRCAT): Define.
44458 Add strcat and strncat support.
44459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44460 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44461 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44462 * string/strncat.c: Update.
44463 (USE_AS_STRNCAT): Define.
44464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44465 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44467 * sysdeps/x86_64/multiarch/init-arch.h
44468 (bit_Prefer_PMINUB_for_stringop): New.
44469 (index_Prefer_PMINUB_for_stringop): Likewise.
44470 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44471 bit_Prefer_PMINUB_for_stringop.
44473 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44475 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44477 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44478 of casting of buffer.
44479 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44480 buffer32 and buffer64.
44481 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44482 writes instead of casting of buffer.
44483 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44485 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44488 2011-07-19 Andreas Schwab <schwab@redhat.com>
44490 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44492 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44494 * nscd/nscd.c (termination_handler): Don't do anything for a database
44495 if it has not yet been initialized.
44497 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44499 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44501 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44503 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44505 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44507 * po/nl.po: Update from translation team.
44508 * po/sv.po: Likewise.
44510 2011-07-16 Roland McGrath <roland@hack.frob.com>
44512 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44513 now disallowed by GCC.
44515 * configure.in (use-default-link): Default to yes if a test -shared
44516 link meets our qualifications.
44517 * configure: Regenerated.
44519 * config.make.in (output-format): New variable.
44520 * configure.in: Check for ld --print-output-format support.
44521 * configure: Regenerated.
44522 * Makerules ($(common-objpfx)format.lds)
44523 [$(output-format) != unknown]: Just use $(output-format),
44524 instead of the linker-script munging.
44526 2011-07-14 Roland McGrath <roland@hack.frob.com>
44528 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44529 of $(common-objpfx)shlib.lds.
44530 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44532 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44533 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44535 * configure.in (-z relro check): Adjust test code to add a large
44536 writable data section after it.
44537 * configure: Regenerated.
44539 2011-07-11 Roland McGrath <roland@hack.frob.com>
44541 * configure.in (-z relro check): Fix test code to make the variable
44543 * configure: Regenerated.
44545 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44547 * nscd/nscd.h (struct traced_file): Define.
44548 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44549 elements. Add traced_files.
44550 (inotify_fd): Declare.
44551 (register_traced_file): Declare.
44552 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44553 (inotify_fd): Export.
44554 (resolv_conf_descr): Remove.
44555 (nscd_init): Move inotify descriptor creation to main.
44556 Don't register files for notification here.
44557 (register_traced_file): New function.
44558 (invalidate_cache): Don't use reset_res to determine whether to call
44559 res_init, go through the list of registered files.
44560 (main_loop_poll): The inotify descriptors are now stored in the
44561 structures for the traced files.
44562 (main_loop_epoll): Likewise
44563 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44564 to __nss_disable_nscd.
44565 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44566 for a database anymore. Check the records for all the registered
44568 * nss/Makefile (libnss_files-routines): Add files-init.
44569 (libnss_db-routines): Add db-init.
44570 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44571 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44572 * nss/nss_db/db-init.c: New file.
44573 * nss/nss_files/files-init.c: New file.
44574 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44575 __nss_lookup_function.
44576 (__nss_lookup_function): Call nss_load_library.
44577 (nss_load_all_libraries): New function.
44578 (__nss_disable_nscd): Take parameter with callback function for files
44579 to register. Set is_nscd. Load all the DSOs for the NSS modules
44580 used for the cached services.
44581 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44582 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44583 options for features to all the files in nscd.
44585 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44587 2011-07-10 Roland McGrath <roland@hack.frob.com>
44589 * csu/elf-init.c (__libc_csu_init): Comment typo.
44591 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44593 * po/pl.po: Update from translation team.
44594 * po/ja.po: Likewise.
44595 * po/ru.po: Likewise.
44596 * po/ko.po: Likewise.
44597 * po/fr.po: Likewise.
44599 2011-07-09 Roland McGrath <roland@hack.frob.com>
44601 * configure.in (.ctors/.dtors header and trailer check):
44602 Use an empirical test on a built program.
44603 * configure: Regenerated.
44605 * configure.in (-z relro check): Use an empirical test on a built DSO.
44606 Detect, but do not require, on ia64.
44607 * configure: Regenerated.
44609 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44610 Update tests that use readelf to use $READELF instead.
44611 * configure: Regenerated.
44613 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44615 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44616 if the result is not used.
44618 2011-07-05 Andreas Jaeger <aj@suse.de>
44621 * stdlib/tst-strtod.c: Add testcase.
44623 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44625 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44626 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44627 The latter has a higher limit. Take additional parameter to pass to
44629 (__pathconf): Pass file to __statfs_link_max.
44630 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44632 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44636 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44637 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44639 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44640 (__statfs_filesize_max): Likewise.
44641 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44643 2011-07-05 Andreas Jaeger <aj@suse.de>
44645 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44647 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44649 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44651 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44654 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44656 * Makefile (strop-tests): Add strncat.
44657 * string/test-strncat.c: New file.
44659 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44661 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44663 2011-06-21 Andreas Jaeger <aj@suse.de>
44665 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44666 Copy rule from iconvdata/Makefile.
44668 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44671 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44672 but no long options are defined, just return 'W'.
44674 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44677 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44679 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44681 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44683 (innetgr): Likewise.
44685 2011-07-05 Roland McGrath <roland@hack.frob.com>
44687 * config.make.in (install_root): Default to $(DESTDIR).
44689 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44691 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44693 2011-07-02 Roland McGrath <roland@hack.frob.com>
44695 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44697 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44698 containing directory rather than embedding absolute directory names.
44700 * scripts/check-local-headers.sh: Rewritten using awk.
44701 Match by word, not by line. Print error messages for matches.
44702 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44704 * Makerules [shlib-lds-flags empty]:
44705 ($(common-objpfx)libc_pic.opts): New target.
44706 ($(common-objpfx)libc_pic.os.clean): New target.
44707 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44709 * config.make.in (OBJCOPY): New variable.
44710 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44711 * configure: Regenerated.
44713 * config.make.in (use-default-link): New variable.
44714 * configure.in (use_default_link): Grok --with-default-link to set it.
44715 * configure: Regenerated.
44716 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44717 (shlib-lds, shlib-lds-flags): Define to empty.
44719 * Makerules (shlib-lds): New variable.
44720 (shlib-lds-flags): New variable.
44721 (build-shlib, build-moduile, build-module-asneeded): Use it.
44722 ($(common-objpfx)libc.so): Use $(shlib-lds).
44723 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44724 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44726 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44727 DT_FLAGS/DT_FLAGS_1 with zero flags.
44729 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44730 linker script munging.
44732 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44734 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44736 * crypt/sha512.c (sha512_process_block): Perform total addition using
44737 128-bit if possible.
44738 (__sha512_finish_ctx): Likewise.
44739 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44741 * crypt/sha256.c (SWAP64): Define.
44742 (sha256_process_block): Perform total addition using 64-bit if
44744 (__sha256_finish_ctx): Likewise.
44746 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44748 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44749 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44750 * nscd/hstcache.c (cache_addhst): Likewise.
44751 * nscd/grpcache.c (cache_addgr): Likewise.
44752 * nscd/aicache.c (addhstaiX): Likewise
44753 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44755 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44757 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44758 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44759 * nscd/hstcache.c (cache_addhst): Likewise.
44760 * nscd/grpcache.c (cache_addgr): Likewise.
44761 * nscd/aicache.c (addhstaiX): Likewise
44763 2011-07-01 Andreas Schwab <schwab@redhat.com>
44765 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44766 domain only when needed.
44768 2011-06-30 Andreas Schwab <schwab@redhat.com>
44770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44771 is always restored.
44773 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44775 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44776 are re-adding the entry.
44777 * nscd/servicescache.c (cache_addserv): Likewise.
44779 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44781 * sysdeps/generic/dl-irel.h: fix protection against multiple
44783 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44785 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44788 * malloc/memusage.sh: Fix quoting in message.
44789 * debug/xtrace.sh: Likewise.
44791 * configure.in: Remove support for --experimental-malloc option, make
44793 * config.make.in: Likewise.
44794 * malloc/Makefile: Likewise.
44796 2011-06-27 Andreas Schwab <schwab@redhat.com>
44798 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44799 two-byte characters.
44801 2011-06-27 Roland McGrath <roland@hack.frob.com>
44803 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44804 AC_CACHE_CHECK invocation.
44805 * configure: Regenerated.
44807 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44809 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44812 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44813 bit from old_res_options.
44815 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44817 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44818 value type for setfct.
44820 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44822 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44823 __gettimeofday instead of gettimeofday.
44825 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44827 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44829 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44831 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44833 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44836 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44839 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44840 strcpy-sse2-unaligned strncpy-sse2-unaligned
44841 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44842 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44843 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44844 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44845 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44846 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44847 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44848 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44849 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44850 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44851 (STRCPY): Support SSE2 and SSSE3 versions.
44853 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44856 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44857 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44858 kernels which artificially limit size of requests.
44860 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44863 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44864 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44865 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44866 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44867 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44868 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44869 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44870 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44871 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44872 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44873 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44874 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44875 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44876 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44878 Enable unaligned load optimization for Intel Core i3, i5 and i7
44880 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44882 (index_Fast_Unaligned_Load): Define.
44883 (HAS_FAST_UNALIGNED_LOAD): Define.
44885 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44887 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44889 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44892 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44893 until it is clear that the information is realy needed.
44894 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44896 2011-06-22 Andreas Schwab <schwab@redhat.com>
44898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44900 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44902 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44903 /sys/devices/system/cpu/online if it is usable.
44905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44906 reading the information from the /proc filesystem to once a second.
44908 2011-06-21 Andreas Jaeger <aj@suse.de>
44910 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44911 NULL after inclusion of kernel headers.
44913 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44915 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44916 calls to internal_setent.
44919 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44920 addresses using gethostbyname4_r ignore IPv4 addresses.
44922 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44923 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44925 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44927 2011-06-20 David S. Miller <davem@davemloft.net>
44929 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44931 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44933 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44934 (elf_irel): Use it.
44935 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44936 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44937 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44938 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44939 * sysdeps/x86_64/dl-irel.h: Likewise.
44941 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44942 * elf/dl-sym.c: Likewise.
44944 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44946 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44947 need to dereference resplen2.
44949 2011-06-14 Andreas Schwab <schwab@redhat.com>
44951 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44953 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44955 * Makeconfig: Define vardbdir and inst_vardbdir.
44956 * nss/Makefile: Add rules to install db-Makefile.
44958 * nss/nss_db/db-XXX.c: Cleanup.
44960 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44961 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44963 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44964 * nss/makedb.c: Implement -g option to specify that value strings
44965 are generated and should not be added to table iterated over for
44967 * nss/nss_db/db-initgroups.c: New file.
44969 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44972 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44973 (internal_getgrouplist): Adjust to name change.
44974 Update use_initgroups_entry if this is not the first call.
44975 * nss/databases.def: Add initgroups entry.
44977 * nss/makedb.c (compute_tables): Check result of multiple hash table
44978 sizes to minimize maximum chain length.
44980 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44982 * Versions.def: Add entry for libnss_db.
44983 * shlib-versions: Likewise.
44984 * nss/Makefile: Add rules to build libnss_db.
44985 * nss/Versions: Add libnss_db information. Organize libnss_files
44987 * nss/db-Makefile: Add gshadow support. Change rules for the new
44988 makedb progra. Some minor improvements to generate smaller files.
44989 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44991 * nss/makedb.c: ...here.
44992 Improve database format to be smaller and require less memory at
44994 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44996 * nss/nss_db/db-netgrp.c: Likewise.
44997 * nss/nss_db/db-open.c: Likewise.
44998 * nss/nss_files/flies-XXX.x: Adjust comments.
44999 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45000 * nss/nss_files/files-grp.c: Likewise.
45001 * nss/nss_files/files-hosts.c: Likewise.
45002 * nss/nss_files/files-network.c: Likewise.
45003 * nss/nss_files/files-proto.c: Likewise.
45004 * nss/nss_files/files-pwd.c: Likewise.
45005 * nss/nss_files/files-rpc.c: Likewise.
45006 * nss/nss_files/files-service.c: Likewise.
45007 * nss/nss_files/files-sgrp.c: Likewise.
45008 * nss/nss_files/files-spwd.c: Likewise.
45009 * nss/nss_db/db-alias.c: Removed.
45010 * nss/nss_db/dummy-db.h: Removed.
45012 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45014 * nss/makedb.c: Rewritten to not use database library.
45015 * nss/Makefile: Update to build new makedb program.
45017 2011-06-14 Andreas Jaeger <aj@suse.de>
45019 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45020 memset declaration.
45022 2011-06-10 Andreas Schwab <schwab@redhat.com>
45024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45027 2011-06-10 Roland McGrath <roland@hack.frob.com>
45029 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45030 * elf/Makefile ($(objpfx)ld.so): Likewise.
45032 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45033 Don't list ld.so twice in dependencies.
45035 * posix/bug-regex31.c: Include <stdlib.h>.
45037 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45039 * nis/nss_compat/compat-spwd.c
45040 (getspent_next_nss_netgr): Remove unused variable.
45041 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45043 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45044 nonmembers" output to use the right array.
45046 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45048 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45050 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45051 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45052 * catgets/gencat.c (read_input_file): Likewise.
45053 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45055 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45056 variable definition inside #if's controlling its use.
45058 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45060 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45062 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45064 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45067 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45069 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45070 * configure: Regenerated.
45072 * Makerules: Revert last change.
45073 * elf/Makefile: Likewise.
45075 2011-06-09 Roland McGrath <roland@hack.frob.com>
45077 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45078 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45079 (reloc-link): Likewise.
45081 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45083 * elf/Makefile: Add rules to build pldd.
45084 * elf/pldd.c: New file.
45085 * elf/pldd-xx.c: New file.
45087 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45089 * version.h: Update for 2.15 development version.
45091 2011-06-07 David S. Miller <davem@davemloft.net>
45093 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45095 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45096 elf_machine_lazy_rel): Likewise.
45097 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45098 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45099 elf_machine_lazy_rel): Likewise.
45100 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45101 dl_hwcap via passed in argument.
45102 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45105 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45107 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45109 2011-06-06 Roland McGrath <roland@hack.frob.com>
45112 * manual/fdl-1.1.texi: New file, verbatim from:
45113 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45114 * manual/lgpl-2.1.texi: New file, verbatim from:
45115 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45116 * manual/Makefile (licenses): New variable, list those new file names.
45118 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45120 * manual/fdl.texi: File removed.
45121 * manual/lesser.texi: File removed.
45122 * manual/libc.texinfo (Copying, Documentation License):
45123 Use new @include file names, put @appendix directive before @include.
45125 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45128 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45129 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45130 (mq_open): Add __NTH.
45132 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45135 Assume Intel Core i3/i5/i7 processor if AVX is available.
45137 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45139 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45142 2011-05-31 Andreas Schwab <schwab@redhat.com>
45144 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45145 memory. Use alloca_account. Fix memory leak when retrying.
45147 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45149 * version.h (RELEASE): Bump for 2.14 release.
45150 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45152 * config.make.in (RANLIB): Remove entry.
45154 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45156 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45157 (libc.pot): Work around missing support for .ksh extension in xgettext.
45160 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45161 if both request failed.
45162 (send_dg): In case of server errors clear resplen or *resplen2.
45165 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45166 when there are multiple maps.
45167 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45168 (_dl_fini): Remove test here.
45170 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45172 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45175 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45176 bit from old_res_options.
45177 (gaih_inet): Likewise.
45180 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45183 * resolv/res_init.c (res_setoptions): Make the code more compact.
45186 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45190 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45192 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45195 * malloc/malloc.h: Declare malloc hook variables as volatile.
45197 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45201 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45202 raise in the comment.
45203 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45204 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45205 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45207 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45210 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45211 grow the buffers more if it already has to be sufficient.
45212 (build_wcs_upper_buffer): Likewise.
45213 * posix/regexec.c (check_matching): Likewise.
45214 (clean_state_log_if_needed): Likewise.
45215 (extend_buffers): Don't enlarge buffers beyond size of the input
45217 Patches mostly by Emil Wojak <emil@wojak.eu>.
45218 * posix/bug-regex32.c: New file.
45219 * posix/Makefile (tests): Add bug-regex32.
45221 * locale/findlocale.c (_nl_find_locale): Return right away if
45222 _nl_explode_name failed.
45223 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45225 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45227 * debug/xtrace.sh: Unify messages.
45228 * malloc/memusage.sh: Likewise.
45231 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45232 time symbol from vDSO. Substitute with vsyscall if not available.
45233 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45236 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45237 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45238 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45239 Add sendmmsg and internal_sendmmsg.
45240 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45241 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45242 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45244 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45245 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45246 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45248 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45251 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45252 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45254 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45258 * iconvdata/Makefile (tests): Add bug-iconv9.
45259 * iconvdata/bug-iconv9.c: New file.
45261 2011-05-27 Andreas Schwab <schwab@redhat.com>
45264 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45266 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45268 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45269 (struct user_regs_struct): Change intcs field back to cs.
45271 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45273 * po/ja.po: Update from translation team.
45275 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45278 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45279 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45281 2011-05-20 Andreas Schwab <schwab@redhat.com>
45283 * stdlib/longlong.h: Update from GCC.
45285 2011-05-23 Andreas Schwab <schwab@redhat.com>
45287 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45289 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45290 Add parameter name.
45291 (__sysconf): Pass it down.
45293 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45296 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45298 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45299 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45300 add in in __libc_use_alloca calls. Adjust callers.
45301 (glob): Use malloc in some situations.
45303 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45304 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45307 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45309 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45310 and CLOCK_BOOTTIME_ALARM.
45313 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45316 * string/_strerror.c (__strerror_r): Print negative errors as signed
45320 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45321 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45322 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45324 * configure.in: Fix typo in redirection and correct removal of test
45325 files in two cases.
45328 * locale/setlocale.c (new_composite_name): Fix test to check for
45329 identical name of all categories.
45332 * libio/filedoalloc.c (local_isatty): New function.
45333 (_IO_file_doallocate): Use local_isatty.
45334 * stdio-common/perror.c (perror): In case a new stream is used
45335 forward the stream error.
45336 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45339 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45344 * include/alloca.h (extend_alloca_account): Define.
45347 * posix/regex.h: Fix comments with documentation of user-accessible
45348 fields after compilation and describe correct free'ing of pattern
45349 after re_compile_pattern.
45350 Patch by Reuben Thomas <rrt@sc3d.org>.
45352 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45354 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45355 and -mno-altivec to prevent the compiler from using Altivec and/or
45356 VSX instructions when the corresponding registers are not available.
45358 2011-05-19 Andreas Schwab <schwab@redhat.com>
45360 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45362 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45364 * libio/freopen.c (freopen): Use __dup2, not dup2.
45365 * libio/freopen64.c (freopen64): Likewise.
45367 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45370 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45371 * math/Makefile (tests): Add test-powl.
45372 (CFLAGS-test-powl.c): Define.
45373 * math/test-powl.c: New file.
45375 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45377 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45379 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45382 * iconvdata/gb18030.c: Update to GB18020-2005.
45384 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45386 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45387 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45388 Patch by Aharon Robbins <arnold@skeeve.com>.
45391 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45395 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45396 through underflows.
45399 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45400 point to strings before performing equality test for error_one_per_line
45404 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45407 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45408 (struct user_fpregs_struct): Avoid __uint*_t types.
45411 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45412 symbol info. Use it instead of calling _dl_addr locally.
45413 (lock_and_info): New function.
45414 (tr_freehook): Call lock_and_info and pass symbol info as additional
45415 parameter to tr_where.
45416 (tr_mallochook): Likewise.
45417 (tr_reallochook): Likewise.
45418 (tr_memalignhook): Likewise.
45420 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45421 used and couldn't be at all thread-safe.
45423 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45425 * libio/freopen.c (freopen): Don't close old file descriptor
45426 before the new one is opened. Instead dup the new file descriptor
45427 to the old one after the new stream is created.
45428 * libio/freopen64.c (freopen64): Likewise.
45429 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45430 * libio/fileops.c (_IO_new_file_close_it): Handle new
45431 _IO_FLAGS2_NOCLOSE flag.
45432 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45433 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45434 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45435 _IO_FLAGS2_NOCLOSE flag.
45436 * include/unistd.h: Add hidden_proto for dup3.
45437 Define __have_dup3.
45438 * io/dup3.c: Define hidden symbol.
45439 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45442 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45443 when an incomplete long option is used.
45444 * posix/tst-getopt_long1.c: New file.
45445 * posix/Makefile (tests): Add tst-getopt_long1.
45448 * scripts/config.guess: Update from autoconf-2.68.
45449 * scripts/config.sub: Likewise.
45452 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45454 (has_cpuclock): ...this. New function.
45455 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45456 macro here based on has_cpuclock code.
45459 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45460 First byte (not low byte) is now always NUL.
45461 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45464 Use non-cancelable interfaces.
45467 * locale/iso-639.def: Add entry for Sorani.
45470 * include/stdlib.h: Move include protection to the right place.
45471 Define abort_msg_s. Declare __abort_msg with it.
45472 * stdlib/abort.c (__abort_msg): Adjust type.
45473 * assert/assert.c (__assert_fail_base): New function. Majority
45474 of code from __assert_fail. Allocate memory for __abort_msg with
45476 (__assert_fail): Now call __assert_fail_base.
45477 * assert/assert-perr.c: Remove bulk of implementation. Use
45478 __assert_fail_base.
45479 * include/assert.hL Declare __assert_fail_base.
45480 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45482 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45484 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45488 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45489 until all modules are registered in the DTV.
45490 * elf/Makefile: Add rules to build and run tst-tls19.
45491 * elf/tst-tls19.c: New file.
45492 * elf/tst-tls19mod1.c: New file.
45493 * elf/tst-tls19mod2.c: New file.
45494 * elf/tst-tls19mod3.c: New file.
45495 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45498 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45502 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45503 two-byte sequence errors.
45504 * iconvdata/Makefile (tests): Add bug-iconv8.
45505 * iconvdata/bug-iconv8.c: New file.
45508 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45511 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45514 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45515 (dummy_getcfa): New function.
45516 (init): Get _Unwind_GetCFA address, use dummy if not found.
45517 (backtrace_helper): In recursion check, also check whether CFA changes.
45518 (__backtrace): Completely initialize arg.
45520 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45521 storing incomplete byte sequence in state object. Avoid testing for
45522 guaranteed too small input if we know there is enough data available.
45524 2011-05-11 Andreas Schwab <schwab@redhat.com>
45526 * Makeconfig (+link-pie): Indent.
45527 * Rules (binaries-pie): Define if $(have-fpie) and
45529 (binaries-shared): Also filter out $(binaries-pie).
45530 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45531 * nscd/Makefile (others-pie): Add nscd.
45532 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45533 ($(objpfx)nscd): Remove command override.
45534 * login/Makefile (others-pie): Add pt_chown.
45535 ($(objpfx)pt_chown): Remove command override.
45536 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45537 remove command overrides.
45539 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45541 * libio/tst_putwc.c: Fix error messages.
45544 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45545 currently writing and seek to current position when not.
45546 * libio/Makefile (tests): Add bug-fclose1.
45547 * libio/bug-fclose1.c: New file.
45549 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45552 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45553 don't set DF_1_NODELETE here.
45554 (do_lookup_x): When entering new entry test for copy relocation
45555 and if necessary set DF_1_NODELETE flag.
45556 * elf/tst-unique4.cc: New file.
45557 * elf/tst-unique4.h: New file.
45558 * elf/tst-unique4lib.cc: New file.
45559 * elf/Makefile: Add rules to build and run tst-unique4.
45560 Patch by Piotr Bury <pbury@goahead.com>.
45562 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45565 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45568 * misc/mntent_r.c (addmntent): Flush the stream after the output
45571 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45572 (is_trusted_path_normalize): Skip initial colon. Append slash
45573 to empty buffer. Duplicate is_trusted_path code but allow
45574 constructed patch to be prefix.
45575 (is_dst): Allow $ORIGIN followed by /.
45576 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45577 Correct testing of result of is_trusted_path_normalize
45578 (decompose_rpath): Fix warning.
45580 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45583 * grp/initgroups.c (internal_getgrouplist): When we found the service
45584 list through the initgroups entry in nsswitch.conf do not always
45585 continue on a successful lookup. Don't always use the
45586 __nss_group_database value if it is set.
45587 * nss/nsswitch.conf (initgroups): Change action for successful db
45588 lookup to continue for compatibility.
45590 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45593 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45595 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45597 * iconvdata/tst-tables.sh: Likewise.
45598 * iconvdata/cp770.c: New file.
45599 * iconvdata/cp771.c: New file.
45600 * iconvdata/cp772.c: New file.
45601 * iconvdata/cp773.c: New file.
45602 * iconvdata/cp774.c: New file.
45603 * iconvdata/testdata/CP770: New file.
45604 * iconvdata/testdata/CP770..UTF8: New file.
45605 * iconvdata/testdata/CP771: New file.
45606 * iconvdata/testdata/CP771..UTF8: New file.
45607 * iconvdata/testdata/CP772: New file.
45608 * iconvdata/testdata/CP772..UTF8: New file.
45609 * iconvdata/testdata/CP773: New file.
45610 * iconvdata/testdata/CP773..UTF8: New file.
45611 * iconvdata/testdata/CP774: New file.
45612 * iconvdata/testdata/CP774..UTF8: New file.
45614 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45616 * iconvdata/gen-8bit-gap.sh: Likewise.
45617 * iconvdata/gen-8bit.sh: Likewise.
45619 * locale/iso-639.def: Add ary entry.
45622 * locale/C-translit.h.in: Add U20A1 transliteration.
45625 * locale/iso-639.def: Add wae entry.
45626 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45629 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45633 * locale/C-translit.h.in: Add entry for U20B9.
45634 Patch by pravin.d.s@gmail.com.
45636 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45639 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45640 ENAMETOOLONG use generic getcwd.
45641 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45642 in rtld. Use *stat64.
45643 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45644 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45645 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45646 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45647 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45648 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45649 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45650 __fstatat64 macros.
45651 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45652 * dirent/rewinddir.c: Add libc_hidden_def.
45653 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45654 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45656 * include/dirent.h (__alloc_dir): Add flags parameter.
45657 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45658 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45660 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45661 from fdopendir if O_CLOEXEC is already set.
45663 2011-03-15 Alan Modra <amodra@gmail.com>
45665 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45666 l_tls_firstbyte_offset non-zero. Save padding offset in
45667 l_tls_firstbyte_offset for later use.
45668 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45669 freeing static tls block.
45671 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45673 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45674 where #ifdef was intended. The intent is to prevent ARG_MAX from
45675 being defined by the kernel headers.
45677 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45680 * resolv/resolv.h: Define RES_NOTLDQUERY.
45681 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45682 no-tld-query and set RES_NOTLDQUERY.
45683 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45684 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45685 modern BIND to search name as TLD unless forbidden.
45687 2011-05-07 Petr Baudis <pasky@suse.cz>
45688 Ulrich Drepper <drepper@gmail.com>
45691 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45692 (is_trusted_path): ...to here.
45693 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45694 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45695 using is_trusted_path_normalize() in setuid scripts.
45697 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45699 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45700 __BEGIN/__END_DECLS.
45702 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45704 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45705 NSS_STATUS_NOTFOUND if no record was found.
45707 2011-05-05 Andreas Schwab <schwab@redhat.com>
45709 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45710 (headers-not-in-tirpc): Remove rpc/netdb.h
45711 * resolv/netdb.h: Revert last change.
45713 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45715 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45716 circular dependency between libgcc.a and libc.a.
45718 2011-05-05 Andreas Schwab <schwab@redhat.com>
45720 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45721 * nis/Makefile: Don't install rpcsvc/*.
45722 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45723 instead of <rpc/types.h>.
45724 (MAXHOSTNAMELEN): Define.
45726 2011-05-03 Andreas Schwab <schwab@redhat.com>
45728 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45730 2011-04-28 Maciej Babinski <mbabinski@google.com>
45733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45734 gethostbyname4_r when IPv6 results are possible.
45736 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45739 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45740 _PC_PIPE_BUF handling.
45742 2011-04-30 Bruno Haible <bruno@clisp.org>
45745 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45746 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45748 * inet/getnameinfo.c (getnameinfo): Likewise.
45750 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45752 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45753 to groups setting in database lookup.
45754 * nss/nsswitch.conf: Add initgroups entry.
45756 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45759 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45761 Patch by Eric Blake <eblake@redhat.com>.
45763 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45765 * sunrpc/Makefile (need-export-routines): Add svc_run.
45766 (routines): Remove svc_run.
45767 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45768 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45769 * sunrpc/svc_run.c (svc_run): Likewise.
45770 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45772 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45774 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45775 problem in reallocation in last patch.
45777 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45779 * sunrpc/Makefile: Move inclusion of Rules.
45781 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45783 * nss/nss_files/files-initgroups.c: New file.
45784 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45785 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45786 _nss_files_initgroups_dyn.
45788 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45790 * elf/elf.h (R_ARM_IRELATIVE): Define.
45792 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45794 * po/ru.po: Update from translation team.
45796 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45798 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45801 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45804 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45805 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45806 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45807 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45808 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45810 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45812 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45814 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45815 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45816 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45818 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45821 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45823 * stdlib/bug-getcontext.c: New file.
45824 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45826 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45828 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45829 instructions into .machine "z9-109".
45830 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45831 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45833 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45835 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45836 between environment variables and auxiliary vector.
45838 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45840 * Makefile: Add rules to build linkobj/libc.so.
45841 * include/libc-symbols.h: Define libc_hidden_nolink.
45842 * include/rpc/auth.h: Mark functions which are to be hidden.
45843 * include/rpc/auth_des.h: Likewise.
45844 * include/rpc/auth_unix.h: Likewise.
45845 * include/rpc/clnt.h: Likewise.
45846 * include/rpc/des_crypt.h: Likewise.
45847 * include/rpc/key_prot.h: Likewise.
45848 * include/rpc/pmap_clnt.h: Likewise.
45849 * include/rpc/pmap_prot.h: Likewise.
45850 * include/rpc/pmap_rmt.h: Likewise.
45851 * include/rpc/rpc_msg.h: Likewise.
45852 * include/rpc/svc.h: Likewise.
45853 * include/rpc/svc_auth.h: Likewise.
45854 * include/rpc/xdr.h: Likewise.
45855 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45856 * nss/Makefile: Likewise.
45857 * sunrpc/Makefile: Don't install headers. Build library with normal
45858 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45859 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45860 for the compat linking library. Remove use of INTDEF/INTUSE.
45861 * sunrpc/auth_none.c: Likewise.
45862 * sunrpc/auth_unix.c: Likewise.
45863 * sunrpc/authdes_prot.c: Likewise.
45864 * sunrpc/authuxprot.c: Likewise.
45865 * sunrpc/clnt_gen.c: Likewise.
45866 * sunrpc/clnt_perr.c: Likewise.
45867 * sunrpc/clnt_raw.c: Likewise.
45868 * sunrpc/clnt_simp.c: Likewise.
45869 * sunrpc/clnt_tcp.c: Likewise.
45870 * sunrpc/clnt_udp.c: Likewise.
45871 * sunrpc/clnt_unix.c: Likewise.
45872 * sunrpc/des_crypt.c: Likewise.
45873 * sunrpc/des_soft.c: Likewise.
45874 * sunrpc/get_myaddr.c: Likewise.
45875 * sunrpc/key_call.c: Likewise.
45876 * sunrpc/key_prot.c: Likewise.
45877 * sunrpc/netname.c: Likewise.
45878 * sunrpc/pm_getmaps.c: Likewise.
45879 * sunrpc/pm_getport.c: Likewise.
45880 * sunrpc/pmap_clnt.c: Likewise.
45881 * sunrpc/pmap_prot.c: Likewise.
45882 * sunrpc/pmap_prot2.c: Likewise.
45883 * sunrpc/pmap_rmt.c: Likewise.
45884 * sunrpc/publickey.c: Likewise.
45885 * sunrpc/rpc_cmsg.c: Likewise.
45886 * sunrpc/rpc_common.c: Likewise.
45887 * sunrpc/rpc_dtable.c: Likewise.
45888 * sunrpc/rpc_prot.c: Likewise.
45889 * sunrpc/rpc_thread.c: Likewise.
45890 * sunrpc/rtime.c: Likewise.
45891 * sunrpc/svc.c: Likewise.
45892 * sunrpc/svc_auth.c: Likewise.
45893 * sunrpc/svc_authux.c: Likewise.
45894 * sunrpc/svc_raw.c: Likewise.
45895 * sunrpc/svc_run.c: Likewise.
45896 * sunrpc/svc_simple.c: Likewise.
45897 * sunrpc/svc_tcp.c: Likewise.
45898 * sunrpc/svc_udp.c: Likewise.
45899 * sunrpc/svc_unix.c: Likewise.
45900 * sunrpc/svcauth_des.c: Likewise.
45901 * sunrpc/xcrypt.c: Likewise.
45902 * sunrpc/xdr.c: Likewise.
45903 * sunrpc/xdr_array.c: Likewise.
45904 * sunrpc/xdr_float.c: Likewise.
45905 * sunrpc/xdr_intXX_t.c: Likewise.
45906 * sunrpc/xdr_mem.c: Likewise.
45907 * sunrpc/xdr_rec.c: Likewise.
45908 * sunrpc/xdr_ref.c: Likewise.
45909 * sunrpc/xdr_sizeof.c: Likewise.
45910 * sunrpc/xdr_stdio.c: Likewise.
45912 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45915 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45916 * sysdeps/ia64/dl-tls.h: Likewise.
45917 * sysdeps/powerpc/dl-tls.h: Likewise.
45918 * sysdeps/s390/dl-tls.h: Likewise.
45919 * sysdeps/sh/dl-tls.h: Likewise.
45920 * sysdeps/sparc/dl-tls.h: Likewise.
45921 * sysdeps/x86_64/dl-tls.h: Likewise.
45922 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45924 2011-03-14 Andreas Schwab <schwab@redhat.com>
45926 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45927 rpath element also skip the following colon.
45928 (expand_dynamic_string_token): Add is_path parameter and pass
45929 down to DL_DST_REQUIRED and _dl_dst_substitute.
45930 (decompose_rpath): Call expand_dynamic_string_token with
45931 non-zero is_path. Ignore empty rpaths.
45932 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45935 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45940 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45943 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45944 Patch by Filipe David Manana <fdmanana@apache.org>.
45946 2011-04-07 Andreas Schwab <schwab@redhat.com>
45948 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45949 Maintain aligned stack.
45950 (CHECK_RSP): Remove unused macro.
45952 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45954 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45955 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45957 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45959 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45961 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45963 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45966 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45967 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45968 * sysdeps/x86_64/memmove.c: New file.
45969 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45970 (memcpy): Renamed to ...
45971 (__new_memcpy): This.
45972 (memcpy): Provide GLIBC_2_14 memcpy.
45973 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45974 (memcpy): Provide GLIBC_2_2_5 memcpy.
45976 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45979 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45981 2011-03-30 Andreas Schwab <schwab@redhat.com>
45983 * misc/syncfs.c: New file.
45984 * misc/Makefile (routines): Add syncfs.
45985 * posix/unistd.h: Declare syncfs.
45986 * sysdeps/unix/syscalls.list: Add syncfs.
45988 2011-04-01 Andreas Schwab <schwab@redhat.com>
45990 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45992 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45993 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45995 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45996 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45997 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45998 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46000 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46002 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46003 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46004 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46005 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46006 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46008 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46010 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46011 sync_file_range.c with -fexceptions.
46012 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46013 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46014 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46015 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46016 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46017 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46018 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46019 sync_file_range as cancellation point
46020 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46021 now a wrapper around __call_sync_file_range with cancellation handling.
46022 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46023 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46024 function name to __call_sync_file_range.
46025 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46026 Add call_sync_file_range.
46028 2011-04-01 Andreas Schwab <schwab@redhat.com>
46030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46033 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46035 * iconv/iconv.h: Fix typo in comment.
46036 * io/fcntl.h: Likewise.
46037 * libio/stdio.h: Likewise.
46038 * posix/spawn.h: Likewise.
46039 * posix/unistd.h: Likewise.
46040 * stdlib/stdlib.h: Likewise.
46041 * time/time.h: Likewise.
46042 * wcsmbs/wchar.h: Likewise.
46044 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46045 open_by_handle): Add.
46046 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46047 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46048 Augment a few comments.
46049 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46050 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46051 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46053 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46054 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46057 * io/fcntl.h (AT_EMPTY_PATH): Define.
46059 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46061 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46062 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46063 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46065 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46066 * Versions.def: Add GLIBC_2.14.
46067 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46070 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46072 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46074 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46076 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46079 * string/test-strncmp.c (do_page_test): New function.
46080 (check2): Likewise.
46081 (test_main): Call check2.
46082 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46084 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46087 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46088 Handle cache information in CPU leaf 4.
46089 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46091 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46094 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46095 character representation.
46096 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46098 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46100 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46101 END(__isnan) to END(__isnanf) to match function entry point/label
46102 EALIGN(__isnanf,...).
46104 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46106 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46108 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46111 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46112 copy from the symbol referenced in the relocation to initialize the
46114 Patch by Piotr Bury <pbury@goahead.com>.
46115 * elf/Makefile: Add rules to build and tst-unique3.
46116 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46117 * elf/tst-unique3.cc: New file.
46118 * elf/tst-unique3.h: New file.
46119 * elf/tst-unique3lib.cc: New file.
46120 * elf/tst-unique3lib2.cc: New file.
46122 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46124 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46126 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46127 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46130 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46132 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46133 to-be-loaded object along a path to loader is ld.so.
46135 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46136 Ulrich Drepper <drepper@gmail.com>
46138 * sysdeps/x86_64/memset.S: After aligning destination, code
46139 branches to different locations depending on the value of
46140 misalignment, when multiarch is enabled. Fix this.
46142 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46144 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46145 Set _x86_64_preferred_memory_instruction for AMD processsors.
46146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46147 Set bit_Prefer_SSE_for_memop for AMD processors.
46149 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46151 * libio/fmemopen.c (fmemopen): Optimize a bit.
46153 2011-03-03 Andreas Schwab <schwab@redhat.com>
46155 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46157 2011-03-03 Roland McGrath <roland@redhat.com>
46159 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46161 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46163 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46164 __bzero_ultra1 instead of __memset_ultra1.
46166 2011-02-23 Andreas Schwab <schwab@redhat.com>
46167 Ulrich Drepper <drepper@gmail.com>
46170 * include/link.h (struct link_map): Add l_orig_initfini.
46171 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46172 returning unsuccessfully.
46173 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46174 close of a file loaded at startup, restore the original l_initfini
46176 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46177 list, store the pointer.
46178 * elf/Makefile ($(objpfx)noload-mem): New rule.
46179 (noload-ENV): Define.
46180 (tests): Add $(objpfx)noload-mem.
46181 * elf/noload.c: Include <memcheck.h>.
46182 (main): Call mtrace. Close all opened handles.
46184 2011-02-17 Andreas Schwab <schwab@redhat.com>
46187 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46188 dependencies are missing.
46190 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46192 Fix __if_freereq crash: Unlike the generic version which uses free,
46194 * sysdeps/mach/hurd/ifreq.h: New file.
46196 2011-01-27 Petr Baudis <pasky@suse.cz>
46197 Ulrich Drepper <drepper@gmail.com>
46200 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46201 to extend_alloca().
46202 * stdio-common/bug23.c: New file.
46203 * stdio-common/Makefile (tests): Add bug23.
46205 2010-09-28 Andreas Schwab <schwab@redhat.com>
46206 Ulrich Drepper <drepper@gmail.com>
46209 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46210 before performing relro protection. At old place add assertion
46211 to make sure nothing changed.
46213 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46214 Glauber de Oliveira Costa <glommer@gmail.com>
46216 * elf/elf.h: Add new ARM TLS relocs.
46218 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46221 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46223 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46225 * sysdeps/wordsize-64/tst-writev.c: New file.
46227 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46229 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46230 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46231 insns in _dl_start to prevent a TOC reference before relocs are
46234 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46237 * Makeconfig: Remove RANLIB definition.
46238 * Makerules: Don't use RANLIB.
46239 * aclocal.m4: Remove ranlib test.
46240 * configure.in: No need to check for ranlib.
46241 * elf/rtld-Rules: Don't use RANLIB.
46243 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46245 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46247 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46248 inclusion protection macro.
46250 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46251 SIGRTMIN and SIGRTMAX and print information in that case only when
46252 SIGRTMIN is defined.
46254 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46256 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46257 arginfo fn returning -1.
46259 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46260 and thousands string is zero terminated.
46262 2011-02-03 Andreas Schwab <schwab@redhat.com>
46264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46265 sysdeps/unix/sysv/linux/bits/socket.h.
46267 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46269 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46270 (__CPU_COUNT): Remove old macros.
46271 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46272 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46273 (__CPU_ALLOC, __CPU_FREE): Add macros.
46274 (__sched_cpualloc, __sched_cpufree): Add declarations.
46276 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46278 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46279 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46280 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46281 (readdhstai): Return value of addhstaiX call.
46282 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46283 (addgrbyX): Return value returned by cache_addgr.
46284 (readdgrbyname): Return value returned by addgrbyX.
46285 (readdgrbygid): Likewise.
46286 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46287 (addpwbyX): Return value returned by cache_addpw.
46288 (readdpwbyname): Return value returned by addhstbyX.
46289 (readdpwbyuid): Likewise.
46290 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46291 (addservbyX): Return value returned by cache_addserv.
46292 (readdservbyname): Return value returned by addservbyX:
46293 (readdservbyport): Likewise.
46294 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46295 (addhstbyX): Return value returned by cache_addhst.
46296 (readdhstbyname): Return value returned by addhstbyX.
46297 (readdhstbyaddr): Likewise.
46298 (readdhstbynamev6): Likewise.
46299 (readdhstbyaddrv6): Likewise.
46300 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46301 (readdinitgroups): Return value returned by addinitgroupsX.
46302 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46303 (prune_cache): Keep track of timeout value of re-added entries.
46304 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46305 * nscd/nscd.h: Adjust prototypes of readd* functions.
46307 2011-02-04 Roland McGrath <roland@redhat.com>
46309 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46310 (nis_stats): Likewise.
46311 * nis/nis_modify.c (nis_modify): Likewise.
46312 * nis/nis_remove.c (nis_remove): Likewise.
46313 * nis/nis_add.c (nis_add): Likewise.
46315 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46317 * posix/fnmatch_loop.c: Add some consts.
46319 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46321 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46324 * config.make.in (config-cflags-novzeroupper): Define.
46325 * configure.in: Substitute libc_cv_cc_novzeroupper.
46326 * elf/Makefile (AVX-CFLAGS): Define.
46327 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46328 (CFLAGS-tst-auditmod4a.c): Likewise.
46329 (CFLAGS-tst-auditmod4b.c): Likewise.
46330 (CFLAGS-tst-auditmod6b.c): Likewise.
46331 (CFLAGS-tst-auditmod6c.c): Likewise.
46332 (CFLAGS-tst-auditmod7b.c): Likewise.
46333 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46335 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46337 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46338 function to the callback.
46339 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46341 2011-02-02 Andreas Schwab <schwab@redhat.com>
46343 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46346 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46349 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46351 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46353 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46356 * elf/Makefile: Add rules to build and run new test.
46357 * elf/tst-initorder.c: New file.
46358 * elf/tst-initorder.exp: New file.
46359 * elf/tst-initordera1.c: New file.
46360 * elf/tst-initordera2.c: New file.
46361 * elf/tst-initordera3.c: New file.
46362 * elf/tst-initordera4.c: New file.
46363 * elf/tst-initorderb1.c: New file.
46364 * elf/tst-initorderb2.c: New file.
46365 * elf/tst-order-a1.c: New file.
46366 * elf/tst-order-a2.c: New file.
46367 * elf/tst-order-a3.c: New file.
46368 * elf/tst-order-a4.c: New file.
46369 * elf/tst-order-b1.c: New file.
46370 * elf/tst-order-b2.c: New file.
46371 * elf/tst-order-main.c: New file.
46372 New test case by George Gensure <werkt0@gmail.com>.
46374 2010-10-01 Andreas Schwab <schwab@redhat.com>
46376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46377 decoding ACE if AI_CANONIDN.
46379 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46381 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46383 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46385 * version.h (RELEASE): Bump for 2.13 release.
46386 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46388 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46390 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46392 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46393 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46394 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46395 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46396 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46397 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46399 * posix/getconf.c: Update copyright year.
46400 * catgets/gencat.c: Likewise.
46401 * csu/version.c: Likewise.
46402 * debug/catchsegv.sh: Likewise.
46403 * debug/xtrace.sh: Likewise.
46404 * elf/ldconfig.c: Likewise.
46405 * elf/ldd.bash.in: Likewise.
46406 * elf/sprof.c (print_version): Likewise.
46407 * iconv/iconv_prog.c: Likewise.
46408 * iconv/iconvconfig.c: Likewise.
46409 * locale/programs/locale.c: Likewise.
46410 * locale/programs/localedef.c: Likewise.
46411 * malloc/memusage.sh: Likewise.
46412 * malloc/mtrace.pl: Likewise.
46413 * nscd/nscd.c (print_version): Likewise.
46414 * nss/getent.c: Likewise.
46416 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46417 PF_CAIF, and PF_ALG.
46418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46420 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46422 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46423 (modules-names): Use them.
46424 (ifunc-test-modules, ifunc-pie-tests): Define.
46425 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46426 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46427 (test-extras): Likewise.
46428 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46429 $(compile-command.c).
46430 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46431 (all-built-dso): Define.
46432 (check-textrel.out, check-execstack.out): Depend on it.
46434 * configure.in: Don't override --enable-multi-arch.
46436 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46439 * nscd/hstcache.c (tryagain): Define.
46440 (cache_addhst): Return tryagain not notfound for temporary errors.
46441 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46444 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46447 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46448 to make the syscall.
46449 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46452 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46453 and fall back to matching as normal character if the string ends before
46454 the matching ']' is found. This is what POSIX requires.
46455 * posix/testfnm.c: Adjust test result.
46456 * posix/globtest.sh: Adjust test result. Add new test.
46457 * posix/tst-fnmatch.input: Likewise.
46458 * posix/tst-fnmatch2.c: Add new test.
46460 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46462 * elf/Makefile (check-execstack): Revert last change. Depend on
46464 (check-execstack.h): New target.
46465 (generated): Add check-execstack.h.
46466 * elf/check-execstack.c: Include "check-execstack.h".
46467 (main): Revert last change.
46468 (handle_file): Return zero if GNU_STACK is absent and
46469 DEFAULT_STACK_PERMS doesn't include PF_X.
46471 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46473 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46474 in child fails because the descriptor is already closed.
46475 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46476 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46477 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46480 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46484 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46485 temporary buffer used to handle multi lookups locally.
46486 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46488 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46490 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46493 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46495 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46496 alignment for SSE2.
46498 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46501 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46502 characters. When rounding increased number of integer digits recompute
46504 * stdio-common/tst-grouping.c: New file.
46505 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46507 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46509 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46510 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46512 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46514 * bits/select.h: Likewise.
46516 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46518 * po/ja.po: Update from translation team.
46520 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46523 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46524 implementation just like for lxstat, fxstatat, et al.
46526 2010-12-27 Jim Meyering <meyering@redhat.com>
46529 * posix/regexec.c (build_trtable): Return failure indication upon
46530 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46532 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46535 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46536 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46537 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46538 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46541 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46544 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46545 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46547 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46549 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46550 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46551 script has SORT_BY_INIT_PRIORITY.
46552 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46553 NO_CTORS_DTORS_SECTIONS is defined.
46554 * elf/soinit.c: Likewise.
46555 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46556 NO_CTORS_DTORS_SECTIONS is defined.
46557 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46558 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46559 * sysdeps/sh/init-first.c: Likewise.
46560 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46562 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46564 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46565 always use the slow path.
46567 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46569 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46570 similar rule which adds the sysdep directories to the header search in
46571 order to pick up the correct platform stackinfo.h.
46572 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46573 perform test if it is, otherwise return successfully without testing.
46574 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46575 DEFAULT_STACK_PERMS define in stackinfo.h.
46576 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46577 defined in stackinfo.h.
46578 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46579 DEFAULT_STACK_PERMS defined in stackinfo.h.
46580 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46581 * sysdeps/ia64/stackinfo.h: Likewise.
46582 * sysdeps/s390/stackinfo.h: Likewise.
46583 * sysdeps/sh/stackinfo.h: Likewise.
46584 * sysdeps/sparc/stackinfo.h: Likewise.
46585 * sysdeps/x86_64/stackinfo.h: Likewise.
46586 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46587 PF_X for powerpc64. Retain PF_X for powerpc32.
46589 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46591 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46593 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46594 GETDENTS_64BIT_ALIGNED.
46596 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46598 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46600 2010-12-10 Andreas Schwab <schwab@redhat.com>
46602 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46605 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46606 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46608 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46609 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46611 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46614 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46617 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46619 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46621 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46623 * po/it.po: Update from translation team.
46625 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46627 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46630 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46632 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46634 2010-11-24 Andreas Schwab <schwab@redhat.com>
46636 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46638 (gaih_getanswer_slice): Likewise.
46640 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46642 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46644 2010-05-31 Petr Baudis <pasky@suse.cz>
46647 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46648 silently even in the chroot mode.
46650 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46652 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46653 last patch a bit. Pretty printing
46655 2010-05-31 Petr Baudis <pasky@suse.cz>
46658 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46659 initialization of skip_initgroups_dyn.
46661 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46663 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46664 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46666 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46668 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46670 2010-11-11 Andreas Schwab <schwab@redhat.com>
46672 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46673 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46674 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46675 ($(objpfx)tst-fnmatch-mem): New rule.
46676 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46677 * posix/tst-fnmatch.c (main): Call mtrace.
46679 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46682 Support Intel processor model 6 and model 0x2c.
46684 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46686 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46689 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46692 * string/test-strncasecmp.c (check_result): New function.
46693 (do_one_test): Use it.
46694 (check1): New function.
46695 (test_main): Use it.
46696 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46697 Support strcasecmp and strncasecmp.
46699 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46702 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46703 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46705 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46707 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46711 * sysdeps/x86_64/multiarch/bzero.S: New file.
46712 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46713 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46714 * sysdeps/x86_64/multiarch/memset.S: New file.
46715 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46717 Set bit_Prefer_SSE_for_memop for Intel processors.
46718 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46720 (index_Prefer_SSE_for_memop): Define.
46721 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46723 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46725 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46726 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46728 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46731 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46732 (__x86_64_raw_data_cache_size_half): Likewise.
46733 (__x86_64_raw_shared_cache_size): Likewise.
46734 (__x86_64_raw_shared_cache_size_half): Likewise.
46736 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46737 (__x86_64_raw_data_cache_size_half): Likewise.
46738 (__x86_64_raw_shared_cache_size): Likewise.
46739 (__x86_64_raw_shared_cache_size_half): Likewise.
46740 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46741 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46742 and __x86_64_raw_shared_cache_size_half. Round
46743 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46744 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46745 to multiple of 256 bytes.
46747 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46750 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46751 of inacessible symlinks. Verify result of symlink before returning it.
46752 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46753 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46755 2010-10-28 Erich Ritz <erichritz@gmail.com>
46757 * math/math.h (isinf): Fix typo in comment.
46759 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46761 * po/da.po: Update from translation team.
46763 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46765 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46766 is added to the list.
46768 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46769 Ulrich Drepper <drepper@gmail.com>
46771 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46772 the global list here. Move code to...
46773 (_dl_add_to_namespace_list): ...here. New function.
46774 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46775 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46776 * elf/dl-load.c (lose): Don't remove the element from the list.
46777 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46778 (_dl_map_object): Likewise.
46780 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46783 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46784 into all bytes of SSE register.
46785 Patch by Richard Li <richardpku@gmail.com>.
46787 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46790 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46793 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46795 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46796 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46797 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46798 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46803 2010-10-22 Andreas Schwab <schwab@redhat.com>
46805 * include/dlfcn.h (__RTLD_SECURE): Define.
46806 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46807 mode & __RTLD_SECURE instead.
46808 (open_path): Rename preloaded parameter to secure.
46809 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46810 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46811 * elf/dl-deps.c (openaux): Likewise.
46812 * elf/rtld.c (struct map_args): Remove is_preloaded.
46813 (map_doit): Don't use it.
46814 (dl_main): Likewise.
46815 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46816 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46818 2010-09-09 Andreas Schwab <schwab@redhat.com>
46820 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46821 (sysd-rules-targets): Remove duplicates.
46822 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46823 rtld-%.$o dependency.
46825 2010-10-18 Andreas Schwab <schwab@redhat.com>
46827 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46828 _dl_map_object do it.
46830 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46832 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46833 fast fma builtins, define the macros in the C99 standard.
46834 (FP_FAST_FMAF): Likewise.
46835 (FP_FAST_FMAL): Likewise.
46836 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46838 * bits/mathdef.h: Update copyright year.
46839 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46841 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46843 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46844 builtins, define the macros in the C99 standard.
46845 (FP_FAST_FMAF): Likewise.
46846 (FP_FAST_FMAL): Likewise.
46847 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46849 (FP_FAST_FMAF): Likewise.
46851 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46854 * math/libm-test.inc (fma_test): Some new testcases.
46855 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46856 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46857 y and infinite z. Do multiplication by C already in long double.
46858 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46860 y and infinite z. Do bitwise or of inexact bit into u.d.
46861 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46862 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46863 * sysdeps/i386/fpu/s_fma.S: Removed.
46864 * sysdeps/i386/fpu/s_fmal.S: Removed.
46866 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46869 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46871 computation is not scheduled after fetestexcept. Fix value
46872 of minimum denormal long double.
46874 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46877 * math/libm-test.inc (fma_test): Add some more tests.
46878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46881 2010-10-15 Andreas Schwab <schwab@redhat.com>
46883 * scripts/data/localplt-s390-linux-gnu.data: New file.
46884 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46886 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46889 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46890 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46892 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46894 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46896 if one of x and y is very large and the other is subnormal.
46897 * sysdeps/s390/fpu/s_fmaf.c: New file.
46898 * sysdeps/s390/fpu/s_fma.c: New file.
46899 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46900 * sysdeps/powerpc/fpu/s_fma.S: New file.
46901 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46902 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46903 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46905 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46908 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46910 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46911 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46912 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46913 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46914 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46915 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46916 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46918 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46921 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46922 * posix/bug-regex31.input: Add test case.
46924 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46926 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46927 * posix/bug-regex31.input: New file.
46930 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46931 (parse_sub_exp): Fix last change, use postorder.
46933 * posix/bug-regex31.c: New file.
46934 * posix/Makefile: Add rules to build and run bug-regex31.
46936 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46939 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46942 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46943 to have entries in sys_siglist.
46946 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46949 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46952 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46953 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46954 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46955 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46956 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46957 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46958 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46959 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46960 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46961 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46962 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46963 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46964 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46965 * math/ftestexcept.c (fetestexcept): Likewise.
46966 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46967 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46968 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46969 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46970 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46971 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46972 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46974 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46977 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46980 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46982 * string/bug-strstr1.c: New file.
46983 * string/Makefile: Add rules to build and run bug-strstr1.
46985 2010-10-05 Eric Blake <eblake@redhat.com>
46988 * string/str-two-way.h (two_way_long_needle): Always clear memory
46989 when skipping input due to the shift table.
46991 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46994 * malloc/mcheck.c: Handle large requests.
46997 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46998 for strncmp and strncasecmp.
46999 * string/stratcliff.c: Add tests for strcmp and strncmp.
47000 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47002 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47004 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47007 2010-09-30 Andreas Jaeger <aj@suse.de>
47009 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47010 (CGROUP_SUPER_MAGIC): Define.
47011 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47012 Handle btrfs and cgroup file systems.
47013 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47016 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47018 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47019 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47021 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47024 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47025 trying to locate the ELF header.
47027 2010-09-27 Andreas Schwab <schwab@redhat.com>
47030 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47031 Mask out sign-bit copies when constructing f_fsid.
47033 2010-09-24 Petr Baudis <pasky@suse.cz>
47035 * debug/stack_chk_fail_local.c: Add missing licence exception.
47036 * debug/warning-nop.c: Likewise.
47038 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47040 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47041 implementing getdents64 using getdents syscall, set d_type if
47042 __ASSUME_GETDENTS32_D_TYPE.
47044 2010-09-16 Andreas Schwab <schwab@redhat.com>
47046 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47047 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47049 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47052 * posix/unistd.h: Undo change of feature selection for ftruncate from
47055 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47057 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47060 2010-09-20 Andreas Schwab <schwab@redhat.com>
47062 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47064 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47066 2010-09-14 Andreas Schwab <schwab@redhat.com>
47068 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47069 variables after CHECK_SP call.
47070 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47072 2010-09-13 Andreas Schwab <schwab@redhat.com>
47073 Ulrich Drepper <drepper@redhat.com>
47075 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47076 re-relocationg ld.so.
47077 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47078 _dl_init_paths call.
47079 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47082 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47084 * resolv/res_init.c (__res_vinit): Count the default server we added.
47086 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47087 Ulrich Drepper <drepper@redhat.com>
47090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47091 (____longjmp_chk): Use %ebx for saving value across system call.
47094 2010-09-06 Andreas Schwab <schwab@redhat.com>
47096 * manual/Makefile: Don't mix pattern rules with normal rules.
47098 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47100 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47102 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47103 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47104 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47105 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47106 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47109 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47112 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47113 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47115 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47117 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47118 * sysdeps/x86_64/addmul_1.S: Likewise.
47119 * sysdeps/x86_64/lshift.S: Likewise.
47120 * sysdeps/x86_64/mul_1.S: Likewise.
47121 * sysdeps/x86_64/rshift.S: Likewise.
47122 * sysdeps/x86_64/sub_n.S: Likewise.
47123 * sysdeps/x86_64/submul_1.S: Likewise.
47125 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47127 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47128 Define __sched_param instead of SCHED_* and sched_param when
47129 <bits/sched.h> is included with __need_schedparam defined.
47130 * bits/sched.h [__need_schedparam]
47131 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47132 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47133 (__defined_schedparam): Define to 1.
47134 (__sched_param): New structure, identical to sched_param.
47135 (__need_schedparam): Undefine.
47137 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47139 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47140 (epoll_create1): Declare.
47142 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47144 2010-08-31 Andreas Schwab <schwab@redhat.com>
47147 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47148 shifting retval into place.
47150 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47152 * nis/rpcsvc/nis.h: Update copyright notice.
47153 * nis/rpcsvc/nis.x: Likewise.
47154 * nis/rpcsvc/nis_callback.h: Likewise.
47155 * nis/rpcsvc/nis_callback.x: Likewise.
47156 * nis/rpcsvc/nis_object.x: Likewise.
47157 * nis/rpcsvc/nis_tags.h: Likewise.
47158 * nis/rpcsvc/yp.h: Likewise.
47159 * nis/rpcsvc/yp.x: Likewise.
47160 * nis/rpcsvc/ypupd.h: Likewise.
47161 * nis/yp_xdr.c: Likewise.
47162 * nis/ypupdate_xdr.c: Likewise.
47164 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47165 mainly the body of pmap_getport. Add parameters to specify timeouts.
47166 (pmap_getport): Use __libc_rpc_getport.
47167 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47168 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47169 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47171 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47176 2010-08-27 Roland McGrath <roland@redhat.com>
47178 * sysdeps/i386/i686/multiarch/Makefile
47179 (CFLAGS-varshift.c): New variable.
47181 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47183 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47184 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47186 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47188 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47190 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47192 * sysdeps/x86_64/strlen.S: Unroll the loop.
47193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47194 strlen-sse2 strlen-sse2-bsf.
47195 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47196 __strlen_no_bsf if bit_Slow_BSF is set.
47197 (__strlen_sse42): Removed.
47198 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47199 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47201 2010-08-25 Roland McGrath <roland@redhat.com>
47203 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47204 * sysdeps/x86_64/multiarch/varshift.c: New file.
47205 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47206 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47207 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47208 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47210 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47213 strlen-sse2 strlen-sse2-bsf.
47214 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47215 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47216 (__strlen_sse2): Removed.
47217 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47218 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47220 bit_Slow_BSF for Atom.
47221 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47222 (index_Slow_BSF): Define.
47223 (HAS_SLOW_BSF): Define.
47225 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47228 * resolv/res_init.c (__res_vinit): When no server address at all
47229 is given default to loopback.
47231 2010-08-24 Roland McGrath <roland@redhat.com>
47233 * configure.in: Remove config-name.h generation.
47234 * configure: Regenerated.
47235 * config-name.in: File removed.
47236 * scripts/config-uname.sh: New file.
47237 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47238 ($(objdir)config-name.h): New target.
47240 * sunrpc/rpc_parse.h: Avoid nested comment.
47242 2010-08-24 Richard Henderson <rth@redhat.com>
47243 Ulrich Drepper <drepper@redhat.com>
47244 H.J. Lu <hongjiu.lu@intel.com>
47246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47248 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47249 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47250 _mm_alignr_epi8 with _mm_loadu_si128.
47251 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47252 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47253 (__m128i_shift_right): Removed.
47254 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47255 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47256 * sysdeps/x86_64/multiarch/varshift.h: New file.
47257 * sysdeps/x86_64/multiarch/varshift.S: New file.
47259 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47261 * configure.in: Move assembler checks to before sysdep dir checking.
47263 2010-08-20 Petr Baudis <pasky@suse.cz>
47265 * LICENSES: Sync the sunrpc license.
47267 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47269 * sunrpc/auth_des.c: Update copyright notice once again.
47270 * sunrpc/auth_none.c: Likewise.
47271 * sunrpc/auth_unix.c: Likewise.
47272 * sunrpc/authdes_prot.c: Likewise.
47273 * sunrpc/authuxprot.c: Likewise.
47274 * sunrpc/bindrsvprt.c: Likewise.
47275 * sunrpc/clnt_gen.c: Likewise.
47276 * sunrpc/clnt_perr.c: Likewise.
47277 * sunrpc/clnt_raw.c: Likewise.
47278 * sunrpc/clnt_simp.c: Likewise.
47279 * sunrpc/clnt_tcp.c: Likewise.
47280 * sunrpc/clnt_udp.c: Likewise.
47281 * sunrpc/clnt_unix.c: Likewise.
47282 * sunrpc/des_crypt.c: Likewise.
47283 * sunrpc/des_soft.c: Likewise.
47284 * sunrpc/get_myaddr.c: Likewise.
47285 * sunrpc/getrpcport.c: Likewise.
47286 * sunrpc/key_call.c: Likewise.
47287 * sunrpc/key_prot.c: Likewise.
47288 * sunrpc/openchild.c: Likewise.
47289 * sunrpc/pm_getmaps.c: Likewise.
47290 * sunrpc/pm_getport.c: Likewise.
47291 * sunrpc/pmap_clnt.c: Likewise.
47292 * sunrpc/pmap_prot.c: Likewise.
47293 * sunrpc/pmap_prot2.c: Likewise.
47294 * sunrpc/pmap_rmt.c: Likewise.
47295 * sunrpc/rpc/auth.h: Likewise.
47296 * sunrpc/rpc/auth_unix.h: Likewise.
47297 * sunrpc/rpc/clnt.h: Likewise.
47298 * sunrpc/rpc/des_crypt.h: Likewise.
47299 * sunrpc/rpc/key_prot.h: Likewise.
47300 * sunrpc/rpc/netdb.h: Likewise.
47301 * sunrpc/rpc/pmap_clnt.h: Likewise.
47302 * sunrpc/rpc/pmap_prot.h: Likewise.
47303 * sunrpc/rpc/pmap_rmt.h: Likewise.
47304 * sunrpc/rpc/rpc.h: Likewise.
47305 * sunrpc/rpc/rpc_des.h: Likewise.
47306 * sunrpc/rpc/rpc_msg.h: Likewise.
47307 * sunrpc/rpc/svc.h: Likewise.
47308 * sunrpc/rpc/svc_auth.h: Likewise.
47309 * sunrpc/rpc/types.h: Likewise.
47310 * sunrpc/rpc/xdr.h: Likewise.
47311 * sunrpc/rpc_clntout.c: Likewise.
47312 * sunrpc/rpc_cmsg.c: Likewise.
47313 * sunrpc/rpc_common.c: Likewise.
47314 * sunrpc/rpc_cout.c: Likewise.
47315 * sunrpc/rpc_dtable.c: Likewise.
47316 * sunrpc/rpc_hout.c: Likewise.
47317 * sunrpc/rpc_main.c: Likewise.
47318 * sunrpc/rpc_parse.c: Likewise.
47319 * sunrpc/rpc_parse.h: Likewise.
47320 * sunrpc/rpc_prot.c: Likewise.
47321 * sunrpc/rpc_sample.c: Likewise.
47322 * sunrpc/rpc_scan.c: Likewise.
47323 * sunrpc/rpc_scan.h: Likewise.
47324 * sunrpc/rpc_svcout.c: Likewise.
47325 * sunrpc/rpc_tblout.c: Likewise.
47326 * sunrpc/rpc_util.c: Likewise.
47327 * sunrpc/rpc_util.h: Likewise.
47328 * sunrpc/rpcinfo.c: Likewise.
47329 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47330 * sunrpc/rpcsvc/key_prot.x: Likewise.
47331 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47332 * sunrpc/rpcsvc/mount.x: Likewise.
47333 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47334 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47335 * sunrpc/rpcsvc/rex.x: Likewise.
47336 * sunrpc/rpcsvc/rstat.x: Likewise.
47337 * sunrpc/rpcsvc/rusers.x: Likewise.
47338 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47339 * sunrpc/rpcsvc/spray.x: Likewise.
47340 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47341 * sunrpc/rtime.c: Likewise.
47342 * sunrpc/svc.c: Likewise.
47343 * sunrpc/svc_auth.c: Likewise.
47344 * sunrpc/svc_authux.c: Likewise.
47345 * sunrpc/svc_raw.c: Likewise.
47346 * sunrpc/svc_run.c: Likewise.
47347 * sunrpc/svc_simple.c: Likewise.
47348 * sunrpc/svc_tcp.c: Likewise.
47349 * sunrpc/svc_udp.c: Likewise.
47350 * sunrpc/svc_unix.c: Likewise.
47351 * sunrpc/svcauth_des.c: Likewise.
47352 * sunrpc/xcrypt.c: Likewise.
47353 * sunrpc/xdr.c: Likewise.
47354 * sunrpc/xdr_array.c: Likewise.
47355 * sunrpc/xdr_float.c: Likewise.
47356 * sunrpc/xdr_mem.c: Likewise.
47357 * sunrpc/xdr_rec.c: Likewise.
47358 * sunrpc/xdr_ref.c: Likewise.
47359 * sunrpc/xdr_sizeof.c: Likewise.
47360 * sunrpc/xdr_stdio.c: Likewise.
47362 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47365 2010-08-19 Andreas Schwab <schwab@redhat.com>
47367 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47369 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47371 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47372 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47373 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47374 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47375 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47376 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47377 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47378 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47379 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47380 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47381 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47382 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47383 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47384 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47386 2010-07-26 Anton Blanchard <anton@samba.org>
47388 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47389 * malloc/arena.c (heap_trim): Likewise.
47391 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47393 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47395 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47396 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47398 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47400 * sysdeps/i386/elf/Makefile: New file.
47402 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47404 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47405 from fanotify_init.
47406 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47407 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47409 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47411 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47413 * sysdeps/multiarch/strcmp.S: Likewise.
47415 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47417 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47418 strncase_l-nonascii.
47419 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47420 Add strncase_l-ssse3.
47421 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47422 * sysdeps/x86_64/strcmp.S: Likewise.
47423 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47424 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47425 * sysdeps/x86_64/strncase.S: New file.
47426 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47427 * sysdeps/x86_64/strncase_l.S: New file.
47428 * string/Makefile (strop-tests): Add strncasecmp.
47429 * string/test-strncasecmp.c: New file.
47431 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47434 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47435 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47437 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47439 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47441 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47443 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47444 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47445 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47447 2010-05-01 Alan Modra <amodra@gmail.com>
47449 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47450 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47451 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47452 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47453 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47454 tidying. Don't tail-call __sigjmp_save for static lib.
47455 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47457 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47458 (CALL_MCOUNT): Add eh info, and nop after bl.
47459 (TAIL_CALL_SYSCALL_ERROR): New macro.
47460 (PSEUDO_RET): Use it.
47461 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47462 Correct save location of integer regs and cr.
47463 (_dl_profile_resolve): Correct cr save location. Delete nops
47464 after bl when SHARED. Reduce cfi size a little by better
47465 placement of cfi directives.
47466 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47467 make a stack frame. Instead use parm save area as a temp.
47468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47469 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47471 Don't make a stack frame for parent, use parm save area.
47472 Increase child stack frame to 112 bytes. Don't save unused reg,
47473 and adjust reg usage. Set up cfi on error recovery and
47474 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47476 (__makecontext): Add dummy nop after jump to exit.
47477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47478 Use correct parm save area and cr save, reduce stack frame.
47479 Correct cfi for possible PSEUDO_RET frame setup.
47480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47481 Branch to local label emitted by PSEUDO_RET rather than
47484 2010-08-12 Andreas Schwab <schwab@redhat.com>
47487 * locale/programs/locale.c (print_assignment): New function.
47488 (show_locale_vars): Use it.
47490 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47492 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47494 (struct statfs64): Likewise.
47495 (_STATFS_F_FLAGS): Define.
47496 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47497 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47498 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47499 (ST_VALID): Define locally.
47500 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47501 __statvfs_getflags, use the provided value.
47502 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47503 __ASSUME_STATFS_F_FLAGS.
47505 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47507 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47508 Add sys/fanotify.h.
47509 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47510 fanotify_mask for GLIBC_2.13.
47511 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47512 fanotify_init and fanotify_mark.
47513 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47514 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47516 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47518 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47519 prlimit64 for GLIBC_2.13.
47520 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47522 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47525 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47526 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47527 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47528 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47530 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47533 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47534 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47536 * nss/Makefile: Add rules to build and run tst-nss-test1.
47537 * shlib-versions: Add entry for libnss_test1.
47538 * nss/nss_test1.c: New file.
47539 * nss/tst-nss-test1.c: New file.
47541 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47542 (__nss_configure_lookup): Set appropriate entry in
47543 __nss_configure_lookup to true.
47544 * nss/nsswitch.h: Define enum with indeces of databases in
47545 databases and __nss_database_custom arrays. Declare
47546 __nss_database_custom.
47547 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47548 to avoid using nscd when custom rules are installed.
47549 * nss/getXXbyYY_r.c: Likewise.
47550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47552 * nss/nss_files/files-parse.c: Whitespace fixes.
47554 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47557 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47558 * posix/fnmatch_loop.c: Likewise.
47560 2010-07-17 Andi Kleen <ak@linux.intel.com>
47562 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47563 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47564 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47565 * Versions.def [GLIBC_2.13]: Add.
47567 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47569 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47570 Also fail if tpwd after pwuid call is NULL.
47572 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47574 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47575 when converting to ms.
47577 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47579 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47580 EOPNOTSUPP errors with ENOTTY.
47581 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47582 EOPNOTSUPP errors with ENOTTY.
47584 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47586 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47587 Add strcasecmp_l-ssse3.
47588 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47590 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47591 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47592 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47594 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47596 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47598 * string/Makefile (strop-tests): Add strcasecmp.
47599 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47600 strcasecmp_l-nonascii.
47601 (gen-as-const-headers): Add locale-defines.sym.
47602 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47603 * sysdeps/x86_64/strcasecmp.S: New file.
47604 * sysdeps/x86_64/strcasecmp_l.S: New file.
47605 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47606 * sysdeps/x86_64/locale-defines.sym: New file.
47607 * string/test-strcasecmp.c: New file.
47609 * string/test-strcasestr.c: Test both ends of the range of characters.
47610 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47612 2010-07-29 Roland McGrath <roland@redhat.com>
47615 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47617 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47619 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47622 2010-07-27 Andreas Schwab <schwab@redhat.com>
47624 * manual/memory.texi (Malloc Tunable Parameters): Document
47627 2010-07-26 Roland McGrath <roland@redhat.com>
47630 * configure.in (-fgnu89-inline check): Set and substitute
47631 gnu89_inline, not libc_cv_gnu89_inline.
47632 * configure: Regenerated.
47633 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47635 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47637 * string/test-strnlen.c: New file.
47638 * string/Makefile (strop-tests): Add strnlen.
47639 * string/tester.c (test_strnlen): Add a few more test cases.
47640 * string/tst-strlen.c: Better error reporting.
47642 * sysdeps/x86_64/strnlen.S: New file.
47644 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47646 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47647 lower-latency instructions.
47649 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47651 * string/test-strcasestr.c: New file.
47652 * string/test-strstr.c: New file.
47653 * string/Makefile (strop-tests): Add strstr and strcasestr.
47654 * string/str-two-way.h: Don't undefine MAX.
47655 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47657 2010-07-21 Andreas Schwab <schwab@redhat.com>
47659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47660 strcasestr-nonascii.
47661 (CFLAGS-strcasestr-nonascii.c): Define.
47662 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47663 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47664 Remove unused attribute.
47666 2010-07-20 Roland McGrath <roland@redhat.com>
47668 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47669 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47670 ld.so.cache was broken. With it, there is no way to disable dsocaps
47671 like LD_HWCAP_MASK can disable hwcaps.
47673 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47675 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47677 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47679 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47680 call in strcasestr.
47681 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47682 __strcasestr_sse42_nonascii.
47683 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47684 strcasestr-nonascii.c.
47685 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47687 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47689 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47690 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47691 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47692 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47694 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47696 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47699 2010-07-06 Andreas Schwab <schwab@redhat.com>
47702 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47705 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47707 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47708 _PC_PIPE_BUF using F_GETPIPE_SZ.
47710 2010-07-05 Roland McGrath <roland@redhat.com>
47712 * manual/arith.texi (Rounding Functions): Fix rint description
47713 implicit in round description.
47715 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47717 * elf/Makefile: Fix linking for a few tests to make recent linker
47720 2010-06-30 Andreas Schwab <schwab@redhat.com>
47722 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47723 $(common-objpfx)libc_nonshared.a.
47725 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47727 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47728 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47729 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47730 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47731 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47732 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47733 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47734 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47749 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47750 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47751 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47752 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47753 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47754 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47755 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47756 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47757 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47758 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47759 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47760 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47776 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47778 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47779 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47780 * string/memmove.c (memmove): Renamed to ...
47781 (MEMMOVE): ...this. Default to memmove.
47782 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47783 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47786 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47787 mempcpy-ssse3-back memmove-ssse3-back.
47788 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47789 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47790 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47791 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47792 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47793 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47794 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47795 * sysdeps/x86_64/multiarch/memmove.c: New file.
47796 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47797 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47798 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47799 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47800 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47801 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47803 (index_Fast_Copy_Backward): Define.
47804 (HAS_ARCH_FEATURE): Define.
47805 (HAS_FAST_REP_STRING): Define.
47806 (HAS_FAST_COPY_BACKWARD): Define.
47808 2010-06-21 Andreas Schwab <schwab@redhat.com>
47810 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47811 Restore proper fallback handling.
47813 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47816 * posix/group_member.c (__group_member): Correct checking loop.
47818 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47819 OOM in getpwuid_r correctly. Return error number when the caller
47820 should return, otherwise -1.
47821 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47822 call returning > 0 value.
47823 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47825 2010-06-07 Andreas Schwab <schwab@redhat.com>
47827 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47828 libc_nonshared.a from targets in modules-names.
47830 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47832 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47835 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47837 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47838 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47839 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47840 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47842 2010-06-02 Andreas Schwab <schwab@redhat.com>
47844 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47846 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47848 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47850 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47851 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47854 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47857 2010-06-14 Roland McGrath <roland@redhat.com>
47859 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47861 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47863 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47864 __REDIRECT followed by __THROW.
47865 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47866 * posix/getopt.h (getopt): Likewise.
47868 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47870 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47871 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47872 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47874 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47875 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47877 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47879 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47881 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47885 Properly check family and model.
47887 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47889 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47891 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47893 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47895 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47897 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47900 2010-05-19 Andreas Schwab <schwab@redhat.com>
47902 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47905 2010-05-21 Andreas Schwab <schwab@redhat.com>
47907 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47908 and internal_recvmmsg.
47909 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47910 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47911 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47912 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47914 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47915 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47916 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47918 2010-05-20 Andreas Schwab <schwab@redhat.com>
47920 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47922 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47924 POWER7 optimizations.
47925 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47926 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47928 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47930 * version.h: Update for 2.13 development version.
47932 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47934 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47935 exceptions. Return 0.
47937 2010-05-07 Roland McGrath <roland@redhat.com>
47939 * elf/ldconfig.c (main): Add a const.
47941 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47943 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47944 (args_options): Add no-idn option.
47945 (ahosts_keys_int): Add idn_flags to ai_flags.
47946 (parse_option): Handle 'i' option to clear idn_flags.
47948 * malloc/malloc.c (_int_free): Possible race in the most recently
47949 added check. Only act on the data if no current modification
47952 See ChangeLog.17 for earlier changes.