]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove stray includes of kernel-features.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3e239be6
JM
12014-06-25 Joseph Myers <joseph@codesourcery.com>
2
11b076bb
JM
3 * nptl/createthread.c: Don't include kernel-features.h.
4 * nptl/pthread_cancel.c: Likewise.
5 * nptl/pthread_condattr_setclock.c: Likewise.
6 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
19 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
20 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
21 * nscd/gai.c: Likewise.
22 * nss/nss_db/db-open.c: Likewise.
23 * sysdeps/generic/ldsodefs.h: Likewise.
24 * sysdeps/sh/nptl/tls.h: Likewise.
25 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
39 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
40 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
41 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
42 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
43 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
44 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
45 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
46 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
47 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
49 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
50 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
51 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
52 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
53 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
54 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
55 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
56 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
57 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
58 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
61 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
63 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
64 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
65 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
66 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
67 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
68 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
70 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
71 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
72 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
73 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
74 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
75 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
76 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
77 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
78 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
79 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
80 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
81 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
82 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
83 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
84 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
85 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
86 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
87 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
89 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
90 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
91 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
92 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
93 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
94 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
96 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
97 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
98 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
99 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
105 * sysdeps/unix/sysv/linux/pread.c: Likewise.
106 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
107 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
108 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
109 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
110 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
111 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
112 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
113 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
114 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
115 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
116 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
117 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
118 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
119 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
120 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
121 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
122 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
123 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
124 * sysdeps/unix/sysv/linux/system.c: Likewise.
125 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
126 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
127 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
128 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
129 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
130 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
131 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
132
92072d57
JM
133 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
134 * configure: Regenerated.
135 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
136
3e239be6
JM
137 * configure.ac (base_machine): Do not set specially for particular
138 machines here.
139 * configure: Regenerated.
140 * sysdeps/powerpc/preconfigure: Move machine and base_machine
141 settings from configure.ac.
142 * sysdeps/i386/preconfigure: New file.
143 * sysdeps/s390/preconfigure: Likewise.
144 * sysdeps/sh/preconfigure: Likewise.
145 * sysdeps/sparc/preconfigure: Likewise.
146
06d50baa
RM
1472014-06-25 Roland McGrath <roland@hack.frob.com>
148
74836003
RM
149 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
150 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
151 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
152 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
153 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
154 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
155 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
156 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
157 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
158 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
159 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
160 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
161 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
162 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
163 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
164 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
165 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
166 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
167 * sysdeps/sparc/sparc64/Makefile: ... appended here.
168
169 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
170 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
171 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
172 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
173 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
174 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
175 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
176 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
177 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
178 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
179 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
180 * sysdeps/sparc/sparc32/sem_post.c: ... here.
181 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
182 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
183 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
184 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
185 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
186 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
187 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
188 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
189 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
190 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
191 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
192 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
193 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
194 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
195 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
196 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
197 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
198 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
199 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
200 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
201 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
202 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
203 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
204 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
205 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
206 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
207
06d50baa
RM
208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
209 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
211 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
213 Moved ...
214 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
215 ... here.
216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
217 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
219 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
221 Moved ...
222 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
224 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
226 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
228 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
230 Moved ...
231 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
233 Moved ...
234 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
236 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
238 Moved ...
239 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
241 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
243 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
245 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
247 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
249 Moved ...
250 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
251 ... here.
252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
253 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
255 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
257 Moved ...
258 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
260 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
262 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
264 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
266 Moved ...
267 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
269 Moved ...
270 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
272 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
274 Moved ...
275 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
277 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
279 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
280
a4ccbc9b
JM
2812014-06-25 Joseph Myers <joseph@codesourcery.com>
282
0828edbf
JM
283 * timezone/checktab.awk: Update from tzcode 2014e.
284 * timezone/private.h: Likewise.
285 * timezone/tzfile.h: Likewise.
286 * timezone/zdump.c: Likewise.
287 * timezone/zic.c: Likewise.
288
a4ccbc9b
JM
289 * sysdeps/unix/sysv/linux/kernel-features.h
290 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
291 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
292 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
293 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
294 Remove conditional code.
295
9aea0cb8
WN
2962014-06-25 Will Newton <will.newton@linaro.org>
297
298 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
299 (_dl_arm_cap_flags): Add HWCAP2 values.
300 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
301 (_DL_HWCAP_COUNT): Increase to 37.
302 (_DL_HWCAP_LAST): New define.
303 (_DL_HWCAP2_LAST): New define.
304 (_dl_procinfo): Add support for printing
305 AT_HWCAP2 entries.
306 (_dl_string_hwcap): Use _dl_hwcap_string.
307
6eaa65ce
AZ
3082014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
309
310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
311
0f5b7185
JM
3122014-06-25 Joseph Myers <joseph@codesourcery.com>
313
cfd2ea50
JM
314 * README: Do not mention ports directory.
315
cecf2ed4
JM
316 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
317 Remove macro.
318 * sysdeps/unix/sysv/linux/futimes.c: Do not include
319 <kernel-features.h>.
320 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
321 conditional variable definition.
322 (__futimes): Update comment.
323 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
324 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
325
a638de82
JM
326 [BZ #16560]
327 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
328 arguments close to 0.
329 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
330 Likewise.
331 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
332 Likewise.
333 * math/auto-libm-test-in: Add more tests of exp10.
334 * math/auto-libm-test-out: Regenerated.
335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
336
0f5b7185
JM
337 * sysdeps/unix/sysv/linux/kernel-features.h
338 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
339 * sysdeps/unix/sysv/linux/readv.c: Do not include
340 <kernel-features.h>.
341 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
342 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
343 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
344 unconditional.
345 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
346 conditional code.
347 * sysdeps/unix/sysv/linux/writev.c: Do not include
348 <kernel-features.h>.
349 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
350 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
351 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
352 unconditional.
353 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
354 conditional code.
355
c7aec4be
WN
3562014-06-25 Will Newton <will.newton@linaro.org>
357
358 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
359 comment changes throughout the file. Remove checks
360 for HAVE_*_H definitions that are not required.
361 (__gen_tempname): Call abort if an unknown kind value is
362 passed.
363
c5241f95
AS
3642014-06-25 Andreas Schwab <schwab@suse.de>
365
366 [BZ #17086]
367 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
368 scalbln, scalblnf, scalblnl in libc.
369
911422da
SP
3702014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
371
372 [BZ #17086]
373 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
374 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
375 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
376
0d749bbe
RM
3772014-06-24 Roland McGrath <roland@hack.frob.com>
378
379 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
380 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
381 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
382 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
383 Update #include.
384 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
385 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
386 Update #include.
387 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
388 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
389 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
390 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
391 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
392 * sysdeps/x86/bits/pthreadtypes.h: ... here.
393 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
394 * sysdeps/x86/bits/semaphore.h: ... here.
395 * sysdeps/x86/nptl/elide.h: Moved ...
396 * sysdeps/x86/elide.h: ... here.
397 * sysdeps/x86_64/nptl/Implies: File removed.
398 * sysdeps/i386/nptl/Implies: File removed.
399
0ea5d373
JM
4002014-06-24 Joseph Myers <joseph@codesourcery.com>
401
4060283d
JM
402 [BZ #16539]
403 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
404 return the argument for normal arguments with exponent below -64.
405 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
406 Likewise.
407 * math/auto-libm-test-in: Add another test of expm1.
408 * math/auto-libm-test-out: Regenerated.
409
e7dd3c8c
JM
410 [BZ #16287]
411 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
412 calling __erfcl for arguments at least 16.
413 * math/auto-libm-test-in: Add more tests of erf.
414 * math/auto-libm-test-out: Regenerated.
415
0ea5d373
JM
416 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
417 individual architectures.
418 * sysdeps/unix/sysv/linux/configure: Regenerated.
419 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
420 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
421 * sysdeps/unix/sysv/linux/powerpc/configure.ac
422 (ldd_rewrite_script): Define variable.
423 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
425 file.
426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
427 generated file.
428 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
429 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
430 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
431 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
432 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
433 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
434 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
435 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
436
2307e126
SP
4372014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
438
439 [BZ #17084]
440 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
441 Rename member __data.d to __data.__elision_data.
442
c0a4ed77
W
4432014-06-24 Wilco <wdijkstr@arm.com>
444
445 * NEWS: Add 16918 to fixed bug list.
446
b8c00573
W
4472014-06-24 Wilco <wdijkstr@arm.com>
448
449 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
450
b5570d92
W
4512014-06-24 Wilco <wdijkstr@arm.com>
452
453 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
454 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
455 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
456 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
457 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
458 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
459 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
460 Use _FPU_MASK_RM.
461
947bdca2
W
4622014-06-24 Wilco <wdijkstr@arm.com>
463
464 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
465
00f669ed
W
4662014-06-24 Wilco <wdijkstr@arm.com>
467
468 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
469 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
470 * sysdeps/arm/fesetround.c (fesetround): Remove space.
471 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
472
db59bad3
W
4732014-06-24 Wilco <wdijkstr@arm.com>
474
475 [BZ #16918]
476 * sysdeps/arm/feupdateenv.c (feupdateenv):
477 Rewrite to reduce FPSCR accesses and fix return value.
478
001f7b77
W
4792014-06-24 Wilco <wdijkstr@arm.com>
480
481 * sysdeps/arm/fclrexcpt.c (feclearexcept):
482 Optimize to avoid unnecessary FPSCR writes.
483 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
484 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
485 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
486 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
487
4841e6a6
W
4882014-06-24 Wilco <wdijkstr@arm.com>
489
490 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
491 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
492 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
493 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
494 Call libc_fetestexcept_vfp.
495 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
496 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
497 __SOFTFP__ ifdef so that they can be built for softfp.
498
0813022c
SP
4992014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
500
08e5862f
SP
501 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
502 argument type signed char.
503
0813022c
SP
504 * Makerules (check-abi): Dump diff of symlist if the test
505 fails.
506
3fc7236a
RM
5072014-06-23 Roland McGrath <roland@hack.frob.com>
508
aba8ef95
RM
509 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
510 using abort.
511
3fc7236a
RM
512 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
513 Remove unused variable ST.
514
4da6db51
JM
5152014-06-23 Joseph Myers <joseph@codesourcery.com>
516
4648909d
JM
517 [BZ #16354]
518 [BZ #17061]
519 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
520 small arguments before calling __expm1.
521 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
522 small arguments before calling __expm1f.
523 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
524 small arguments before calling __expm1l.
525 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
526 Likewise.
527 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
528 * math/auto-libm-test-in: Add more cosh tests. Do not allow
529 spurious underflow for some cosh tests.
530 * math/auto-libm-test-out: Regenerated.
531 * sysdeps/i386/fpu/libm-test-ulps: Update.
532
46a3d3c7
JM
533 [BZ #17050]
534 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
535 (__ieee754_y1): Set errno if return value overflows.
536 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
537 (__ieee754_y1f): Set errno if return value overflows.
538 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
539 (__ieee754_y1l): Set errno if return value overflows.
540 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
541 (__ieee754_y1l): Set errno if return value overflows.
542 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
543 * math/auto-libm-test-out: Regenerated.
544
863893ec
JM
545 * math/gen-auto-libm-tests.c: Document use of
546 ignore-zero-inf-sign.
547 (input_flag_type): Add value flag_ignore_zero_inf_sign.
548 (input_flags): Add ignore-zero-inf-sign.
549 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
550 * math/gen-libm-test.pl (generate_testfile): Handle
551 ignore-zero-inf-sign.
552 * math/auto-libm-test-in: Mark some cpow tests with
553 ignore-zero-inf-sign and some with xfail-rounding.
554 * math/auto-libm-test-out: Regenerated.
555 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
556 * sysdeps/i386/fpu/libm-test-ulps: Update.
557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
558
4da6db51
JM
559 [BZ #16315]
560 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
561 overflowing or underflowing operations take place with sign of
562 result.
563 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
564 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
565 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
566 (__ieee754_pow): Recompute overflowing and underflowing results in
567 original rounding mode.
568 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
569 (__powl_helper): Allow negative argument X and scale negated value
570 as needed. Avoid passing value outside [-1, 1] to f2xm1.
571 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
572 overflowing or underflowing operations take place with sign of
573 result.
574 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
575 Include <math.h>.
576 * math/auto-libm-test-in: Add more tests of pow.
577 * math/auto-libm-test-out: Regenerated.
578 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
579 (pow_tonearest_test_data): Remove.
580 (pow_test_tonearest): Likewise.
581 (pow_towardzero_test_data): Likewise.
582 (pow_test_towardzero): Likewise.
583 (pow_downward_test_data): Likewise.
584 (pow_test_downward): Likewise.
585 (pow_upward_test_data): Likewise.
586 (pow_test_upward): Likewise.
587 (main): Don't call removed functions.
588 * sysdeps/i386/fpu/libm-test-ulps: Update.
589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
590
5686b236
RM
5912014-06-23 Roland McGrath <roland@hack.frob.com>
592
593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
594 Moved ...
595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
597 Moved ...
598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
600 Moved ...
601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
603 Moved ...
604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
606 File removed.
607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
608 File removed.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
610 File removed.
611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
612 File removed.
613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
614 File removed.
615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
616 File removed.
617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
618 File removed.
619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
620 File removed.
621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
622 File removed.
623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
624 File removed.
625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
626 File removed.
627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
628 File removed.
629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
630 Moved ...
631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
633 Moved ...
634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
635 ... here.
636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
637 Moved ...
638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
640 Moved ...
641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
643 Moved ...
644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
646 Moved ...
647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
649 Moved ...
650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
652 Moved ...
653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
655 Moved ...
656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
659 ... here.
660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
661 Moved ...
662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
664 Moved ...
665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
666 ... here.
667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
668 Moved ...
669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
670 ... here.
671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
672 Moved ...
673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
674 ... here.
675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
676 Moved ...
677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
679 Moved ...
680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
684 Moved ...
685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
686 ... here.
687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
688 Moved ...
689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
690 ... here.
691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
692 Moved ...
693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
695 Moved ...
696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
698 Moved ...
699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
701 Moved ...
702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
704 Moved ...
705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
706 ... here.
707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
708 Moved ...
709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
711 Moved ...
712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
714 Moved ...
715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
717 Moved ...
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
722 Moved ...
723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
725 Moved ...
726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
728 Moved ...
729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
730 ... here.
731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
732 Moved ...
733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
734 ... here.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
736 Moved ...
737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
738 ... here.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
740 Moved ...
741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
743 Moved ...
744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
746 Moved ...
747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
749 Moved ...
750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
751 ... here.
752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
753 Moved ...
754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
755 ... here.
756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
757 Moved ...
758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
759 ... here.
760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
761 Moved ...
762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
764 Moved ...
765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
766
e6d90d67
WD
7672014-06-23 Will Newton <will.newton@linaro.org>
768 Wilco <wdijkstr@arm.com>
769
770 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
771 implementation. Include get-rounding-mode.h.
772 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
773 [!libc_feholdsetround_noex_ctx]: Define
774 libc_feholdsetround_noex_ctx.
775 [!libc_feholdsetround_noexf_ctx]: Define
776 libc_feholdsetround_noexf_ctx.
777 [!libc_feholdsetround_noexl_ctx]: Define
778 libc_feholdsetround_noexl_ctx.
779 (libc_feholdsetround_ctx): New function.
780 (libc_feresetround_ctx): New function.
781 (libc_feholdsetround_noex_ctx): New function.
782 (libc_feresetround_noex_ctx): New function.
783
d42df555
RM
7842014-06-23 Roland McGrath <roland@hack.frob.com>
785
88a46474
RM
786 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
787 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
788 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
789 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
790 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
791 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
792
15bed472
RM
793 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
794 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
795 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
796 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
797 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
798 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
799 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
800 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
801 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
802 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
804 Moved ...
805 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
806 ... here.
807 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
808 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
809 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
810 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
811 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
812 Moved ...
813 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
814 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
815 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
817 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
818 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
819 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
820 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
821 Moved ...
822 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
823 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
824 Moved ...
825 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
826 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
827 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
828 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
829 Moved ...
830 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
831 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
832 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
833 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
834 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
835 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
836 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
837 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
838 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
839 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
840 Moved ...
841 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
842 ... here.
843 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
844 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
845 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
846 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
847 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
848 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
849 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
850 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
851 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
852 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
853 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
854 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
855 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
856 Moved ...
857 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
858 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
859 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
860 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
861 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
862 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
863 Moved ...
864 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
865 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
866 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
867 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
868 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
869
d42df555
RM
870 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
871 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
872 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
873 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
874 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
875 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
876 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
877 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
878 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
879 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
880 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
881 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
882 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
883 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
884 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
885 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
886 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
887 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
888 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
889 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
890 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
891 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
892 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
893 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
894 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
895 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
896 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
897 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
898
76e5216e
JM
8992014-06-23 Joseph Myers <joseph@codesourcery.com>
900
901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
902 (FALLOC_FL_COLLAPSE_RANGE): New macro.
903 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
904 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
905 (IPV6_PMTUDISC_INTERFACE): Likewise.
906 (IPV6_PMTUDISC_OMIT): Likewise.
907
7a81cbcc
AS
9082014-06-23 Andreas Schwab <schwab@suse.de>
909
910 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
911 Remove unused errout label.
912
db224009
AZ
9132014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
914
915 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
916 macro: hardware supports Vector Crypto instructions.
917
f393b4aa
WN
9182014-06-23 Will Newton <will.newton@linaro.org>
919
cc7d0447
WN
920 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
921 rather than __builtin_expect.
922
d6d06225
WN
923 * elf/dl-lookup.c (undefined_msg): Remove variable.
924 (_dl_lookup_symbol_x): Replace undefined_msg with string
925 literal.
926
f393b4aa
WN
927 * elf/dl-lookup.c (do_lookup_unique): New function.
928 (do_lookup_x): Move STB_GNU_UNIQUE handling code
929 to a separate function.
930
ac60763e
AS
9312014-06-23 Andreas Schwab <schwab@suse.de>
932
933 [BZ #17079]
934 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
935 before reading the next line.
936
c5c13355
WN
9372014-06-23 Will Newton <will.newton@linaro.org>
938
939 * test-skeleton.c (signal_handler): Use printf and %m
940 rather than perror. Use printf rather than fprintf to
941 stderr. Use puts rather than fputs to stderr.
942 (main): Likewise.
943
bd3675f9
LC
9442014-06-22 Ludovic Courtès <ludo@gnu.org>
945
946 * nscd/nscd.c (thread_info_t): Remove typedef.
947 (thread_info): Remove variable.
948
d03efb2f
AM
9492014-06-21 Allan McRae <allan@archlinux.org>
950
951 * NEWS: Mention CVE-2014-4043.
952
bc4a86fa
RM
9532014-06-20 Roland McGrath <roland@hack.frob.com>
954
dc9a54f8
RM
955 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
956 * nptl/smp.h: ... here.
957
bd7022c4
RM
958 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
959
26ffd5e6
RM
960 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
961 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
962 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
963 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
964
93a6d082
RM
965 * nptl/allocatestack.c: Include <stack-aliasing.h>.
966 * nptl/stack-aliasing.h: New file.
967 * sysdeps/i386/i686/stack-aliasing.h: New file.
968 * sysdeps/i386/i686/nptl/Makefile: File removed.
969 * sysdeps/x86_64/stack-aliasing.h: New file.
970 * sysdeps/x86_64/nptl/Makefile
971 (CFLAGS-pthread_create.c): Variable removed.
972
bc4a86fa
RM
973 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
974 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
975 old file.
976 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
977 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
978 old file.
979
2272ffc1
JM
9802014-06-21 Joseph Myers <joseph@codesourcery.com>
981
982 * sysdeps/unix/sysv/linux/arm/kernel-features.h
983 (__ASSUME_SIGFRAME_V2): Remove macro.
984 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
985 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
986 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
987 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
988 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
989 Declare as function. Remove conditional macro definitions.
990 (__default_rt_sa_restorer): Likewise.
991 (__default_sa_restorer_v1): Remove declaration.
992 (__default_sa_restorer_v2): Likewise.
993 (__default_rt_sa_restorer_v1): Likewise.
994 (__default_rt_sa_restorer_v2): Likewise.
995 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
996 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
997 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
998
4b88139b
RM
9992014-06-20 Roland McGrath <roland@hack.frob.com>
1000
1001 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1002 (libpthread-routines): Add sysdep.
1003 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1004 * sysdeps/unix/sysv/linux/sparc/Versions
1005 (libpthread: GLIBC_2.3.3): New version set.
1006 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1007 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1008 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1009 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1010 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1011 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1012 Moved ...
1013 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1014 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1015 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1017 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1018 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1019 * sysdeps/sparc/nptl/sem_init.c: ... here.
1020 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1021 * sysdeps/sparc/nptl/sem_post.c: ... here.
1022 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1023 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1024 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1025 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1026 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1027 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1028 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1029 (libpthread-routines): Add cpu_relax.
1030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1031 File removed.
1032 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1033 (librt: GLIBC_2.3.3): New version set.
1034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1035 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1036 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1037 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1040 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1042 Moved ...
1043 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1045 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1047 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1049 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1051 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1053 Moved ...
1054 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1055 Update #include.
1056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1057 Moved ...
1058 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1059 Update #include.
1060 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1061 Moved ...
1062 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1063 Update #include.
1064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1065 Moved ...
1066 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1067 Update #include.
1068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1069 Moved ...
1070 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1071 Update #include.
1072 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1073 Moved ...
1074 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1075 Update #include.
1076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1077 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1078 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1081 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1083 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1084 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1085 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1087 Moved ...
1088 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1090 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1092 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1093
d7109027
JM
10942014-06-20 Joseph Myers <joseph@codesourcery.com>
1095
9bc6103d
JM
1096 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1097 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1098 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1099 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1100 * nscd/nscd.c: Likewise.
1101 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1102 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1103 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1104 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1105
d7109027
JM
1106 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1107 <kernel-features.h>.
1108 (init_mq_netlink): Remove conditional have_sock_cloexec
1109 definitions. Remove code conditional on have_sock_cloexec < 0.
1110 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1111 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1112 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1113 <kernel-features.h>.
1114 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1115 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1116
d92d8f8a
L
11172014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1118
1119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1120 Add tests for memset_chk and memset.
1121
1122 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1123 with AVX2_Usable.
1124
4e6d2347
MR
11252014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1126
257ce712
MR
1127 [BZ #16046]
1128 * elf/tst-dl-iter-static.c: New file.
1129 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1130
4e6d2347
MR
1131 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1132 error.
1133
a2a76afe
JM
11342014-06-20 Joseph Myers <joseph@codesourcery.com>
1135
7fd00f99
JM
1136 * sysdeps/unix/sysv/linux/kernel-features.h
1137 (__ASSUME_F_GETOWN_EX): Remove macro.
1138 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1139 <kernel-features.h>.
1140 (miss_F_GETOWN_EX): Remove variable or macro.
1141 (do_fcntl): Do not check miss_F_GETOWN_EX.
1142 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1143
4a103975
JM
1144 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1145 Remove macro.
1146 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1147 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1148 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1149
a2a76afe
JM
1150 * sysdeps/unix/sysv/linux/kernel-features.h
1151 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1152 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1153 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1154 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1155
90e5dd48
MR
11562014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1157
1158 [BZ #17075]
1159 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1160 Fix calculation of the symbol's value.
1161 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1162 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1163 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1164 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1165 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1166 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1167 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1168 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1169 (modules-names): Add `tst-armtlsdescmod',
1170 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1171 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1172 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1173 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1174 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1175 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1176 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1177 ($(objpfx)tst-armtlsdescloc): New dependency.
1178 ($(objpfx)tst-armtlsdescextnow): Likewise.
1179 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1180 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1181 TLS scheme support.
1182 * sysdeps/arm/configure: Regenerate.
1183
809fdf0d
JM
11842014-06-20 Joseph Myers <joseph@codesourcery.com>
1185
1186 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1187 (__atfct_seterrno_2): Likewise.
1188 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1189 <kernel-features.h>.
1190 (__ASSUME_ATFCTS): Do not undefine and redefine.
1191 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1192 (__have_atfcts): Remove conditional definition.
1193 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1194 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1195 unreachable if [__ASSUME_ATFCTS].
1196 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1197 not undefine and redefine.
1198 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1199 <kernel-features.h>.
1200 (faccessat) [__NR_faccessat]: Make code unconditional.
1201 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1202 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1203 <kernel-features.h>.
1204 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1205 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1206 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1207 <kernel-features.h>.
1208 (fchownat) [__NR_fchownat]: Make code unconditional.
1209 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1210 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1211 <kernel-features.h>.
1212 (futimesat) [__NR_futimesat]: Make code unconditional.
1213 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1214 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1215 <kernel-features.h>.
1216 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1217 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1218 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1219 <kernel-features.h>.
1220 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1221 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1222 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1223 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1224 <kernel-features.h>.
1225 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1226 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1227 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1228 <kernel-features.h>.
1229 (linkat) [__NR_linkat]: Make code unconditional.
1230 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1231 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1232 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1233 <kernel-features.h>.
1234 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1235 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1236 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1237 <kernel-features.h>.
1238 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1239 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1240 * sysdeps/unix/sysv/linux/openat.c: Do not include
1241 <kernel-features.h>.
1242 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1243 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1244 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1245 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1246 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1247 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1248 <kernel-features.h>.
1249 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1250 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1251 result of INLINE_SYSCALL directly, not via int variable.
1252 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1253 <kernel-features.h>.
1254 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1255 (renameat) [__NR_renameat]: Make code unconditional.
1256 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1257 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1258 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1259 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1260 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1261 (__ASSUME_ATFCTS): Do not undefine and redefine.
1262 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1263 <kernel-features.h>.
1264 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1265 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1266 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1267 <kernel-features.h>.
1268 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1269 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1270 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1271 (__ASSUME_ATFCTS): Do not undefine and redefine.
1272 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1273 <kernel-features.h>.
1274 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1275 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1276 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1277 <kernel-features.h>.
1278 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1279 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1280
224c6c51
L
12812014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1282
1283 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1284
aa6ec754
AS
12852014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1286
1287 [BZ #17069]
1288 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1289 constructed tree before returning error.
1290 * posix/bug-regexp36.c: Expand test case.
1291
d8c2869d
SL
12922014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1293
3ef6b850
SL
1294 [BZ #6803]
1295 * math/libm-test.inc (scalbln_test_date):
1296 Add errno expectations.
1297 * math/w_scalblnf.c: New File.
1298 Add wrapper which checks for setting errno to ERANGE.
1299 Add weak_alias for corresponding scalbln function.
1300 * math/w_scalbln.c: Likewise.
1301 * math/w_scalblnl.c: Likewise.
1302 * math/Makefile (libm-calls): Add w_scalbln.
1303 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1304 Remove weak_alias for corresponding scalbln function.
1305 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1306 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1307 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1309 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1310 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1311 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1312 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1313 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1314 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1315 Remove long_double_symbol for scalblnl function in libm, libc.
1316 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1317 Add wrapper which checks for setting errno to ERANGE.
1318 Add long_double_symbol for scalblnl function in libm, libc.
1319 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1320 Remove long_double_symbol for scalblnl in libm.
1321 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1322 Add wrapper which checks for setting errno to ERANGE.
1323 Add long_double_symbol for scalblnl function in libm.
1324 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1325 Do not use wrapper because of own implementation.
1326
c8daec5c
L
13272014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1328
1329 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1330 3 bytes for __pad1 for x32.
1331 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1332
5c74e47c
LM
13332014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1334 H.J. Lu <hongjiu.lu@intel.com>
1335
1336 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1337 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1338 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1339 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1340 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1341
4d43ef1e
AS
13422014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1343
1344 [BZ #17069]
1345 * posix/regcomp.c (parse_expression): Deallocate partially
1346 constructed tree before returning error.
1347 * posix/Makefile.c (tests): Add bug-regex36.
1348 (generated): Add bug-regex36.mtrace.
1349 (tests-special): Add $(objpfx)bug-regex36-mem.out
1350 (bug-regex36-ENV): New variable.
1351 ($(objpfx)bug-regex36-mem.out): New rule.
1352 * posix/bug-regex36.c: New file.
1353
51a7380b
WN
13542014-06-19 Will Newton <will.newton@linaro.org>
1355
1356 * malloc/malloc.c (systrim): If extra is zero then return
1357 early.
1358
91b84fe5
SP
13592014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1360
1361 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1362
f940b965
RE
13632014-06-19 Richard Earnshaw <rearnsha@arm.com>
1364
1365 * sysdeps/aarch64/strchr.S: New file.
1366
4ba7a00f
JM
13672014-06-18 Joseph Myers <joseph@codesourcery.com>
1368
1369 [BZ #17022]
1370 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1371 from arguments -2 or below.
1372 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1373 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1374
b3a9f56b
AS
13752014-06-18 Andreas Schwab <schwab@suse.de>
1376
1377 [BZ #17062]
1378 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1379 of a bracket expr not to run off the end of the string.
1380 * posix/Makefile (tests): Add tst-fnmatch3.
1381 * posix/tst-fnmatch3.c: New file.
1382
85d89278
JM
13832014-06-18 Joseph Myers <joseph@codesourcery.com>
1384
1385 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1386 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1387 [$(cross-compiling) = no]: Likewise.
1388 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1389 [$(cross-compiling) = no]: Likewise.
1390
754c5a08
RS
13912014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1392
1393 [BZ #17031]
1394 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1395 double, adjusted for any remainder from the high double.
1396 * math/libm-test.inc (nearbyint): Add tests.
1397 (rint): Likewise.
1398
556f529d
AZ
13992014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1400
1401 * nptl/sysdeps/powerpc/Makefile: Moved ...
1402 * sysdeps/powerpc/nptl/Makefile: ... here.
1403 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1404 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1405 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1406 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1407 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1408 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1409 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1410 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1411 * nptl/sysdeps/powerpc/tls.h: Moved ...
1412 * sysdeps/powerpc/nptl/tls.h: ... here.
1413
91c03c53
JM
14142014-06-16 Joseph Myers <joseph@codesourcery.com>
1415
1416 [BZ #16681]
1417 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1418 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1419 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1420 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1421 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1422 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1423 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1424 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1425 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1426
a76e63c5
AS
14272014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1428
1429 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1430
f2f6d82f
AS
14312014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1432
ea8a15f6
AS
1433 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1434 defined operator.
1435
f2f6d82f
AS
1436 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1437 $TIMEOUTFACTOR.
1438
a7291117
FW
14392014-06-16 Florian Weimer <fweimer@redhat.com>
1440
1441 [BZ #17058]
1442 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1443 non-executed part of the test.
1444
3d7c00e3
AS
14452014-06-16 Andreas Schwab <schwab@suse.de>
1446
1447 * string/bits/string2.h (strdup, strndup): Update feature guard.
1448
6957fb31
DM
14492014-06-14 David S. Miller <davem@davemloft.net>
1450
1451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1452
11b9e55b
AS
14532014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1454
1d2a0492
AS
1455 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1456 that was previously under [RESET_PID].
1457 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1458
11b9e55b
AS
1459 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1460 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1461 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1462 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1463 (__libc_vfork): New strong alias.
1464 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1465
0f6901d0
AK
14662014-06-14 Andi Kleen <ak@linux.intel.com>
1467
1468 * sysdeps/generic/elide.h: New file.
1469
38bbbb9f
SL
14702014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1471
1472 * Makefile (installed-headers): Adjust path of pthread.h header.
1473
45193bb8
RM
14742014-06-13 Roland McGrath <roland@hack.frob.com>
1475
9a25fd1e
RM
1476 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1477 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1478 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1479 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1480
4004f7e4
RM
1481 * nptl/sysdeps/s390/Makefile: Moved ...
1482 * sysdeps/s390/nptl/Makefile: ... here.
1483 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1484 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1485 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1486 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1487 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1488 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1489 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1490 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1491 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1492 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1493 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1494 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1495 * nptl/sysdeps/s390/tls.h: Moved ...
1496 * sysdeps/s390/nptl/tls.h: ... here.
1497
45193bb8
RM
1498 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1499 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1500
f6fdf533
DM
15012014-06-13 David S. Miller <davem@davemloft.net>
1502
1503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1506 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1510 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1511 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1512 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1513 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1514 Remove RESET_PID cpp guards.
1515 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1516 Remove RESET_PID cpp guards.
1517 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1518
f5d71e14
AS
15192014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1520
1521 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1522 __sp to uintptr_t.
1523
b7aa8caa
AK
15242014-06-13 Andi Kleen <ak@linux.intel.com>
1525
4b266200
AZ
1526 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1527 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1528 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1529 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1530 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1531 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1532 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1533 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1534 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1535 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1536 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1537 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1538 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1539 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1540 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1541 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1542 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1543 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1544 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1545 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
1546
1547 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
1548 (pthread_rwlock_rdlock): Add elision.
1549 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1550 (pthread_rwlock_wrlock): Add elision.
1551 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1552 (pthread_rwlock_trywrlock): Add elision.
1553 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1554 (pthread_rwlock_tryrdlock): Add elision.
1555 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1556 (pthread_rwlock_tryrdlock): Add elision unlock.
1557 * nptl/sysdeps/pthread/pthread.h:
1558 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1559 (PTHREAD_RWLOCK_INITIALIZER,
1560 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1561 Handle new elision field.
1562 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1563 * sysdeps/arm/nptl/bits/pthreadtypes.h
1564 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1565 * sysdeps/sh/nptl/bits/pthreadtypes.h
1566 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1567 * sysdeps/tile/nptl/bits/pthreadtypes.h
1568 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1569 * sysdeps/a/nptl/bits/pthreadtypes.h
1570 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1571 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1572 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1573 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1574 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1575 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1576 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1577 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1578 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1579 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1580 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1581 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1582 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1583 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1584 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1585 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1586 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1587 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1588 (elision_init): Set try_xbegin to zero when no RTM.
1589 * sysdeps/x86/nptl/bits/pthreadtypes.h
1590 (pthread_rwlock_t): Change __pad1 to __rwelision.
1591 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 1592
a832bdd3
AK
15932014-06-13 Andi Kleen <ak@linux.intel.com>
1594
1595 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1596 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1597 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1598 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1599
995a46bb
MI
16002014-06-13 Meador Inge <meadori@codesourcery.com>
1601
1602 [BZ #16996]
03ed7738 1603 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
1604 that the cached result has been set before returning it.
1605
45262aee
RM
16062014-06-12 Roland McGrath <roland@hack.frob.com>
1607
febf6cc5
RM
1608 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1609 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1610 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1611 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1612 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1613 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1614
e2682246
RM
1615 * nptl/sysdeps/sparc/Makefile: Moved ...
1616 * sysdeps/sparc/nptl/Makefile: ... here.
1617 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1618 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1619 * nptl/sysdeps/sparc/tls.h: Moved ...
1620 * sysdeps/sparc/nptl/tls.h: ... here.
1621 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1622 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1623 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1624 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1625 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1626 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1627 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1628 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1629 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1630 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1631 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1632 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1633 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1634 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1635 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1636 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1637 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1638 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1639 Update #include.
1640 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1641 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1642 Update #include.
1643 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1644 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1645 Update #include.
1646 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1647 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1648 Update #include.
1649
b0725f43
RM
1650 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1651
b14368b8
RM
1652 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1653 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1654
c5620eb3
RM
1655 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1656 (struct list_links): Type removed.
1657 (struct thread_node, struct timer_node): Replace struct list_links
1658 with struct list_head.
1659 (list_unlink_ip): Likewise.
1660 * sysdeps/pthread/timer_routines.c
1661 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1662 (list_append, list_insbefore): Likewise.
1663 (list_init): Function removed.
1664 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
1665 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1666 * sysdeps/pthread/Makefile: ... here, new file.
1667
1668 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1669 * sysdeps/nptl/Implies: ... here.
1670 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1671 * nptl/sysdeps/pthread/list.h: Moved ...
1672 * include/list.h: ... here.
1673 * nptl/sysdeps/pthread/createthread.c: Moved ...
1674 * nptl/createthread.c: ... here.
1675 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1676 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1677 * nptl/pt-longjmp.c: ... here.
1678 * nptl/sysdeps/pthread/Makefile: Moved ...
1679 * sysdeps/nptl/Makefile: ... here.
1680 * nptl/sysdeps/pthread/Subdirs: Moved ...
1681 * sysdeps/nptl/Subdirs: ... here.
1682 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1683 * sysdeps/nptl/aio_misc.h: ... here.
1684 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1685 * sysdeps/nptl/bits/libc-lock.h: ... here.
1686 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1687 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1688 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1689 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1690 * nptl/sysdeps/pthread/configure: Moved ...
1691 * sysdeps/nptl/configure: ... here.
1692 * nptl/sysdeps/pthread/configure.ac: Moved ...
1693 * sysdeps/nptl/configure.ac: ... here.
1694 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1695 * sysdeps/nptl/gai_misc.h: ... here.
1696 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1697 * sysdeps/nptl/librt-cancellation.c: ... here.
1698 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1699 * sysdeps/nptl/malloc-machine.h: ... here.
1700 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1701 * sysdeps/nptl/pthread-functions.h: ... here.
1702 * nptl/sysdeps/pthread/pthread.h: Moved ...
1703 * sysdeps/nptl/pthread.h: ... here.
1704 * nptl/sysdeps/pthread/setxid.h: Moved ...
1705 * sysdeps/nptl/setxid.h: ... here.
1706 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1707 * sysdeps/nptl/sigfillset.c: ... here.
1708 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1709 * sysdeps/nptl/tcb-offsets.h: ... here.
1710 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1711 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1712 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1713 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1714 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1715 * sysdeps/pthread/allocalim.h: ... here.
1716 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1717 * sysdeps/pthread/bits/sigthread.h: ... here.
1718 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1719 * sysdeps/pthread/flockfile.c: ... here.
1720 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1721 * sysdeps/pthread/ftrylockfile.c: ... here.
1722 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1723 * sysdeps/pthread/funlockfile.c: ... here.
1724 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1725 * sysdeps/pthread/posix-timer.h: ... here.
1726 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1727 * sysdeps/pthread/timer_create.c: ... here.
1728 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1729 * sysdeps/pthread/timer_delete.c: ... here.
1730 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1731 * sysdeps/pthread/timer_getoverr.c: ... here.
1732 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1733 * sysdeps/pthread/timer_gettime.c: ... here.
1734 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1735 * sysdeps/pthread/timer_routines.c: ... here.
1736 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1737 * sysdeps/pthread/timer_settime.c: ... here.
1738 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1739 * sysdeps/pthread/tst-timer.c: ... here.
1740 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1741 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1742
e876b090
RM
1743 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1744 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1745
f6b07b3d
RM
1746 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1747 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1748 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1749 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1750 Update #include target.
1751 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1752 * sysdeps/i386/i686/nptl/Makefile: ... here.
1753 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1754 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1755 Update #include target.
1756 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1757 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1758 * nptl/sysdeps/i386/Makefile: Moved ...
1759 * sysdeps/i386/nptl/Makefile: ... here.
1760 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1761 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1762 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1763 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1764 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1765 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1766 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1767 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1768 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1769 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1770 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1771 * nptl/sysdeps/i386/tls.h: Moved ...
1772 * sysdeps/i386/nptl/tls.h: ... here.
1773
45262aee
RM
1774 * sysdeps/sh/Makefile [$(subdir) = csu]
1775 (gen-as-const-headers): Add tcb-offsets.sym.
1776 * nptl/sysdeps/sh/Makefile: File removed.
1777 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1778 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1779 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1780 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1781 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1782 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1783 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1784 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1785 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1786 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1787 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1788 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1789 * nptl/sysdeps/sh/tls.h: Moved ...
1790 * sysdeps/sh/nptl/tls.h: ... here.
1791 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1792 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1793 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1794 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1795 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1796 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1797 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1798 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1799 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1800 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1801 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1802 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1803 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1804 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1805 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1806 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1807 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1808 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1809 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1810 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1811 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1812 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1813 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1814 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1815 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1816 Moved ...
1817 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1818 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1819 Moved ...
1820 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1821 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1822 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1823 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1824 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1825 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1826 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1827 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1828 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1829 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1830 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1831 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1832 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1833 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1834 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1835 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1836 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1837 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1838 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1839
35a5e3e3
SL
18402014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1841
1842 * posix/spawn_faction_addopen.c: Include string.h.
1843
14642b85
RM
18442014-06-11 Roland McGrath <roland@hack.frob.com>
1845
1846 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1847 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1848 * nptl/sysdeps/x86_64/Makefile: Moved ...
1849 * sysdeps/x86_64/nptl/Makefile: ... here.
1850 * nptl/sysdeps/x86_64/configure: Moved ...
1851 * sysdeps/x86_64/nptl/configure: ... here.
1852 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1853 * sysdeps/x86_64/nptl/configure.ac: ... here.
1854 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1855 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1856 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1857 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1858 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1859 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1860 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1861 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1862 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1863 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1864 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1865 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1866 * nptl/sysdeps/x86_64/tls.h: Moved ...
1867 * sysdeps/x86_64/nptl/tls.h: ... here.
1868 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1869 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1870 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1871 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1872
1873 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1874
31c44fea
AZ
18752014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1876
1877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1878
e81a4f9a
JM
18792014-06-11 Joseph Myers <joseph@codesourcery.com>
1880
1881 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1882 type.
1883 [POSIX] (off_t): Likewise.
1884 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1885 [POSIX] (S_ISBLK): Require macro.
1886 [POSIX] (S_ISCHR): Likewise.
1887 [POSIX] (S_ISDIR): Likewise.
1888 [POSIX] (S_ISFIFO): Likewise.
1889 [POSIX] (S_ISREG): Likewise.
1890 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1891 optional-macro.
1892 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1893 type.
1894 [POSIX] (time_t): Likewise.
1895 [POSIX] (timer_t): Likewise.
1896
89e435f3
FW
18972014-06-11 Florian Weimer <fweimer@redhat.com>
1898
1899 [BZ #17048]
1900 * posix/spawn_int.h (struct __spawn_action): Make the path string
1901 non-const to support deallocation.
1902 * posix/spawn_faction_addopen.c
1903 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1904 * posix/spawn_faction_destroy.c
1905 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1906 path in all spawn_do_open actions.
1907 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1908 posix_spawn_file_actions_addopen.
1909
c3a2ebe1
CM
19102014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1911
1912 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1913 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1914 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1915 conditional code always true.
1916 (__libc_vfork): New alias.
1917
9503784a
RM
19182014-06-11 Roland McGrath <roland@hack.frob.com>
1919
c9cab3d2
RM
1920 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1921 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1922
d3996c79
RM
1923 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1924
ba5ec611
RM
1925 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1926 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1927
f12b4814
RM
1928 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1929 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1930
9503784a
RM
1931 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1932 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1933
e23d3d26
VR
19342014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1935
1936 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1937 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1938 multiarch strcmp for PPC64.
1939 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1940 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1942 multiarch optimizations.
1943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1944 (__libc_ifunc_impl_list): Likewise.
1945
42b1161e
SP
19462014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1947
1948 * benchtests/scripts/validate_benchout.py: New script.
1949 * benchtests/Makefile (bench-func): Call it.
1950 * benchtests/scripts/benchout.schema.json: New file.
1951
2d0fc4dc
CM
19522014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1953
4a594c34
AZ
1954 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1955 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1956 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1957 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1958 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1959 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1960 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1961 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1962 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1963 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1964 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1965 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1966 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1967 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1968 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1969 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 1971 Moved ...
4a594c34 1972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 1973 ... here.
4a594c34 1974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 1975 Moved ...
4a594c34
AZ
1976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 1978 Moved ...
4a594c34 1979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 1980 ... here.
4a594c34 1981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 1982 Moved ...
4a594c34 1983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 1984 ... here.
4a594c34 1985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 1986 Moved ...
4a594c34
AZ
1987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 1989 Moved ...
4a594c34 1990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 1991 ... here.
4a594c34 1992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 1993 Moved ...
4a594c34 1994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 1995 ... here.
4a594c34 1996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 1997 Moved ...
4a594c34
AZ
1998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 2000 Moved ...
4a594c34 2001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 2002 ... here.
4a594c34 2003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 2004 Moved ...
4a594c34 2005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 2006 ... here.
4a594c34 2007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 2008 Moved ...
4a594c34 2009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 2010 ... here.
4a594c34 2011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 2012 Moved ...
4a594c34
AZ
2013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 2015 Moved ...
4a594c34 2016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 2017 ... here.
4a594c34 2018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 2019 Moved ...
4a594c34 2020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 2021 ... here.
4a594c34 2022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 2023 Moved ...
4a594c34 2024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 2025 ... here.
4a594c34 2026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 2027 Moved ...
4a594c34
AZ
2028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 2030 Moved ...
4a594c34 2031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 2032 ... here.
4a594c34 2033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 2034 Moved ...
4a594c34 2035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 2036 ... here.
4a594c34 2037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 2038 Moved ...
4a594c34
AZ
2039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 2041 Moved ...
4a594c34 2042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 2043 ... here.
4a594c34 2044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 2045 Moved ...
4a594c34
AZ
2046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 2048 Moved ...
4a594c34
AZ
2049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 2051 Moved ...
4a594c34 2052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 2053 ... here.
4a594c34 2054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 2055 Moved ...
4a594c34 2056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 2057 ... here.
4a594c34 2058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 2059 Moved ...
4a594c34 2060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 2061 ... here.
4a594c34 2062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 2063 Moved ...
4a594c34
AZ
2064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 2066 Moved ...
4a594c34 2067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 2068 ... here.
4a594c34 2069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 2070 Moved ...
4a594c34 2071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 2072 ... here.
4a594c34
AZ
2073 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2074 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2075 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2076 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2077 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 2078 Moved ...
4a594c34 2079 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 2080 ... here.
4a594c34
AZ
2081 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2082 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2083 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2084 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2085 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2086 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2087 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2088 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2089 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2090 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2091 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2092 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2093 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 2094 Moved ...
4a594c34
AZ
2095 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2096 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 2097 Moved ...
4a594c34
AZ
2098 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2099 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2100 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 2102 Moved ...
4a594c34
AZ
2103 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2105 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2106 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2107 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2108 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2109 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 2110
0570cfed
W
21112014-06-10 Wilco <wdijkstr@arm.com>
2112
2113 * math/test-fenv-return.c: New file.
2114 * math/Makefile: Add new test test-fenv-return.
2115
f8ba1b56
JM
21162014-06-10 Joseph Myers <joseph@codesourcery.com>
2117
2118 [BZ #17042]
2119 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2120 when x - 1 is zero.
2121 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2122 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2123 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2124 0.0L for an argument of 1.0L.
2125 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2126 Likewise.
2127 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2128 value when x - 1 is zero.
2129 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2130 * sysdeps/i386/fpu/libm-test-ulps: Update.
2131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2132
2c3520d9
BO
21332014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2134
2135 [BZ #15119]
2136 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2137
acaa4d24
RM
21382014-06-09 Roland McGrath <roland@hack.frob.com>
2139
2140 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2141 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2142
962b744d
RM
21432014-06-09 Roland McGrath <roland@hack.frob.com>
2144
d752f0cc
RM
2145 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2146 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2147
34eda6d1
RM
2148 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2149 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2150
50f0a637
RM
2151 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2152 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2153
08f41f04
RM
2154 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2155 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2156
962b744d
RM
2157 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2158 if not already defined.
2159 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2160 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2161 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2162 (TLS_INIT_TP): Use it.
2163 (TLS_DEFINE_INIT_TP): New macro.
2164 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2165
09f19b05
JM
21662014-06-09 Joseph Myers <joseph@codesourcery.com>
2167
2168 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2169 constant.
2170 [POSIX] (IXANY): Likewise.
2171 [POSIX] (OLCUC): Likewise.
2172 [POSIX || POSIX2008] (CBAUD): Do not allow.
2173 [POSIX || POSIX2008] (DEFECHO): Likewise.
2174 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2175 [POSIX || POSIX2008] (ECHOKE): Likewise.
2176 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2177 [POSIX || POSIX2008] (EXTA): Likewise.
2178 [POSIX || POSIX2008] (EXTB): Likewise.
2179 [POSIX || POSIX2008] (FLUSHO): Likewise.
2180 [POSIX || POSIX2008] (LOBLK): Likewise.
2181 [POSIX || POSIX2008] (PENDIN): Likewise.
2182 [POSIX || POSIX2008] (SWTCH): Likewise.
2183 [POSIX || POSIX2008] (VDISCARD): Likewise.
2184 [POSIX || POSIX2008] (VDSUSP): Likewise.
2185 [POSIX || POSIX2008] (VLNEXT): Likewise.
2186 [POSIX || POSIX2008] (VREPRINT): Likewise.
2187 [POSIX || POSIX2008] (VSTATUS): Likewise.
2188 [POSIX || POSIX2008] (VWERASE): Likewise.
2189 (B*): Change to B[0123456789]*.
2190 * conform/data/time.h-data [POSIX || UNIX98]
2191 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2192 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2193 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2194 [POSIX] (tm_*): Do not allow.
2195
686554bf
JM
21962014-06-07 Joseph Myers <joseph@codesourcery.com>
2197
2198 * Makefile (install): Don't set LANGUAGE.
2199 * Makefile.in (install): Likewise.
2200 * assert/Makefile (test-assert-ENV): Remove variable.
2201 (test-assert-perr-ENV): Likewise.
2202 * elf/Makefile (neededtest4-ENV): Likewise.
2203 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2204 [$(cross-compiling) = no]: Don't set LANGUAGE.
2205 * io/ftwtest-sh (LANG): Remove variable.
2206 * libio/Makefile (tst-widetext-ENV): Likewise.
2207 * manual/install.texi (Running make install): Don't refer to
2208 environment settings for make install.
2209 * INSTALL: Regenerated.
2210 * nptl/tst-tls6.sh: Don't set LANG.
2211 * posix/globtest.sh (LANG): Remove variable.
2212 * string/Makefile (tester-ENV): Likewise.
2213 (inl-tester-ENV): Likewise.
2214 (noinl-tester-ENV): Likewise.
2215 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2216 [$(cross-compiling) = no]: Don't set LANGUAGE.
2217 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2218 without explicit environment settings.
2219
68e6b6b1
RM
22202014-06-06 Roland McGrath <roland@hack.frob.com>
2221
2222 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2223 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2224 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2225 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2226
4d3ae034
CM
22272014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2228
2229 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2230 other files in the crypt directory.
2231 * crypt/crypt.c: Remove duplicate includes.
2232 * crypt/crypt-entry.c: Likewise.
2233 * crypt/crypt_util.c: Likewise.
2234
8540f6d2
JM
22352014-06-06 Joseph Myers <joseph@codesourcery.com>
2236
2237 * Makeconfig (run-program-env): New variable.
2238 (run-program-prefix-before-env): Likewise.
2239 (run-program-prefix-after-env): Likewise.
2240 (run-program-prefix): Define in terms of new variables.
2241 (built-program-cmd-before-env): New variable.
2242 (built-program-cmd-after-env): Likewise.
2243 (built-program-cmd): Define in terms of new variables.
2244 (test-program-prefix-before-env): New variable.
2245 (test-program-prefix-after-env): Likewise.
2246 (test-program-prefix): Define in terms of new variables.
2247 (test-program-cmd-before-env): New variable.
2248 (test-program-cmd-after-env): Likewise.
2249 (test-program-cmd): Define in terms of new variables.
2250 * Rules (make-test-out): Use $(run-program-env).
2251 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2252 (help): Do not mention environment variables. Mention
2253 --timeoutfactor option.
2254 (timeoutfactor): New variable.
2255 (blacklist_exports): Remove function.
2256 (exports): Remove variable.
2257 (command): Do not include ${exports}.
2258 * manual/install.texi (Configuring and compiling): Do not mention
2259 test wrappers preserving environment variables. Mention that last
2260 assignment to a variable must take precedence.
2261 * INSTALL: Regenerated.
2262 * benchtests/Makefile (run-bench): Use $(run-program-env).
2263 * catgets/Makefile ($(objpfx)test1.cat): Use
2264 $(built-program-cmd-before-env), $(run-program-env) and
2265 $(built-program-cmd-after-env).
2266 ($(objpfx)test2.cat): Do not specify environment variables
2267 explicitly.
2268 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2269 $(run-program-env) and $(built-program-cmd-after-env).
2270 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2271 $(run-program-env) and $(test-program-cmd-after-env).
2272 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2273 explicitly.
2274 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2275 run_program_env and test_program_cmd_after_env arguments.
2276 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2277 * elf/tst-pathopt.sh: Use run_program_env argument.
2278 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2279 $(test-wrapper-env) and $(run-program-env).
2280 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2281 run_program_env arguments.
2282 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2283 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2284 $(test-program-prefix-before-env), $(run-program-env) and
2285 $(test-program-prefix-after-env).
2286 ($(objpfx)tst-gettext2.out): Likewise.
2287 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2288 run_program_env and test_program_prefix_after_env arguments.
2289 * intl/tst-gettext2.sh: Likewise.
2290 * intl/tst-gettext4.sh: Do not set environment variables
2291 explicitly.
2292 * intl/tst-gettext6.sh: Likewise.
2293 * intl/tst-translit.sh: Likewise.
2294 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2295 $(test-program-prefix-before-env), $(run-program-env) and
2296 $(test-program-prefix-after-env).
2297 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2298 run_program_env and test_program_prefix_after_env arguments.
2299 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2300 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2301 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2302 explicitly with each use of ${test_wrapper_env}.
2303 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2304 $(test-program-prefix-before-env), $(run-program-env) and
2305 $(test-program-prefix-after-env).
2306 * posix/tst-getconf.sh: Do not set environment variables
2307 explicitly.
2308 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2309 run_program_env and test_program_prefix_after_env arguments.
2310 * stdio-common/tst-printf.sh: Do not set environment variables
2311 explicitly.
2312 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2313 $(test-program-prefix-before-env), $(run-program-env) and
2314 $(test-program-prefix-after-env).
2315 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2316 run_program_env and test_program_prefix_after_env arguments.
2317 Split $test calls into $test_pre and $test.
2318 * timezone/Makefile (build-testdata): Use
2319 $(built-program-cmd-before-env), $(run-program-env) and
2320 $(built-program-cmd-after-env).
2321
ed36bfa1
AZ
23222014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2323
2324 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2325 strlen for non SHARED builds.
2326
fc75bf46
SP
23272014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2328
2329 * nptl/allocatestack.c (check_list): Inlined function...
2330 (__reclaim_stacks): ... here.
2331
d89b3d80
OB
23322014-06-05 Ondřej Bílka <neleai@seznam.cz>
2333
2334 [BZ #15698]
2335 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2336 memory overrun.
2337
2bf18041
JM
23382014-06-05 Joseph Myers <joseph@codesourcery.com>
2339
2340 * Rules (make-test-out): Include
2341 LOCPATH=$(common-objpfx)localedata in default environment.
2342 * debug/Makefile (tst-chk1-ENV): Remove variable.
2343 (tst-chk2-ENV): Likewise.
2344 (tst-chk3-ENV): Likewise.
2345 (tst-chk4-ENV): Likewise.
2346 (tst-chk5-ENV): Likewise.
2347 (tst-chk6-ENV): Likewise.
2348 (tst-lfschk1-ENV): Likewise.
2349 (tst-lfschk2-ENV): Likewise.
2350 (tst-lfschk3-ENV): Likewise.
2351 (tst-lfschk4-ENV): Likewise.
2352 (tst-lfschk5-ENV): Likewise.
2353 (tst-lfschk6-ENV): Likewise.
2354 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2355 (tst-iconv7-ENV): Likewise.
2356 * intl/Makefile (LOCPATH-ENV): Likewise.
2357 (tst-codeset-ENV): Likewise.
2358 (tst-gettext3-ENV): Likewise.
2359 (tst-gettext5-ENV): Likewise.
2360 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2361 (tst-fopenloc-ENV): Likewise.
2362 (tst-fgetws-ENV): Remove variable.
2363 (tst-ungetwc1-ENV): Likewise.
2364 (tst-ungetwc2-ENV): Likewise.
2365 (bug-ungetwc2-ENV): Likewise.
2366 (tst-swscanf-ENV): Likewise.
2367 (bug-ftell-ENV): Likewise.
2368 (tst-fgetwc-ENV): Likewise.
2369 (tst-fseek-ENV): Likewise.
2370 (tst-ftell-partial-wide-ENV): Likewise.
2371 (tst-ftell-active-handler-ENV): Likewise.
2372 (tst-ftell-append-ENV): Likewise.
2373 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2374 (tst-regexloc-ENV): Likewise.
2375 (bug-regex1-ENV): Likewise.
2376 (tst-regex-ENV): Likewise.
2377 (tst-regex2-ENV): Likewise.
2378 (bug-regex5-ENV): Likewise.
2379 (bug-regex6-ENV): Likewise.
2380 (bug-regex17-ENV): Likewise.
2381 (bug-regex18-ENV): Likewise.
2382 (bug-regex19-ENV): Likewise.
2383 (bug-regex20-ENV): Likewise.
2384 (bug-regex22-ENV): Likewise.
2385 (bug-regex23-ENV): Likewise.
2386 (bug-regex25-ENV): Likewise.
2387 (bug-regex26-ENV): Likewise.
2388 (bug-regex30-ENV): Likewise.
2389 (bug-regex32-ENV): Likewise.
2390 (bug-regex33-ENV): Likewise.
2391 (bug-regex34-ENV): Likewise.
2392 (bug-regex35-ENV): Likewise.
2393 (tst-rxspencer-ENV): Likewise.
2394 (tst-rxspencer-no-utf8-ENV): Likewise.
2395 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2396 (tst-sscanf-ENV): Likewise.
2397 (tst-swprintf-ENV): Likewise.
2398 (tst-swscanf-ENV): Likewise.
2399 (test-vfprintf-ENV): Likewise.
2400 (scanf13-ENV): Likewise.
2401 (bug14-ENV): Likewise.
2402 (tst-grouping-ENV): Likewise.
2403 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2404 (tst-strtod3-ENV): Likewise.
2405 (tst-strtod4-ENV): Likewise.
2406 (tst-strtod5-ENV): Likewise.
2407 (testmb2-ENV): Likewise./
2408 * string/Makefile (tst-strxfrm-ENV): Likewise.
2409 (tst-strxfrm2-ENV): Likewise.
2410 (bug-strcoll1-ENV): Likewise.
2411 (test-strcasecmp-ENV): Likewise.
2412 (test-strncasecmp-ENV): Likewise.
2413 * time/Makefile (tst-strptime-ENV): Likewise.
2414 (tst-ftime_l-ENV): Likewise.
2415 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2416 (tst-mbrtowc-ENV): Likewise.
2417 (tst-wcrtomb-ENV): Likewise.
2418 (tst-mbrtowc2-ENV): Likewise.
2419 (tst-c16c32-1-ENV): Likewise.
2420 (tst-mbsnrtowcs-ENV): Likewise.
2421
cd1fb604
OB
24222014-06-05 Ondřej Bílka <neleai@seznam.cz>
2423
2424 * manual/resource.texi (How to get information about the memory
2425 subsystem?): Fix typo.
2426 Reported by Peon de la Parra Ivan <peon@keba.com>
2427
b42eca7d
GY
24282014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2429
2430 [BZ #16882]
2431 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2432 (pthread_spin_lock): Branch out of spin loop to proper location.
2433 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2434 (pthread_spin_lock): Likewise.
2435
902b71f9
DM
2436 * nptl/tst-spin4.c: New test.
2437 * nptl/Makefile (tests): Add tst-spin4.
2438
f9d2d032
AS
24392014-06-03 Andreas Schwab <schwab@suse.de>
2440
2441 [BZ #15946]
2442 * resolv/res_send.c (send_dg): Reload file descriptor after
2443 calling reopen.
2444
cf7bfd28
SL
24452014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2446
2447 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2448
111cc714
RH
24492014-06-03 Richard Henderson <rth@redhat.com>
2450
89b4bd6b
RH
2451 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2452 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2453 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2454 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2455 in the SAVE_PID block.
2456 (__libc_vfork): New alias.
71840409 2457 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 2458
111cc714
RH
2459 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2460 child in registers, not on the stack. Remove RESET_PID conditionals.
2461 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2462
ccc39911
MS
24632014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2464
2465 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2466
693096cc
W
24672014-06-03 Wilco <wdijkstr@arm.com>
2468
2469 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2470 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2471 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2472 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2473 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2474 Likewise.
2475
0b4366bc
W
24762014-06-03 Wilco <wdijkstr@arm.com>
2477
2478 * sysdeps/aarch64/fpu/math_private.h
2479 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2480 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2481 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2482 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2483 Fix declarations.
2484
8747cd03
KS
24852014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2486
2487 * crypt/crypt-private.h: Include ufc-crypt.h.
2488 (__b64_from_24bit): Declare extern.
2489 * crypt/crypt_util.c(__b64_from_24bit): New function.
2490 (b64t): New static const variable.
2491 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2492 (b64t): Remove variable.
2493 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2494 * crypt/sha256-crypt.c: Include crypt-private.h.
2495 (b64t): Remove variable.
2496 (__sha256_crypt_r): Remove b64_from_24bit and replace
2497 with __b64_from_24bit.
2498 * crypt/sha512-crypt.c: Likewise.
2499
d936d379
RM
25002014-06-02 Roland McGrath <roland@hack.frob.com>
2501
2502 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2503 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2504 Label the code __libc_vfork rather than __vfork.
2505 [!NOT_IN_libc] (vfork): Define as weak alias.
2506 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2507 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2508 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2509
9fa76613
SP
25102014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2511
2512 * malloc/malloc.c (malloc_info): Fix format specifier for
2513 n_mmaps.
2514
a88dadbe
W
25152014-06-02 Wilco <wdijkstr@arm.com>
2516
2517 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2518 FPCR write.
2519
c95b3011
W
25202014-06-02 Wilco <wdijkstr@arm.com>
2521
2522 [BZ #17009]
2523 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2524 Rewrite to reduce FPCR/FPSR accesses.
2525
6b4d7a90
DM
25262014-06-01 David S. Miller <davem@davemloft.net>
2527
2528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2529
30f3d07c
DM
25302014-05-31 David S. Miller <davem@davemloft.net>
2531
2532 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2533 to occur in round to nearest mode when |x| >= 2.0
2534
74f31c18
RH
25352014-05-30 Richard Henderson <rth@twiddle.net>
2536
f0712b54
RH
2537 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2538 (PSEUDO_RET_NOERRNO): Remove.
2539 (ret): Don't redefine.
2540 (ret_NOERRNO): Define in terms of ret.
2541 (ret_ERRVAL): Likewise.
2542
74f31c18
RH
2543 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2544 use of PSEUDO_RET; perform the error check directly.
2545
30477995
MM
25462014-05-30 Marko Myllynen <myllynen@redhat.com>
2547
2548 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2549 with __int128_t.
2550
62a58816
SP
25512014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2552
2553 * malloc/malloc (malloc_info): Fix formatting.
2554
4d653a59
SP
25552014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2556 Roland McGrath <roland@hack.frob.com>
2557
2558 * malloc/malloc (malloc_info): Also print mmapped statistics.
2559
5190c17f
RM
25602014-05-30 Roland McGrath <roland@hack.frob.com>
2561
2562 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2563 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2564
987c0269
OB
25652014-05-30 Ondřej Bílka <neleai@seznam.cz>
2566
2567 * malloc/malloc.c (malloc_info): Inline mi_arena.
2568
af4e8ef9
RH
25692014-05-29 Richard Henderson <rth@twiddle.net>
2570
1670e207
RH
2571 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2572 Remove comma before expanding ASM_ARGS_##nr.
2573 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2574 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2575 of ASM_ARGS_##nr.
2576 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2577 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2578 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2579 (ASM_ARGS_1): Add leading comma.
2580
11a28aee
RH
2581 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2582 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2583 to __errno_location.
2584 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2585 Remove the expected plt for __errno_location.
2586
a17e5ffb 2587 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 2588 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
2589 call to __read_tp.
2590
b5be4597
RH
2591 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2592 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2593 it and break it down.
2594 (DOCARGS_0, DOCARGS_1): Do nothing.
2595 (DOCARGS_2): Update to store into the new stack frame.
2596 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2597 (UNDOCARGS_1): Update to restore from the new stack frame.
2598 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2599 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2600
645d44ab
RH
2601 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2602 (SINGLE_THREAD_P): New parameter for result regno.
2603 (PSEUDO): Update to match; use cbz instead of beq.
2604
a8b4f04a
RH
2605 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2606 Use ENTRY to define the _nocancel entry point. Share the syscall
2607 and syscall error check paths with the cancel path.
2608 (PSEUDO_END): New.
2609
af4e8ef9
RH
2610 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2611 whitespace; tabs before and after asm mnemonics.
2612
26b0d2e1
EW
26132014-05-29 Eric Wong <normalperson@yhbt.net>
2614
2615 [BZ #15132]
2616 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2617 Call fstat64 or stat64 internally, depending on arguments passed.
2618 Replace stat buffer argument with file descriptor argument.
2619 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2620 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2621 Pass fd to __internal_statvfs instead of calling fstat64.
2622 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2623 Pass fd to __internal_statvfs64 instead of calling fstat64.
2624 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2625 Pass -1 to __internal_statvfs instead of calling stat64.
2626 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2627 Pass -1 to __internal_statvfs64 instead of calling stat64.
2628
1efe2bd9
RM
26292014-05-28 Roland McGrath <roland@hack.frob.com>
2630
0d3b7a19
RM
2631 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2632 that was previously under [RESET_PID].
2633 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2634
1efe2bd9
RM
2635 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2636 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2637
a6bea3ca
RM
26382014-05-27 Roland McGrath <roland@hack.frob.com>
2639
30b6629e
RM
2640 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2641
a6bea3ca
RM
2642 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2643 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2644
3dfb9a5c
OB
26452014-05-27 Ondřej Bílka <neleai@seznam.cz>
2646
2647 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2648
774f9285
AS
26492014-05-27 Andreas Schwab <schwab@suse.de>
2650
2651 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2652 TLS_INIT_TP macro.
2653 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2654 * elf/rtld.c (init_tls, dl_main): Likewise.
2655 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2656 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2657 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2658 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2659 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2660 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2661 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2662 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2663 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2664 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2665 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2666 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2667 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2668 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2669 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2670 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2671 * sysdeps/generic/tls.h: Update description.
2672
36ffe739
WN
26732014-05-27 Will Newton <will.newton@linaro.org>
2674
2675 [BZ #16990]
2676 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2677 and restore r2 rather than just restoring.
2678
2482ae43
SP
26792014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2680
2681 [BZ #16724]
2682 * libio/tst-ftell-append.c: New test case.
2683 * libio/Makefile (tests): Add test case.
2684 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2685 append mode.
2686 * libio/wfileops.c (do_ftell_wide): Likewise.
2687
3d1024e8
AZ
26882014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2689
bab90016
AZ
2690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2691
c7a8d667
AZ
2692 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2693 ...
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2696 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2697 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2698 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2699 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2700 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2701 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2702 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2703 Moved ...
2704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2706 Moved ...
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2708 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2709 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2710 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2711 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2712 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2713 ...
2714 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2715 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2716 Moved ...
2717 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2718 here.
2719 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2720 ...
2721 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2722 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2723 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2724
daee7851
AZ
2725 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2726 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2727 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2728 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2729
50a40819
AZ
2730 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2731 merge into ...
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2733 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2734 ...
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2736 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2737 ...
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2739 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2740 Moved ...
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2742 here.
2743 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2744 Moved ...
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2746 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2747 Moved ...
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2749
8464c2a1
AZ
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2751 conditional [RESET_PID].
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2754 removed.
2755 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2756 removed.
2757
3d1024e8
AZ
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2759 <tcb-offsets.h>.
2760 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2761 (__libc_vfork): New strong alias.
2762 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2763 removed.
2764 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2765 Removed.
2766
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2768 <tcb-offsets.h>.
2769 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2770 (__libc_vfork): New strong alias.
2771 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2772 removed.
2773 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2774 removed.
2775
fdfd175d
CD
27762014-05-26 Carlos O'Donell <carlos@redhat.com>
2777
2778 * malloc/malloc.c (mi_arena): New function.
2779 (malloc_info): Remove nested function mi_arena. Call non-nosted
2780 function mi_arena.
2781
d298c416
AZ
27822014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2783
2784 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2785 by insrwi.
2786 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2787 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2788 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2789 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2790 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2791 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2792 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2793
b60ea6ff
AS
27942014-05-26 Andreas Schwab <schwab@suse.de>
2795
2796 [BZ #16984]
2797 * locale/programs/repertoire.c (repertoire_read): Add slash
2798 between I18NPATH element and file name.
2799 * locale/programs/locfile.c (locfile_read): Likewise.
2800
67365926
SL
28012014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2802
2803 * nptl/pthread_mutexattr_settype.c
2804 (__pthread_mutexattr_settype):
2805 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2806
f8bdf1f0
SL
28072014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2808
2809 * nptl/tst-mutex5 (do_test):
2810 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2811
15eaf6ff
SP
28122014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2813
2814 * benchtests/README: Document 'init' directive.
2815 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2816 BENCH_INIT.
2817 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2818 (parse_file): Recognize 'init' directive.
2819
75f11331
KM
28202014-05-26 Kyle McMartin <kyle@redhat.com>
2821
2822 [BZ #16796]
2823 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2824 alignment of struct pthread.
2825
c3ec475c
SP
28262014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2827
2828 [BZ #16878]
2829 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2830 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2831 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2832 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2833
82aab97c
RH
28342014-05-25 Richard Henderson <rth@twiddle.net>
2835
aa2f176d
RH
2836 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2837 (SINGLE_THREAD_P_PIC): Remove.
2838 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2839 (SINGLE_THREAD_P_PIC): Remove.
2840
ca3cfa40
RH
2841 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2842 branch to syscall error ...
2843 (PSEUDO): ... here.
2844 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2845 from __local_syscall_error to .Lsyscall_error.
2846 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2847 (SYSCALL_ERROR): Update label name.
2848
6e6c2d01
RH
2849 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2850 Do not use DOARGS/UNDOARGS.
2851 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2852 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2853 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2854 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2855 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2856
c69abcee
RH
2857 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2858 block comment.
2859
82aab97c
RH
2860 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2861 define if !NOT_IN_libc.
2862 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2863 define with non-default symbol versions.
2864
8820e3ac
RH
28652014-05-23 Richard Henderson <rth@twiddle.net>
2866
900e445f
RH
2867 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2868 (vfork, __vfork): Define via compat_symbol.
2869
8820e3ac
RH
2870 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2871 [!HAVE_IFUNC] (vfork_compat): Remove.
2872 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2873
e59252a5
JM
28742014-05-23 Joseph Myers <joseph@codesourcery.com>
2875
2876 [BZ #16978]
2877 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2878 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2879 variable.
2880
132c7f5f
RH
28812014-05-23 Richard Henderson <rth@twiddle.net>
2882
bc89e962
RH
2883 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2884 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2885 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2886 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2887
2888 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2889 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2890 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2891 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2892 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2893 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2894 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2895 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2896 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2897 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2898 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2899 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2900 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2901 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2902 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2903 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2904 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2905 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2906 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2907 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2908 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2909 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2910 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2911 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2912 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2913 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2914 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2915 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2916 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2917 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2918 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2919 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2920 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2921 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2922 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2923 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2925 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2926 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2927 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2928 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2929 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2930 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2931 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2932 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2933 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2934 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2935 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2936 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2937 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2938 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2939 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2940 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2941 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2942 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2943 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2944
e2fa4bc2
RH
2945 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2946 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2947 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2948 before exiting on error.
2949 (__libc_vfork): New strong alias.
2950 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2951 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2952
279b24e2
RH
2953 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2954 that was previously under [RESET_PID].
2955 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2956
132c7f5f
RH
2957 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2958
b72592e7
JM
29592014-05-23 Joseph Myers <joseph@codesourcery.com>
2960
2961 [BZ #16977]
2962 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2963 value when x - 1 is zero.
2964 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2965 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2966 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2967 0.0L for an argument of 1.0L.
2968 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2969 Likewise.
2970 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2971 value when x - 1 is zero.
2972 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2973 * sysdeps/i386/fpu/libm-test-ulps: Update.
2974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2975
2302d679
RV
29762014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2977
2978 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2979 alphasort and versionsort.
2980
32999d63
AZ
29812014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2982
2983 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2984 macro.
2985 [copysignf]: Likewise.
2986
019324d0
SP
29872014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2988
2989 * crypt/md5-crypt.c: Fix formatting.
2990
34fff5c2
KS
29912014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2992
2993 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2994 (b64_from_24bit): New function.
2995
3d2badac
AZ
29962014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2997
2998 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2999 libc_hidden_builtin_def to ifunc.
3000 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3001 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3002
f7bb179f 30032014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
3004
3005 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3006 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3007
4134b50d
JM
30082014-05-21 Joseph Myers <joseph@codesourcery.com>
3009
bb7d0337
JM
3010 * nscd/Depend (linuxthreads): Remove.
3011 (nptl): Add.
3012 * resolv/Depend (linuxthreads): Remove.
3013 * rt/Depend (linuxthreads): Remove.
3014
4134b50d
JM
3015 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3016 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3017 $(common-objpfx)elf/.
3018 (link-libc-before-gnulib): Likewise.
3019 (elfobjdir): Remove variable.
3020 * Makefile (install): Use $(elf-objpfx) instead of
3021 $(common-objpfx)elf/.
3022 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3023 $(elfobjdir)/.
3024 (link-libc-deps): Likewise.
3025 ($(common-objpfx)libc.so): Likewise.
3026 ($(common-objpfx)linkobj/libc.so): Likewise.
3027 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3028 instead of $(common-objpfx)elf/.
3029 (symbolic-link-list): Likewise.
3030 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3031 [$(cross-compiling) = no]: Likewise.
3032 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3033 $(elfobjdir)/.
3034 (static-gnulib-arch): Likewise.
3035 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3036 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3037 $(common-objpfx)elf/.
3038
3612eb8f
RH
30392014-05-21 Richard Henderson <rth@redhat.com>
3040
a6b3657b
RH
3041 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3042 (SINGLE_THREAD_P): Use the correct width load. Fold
3043 into the ldr offset.
3044
3612eb8f
RH
3045 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3046 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3047
175cef41
JM
30482014-05-20 Joseph Myers <joseph@codesourcery.com>
3049
3050 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3051 (libgcc_s_resume): Use __attribute_used__.
3052 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3053 Likewise.
3054
e13bccd3
AZ
30552014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3056
3057 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3058 optimization when used with float constants.
3059
7c112a38
AZ
3060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3061
ae75a883
AJ
30622014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3063
3064 [BZ #16915]
3065 * locale/nl_langinfo_l.c: Make direct reference to every
3066 _nl_current_CATEGORY symbol.
3067 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3068 (tests-static): Add tst-langinfo-static.
3069 (tests-special): Add tst-langinfo-static.out.
3070 ($(objpfx)tst-langinfo.out): Redirect output.
3071 ($(objpfx)tst-langinfo-static.out): New.
3072 * localedata/tst-langinfo.sh: Send output to stdout.
3073 * localedata/tst-langinfo-static.c: New file.
3074
4406c41c
AJ
3075 [BZ #16965]
3076 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3077 when the shift amount is modulo the limb size.
3078
4c0a1e63
RH
30792014-05-20 Richard Henderson <rth@redhat.com>
3080
de9d8f20
RH
3081 [BZ #16967]
3082 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3083 Change type of sa_flags from unsigned int to int.
3084
4c0a1e63
RH
3085 [BZ #16966]
3086 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
3087
3088 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3089
a60339aa
WN
30902014-05-20 Will Newton <will.newton@linaro.org>
3091
3092 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3093 Test the return value of the system call in the nocancel case.
3094
7d05a816
YR
30952014-05-20 Will Newton <will.newton@linaro.org>
3096 Yvan Roux <yvan.roux@linaro.org>
3097
3098 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3099 #include of asm/ptrace.h.
3100 (PTRACE_GET_THREAD_AREA): Remove #undef.
3101 (PTRACE_GETHBPREGS): Likewise.
3102 (PTRACE_SETHBPREGS): Likewise.
3103 (struct user_regs_struct): New structure.
3104 (struct user_fpsimd_struct): New structure.
3105 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3106 #include of asm/ptrace.h and second #include of sys/user.h.
3107 (PTRACE_GET_THREAD_AREA): Remove #undef.
3108 (PTRACE_GETHBPREGS): Likewise.
3109 (PTRACE_SETHBPREGS): Likewise.
3110 (ELF_NGREG): Use new struct user_regs_struct.
3111 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3112
af121e37
AZ
31132014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3114
3115 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3116 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3117
834caf06
JM
31182014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3119
3120 [BZ #16958]
3121 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3122 membar to avoid block loads/stores to overlap previous stores.
3123
e184a918
RH
31242014-05-17 Richard Henderson <rth@redhat.com>
3125
3126 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3127 Create the __##syscall_name##_nocancel entry point.
3128 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3129 Remove; let the sysdep-cancel.h code create it.
3130
f56c7a6a
DM
31312014-05-17 David S. Miller <davem@davemloft.net>
3132
3133 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3134 Protect with __USE_GNU.
3135 (TIOCSET_TEMPT): Likewise.
3136 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3137 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3138 these are already provided in bits/ioctl-types.h
3139
f75616b2
RM
31402014-05-16 Roland McGrath <roland@hack.frob.com>
3141
3edeca86
RM
3142 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3143 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3144
f75616b2
RM
3145 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3146 Use wait4 regardless of [__NR_waitpid].
3147
deb0f7f6
MR
31482014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3149
3150 PR libgcc/60166
3151 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3152 (_FP_NANSIGN_Q): Set the quiet bit.
3153
79520f4b
JM
31542014-05-16 Joseph Myers <joseph@codesourcery.com>
3155
3156 * benchtests/Makefile
3157 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3158 not $(common-objpfx)math/libm.so.
3159 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3160 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3161 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3162 $(common-objpfx)dlfcn/libdl.so.
3163 ($(objpfx)tst-audit8): Depend on $(libm), not
3164 $(common-objpfx)math/libm.so.
3165 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3166 not $(common-objpfx)dlfcn/libdl.so.
3167 * math/Makefile
3168 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3169 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3170 [$(build-shared) = yes].
3171 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3172 $(common-objpfx)nptl/libpthread.so.
3173 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3174 $(common-objpfx)math/libm.so$(libm.so-version) or
3175 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3176 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3177 $(common-objpfx)dlfcn/libdl.so.
3178 * setjmp/Makefile (link-libm): Remove variable.
3179 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3180 * stdio-common/Makefile (link-libm): Remove variable.
3181 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3182 * stdlib/Makefile (link-libm): Remove variable.
3183 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3184 ($(objpfx)tst-strtod-round): Likewise.
3185 ($(objpfx)tst-tininess): Likewise.
3186 ($(objpfx)tst-strtod-underflow): Likewise.
3187 ($(objpfx)tst-strtod6): Likewise.
3188 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3189 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3190 $(common-objpfx)dlfcn/libdl.so.
3191
026b0fe4
AZ
31922014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3193
3194 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3195 BSD terminal modes definitions.
3196
def4bcb2
RM
31972014-05-16 Roland McGrath <roland@hack.frob.com>
3198
fe39b021
RM
3199 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3200 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3201
1d1fc46e 3202 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
3203 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3204 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3205 Don't do #include_next.
3206 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3207 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3208 Don't do #include_next.
3209 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3210 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3211 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3212 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3213
c72399fb
AM
32142014-05-16 Allan McRae <allan@archlinux.org>
3215
d51d659d
AM
3216 * po/sv.po: Update Swedish translation from translation project.
3217
c72399fb
AM
3218 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3219 in sed expression.
3220
d0583c40
AJ
32212014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3222
3223 [BZ #16917]
3224 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3225 errno if the TIOCGPTN ioctl fails with an error different than
3226 EINVAL.
3227 * login/tst-ptsname.c: New file.
3228 * login/Makefile (tests): Add tst-ptsname.
3229
d16e6ec7
AJ
3230 [BZ #16943]
3231 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3232 and prlimit64.
3233
cf26a0cb
SP
32342014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3235
3236 [BZ #16849]
3237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3238 herrno to return EAI_AGAIN.
3239
5675da1e
RM
32402014-05-14 Roland McGrath <roland@hack.frob.com>
3241
a5d87b3d
RM
3242 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3243 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3244 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3245 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3246 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3247 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3248 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3249 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3250 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3251 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3252 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3253 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3254 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3255 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3256 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3257 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3258 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3259 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3260 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3261 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3262 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3263 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3264 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3265 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3266 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3267 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3268 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3269 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3270 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3271 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3273 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3275 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3277 Moved ...
3278 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3280 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3282 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3284 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3286 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3288 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3290 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3292 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3294 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3296 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3298 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3300 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3302 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3304 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3306 Moved ...
3307 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3309 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3311 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3313 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3315 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3317 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3319 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3321 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3323 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3325 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3327 Moved ...
3328 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3330 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3331
039890a6
RM
3332 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3333 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3334 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3335 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3336 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3337 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3338 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3339 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3340 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3341 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3342 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3343 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3344 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3345 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3346 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3347 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3348 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3349 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3350 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3351 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3352 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3353 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3354 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3355 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3356 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3357 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3358 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3359 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3360 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3361 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3362 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3363
65c89320
RM
3364 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3365 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3366
348f8e8c
RM
3367 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3368 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3369 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3370 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3371 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3372 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3373 Moved ...
3374 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3375 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3376 Moved ...
3377 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3378 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3379 Moved ...
3380 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3381 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3382 Moved ...
3383 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3384 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3385 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3386 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3387 Moved ...
3388 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3389 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3390 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3392 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3393 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3394 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3396 Moved ...
3397 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3398 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3399 Moved ...
3400 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3401 ... here.
3402 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3403 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3404 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3405 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3406 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3407 Moved ...
3408 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3409 ... here.
3410 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3411 Moved ...
3412 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3413 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3414 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3415 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3416 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3417 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3418 Moved ...
3419 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3420 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3421 Moved ...
3422 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3423 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3424 Moved ...
3425 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3426 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3427 Moved ...
3428 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3429 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3430 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3431 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3432 Moved ...
3433 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3434 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3435 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3437 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3438 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3439 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3441 Moved ...
3442 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3443 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3444 Moved ...
3445 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3446 ... here.
3447 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3448 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3449 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3450 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3451 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3452 Moved ...
3453 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3454 ... here.
3455 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3456 Moved ...
3457 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3458 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3459 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3460 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3461 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3462 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3463 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3464 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3465 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3466 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3467 Moved ...
3468 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3469 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3470 Moved ...
3471 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3472 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3473 Moved ...
3474 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3475 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3476 Moved ...
3477 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3478 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3479 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3480 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3481 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3482 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3483 Moved ...
3484 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3486 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3488 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3489 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3490 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3491 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3492 Moved ...
3493 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3494 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3495 Moved ...
3496 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3497 ... here.
3498 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3499 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3500 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3501 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3502 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3503 Moved ...
3504 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3505 ... here.
3506 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3507 Moved ...
3508 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3509 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3510 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3511 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3512 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3513 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3514 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3515 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3516 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3517 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3518 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3519
5085af05
RM
3520 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3521 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3522
708f0813
RM
3523 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3524 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3525
c96067bc
RM
3526 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3527 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3528 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3529 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3530 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3531 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3532 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3533 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3534 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3535 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3536 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3537 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3538 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3539 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3540 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3541 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3542 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3543 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3544 Moved ...
3545 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3546 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3547 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3549 Moved ...
3550 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3551 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3552 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3554 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3555 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3556 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3557 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3558 Moved ...
3559 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3560 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3561 Moved ...
3562 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3563 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3564 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3565 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3566 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3567 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3568 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3569 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3570 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3571 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3572 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3573 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3574 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3575 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3576 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3577 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3578 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3579
ec136444
RM
3580 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3581 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3582 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3583 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3584 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3585
2fbdf533
RM
3586 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3587 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3588 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3589 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3590 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3591 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3592 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3593 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3594 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3595 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3596
4c68138b
RM
3597 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3598 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3599
4eaae765
RM
3600 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3601 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
3602 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3603 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3604 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3605 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3606 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3607 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3608 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3609 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3610 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3611 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3612 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3613 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3615 Update #include.
3616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3617 Likewise.
3618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3619 Likewise.
3620 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3621 Likewise.
3622 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3623 Likewise.
3624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3625 Likewise.
3626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3627 Likewise.
3628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3629 Likewise.
3630 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3631 Likewise.
3632 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3633 Likewise.
4ef6befa
RM
3634 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3635 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3637 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3638 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
3639 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3640 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3641 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3642 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3643 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3644 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3645 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3646 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3647 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3648 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 3649
941d7dfd
RM
3650 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3651 that was previously under [RESET_PID].
3652 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3653 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3654 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3655
1b731c35
RM
3656 * sysdeps/i386/nptl/Implies: New file.
3657 * sysdeps/x86_64/nptl/Implies: New file.
3658 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3659 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3660 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3661 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3662
e2787137
RM
3663 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3664 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3665 (__libc_vfork): New strong alias.
3666 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3667 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3668
3669 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3670 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3671 (__libc_vfork): New strong alias.
3672 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3673 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3674
5675da1e
RM
3675 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3676 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3677 (__libc_vfork): New strong alias.
3678 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3679 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3680 * nptl/pt-vfork.c: New file.
3681 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3682 (libpthread: GLIBC_2.20): New version set (empty).
3683
4f02e2b8
WN
36842014-05-14 Will Newton <will.newton@linaro.org>
3685
3686 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3687 rather than #if.
3688
0bf061d3
JM
36892014-05-14 Joseph Myers <joseph@codesourcery.com>
3690
1a84c3d6
JM
3691 [BZ #16564]
3692 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3693 arguments with exponent 65 or above.
3694 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3695 arguments 0x1p113L or above.
3696 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3697 to arguments 0x1p107L or above.
3698 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3699 positive arguments with exponent 65 or above.
3700 * math/auto-libm-test-in: Add more tests of log1p.
3701 * math/auto-libm-test-out: Regenerated.
3702
01dbacd2
JM
3703 [BZ #16928]
3704 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3705 non-finite arguments is +0.
3706 * math/s_cacosf.c (__cacosf): Likewise.
3707 * math/s_cacosl.c (__cacosl): Likewise.
3708 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3709 * sysdeps/i386/fpu/libm-test-ulps: Update.
3710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3711
913d03c8
JM
3712 [BZ #16927]
3713 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3714 value.
3715 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3716 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3717 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3718 for explicit high bit of mantissa when testing for argument equal
3719 to 1.
3720 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3721 * sysdeps/i386/fpu/libm-test-ulps: Update.
3722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3723
0bf061d3
JM
3724 [BZ #16516]
3725 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3726 (__erf): Scale by 16 instead of 8 in potentially underflowing
3727 case. Ensure exception if result actually underflows.
3728 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3729 (__erff): Scale by 16 instead of 8 in potentially underflowing
3730 case. Ensure exception if result actually underflows.
3731 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3732 (efx8): Remove variable.
3733 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3734 case. Ensure exception if result actually underflows.
3735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3736 (efx8): Remove variable.
3737 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3738 case. Ensure exception if result actually underflows.
3739 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3740 (efx8): Remove variable.
3741 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3742 case. Ensure exception if result actually underflows.
3743 * math/auto-libm-test-in: Add more tests of erf.
3744 * math/auto-libm-test-out: Regenerated.
3745
73ba67cb
AS
37462014-05-14 Andreas Schwab <schwab@suse.de>
3747
3d8c8bff
AS
3748 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3749 Remove code conditionalized on USE___THREAD.
3750
73ba67cb
AS
3751 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3752 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3753 not definedness.
3754
5c521ecd
JM
37552014-05-14 Joseph Myers <joseph@codesourcery.com>
3756
5e7698c6
JM
3757 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3758 Define unconditionally.
3759 (__ASSUME_O_CLOEXEC): Likewise.
3760 (__ASSUME_SOCK_CLOEXEC): Likewise.
3761 (__ASSUME_IN_NONBLOCK): Likewise.
3762 (__ASSUME_PIPE2): Likewise.
3763 (__ASSUME_EVENTFD2): Likewise.
3764 (__ASSUME_SIGNALFD4): Likewise.
3765 (__ASSUME_DUP3): Likewise.
3766 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3767 (__ASSUME_DUP3): Do not define.
3768 (__ASSUME_EVENTFD2): Likewise.
3769 (__ASSUME_IN_NONBLOCK): Likewise.
3770 (__ASSUME_O_CLOEXEC): Likewise.
3771 (__ASSUME_PIPE2): Likewise.
3772 (__ASSUME_SIGNALFD4): Likewise.
3773 (__ASSUME_SOCK_CLOEXEC): Likewise.
3774 (__ASSUME_UTIMES): Undefine.
3775 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3776 (__ASSUME_UTIMES): Do not define.
3777 (__ASSUME_O_CLOEXEC): Likewise.
3778 (__ASSUME_SOCK_CLOEXEC): Likewise.
3779 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3780 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3781 0x020621].
3782 (__ASSUME_PIPE2): Likewise.
3783 (__ASSUME_EVENTFD2): Likewise.
3784 (__ASSUME_SIGNALFD4): Likewise.
3785 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3786 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3787 Do not define.
3788 (__ASSUME_EVENTFD2): Likewise.
3789 (__ASSUME_SIGNALFD4): Likewise.
3790 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3791 (__ASSUME_32BITUIDS): Likewise.
3792 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3793 (__ASSUME_IPC64): Likewise.
3794 (__ASSUME_ST_INO_64_BIT): Likewise.
3795 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3796 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3797 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3798 (__ASSUME_UTIMES): Do not define.
3799 (__ASSUME_PSELECT): Likewise.
3800 (__ASSUME_PPOLL): Likewise.
3801 (__ASSUME_O_CLOEXEC): Likewise.
3802 (__ASSUME_SOCK_CLOEXEC): Likewise.
3803 (__ASSUME_IN_NONBLOCK): Likewise.
3804 (__ASSUME_PIPE2): Likewise.
3805 (__ASSUME_EVENTFD2): Likewise.
3806 (__ASSUME_SIGNALFD4): Likewise.
3807 (__ASSUME_DUP3): Likewise.
3808 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3809 (__ASSUME_UTIMES): Likewise.
3810 (__ASSUME_O_CLOEXEC): Likewise.
3811 (__ASSUME_SOCK_CLOEXEC): Likewise.
3812 (__ASSUME_IN_NONBLOCK): Likewise.
3813 (__ASSUME_PIPE2): Likewise.
3814 (__ASSUME_EVENTFD2): Likewise.
3815 (__ASSUME_SIGNALFD4): Likewise.
3816 (__ASSUME_DUP3): Likewise.
3817 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3818 (__ASSUME_UTIMES): Likewise.
3819 (__ASSUME_O_CLOEXEC): Likewise.
3820 (__ASSUME_SOCK_CLOEXEC): Likewise.
3821 (__ASSUME_IN_NONBLOCK): Likewise.
3822 (__ASSUME_PIPE2): Likewise.
3823 (__ASSUME_EVENTFD2): Likewise.
3824 (__ASSUME_SIGNALFD4): Likewise.
3825 (__ASSUME_DUP3): Likewise.
3826 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3827 Likewise.
3828 (__ASSUME_UTIMES): Likewise.
3829 (__ASSUME_EVENTFD2): Likewise.
3830 (__ASSUME_SIGNALFD4): Likewise.
3831 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3832 (__ASSUME_O_CLOEXEC): Likewise.
3833 (__ASSUME_SOCK_CLOEXEC): Likewise.
3834 (__ASSUME_IN_NONBLOCK): Likewise.
3835 (__ASSUME_PIPE2): Likewise.
3836 (__ASSUME_EVENTFD2): Likewise.
3837 (__ASSUME_SIGNALFD4): Likewise.
3838 (__ASSUME_DUP3): Likewise.
3839 (__ASSUME_UTIMES): Undefine.
3840
5c521ecd
JM
3841 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3842 feclearexcept. Remove symbol versioning code.
3843 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3844 symbol versioning code.
3845 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3846 symbol versioning code.
3847 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3848 feupdateenv. Remove symbol versioning code.
3849 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3850 fegetexceptflag. Remove symbol versioning code.
3851 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3852 fesetexceptflag. Remove symbol versioning code.
3853 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3854 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3855 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3856 (__posix_fadvise64_l32): Remove prototype.
3857 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3858 code.
3859
5da9dfad
RM
38602014-05-13 Roland McGrath <roland@hack.frob.com>
3861
3862 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3863 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3864 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3865 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3866
893b4f37
SK
38672014-05-13 Sami Kerola <kerolasa@iki.fi>
3868
3869 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3870 current working directory
3871
e0db6517
RM
38722014-05-13 Roland McGrath <roland@hack.frob.com>
3873
58aa195d
RM
3874 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3875 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3876 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3877 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3878 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3879 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3880 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3881 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3882 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3883 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3884 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3885 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3886 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3887 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3888 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3889 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3890 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3891 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3892 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3893 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3894 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3895 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3896 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3897 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3898 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3899 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3900 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3901 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3902 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3903 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3904 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3905 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3906 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3907 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3908 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3909 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3910 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3911 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3912 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3913 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3914 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3915 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3916
8c6d01f0
RM
3917 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3918 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3919
3920 * sysdeps/unix/sysv/linux/arm/Makefile
3921 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3922 Add rt-aeabi_unwind_cpp_pr1.
3923 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3924 Add nptl-aeabi_unwind_cpp_pr1.
3925 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3926 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3927 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3928 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3929 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3930 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3931
3932 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3933 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3934 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3935 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3936
bba6da4e
RM
3937 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3938 Deconditionalize the code that was previously under [RESET_PID].
3939 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3940
e0db6517
RM
3941 * sysdeps/generic/exit-thread.h: New file.
3942 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3943 * include/unistd.h (__exit_thread): Remove declaration.
3944 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3945 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3946 * csu/libc-start.c: Include <exit-thread.h>.
3947 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3948 * nptl/pthread_create.c: Include <exit-thread.h>.
3949 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3950 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3951 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3952 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3953 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3954 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3955 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3956 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3957 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3958 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3959 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3960 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3961 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3962 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3963 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3964 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3965 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3966
01eb16fd
AS
39672014-05-13 Andreas Schwab <schwab@suse.de>
3968
3969 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3970
637461d9
JM
39712014-05-12 Joseph Myers <joseph@codesourcery.com>
3972
3973 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3974 (__ASSUME_UTIMES): Do not condition on kernel version.
3975 (__ASSUME_PSELECT): Define unconditionally.
3976 (__ASSUME_PPOLL): Likewise.
3977 (__ASSUME_ATFCTS): Likewise.
3978 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3979 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3980 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3981 (__ASSUME_UTIMENSAT): Define unconditionally.
3982 (__ASSUME_PRIVATE_FUTEX): Likewise.
3983 (__ASSUME_FALLOCATE): Likewise.
3984 (__ASSUME_O_CLOEXEC): Likewise.
3985 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3986 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3987 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3988 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3989 (__ASSUME_IN_NONBLOCK): Likewise.
3990 (__ASSUME_PIPE2): Likewise.
3991 (__ASSUME_EVENTFD2): Likewise.
3992 (__ASSUME_SIGNALFD4): Likewise.
3993 (__ASSUME_DUP3): Likewise.
3994 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3995 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3996 (__ASSUME_AT_RANDOM): Likewise.
3997 (__ASSUME_PREADV): Likewise.
3998 (__ASSUME_PWRITEV): Likewise.
3999 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4000 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4001 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4002 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4003 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4004 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4005 (__ASSUME_O_CLOEXEC): Define unconditionally.
4006 (__ASSUME_PSELECT): Do not undefine conditionally.
4007 (__ASSUME_PPOLL): Likewise.
4008 (__ASSUME_ATFCTS): Likewise.
4009 (__ASSUME_SET_ROBUST_LIST): Likewise.
4010 (__ASSUME_UTIMENSAT): Likewise.
4011 (__ASSUME_FDATASYNC): Define unconditionally.
4012 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4013 (__ASSUME_SIGFRAME_V2): Likewise.
4014 )__ASSUME_EVENTFD2): Likewise.
4015 (__ASSUME_SIGNALFD4): Likewise.
4016 (__ASSUME_PSELECT): Do not undefine conditionally.
4017 (__ASSUME_PPOLL): Likewise.
4018 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4019 (__ASSUME_PSELECT): Define unconditionally.
4020 (__ASSUME_PPOLL): Likewise.
4021 (__ASSUME_O_CLOEXEC): Likewise.
4022 (__ASSUME_SOCK_CLOEXEC): Likewise.
4023 (__ASSUME_IN_NONBLOCK): Likewise.
4024 (__ASSUME_PIPE2): Likewise.
4025 (__ASSUME_EVENTFD2): Likewise.
4026 (__ASSUME_SIGNALFD4): Likewise.
4027 (__ASSUME_DUP3): Likewise.
4028 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4029 (__ASSUME_O_CLOEXEC): Likewise.
4030 (__ASSUME_SOCK_CLOEXEC): Likewise.
4031 (__ASSUME_IN_NONBLOCK): Likewise.
4032 (__ASSUME_PIPE2): Likewise.
4033 (__ASSUME_EVENTFD2): Likewise.
4034 (__ASSUME_SIGNALFD4): Likewise.
4035 (__ASSUME_DUP3): Likewise.
4036 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4037 (__ASSUME_EVENTFD2): Likewise.
4038 (__ASSUME_SIGNALFD4): Likewise.
4039 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4040
315eb1d8
AS
40412014-05-12 Andreas Schwab <schwab@suse.de>
4042
4043 [BZ #16932]
4044 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4045 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4046 than maximum RPC packet size.
4047 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4048 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4049 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4050 (_nss_nis_getservbyport_r): Likewise.
4051
91df99f7
WN
40522014-05-12 Will Newton <will.newton@linaro.org>
4053
4054 * malloc/Makefile (tests): Add tst-mallopt.
4055 * malloc/tst-mallopt.c: New file.
4056
0a982a29
RM
40572014-05-09 Roland McGrath <roland@hack.frob.com>
4058
4059 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4060 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4061
0ded08a5
AZ
40622014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4063
4064 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4065 (tst-tlsmod6.so): Likewise.
4066
55d4d550
RM
40672014-05-09 Roland McGrath <roland@hack.frob.com>
4068
4069 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4070
77d08aca
JM
40712014-05-09 Joseph Myers <joseph@codesourcery.com>
4072
4073 [BZ #16064]
4074 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4075 and <dl-procinfo.h>.
4076 (__fegetenv): Save SSE state in envp->__eip if supported.
4077 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4078 envp->__eip if supported.
4079 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4080 and <dl-procinfo.h>.
4081 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4082 __data_offset and __data_selector in environment to 0. Set SSE
4083 state if supported.
4084 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4085 test-fenv-sse.
4086 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4087 -mfpmath=sse.
4088 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4089
28162f4d
WN
40902014-05-09 Will Newton <will.newton@linaro.org>
4091
4092 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4093 and libc_relro_required for ARM.
4094 * sysdeps/arm/preconfigure: Regenerate.
4095
5a414ff7
DV
40962014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4097 Stefan Liebler <stli@linux.vnet.ibm.com>
4098
4099 * config.make.in (enable-lock-elision): New Makefile variable.
4100 * configure.ac: Likewise.
4101 * configure: Regenerate.
4102 * sysdeps/s390/configure.ac:
4103 Add check for gcc transactions support.
4104 * sysdeps/s390/configure: Regenerate.
4105 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4106 Build elision files if enabled.
4107 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4108 Add lock elision support for s390.
4109 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4110 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4111 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4112 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4113 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4114 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4115 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4116 Likewise.
4117 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4118 Likewise.
4119 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4120 Likewise.
4121 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4122 Likewise.
4123 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4124 (__lll_timedlock_elision, __lll_lock_elision)
4125 (__lll_unlock_elision, __lll_trylock_elision)
4126 (lll_timedlock_elision, lll_lock_elision)
4127 (lll_unlock_elision, lll_trylock_elision): Add.
4128 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4129 (pthread_mutex_t): Add lock elision support for s390.
4130
1a2f40e5
W
41312014-05-14 Wilco <wdijkstr@arm.com>
4132
4133 * sysdeps/arm/fclrexcpt.c: Cleanup.
4134 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4135 * sysdeps/arm/feenablxcpt.c: Cleanup.
4136 * sysdeps/arm/fegetenv.c: Cleanup.
4137 * sysdeps/arm/fegetexcept.c: Cleanup.
4138 * sysdeps/arm/fegetround.c: Cleanup.
4139 * sysdeps/arm/feholdexcpt.c: Cleanup.
4140 * sysdeps/arm/fesetenv.c: Cleanup.
4141 * sysdeps/arm/fesetround.c: Cleanup.
4142 * sysdeps/arm/feupdateenv.c: Cleanup.
4143 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4144 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4145 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4146 * sysdeps/arm/ftestexcept.c: Cleanup.
4147 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4148 * sysdeps/arm/setfpucw.c: Cleanup.
4149
f63c86fe
WN
41502014-05-09 Will Newton <will.newton@linaro.org>
4151
4152 * sysdeps/arm/armv7/strcmp.S: New file.
4153 * NEWS: Mention addition of ARMv7 optimized strcmp.
4154
7a1a51b5
RM
41552014-05-08 Roland McGrath <roland@hack.frob.com>
4156
95afbbe5
RM
4157 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4158 look for %.ac rather than %.in.
4159
4160 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4161 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4162 * sysdeps/mach/hurd/configure: Regenerated.
4163 * sysdeps/unix/sysv/linux/configure: Regenerated.
4164
7a1a51b5
RM
4165 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4166
5057ad3b
SE
41672014-05-07 Steve Ellcey <sellcey@mips.com>
4168
4169 [BZ# 16922]
4170 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4171 (LONG_SUB): Ditto.
4172 (PTR_SUB): Ditto.
4173
8dc97517
AS
41742014-05-07 Andreas Schwab <schwab@suse.de>
4175
4176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4177 when skipping over non-matching result from nscd.
4178
ce0c5b8f
OB
41792014-05-07 Ondřej Bílka <neleai@seznam.cz>
4180
4181 [BZ #16876]
4182 * nptl/sockperf.c (client): Check socket return value.
8dc97517 4183
a1189263
OB
4184 [BZ #16877]
4185 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4186 nscd security class.
ce0c5b8f 4187
0f58d252
RM
41882014-05-06 Roland McGrath <roland@hack.frob.com>
4189
4190 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4191 * sysdeps/arm/unwind.h: ... here.
4192
83df9ad0
AJ
41932014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4194
ce0c5b8f
OB
4195 [BZ# 16916]
4196 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4197 Define.
83df9ad0 4198
f360f94a
VR
41992014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4200
4201 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4202 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4203 multiarch strncpy for PPC64.
4204 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4205 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4207 multiarch optimizations.
4208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4209 (__libc_ifunc_impl_list): Likewise.
4210 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4211 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4212 multiarch stpncpy for PPC64.
4213 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4214 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4215
978a41c3
AS
42162014-05-06 Andreas Schwab <schwab@suse.de>
4217
4218 [BZ #16912]
4219 * gmon/mcount.c (_MCOUNT_DECL): Use
4220 atomic_compare_and_exchange_bool_acq instead of
4221 catomic_compare_and_exchange_bool_acq.
4222
eb1ed03d
RM
42232014-05-05 Roland McGrath <roland@hack.frob.com>
4224
fe658845
RM
4225 * elf/Makefile (others, install-bin): Remove pldd.
4226 (pldd-modules): Variable removed.
4227 ($(objpfx)pldd): Target removed.
4228 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4229 (others, install-bin): Append pldd here.
4230 ($(objpfx)pldd): New target.
4231
eb1ed03d
RM
4232 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4233 to 0, so the first #if test emitted later doesn't see it undefined.
4234 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4235 * sysdeps/gnu/errlist.c: Regenerated.
4236
19c4bec0
AZ
42372014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4238
4239 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4240 [libc_hidden_builtin_def]: Define to empty value.
4241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4242 [libc_hidden_builtin_def]: Likewise.
4243 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4244 [libc_hidden_builtin_def]: Likewise.
4245 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4246 [libc_hidden_builtin_def]: Likewise.
4247 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4248 __redirect_memcpy and define ifunc as default hidden symbol.
4249 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4250 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4251
7776e669
AC
42522014-05-04 Adam Conrad <adconrad@0c3.net>
4253
4254 * locale/iso-4217.def: Reintroduce XDR currency.
4255
d69aeb12
AM
42562014-05-04 Allan McRae <allan@archlinux.org>
4257
4258 * po/eo.po: Update Esperanto translation from translation project.
4259
8f1df5cf
CD
42602014-05-02 Carlos O'Donell <carlos@redhat.com>
4261
4262 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4263 and FEATURE_INDEX_MAX to 1.
4264 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4265
13e402e7
SE
42662014-05-01 Steve Ellcey <sellcey@mips.com>
4267
4268 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4269 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4270 * iconvdata/big5.c (ONE_DIRECTION): Define.
4271 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4272 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4273 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4274 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4275 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4276 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4277 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4278 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4279 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4280 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4281 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4282 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4283 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4284 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4285 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4286 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4287 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4288 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4289 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4290 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4291 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4292 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4293 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4294 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4295 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4296 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4297 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4298 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4299 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4300 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4301 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4302 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4303 * iconvdata/johab.c (ONE_DIRECTION): Define.
4304 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4305 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4306 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4307 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4308 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4309 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4310 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4311 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4312 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4313 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4314
c727f032
RM
43152014-05-01 Roland McGrath <roland@hack.frob.com>
4316
8f2f08d0
RM
4317 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4318 (_IO_JUMPS_OFFSET): Define to 0.
4319
c727f032
RM
4320 * nptl/sysdeps/pthread/bits/libc-lock.h
4321 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4322 (__libc_lock_define_initialized_recursive): Always define using
4323 initializer. Modern compilers treat uninitialized (implicit zero) and
4324 explicit zero initializers the same (i.e. put the datum in bss).
4325
a849e800
AS
43262014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4327
4328 * nscd/nscd-client.h: Include <string.h>.
4329
5331255b
DM
43302014-05-01 David S. Miller <davem@davemloft.net>
4331
4332 [BZ #16885]
4333 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4334 multiple zero bytes exist at the end of a string.
4335 Reported by Aurelien Jarno <aurelien@aurel32.net>
4336
4337 * string/test-strcmp.c (check): Add explicit test for situations where
4338 there are multiple zero bytes after the first.
4339
4fdfe821
AS
43402014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4341
4342 [BZ #16890]
4343 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4344 when compiling wprintf.
4345 * stdio-common/tstdiomisc.c (t3): New function.
4346 (main): Call it.
4347
0cdddc25
SE
43482014-05-01 Steve Ellcey <sellcey@mips.com>
4349
4350 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4351 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4352 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4353 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4354
6426d77e
SE
43552014-05-01 Steve Ellcey <sellcey@mips.com>
4356
4357 * stdlib/longlong.h: Updated from GCC.
4358
6d96f5e4
WN
43592014-05-01 Will Newton <will.newton@linaro.org>
4360 Bernard Ogden <bernie.ogden@linaro.org>
4361
7470db0c
WN
4362 * NEWS: Update fixed bug list.
4363
6d96f5e4
WN
4364 [BZ #15119]
4365 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4366
211d653c
DM
43672014-04-30 David S. Miller <davem@davemloft.net>
4368
4fa262fa
DM
4369 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4370 (libc_feholdexcept_setround_sparc_ctx): New function.
4371 (libc_fesetenv_sparc_ctx): Likewise.
4372 (libc_feupdateenv_sparc_ctx): Likewise.
4373 (libc_feholdsetround_sparc_ctx): Likewise.
4374 (libc_feholdexcept_setround_ctx): Define.
4375 (libc_feholdexcept_setroundf_ctx): Likewise.
4376 (libc_feholdexcept_setroundl_ctx): Likewise.
4377 (libc_fesetenv_ctx): Likewise.
4378 (libc_fesetenvf_ctx): Likewise.
4379 (libc_fesetenvl_ctx): Likewise.
4380 (libc_feupdateenv_ctx): Likewise.
4381 (libc_feupdateenvf_ctx): Likewise.
4382 (libc_feupdateenvl_ctx): Likewise.
4383 (libc_feresetround_ctx): Likewise.
4384 (libc_feresetroundf_ctx): Likewise.
4385 (libc_feresetroundl_ctx): Likewise.
4386 (libc_feholdsetround_ctx): Likewise.
4387 (libc_feholdsetroundf_ctx): Likewise.
4388 (libc_feholdsetroundl_ctx): Likewise.
4389
1d3d93ef
DM
4390 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4391 with __USE_GNU instead of XOPEN cpp guards.
4392
8aa583c3
DM
4393 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4394 0.
4395
211d653c
DM
4396 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4397 with XOPEN cpp guards.
4398
60c8f1f6
JB
43992014-04-30 Julian Brown <julian@codesourcery.com>
4400
4401 [BZ #16888]
4402 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4403 handling.
4404
9a461d46
JM
44052014-04-30 Joseph Myers <joseph@codesourcery.com>
4406
d0f5b3f8
JM
4407 [BZ #9894]
4408 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4409 Change to 2.6.32.
4410 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4411 * sysdeps/unix/sysv/linux/configure: Regenerated.
4412 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4413 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4414 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4415 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4416 * README: Update reference to required Linux kernel version.
4417 * manual/install.texi (Linux): Update reference to required Linux
4418 kernel headers version.
4419 * INSTALL: Regenerated.
4420
9a461d46
JM
4421 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4422 header inclusion.
4423 [POSIX] (limits.h): Likewise.
4424 [POSIX] (math.h): Likewise.
4425 [POSIX] (sys/wait.h): Likewise.
4426 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4427 function.
4428 [POSIX] (stddef.h): Do not allow header inclusion.
4429
1775babf
AZ
44302014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4431
57f41c40 4432 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 4433
8f630cca
YY
44342014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4435
4436 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4437 Return immediately after lll_futex_wake.
4438
1cdeb237
SP
44392014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4440
bc8f194c
SP
4441 [BZ #16791]
4442 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4443 structure.
4444 (datahead_init_pos): Call datahead_init_common early.
4445 (datahead_init_neg): Likewise.
4446
1cdeb237
SP
4447 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4448 datahead_init_neg): New functions.
4449 * nscd/aicache.c (addhstaiX): Use them.
4450 * nscd/grpcache.c (cache_addgr): Likewise.
4451 * nscd/hstcache.c (cache_addhst): Likewise.
4452 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4453 * nscd/netgroupcache.c (do_notfound): Likewise.
4454 (addgetnetgrentX): Likewise.
4455 (addinnetgrX): Likewise.
4456 * nscd/pwdcache.c (cache_addpw): Likewise.
4457 * nscd/servicescache.c (cache_addserv): Likewise.
4458
16b293a7
SP
44592014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4460 Atsushi Onoe <atsushi@onoe.org>
4461
4462 [BZ #14308]
4463 [BZ #12994]
4464 [BZ #13651]
4465 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4466 one response is valid.
4467 * resolv/res_send.c (send_dg): Check for validity of other
4468 response if the current response is a referral.
4469
a28a9b94
SE
44702014-04-29 Steve Ellcey <sellcey@mips.com>
4471
4472 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4473
2ca180e9
SL
44742014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4475
4476 [BZ #16823]
4477 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4478 Always divide by positive zero when computing -Inf result.
4479 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4480 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4481
18f2945a
AZ
44822014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4483
4484 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4485 FPSCR if value do not change.
4486 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4487 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4488 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4489 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4490 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4491 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4492 function.
4493
5abebba4
CD
44942014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4495
4496 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4497 * sysdeps/unix/sysv/linux/hppa: Move directory from
4498 ports/systeps/unix/sysv/linux/hppa.
4499 * README: Update listing for hppa-*-linux-gnu.
4500
f7ed60c2
OB
45012014-04-28 Ondřej Bílka <neleai@seznam.cz>
4502
fff763a5
OB
4503 [BZ #16754]
4504 * manual/stdio.texi (Hook functions): Fix types of stream hook
4505 functions.
f7ed60c2
OB
4506 [BZ #16854]
4507 * socket/sys/socket.h: Fix typo in comment.
4508
df639d73
WD
45092014-04-28 Wilco <wdijkstr@arm.com>
4510
f7ed60c2 4511 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
4512 * sysdeps/arm/math_private.h: New file.
4513 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4514
48332d82
L
45152014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4518 with __int128_t.
4519 (La_x86_64_retval): Likewise.
4520
e5e0d9a4
IB
45212014-04-24 Ian Bolton <ian.bolton@arm.com>
4522
4523 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4524 fpsr if value didn't change.
4525 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4526 to fpcr if value didn't change.
4527 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4528 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4529 fpsr or fpcr if value didn't change.
4530 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4531 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4532 fpcr if value didn't change.
4533 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4534 to fpsr if value didn't change.
4535
bacc75f7
SP
45362014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4537
4538 * nptl/tst-sem3.c: Use test-skeleton.c
4539 (main): Rename to do_test. Use return instead of
4540 exit.
4541 * nptl/tst-sem4.c: Use test-skeleton.c
4542 (main): Rename to do_test.
4543
a059d359
DM
45442014-04-22 David S. Miller <davem@davemloft.net>
4545
4546 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4547 (struct sigaction): New struct member __glibc_reserved0, change
4548 type of sa_flags to int.
4549
ea6c92f3
YZ
45502014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4551
4552 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4553 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4554
766c4a36
SP
45552014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4556
4557 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4558 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4559
140cc7ab
VK
45602014-04-22 Will Newton <will.newton@linaro.org>
4561 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4562
4563 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4564 (__longjmp): Add longjmp and longjmp_target SystemTap
4565 probes.
4566 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4567 (__sigsetjmp): Add setjmp SystemTap probe.
4568
c54e5cf7
CD
45692014-04-17 Carlos O'Donell <carlos@redhat.com>
4570
4571 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4572 match manual order.
4573
75ffb047
AZ
45742014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4575
4576 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4577
2cd925f7
AZ
4578 * sysdeps/powerpc/fpu/fenv_private.h
4579 (libc_feholdexcept_setroundl_ctx): Define to
4580 libc_feholdexcept_setround_ppc_ctx.
4581 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4582 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4583 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4584 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4585
39e6cd8d
IB
45862014-04-17 Ian Bolton <ian.bolton@arm.com>
4587
4588 * sysdeps/aarch64/math-tests.h: New file.
4589
f9281df9
SY
45902014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4591
4592 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4593 New.
4594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4595 Check and set bit_AVX2_Usable.
4596 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4597 macro.
4598 (bit_AVX2): Likewise.
4599 (index_AVX2_Usable): Likewise.
4600 (CPUID_AVX2): Likewise.
4601 (HAS_AVX2): Likewise.
4602
37d35007
WN
46032014-04-17 Will Newton <will.newton@linaro.org>
4604
7c677662
WN
4605 * manual/setjmp.texi (System V contexts): Add note that
4606 calling setcontext on a context created by a call to a
4607 signal handler is undefined. Update text to note that
4608 setcontext from a signal handler is possible but not
4609 recommended.
4610
37d35007 4611 [BZ #16629]
e04a4e9d
WN
4612 * stdlib/tst-setcontext.c: Include signal.h.
4613 (main): Check that the signal stack before and
4614 after swapcontext is the same.
4615
37d35007
WN
4616 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4617 Re-implement to restore registers in user code and avoid
4618 rt_sigreturn system call.
4619
423a7160
W
46202014-04-17 Wilco <wdijkstr@arm.com>
4621
4622 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4623 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4624 * math/test-fenv.c: Skip exception trap tests on targets which only
4625 support non-stop mode.
4626
bc93ab29
IB
46272014-04-17 Ian Bolton <ian.bolton@arm.com>
4628 Wilco Dijkstra <wilco.dijkstra@arm.com>
4629
4630 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4631 (libc_feholdsetround_aarch64_ctx)
4632 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4633 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4634 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4635 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4636 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4637 (libc_feresetround_noexl_ctx): Define.
4638
95fc5fa3
RH
46392014-04-16 Richard Henderson <rth@redhat.com>
4640
ddb04724
RH
4641 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4642
d77c0899
RH
4643 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4644 unwind tables.
4645
a3df56fc
RH
4646 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4647 const from the non-libc, non-ldso copy.
4648
95fc5fa3
RH
4649 * sysdeps/alpha/libm-test-ulps: Regenerate.
4650
7e0b6763
IB
46512014-04-16 Ian Bolton <ian.bolton@arm.com>
4652 Wilco Dijkstra <wilco.dijkstra@arm.com>
4653
4654 * sysdeps/aarch64/fpu/math_private.h: New file.
4655
a9ea2e0c
MS
46562014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4657
4658 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4659
ea8ba7cd
IZ
46602014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4661
4662 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4663 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4665 Intel MPX bound registers before _dl_profile_fixup.
4666 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4667 registers after _dl_profile_fixup. Save and restore bound
4668 registers bnd0/bnd1 when calling _dl_call_pltexit.
4669 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4670 (LR_BND_OFFSET): Likewise.
4671 (LRV_BND0_OFFSET): Likewise.
4672 (LRV_BND1_OFFSET): Likewise.
4673
9f2a4fbc
ST
46742014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4675
4676 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4677 to...
4678 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
4679 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4680 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4681 fields.
9f2a4fbc 4682
fd15a59b
ST
46832014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4684
4685 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4686
f19dfa0a
SL
46872014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4688
4689 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4690
4fa8bc3b
SL
46912014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4692
4693 [BZ #14770]
4694 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4695 * sysdeps/s390/configure: Regenerate.
4696
8ea587db
SL
4697 [BZ #16824]
4698 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4699 Set round-to-nearest internally to reduce error accumulation.
4700
aa5f0ff1
AM
47012014-04-16 Alan Modra <amodra@gmail.com>
4702
4703 [BZ #16740]
4704 [BZ #16619]
4705 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4706 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 4707 * NEWS: Update fixed bug list.
aa5f0ff1 4708
bb9c256f
SP
47092014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4710
4711 * benchtests/Makefile: Depend on libraries in build directory.
4712 (bench-math): Separate out math tests.
4713 (bench-pthread): Separate out pthread tests.
4714 (bench): Include math and pthread tests.
4715
f737dfd0
CD
47162014-04-14 Carlos O'Donell <carlos@redhat.com>
4717
4718 [BZ #16831]
4719 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4720 _dl_debug_initialize.
4721
0699f766
CD
4722 * configure.ac: Remove SELinux header check.
4723 * configure: Regenerate.
4724 * nscd/selinux.c (perms): Array of const char* to permission names.
4725 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4726 default policy. Call string_to_security_class and string_to_av_perm to
4727 translate strings. Enforce default policy and call avs_has_perm with
4728 results of translated strings.
4729
809bd45f
DM
47302014-04-13 David S. Miller <davem@davemloft.net>
4731
4732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4733
89e691f2
AM
47342014-04-12 Allan McRae <allan@archlinux.org>
4735
4736 [BZ #16838]
4737 * manual/string.texi (Collation Functions): Fix qsort argument
4738 order in example.
4739 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4740
9c9daaeb
CM
47412014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4742
4743 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4744 Make the test a no-op if there are no exceptions defined.
4745
95561fb9
PP
47462014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4747
fe8d072c 4748 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
4749 enable-hardcoded-path-in-tests
4750
970c602a
WN
47512014-04-11 Will Newton <will.newton@linaro.org>
4752
4753 * benchtests/Makefile (extra-objs): Add json-lib.o.
4754 (bench-func): Tidy up JSON output.
4755 * benchtests/bench-skeleton.c: Include json-lib.h.
4756 (main): Use JSON library functions to do output of
4757 benchmark results.
4758 * benchtests/bench-timing-type.c (main): Output the
4759 timing type simply, leaving formatting to the user.
4760 * benchtests/json-lib.c: New file.
4761 * benchtests/json-lib.h: Likewise.
4762
36875b06
TR
47632014-04-11 Torvald Riegel <triegel@redhat.com>
4764
4765 [BZ #15215]
4766 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4767 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4768 memory barriers. Add comments.
4769 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4770 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4771 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4772 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4773 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4774 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4775
579db35a
SL
47762014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4777
4778 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4779 * sysdeps/s390/s390-64/configure.ac: ... this ...
4780 * sysdeps/s390/configure.ac: ... to here.
4781 * sysdeps/s390/s390-32/configure: Delete file.
4782 * sysdeps/s390/s390-64/configure: Delete file.
4783 * sysdeps/s390/configure: Regenerate.
4784
c12e9f37
JAPH
47852014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4786
4787 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4788
439bda32
WN
47892014-04-11 Will Newton <will.newton@linaro.org>
4790
4791 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4792 to zero if it is not defined elsewhere. (mtrim): Test
4793 the value of MALLOC_DEBUG with #if rather than #ifdef.
4794
6a5d6ea1
TR
47952014-04-10 Torvald Riegel <triegel@redhat.com>
4796
4797 * benchtests/pthread_once-inputs: New file.
4798 * benchtests/pthread_once-source.c: New file.
4799 * benchtests/README: Update documentation.
4800
a4c75cfd
IZ
48012014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4802 H.J. Lu <hongjiu.lu@intel.com>
4803
4804 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4805 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4806 * sysdeps/x86_64/configure: Regenerated.
4807 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4808 macro.
4809 (REGISTER_SAVE_RAX): Likewise.
4810 (REGISTER_SAVE_RCX): Likewise.
4811 (REGISTER_SAVE_RDX): Likewise.
4812 (REGISTER_SAVE_RSI): Likewise.
4813 (REGISTER_SAVE_RDI): Likewise.
4814 (REGISTER_SAVE_R8): Likewise.
4815 (REGISTER_SAVE_R9): Likewise.
4816 (REGISTER_SAVE_BND0): Likewise.
4817 (REGISTER_SAVE_BND1): Likewise.
4818 (REGISTER_SAVE_BND2): Likewise.
4819 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4820 bound registers when calling _dl_fixup.
4821
27822ce6
AZ
48222014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4823
4824 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
4825 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4826 of its definition.
27822ce6
AZ
4827 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4828 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4829 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4830 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4831 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4832 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4833 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4834
a88ddc90
PTB
48352014-04-09 Peter Brett <peter@peter-b.co.uk>
4836
4837 [BZ #15514]
4838 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4839 pathconf(_PC_NAME_MAX).
4840
01f8eac2
AZ
48412014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4842
4843 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4844 Remove macro usage.
4845 (__PTHREAD_SPINS): Move definition to ...
4846 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4847 (__PTHREAD_SPINS): ... here.
4848 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4849 (__PTHREAD_SPIN): Likewise.
4850 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4851 (__PTHREAD_SPIN): Likewise.
4852 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4853 (__PTHREAD_SPIN): Likewise.
4854 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4855 (__PTHREAD_SPIN): Likewise.
4856 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4857 (__PTHREAD_SPIN): Likewise.
4858 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4859 (__PTHREAD_SPIN): Likewise.
4860 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4861 (__PTHREAD_SPIN): Likewise.
4862 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4863 (__PTHREAD_SPIN): Likewise.
4864 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4865 (__PTHREAD_SPIN): Likewise.
4866 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4867 (__PTHREAD_SPIN): Likewise.
4868 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4869 (__PTHREAD_SPIN): Likewise.
4870 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4871 (__PTHREAD_SPIN): Likewise.
4872
de21c33c
AZ
4873 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4874 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4875 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4876 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4877 imply folder.
4878 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4879 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4880 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4881 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4882 correct imply path.
4883 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4884 strlen symbol for non multi-arch builds.
4885 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4886 missing hidden_def and weak_alias.
4887
862c472e
CD
48882014-04-08 Carlos O'Donell <carlos@redhat.com>
4889
4890 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4891
8667f90e
WN
48922014-04-07 Will Newton <will.newton@linaro.org>
4893
4894 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4895 and contents. [!_LIBC] Remove #ifndef and contents.
4896 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4897 * string/memccpy.c (__memccpy): Use ANSI prototype.
4898 * string/memfrob.c (memfrob): Likewise.
4899 * string/strcoll.c (STRCOLL): Likewise.
4900 * string/strlen.c (strlen): Likewise.
4901 * string/strtok.c (STRTOK): Likewise.
4902 * string/strcat.c: Remove unused #include of memcopy.h.
4903 (strcat): Use ANSI prototype.
4904 * string/strchr.c: Remove unused #include of memcopy.h.
4905 (strchr): Use ANSI prototype.
4906 * string/strcmp.c: Remove unused #include of memcopy.h.
4907 (strcmp): Use ANSI prototype.
4908 * string/strcpy.c: Remove unused #include of memcopy.h.
4909 (strcpy): Use ANSI prototype.
4910
7ffa9423
AZ
49112014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4912
4913 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4914 * config.make.in (config-extra-cppflags): Set it from
4915 libc_extra_cppflags.
4916 * configure.ac (libc_extra_cflags): Make it accumulate over
4917 configure fragments.
4918 (libc_extra_cppflags): New flag.
4919 * configure. Regenerate.
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
4921 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4922 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4924
8bd70862
AZ
4925 [BZ #16815]
4926 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4927 result for FE_DOWNWARD rounding mode.
4928 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4929 Likewise.
4930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4931
d42f3448
CM
49322014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4933
4934 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4935 in function argument name.
4936
1c21d115
DS
49372014-04-03 David Svoboda <svoboda@cert.org>
4938
4939 [BZ #5666]
4940 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4941 explicitly.
4942
fcccd512
RM
49432014-04-03 Roland McGrath <roland@hack.frob.com>
4944
4945 * elf/dl-unmap-segments.h: New file.
4946 * sysdeps/generic/ldsodefs.h
4947 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4948 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4949 * elf/dl-fptr.c: Likewise.
4950 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4951 * sysdeps/aarch64/tlsdesc.c: Likewise.
4952 * sysdeps/arm/tlsdesc.c: Likewise.
4953 * sysdeps/i386/tlsdesc.c: Likewise.
4954 * sysdeps/tile/dl-runtime.c: Likewise.
4955 * sysdeps/x86_64/tlsdesc.c: Likewise.
4956 * elf/dl-load.h: New file.
4957 * elf/dl-load.c: Include it.
4958 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4959 Macros moved to dl-load.h.
4960 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4961 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4962 Use _dl_unmap_segments in place of __munmap.
4963 Break out segment-mapping loop into ...
4964 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4965
f6488e2b
WN
49662014-04-03 Will Newton <will.newton@linaro.org>
4967
4968 * elf/dl-lookup.c (do_lookup_x): Remove comment
4969 referring to nested function and move variable
4970 declarations down to before first use.
4971
6f05bafe
JM
49722014-04-02 Joseph Myers <joseph@codesourcery.com>
4973
a84e78c8
JM
4974 [BZ #16799]
4975 [BZ #16800]
4976 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4977 with 0 numerator.
4978 * math/s_catanf.c (__catanf): Likewise.
4979 * math/s_catanh.c (__catanh): Likewise.
4980 * math/s_catanhf.c (__catanhf): Likewise.
4981 * math/s_catanhl.c (__catanhl): Likewise.
4982 * math/s_catanl.c (__catanl): Likewise.
4983 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4984 by positive zero when computing -Inf result.
4985 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4986 (catanh_test): Likewise.
4987 * sysdeps/i386/fpu/libm-test-ulps: Update.
4988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4989
6f05bafe
JM
4990 [BZ #16789]
4991 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4992 instead of using underflowing value in computing result.
4993 * math/s_clog10.c (__clog10): Likewise.
4994 * math/s_clog10f.c (__clog10f): Likewise.
4995 * math/s_clog10l.c (__clog10l): Likewise.
4996 * math/s_clogf.c (__clogf): Likewise.
4997 * math/s_clogl.c (__clogl): Likewise.
4998 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4999 (clog10_test): Likewise.
5000 * sysdeps/i386/fpu/libm-test-ulps: Update.
5001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5002
b0abbc21
AM
50032014-04-02 Alan Modra <amodra@gmail.com>
5004
5005 [BZ #16739]
5006 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5007 output when value is near a power of two. Use int64_t for lx and
5008 remove casts. Use decimal rather than hex exponent constants.
5009 Don't use long double multiplication when double will suffice.
5010 * math/libm-test.inc (nextafter_test_data): Add tests.
5011 * NEWS: Add 16739 and 16786 to bug list.
5012
af6b1797
AM
5013 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5014
483818d7
AM
5015 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5016
f6c55796
WN
50172014-04-01 Will Newton <will.newton@linaro.org>
5018
5019 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5020 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5021
13f7fe35
FW
50222014-04-01 Florian Weimer <fweimer@redhat.com>
5023
5024 [BZ #13347]
5025 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5026 * nptl/tst-setuid2.c: New file.
5027 * nptl/Makefile (xtests): Add tst-setuid2.
5028
c859b32e
AM
50292014-04-01 Alan Modra <amodra@gmail.com>
5030
5031 [BZ #16786]
5032 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5033
54fa2475
JM
50342014-03-31 Joseph Myers <joseph@codesourcery.com>
5035
8795b4a4
JM
5036 [BZ #6803]
5037 [BZ #6804]
5038 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5039 set errno as appropriate.
5040 * math/w_scalbf.c (__scalbf): Likewise.
5041 * math/w_scalbl.c (__scalbl): Likewise.
5042 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5043 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5044 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5045 Add more NaN tests.
5046
54fa2475
JM
5047 [BZ #16349]
5048 * math/w_atan2.c: Include <errno.h>.
5049 (__atan2): Set errno for result underflowing to zero.
5050 * math/w_atan2f.c: Include <errno.h>.
5051 (__atan2f): Set errno for result underflowing to zero.
5052 * math/w_atan2l.c: Include <errno.h>.
5053 (__atan2l): Set errno for result underflowing to zero.
5054 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5055 tests.
5056 * math/auto-libm-test-out: Regenerated.
5057
757d9dd5
AZ
50582014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5059
5060 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5061 Encode instruction correctly in little endian.
5062 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5063 Likewise.
5064 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5065 Likewise.
5066 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5067 Likewise.
5068 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5069 Likewise.
5070
d7a68734
JM
50712014-03-31 Joseph Myers <joseph@codesourcery.com>
5072
47c5adeb
JM
5073 [BZ #9894]
5074 * sysdeps/unix/sysv/linux/kernel-features.h
5075 [__sparc__ && !__arch64__ && !__sparc_v9__]
5076 (__ASSUME_SET_ROBUST_LIST): Do not define.
5077 [__sparc__ && !__arch64__ && !__sparc_v9__]
5078 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5079 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5080 Likewise.
5081 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5082 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5083 (__ASSUME_REQUEUE_PI): Likewise.
5084 (__ASSUME_SET_ROBUST_LIST): Likewise.
5085 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5086 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5087 Undefine.
5088 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5089 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5090 Likewise.
5091 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5092 Likewise.
5093 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5094 Likewise.
5095 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5096 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5097 Undefine.
5098 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5099 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5100 Likewise.
5101
d7a68734
JM
5102 [BZ #16648]
5103 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5104 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5105 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5106
c760f5c2
WN
51072014-03-31 Will Newton <will.newton@linaro.org>
5108
5109 * benchtests/Makefile (bench): Add ffs and ffsll to list
5110 of tests.
5111 * benchtests/ffs-inputs: New file.
5112 * benchtests/ffsll-inputs: Likewise.
5113
ea6029b1
JM
51142014-03-29 Joseph Myers <joseph@codesourcery.com>
5115
5116 [BZ #16770]
5117 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5118 too large before casting to int.
5119 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5120 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5121 * math/libm-test.inc (scalb_test_data): Add more tests.
5122
cf806aff
SP
51232014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5124
56737508
SP
5125 * benchtests/Makefile (DETAILED_OPT): New make option.
5126 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5127 set.
5128 * benchtests/bench-skeleton.c: Include stdbool.h.
5129 (main): Store and print timings per input.
5130 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5131 member to each argument value.
5132 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5133 (_print_arg_data): Initialize per-input timing to 0.
5134
cb5e4aad
SP
5135 * benchtests/Makefile (timing-type): New binary.
5136 (bench-clean): Also remove bench-timing-type.
5137 (bench): New target for timing-type.
5138 (bench-func): Print output in JSON format.
5139 * benchtests/bench-skeleton.c (main): Print output in JSON
5140 format.
5141 * benchtests/bench-timing-type.c: New file.
5142 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5143 (TIMING_PRINT_STATS): Remove.
5144 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5145 name separately.
5146
cf806aff
SP
5147 * benchtests/bench-modf.c: Remove.
5148 * benchtests/modf-inputs: New inputs file.
5149
289e0779
JM
51502014-03-28 Joseph Myers <joseph@codesourcery.com>
5151
5152 [BZ #16362]
5153 * math/s_clog10.c (M_PI_LOG10E): New macro.
5154 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5155 imaginary parts are 0.
5156 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5157 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5158 imaginary parts are 0.
5159 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5160 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5161 imaginary parts are 0.
5162 * math/libm-test.inc (clog10_test_data): Update expected results
5163 for when real and imaginary parts are 0.
5164
277ae3f1
PP
51652014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5166
5167 * elf/dl-load.c: Finish conversion of __builtin_expect into
5168 __glibc_{un}likely.
5169
03a7091f
JM
51702014-03-27 Joseph Myers <joseph@codesourcery.com>
5171
5172 [BZ #16348]
5173 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5174 1+x for argument with exponent below -67.
5175 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5176 Likewise.
5177 * math/auto-libm-test-in: Add more tests of exp.
5178 * math/auto-libm-test-out: Regenerated.
5179
ea7d8b95
SP
51802014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5181
dd3022d7
SP
5182 [BZ #16759]
5183 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5184 (nscd_getnetgrent): Use it.
5185
ea7d8b95
SP
5186 [BZ #16760]
5187 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5188 of stpcpy.
5189
df5b85da
AK
51902014-03-27 Andi Kleen <ak@linux.intel.com>
5191
57f41c40
AS
5192 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5193 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5194 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5195 (lll_robust_unlock): Remove out of line section. Use cfi
5196 intrinsics.
df5b85da 5197 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
5198 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5199 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5200 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5201 (lll_robust_unlock): Remove out of line section. Use cfi
5202 intrinsics.
df5b85da
AK
5203 (LLL_STUB_UNWIND_INFO*): Remove.
5204
fbd6b5a4
SP
52052014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5206
5207 [BZ #16758]
5208 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5209 blank values.
5210
1b26b855
PP
52112014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5212
5213 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5214
9be36fb8
JM
52152014-03-26 Joseph Myers <joseph@codesourcery.com>
5216
5217 [BZ #16198]
5218 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5219 fnstenv.
5220 * math/test-fenv-preserve.c: New file.
5221 * math/Makefile (tests): Add test-fenv-preserve.
5222
60a2f3c1
WN
52232014-03-26 Will Newton <will.newton@linaro.org>
5224
5225 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5226
a5e5f1e2
RM
52272014-03-25 Roland McGrath <roland@hack.frob.com>
5228
5229 * scripts/versionlist.awk: Partition the version sets and emit all
5230 GLIBC_* (sorted) before all others (sorted).
5231
00f4012a
JM
52322014-03-25 Joseph Myers <joseph@codesourcery.com>
5233
5234 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5235 GLIBC_2.2.5 version.
5236
7bc5a741
AZ
52372014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5238
5239 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5240 calls.
5241
7578473b
AZ
5242 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5243 previous change.
5244
f3f1dab3
AZ
5245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5246
6da36183
AS
52472014-03-25 Andreas Schwab <schwab@suse.de>
5248
5249 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5250 label to be used after in6ailist is initialized.
5251
f3f1dab3 52522014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 5253
7578473b 5254 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
5255 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5256
046651c1
JM
52572014-03-25 Joseph Myers <joseph@codesourcery.com>
5258
5259 [BZ #16357]
5260 [BZ #16599]
5261 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5262 min_plus_half.
5263 (fp_formats): Update initializers.
5264 (init_fp_formats): Initialize new field.
5265 (output_for_one_input_case): Allow underflow for results up to
5266 min_plus_half.
5267 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5268 * math/auto-libm-test-in: Don't mark some underflows from asin and
5269 atanh as spurious.
5270 * math/auto-libm-test-out: Regenerated.
5271 * sysdeps/i386/fpu/libm-test-ulps: Update.
5272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5273
003e49ed
AS
52742014-03-25 Andreas Schwab <schwab@suse.de>
5275
5276 * libio/Makefile (tst-ftell-partial-wide-ENV)
5277 (tst-ftell-active-handler-ENV): Define.
5278
de031874
SL
52792014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5280
5281 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5282
55a81e3b
PP
52832014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5284
5285 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5286
f3426898
JM
52872014-03-24 Joseph Myers <joseph@codesourcery.com>
5288
5289 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5290 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5291 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5292
a42faf59
PP
52932014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5294
5295 [BZ #16634]
a42faf59 5296 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
5297 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5298 (open_path): Change from boolean 'secure' to complete flag 'mode'
5299 (_dl_map_object): Adjust.
a42faf59
PP
5300 * elf/Makefile (tests): Add tst-dlopen-aout.
5301 * elf/tst-dlopen-aout.c: New test.
5302
50936127
SL
53032014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5304
5305 [BZ #16714]
5306 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5307 (struct stat): Rename member pad0 to __glibc_reserved0.
5308
26011b5c
SL
5309 [BZ #16712]
5310 * sysdeps/s390/s390-32/bits/wordsize.h
5311 (__WORDSIZE32_SIZE_ULONG): New define.
5312 * sysdeps/s390/s390-64/bits/wordsize.h
5313 (__WORDSIZE32_SIZE_ULONG): Likewise.
5314 * sysdeps/generic/stdint.h (SIZE_MAX):
5315 Define as UL if __WORDSIZE32_SIZE_ULONG.
5316
a2d86bf1
SL
5317 [BZ #16713]
5318 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5319 (__glibc_reserved0): New variable.
5320 (sa_flags): Change type to int.
5321
78b6eebc
SL
5322 * posix/Makefile (before-compile): Use += before-compile instead
5323 of a :=.
5324
f1399b5a
SL
5325 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5326 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5327
a071766e
AS
53282014-03-20 Andreas Schwab <schwab@suse.de>
5329
5330 [BZ #16743]
5331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5332 non-matching result from nscd.
5333
27c673b8
SP
53342014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5335
5336 * scripts/bench.py: Moved to ...
5337 * benchtests/scripts/bench.py: ... here.
5338 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5339
44152e4b
AS
53402014-03-24 Andreas Schwab <schwab@suse.de>
5341
5342 [BZ #16002]
5343 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5344 alloca_account and account alloca use for struct in6ailist.
5345
b376a11a
JM
53462014-03-24 Joseph Myers <joseph@codesourcery.com>
5347
5348 [BZ #16284]
5349 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5350 rounding mode to recompute results that overflow to infinity or
5351 underflow to zero.
5352 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5353 bug 16284.
5354 * math/auto-libm-test-out: Regenerated.
5355 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5356 (ccosh_test): Likewise.
5357 (csin_test_data): Use plus_oflow.
5358 (csin_test): Use ALL_RM_TEST.
5359 (csinh_test_data): Use plus_oflow.
5360 (csinh_test): Use ALL_RM_TEST.
5361 * sysdeps/i386/fpu/libm-test-ulps: Update.
5362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5363
f7be7376
JM
53642014-03-21 Joseph Myers <joseph@codesourcery.com>
5365
1ca2d03e
JM
5366 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5367 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5368 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5369
f7be7376
JM
5370 [BZ #16731]
5371 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5372 when x - 1 is zero.
5373 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5374 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5375 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5376 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5377 argument is 1.
5378 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5379 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5380 zero.
5381 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5382 * sysdeps/i386/fpu/libm-test-ulps: Update.
5383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5384
fdf4534d
SP
53852014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5386
df26ea53
SP
5387 * scripts/bench.pl: Remove file.
5388 * scripts/bench.py: New benchmark script.
5389 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5390 * benchtests/README: Mention python dependency.
5391 * scripts/pylintrc: New file.
5392 * scripts/pylint: New file.
5393
fdf4534d
SP
5394 * bits/mathdef.h: Use #ifdef instead of #if.
5395 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5396 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5397 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5398 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5399 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5400 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5401
6f23d093
AZ
54022014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5403 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5404
5405 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5407 and strpbrk-ppc64 objects.
5408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5409 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5410 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5411 multiarch strpbrk for POWER7.
5412 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5413 multiarch strpbrk for PPC64.
5414 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5415 ifunc selector.
5416 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5417 strpbrk for POWER7.
5418
8c92dfff
JM
54192014-03-20 Joseph Myers <joseph@codesourcery.com>
5420
5421 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5422 (atan_test): Likewise.
5423 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5424 (atanh_test): Use ALL_RM_TEST.
5425 (atan2_test_data): Likewise.
5426 (cabs_test): Likewise.
5427 (cacosh_test): Likewise.
5428 (carg_test): Likewise.
5429 (casin_test): Likewise.
5430 (casinh_test): Likewise.
5431 (cbrt_test): Likewise.
5432 (csqrt_test): Likewise.
5433 (erf_test): Likewise.
5434 (erfc_test): Likewise.
5435 (pow10_test): Likewise.
5436 (exp2_test): Likewise.
5437 (hypot_test): Likewise.
5438 (j0_test): Likewise.
5439 (j1_test): Likewise.
5440 (lgamma_test): Likewise.
5441 (gamma_test): Likewise.
5442 (sincos_test): Likewise.
5443 (tanh_test): Likewise.
5444 (y0_test): Likewise.
5445 (y1_test): Likewise.
5446 * sysdeps/i386/fpu/libm-test-ulps: Update.
5447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5448
6eaf95cb
AZ
54492014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5450
a387428c
SP
5451 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
5453 and strcspn-ppc64 objects.
5454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5455 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5456 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5457 multiarch strcspn for POWER7.
5458 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5459 multiarch strcspn for PPC64.
5460 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5461 ifunc selector.
5462 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5463 strcspn for POWER7.
5464
ae3a5dff
JM
54652014-03-20 Joseph Myers <joseph@codesourcery.com>
5466
5467 * math/gen-libm-test.pl (generate_testfile): Expect only function
5468 name as argument to AUTO_TESTS_* and pass results for all rounding
5469 modes to parse_args.
5470 (parse_auto_input): Separate inputs of automatic tests from
5471 outputs before storing in %auto_tests.
5472 * math/libm-test.inc (acos_test_data): Update call to
5473 AUTO_TESTS_f_f.
5474 (acos_test): Use ALL_RM_TEST.
5475 (acos_tonearest_test_data): Remove.
5476 (acos_test_tonearest): Likewise.
5477 (acos_towardzero_test_data): Likewise.
5478 (acos_test_towardzero): Likewise.
5479 (acos_downward_test_data): Likewise.
5480 (acos_test_downward): Likewise.
5481 (acos_upward_test_data): Likewise.
5482 (acos_test_upward): Likewise.
5483 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5484 (asin_test_data): Likewise.
5485 (asin_test): Use ALL_RM_TEST.
5486 (asin_tonearest_test_data): Remove.
5487 (asin_test_tonearest): Likewise.
5488 (asin_towardzero_test_data): Likewise.
5489 (asin_test_towardzero): Likewise.
5490 (asin_downward_test_data): Likewise.
5491 (asin_test_downward): Likewise.
5492 (asin_upward_test_data): Likewise.
5493 (asin_test_upward): Likewise.
5494 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5495 (atan_test_data): Likewise.
5496 (atanh_test_data): Likewise.
5497 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5498 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5499 (carg_test_data): Likewise.
5500 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5501 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5502 (ccosh_test_data): Likewise.
5503 (cexp_test_data): Likewise.
5504 (clog_test_data): Likewise.
5505 (clog10_test_data): Likewise.
5506 (cos_test_data): Update call to AUTO_TESTS_f_f.
5507 (cos_test): Use ALL_RM_TEST.
5508 (cos_tonearest_test_data): Remove.
5509 (cos_test_tonearest): Likewise.
5510 (cos_towardzero_test_data): Likewise.
5511 (cos_test_towardzero): Likewise.
5512 (cos_downward_test_data): Likewise.
5513 (cos_test_downward): Likewise.
5514 (cos_upward_test_data): Likewise.
5515 (cos_test_upward): Likewise.
5516 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5517 (cosh_test): Use ALL_RM_TEST.
5518 (cosh_tonearest_test_data): Remove.
5519 (cosh_test_tonearest): Likewise.
5520 (cosh_towardzero_test_data): Likewise.
5521 (cosh_test_towardzero): Likewise.
5522 (cosh_downward_test_data): Likewise.
5523 (cosh_test_downward): Likewise.
5524 (cosh_upward_test_data): Likewise.
5525 (cosh_test_upward): Likewise.
5526 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5527 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5528 (ctan_test_data): Likewise.
5529 (ctan_test): Use ALL_RM_TEST.
5530 (ctan_tonearest_test_data): Remove.
5531 (ctan_test_tonearest): Likewise.
5532 (ctan_towardzero_test_data): Likewise.
5533 (ctan_test_towardzero): Likewise.
5534 (ctan_downward_test_data): Likewise.
5535 (ctan_test_downward): Likewise.
5536 (ctan_upward_test_data): Likewise.
5537 (ctan_test_upward): Likewise.
5538 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5539 (ctanh_test): Use ALL_RM_TEST.
5540 (ctanh_tonearest_test_data): Remove.
5541 (ctanh_test_tonearest): Likewise.
5542 (ctanh_towardzero_test_data): Likewise.
5543 (ctanh_test_towardzero): Likewise.
5544 (ctanh_downward_test_data): Likewise.
5545 (ctanh_test_downward): Likewise.
5546 (ctanh_upward_test_data): Likewise.
5547 (ctanh_test_upward): Likewise.
5548 (erf_test_data): Update call to AUTO_TESTS_f_f.
5549 (erfc_test_data): Likewise.
5550 (exp_test_data): Likewise.
5551 (exp_test): Use ALL_RM_TEST.
5552 (exp_tonearest_test_data): Remove.
5553 (exp_test_tonearest): Likewise.
5554 (exp_towardzero_test_data): Likewise.
5555 (exp_test_towardzero): Likewise.
5556 (exp_downward_test_data): Likewise.
5557 (exp_test_downward): Likewise.
5558 (exp_upward_test_data): Likewise.
5559 (exp_test_upward): Likewise.
5560 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5561 (exp10_test): Use ALL_RM_TEST.
5562 (exp10_tonearest_test_data): Remove.
5563 (exp10_test_tonearest): Likewise.
5564 (exp10_towardzero_test_data): Likewise.
5565 (exp10_test_towardzero): Likewise.
5566 (exp10_downward_test_data): Likewise.
5567 (exp10_test_downward): Likewise.
5568 (exp10_upward_test_data): Likewise.
5569 (exp10_test_upward): Likewise.
5570 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5571 (expm1_test_data): Likewise.
5572 (expm1_test): Use ALL_RM_TEST.
5573 (expm1_tonearest_test_data): Remove.
5574 (expm1_test_tonearest): Likewise.
5575 (expm1_towardzero_test_data): Likewise.
5576 (expm1_test_towardzero): Likewise.
5577 (expm1_downward_test_data): Likewise.
5578 (expm1_test_downward): Likewise.
5579 (expm1_upward_test_data): Likewise.
5580 (expm1_test_upward): Likewise.
5581 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5582 (fma_test): Use ALL_RM_TEST.
5583 (fma_towardzero_test_data): Remove.
5584 (fma_test_towardzero): Likewise.
5585 (fma_downward_test_data): Likewise.
5586 (fma_test_downward): Likewise.
5587 (fma_upward_test_data): Likewise.
5588 (fma_test_upward): Likewise.
5589 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5590 (j0_test_data): Update call to AUTO_TESTS_f_f.
5591 (j1_test_data): Likewise.
5592 (jn_test_data): Update call to AUTO_TESTS_if_f.
5593 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5594 (log_test_data): Update call to AUTO_TESTS_f_f.
5595 (log10_test_data): Likewise.
5596 (log1p_test_data): Likewise.
5597 (log2_test_data): Likewise.
5598 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5599 (pow_tonearest_test_data): Likewise.
5600 (sin_test_data): Update call to AUTO_TESTS_f_f.
5601 (sin_test): Use ALL_RM_TEST.
5602 (sin_tonearest_test_data): Remove.
5603 (sin_test_tonearest): Likewise.
5604 (sin_towardzero_test_data): Likewise.
5605 (sin_test_towardzero): Likewise.
5606 (sin_downward_test_data): Likewise.
5607 (sin_test_downward): Likewise.
5608 (sin_upward_test_data): Likewise.
5609 (sin_test_upward): Likewise.
5610 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5611 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5612 (sinh_test): Use ALL_RM_TEST.
5613 (sinh_tonearest_test_data): Remove.
5614 (sinh_test_tonearest): Likewise.
5615 (sinh_towardzero_test_data): Likewise.
5616 (sinh_test_towardzero): Likewise.
5617 (sinh_downward_test_data): Likewise.
5618 (sinh_test_downward): Likewise.
5619 (sinh_upward_test_data): Likewise.
5620 (sinh_test_upward): Likewise.
5621 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5622 (sqrt_test): Use ALL_RM_TEST.
5623 (sqrt_tonearest_test_data): Remove.
5624 (sqrt_test_tonearest): Likewise.
5625 (sqrt_towardzero_test_data): Likewise.
5626 (sqrt_test_towardzero): Likewise.
5627 (sqrt_downward_test_data): Likewise.
5628 (sqrt_test_downward): Likewise.
5629 (sqrt_upward_test_data): Likewise.
5630 (sqrt_test_upward): Likewise.
5631 (tan_test_data): Update call to AUTO_TESTS_f_f.
5632 (tan_test): Use ALL_RM_TEST.
5633 (tan_tonearest_test_data): Remove.
5634 (tan_test_tonearest): Likewise.
5635 (tan_towardzero_test_data): Likewise.
5636 (tan_test_towardzero): Likewise.
5637 (tan_downward_test_data): Likewise.
5638 (tan_test_downward): Likewise.
5639 (tan_upward_test_data): Likewise.
5640 (tan_test_upward): Likewise.
5641 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5642 (tgamma_test_data): Likewise.
5643 (y0_test_data): Likewise.
5644 (y1_test_data): Likewise.
5645 (yn_test_data): Update call to AUTO_TESTS_if_f.
5646 (main): Do not call removed functions.
5647
d71aeee8
JM
56482014-03-19 Joseph Myers <joseph@codesourcery.com>
5649
5650 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5651 (ldexp_test_data): Remove.
5652 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5653 scalbn_test_data.
5654 (scalb_test): Use ALL_RM_TEST.
5655
baaf1ded
AS
56562014-03-19 Andreas Schwab <schwab@suse.de>
5657
5658 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5659
b1115e91
JM
56602014-03-19 Joseph Myers <joseph@codesourcery.com>
5661
5662 [BZ #16649]
5663 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5664 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5665 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5666 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5667 (__ASSUME_PREADV): Undefine.
5668 (__ASSUME_PWRITEV): Likewise.
5669
0283ecca
RM
56702014-03-18 Roland McGrath <roland@hack.frob.com>
5671
7d375303
RM
5672 * bits/mman-linux.h: Add comment about non-Linux use.
5673 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5674 bits/mman-linux.h resting place.
5675
0283ecca
RM
5676 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5677 * bits/mman-linux.h: ... here.
5678
aebe1003
AZ
56792014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5680
5681 * conform/conformtest.pl: Add standard definition when calling C
5682 preprocessor on data files.
5683 (checknamespace): Remove unused variable.
5684
b29b6bb8
JM
56852014-03-18 Joseph Myers <joseph@codesourcery.com>
5686
5687 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5688 minus_oflow, plus_uflow and minus_uflow in expected results.
5689 * math/libm-test.inc (scalbn_test_data): Add more tests of
5690 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5691 minus_uflow.
5692 (scalbn_test): Use ALL_RM_TEST.
5693 (scalbln_test_data): Add more tests of negative arguments. Use
5694 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5695 (scalbln_test): Use ALL_RM_TEST.
5696
c8f8fa15
RM
56972014-03-18 Roland McGrath <roland@hack.frob.com>
5698
5699 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5700
fede7a5f
WN
57012014-03-18 Will Newton <will.newton@linaro.org>
5702
5703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5704 inaccurate comment.
5705
80cf0a58
JM
57062014-03-18 Joseph Myers <joseph@codesourcery.com>
5707
5708 * Makerules [!subdir] (check-abi): Exit with error status if a
5709 test failed.
5710
b3620862
JM
57112014-03-17 Joseph Myers <joseph@codesourcery.com>
5712
5713 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5714 for rint. Include results for all rounding modes.
5715 (nearbyint_test): Use ALL_RM_TEST.
5716 (rint_test_data): Include all tests used for nearbyint.
5717
788bba36
WN
57182014-03-17 Will Newton <will.newton@linaro.org>
5719
04ec140a
WN
5720 * nptl/sysdeps/pthread/pthread.h: Revert previous
5721 change.
5722
7579d8d5
WN
5723 * sysdeps/generic/ldsodefs.h: Revert previous
5724 change.
5725
c15cf13a
WN
5726 * libio/genops.c: Revert previous change.
5727 * libio/libioP.h: Likewise.
5728 * stdio-common/vfprintf.c: Likewise.
5729
d0ac1324
WN
5730 * sysdeps/generic/math_private.h: Revert previous
5731 change.
5732
9290130a
WN
5733 * sysdeps/generic/math_private.h: Check whether
5734 HAVE_RM_CTX is defined with #ifdef rather
5735 than #if.
5736
afb466fc
WN
5737 * argp/argp-fmtstream.h: Check whether
5738 __STRICT_ANSI__ is defined with #ifdef rather
5739 than #if.
5740 * argp/argp.h: Likewise.
5741
f7efd7c3
WN
5742 * libio/genops.c: Check whether
5743 _IO_JUMPS_OFFSET is defined with #ifdef rather
5744 than #if.
5745 * libio/libioP.h: Likewise.
5746 * stdio-common/vfprintf.c: Likewise.
5747
53f1bed3
WN
5748 * sysdeps/generic/ldsodefs.h: Check whether
5749 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5750 than #if.
5751
788bba36
WN
5752 * nptl/sysdeps/pthread/pthread.h: Check
5753 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5754 its value.
5755
fcd89ebe
SP
57562014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5757
ae42bbc5
SP
5758 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5759 setting O_APPEND.
5760 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5761 test case.
5762
ea33158c
SP
5763 [BZ #16680]
5764 * libio/fileops.c (_IO_file_open): Seek to end of file but
5765 don't cache the offset.
5766 (get_file_offset): Remove function.
5767 (do_ftell): Use cached offset when available.
5768 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5769 don't cache the offset.
5770 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5771 case.
5772 (do_one_test): Call it.
5773 (do_ftell_test): Fix up expected old offset for a+ mode.
5774 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5775 available.
5776
b1dbb426
SP
5777 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5778 up test status with function return status.
5779 (do_write_test): Likewise.
5780 (do_append_test): Likewise.
5781
fcd89ebe
SP
5782 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5783 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5784 Remove.
5785
9962a2d3
JM
57862014-03-17 Joseph Myers <joseph@codesourcery.com>
5787
5788 * math/gen-libm-test.pl (parse_args): Handle results specified for
5789 each rounding mode separately.
5790 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5791 tests and results from lrint_tonearest_test_data,
5792 lrint_towardzero_test_data, lrint_downward_test_data and
5793 lrint_upward_test_data.
5794 (lrint_test): Use ALL_RM_TEST.
5795 (lrint_tonearest_test_data): Remove.
5796 (lrint_test_tonearest): Likewise.
5797 (lrint_towardzero_test_data): Likewise.
5798 (lrint_test_towardzero): Likewise.
5799 (lrint_downward_test_data): Likewise.
5800 (lrint_test_downward): Likewise.
5801 (lrint_upward_test_data): Likewise.
5802 (lrint_test_upward): Likewise.
5803 (llrint_test_data): Merge in per-rounding-mode tests and results
5804 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5805 llrint_downward_test_data and llrint_upward_test_data.
5806 (llrint_test): Use ALL_RM_TEST.
5807 (llrint_tonearest_test_data): Remove.
5808 (llrint_test_tonearest): Likewise.
5809 (llrint_towardzero_test_data): Likewise.
5810 (llrint_test_towardzero): Likewise.
5811 (llrint_downward_test_data): Likewise.
5812 (llrint_test_downward): Likewise.
5813 (llrint_upward_test_data): Likewise.
5814 (llrint_test_upward): Likewise.
5815 (rint_test_data): Merge in per-rounding-mode tests and results
5816 from rint_tonearest_test_data, rint_towardzero_test_data,
5817 rint_downward_test_data and rint_upward_test_data. Add
5818 per-rounding-mode results for tests not in those arrays.
5819 (rint_test): Use ALL_RM_TEST.
5820 (rint_tonearest_test_data): Remove.
5821 (rint_test_tonearest): Likewise.
5822 (rint_towardzero_test_data): Likewise.
5823 (rint_test_towardzero): Likewise.
5824 (rint_downward_test_data): Likewise.
5825 (rint_test_downward): Likewise.
5826 (rint_upward_test_data): Likewise.
5827 (rint_test_upward): Likewise.
5828 (main): Don't call removed functions.
5829
5006148e
RM
58302014-03-14 Roland McGrath <roland@hack.frob.com>
5831
5832 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5833 "Compiled on ..." crapola. It is anti-useful.
5834
d6fe5e58
JM
58352014-03-14 Joseph Myers <joseph@codesourcery.com>
5836
5837 * scripts/evaluate-test.sh: Handle fourth argument to determine
5838 whether test run should stop on failure.
5839 * Makeconfig (stop-on-test-failure): New variable.
5840 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5841 $(stop-on-test-failure).
5842 * Makefile (tests): Give a summary of results from testing and
5843 exit with failure status if they include an ERROR or FAIL.
5844 (xtests): Likewise.
5845 * manual/install.texi (Configuring and compiling): Mention
5846 stop-on-test-failure=y.
5847 * INSTALL: Regenerated.
5848
498a2233
RM
58492014-03-14 Roland McGrath <roland@hack.frob.com>
5850
22dbc19d
RM
5851 * scripts/versionlist.awk: New file.
5852 * Makerules [$(build-shared) = yes]
5853 (postclean-generated): Add Versions.def, not Versions.def.v and
5854 Versions.def.v.i.
5855 ($(common-objpfx)Versions.def.v.i): Target removed.
5856 ($(common-objpfx)Versions.def): New target.
5857 ($(common-objpfx)Versions.all): Depend on that rather that
5858 $(common-objpfx)Versions.def.v.
5859 * Versions.def: File removed.
5860
498a2233
RM
5861 * Makeconfig (+gccwarn): Add -Wundef.
5862 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5863 a dl-sysdep.h breaking its contract.
5864 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5865 * include/stackinfo.h: New file.
5866 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5867 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5868 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5869 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5870 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5871 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5872 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5873 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5874 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5875 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5876 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5877 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5878 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5879 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5880 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5881
c7de5025
AZ
58822014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5883
5884 [BZ #16707]
5885 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5886 implementation.
5887 * math/libm-test.inc (round_test_data): Add more tests.
5888
98fb27a3
AZ
5889 [BZ #16706]
5890 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5891 implementation.
5892 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5893
374f7f61
AZ
5894 [BZ #16701]
5895 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5896 implementation.
5897 * math/libm-test.inc (ceil_test_data): Add more tests.
5898
4655c291
AZ
5899 * math/libm-test.inc (trunc_test_data): Add more tests related to
5900 BZ#16414.
5901
d7329d4b
RM
59022014-03-14 Roland McGrath <roland@hack.frob.com>
5903
5904 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5905 with #if rather than #ifdef.
5906 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5907
aa4de9ce
L
59082014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5909
5910 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5911 first. Disable AVX-512 GCC support if assembler doesn't support
5912 it.
5913 * sysdeps/x86_64/configure: Regenerated.
5914
2e03fae7
CD
59152014-03-13 Carlos O'Donell <carlos@redhat.com>
5916
5917 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5918 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5919 (__old_pthread_attr_setstack): Likewise.
5920 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5921 [!_STACK_GROWS_DOWN]: Likewise.
5922
43ca83ec
MF
59232014-03-13 Mike Frysinger <vapier@gentoo.org>
5924
5925 * config.make.in (have-bash2): Delete.
5926 * configure.ac (libc_cv_have_bash2): Delete.
5927 * configure: Regenerate.
5928 * elf/Makefile (common-ldd-rewrite): Rename to ...
5929 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5930 (sh-ldd-rewrite): Delete.
5931 (bash-ldd-rewrite): Delete.
5932 (have-bash2): Delete checks.
57f41c40
AS
5933 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5934 ldd-rewrite.
c66e48b4
MF
5935
5936 * config.make.in (have-ksh): Delete.
5937 (KSH): Delete.
5938 * configure.ac (libc_cv_have_ksh): Delete.
5939 * configure: Regenerate.
5940
b93834ef
MF
5941 * elf/Makefile: Delete $(have-ksh) check.
5942 ($(objpfx)sotruss): Change KSH to BASH.
5943 * elf/sotruss.ksh: Rename to ...
5944 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5945 function style to match POSIX. Drop ksh vim mode setting.
5946
f3a4632a
MF
5947 * manual/time.texi (Specifying the Time Zone with TZ): Change
5948 Tuesday to Thursday.
5949
5896c8bd
MF
5950 * debug/tst-longjmp_chk2.c: Update header comment.
5951 (stackoverflow_handler): Add comment. Call assert on pass value.
5952
2d63a517
IZ
59532014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5954
5955 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5956 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5957 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5958 (La_x86_64_vector): Add zmm.
5959 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5960 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5961 ($(objpfx)tst-audit10): New target.
5962 ($(objpfx)tst-audit10.out): Likewise.
5963 (tst-audit10-ENV): New.
5964 (AVX512-CFLAGS): Likewise.
5965 (CFLAGS-tst-audit10.c): Likewise.
5966 (CFLAGS-tst-auditmod10a.c): Likewise.
5967 (CFLAGS-tst-auditmod10b.c): Likewise.
5968 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5969 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5970 * sysdeps/x86_64/configure: Regenerated.
5971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5972 AVX-512 zmm register support.
5973 (_dl_x86_64_save_sse): Likewise.
5974 (_dl_x86_64_restore_sse): Likewise.
5975 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5976 size vector registers.
5977 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5978 (ZMM_SIZE): Likewise.
5979 * sysdeps/x86_64/tst-audit10.c: New file.
5980 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5981 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5982
44c4e5d5
RM
59832014-03-13 Roland McGrath <roland@hack.frob.com>
5984
5985 * configure.ac (HAVE_EHDR_START): New check.
5986 * configure: Regenerated.
5987 * config.h.in (HAVE_EHDR_START): New #undef.
5988 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5989 assuming the lowest-addressed segment maps the start of the file.
5990
acd6e389
JM
59912014-03-13 Joseph Myers <joseph@codesourcery.com>
5992
5993 * INSTALL: Regenerated.
5994
6f918f36
WN
59952014-03-13 Will Newton <will.newton@linaro.org>
5996
5997 * manual/setjmp.texi (System V contexts): Improve
5998 clarity and grammar of documentation.
5999
798212a0
PP
60002014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6001
6002 [BZ #16381]
798212a0 6003 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 6004 (tests-pie): Add tst-pie2.
798212a0
PP
6005 * elf/tst-pie2.c: New file.
6006 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6007 for ET_EXEC.
6008 * elf/rtld.c (map_doit): Load executable as lt_executable.
6009 (dl_main): Likewise.
6010
abe6d90c
JM
60112014-03-12 Joseph Myers <joseph@codesourcery.com>
6012
6013 [BZ #16642]
6014 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6015 (__ASSUME_PSELECT): Undefine.
6016
dd3946c6
AZ
60172014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6018
6019 [BZ #16689]
6020 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6021 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6022 static build.
6023 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6024 selector for static builds.
6025
c44496df
SP
60262014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6027
6028 [BZ #16695]
6029 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6030 key in the buffer.
6031
27c7220a
AZ
60322014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6033
57f41c40
AS
6034 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6035 IFUNC selector for static builds.
27c7220a 6036
600fa361
JM
60372014-03-11 Joseph Myers <joseph@codesourcery.com>
6038
76c96cf7
JM
6039 * sysdeps/mips/math_private.h [__mips_hard_float]
6040 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6041 libc_feresetround_mips_ctx.
6042 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6043 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6044 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6045
600fa361
JM
6046 [BZ #16677]
6047 * math/s_nextafter.c (__nextafter): Do not return value from
6048 overflowing computation.
6049 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6050 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6051 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6052 Likewise.
6053 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6054 Likewise.
6055 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6056 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6057
d7706c32
RM
60582014-03-11 Roland McGrath <roland@hack.frob.com>
6059
6060 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6061 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6062 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6063 the new mov targetting sp.
6064
4facea47
AZ
60652014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6066
6067 [BZ #16683]
6068 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6069 Define it for static builds as well.
6070 (NO_BZERO_IMPL): Likewise.
6071
e65caf1f
VR
60722014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6073
6074 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6075 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6076 multiarch strspn for PPC64.
6077 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6078 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6080 (__libc_ifunc_impl_list): Likewise.
6081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6082 multiarch optimizations
6083 * string/strspn.c (strspn): Using macro to redefine symbol name.
6084
ba9cc071
AZ
60852014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6086 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6087
6088 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6089 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6090 multiarch strncat for PPC64.
6091 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6092 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6094 (__libc_ifunc_impl_list): Likewise.
6095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6096 multiarch optimizations
6097
8b4ff974
SP
60982014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6099
6100 [BZ #16639]
6101 * nscd/nscd.service: Make service type forking.
6102
54b46a4b
AZ
61032014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6104
6105 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6106 sign in non default rounding modes.
6107 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6108
e9996ef7
JM
61092014-03-08 Joseph Myers <joseph@codesourcery.com>
6110
6111 * math/libm-test.inc (ALL_RM_TEST): New macro.
6112 (ceil_test): Use ALL_RM_TEST.
6113 (cimag_test): Likewise.
6114 (conj_test): Likewise.
6115 (copysign_test): Likewise.
6116 (cproj_test): Likewise.
6117 (creal_test): Likewise.
6118 (fabs_test): Likewise.
6119 (floor_test): Likewise.
6120 (fmax_test): Likewise.
6121 (fmin_test): Likewise.
6122 (fmod_test): Likewise.
6123 (fpclassify_test): Likewise.
6124 (frexp_test): Likewise.
6125 (ilogb_test): Likewise.
6126 (isfinite_test): Likewise.
6127 (finite_test): Likewise.
6128 (isgreater_test): Likewise.
6129 (isgreaterequal_test): Likewise.
6130 (isinf_test): Likewise.
6131 (isless_test): Likewise.
6132 (islessequal_test): Likewise.
6133 (islessgreater_test): Likewise.
6134 (isnan_test): Likewise.
6135 (isnormal_test): Likewise.
6136 (issignaling_test): Likewise.
6137 (isunordered_test): Likewise.
6138 (logb_test): Likewise.
6139 (logb_downward_test_data): Remove.
6140 (logb_test_downward): Likewise.
6141 (lround_test): Use ALL_RM_TEST.
6142 (llround_test): Likewise.
6143 (modf_test): Likewise.
6144 (nexttoward_test): Likewise.
6145 (remainder_test): Likewise.
6146 (drem_test): Likewise.
6147 (remainder_tonearest_test_data): Likewise.
6148 (remainder_test_tonearest): Likewise.
6149 (drem_test_tonearest): Likewise.
6150 (remainder_towardzero_test_data): Likewise.
6151 (remainder_test_towardzero): Likewise.
6152 (drem_test_towardzero): Likewise.
6153 (remainder_downward_test_data): Likewise.
6154 (remainder_test_downward): Likewise.
6155 (drem_test_downward): Likewise.
6156 (remainder_upward_test_data): Likewise.
6157 (remainder_test_upward): Likewise.
6158 (drem_test_upward): Likewise.
6159 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6160 (round_test): Use ALL_RM_TEST.
6161 (signbit_test): Likewise.
6162 (trunc_test): Likewise.
6163 (significand_test): Likewise.
6164 (main): Don't call removed functions.
6165
bc61d27c
JM
61662014-03-07 Joseph Myers <joseph@codesourcery.com>
6167
5c780849
JM
6168 [BZ #16674]
6169 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6170 || __USE_XOPEN2K8].
6171 (ILL_ILLOPN): Likewise.
6172 (ILL_ILLADR): Likewise.
6173 (ILL_ILLTRP): Likewise.
6174 (ILL_PRVOPC): Likewise.
6175 (ILL_PRVREG): Likewise.
6176 (ILL_COPROC): Likewise.
6177 (ILL_BADSTK): Likewise.
6178 (FPE_INTDIV): Likewise.
6179 (FPE_INTOVF): Likewise.
6180 (FPE_FLTDIV): Likewise.
6181 (FPE_FLTOVF): Likewise.
6182 (FPE_FLTUND): Likewise.
6183 (FPE_FLTRES): Likewise.
6184 (FPE_FLTINV): Likewise.
6185 (FPE_FLTSUB): Likewise.
6186 (SEGV_MAPERR): Likewise.
6187 (SEGV_ACCERR): Likewise.
6188 (BUS_ADRALN): Likewise.
6189 (BUS_ADRERR): Likewise.
6190 (BUS_OBJERR): Likewise.
6191 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6192 (TRAP_TRACE): Likewise.
6193 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6194 __USE_XOPEN2K8].
6195 (CLD_KILLED): Likewise.
6196 (CLD_DUMPED): Likewise.
6197 (CLD_TRAPPED): Likewise.
6198 (CLD_STOPPED): Likewise.
6199 (CLD_CONTINUED): Likewise.
6200 (POLL_IN): Likewise.
6201 (POLL_OUT): Likewise.
6202 (POLL_MSG): Likewise.
6203 (POLL_ERR): Likewise.
6204 (POLL_PRI): Likewise.
6205 (POLL_HUP): Likewise.
6206 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6207 Likewise.
6208 (ILL_ILLOPN): Likewise.
6209 (ILL_ILLADR): Likewise.
6210 (ILL_ILLTRP): Likewise.
6211 (ILL_PRVOPC): Likewise.
6212 (ILL_PRVREG): Likewise.
6213 (ILL_COPROC): Likewise.
6214 (ILL_BADSTK): Likewise.
6215 (FPE_INTDIV): Likewise.
6216 (FPE_INTOVF): Likewise.
6217 (FPE_FLTDIV): Likewise.
6218 (FPE_FLTOVF): Likewise.
6219 (FPE_FLTUND): Likewise.
6220 (FPE_FLTRES): Likewise.
6221 (FPE_FLTINV): Likewise.
6222 (FPE_FLTSUB): Likewise.
6223 (SEGV_MAPERR): Likewise.
6224 (SEGV_ACCERR): Likewise.
6225 (BUS_ADRALN): Likewise.
6226 (BUS_ADRERR): Likewise.
6227 (BUS_OBJERR): Likewise.
6228 (BUS_MCEERR_AR): Likewise.
6229 (BUS_MCEERR_AO): Likewise.
6230 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6231 (TRAP_TRACE): Likewise.
6232 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6233 __USE_XOPEN2K8].
6234 (CLD_KILLED): Likewise.
6235 (CLD_DUMPED): Likewise.
6236 (CLD_TRAPPED): Likewise.
6237 (CLD_STOPPED): Likewise.
6238 (CLD_CONTINUED): Likewise.
6239 (POLL_IN): Likewise.
6240 (POLL_OUT): Likewise.
6241 (POLL_MSG): Likewise.
6242 (POLL_ERR): Likewise.
6243 (POLL_PRI): Likewise.
6244 (POLL_HUP): Likewise.
6245 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6246 (ILL_ILLOPN): Likewise.
6247 (ILL_ILLADR): Likewise.
6248 (ILL_ILLTRP): Likewise.
6249 (ILL_PRVOPC): Likewise.
6250 (ILL_PRVREG): Likewise.
6251 (ILL_COPROC): Likewise.
6252 (ILL_BADSTK): Likewise.
6253 (FPE_INTDIV): Likewise.
6254 (FPE_INTOVF): Likewise.
6255 (FPE_FLTDIV): Likewise.
6256 (FPE_FLTOVF): Likewise.
6257 (FPE_FLTUND): Likewise.
6258 (FPE_FLTRES): Likewise.
6259 (FPE_FLTINV): Likewise.
6260 (FPE_FLTSUB): Likewise.
6261 (SEGV_MAPERR): Likewise.
6262 (SEGV_ACCERR): Likewise.
6263 (BUS_ADRALN): Likewise.
6264 (BUS_ADRERR): Likewise.
6265 (BUS_OBJERR): Likewise.
6266 (BUS_MCEERR_AR): Likewise.
6267 (BUS_MCEERR_AO): Likewise.
6268 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6269 (TRAP_TRACE): Likewise.
6270 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6271 __USE_XOPEN2K8].
6272 (CLD_KILLED): Likewise.
6273 (CLD_DUMPED): Likewise.
6274 (CLD_TRAPPED): Likewise.
6275 (CLD_STOPPED): Likewise.
6276 (CLD_CONTINUED): Likewise.
6277 (POLL_IN): Likewise.
6278 (POLL_OUT): Likewise.
6279 (POLL_MSG): Likewise.
6280 (POLL_ERR): Likewise.
6281 (POLL_PRI): Likewise.
6282 (POLL_HUP): Likewise.
6283 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6284 Likewise.
6285 (ILL_ILLOPN): Likewise.
6286 (ILL_ILLADR): Likewise.
6287 (ILL_ILLTRP): Likewise.
6288 (ILL_PRVOPC): Likewise.
6289 (ILL_PRVREG): Likewise.
6290 (ILL_COPROC): Likewise.
6291 (ILL_BADSTK): Likewise.
6292 (ILL_BADIADDR): Likewise.
6293 (ILL_BREAK): Likewise.
6294 (FPE_INTDIV): Likewise.
6295 (FPE_INTOVF): Likewise.
6296 (FPE_FLTDIV): Likewise.
6297 (FPE_FLTOVF): Likewise.
6298 (FPE_FLTUND): Likewise.
6299 (FPE_FLTRES): Likewise.
6300 (FPE_FLTINV): Likewise.
6301 (FPE_FLTSUB): Likewise.
6302 (FPE_DECOVF): Likewise.
6303 (FPE_DECDIV): Likewise.
6304 (FPE_DECERR): Likewise.
6305 (FPE_INVASC): Likewise.
6306 (FPE_INVDEC): Likewise.
6307 (SEGV_MAPERR): Likewise.
6308 (SEGV_ACCERR): Likewise.
6309 (SEGV_PSTKOVF): Likewise.
6310 (BUS_ADRALN): Likewise.
6311 (BUS_ADRERR): Likewise.
6312 (BUS_OBJERR): Likewise.
6313 (BUS_MCEERR_AR): Likewise.
6314 (BUS_MCEERR_AO): Likewise.
6315 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6316 (TRAP_TRACE): Likewise.
6317 (TRAP_BRANCH): Likewise.
6318 (TRAP_HWBKPT): Likewise.
6319 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6320 __USE_XOPEN2K8].
6321 (CLD_KILLED): Likewise.
6322 (CLD_DUMPED): Likewise.
6323 (CLD_TRAPPED): Likewise.
6324 (CLD_STOPPED): Likewise.
6325 (CLD_CONTINUED): Likewise.
6326 (POLL_IN): Likewise.
6327 (POLL_OUT): Likewise.
6328 (POLL_MSG): Likewise.
6329 (POLL_ERR): Likewise.
6330 (POLL_PRI): Likewise.
6331 (POLL_HUP): Likewise.
6332 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6333 (ILL_ILLOPN): Likewise.
6334 (ILL_ILLADR): Likewise.
6335 (ILL_ILLTRP): Likewise.
6336 (ILL_PRVOPC): Likewise.
6337 (ILL_PRVREG): Likewise.
6338 (ILL_COPROC): Likewise.
6339 (ILL_BADSTK): Likewise.
6340 (FPE_INTDIV): Likewise.
6341 (FPE_INTOVF): Likewise.
6342 (FPE_FLTDIV): Likewise.
6343 (FPE_FLTOVF): Likewise.
6344 (FPE_FLTUND): Likewise.
6345 (FPE_FLTRES): Likewise.
6346 (FPE_FLTINV): Likewise.
6347 (FPE_FLTSUB): Likewise.
6348 (SEGV_MAPERR): Likewise.
6349 (SEGV_ACCERR): Likewise.
6350 (BUS_ADRALN): Likewise.
6351 (BUS_ADRERR): Likewise.
6352 (BUS_OBJERR): Likewise.
6353 (BUS_MCEERR_AR): Likewise.
6354 (BUS_MCEERR_AO): Likewise.
6355 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6356 (TRAP_TRACE): Likewise.
6357 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6358 __USE_XOPEN2K8].
6359 (CLD_KILLED): Likewise.
6360 (CLD_DUMPED): Likewise.
6361 (CLD_TRAPPED): Likewise.
6362 (CLD_STOPPED): Likewise.
6363 (CLD_CONTINUED): Likewise.
6364 (POLL_IN): Likewise.
6365 (POLL_OUT): Likewise.
6366 (POLL_MSG): Likewise.
6367 (POLL_ERR): Likewise.
6368 (POLL_PRI): Likewise.
6369 (POLL_HUP): Likewise.
6370 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6371 (ILL_ILLOPN): Likewise.
6372 (ILL_ILLADR): Likewise.
6373 (ILL_ILLTRP): Likewise.
6374 (ILL_PRVOPC): Likewise.
6375 (ILL_PRVREG): Likewise.
6376 (ILL_COPROC): Likewise.
6377 (ILL_BADSTK): Likewise.
6378 (FPE_INTDIV): Likewise.
6379 (FPE_INTOVF): Likewise.
6380 (FPE_FLTDIV): Likewise.
6381 (FPE_FLTOVF): Likewise.
6382 (FPE_FLTUND): Likewise.
6383 (FPE_FLTRES): Likewise.
6384 (FPE_FLTINV): Likewise.
6385 (FPE_FLTSUB): Likewise.
6386 (SEGV_MAPERR): Likewise.
6387 (SEGV_ACCERR): Likewise.
6388 (BUS_ADRALN): Likewise.
6389 (BUS_ADRERR): Likewise.
6390 (BUS_OBJERR): Likewise.
6391 (BUS_MCEERR_AR): Likewise.
6392 (BUS_MCEERR_AO): Likewise.
6393 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6394 (TRAP_TRACE): Likewise.
6395 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6396 __USE_XOPEN2K8].
6397 (CLD_KILLED): Likewise.
6398 (CLD_DUMPED): Likewise.
6399 (CLD_TRAPPED): Likewise.
6400 (CLD_STOPPED): Likewise.
6401 (CLD_CONTINUED): Likewise.
6402 (POLL_IN): Likewise.
6403 (POLL_OUT): Likewise.
6404 (POLL_MSG): Likewise.
6405 (POLL_ERR): Likewise.
6406 (POLL_PRI): Likewise.
6407 (POLL_HUP): Likewise.
6408 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
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 (BUS_MCEERR_AR): Likewise.
6430 (BUS_MCEERR_AO): Likewise.
6431 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6432 (TRAP_TRACE): Likewise.
6433 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6434 __USE_XOPEN2K8].
6435 (CLD_KILLED): Likewise.
6436 (CLD_DUMPED): Likewise.
6437 (CLD_TRAPPED): Likewise.
6438 (CLD_STOPPED): Likewise.
6439 (CLD_CONTINUED): Likewise.
6440 (POLL_IN): Likewise.
6441 (POLL_OUT): Likewise.
6442 (POLL_MSG): Likewise.
6443 (POLL_ERR): Likewise.
6444 (POLL_PRI): Likewise.
6445 (POLL_HUP): Likewise.
6446 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6447 (ILL_ILLOPN): Likewise.
6448 (ILL_ILLADR): Likewise.
6449 (ILL_ILLTRP): Likewise.
6450 (ILL_PRVOPC): Likewise.
6451 (ILL_PRVREG): Likewise.
6452 (ILL_COPROC): Likewise.
6453 (ILL_BADSTK): Likewise.
6454 (ILL_DBLFLT): Likewise.
6455 (ILL_HARDWALL): Likewise.
6456 (FPE_INTDIV): Likewise.
6457 (FPE_INTOVF): Likewise.
6458 (FPE_FLTDIV): Likewise.
6459 (FPE_FLTOVF): Likewise.
6460 (FPE_FLTUND): Likewise.
6461 (FPE_FLTRES): Likewise.
6462 (FPE_FLTINV): Likewise.
6463 (FPE_FLTSUB): Likewise.
6464 (SEGV_MAPERR): Likewise.
6465 (SEGV_ACCERR): Likewise.
6466 (BUS_ADRALN): Likewise.
6467 (BUS_ADRERR): Likewise.
6468 (BUS_OBJERR): Likewise.
6469 (BUS_MCEERR_AR): Likewise.
6470 (BUS_MCEERR_AO): Likewise.
6471 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6472 (TRAP_TRACE): Likewise.
6473 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6474 __USE_XOPEN2K8].
6475 (CLD_KILLED): Likewise.
6476 (CLD_DUMPED): Likewise.
6477 (CLD_TRAPPED): Likewise.
6478 (CLD_STOPPED): Likewise.
6479 (CLD_CONTINUED): Likewise.
6480 (POLL_IN): Likewise.
6481 (POLL_OUT): Likewise.
6482 (POLL_MSG): Likewise.
6483 (POLL_ERR): Likewise.
6484 (POLL_PRI): Likewise.
6485 (POLL_HUP): Likewise.
6486 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6487 (ILL_ILLOPN): Likewise.
6488 (ILL_ILLADR): Likewise.
6489 (ILL_ILLTRP): Likewise.
6490 (ILL_PRVOPC): Likewise.
6491 (ILL_PRVREG): Likewise.
6492 (ILL_COPROC): Likewise.
6493 (ILL_BADSTK): Likewise.
6494 (FPE_INTDIV): Likewise.
6495 (FPE_INTOVF): Likewise.
6496 (FPE_FLTDIV): Likewise.
6497 (FPE_FLTOVF): Likewise.
6498 (FPE_FLTUND): Likewise.
6499 (FPE_FLTRES): Likewise.
6500 (FPE_FLTINV): Likewise.
6501 (FPE_FLTSUB): Likewise.
6502 (SEGV_MAPERR): Likewise.
6503 (SEGV_ACCERR): Likewise.
6504 (BUS_ADRALN): Likewise.
6505 (BUS_ADRERR): Likewise.
6506 (BUS_OBJERR): Likewise.
6507 (BUS_MCEERR_AR): Likewise.
6508 (BUS_MCEERR_AO): Likewise.
6509 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6510 (TRAP_TRACE): Likewise.
6511 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6512 __USE_XOPEN2K8].
6513 (CLD_KILLED): Likewise.
6514 (CLD_DUMPED): Likewise.
6515 (CLD_TRAPPED): Likewise.
6516 (CLD_STOPPED): Likewise.
6517 (CLD_CONTINUED): Likewise.
6518 (POLL_IN): Likewise.
6519 (POLL_OUT): Likewise.
6520 (POLL_MSG): Likewise.
6521 (POLL_ERR): Likewise.
6522 (POLL_PRI): Likewise.
6523 (POLL_HUP): Likewise.
6524 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6525 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6526
bc61d27c
JM
6527 [BZ #16670]
6528 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6529 before #include of <time.h>.
6530 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6531 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6532 (test-xfail-UNIX98/sched.h/conform): Likewise.
6533
302949e2
MS
65342014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6535
6536 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6537 error absence of trapping exception support.
6538 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6539
a00f522a
JM
65402014-03-07 Joseph Myers <joseph@codesourcery.com>
6541
6f99f280
JM
6542 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6543 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6544 * timezone/Makefile (testdata): Move definition above include of
6545 Rules.
6546 (test-zones): New variable.
6547 (tests-special): Add zone files.
6548 (build-testdata): Use $(evaluate-test).
6549
0b20a9e8
JM
6550 * elf/Makefile (tests-special): Rename tests to end with .out.
6551 ($(objpfx)noload-mem): Likewise.
6552 ($(objpfx)tst-leaks1-mem): Likewise.
6553 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6554 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6555 $(objpfx)test-iconvconfig.out.
6556 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6557 set -e inside subshell and redirect output to file.
6558 * iconvdata/Makefile (generated): Rename tests to end with .out.
6559 Correct type.
6560 (tests-special): Rename tests to end with .out.
6561 ($(objpfx)mtrace-tst-loading): Likewise.
6562 * intl/Makefile (generated): Likewise.
6563 (tests-special): Likewise.
6564 ($(objpfx)mtrace-tst-gettext): Likewise.
6565 * misc/Makefile (generated): Likewise.
6566 (tests-special): Likewise.
6567 ($(objpfx)tst-error1-mem): Likewise.
6568 * nptl/Makefile (tests-special): Likewise.
6569 ($(objpfx)tst-stack3-mem): Likewise.
6570 (generated): Likewise.
6571 * posix/Makefile (generated): Likewise.
6572 (tests-special): Likewise.
6573 (xtests-special): Likewise.
6574 ($(objpfx)tst-fnmatch-mem): Likewise.
6575 ($(objpfx)bug-regex2-mem): Likewise.
6576 ($(objpfx)bug-regex14-mem): Likewise.
6577 ($(objpfx)bug-regex21-mem): Likewise.
6578 ($(objpfx)bug-regex31-mem): Likewise.
6579 ($(objpfx)tst-vfork3-mem): Likewise.
6580 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6581 ($(objpfx)tst-pcre-mem): Likewise.
6582 ($(objpfx)tst-boost-mem): Likewise.
6583 ($(objpfx)bug-ga2-mem): Likewise.
6584 ($(objpfx)bug-glob2-mem): Likewise.
6585 * resolv/Makefile (generate): Likewise.
6586 (tests-special): Likewise.
6587 (xtests-special): Likewise.
6588 (generated): Likewise.
6589 ($(objpfx)mtrace-tst-leaks): Likewise.
6590 ($(objpfx)mtrace-tst-leaks2): Likewise.
6591
265d52ab
JM
6592 * scripts/merge-test-results.sh: New file.
6593 * Makefile (tests-special-notdir): New variable.
6594 (tests): Run merge-test-results.sh.
6595 (xtests): Likewise.
6596 * Rules (tests-special-notdir): New variable.
6597 (xtests-special-notdir): Likewise.
6598 (tests): Run merge-test-results.sh
6599 (xtests): Likewise.
6600
54ee292d
JM
6601 * Makeconfig (test-xfail-name): New variable.
6602 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6603 compute variable name for expected failures.
6604 * conform/Makefile (conformtest-headers-data): New variable.
6605 (conformtest-standards): Likewise.
6606 (conformtest-headers-ISO): Likewise.
6607 (conformtest-headers-ISO99): Likewise.
6608 (conformtest-headers-ISO11): Likewise.
6609 (conformtest-headers-POSIX): Likewise.
6610 (conformtest-headers-XPG3): Likewise.
6611 (conformtest-headers-XPG4): Likewise.
6612 (conformtest-headers-UNIX98): Likewise.
6613 (conformtest-headers-XOPEN2K): Likewise.
6614 (conformtest-headers-POSIX2008): Likewise.
6615 (conformtest-headers-XOPEN2K8): Likewise.
6616 (conformtest-header-list-base): Likewise.
6617 (conformtest-header-list-tests): Likewise.
6618 (conformtest-header-base): Likewise.
6619 (conformtest-header-tests): Likewise.
6620 (tests-special): Add $(conformtest-header-list-tests). If
6621 [$(fast-check) && !$(cross-compiling)], add
6622 $(conformtest-header-tests) instead of
6623 $(objpfx)run-conformtest.out.
6624 (generated): Add $(conformtest-header-list-base). If
6625 [$(fast-check) && !$(cross-compiling)], add
6626 $(conformtest-header-base). Remove previous setting.
6627 ($(conformtest-header-list-tests)): New target.
6628 (test-xfail-run-conformtest): Remove variable.
6629 ($(objpfx)run-conformtest.out): Remove target.
6630 (test-xfail-ISO11/complex.h/conform): New variable.
6631 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6632 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6633 (test-xfail-XPG3/varargs.h/conform): Likewise.
6634 (test-xfail-XPG4/varargs.h/conform): Likewise.
6635 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6636 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6637 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6638 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6639 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6640 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6641 (test-xfail-XPG3/ftw.h/conform): Likewise.
6642 (test-xfail-XPG3/grp.h/conform): Likewise.
6643 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6644 (test-xfail-XPG3/limits.h/conform): Likewise.
6645 (test-xfail-XPG3/pwd.h/conform): Likewise.
6646 (test-xfail-XPG3/search.h/conform): Likewise.
6647 (test-xfail-XPG3/signal.h/conform): Likewise.
6648 (test-xfail-XPG3/stdio.h/conform): Likewise.
6649 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6650 (test-xfail-XPG3/string.h/conform): Likewise.
6651 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6652 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6653 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6654 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6655 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6656 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6657 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6658 (test-xfail-XPG3/termios.h/conform): Likewise.
6659 (test-xfail-XPG3/time.h/conform): Likewise.
6660 (test-xfail-XPG3/unistd.h/conform): Likewise.
6661 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6662 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6663 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6664 (test-xfail-XPG4/netdb.h/conform): Likewise.
6665 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6666 (test-xfail-XPG4/signal.h/conform): Likewise.
6667 (test-xfail-XPG4/stdio.h/conform): Likewise.
6668 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6669 (test-xfail-XPG4/stropts.h/conform): Likewise.
6670 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6671 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6672 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6673 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6674 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6675 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6676 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6677 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6678 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6679 (test-xfail-XPG4/termios.h/conform): Likewise.
6680 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6681 (test-xfail-XPG4/unistd.h/conform): Likewise.
6682 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6683 (test-xfail-POSIX/sched.h/conform): Likewise.
6684 (test-xfail-POSIX/signal.h/conform): Likewise.
6685 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6686 (test-xfail-POSIX/tar.h/conform): Likewise.
6687 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6688 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6689 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6690 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6691 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6692 (test-xfail-UNIX98/sched.h/conform): Likewise.
6693 (test-xfail-UNIX98/signal.h/conform): Likewise.
6694 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6695 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6696 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6697 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6698 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6699 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6700 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6701 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6702 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6703 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6704 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6705 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6706 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6707 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6708 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6709 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6710 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6711 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6712 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6713 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6714 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6715 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6716 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6717 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6718 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6719 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6720 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6721 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6722 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6723 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6724 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6725 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6726 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6727 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6728 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6729 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6730 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6731 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6732 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6733 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6734 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6735 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6736 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6737 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6738 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6739 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6740 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6741 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6742 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6743 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6744 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6745 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6746 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6747 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6748 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6749 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6750 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6751 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6752 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6753 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6754 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6755 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6756 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6757 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6758 (conformtest-cc-flags): Likewise.
6759 ($(conformtest-header-tests): New target.
6760 * conform/check-header-lists.sh: New file.
6761 * conform/run-conformtest.sh: Remove.
6762
a00f522a
JM
6763 * conform/conformtest.pl: Allow ' and \ in values given for
6764 constants.
6765 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6766 inclusion.
6767 [POSIX] (sys/types.h): Likewise.
6768 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6769 inclusion.
6770 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6771 inclusion.
6772 * conform/data/signal.h-data (SIGIO): Remove expectation.
6773 [XPG3] (SIGBUS): Do not expect.
6774 [POSIX || XPG3] (SIGPOLL): Likewise.
6775 [POSIX || XPG3] (SIGPROF): Likewise.
6776 [POSIX || XPG3] (SIGSYS): Likewise.
6777 [XPG3] (SIGTRAP): Likewise.
6778 [POSIX || XPG3] (SIGURG): Likewise.
6779 [POSIX || XPG3] (SIGVTALRM): Likewise.
6780 [POSIX || XPG3] (SIGXCPU): Likewise.
6781 [POSIX || XPG3] (SIGXFSZ): Likewise.
6782 [POSIX] (SA_SIGINFO): Expect.
6783 [XPG3] (siginfo_t): Do not expect type or contents.
6784 [POSIX] (si_pid): Do not expect element.
6785 [POSIX] (si_uid): Likewise.
6786 [POSIX] (si_addr): Likewise.
6787 [POSIX] (si_status): Likewise.
6788 [POSIX] (si_band): Likewise.
6789 [XPG4] (si_value): Likewise.
6790 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6791 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6792 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6793 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6794 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6795 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6796 [POSIX || XPG3] (ILL_COPROC): Likewise.
6797 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6798 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6799 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6800 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6801 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6802 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6803 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6804 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6805 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6806 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6807 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6808 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6809 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6810 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6811 [POSIX || XPG3] (CLD_EXITED): Likewise.
6812 [POSIX || XPG3] (CLD_KILLED): Likewise.
6813 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6814 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6815 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6816 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6817 [POSIX || XPG3] (POLL_IN): Likewise.
6818 [POSIX || XPG3] (POLL_OUT): Likewise.
6819 [POSIX || XPG3] (POLL_MSG): Likewise.
6820 [POSIX || XPG3] (POLL_ERR): Likewise.
6821 [POSIX || XPG3] (POLL_PRI): Likewise.
6822 [POSIX || XPG3] (POLL_HUP): Likewise.
6823 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6824 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6825 (SIG*): Do not allow.
6826 [XPG3] (si_*): Likewise.
6827 [XPG3] (SI_*): Likewise.
6828 [XPG3 || XPG4] (sigev_*): Likewise.
6829 [XPG3 || XPG4] (SIGEV_*): Likewise.
6830 [XPG3 || XPG4] (sival_*): Likewise.
6831 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6832 [POSIX || XPG3] (BUS_*): Likewise.
6833 [POSIX || XPG3] (CLD_*): Likewise.
6834 [POSIX || XPG3] (FPE_*): Likewise.
6835 [POSIX || XPG3] (ILL_*): Likewise.
6836 [POSIX || XPG3] (POLL_*): Likewise.
6837 [POSIX || XPG3] (SEGV_*): Likewise.
6838 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6839 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6840 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6841 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6842 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6843 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6844 Specify type and value.
6845 (TVERSLEN): Likewise.
6846 (REGTYPE): Likewise.
6847 (AREGTYPE): Likewise.
6848 (LNKTYPE): Likewise.
6849 (SYMTYPE): Likewise.
6850 (CHRTYPE): Likewise.
6851 (BLKTYPE): Likewise.
6852 (DIRTYPE): Likewise.
6853 (FIFOTYPE): Likewise.
6854 (CONTTYPE): Likewise.
6855 (TSUID): Likewise.
6856 (TSGID): Likewise.
6857 (TSVTX): Likewise.
6858 (TUREAD): Likewise.
6859 (TUWRITE): Likewise.
6860 (TUEXEC): Likewise.
6861 (TGREAD): Likewise.
6862 (TGWRITE): Likewise.
6863 (TGEXEC): Likewise.
6864 (TOREAD): Likewise.
6865 (TOWRITE): Likewise.
6866 (TOEXEC): Likewise.
6867 [POSIX] (TSVTX): Expect constant.
6868
aa97dee1
JM
68692014-03-06 Joseph Myers <joseph@codesourcery.com>
6870
f214606a
JM
6871 * Makefile (tests): Change dependencies to ....
6872 (tests-special): ... additions to this variable.
6873 (tests): Depend on $(tests-special).
6874 * Makerules (check-abi-list): New variable.
6875 (check-abi): Depend on $(check-abi-list).
6876 [$(subdir) = elf] (tests-special): Add
6877 $(objpfx)check-abi-libc.out.
6878 [$(build-shared) = yes && subdir] (tests-special): Add
6879 $(check-abi-list).
6880 [$(build-shared) = yes && subdir] (tests): Do not depend on
6881 check-abi.
6882 * Rules (tests): Depend on $(tests-special).
6883 (xtests): Depend on $(xtests-special).
6884 * catgets/Makefile (tests): Change dependencies to ....
6885 (tests-special): ... additions to this variable.
6886 * conform/Makefile (tests): Change dependencies to ....
6887 (tests-special): ... additions to this variable.
6888 * elf/Makefile (tests): Change dependencies to ....
6889 (tests-special): ... additions to this variable.
6890 * grp/Makefile (tests): Change dependencies to ....
6891 (tests-special): ... additions to this variable.
6892 * iconv/Makefile (xtests): Change dependencies to ....
6893 (xtests-special): ... additions to this variable.
6894 * iconvdata/Makefile (tests): Change dependencies to ....
6895 (tests-special): ... additions to this variable.
6896 * intl/Makefile (tests): Change dependencies to ....
6897 (tests-special): ... additions to this variable. Also add
6898 $(objpfx)tst-gettext.out.
6899 * io/Makefile (tests): Change dependencies to ....
6900 (tests-special): ... additions to this variable.
6901 * libio/Makefile (tests): Change dependencies to ....
6902 (tests-special): ... additions to this variable.
6903 * malloc/Makefile (tests): Change dependencies to ....
6904 (tests-special): ... additions to this variable.
6905 * misc/Makefile (tests): Change dependencies to ....
6906 (tests-special): ... additions to this variable.
6907 * nptl/Makefile (tests): Change dependencies to ....
6908 (tests-special): ... additions to this variable.
6909 * nptl_db/Makefile (tests): Change dependencies to ....
6910 (tests-special): ... additions to this variable.
6911 * posix/Makefile (tests): Change dependencies to ....
6912 (tests-special): ... additions to this variable.
6913 (xtests): Change dependencies to ....
6914 (xtests-special): ... additions to this variable.
6915 * resolv/Makefile (tests): Change dependencies to ....
6916 (tests-special): ... additions to this variable.
6917 (xtests): Change dependencies to ....
6918 (xtests-special): ... additions to this variable.
6919 * stdio-common/Makefile (tests): Change dependencies to ....
6920 (tests-special): ... additions to this variable.
6921 (do-tst-unbputc): Remove target.
6922 (do-tst-printf): Likewise.
6923 * stdlib/Makefile (tests): Change dependencies to ....
6924 (tests-special): ... additions to this variable.
6925 * string/Makefile (tests): Change dependencies to ....
6926 (tests-special): ... additions to this variable.
6927 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6928 (tests-special): ... additions to this variable.
6929
81700b53
JM
6930 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6931 whole file.
6932 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6933 whole file.
6934 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6935 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6936
2ea18461
JM
6937 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6938 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6939 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6940 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6941 * conform/data/libgen.h-data [XPG3]: Likewise.
6942 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6943 * conform/data/ndbm.h-data [XPG3]: Likewise.
6944 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6945 * conform/data/netdb.h-data [XPG3]: Likewise.
6946 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6947 * conform/data/poll.h-data [XPG3]: Likewise.
6948 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6949 * conform/data/strings.h-data [XPG3]: Likewise.
6950 * conform/data/stropts.h-data [XPG3]: Likewise.
6951 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6952 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6953 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6954 Likewise.
6955 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6956 * conform/data/sys/time.h-data [XPG3]: Likewise.
6957 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6958 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6959 * conform/data/sys/un.h-data [XPG3]: Likewise.
6960 * conform/data/syslog.h-data [XPG3]: Likewise.
6961 * conform/data/ucontext.h-data [XPG3]: Likewise.
6962 * conform/data/utmpx.h-data [XPG3]: Likewise.
6963 * conform/data/varargs.h-data [UNIX98]: Enable file.
6964
355bc986
JM
6965 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6966
215db402
JM
6967 * math/libm-test.inc (struct test_f_f_data): Move expected results
6968 into structure for each rounding mode.
6969 (struct test_ff_f_data): Likewise.
6970 (struct test_ff_f_data_nexttoward): Likewise.
6971 (struct test_fi_f_data): Likewise.
6972 (struct test_fl_f_data): Likewise.
6973 (struct test_if_f_data): Likewise.
6974 (struct test_fff_f_data): Likewise.
6975 (struct test_c_f_data): Likewise.
6976 (struct test_f_f1_data): Likewise.
6977 (struct test_fF_f1_data): Likewise.
6978 (struct test_ffI_f1_data): Likewise.
6979 (struct test_c_c_data): Likewise.
6980 (struct test_cc_c_data): Likewise.
6981 (struct test_f_i_data): Likewise.
6982 (struct test_ff_i_data): Likewise.
6983 (struct test_f_l_data): Likewise.
6984 (struct test_f_L_data): Likewise.
6985 (struct test_fFF_11_data): Likewise.
6986 (RM_): New macro.
6987 (RM_FE_DOWNWARD): Likewise.
6988 (RM_FE_TONEAREST): Likewise.
6989 (RM_FE_TOWARDZERO): Likewise.
6990 (RM_FE_UPWARD): Likewise.
6991 (RUN_TEST_LOOP_f_f): Update references to expected results.
6992 (RUN_TEST_LOOP_2_f): Likewise.
6993 (RUN_TEST_LOOP_fff_f): Likewise.
6994 (RUN_TEST_LOOP_c_f): Likewise.
6995 (RUN_TEST_LOOP_f_f1): Likewise.
6996 (RUN_TEST_LOOP_fF_f1): Likewise.
6997 (RUN_TEST_LOOP_fI_f1): Likewise.
6998 (RUN_TEST_LOOP_ffI_f1): Likewise.
6999 (RUN_TEST_LOOP_c_c): Likewise.
7000 (RUN_TEST_LOOP_cc_c): Likewise.
7001 (RUN_TEST_LOOP_f_i): Likewise.
7002 (RUN_TEST_LOOP_f_i_tg): Likewise.
7003 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7004 (RUN_TEST_LOOP_f_b): Likewise.
7005 (RUN_TEST_LOOP_f_b_tg): Likewise.
7006 (RUN_TEST_LOOP_f_l): Likewise.
7007 (RUN_TEST_LOOP_f_L): Likewise.
7008 (RUN_TEST_LOOP_fFF_11): Likewise.
7009 * math/gen-libm-test.pl (parse_args): Output four copies of
7010 expected results for each test.
7011
67737b8f
JM
7012 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7013 (__ASSUME_UTIMES): Remove.
7014 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7015 (__ASSUME_UTIMES): Likewise.
7016
aa97dee1
JM
7017 * math/gen-auto-libm-tests.c: Update comment on output format.
7018 (output_for_one_input_case): Generate before-rounding and
7019 after-rounding information as conditions on output flags not
7020 floating-point format.
7021 * math/auto-libm-test-out: Regenerated.
7022 * math/gen-libm-test.pl (cond_value): New function.
7023 (or_cond_value): Use cond_value.
7024 (generate_testfile): Handle conditional exceptions.
7025
e6b6a857
JM
70262014-03-05 Joseph Myers <joseph@codesourcery.com>
7027
2f0a0f44
JM
7028 * math/libm-test.inc (max_valid_error): New variable.
7029 (init_max_error): Take new argument specifying whether function
7030 results are exactly determined. Set max_valid_error and bound
7031 other variables for errors based on this argument.
7032 (set_max_error): Do not record results above max_valid_error.
7033 (check_float_internal): Only accept errors of up to 0.5ulps if
7034 also at most max_valid_error.
7035 (START): Take new argument EXACT and pass it to init_max_error.
7036 (acos_test): Update call to START.
7037 (acos_test_tonearest): Likewise.
7038 (acos_test_towardzero): Likewise.
7039 (acos_test_downward): Likewise.
7040 (acos_test_upward): Likewise.
7041 (acosh_test): Likewise.
7042 (asin_test): Likewise.
7043 (asin_test_tonearest): Likewise.
7044 (asin_test_towardzero): Likewise.
7045 (asin_test_downward): Likewise.
7046 (asin_test_upward): Likewise.
7047 (asinh_test): Likewise.
7048 (atan_test): Likewise.
7049 (atanh_test): Likewise.
7050 (atan2_test): Likewise.
7051 (cabs_test): Likewise.
7052 (cacos_test): Likewise.
7053 (cacosh_test): Likewise.
7054 (carg_test): Likewise.
7055 (casin_test): Likewise.
7056 (casinh_test): Likewise.
7057 (catan_test): Likewise.
7058 (catanh_test): Likewise.
7059 (cbrt_test): Likewise.
7060 (ccos_test): Likewise.
7061 (ccosh_test): Likewise.
7062 (ceil_test): Likewise.
7063 (cexp_test): Likewise.
7064 (cimag_test): Likewise.
7065 (clog_test): Likewise.
7066 (clog10_test): Likewise.
7067 (conj_test): Likewise.
7068 (copysign_test): Likewise.
7069 (cos_test): Likewise.
7070 (cos_test_tonearest): Likewise.
7071 (cos_test_towardzero): Likewise.
7072 (cos_test_downward): Likewise.
7073 (cos_test_upward): Likewise.
7074 (cosh_test): Likewise.
7075 (cosh_test_tonearest): Likewise.
7076 (cosh_test_towardzero): Likewise.
7077 (cosh_test_downward): Likewise.
7078 (cosh_test_upward): Likewise.
7079 (cpow_test): Likewise.
7080 (cproj_test): Likewise.
7081 (creal_test): Likewise.
7082 (csin_test): Likewise.
7083 (csinh_test): Likewise.
7084 (csqrt_test): Likewise.
7085 (ctan_test): Likewise.
7086 (ctan_test_tonearest): Likewise.
7087 (ctan_test_towardzero): Likewise.
7088 (ctan_test_downward): Likewise.
7089 (ctan_test_upward): Likewise.
7090 (ctanh_test): Likewise.
7091 (ctanh_test_tonearest): Likewise.
7092 (ctanh_test_towardzero): Likewise.
7093 (ctanh_test_downward): Likewise.
7094 (ctanh_test_upward): Likewise.
7095 (erf_test): Likewise.
7096 (erfc_test): Likewise.
7097 (exp_test): Likewise.
7098 (exp_test_tonearest): Likewise.
7099 (exp_test_towardzero): Likewise.
7100 (exp_test_downward): Likewise.
7101 (exp_test_upward): Likewise.
7102 (exp10_test): Likewise.
7103 (exp10_test_tonearest): Likewise.
7104 (exp10_test_towardzero): Likewise.
7105 (exp10_test_downward): Likewise.
7106 (exp10_test_upward): Likewise.
7107 (pow10_test): Likewise.
7108 (exp2_test): Likewise.
7109 (expm1_test): Likewise.
7110 (expm1_test_tonearest): Likewise.
7111 (expm1_test_towardzero): Likewise.
7112 (expm1_test_downward): Likewise.
7113 (expm1_test_upward): Likewise.
7114 (fabs_test): Likewise.
7115 (fdim_test): Likewise.
7116 (floor_test): Likewise.
7117 (fma_test): Likewise.
7118 (fma_test_towardzero): Likewise.
7119 (fma_test_downward): Likewise.
7120 (fma_test_upward): Likewise.
7121 (fmax_test): Likewise.
7122 (fmin_test): Likewise.
7123 (fmod_test): Likewise.
7124 (fpclassify_test): Likewise.
7125 (frexp_test): Likewise.
7126 (hypot_test): Likewise.
7127 (ilogb_test): Likewise.
7128 (isfinite_test): Likewise.
7129 (finite_test): Likewise.
7130 (isgreater_test): Likewise.
7131 (isgreaterequal_test): Likewise.
7132 (isinf_test): Likewise.
7133 (isless_test): Likewise.
7134 (islessequal_test): Likewise.
7135 (islessgreater_test): Likewise.
7136 (isnan_test): Likewise.
7137 (isnormal_test): Likewise.
7138 (issignaling_test): Likewise.
7139 (isunordered_test): Likewise.
7140 (j0_test): Likewise.
7141 (j1_test): Likewise.
7142 (jn_test): Likewise.
7143 (ldexp_test): Likewise.
7144 (lgamma_test): Likewise.
7145 (gamma_test): Likewise.
7146 (lrint_test): Likewise.
7147 (lrint_test_tonearest): Likewise.
7148 (lrint_test_towardzero): Likewise.
7149 (lrint_test_downward): Likewise.
7150 (lrint_test_upward): Likewise.
7151 (llrint_test): Likewise.
7152 (llrint_test_tonearest): Likewise.
7153 (llrint_test_towardzero): Likewise.
7154 (llrint_test_downward): Likewise.
7155 (llrint_test_upward): Likewise.
7156 (log_test): Likewise.
7157 (log10_test): Likewise.
7158 (log1p_test): Likewise.
7159 (log2_test): Likewise.
7160 (logb_test): Likewise.
7161 (logb_test_downward): Likewise.
7162 (lround_test): Likewise.
7163 (llround_test): Likewise.
7164 (modf_test): Likewise.
7165 (nearbyint_test): Likewise.
7166 (nextafter_test): Likewise.
7167 (nexttoward_test): Likewise.
7168 (pow_test): Likewise.
7169 (pow_test_tonearest): Likewise.
7170 (pow_test_towardzero): Likewise.
7171 (pow_test_downward): Likewise.
7172 (pow_test_upward): Likewise.
7173 (remainder_test): Likewise.
7174 (drem_test): Likewise.
7175 (remainder_test_tonearest): Likewise.
7176 (drem_test_tonearest): Likewise.
7177 (remainder_test_towardzero): Likewise.
7178 (drem_test_towardzero): Likewise.
7179 (remainder_test_downward): Likewise.
7180 (drem_test_downward): Likewise.
7181 (remainder_test_upward): Likewise.
7182 (drem_test_upward): Likewise.
7183 (remquo_test): Likewise.
7184 (rint_test): Likewise.
7185 (rint_test_tonearest): Likewise.
7186 (rint_test_towardzero): Likewise.
7187 (rint_test_downward): Likewise.
7188 (rint_test_upward): Likewise.
7189 (round_test): Likewise.
7190 (scalb_test): Likewise.
7191 (scalbn_test): Likewise.
7192 (scalbln_test): Likewise.
7193 (signbit_test): Likewise.
7194 (sin_test): Likewise.
7195 (sin_test_tonearest): Likewise.
7196 (sin_test_towardzero): Likewise.
7197 (sin_test_downward): Likewise.
7198 (sin_test_upward): Likewise.
7199 (sincos_test): Likewise.
7200 (sinh_test): Likewise.
7201 (sinh_test_tonearest): Likewise.
7202 (sinh_test_towardzero): Likewise.
7203 (sinh_test_downward): Likewise.
7204 (sinh_test_upward): Likewise.
7205 (sqrt_test): Likewise.
7206 (sqrt_test_tonearest): Likewise.
7207 (sqrt_test_towardzero): Likewise.
7208 (sqrt_test_downward): Likewise.
7209 (sqrt_test_upward): Likewise.
7210 (tan_test): Likewise.
7211 (tan_test_tonearest): Likewise.
7212 (tan_test_towardzero): Likewise.
7213 (tan_test_downward): Likewise.
7214 (tan_test_upward): Likewise.
7215 (tanh_test): Likewise.
7216 (tgamma_test): Likewise.
7217 (trunc_test): Likewise.
7218 (y0_test): Likewise.
7219 (y1_test): Likewise.
7220 (yn_test): Likewise.
7221 (significand_test): Likewise.
7222
e6b6a857
JM
7223 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7224 individual tests in comment.
7225 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7226 (prev_max_error): New variable.
7227 (prev_real_max_error): Likewise.
7228 (prev_imag_max_error): Likewise.
7229 (compare_ulp_data): Don't refer to test names in comment.
7230 (find_test_ulps): Remove function.
7231 (find_function_ulps): Likewise.
7232 (find_complex_function_ulps): Likewise.
7233 (init_max_error): Take function name as argument. Look up ulps
7234 for that function.
7235 (print_ulps): Remove function.
7236 (print_max_error): Use prev_max_error instead of calling
7237 find_function_ulps.
7238 (print_complex_max_error): Use prev_real_max_error and
7239 prev_imag_max_error instead of calling find_complex_function_ulps.
7240 (check_float_internal): Take max_ulp parameter instead of calling
7241 find_test_ulps. Don't call print_ulps.
7242 (check_float): Update call to check_float_internal.
7243 (check_complex): Update calls to check_float_internal.
7244 (START): Pass argument to init_max_error.
7245 * math/gen-libm-test.pl (%results): Don't include "kind"
7246 information.
7247 (parse_ulps): Don't handle ulps of individual tests.
7248 (print_ulps_file): Likewise.
7249 (output_ulps): Likewise.
7250 * math/README.libm-test: Update.
7251 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7252 individual tests.
7253 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7254 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7255 * sysdeps/arm/libm-test-ulps: Likewise.
7256 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7257 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7258 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7259 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7260 * sysdeps/microblaze/libm-test-ulps: Likewise.
7261 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7262 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7263 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7264 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7265 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7266 * sysdeps/sh/libm-test-ulps: Likewise.
7267 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7268 * sysdeps/tile/libm-test-ulps: Likewise.
7269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7270
45adef3c
JM
72712014-03-04 Joseph Myers <joseph@codesourcery.com>
7272
7273 * math/libm-test.inc (print_complex_max_error): Check separately
7274 whether real and imaginary errors are within allowed range and
7275 pass 0 to print_complex_function_ulps instead of value within
7276 allowed range.
7277
000232b9
SP
72782014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7279
d4b17258
SP
7280 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7281 formatting.
7282 (get_handles_fopen): Likewise.
7283 (do_write_test): Likewise.
7284
091eff71
SP
7285 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7286
fa3cd248
SP
7287 * libio/fileops.c (do_ftell): Use cached offset when
7288 available.
7289 * libio/iofwide.c (do_ftell_wide): Likewise.
7290 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7291 _IO_file_attach.
7292 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7293
000232b9
SP
7294 [BZ #16532]
7295 * libio/libioP.h (get_file_offset): New function.
7296 * libio/fileops.c (get_file_offset): Likewise.
7297 (do_ftell): Likewise.
7298 (_IO_new_file_seekoff): Split out ftell logic.
7299 * libio/wfileops.c (do_ftell_wide): Likewise.
7300 (_IO_wfile_seekoff): Split out ftell logic.
7301 * libio/tst-ftell-active-handler.c: New test case.
7302 * libio/Makefile (tests): Add it.
7303
116f4d1a
RM
73042014-03-03 Roland McGrath <roland@hack.frob.com>
7305
7306 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7307 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7308
532a6035
SP
73092014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7310
7311 [BZ #16639]
7312 * nscd/connections.c (nscd_init): Call do_exit.
7313 (start_threads): Call do_exit and notify_parent.
7314 (begin_drop_privileges): Call do_exit.
7315 (finish_drop_privileges): Likewise.
7316 * nscd/selinux.c (preserve_capabilities): Likewise.
7317 (install_real_capabilities): Likewise.
7318 (nscd_selinux_enabled): Likewise.
7319 (avc_create_thread): Likewise.
7320 (avc_alloc_lock): Likewise.
7321 (nscd_avc_init): Likewise.
7322 * nscd/nscd.c (parent_fd): New static variable.
7323 (main): Create a pipe between parent and child processes.
7324 Skip closing parent_fd.
7325 (monitor_child): New function.
7326 (do_exit): Likewise.
7327 (notify_parent): Likewise.
7328 * nscd/nscd.h (notify_parent): Likewise.
7329 (do_exit): Likewise.
7330
d6285c9f
CD
73312014-03-03 Carlos O'Donell <carlos@redhat.com>
7332
7333 * malloc/malloc.c (__libc_calloc): Revert last change.
7334
2b85d2a0
AZ
73352014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7336
7337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7338
c7debbdf
RS
73392014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7340
7341 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7343 implementation.
7344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7345 (__libc_ifunc_impl_list): Likewise.
7346 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7347 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7348 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7349 * string/strrchr.c: Define STRRCHR.
7350
235eed86
OB
73512014-02-28 Ondřej Bílka <neleai@seznam.cz>
7352
7353 * benchtest/bench-strtok.c (simple_strtok): Delete.
7354 (strtok_string): Use as benchmark.
7355 * string/strtok (STRTOK): New macro.
7356
8e25d1e7
CD
73572014-02-28 Carlos O'Donell <carlos@redhat.com>
7358
ef563f92
CD
7359 * manual/threads.texi: Add header and standard comments to all
7360 functions.
7361
8e25d1e7
CD
7362 * elf/dl-lookup.c (check_match): New function.
7363 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7364 (do_lookup_x): Remove nested function check_match. Use non-nested
7365 function check_match.
7366
ff71cc37
RM
73672014-02-28 Roland McGrath <roland@hack.frob.com>
7368
f08e9a26
RM
7369 * csu/Makefile (generated, before-compile): Use += rather than =.
7370 * catgets/Makefile (generated, generated-dirs): Likewise.
7371 * debug/Makefile (generated): Likewise.
7372 * dlfcn/Makefile (generated): Likewise.
7373 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7374 * iconvdata/Makefile (before-compile, generated): Likewise.
7375 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7376 * libio/Makefile (generated): Likewise.
7377 * malloc/Makefile (generated): Likewise.
7378 * manual/Makefile (generated, generated-dirs): Likewise.
7379 * misc/Makefile (generated): Likewise.
7380 * posix/Makefile (generated): Likewise.
7381 * resolv/Makefile (generated): Likewise.
7382 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7383 * timezone/Makefile (generated, generated-dirs): Likewise.
7384
ff71cc37
RM
7385 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7386
fe13a20c
AZ
73872014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7388
57f41c40
AS
7389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7390 power8 implementation.
7391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7392 file: POWER8 llround ifunc implementation.
7393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7394 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
7395 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7396 POWER8 llround implementation.
7397
57f41c40
AS
7398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7399 power8 implementation.
7400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7401 file: POWER8 llrint ifunc implementation.
7402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7403 Add POWER8 implementation.
1ad8950a
AZ
7404 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7405 POWER8 llrint implementation.
7406
57f41c40
AS
7407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7408 power8 implementation.
7409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7410 file: POWER8 finite ifunc implementation.
7411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7412 Add POWER8 implementation.
cac626d6
AZ
7413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7414 Likewise.
7415 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7416 POWER8 finite implementation.
7417 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7418
57f41c40
AS
7419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7420 power8 implementation.
7421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7422 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
7423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7424 POWER8 implementation.
7425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7426 Likewise.
57f41c40
AS
7427 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7428 isinf implementation.
4393fc11
AZ
7429 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7430
57f41c40
AS
7431 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7432 (INIT_ARCH): Add hwcap2 initialization.
7433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7434 power8 implementation.
7435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7436 file: POWER8 isnan ifunc implementation.
487972ae
AZ
7437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7438 POWER8 implementation.
7439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7440 Likewise.
57f41c40
AS
7441 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7442 isnan implementation.
487972ae
AZ
7443 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7444
7d92b787
JY
74452014-02-27 Joey Ye <joey.ye@arm.com>
7446
7447 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7448 (_FP_NANFRAC_Q): Set to zero.
7449
1cadc858
SP
74502014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7451
7452 [BZ #16623]
7453 * math/auto-libm-test-in: New test inputs.
7454 * math/auto-libm-test-out: Regenerate.
7455 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7456 and DA.
7457 (__cos): Likewise.
7458 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7459
f8c17e79
JM
74602014-02-27 Joseph Myers <joseph@codesourcery.com>
7461
7462 * scripts/evaluate-test.sh: Take new argument indicating whether
7463 failure is expected.
7464 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7465 indicating whether failure is expected.
7466 * conform/Makefile (test-xfail-run-conformtest): New variable.
7467 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7468 level.
7469 * posix/Makefile (test-xfail-annexc): New variable.
7470 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7471
a5f891ac
JM
74722014-02-26 Joseph Myers <joseph@codesourcery.com>
7473
7474 * argp/Makefile: Include Makeconfig immediately after defining
7475 subdir.
7476 * assert/Makefile: Likewise.
7477 * benchtests/Makefile: Likewise.
7478 * catgets/Makefile: Likewise.
7479 * conform/Makefile: Likewise.
7480 * crypt/Makefile: Likewise.
7481 * csu/Makefile: Likewise.
7482 (all): Remove target.
7483 * ctype/Makefile: Include Makeconfig immediately after defining
7484 subdir.
7485 * debug/Makefile: Likewise.
7486 * dirent/Makefile: Likewise.
7487 * dlfcn/Makefile: Likewise.
7488 * gmon/Makefile: Likewise.
7489 * gnulib/Makefile: Likewise.
7490 * grp/Makefile: Likewise.
7491 * gshadow/Makefile: Likewise.
7492 * hesiod/Makefile: Likewise.
7493 * hurd/Makefile: Likewise.
7494 (all): Remove target.
7495 * iconvdata/Makefile: Include Makeconfig immediately after
7496 defining subdir.
7497 * inet/Makefile: Likewise.
7498 * intl/Makefile: Likewise.
7499 * io/Makefile: Likewise.
7500 * libio/Makefile: Likewise.
7501 (all): Remove target.
7502 * locale/Makefile: Include Makeconfig immediately after defining
7503 subdir.
7504 * login/Makefile: Likewise.
7505 * mach/Makefile: Likewise.
7506 (all): Remove target.
7507 * malloc/Makefile: Include Makeconfig immediately after defining
7508 subdir.
7509 (all): Remove target.
7510 * manual/Makefile: Include Makeconfig immediately after defining
7511 subdir.
7512 * math/Makefile: Likewise.
7513 * misc/Makefile: Likewise.
7514 * nis/Makefile: Likewise.
7515 * nss/Makefile: Likewise.
7516 * po/Makefile: Likewise.
7517 (all): Remove target.
7518 * posix/Makefile: Include Makeconfig immediately after defining
7519 subdir.
7520 * pwd/Makefile: Likewise.
7521 * resolv/Makefile: Likewise.
7522 * resource/Makefile: Likewise.
7523 * rt/Makefile: Likewise.
7524 * setjmp/Makefile: Likewise.
7525 * shadow/Makefile: Likewise.
7526 * signal/Makefile: Likewise.
7527 * socket/Makefile: Likewise.
7528 * soft-fp/Makefile: Likewise.
7529 * stdio-common/Makefile: Likewise.
7530 * stdlib/Makefile: Likewise.
7531 * streams/Makefile: Likewise.
7532 * string/Makefile: Likewise.
7533 * sunrpc/Makefile: Likewise.
7534 (all): Remove target.
7535 * sysvipc/Makefile: Include Makeconfig immediately after defining
7536 subdir.
7537 * termios/Makefile: Likewise.
7538 * time/Makefile: Likewise.
7539 * timezone/Makefile: Likewise.
7540 (all): Remove target.
7541 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7542 subdir.
7543 * wctype/Makefile: Likewise.
7544
5b456e9d
SE
75452014-02-26 Steve Ellcey <sellcey@mips.com>
7546
7547 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7548 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7549 (libc_feholdexcept_setround_mips): Ditto.
7550 (libc_feholdsetround): New.
7551 (libc_feholdsetroundf): New.
7552 (libc_feholdsetroundl): New.
7553 (libc_feupdateenv_test_mips): New.
7554 (libc_feupdateenv_test): New.
7555 (libc_feupdateenv_testf): New.
7556 (libc_feupdateenv_testl): New.
7557 (libc_feresetround): New.
7558 (libc_feresetroundf): New.
7559 (libc_feresetroundl): New.
7560 (libc_fetestexcept_mips): New.
7561 (libc_fetestexcept): New.
7562 (libc_fetestexceptf): New.
7563 (libc_fetestexceptl): New.
7564 (HAVE_RM_CTX): New.
7565 (libc_feholdexcept_setround_mips_ctx): New.
7566 (libc_feholdexcept_setround_ctx): New.
7567 (libc_feholdexcept_setroundf_ctx): New.
7568 (libc_feholdexcept_setroundl_ctx): New.
7569 (libc_fesetenv_mips_ctx): New.
7570 (libc_fesetenv_ctx): New.
7571 (libc_fesetenv_ctxf): New.
7572 (libc_fesetenv_ctxl): New.
7573 (libc_feupdateenv_mips_ctx): New.
7574 (libc_feupdateenv_ctx): New.
7575 (libc_feupdateenvf_ctx): New.
7576 (libc_feupdateenvl_ctx): New.
7577 (libc_feholdsetround_mips_ctx): New.
7578 (libc_feholdsetround_ctx): New.
7579 (libc_feholdsetroundf_ctx): New.
7580 (libc_feholdsetroundl_ctx): New.
7581 (libc_feresetround_mips_ctx): New.
7582 (libc_feresetround_ctx): New.
7583 (libc_feresetroundf_ctx): New.
7584 (libc_feresetroundl_ctx): New.
7585
085d0e35
CD
75862014-02-26 Carlos O'Donell <carlos@redhat.com>
7587
f067bf1f
CD
7588 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7589
085d0e35
CD
7590 * manual/ipc.texi: New file.
7591 * manual/Makefile (chapters): Add ipc.
7592 * manual/job.texi: Add "Inter-Process Communication" to next.
7593 * manual/process.texi: Add "Inter-Process Communication" to prev.
7594
86e58c08
AZ
75952014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7596
7597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7598
4248f0da
OB
75992014-02-26 Ondřej Bílka <neleai@seznam.cz>
7600
7601 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7602
cf822e3c
OB
7603 * manual/arith.texi: Fix spaces after sentences.
7604 * manual/charset.texi: Likewise.
7605 * manual/errno.texi: Likewise.
7606 * manual/install.texi: Likewise.
7607 * manual/llio.texi: Likewise.
7608 * manual/locale.texi: Likewise.
7609 * manual/maint.texi: Likewise.
7610 * manual/math.texi: Likewise.
7611 * manual/memory.texi: Likewise.
7612 * manual/message.texi: Likewise.
7613 * manual/probes.texi: Likewise.
7614 * manual/resource.texi: Likewise.
7615 * manual/signal.texi: Likewise.
7616 * manual/socket.texi: Likewise.
7617 * manual/stdio.texi: Likewise.
7618 * manual/string.texi: Likewise.
7619 * manual/time.texi: Likewise.
7620 * manual/users.texi: Likewise.
7621
ade40b10
CD
76222014-02-25 Carlos O'Donell <carlos@redhat.com>
7623
7624 [BZ #16632]
7625 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7626 _DEFAULT_SOURCE is defined.
7627
d0503676
CD
76282014-02-25 Ulrich Drepper <drepper@gmail.com>
7629 Carlos O'Donell <carlos@redhat.com>
7630
7631 [BZ #16613]
7632 * elf/dl-tls.c (_dl_count_modids): New function.
7633 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7634 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7635 audit library and increment generation counter.
7636 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7637 * elf/tst-audit9.c: New file.
7638 * elf/tst-auditmod9a.c: New file.
7639 * elf/tst-auditmod9b.c: New file.
7640 * elf/Makefile: Add rules to build and run tst-audit9.
7641
4cbf380c
FW
76422014-02-25 Florian Weimer <fweimer@redhat.com>
7643
7644 [BZ #15347]
7645 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7646
80a56cc3
WN
76472014-02-25 Will Newton <will.newton@linaro.org>
7648
7649 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7650 (__longjmp): Restore sp and lr before restoring callee
7651 saved registers. Add longjmp and longjmp_target
7652 SystemTap probe point.
7653 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7654 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7655 Define to zero to match jmpbuf layout.
7656 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7657 (__sigsetjmp): Save sp and lr before saving callee
7658 saved registers. Add setjmp SystemTap probe point.
7659
3ea0f74e
SL
76602014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7661
7662 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7663
b04acb26
AS
76642014-02-24 Andreas Schwab <schwab@suse.de>
7665
7666 [BZ #15804]
7667 * elf/pldd.c (wait_for_ptrace_stop): New function.
7668 (main): Call it after attaching.
7669
098ad55c
RM
76702014-02-22 Roland McGrath <roland@hack.frob.com>
7671
d4ec6ae1
RM
7672 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7673 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7674 Versions files is now verboten.
7675 * hurd/Versions (libc: GLIBC_2.0):
7676 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7677 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7678 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7679 * mach/Versions: Likewise.
7680
098ad55c
RM
7681 * csu/Versions: Remove unused %include.
7682 * resolv/Versions: Likewise.
7683
acd7f096
JM
76842014-02-21 Joseph Myers <joseph@codesourcery.com>
7685
f0881698
JM
7686 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7687 ($(objpfx)check-local-headers.out): Likewise.
7688 ($(objpfx)begin-end-check.out): Likewise.
7689 * Makerules (check-abi-%.out): Likewise.
7690 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7691 ($(objpfx)test2.cat): Likewise.
7692 ($(objpfx)de/libc.cat): Likewise.
7693 ($(objpfx)test-gencat.out): Likewise.
7694 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7695 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7696 ($(objpfx)noload-mem): Likewise.
7697 ($(objpfx)tst-pathopt.out): Likewise.
7698 ($(objpfx)tst-rtld-load-self.out): Likewise.
7699 ($(objpfx)tst-array1-cmp.out): Likewise.
7700 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7701 ($(objpfx)tst-array2-cmp.out): Likewise.
7702 ($(objpfx)tst-array3-cmp.out): Likewise.
7703 ($(objpfx)tst-array4-cmp.out): Likewise.
7704 ($(objpfx)tst-array5-cmp.out): Likewise.
7705 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7706 ($(objpfx)check-textrel.out): Likewise.
7707 ($(objpfx)check-execstack.out): Likewise.
7708 ($(objpfx)check-localplt.out): Likewise.
7709 ($(objpfx)order2-cmp.out): Likewise.
7710 ($(objpfx)tst-leaks1-mem): Likewise.
7711 ($(objpfx)tst-leaks1-static-mem): Likewise.
7712 ($(objpfx)tst-initorder-cmp.out): Likewise.
7713 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7714 ($(objpfx)tst-unused-dep.out): Likewise.
7715 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7716 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7717 * iconv/Makefile (test-iconvconfig): Likewise.
7718 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7719 ($(objpfx)iconv-test.out): Likewise.
7720 ($(objpfx)tst-tables.out): Likewise.
7721 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7722 ($(objpfx)tst-gettext.out): Likewise.
7723 ($(objpfx)tst-translit.out): Likewise.
7724 ($(objpfx)tst-gettext2.out): Likewise.
7725 ($(objpfx)tst-gettext4.out): Likewise.
7726 ($(objpfx)tst-gettext6.out): Likewise.
7727 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7728 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7729 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7730 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7731 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7732 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7733 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7734 ($(objpfx)wordexp-tst.out): Likewise.
7735 ($(objpfx)annexc.out): Likewise.
7736 ($(objpfx)tst-fnmatch-mem): Likewise.
7737 ($(objpfx)bug-regex2-mem): Likewise.
7738 ($(objpfx)bug-regex14-mem): Likewise.
7739 ($(objpfx)bug-regex21-mem): Likewise.
7740 ($(objpfx)bug-regex31-mem): Likewise.
7741 ($(objpfx)tst-vfork3-mem): Likewise.
7742 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7743 ($(objpfx)tst-pcre-mem): Likewise.
7744 ($(objpfx)tst-boost-mem): Likewise.
7745 ($(objpfx)tst-getconf.out): Likewise.
7746 ($(objpfx)bug-ga2-mem): Likewise.
7747 ($(objpfx)bug-glob2-mem): Likewise.
7748 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7749 ($(objpfx)mtrace-tst-leaks2): Likewise.
7750 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7751 ($(objpfx)tst-printf.out): Likewise.
7752 ($(objpfx)tst-setvbuf1.out): Likewise.
7753 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7754 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7755 ($(objpfx)tst-fmtmsg.out): Likewise.
7756 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7757 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7758
acd7f096
JM
7759 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7760 * bits/sigaction.h [__USE_MISC]: Likewise.
7761 * bits/waitstatus.h: Update #endif comments.
7762 * ctype/ctype.h: Likewise.
7763 * dirent/dirent.h: Likewise.
7764 [__USE_MISC]: Remove redundant conditionals.
7765 * grp/grp.h: Update #endif comments.
7766 [__USE_GNU]: Remove redundant conditionals.
7767 [__USE_MISC]: Likewise.
7768 * inet/netinet/in.h [__USE_GNU]: Likewise.
7769 * io/sys/stat.h [__USE_MISC]: Likewise.
7770 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7771 * libio/bits/stdio.h: Update #endif comments.
7772 [__USE_MISC]: Remove redundant conditionals.
7773 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7774 * libio/stdio.h: Update #endif comments.
7775 [__USE_MISC]: Remove redundant conditionals.
7776 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7777 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7778 * math/math.h: Update #else and #endif comments.
7779 [__USE_MISC]: Remove redundant conditionals.
7780 * misc/sys/uio.h: Update #endif comments.
7781 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7782 * posix/glob.h [__USE_MISC]: Likewise.
7783 * posix/sys/types.h: Update #endif comments.
7784 [__USE_MISC]: Remove redundant conditionals.
7785 * posix/sys/wait.h: Update #endif comments.
7786 [__USE_MISC]: Remove redundant conditionals.
7787 * posix/unistd.h: Update #endif comments.
7788 [__USE_MISC]: Remove redundant conditionals.
7789 * pwd/pwd.h [__USE_GNU]: Likewise.
7790 [__USE_MISC]: Likewise.
7791 * resolv/netdb.h [__USE_GNU]: Likewise.
7792 * signal/signal.h: Update #endif comments.
7793 [__USE_MISC]: Remove redundant conditionals.
7794 * stdlib/stdlib.h: Update #else and #endif comments.
7795 [__USE_MISC]: Remove redundant conditionals.
7796 [__USE_GNU]: Likewise.
7797 * string/bits/string2.h [__USE_MISC]: Likewise.
7798 * string/string.h: Update #endif comments.
7799 [__USE_MISC]: Remove redundant conditionals.
7800 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7801 Likewise.
7802 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7803 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7804 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7805 Likewise.
7806 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7807 Likewise.
7808 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7809 comments.
7810 [__USE_MISC]: Remove redundant conditionals.
7811 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7812 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7813 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7814 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7815 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7816 Likewise.
7817 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7818 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7819 Likewise.
7820 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7821 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7822 Likewise.
7823 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7824 Likewise.
7825 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7826 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7827 Likewise.
7828 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7829 Likewise.
7830 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7831 * sysdeps/x86/bits/string.h: Update #endif comments.
7832 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7833 conditionals.
7834 * time/sys/time.h: Update #endif comments.
7835 * time/time.h: Likewise.
7836 [__USE_MISC]: Remove redundant conditionals.
7837
a5d82e4e
YG
78382014-02-21 Yury Gribov <y.gribov@samsung.com>
7839
7840 [BZ #16600]
7841 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7842
9a80491d
AS
78432014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7844
7845 * Versions.def (librt): Add GLIBC_2.17.
7846
105fa381
AC
78472014-02-21 Adam Conrad <adconrad@0c3.net>
7848
7849 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7850 synonym for _SYS_AUXV_H to allow direct inclusion.
7851 * sysdeps/sparc/bits/hwcap.h: Likewise.
7852 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7853 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7854 * sysdeps/sparc/sysdep.h: Likewise.
7855
b8cd1c4e
SP
78562014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7857
7858 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7859
bd939d23
RS
78602014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7861
7862 * benchtests/bench-strrchr.c: Print length instead of position.
7863
5d7b57ca
JM
78642014-02-20 Joseph Myers <joseph@codesourcery.com>
7865
bc688c10
JM
7866 [BZ #16611]
7867 * sysdeps/unix/sysv/linux/kernel-features.h
7868 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7869 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7870 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7871 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7872 Likewise.
7873 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7874 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7875 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7876 (__ASSUME_SENDMMSG): Define instead of using previous
7877 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7878 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7879 (__ASSUME_SENDMMSG_SYSCALL): Define.
7880 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7881 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7882 Likewise.
7883 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7884 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7885 Likewise.
7886 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7887 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7888 Likewise.
7889 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7890 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7891 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7892 [__ASSUME_SENDMMSG]: Change conditionals to
7893 [__ASSUME_SENDMMSG_SOCKETCALL].
7894 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7895 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7896 Define.
7897 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7898 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7899 Likewise.
7900 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7901 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7902 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7903 [!__ASSUME_SENDMMSG]: Change conditional to
7904 [!__ASSUME_SENDMMSG_SOCKETCALL].
7905 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7906 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7907 Define.
7908
0e31b18c
JM
7909 [BZ #16610]
7910 * sysdeps/unix/sysv/linux/kernel-features.h
7911 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7912 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7913 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7914 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7915 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7916 [__i386__ || __sparc__]
7917 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7918 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7919 (__ASSUME_RECVMMSG): Define instead of using previous
7920 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7921 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7922 (__ASSUME_RECVMMSG_SYSCALL): Define.
7923 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7924 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7925 Likewise.
7926 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7927 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7928 Likewise.
7929 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7930 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7931 Likewise.
7932 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7933 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7934 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7935 [__ASSUME_RECVMMSG]: Change condition to
7936 [__ASSUME_RECVMMSG_SOCKETCALL].
7937 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7938 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7939 Define.
7940 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7941 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7942 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7943 Likewise.
7944 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7945 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7946 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7947 [!__ASSUME_RECVMMSG]: Change condition to
7948 [!__ASSUME_RECVMMSG_SOCKETCALL].
7949 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7950 (__ASSUME_RECVMMSG_SYSCALL): Define.
7951
dd481ccf
JM
7952 [BZ #16609]
7953 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7954 __powerpc__ || __s390__ || __sh__ || __sparc__]
7955 (__ASSUME_SOCKETCALL): Define.
7956 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7957 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7958 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7959 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7960 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7961 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7962 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7963 (__ASSUME_ACCEPT4): Define instead of using previous
7964 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7965 __powerpc__ || __sparc__ || __s390__)] condition.
7966 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7967 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7968 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7969 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7970 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7971 [!__ASSUME_ACCEPT4]: Change condition to
7972 [!__ASSUME_ACCEPT4_SOCKETCALL].
7973 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7974 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7975 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7976 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7977 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7978 __ASSUME_ACCEPT4_SYSCALL.
7979 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7980 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7981 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7982 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7983 __ASSUME_ACCEPT4_SYSCALL.
7984 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7985 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7986 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7987 [__ASSUME_ACCEPT4]: Change condition to
7988 [__ASSUME_ACCEPT4_SOCKETCALL].
7989 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7990 (__ASSUME_SOCKETCALL): Define.
7991 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7992 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7993 (__ASSUME_SOCKETCALL): Define.
7994 (__ASSUME_ACCEPT4): Remove.
7995 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7996 Define.
7997 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7998 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7999 Likewise.
8000 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8001 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8002
5d7b57ca
JM
8003 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8004 macro.
8005 (HWCAP_ARM_LPAE): Likewise.
8006 (HWCAP_ARM_EVTSTRM): Likewise.
8007 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8008 Add vpfd32, lpae and evtstrm.
8009 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8010 Increase to 22.
8011
63689d61
JM
80122014-02-19 Joseph Myers <joseph@codesourcery.com>
8013
8014 * math/auto-libm-test-in: Add tests of clog10.
8015 * math/auto-libm-test-out: Regenerated.
8016 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8017 * sysdeps/i386/fpu/libm-test-ulps: Update.
8018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8019
ab09bf61
AS
80202014-02-18 Andreas Schwab <schwab@suse.de>
8021
8022 [BZ #16574]
8023 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8024 Store non-zero if the second buffer was newly allocated.
8025 (send_dg): Likewise.
8026 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8027 to send_vc and send_dg.
8028 (res_nsend): Pass NULL for ansp2_malloced.
8029 * resolv/res_query.c (__libc_res_nquery): Add parameter
8030 answerp2_malloced and pass it down to __libc_res_nsend.
8031 (res_nquery): Pass additional NULL to __libc_res_nquery.
8032 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8033 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8034 second answer buffer if answerp2_malloced was set.
8035 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8036 (__libc_res_nquerydomain): Add parameter
8037 answerp2_malloced and pass it down to __libc_res_nquery.
8038 (res_nquerydomain): Pass additional NULL to
8039 __libc_res_nquerydomain.
8040 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8041 additional NULL to __libc_res_nsend and __libc_res_nquery.
8042 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8043 additional NULL to __libc_res_nsearch.
8044 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8045 parameter of __libc_res_nsearch to check for separately allocated
8046 second buffer.
8047 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8048 __libc_res_nquery.
8049 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8050 additional NULL to __libc_res_nquery.
8051 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8052 __libc_res_nsearch.
8053 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8054 * include/resolv.h: Update prototypes of __libc_res_nquery,
8055 __libc_res_nsearch, __libc_res_nsend.
8056
a4fb7861
JM
80572014-02-18 Joseph Myers <joseph@codesourcery.com>
8058
c6af2d89
JM
8059 * math/auto-libm-test-in: Add tests of fma.
8060 * math/auto-libm-test-out: Regenerated.
8061 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8062 (fma_towardzero_test_data): Likewise.
8063 (fma_downward_test_data): Likewise.
8064 (fma_upward_test_data): Likewise.
8065 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8066 mpc_mode.
8067 (rounding_modes): Add values for new field.
8068 (func_calc_method): Add value mpfr_fff_f.
8069 (func_calc_desc): Add mpfr_fff_f union field.
8070 (test_function): Add field exact_args.
8071 (FUNC): Add macro argument EXACT_ARGS.
8072 (FUNC_mpfr_f_f): Update call to FUNC.
8073 (FUNC_mpfr_f_f): Likewise.
8074 (FUNC_mpfr_ff_f): Likewise.
8075 (FUNC_mpfr_if_f): Likewise.
8076 (FUNC_mpc_c_f): Likewise.
8077 (FUNC_mpc_c_c): Likewise.
8078 (test_functions): Add fma. Update calls to FUNC.
8079 (handle_input_arg): Add argument exact_args.
8080 (add_test): Update call to handle_input_arg.
8081 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8082 (output_for_one_input_case): Update call to calc_generic_results.
8083 Recalculate exact zero results in each rounding mode.
8084
a4fb7861
JM
8085 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8086 non-negative before setting low bit.
8087 * math/auto-libm-test-in: Mark one asin test possibly having
8088 spurious underflow.
8089 * math/auto-libm-test-out: Regenerated.
8090 * sysdeps/i386/fpu/libm-test-ulps: Update.
8091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8092
ef114eaf
DH
80932014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8094
2b7f4f2c
SP
8095 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8096 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8097 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
8098 * README: Add missing listing for microblaze*-*-linux-gnu.
8099
c70a4b1d
MF
81002014-02-16 Mike Frysinger <vapier@gentoo.org>
8101
8102 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8103 * sysdeps/unix/sysv/linux/ia64: Move directory from
8104 ports/sysdeps/unix/sysv/linux/ia64.
8105 * README: Update listing for ia64-*-linux-gnu.
8106
591aeaf7
TD
81072014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8108 Joseph Myers <joseph@codesourcery.com>
8109
8110 * Makeconfig (test-name): New variable.
8111 (evaluate-test): Likewise.
8112 * Makerules (do-test-clean): Remove .test-result files.
8113 (common-mostlyclean): Likewise.
8114 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8115 * scripts/evaluate-test.sh: New file.
8116
6e89caf1
JM
81172014-02-14 Joseph Myers <joseph@codesourcery.com>
8118
7f98f180
JM
8119 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8120 separate $(objpfx)tst-fopenloc-cmp.out and
8121 $(objpfx)tst-fopenloc-mem.out targets.
8122 (tests): Update dependencies.
8123 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8124 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8125 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8126 (tst-rxspencer-no-utf8-ARGS): New variable.
8127 (tst-rxspencer-no-utf8-ENV): Likewise.
8128 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8129 instead of $(objpfx)tst-rxspencer-mem.
8130 ($(objpfx)tst-rxspencer-mem): Change target to
8131 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8132 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8133 * posix/tst-rxspencer-no-utf8.c: New file.
8134
6e89caf1
JM
8135 * elf/Makefile ($(objpfx)order.out): Remove rule.
8136 [$(run-built-tests) = yes] (tests): Depend on
8137 $(objpfx)order-cmp.out.
8138 ($(objpfx)order-cmp.out): New rule.
8139 [$(run-built-tests) = yes] (tests): Depend on
8140 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8141 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8142 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8143 $(objpfx)tst-array5-static-cmp.out.
8144 ($(objpfx)tst-array1.out): Remove rule.
8145 ($(objpfx)tst-array1-cmp.out): New rule.
8146 ($(objpfx)tst-array1-static.out): Remove rule.
8147 ($(objpfx)tst-array1-static-cmp.out): New rule.
8148 ($(objpfx)tst-array2.out): Remove rule.
8149 ($(objpfx)tst-array2-cmp.out): New rule.
8150 ($(objpfx)tst-array3.out): Remove rule.
8151 ($(objpfx)tst-array3-cmp.out): New rule.
8152 ($(objpfx)tst-array4.out): Remove rule.
8153 ($(objpfx)tst-array4-cmp.out): New rule.
8154 ($(objpfx)tst-array5.out): Remove rule.
8155 ($(objpfx)tst-array5-cmp.out): New rule.
8156 ($(objpfx)tst-array5-static.out): Remove rule.
8157 ($(objpfx)tst-array5-static-cmp.out): New rule.
8158 [$(run-built-tests) = yes] (tests): Depend on
8159 $(objpfx)order2-cmp.out.
8160 ($(objpfx)order2.out): Remove rule.
8161 ($(objpfx)order2-cmp.out): New rule.
8162 ($(objpfx)tst-initorder.out): Remove rule.
8163 [$(run-built-tests) = yes] (tests): Depend on
8164 $(objpfx)tst-initorder-cmp.out.
8165 ($(objpfx)tst-initorder-cmp.out): New rule.
8166 ($(objpfx)tst-initorder2.out): Remove rule.
8167 [$(run-built-tests) = yes] (tests): Depend on
8168 $(objpfx)tst-initorder2-cmp.out.
8169 ($(objpfx)tst-initorder2-cmp.out): New rule.
8170 [$(run-built-tests) = yes] (tests): Depend on
8171 $(objpfx)tst-unused-dep-cmp.out.
8172 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8173 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8174 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8175 on $(objpfx)tst-setvbuf1-cmp.out.
8176 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8177 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8178 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8179 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8180 ($(objpfx)tst-svc.out): Remove rule.
8181 ($(objpfx)tst-svc-cmp.out): New rule.
8182
ed9a38e2
JM
81832014-02-13 Joseph Myers <joseph@codesourcery.com>
8184
8185 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8186 * ctype/ctype.h [__USE_MISC]: Likewise.
8187 * dirent/dirent.h [__USE_MISC]: Likewise.
8188 * grp/grp.h [__USE_MISC]: Likewise.
8189 * io/fcntl.h [__USE_MISC]: Likewise.
8190 * io/sys/stat.h [__USE_MISC]: Likewise.
8191 * libio/stdio.h [__USE_MISC]: Likewise.
8192 * posix/unistd.h [__USE_MISC]: Likewise.
8193 * pwd/pwd.h [__USE_MISC]: Likewise.
8194 * stdlib.h [__USE_MISC]: Likewise.
8195 * string/bits/string2.h [__USE_MISC]: Likewise.
8196 * string/string.h [__USE_MISC]: Likewise.
8197 * time/time.h [__USE_MISC]: Likewise.
8198
d6680619
AS
81992014-02-13 Andreas Schwab <schwab@suse.de>
8200
8201 [BZ #16574]
8202 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8203 second answer buffer if it was separately allocated.
8204
ace614b8
JM
82052014-02-12 Joseph Myers <joseph@codesourcery.com>
8206
743151ae
JM
8207 * sysdeps/mips/math-tests.h: Include <features.h>.
8208 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8209 (ROUNDING_TESTS_long_double): Do not define.
8210 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8211 (EXCEPTION_TESTS_long_double): Likewise.
8212 * sysdeps/mips/mips64/libm-test-ulps: Update.
8213
498afc54
JM
8214 * include/features.h (__USE_BSD): Remove macro definitions.
8215 (__USE_SVID): Likewise.
8216 (_BSD_SOURCE): Likewise.
8217 (_SVID_SOURCE): Likewise.
8218 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8219 from definition of _DEFAULT_SOURCE.
8220 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8221 [_DEFAULT_SOURCE].
8222 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8223 * bits/mman.h [__USE_BSD]: Likewise.
8224 * bits/termios.h [__USE_BSD]: Likewise.
8225 * bits/waitstatus.h [__USE_BSD]: Likewise.
8226 * ctype/ctype.h [__USE_SVID]: Likewise.
8227 * dirent/dirent.h [__USE_BSD]: Likewise.
8228 * grp/grp.h [__USE_SVID]: Likewise.
8229 [__USE_BSD]: Likewise.
8230 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8231 * io/fcntl.h [__USE_BSD]: Likewise.
8232 * io/ftw.h [__USE_BSD]: Likewise.
8233 * io/sys/stat.h [__USE_BSD]: Likewise.
8234 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8235 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8236 * libio/stdio.h [__USE_SVID]: Likewise.
8237 [__USE_BSD]: Likewise.
8238 * math/math.h [__USE_SVID]: Likewise.
8239 [__USE_BSD]: Likewise.
8240 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8241 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8242 * misc/search.h [__USE_SVID]: Likewise.
8243 * misc/sys/mman.h [__USE_BSD]: Likewise.
8244 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8245 * misc/sys/uio.h [__USE_BSD]: Likewise.
8246 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8247 * posix/glob.h [__USE_BSD]: Likewise.
8248 * posix/regex.h [__USE_BSD]: Likewise.
8249 * posix/sys/types.h [__USE_BSD]: Likewise.
8250 [__USE_SVID]: Likewise.
8251 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8252 * posix/sys/wait.h [__USE_BSD]: Likewise.
8253 [__USE_SVID]: Likewise.
8254 * posix/unistd.h [__USE_BSD]: Likewise.
8255 [__USE_SVID]: Likewise.
8256 * pwd/pwd.h [__USE_SVID]: Likewise.
8257 * resolv/netdb.h [__USE_BSD]: Likewise.
8258 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8259 * signal/signal.h [__USE_BSD]: Likewise.
8260 [__USE_SVID]: Likewise.
8261 * socket/sys/socket.h [__USE_BSD]: Likewise.
8262 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8263 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8264 [__USE_SVID]: Likewise.
8265 * string/bits/string2.h [__USE_BSD]: Likewise.
8266 [__USE_SVID]: Likewise.
8267 * string/bits/string3.h [__USE_BSD]: Likewise.
8268 * string/endian.h [__USE_BSD]: Likewise.
8269 * string/string.h [__USE_SVID]: Likewise.
8270 [__USE_BSD]: Likewise.
8271 * string/strings.h [__USE_BSD]: Likewise.
8272 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8273 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8274 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8275 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8276 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8277 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8278 Likewise.
8279 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8280 Likewise.
8281 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8282 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8283 Likewise.
8284 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8285 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8286 Likewise.
8287 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8288 Likewise.
8289 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8290 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8291 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8292 Likewise.
8293 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8294 Likewise.
8295 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8296 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8297 * termios/termios.h [__USE_BSD]: Likewise.
8298 * time/sys/time.h [__USE_BSD]: Likewise.
8299 * time/time.h [__USE_BSD]: Likewise.
8300 [__USE_SVID]: Likewise.
8301
dd7b064c
JM
8302 * Makefile (subdir_targets): Remove subdir_lint.out.
8303
a2c4c199
JM
8304 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8305 (do-tst-printf): Likewise.
8306 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8307 $(objpfx)tst-printf.out.
8308
8756f740
JM
8309 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8310
1b6dd3f1
JM
8311 * Makerules (check-abi-%): Change target to
8312 $(objpfx)check-abi-%.out.
8313 (check-abi target): Update dependencies.
8314 (check-abi-pattern variable): Redirect output of diff to $@.
8315 (check-abi variable): Likewise.
8316 * elf/Makefile (check-abi): Update dependencies.
8317
ace614b8
JM
8318 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8319 unused.
8320 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8321 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8322 subnormal range.
8323 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8324 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8325 value has largest subnormal exponent.
8326 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8327 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8328 * sysdeps/aarch64/soft-fp/sfp-machine.h
8329 (_FP_TININESS_AFTER_ROUNDING): New macro.
8330 * sysdeps/alpha/soft-fp/sfp-machine.h
8331 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8332 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8333 Likewise.
8334 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8335 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8336 * sysdeps/mips/soft-fp/sfp-machine.h
8337 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8338 * sysdeps/powerpc/soft-fp/sfp-machine.h
8339 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8340 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8341 Likewise.
8342 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8343 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8344 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8345 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8346 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8347 Likewise.
8348
fbfdf9cb
DAS
83492014-02-12 Dylan Alex Simon <dylan@dylex.net>
8350
8351 [BZ #16545]
8352 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8353 model 1.
8354
68b7efaa
RH
83552014-02-12 Richard Henderson <rth@redhat.com>
8356
c70a4b1d 8357 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
8358 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8359 * sysdeps/unix/sysv/linux/alpha: Move directory from
8360 ports/sysdeps/unix/sysv/linux/alpha.
8361 * README: Update listing for alpha-*-linux-gnu.
8362
cb4a2928
JM
83632014-02-11 Joseph Myers <joseph@codesourcery.com>
8364
c941736c
JM
8365 * include/features.h: Update comment documenting feature test
8366 macros.
8367 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8368 _DEFAULT_SOURCE.
8369 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8370 (_SVID_SOURCE): Likewise.
8371 (_DEFAULT_SOURCE): Update description of default features.
8372 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8373 with _GNU_SOURCE.
8374 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8375 (S_ISVTX): Likewise.
8376 * manual/math.texi (Mathematical Constants): Likewise.
8377 * manual/signal.texi (Interrupted Primitives): Likewise.
8378 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8379 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8380 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8381 Don't refer to _SVID_SOURCE in warning text.
8382
e8d8d7ec
JM
8383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8384
cb4a2928
JM
8385 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8386 already defined.
8387 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8388 * sysdeps/mips/dl-lookup.c: Remove.
8389 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8390
7e6424e3
AK
83912014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8392
8393 [BZ #16447]
8394 * math/auto-libm-test-in: Add testcase for expl.
8395 * math/auto-libm-test-out: Regenerate.
8396 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8397 calculation of unsafe.
8398 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8399
75eff3fe
MS
84002014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8401
8402 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8403 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8404 ports/sysdeps/unix/sysv/linux/aarch64.
8405 * README: Update listing for aarch64*-*-linux-gnu.
8406
d35f1e80
WN
84072014-02-11 Will Newton <will.newton@linaro.org>
8408
8409 * manual/probes.texi (Mathematical Function Probes): Use
8410 "triggered" instead of "hit".
8411
7b3436d4
WN
8412 * manual/probes.texi (Internal Probes): Add documentation
8413 of setjmp, longjmp and longjmp_target probes.
8414
b4f12ca3
WN
8415 * include/stap-probe.h: Add comment about probe argument
8416 format.
8417
c13a72b7
WN
8418 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8419 definition. (tr_where, tr_freehook, tr_mallochook,
8420 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8421
195b8165
DM
84222014-02-11 David S. Miller <davem@davemloft.net>
8423
8424 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8425 processing int_tests.
8426
2ad7600b
JM
84272014-02-10 Joseph Myers <joseph@codesourcery.com>
8428
8429 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8430 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8431 * sysdeps/unix/sysv/linux/mips: Move directory from
8432 ports/sysdeps/unix/sysv/linux/mips.
8433 * README: Update listing for mips-*-linux-gnu and
8434 mips64-*-linux-gnu.
8435
73588a72
AS
84362014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8437
8438 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8439 * sysdeps/unix/sysv/linux/m68k: Move directory from
8440 ports/sysdeps/unix/sysv/linux/m68k.
8441 * README: Update listing for m68k-*-linux-gnu.
8442
4372980f
CM
84432014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8444
8445 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8446 * sysdeps/unix/sysv/linux/generic: Move directory from
8447 ports/sysdeps/unix/sysv/linux/generic.
8448 * sysdeps/unix/sysv/linux/tile: Move directory from
8449 ports/sysdeps/unix/sysv/linux/tile.
8450 * README: Update listing for tile*-*-linux-gnu.
8451
a1ffb40e
OB
84522014-02-10 Ondřej Bílka <neleai@seznam.cz>
8453
57f41c40
AS
8454 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8455 __builtin_expect.
a1ffb40e
OB
8456 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8457 * catgets/open_catalog.c (__open_catalog): Likewise.
8458 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8459 * debug/confstr_chk.c: Likewise.
8460 * debug/fread_chk.c (__fread_chk): Likewise.
8461 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8462 * debug/getgroups_chk.c: Likewise.
8463 * debug/mbsnrtowcs_chk.c: Likewise.
8464 * debug/mbsrtowcs_chk.c: Likewise.
8465 * debug/mbstowcs_chk.c: Likewise.
8466 * debug/memcpy_chk.c: Likewise.
8467 * debug/memmove_chk.c: Likewise.
8468 * debug/mempcpy_chk.c: Likewise.
8469 * debug/memset_chk.c: Likewise.
8470 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8471 * debug/strcat_chk.c (__strcat_chk): Likewise.
8472 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8473 * debug/strncat_chk.c (__strncat_chk): Likewise.
8474 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8475 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8476 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8477 * debug/wcpncpy_chk.c: Likewise.
8478 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8479 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8480 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8481 * debug/wcsncpy_chk.c: Likewise.
8482 * debug/wcsnrtombs_chk.c: Likewise.
8483 * debug/wcsrtombs_chk.c: Likewise.
8484 * debug/wcstombs_chk.c: Likewise.
8485 * debug/wmemcpy_chk.c: Likewise.
8486 * debug/wmemmove_chk.c: Likewise.
8487 * debug/wmempcpy_chk.c: Likewise.
8488 * debug/wmemset_chk.c: Likewise.
8489 * dirent/scandirat.c (SCANDIRAT): Likewise.
8490 * dlfcn/dladdr1.c (dladdr1): Likewise.
8491 * dlfcn/dladdr.c (dladdr): Likewise.
8492 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8493 * dlfcn/dlerror.c (__dlerror): Likewise.
8494 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8495 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8496 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8497 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8498 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8499 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8500 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8501 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8502 Likewise.
8503 * elf/dl-conflict.c: Likewise.
8504 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8505 * elf/dl-dst.h: Likewise.
8506 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8507 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8508 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8509 * elf/dl-init.c (call_init, _dl_init): Likewise.
8510 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
8511 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8512 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8513 Likewise.
a1ffb40e
OB
8514 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8515 Likewise.
8516 * elf/dl-minimal.c (__libc_memalign): Likewise.
8517 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8518 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8519 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8520 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
8521 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8522 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
8523 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8524 * elf/dl-writev.h (_dl_writev): Likewise.
8525 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
8526 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8527 (dl_main): Likewise.
a1ffb40e
OB
8528 * elf/setup-vdso.h (setup_vdso): Likewise.
8529 * grp/compat-initgroups.c (compat_call): Likewise.
8530 * grp/fgetgrent.c (fgetgrent): Likewise.
8531 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8532 * grp/putgrent.c (putgrent): Likewise.
8533 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8534 Likewise.
8535 * hurd/hurdinit.c: Likewise.
8536 * iconvdata/8bit-gap.c (struct): Likewise.
8537 * iconvdata/ansi_x3.110.c : Likewise.
8538 * iconvdata/big5.c : Likewise.
8539 * iconvdata/big5hkscs.c : Likewise.
8540 * iconvdata/cp1255.c: Likewise.
8541 * iconvdata/cp1258.c : Likewise.
8542 * iconvdata/cp932.c : Likewise.
8543 * iconvdata/euc-cn.c: Likewise.
8544 * iconvdata/euc-jisx0213.c : Likewise.
8545 * iconvdata/euc-jp.c: Likewise.
8546 * iconvdata/euc-jp-ms.c : Likewise.
8547 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8548 * iconvdata/gb18030.c : Likewise.
8549 * iconvdata/gbbig5.c (const): Likewise.
8550 * iconvdata/gbgbk.c: Likewise.
8551 * iconvdata/gbk.c : Likewise.
8552 * iconvdata/ibm1364.c : Likewise.
8553 * iconvdata/ibm930.c : Likewise.
8554 * iconvdata/ibm932.c: Likewise.
8555 * iconvdata/ibm933.c : Likewise.
8556 * iconvdata/ibm935.c : Likewise.
8557 * iconvdata/ibm937.c : Likewise.
8558 * iconvdata/ibm939.c : Likewise.
8559 * iconvdata/ibm943.c: Likewise.
8560 * iconvdata/iso_11548-1.c: Likewise.
8561 * iconvdata/iso-2022-cn.c : Likewise.
8562 * iconvdata/iso-2022-cn-ext.c : Likewise.
8563 * iconvdata/iso-2022-jp-3.c: Likewise.
8564 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8565 * iconvdata/iso-2022-kr.c : Likewise.
8566 * iconvdata/iso646.c (gconv_end): Likewise.
8567 * iconvdata/iso_6937-2.c : Likewise.
8568 * iconvdata/iso_6937.c : Likewise.
8569 * iconvdata/iso8859-1.c: Likewise.
8570 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8571 * iconvdata/shift_jisx0213.c : Likewise.
8572 * iconvdata/sjis.c : Likewise.
8573 * iconvdata/t.61.c : Likewise.
8574 * iconvdata/tcvn5712-1.c : Likewise.
8575 * iconvdata/tscii.c: Likewise.
8576 * iconvdata/uhc.c : Likewise.
8577 * iconvdata/unicode.c (gconv_end): Likewise.
8578 * iconvdata/utf-16.c (gconv_end): Likewise.
8579 * iconvdata/utf-32.c (gconv_end): Likewise.
8580 * iconvdata/utf-7.c (base64): Likewise.
8581 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8582 * iconv/gconv_close.c (__gconv_close): Likewise.
8583 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
8584 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8585 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8586 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8587 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8588 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
8589 * iconv/iconv.c (iconv): Likewise.
8590 * iconv/iconv_close.c: Likewise.
8591 * iconv/loop.c (SINGLE): Likewise.
8592 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8593 * include/atomic.h: Likewise.
8594 * inet/inet6_option.c (option_alloc): Likewise.
8595 * intl/bindtextdom.c (set_binding_values): Likewise.
8596 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8597 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8598 * intl/localealias.c (read_alias_file): Likewise.
8599 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
8600 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8601 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
8602 * libio/fmemopen.c (fmemopen): Likewise.
8603 * libio/iofgets.c (_IO_fgets): Likewise.
8604 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8605 * libio/iofgetws.c (fgetws): Likewise.
8606 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8607 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
8608 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8609 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
8610 * locale/findlocale.c (_nl_find_locale): Likewise.
8611 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8612 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8613 Likewise.
8614 * locale/setlocale.c (setlocale): Likewise.
8615 * login/programs/pt_chown.c (main): Likewise.
8616 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8617 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
8618 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8619 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
8620 * math/e_exp2l.c: Likewise.
8621 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8622 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8623 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8624 * math/s_catan.c (__catan): Likewise.
8625 * math/s_catanf.c (__catanf): Likewise.
8626 * math/s_catanh.c (__catanh): Likewise.
8627 * math/s_catanhf.c (__catanhf): Likewise.
8628 * math/s_catanhl.c (__catanhl): Likewise.
8629 * math/s_catanl.c (__catanl): Likewise.
8630 * math/s_ccosh.c (__ccosh): Likewise.
8631 * math/s_ccoshf.c (__ccoshf): Likewise.
8632 * math/s_ccoshl.c (__ccoshl): Likewise.
8633 * math/s_cexp.c (__cexp): Likewise.
8634 * math/s_cexpf.c (__cexpf): Likewise.
8635 * math/s_cexpl.c (__cexpl): Likewise.
8636 * math/s_clog10.c (__clog10): Likewise.
8637 * math/s_clog10f.c (__clog10f): Likewise.
8638 * math/s_clog10l.c (__clog10l): Likewise.
8639 * math/s_clog.c (__clog): Likewise.
8640 * math/s_clogf.c (__clogf): Likewise.
8641 * math/s_clogl.c (__clogl): Likewise.
8642 * math/s_csin.c (__csin): Likewise.
8643 * math/s_csinf.c (__csinf): Likewise.
8644 * math/s_csinh.c (__csinh): Likewise.
8645 * math/s_csinhf.c (__csinhf): Likewise.
8646 * math/s_csinhl.c (__csinhl): Likewise.
8647 * math/s_csinl.c (__csinl): Likewise.
8648 * math/s_csqrt.c (__csqrt): Likewise.
8649 * math/s_csqrtf.c (__csqrtf): Likewise.
8650 * math/s_csqrtl.c (__csqrtl): Likewise.
8651 * math/s_ctan.c (__ctan): Likewise.
8652 * math/s_ctanf.c (__ctanf): Likewise.
8653 * math/s_ctanh.c (__ctanh): Likewise.
8654 * math/s_ctanhf.c (__ctanhf): Likewise.
8655 * math/s_ctanhl.c (__ctanhl): Likewise.
8656 * math/s_ctanl.c (__ctanl): Likewise.
8657 * math/w_pow.c: Likewise.
8658 * math/w_powf.c: Likewise.
8659 * math/w_powl.c: Likewise.
8660 * math/w_scalb.c (sysv_scalb): Likewise.
8661 * math/w_scalbf.c (sysv_scalbf): Likewise.
8662 * math/w_scalbl.c (sysv_scalbl): Likewise.
8663 * misc/error.c (error_tail): Likewise.
8664 * misc/pselect.c (__pselect): Likewise.
8665 * nis/nis_callback.c (__nis_create_callback): Likewise.
8666 * nis/nis_call.c (__nisfind_server): Likewise.
8667 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8668 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8669 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8670 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8671 * nis/nis_lookup.c (nis_lookup): Likewise.
8672 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
8673 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8674 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 8675 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
8676 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8677 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8678 * nis/nss_compat/compat-initgroups.c (add_group)
8679 (internal_getgrent_r): Likewise.
8680 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8681 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8682 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8683 (internal_getspnam_r): Likewise.
8684 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8685 (_nss_nis_getaliasbyname_r): Likewise.
8686 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8687 (_nss_nis_getntohost_r): Likewise.
8688 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8689 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8690 (_nss_nis_getgrgid_r): Likewise.
8691 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8692 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8693 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8694 (_nss_nis_gethostbyname4_r): Likewise.
8695 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8696 (initgroups_netid): Likewise.
a1ffb40e 8697 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
8698 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8699 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8700 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8701 (_nss_nis_getprotobynumber_r): Likewise.
8702 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8703 (_nss_nis_getsecretkey): Likewise.
8704 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8705 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8706 (_nss_nis_getpwuid_r): Likewise.
8707 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8708 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8709 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8710 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8711 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8712 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
8713 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8714 Likewise.
57f41c40
AS
8715 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8716 (_nss_nisplus_getntohost_r): Likewise.
8717 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8718 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8719 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8720 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 8721 Likewise.
57f41c40
AS
8722 * nis/nss_nisplus/nisplus-initgroups.c
8723 (_nss_nisplus_initgroups_dyn): Likewise.
8724 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8725 (_nss_nisplus_getnetbyaddr_r): Likewise.
8726 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8727 (_nss_nisplus_getprotobynumber_r): Likewise.
8728 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8729 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
8730 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8731 Likewise.
57f41c40
AS
8732 * nis/nss_nisplus/nisplus-service.c
8733 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8734 (_nss_nisplus_getservbyport_r): Likewise.
8735 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8736 (_nss_nisplus_getspnam_r): Likewise.
8737 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8738 Likewise.
a1ffb40e
OB
8739 * nscd/aicache.c (addhstaiX): Likewise.
8740 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
8741 * nscd/connections.c (register_traced_file, send_ro_fd)
8742 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8743 (main_loop_epoll): Likewise.
a1ffb40e
OB
8744 * nscd/grpcache.c (addgrbyX): Likewise.
8745 * nscd/hstcache.c (addhstbyX): Likewise.
8746 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8747 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
8748 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8749 (addinnetgrX): Likewise.
8750 * nscd/nscd-client.h (__nscd_acquire_maplock)
8751 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
8752 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8753 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8754 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8755 Likewise.
8756 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8757 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
8758 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8759 (__nscd_get_map_ref): Likewise.
a1ffb40e 8760 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
8761 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8762 Likewise.
a1ffb40e
OB
8763 * nscd/pwdcache.c (addpwbyX): Likewise.
8764 * nscd/selinux.c (preserve_capabilities): Likewise.
8765 * nscd/servicescache.c (addservbyX): Likewise.
8766 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8767 * posix/fnmatch.c (fnmatch): Likewise.
8768 * posix/getopt.c (_getopt_internal_r): Likewise.
8769 * posix/glob.c (glob, glob_in_dir): Likewise.
8770 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
8771 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8772 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
8773 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8774 * resolv/res_init.c: Likewise.
8775 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8776 * resolv/res_query.c (__libc_res_nquery): Likewise.
8777 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8778 Likewise.
8779 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8780 * stdio-common/perror.c (perror): Likewise.
8781 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8782 * stdio-common/tmpnam.c (tmpnam): Likewise.
8783 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8784 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
8785 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8786 Likewise.
a1ffb40e
OB
8787 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8788 * stdlib/putenv.c (putenv): Likewise.
8789 * stdlib/setenv.c (__add_to_environ): Likewise.
8790 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8791 * stdlib/strtol_l.c (INTERNAL): Likewise.
8792 * string/memmem.c (memmem): Likewise.
8793 * string/strerror.c (strerror): Likewise.
8794 * string/strnlen.c (__strnlen): Likewise.
8795 * string/test-memmem.c (simple_memmem): Likewise.
8796 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8797 * sunrpc/pm_getport.c (__get_socket): Likewise.
8798 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8799 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
8800 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8801 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
8802 Likewise.
8803 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8804 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8805 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8806 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8807 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
8808 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8809 Likewise.
8810 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8811 Likewise.
a1ffb40e
OB
8812 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8813 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8814 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8815 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8816 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8818 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8819 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8820 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8821 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8822 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8823 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8824 Likewise.
8825 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8826 Likewise.
8827 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8828 Likewise.
8829 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8830 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8831 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8832 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8833 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8834 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8835 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8836 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8838 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8842 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
8844 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8845 Likewise.
a1ffb40e
OB
8846 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8847 Likewise.
8848 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8849 Likewise.
8850 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8851 Likewise.
8852 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8853 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8854 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8855 Likewise.
8856 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8857 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8858 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8859 * sysdeps/posix/sleep.c: Likewise.
8860 * sysdeps/posix/tempname.c: Likewise.
8861 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8862 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8863 Likewise.
57f41c40
AS
8864 * sysdeps/powerpc/powerpc32/dl-machine.h
8865 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
8866 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8867 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8868 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8869 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8870 Likewise.
8871 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8872 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8873 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8874 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8875 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8876 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8877 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8878 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8879 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8880 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8882 (elf_machine_lazy_rel): Likewise.
a1ffb40e 8883 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8885 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8886 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8887 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8888 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8889 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8890 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8891 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8892 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8893 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8894 Likewise.
8895 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8896 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8897 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8898 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8899 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8900 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8901 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8902 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8903 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8904 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8905 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8906 Likewise.
8907 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8908 (__posix_fallocate64_l64): Likewise.
8909 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8910 (posix_fallocate): Likewise.
57f41c40
AS
8911 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8912 Likewise.
a1ffb40e 8913 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
8914 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8915 (getifaddrs_internal): Likewise.
a1ffb40e
OB
8916 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8917 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8918 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8919 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8920 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8921 (__posix_fallocate64_l64): Likewise.
8922 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8923 Likewise.
8924 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
8925 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8926 (__get_clockfreq): Likewise.
a1ffb40e
OB
8927 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8928 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8929 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8930 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8931 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8932 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8933 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8934 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8935 Likewise.
8936 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8937 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8938 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8939 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8940 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8941 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8942 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8943 Likewise.
8944 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8945 (posix_fallocate): Likewise.
8946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8947 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8948 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8949 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8950 (elf_machine_rela, elf_machine_rela_relative)
8951 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8952 * time/asctime.c (asctime_internal): Likewise.
8953 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8954 * time/tzset.c (__tzset_parse_tz): Likewise.
8955 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8956 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8957 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8958 * wcsmbs/wcsmbsload.h: Likewise.
8959
f3d338c9
OB
8960 [BZ #15894]
8961 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8962
57f41c40
AS
8963 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8964 (arena_get2): Remove THREAD_STATS conditionals.
8965 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8966 (__malloc_stats, int): Likewise.
bdfe308a 8967
d674667c
MF
89682014-02-08 Mike Frysinger <vapier@gentoo.org>
8969
8970 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8971 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8972
6349768c
MF
8973 * manual/setjmp.texi: Fix typos/grammar errors.
8974
0b7c7473
MF
8975 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8976 Only return early when n is <= 0. Delete unused return statement.
8977
ac8cc9e3
MF
8978 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8979 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8980 * debug/tst-longjmp_chk3.c: New file.
8981
c5bb8e23
MF
8982 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8983 (test_main): Replace code with set_fortify_handler call.
8984 * debug/test-strcpy_chk.c: Likewise.
8985 * debug/tst-chk1.c: Likewise.
8986 * debug/tst-longjmp_chk.c: Likewise.
8987 * test-skeleton.c: Include fcntl.h & paths.h
8988 (set_fortify_handler): Define.
8989
10444e42
MF
8990 * debug/tst-longjmp_chk.c: Add header comment and include
8991 ../test-skeleton.c.
8992 (do_test): Mark static.
8993 (TEST_FUNCTION): Define.
8994
1e805e8d
MF
8995 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8996 (IP_PMTUDISC_INTERFACE): Likewise.
8997 (IP_MULTICAST_IF): Likewise.
8998 (IP_MULTICAST_TTL): Likewise.
8999 (IP_MULTICAST_LOOP): Likewise.
9000 (IP_ADD_MEMBERSHIP): Likewise.
9001 (IP_DROP_MEMBERSHIP): Likewise.
9002 (IP_UNBLOCK_SOURCE): Likewise.
9003 (IP_BLOCK_SOURCE): Likewise.
9004 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9005 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9006 (IP_MSFILTER): Likewise.
9007 (MCAST_JOIN_GROUP): Likewise.
9008 (MCAST_BLOCK_SOURCE): Likewise.
9009 (MCAST_UNBLOCK_SOURCE): Likewise.
9010 (MCAST_LEAVE_GROUP): Likewise.
9011 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9012 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9013 (MCAST_MSFILTER): Likewise.
9014 (IP_MULTICAST_ALL): Likewise.
9015 (IP_UNICAST_IF): Likewise.
9016
73f79bb7
MF
9017 * timezone/Makefile: Delete $(have-ksh) check.
9018 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9019 * timezone/tzselect.ksh: Add +x mode bits.
9020
8da79b60
MF
9021 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9022 (ANON_INODE_FS_MAGIC): Likewise.
9023 (BDEVFS_MAGIC): Likewise.
9024 (BINFMTFS_MAGIC): Likewise.
9025 (BTRFS_TEST_MAGIC): Likewise.
9026 (CRAMFS_MAGIC_WEND): Likewise.
9027 (DEBUGFS_MAGIC): Likewise.
9028 (ECRYPTFS_SUPER_MAGIC): Likewise.
9029 (EXT3_SUPER_MAGIC): Likewise.
9030 (EXT4_SUPER_MAGIC): Likewise.
9031 (FUTEXFS_SUPER_MAGIC): Likewise.
9032 (HOSTFS_SUPER_MAGIC): Likewise.
9033 (HUGETLBFS_MAGIC): Likewise.
9034 (MINIX3_SUPER_MAGIC): Likewise.
9035 (MTD_INODE_FS_MAGIC): Likewise.
9036 (NILFS_SUPER_MAGIC): Likewise.
9037 (OPENPROM_SUPER_MAGIC): Likewise.
9038 (PIPEFS_MAGIC): Likewise.
9039 (PSTOREFS_MAGIC): Likewise.
9040 (QNX6_SUPER_MAGIC): Likewise.
9041 (RAMFS_MAGIC): Likewise.
9042 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9043 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9044 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9045 (SECURITYFS_MAGIC): Likewise.
9046 (SELINUX_MAGIC): Likewise.
9047 (SMACK_MAGIC): Likewise.
9048 (SOCKFS_MAGIC): Likewise.
9049 (SQUASHFS_MAGIC): Likewise.
9050 (STACK_END_MAGIC): Likewise.
9051 (TMPFS_MAGIC): Likewise.
9052 (USBDEVICE_SUPER_MAGIC): Likewise.
9053 (V9FS_MAGIC): Likewise.
9054 (XENFS_SUPER_MAGIC): Likewise.
9055 (CRAMFS_MAGIC): Fix typo in comment.
9056 (EXT2_SUPER_MAGIC): Update comment.
9057 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9058
464263cc
JM
90592014-02-08 Joseph Myers <joseph@codesourcery.com>
9060
c6bfe5c4
JM
9061 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9062 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9063 * sysdeps/unix/sysv/linux/arm: Move directory from
9064 ports/sysdeps/unix/sysv/linux/arm.
9065 * README: Update listing for arm-*-linux-gnueabi.
9066
464263cc
JM
9067 * README: Remove mention of am33.
9068
32749f6c
RM
90692014-02-07 Roland McGrath <roland@hack.frob.com>
9070
9071 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9072 than the comma operator, to avoid "rhs of comma has no effect"
9073 compiler warnings.
9074 (__sigfillset, __sigandset, __sigorset): Likewise.
9075 * include/signal.h (__sigemptyset): Likewise.
9076 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9077
d5b396c1
AM
90782014-02-07 Allan McRae <allan@archlinux.org>
9079
9080 * version.h (RELEASE): Set to "development".
9081 (VERSION): Set to "2.19.90"
9082 * NEWS: Add 2.20 section.
9083
3bfff2ed
CD
90842014-02-06 Carlos O'Donell <carlos@redhat.com>
9085
9086 [BZ #16529]
9087 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9088
ee7cc385
SP
90892014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9090
9091 * manual/contrib.texi: Update entry for Carlos O'Donell,
9092 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9093
f877c4f2
CD
90942014-02-05 Carlos O'Donell <carlos@rehdat.com>
9095
27e839f6
CD
9096 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9097
f877c4f2
CD
9098 * sysdeps/unix/sysv/linux/kernel-features.h
9099 [__LINUX_KERNEL_VERSION >= 0x020621]
9100 (__ASSUME_PROC_PID_TASK_COMM): Define.
9101
68159946
SP
91022014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9103
ba17cdbd
SP
9104 [BZ #16398]
9105 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9106 conversion when destination buffer does not have enough space.
9107 * libio/tst-ftell-partial-wide.c: New test case.
9108 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9109
68159946
SP
9110 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9111 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9112 Leonard and Allan McRae.
9113
2b528732
DM
91142014-02-04 David S. Miller <davem@davemloft.net>
9115
9116 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9117 32-bit.
9118
0ff82463
AZ
91192014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9120
57f41c40
AS
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9122 New file
c01603f7
AZ
9123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9124 New file
57f41c40
AS
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9126 New file.
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9128 New file.
c01603f7
AZ
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9130 New file.
57f41c40
AS
9131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9132 New file.
9133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9134 New file.
c01603f7
AZ
9135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9136 New file.
9137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9138 New file.
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9140 New file.
9141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9142 New file.
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9144 New file.
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9146 New file.
9147
91482014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9149
0ff82463
AZ
9150 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9151 * shlib-versions: Likewise.
9152
1695c773
AZ
91532014-02-04 Roland McGrath <roland@hack.frob.com>
9154 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9155
9156 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9157 (abilist-pattern): New variable, set to %-le.abilist.
9158
9159 * Makerules (abilist-pattern): New variable.
9160 (vpath): Use $(abilist-pattern) in place of %.abilist.
9161 (check-abi-% pattern rule): Likewise.
9162 (check-abi, update-abi): Likewise.
9163
6c0ce4b4
EW
91642014-02-04 Eric Wong <normalperson@yhbt.net>
9165
9166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9167
481e3524
CD
91682014-02-03 Carlos O'Donell <carlos@redhat.com>
9169
9170 * manual/startup.texi: Add next, previous, and top entries for
9171 the `Program Arguments' and `Environment Variables' nodes.
9172
375592d3
AO
91732014-02-03 Alexandre Oliva <aoliva@redhat.com>
9174
9175 * manual/macros.texi: Add comments before MTASC-safety macros.
9176
f54838ba
AO
9177 * manual/users.texi: Document MTASC-safety properties.
9178
57f41c40
AS
9179 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9180 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
9181 @deftypefun, and add @safety note.
9182 * manual/signal.texi: Move comments that analyze the above
9183 functions to their home place.
9184
fd3daba4
AM
91852014-02-03 Allan McRae <allan@archlinux.org>
9186
9187 * po/sl.po: Update Slovenian translation from translation project.
9188
597636d7
AO
91892014-02-02 Alexandre Oliva <aoliva@redhat.com>
9190
9191 * manual/time.texi (timegm): Add missing blank after @c.
9192 Reported by Joseph Myers <joseph@codesourcery.com>.
9193
ee196e3c
AO
91942014-02-01 Alexandre Oliva <aoliva@redhat.com>
9195
9196 * manual/check-safety.sh: New.
9197 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9198
f8d529d5
AO
9199 * manual/terminal.texi: Document MTASC-safety properties.
9200
de55fdf4
AO
9201 * manual/filesys.texi: Document MTASC-safety properties.
9202
c3299c08
AO
9203 * manual/errno.texi: Document MTASC-safety properties.
9204
06e90b14
AO
9205 * manual/intro.texi: Document safety identifiers and
9206 conditionals.
9207
1acd4371
AO
9208 * manual/string.texi (wcstok): Fix prototype.
9209 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9210
23e5b8cb
AO
9211 * manual/time.texi: Document MTASC-safety properties.
9212
11087373
AO
9213 * manual/string.texi: Document MTASC-safety properties.
9214
5da2c93d
AO
9215 * manual/threads.texi: Document MTASC-safety properties.
9216
171e9210
AO
9217 * manual/stdio.texi: Document MTASC-safety properties.
9218
d9e02532
AO
9219 * manual/syslog.texi: Document MTASC-safety properties.
9220
6af8bab7
AO
9221 * manual/sysinfo.texi: Document MTASC-safety properties.
9222
663b02d7
AO
9223 * manual/startup.texi: Document MTASC-safety properties.
9224
973f180b
AO
9225 * manual/socket.texi: Document MTASC-safety properties.
9226
8f3c25c8
AO
9227 * manual/signal.texi: Document MTASC-safety properties.
9228
542210fb
AO
92292014-01-31 Alexandre Oliva <aoliva@redhat.com>
9230
9231 * manual/setjmp.texi: Document MTASC-safety properties.
9232
433c45a2
AO
9233 * manual/search.texi: Document MTASC-safety properties.
9234
c8ce789c
AO
9235 * manual/resource.texi: Document MTASC-safety properties.
9236
19f5d29c
AO
9237 * manual/process.texi: Document MTASC-safety properties.
9238
e2dfb7f4
AO
9239 * manual/platform.texi: Document MTASC-safety properties.
9240
8c1413f5
AO
9241 * manual/pipe.texi: Document MTASC-safety properties.
9242
03483ada
AO
9243 * manual/pattern.texi: Document MTASC-safety properties.
9244
29e7e2df
AO
9245 * manual/message.texi: Document MTASC-safety properties.
9246
9f529d7c
AO
9247 [BZ #12751]
9248 * manual/memory.texi: Document MTASC-safety properties.
9249
27aaa791
AO
9250 * manual/math.texi: Document MTASC-safety properties.
9251
f2d58726
AO
9252 * manual/locale.texi: Document MTASC-safety properties.
9253
2cc3615c
AO
9254 * manual/llio.texi: Document MTASC-safety properties.
9255
d9f0ec97
AO
9256 * manual/libdl.texi: New.
9257
e7c4409a
AO
9258 * manual/lang.texi: Document MTASC-safety properties.
9259
27bdc63c
AO
9260 * manual/job.texi: Document MTASC-safety properties.
9261
a7b90ea9
AO
9262 * manual/getopt.texi: Document MTASC-safety properties.
9263
c49130e3
AO
9264 * manual/ctype.texi: Document MTASC-safety properties.
9265
0d23a5c1
MR
92662014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9267
9268 [BZ #16046]
9269 * csu/libc-tls.c (static_map): Remove variable.
9270 (__libc_setup_tls): Use main executable's link map for TLS data.
9271 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9272 casing for LM_ID_BASE and GL(dl_nns).
9273 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9274 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9275 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9276 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9277 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9278 member.
9279 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9280 l_phnum members.
9281
0037bb60
AO
92822014-01-30 Alexandre Oliva <aoliva@redhat.com>
9283
9284 * manual/debug.texi: Document MTASC-safety properties.
9285
409e00bd
L
92862014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9287
9288 [BZ #16510]
9289 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9290 of __x86_64__ when disabling x87 inline functions.
9291
86e60666
AO
92922014-01-29 Alexandre Oliva <aoliva@redhat.com>
9293
9294 * manual/charset.texi: Document MTASC-safety properties.
9295
76167637
AO
9296 * manual/crypt.texi: Document MTASC-safety properties.
9297
e567f2a0
AO
9298 * manual/conf.texi: Document MTASC-safety properties.
9299
b719dafd
AO
9300 * manual/arith.texi: Document MTASC-safety properties.
9301
4a16c662
AO
9302 * manual/argp.texi: Document MTASC-safety properties.
9303
0a57b83e
AO
9304 * manual/macros.texi: Introduce macros to document multi
9305 thread, asynchronous signal and asynchronous cancellation
9306 safety properties.
9307 * manual/intro.texi: Introduce the properties themselves.
9308
feab2397
KK
93092014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9310
9311 * sysdeps/sh/sh4/Makefile: New file.
9312
1c0d11bc
AS
93132014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9314
9315 * math/gen-libm-test.pl ($srcdir): New variable.
9316 ($auto_input): Use it.
9317
af37a8a3
SP
93182014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9319
d7b00f98
SP
9320 [BZ #16506]
9321 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9322 access beyond array bounds when parsing netgroups file.
9323
af37a8a3
SP
9324 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9325 the old buffer before realloc.
9326
0c00f062
AM
93272014-01-27 Allan McRae <allan@archlinux.org>
9328
9329 * po/fr.po: Update French translation from translation project.
9330
7d69a1b0
KK
93312014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9332
9333 * sysdeps/sh/libm-test-ulps: Regenerate.
9334
6e697ff7
DM
93352014-01-24 David S. Miller <davem@davemloft.net>
9336
9337 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9338
9cadb35c
KK
93392014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9340
9341 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9342 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9343
5d41dadf
SP
93442013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9345
9346 [BZ #16474]
9347 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9348 string pointers after reallocation.
9349
0bad441c
KK
93502014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9351
9352 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9353 __SH4A__ instead of __SH_FPU_ANY__.
9354
7007c661
KK
93552014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9356
9357 * sysdeps/sh/fpu_control.h: New file.
9358 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9359 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9360 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9361 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9362 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9363 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9364 * sysdeps/sh/sys/ucontext.h: Remove.
9365 * sysdeps/sh/sys: Remove directory.
9366
0f0c35e4
AK
93672014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9368
9369 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9370 s390/sys/ucontext.h.
9371 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9372 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9373
4959e284
L
93742014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9375
9376 [BZ #15605]
9377 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9378
d98720e0
AZ
93792014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9380
9381 [BZ#16431]
9382 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9383 Adjust the vDSO correctly for internal calls.
9384 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9385
91cbd0bc
AM
93862014-01-20 Allan McRae <allan@archlinux.org>
9387
9388 * po/ca.po: Update Catalan translation from translation project.
9389
7a02cfad
MF
93902014-01-16 Mike Frysinger <vapier@gentoo.org>
9391
9392 * sysdeps/s390/sotruss-lib.c: New file.
9393
736c304a
AZ
93942014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9395
9396 [BZ#16430]
6e077ee5 9397 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
9398 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9399 local calls issues by not having a PLT stub required for IFUNC calls.
9400 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9401
94d0cea0
JM
94022014-01-16 Joseph Myers <joseph@codesourcery.com>
9403
9404 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9405 * math/test-fpucw-static.c: Likewise.
9406
980cb518
SP
94072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9408
9409 [BZ #16453]
9410 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9411
2393fc01
AZ
94122014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9413
9414 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9415 implementation for powerpc.
9416
d359bcc2
OB
94172014-01-15 Ondřej Bílka <neleai@seznam.cz>
9418
9419 [BZ #14782]
9420 * sysdeps/posix/system.c (__libc_system): Do not enable
9421 asynchronous cancellation.
9422
7beb48cb
AK
94232014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9424
9425 [BZ #16427]
9426 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9427 handling only for numbers special also in the IEEE case.
9428
c20d5bf5
AK
94292014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9430
9431 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9432
e83bd4ee
AM
94332014-01-11 Allan McRae <allan@archlinux.org>
9434
76d0ea69
AM
9435 * po/bg.po: Update Bulgarian translation from translation project.
9436
e83bd4ee
AM
9437 * po/de.po: Update German translation from translation project.
9438
bc2ba20a
RM
94392014-01-10 Roland McGrath <roland@hack.frob.com>
9440
9441 * sysdeps/generic/gcc-compat.h: New file.
9442
649ecea2
SP
94432014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9444
9445 * benchtests/asin-inputs: Correct slow inputs.
9446 * benchtests/acos-inputs: Likewise.
9447
1b19c006
AM
94482014-01-10 Allan McRae <allan@archlinux.org>
9449
a46dab08
AM
9450 * po:sv.po: Update Swedish translation from translation project.
9451
421df74a
AM
9452 * po/vi.po: Update Vietnamese translation from translation project.
9453
d61c51a7
AM
9454 * po/eo.po: Update Esperanto translation from translation project.
9455
0339a319
AM
9456 * po/cs.po: Update Czech translation from translation project.
9457
94ad3e99
AM
9458 * po/nl.po: Update Dutch translation from translation project.
9459
e349ca71
AM
9460 * po/pl.po: Update Polish translation from translation project.
9461
ddf930c1
AM
9462 * po/ru.po: Update Russian translation from translation project.
9463
1b19c006
AM
9464 * po/uk.po: Update Ukrainian translation from translation project.
9465
9f236c49
BM
94662014-01-08 Brooks Moses <bmoses@google.com>
9467
9468 * elf/dl-load.c: Fix comment typo.
9469
cd6701cf
CD
94702014-01-08 Carlos O'Donell <carlos@redhat.com>
9471
9472 * po/header.pot: Rename to...
9473 * po/pot.header: ... this.
9474 * po/Makefile: Use pot.header.
9475
66671c84
YK
94762014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9477 Maxim Kuvyrkov <maxim@kugelworks.com>
9478
9479 [BZ #16394]
cd6701cf
CD
9480 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9481 SRC and DEST against LEN.
66671c84 9482
38f34581
AZ
94832014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9484
9485 [BZ #16414]
9486 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9487 implementation.
9488 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9489
94902014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
9491
9492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9493
4c327f2a
JM
94942014-01-08 Joseph Myers <joseph@codesourcery.com>
9495
9496 [BZ #16408]
9497 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9498 for large positive arguments.
9499
b821f414
JM
95002014-01-07 Joseph Myers <joseph@codesourcery.com>
9501
1f0f2067
JM
9502 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9503
a5a326f6
JM
9504 * math/auto-libm-test-in: Mark various tests with
9505 xfail-rounding:ldbl-128ibm.
9506 * math/auto-libm-test-out: Regenerated.
9507
b821f414
JM
9508 [BZ #16407]
9509 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9510 Increase overflow threshold.
9511
94c8a4bc
OB
95122014-01-07 Ondřej Bílka <neleai@seznam.cz>
9513
9514 [BZ #14286]
9515 * stdio-common/vfprintf.c: Check for integer overflow.
9516
87ded0c3
AK
95172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9518
9519 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9520 the first argument and return value of __tls_get_addr_internal.
9521
c5eebdd0
AK
95222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9523
9524 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9525 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9526
05d138ef
AK
95272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9528
9529 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9530 * sysdeps/s390/rtld-global-offsets.sym: New file.
9531 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9532 GLIBC_2.19 symbol.
9533 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9534 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9535 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9536 ... this.
9537 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9538 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9539 ... this.
9540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9541 Regenerate.
9542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9543 Regenerate.
9544 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9545 halfs of GPRs for high_gprs contexts.
9546 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9547 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9548 field.
9549 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9550 uc_flags field.
9551 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9552 64 bit versions:
9553 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9554 for high GPRs (uc_high_gprs) and for future extensions
9555 (__reserved).
9556 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9557 for future extensions (__reserved).
9558 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9559 64 bit versions:
9560 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9561 SC_HIGHGPRS offset definition.
9562 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9563 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9564
93a45ff1
AK
9565 * Versions.def: Add GLIBC_2.19 for libpthread.
9566 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9567 siglongjmp for libpthread with GLIBC_2.19 symver.
9568 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9569 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9570 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9571 * sysdeps/s390/__longjmp.c: New file.
9572 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9573 * sysdeps/s390/longjmp.c: New file.
9574 * sysdeps/s390/setjmp.S: New file.
9575 * sysdeps/s390/sigjmp.S: New file.
9576 * sysdeps/s390/v1-longjmp.c: New file.
9577 * sysdeps/s390/v1-setjmp.h: New file.
9578 * sysdeps/s390/v1-sigjmp.c: New file.
9579 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9580 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9581 GLIBC_2.19 version.
9582 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9583 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9584 versioned symbols for ____longjmp_chk.
9585 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9586 Likewise.
9587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9588 Regenerate.
9589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9590 Regenerate.
9591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9592 Regenerate.
9593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9594 Regenerate.
9595 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9596 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9597 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9598 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9599 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9600 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9601 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9602 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9603 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9604 * sysdeps/s390/rtld-__longjmp.c: New file.
9605 * sysdeps/s390/rtld-setjmp.S: New file.
9606
eb3fc44b
JM
96072014-01-06 Joseph Myers <joseph@codesourcery.com>
9608
9609 [BZ #16400]
9610 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9611 Return -__logl (x) for small positive arguments without evaluating
9612 a polynomial.
9613
9341dde4
MF
96142014-01-06 Mike Frysinger <vapier@gentoo.org>
9615
9616 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9617 Rename to ...
9618 (__ptrace_peeksiginfo_args): ... this.
9619 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9620 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9621 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9622
4cff0293
AM
96232014-01-06 Allan McRae <allan@archlinux.org>
9624
9625 * inet/netinet/in.h: Fix typo in comment.
9626
75595dcf
AJ
96272014-01-05 Andreas Jaeger <aj@suse.de>
9628
9629 * sysdeps/i386/fpu/libm-test-ulps: Update.
9630
79c1e109
AM
96312014-01-05 Allan McRae <allan@archlinux.org>
9632
dd804818
AM
9633 * po/libc.pot: Regenerated.
9634
79c1e109
AM
9635 * malloc/memusagestat.c: Fix gettext call formatting.
9636
0c813d1f
SK
96372014-01-04 Sami Kerola <kerolasa@iki.fi>
9638
9639 * nscd/nscd.c: Improve usage() output.
9640
20f4a8d9
MF
96412014-01-04 Mike Frysinger <vapier@gentoo.org>
9642
9643 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9644 * sysdeps/unix/sysv/linux/configure: Regenerated.
9645 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9646 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9647
22562bb2
JM
96482014-01-03 Joseph Myers <joseph@codesourcery.com>
9649
9650 [BZ #16390]
9651 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9652 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9653
d7ad2d9b
AZ
96542014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9655
9656 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9657 extra tokens at end of #undef directive.
9658 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9659 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9660 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9661
7dd009d8
JM
96622014-01-03 Joseph Myers <joseph@codesourcery.com>
9663
24db925a
JM
9664 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9665
7dd009d8
JM
9666 * math/auto-libm-test-in: Mark various tests with
9667 xfail-rounding:ldbl-128ibm.
9668 * math/auto-libm-test-out: Regenerated.
9669
396e3ecf
JM
96702014-01-02 Joseph Myers <joseph@codesourcery.com>
9671
819e5d50
JM
9672 [BZ #16386]
9673 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9674 numbers with subnormal high part when calculating exponent.
9675
90b6a1e5
JM
9676 [BZ #16385]
9677 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9678 fabs.
9679
396e3ecf
JM
9680 [BZ #16384]
9681 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9682 M_LN2l.
9683 (__ieee754_acoshl): Use __log1pl not __log1p.
9684
6c8dbf00
OB
96852013-01-02 Ondřej Bílka <neleai@seznam.cz>
9686
57f41c40
AS
9687 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9688 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9689 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9690 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9691 (reused_arena, arena_get2): Convert to GNU style.
9692 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9693 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9694 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 9695 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
9696 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9697 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9698 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9699 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9700 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9701 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 9702 * malloc/malloc.h: Likewise.
57f41c40
AS
9703 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9704 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 9705 * malloc/mcheck.h: Likewise.
57f41c40
AS
9706 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9707 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
9708 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9709 * malloc/morecore.c (__default_morecore): Likewise.
9710 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
9711 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9712 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9713 (print_and_abort): Likewise.
6c8dbf00
OB
9714 * malloc/obstack.h: Likewise.
9715 * malloc/set-freeres.c (__libc_freeres): Likewise.
9716 * malloc/tst-mallocstate.c (main): Likewise.
9717 * malloc/tst-mtrace.c (main): Likewise.
9718 * malloc/tst-realloc.c (do_test): Likewise.
9719
d4124212
SP
97202013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9721
9a3c6a6f
SP
9722 [BZ #16366]
9723 * nscd/netgroupcache.c (do_notfound): New function.
9724 (addgetnetgrentX): Use it.
9725
d4124212
SP
9726 [BZ # 16365]
9727 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9728 NSS_STATUS_NOTFOUND.
9729
97b9a009
JM
97302014-01-01 Joseph Myers <joseph@codesourcery.com>
9731
9732 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9734
d4697bc9
AM
97352014-01-01 Allan McRae <allan@archlinux.org>
9736
ddb3687f
AM
9737 * scripts/update-copyrights: Update configure input file suffix.
9738
88726d48
AM
9739 * NEWS: Update copyright year.
9740 * catgets/gencat.c: Likewise.
9741 * csu/version.c: Likewise.
9742 * debug/catchsegv.sh: Likewise.
9743 * debug/pcprofiledump.c: Likewise.
9744 * debug/xtrace.sh: Likewise.
9745 * elf/ldconfig.c: Likewise.
9746 * elf/ldd.bash.in: Likewise.
9747 * elf/pldd.c: Likewise.
9748 * elf/sotruss.ksh: Likewise.
9749 * elf/sprof.c: Likewise.
9750 * iconv/iconv_prog.c: Likewise.
9751 * iconv/iconvconfig.c: Likewise.
9752 * locale/programs/locale.c: Likewise.
9753 * locale/programs/localedef.c: Likewise.
9754 * login/programs/pt_chown.c: Likewise.
9755 * malloc/memusage.sh: Likewise.
9756 * malloc/memusagestat.c: Likewise.
9757 * malloc/mtrace.pl: Likewise.
9758 * manual/libc.texinfo: Likewise.
9759 * nscd/nscd.c: Likewise.
9760 * nss/getent.c: Likewise.
9761 * nss/makedb.c: Likewise.
9762 * posix/getconf.c: Likewise.
9763 * scripts/test-installation.pl: Likewise.
9764
d4697bc9
AM
9765 * All files with FSF copyright notices: Update copyright dates
9766 using scripts/update-copyrights.
9767 * intl/plural.c: Regenerated.
9768 * locale/programs/charmap-kw.h: Likewise.
9769 * locale/programs/locfile-kw.h: Likewise.
9770
c8590f9d
MF
97712013-12-31 Mike Frysinger <vapier@gentoo.org>
9772
9773 * sysdeps/unix/sysv/linux/configure: Regenerated.
9774 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9775 the linux/fanotify.h header.
9776 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9777 HAVE_LINUX_FANOTIFY_H is defined.
9778
b19221b9
SP
97792013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9780
dd1d85e5
SP
9781 * benchtests/cos-inputs: New inputs.
9782 * benchtests/sin-inputs: Likewise.
9783
1acbb90f
SP
9784 * benchtests/atan-inputs: New inputs. Fix name of multiple
9785 precision fallback inputs.
9786
4c012ed3
SP
9787 * benchtests/atanh-inputs: New inputs.
9788 * benchtests/tanh-inputs: Likewise.
9789
eff98324
SP
9790 * benchtests/acosh-inputs: New inputs.
9791 * benchtests/asinh-inputs: Likewise.
9792
ce641152
SP
9793 * benchtests/cosh-inputs: New inputs.
9794 * benchtests/sinh-inputs: Likewise.
9795
b19221b9
SP
9796 * benchtests/acos-inputs: Add more inputs.
9797 * benchtests/asin-inputs: Likewise.
9798
030a4976 97992013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 9800
030a4976 9801 [BZ #16375]
9dcc8f11
VS
9802 * manual/arith.texi: Fix spelling.
9803 * manual/charset.texi: Likewise.
9804 * manual/errno.texi: Likewise.
9805 * manual/filesys.texi: Likewise.
9806 * manual/lang.texi: Likewise.
9807 * manual/llio.texi: Likewise.
9808 * manual/locale.texi: Likewise.
9809 * manual/message.texi: Likewise.
9810 * manual/resource.texi: Likewise.
9811 * manual/search.texi: Likewise.
9812 * manual/setjmp.texi: Likewise.
9813 * manual/stdio.texi: Likewise.
9814 * manual/string.texi: Likewise.
9815 * manual/sysinfo.texi: Likewise.
9816 * manual/time.texi: Likewise.
9817
11520a57
CD
98182013-12-27 Carlos O'Donell <carlos@redhat.com>
9819
9820 * po/sl.po: New file.
9821
471103ae
MF
98222013-12-27 Mike Frysinger <vapier@gentoo.org>
9823
9824 * .gitignore: Add core/.gdbinit/.gdb_history.
9825
6c9642ed
AM
98262013-12-27 Allan McRae <allan@archlinux.org>
9827
9828 [BZ #16369]
9829 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9830 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9831
3f637079
BM
98322013-12-24 Brooks Moses <bmoses@google.com>
9833
9834 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9835 all compilers that claim C++98 compliance, not just GCC.
9836 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9837 Likewise.
9838
abc26e99
MK
98392013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9840
9841 * NEWS: Restore accidentally deleted bug-fix entries.
9842
362b47fe
MK
98432013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9844 Ondřej Bílka <neleai@seznam.cz>
9845
9846 [BZ #15073]
9847 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 9848 have_lock.
362b47fe 9849
b9bcbbcb
OB
98502013-12-23 Ondřej Bílka <neleai@seznam.cz>
9851
9852 [BZ #12986]
9853 * manual/stdio.texi (String Input Conversions): Clarify that character
9854 classes are not supported.
9855
fb55fcd2
AZ
98562013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9857
9858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9859
ef7344f0
JM
98602013-12-22 Joseph Myers <joseph@codesourcery.com>
9861
4f40e4b3
JM
9862 [BZ #16337]
9863 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9864 Calculate results for small negative arguments directly rather
9865 than using reflection formula with special underflow handling.
9866
ef7344f0
JM
9867 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9868 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9869 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9870 (fchflags): Likewise.
9871 (revoke): Likewise.
9872 (setlogin): Likewise.
9873 (sigaltstack): Likewise.
9874 (wait4): Likewise.
9875 (sigblock): Remove.
9876 (sigsetmask): Likewise.
9877 (wait3): Likewise.
9878 (waitpid): Likewise.
9879 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9880 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9881 file.
9882 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9883 * sysdeps/unix/bsd/Makefile: ... here.
9884 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9885 * sysdeps/unix/bsd/Versions: ... here.
9886 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9887 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9888 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9889 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9890 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9891 * sysdeps/unix/bsd/sigblock.c: ... here.
9892 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9893 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9894 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9895 * sysdeps/unix/bsd/sigvec.c: ... here.
9896 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9897 * sysdeps/unix/bsd/tcdrain.c: ... here.
9898 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9899 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9900 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9901 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9902 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9903 * sysdeps/unix/bsd/wait.c: ... here.
9904 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9905 * sysdeps/unix/bsd/wait3.c: ... here.
9906 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9907 * sysdeps/unix/bsd/waitpid.c: ... here.
9908
5b0626b9
JM
99092013-12-21 Joseph Myers <joseph@codesourcery.com>
9910
9911 [BZ #16356]
9912 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9913 round-to-nearest for [!USE_AS_EXPM1L].
9914 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9915 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9916 more tests of exp and exp10. Expect some exp10 tests to miss
9917 exceptions or fail in directed rounding modes.
9918 * math/auto-libm-test-out: Regenerated.
9919 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9920 (exp10_test_tonearest): New function.
9921 (exp10_towardzero_test_data): New array.
9922 (exp10_test_towardzero): New function.
9923 (exp10_downward_test_data): New array.
9924 (exp10_test_downward): New function.
9925 (exp10_upward_test_data): New array.
9926 (exp10_test_upward): New function.
9927 (main): Call the new functions.
9928 * sysdeps/i386/fpu/libm-test-ulps: Update.
9929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9930
7fda5682
JM
99312013-12-20 Joseph Myers <joseph@codesourcery.com>
9932
31e3a405
JM
9933 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9934 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9935 * math/auto-libm-test-out: Regenerated.
9936 * math/libm-test.inc (acosh_test_data): Add more tests.
9937 (atanh_test_data): Likewise.
9938 (ceil_test_data): Likewise.
9939 (copysign_test_data): Likewise.
9940 * sysdeps/i386/fpu/libm-test-ulps: Update.
9941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9942
85bff96a
JM
9943 * timezone/checktab.awk: Update from tzcode 2013i.
9944 * timezone/private.h: Likewise.
9945 * timezone/scheck.c: Likewise.
9946 * timezone/tzfile.h: Likewise.
9947 * timezone/tzselect.ksh: Likewise.
9948 * timezone/zdump.c: Likewise.
9949 * timezone/zic.c: Likewise.
9950
b7867a3b
JM
9951 * math/auto-libm-test-in: Add tests of cpow.
9952 * math/auto-libm-test-out: Regenerated.
9953 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 9954 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
9955 mpc_cc_c.
9956 (func_calc_desc): Add mpc_cc_c union field.
9957 (test_functions): Add cpow.
9958 (special_fill_2pi): New function.
9959 (special_real_inputs): Add 2pi.
9960 (calc_generic_results): Handle mpc_cc_c.
9961 * sysdeps/i386/fpu/libm-test-ulps: Update.
9962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9963
7fda5682
JM
9964 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9965 csqrt, ctan and ctanh.
9966 * math/auto-libm-test-out: Regenerated.
9967 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9968 (TEST_COND_x86): Likewise.
9969 (ccos_test_data): Use AUTO_TESTS_c_c.
9970 (ccosh_test_data): Likewise.
9971 (cexp_test_data): Likewise.
9972 (clog_test_data): Likewise.
9973 (csqrt_test_data): Likewise.
9974 (ctan_test_data): Likewise.
9975 (ctan_tonearest_test_data): Likewise.
9976 (ctan_towardzero_test_data): Likewise.
9977 (ctan_downward_test_data): Likewise.
9978 (ctan_upward_test_data): Likewise.
9979 (ctanh_test_data): Likewise.
9980 (ctanh_tonearest_test_data): Likewise.
9981 (ctanh_towardzero_test_data): Likewise.
9982 (ctanh_downward_test_data): Likewise.
9983 (ctanh_upward_test_data): Likewise.
9984 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9985 mpc_c_c.
9986 (func_calc_desc): Add mpc_c_c union field.
9987 (FUNC_mpc_c_c): New macro.
9988 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9989 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9990 ctanh.
9991 (special_fill_min_subnorm_p120): New function.
9992 (special_real_inputs): Add min_subnorm_p120.
9993 (calc_generic_results): Handle mpc_c_c.
9994 * sysdeps/i386/fpu/libm-test-ulps: Update.
9995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9996
5ff8d60e
SP
99972013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9998
57f41c40
AS
9999 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10000 (do_sin_slow): New functions.
10001 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10002 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 10003
84ba214c
SP
10004 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10005 Use M to change sign of result instead of X. Assume X is
10006 positive.
10007 (csloww1): Likewise.
10008 (__sin): Adjust.
10009 (__cos): Adjust.
10010
975195e4
SP
10011 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10012 arguments A and DA.
10013 (__sin): Adjust.
10014 (__cos): Likewise.
10015
5ff8d60e
SP
10016 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10017 (__cos): Likewise.
10018 (sloww1): Don't adjust sign of DX.
10019 (csloww1): Likewise.
10020 (sloww2): Use X directly and don't adjust sign of DX.
10021 (csloww2): Likewise.
10022
eb983568
JM
100232013-12-19 Joseph Myers <joseph@codesourcery.com>
10024
64a17f1a
JM
10025 * math/auto-libm-test-in: Add tests of cabs and carg.
10026 * math/auto-libm-test-out: Regenerated.
10027 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10028 (carg_test_data): Likewise.
10029 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10030 mpc_c_f.
10031 (func_calc_desc): Add mpc_c_f union field.
10032 (test_functions): Add cabs and carg.
10033 (calc_generic_results): Handle mpc_c_f.
10034
eb983568
JM
10035 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10036 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10037 as a macro and a compat symbol.
10038 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10039 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10040 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10041 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10042 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10043 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10044 not use .hidden.
10045 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10046 Likewise.
10047 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10048 Likewise.
10049 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10050 Likewise.
10051 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10052 Likewise.
10053 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10054 Likewise.
10055 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10056 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10057 from GLIBC_2.3.2.
10058
6eeb678a
AZ
100592013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10060
10061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10062
6f6fc482
JM
100632013-12-19 Joseph Myers <joseph@codesourcery.com>
10064
21fea2e2
JM
10065 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10066 trailing whitespace removed.
10067 * scripts/config.guess: Update to version 2013-11-29.
10068 * scripts/config.sub: Update to version 2013-10-01.
10069
6f6fc482
JM
10070 * math/auto-libm-test-in: Add tests of sincos.
10071 * math/auto-libm-test-out: Regenerated.
10072 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10073 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10074 mpfr_f_11.
10075 (func_calc_desc): Add mpfr_f_11 union field.
10076 (test_functions): Add sincos.
10077 (calc_generic_results): Handle mpfr_f_11.
10078 * sysdeps/i386/fpu/libm-test-ulps: Update.
10079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10080
83f5c32d
AS
100812013-12-19 Andreas Schwab <schwab@suse.de>
10082
10083 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10084 CALL_MCOUNT.
10085 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10086 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10087 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10088
c688b419
JM
100892013-12-19 Joseph Myers <joseph@codesourcery.com>
10090
335ee092
JM
10091 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10092 * sysdeps/i386/fpu/libm-test-ulps: Update.
10093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10094
f88acd39
JM
10095 [BZ #16293]
10096 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10097 round-to-nearest mode when using frndint.
10098 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10099 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10100 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10101 Likewise.
10102 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10103 sinh test to fail.
10104 * math/auto-libm-test-out: Regenerated.
10105 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10106 (TEST_COND_x86): Likewise.
10107 (expm1_tonearest_test_data): New array.
10108 (expm1_test_tonearest): New function.
10109 (expm1_towardzero_test_data): New array.
10110 (expm1_test_towardzero): New function.
10111 (expm1_downward_test_data): New array.
10112 (expm1_test_downward): New function.
10113 (expm1_upward_test_data): New array.
10114 (expm1_test_upward): New function.
10115 (main): Run the new test functions.
10116 * sysdeps/i386/fpu/libm-test-ulps: Update.
10117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10118
c688b419
JM
10119 * include/features.h: Update comment documenting feature test
10120 macros. Mention _DEFAULT_SOURCE in comment.
10121 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10122 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10123 _BSD_SOURCE and _SVID_SOURCE.
10124 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10125 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10126 !_SVID_SOURCE]: Likewise.
10127 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10128 (__USE_POSIX_IMPLICITLY): Define.
10129 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10130 (_POSIX_SOURCE): Undefine and redefine.
10131 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10132 (_POSIX_C_SOURCE): Likewise.
10133 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10134 (Feature Test Macros): Update documentation of default features.
10135
9f6e964c
RS
101362013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10137
10138 * benchtests/Makefile: Add bench-strtok.
10139 * benchtests/bench-strtok.c: New file: strtok benchtest.
10140
ee0a148a
AM
101412013-12-19 Allan McRae <allan@archlinux.org>
10142
10143 * manual/install.texi: Suppress menu for plain text output.
10144 * INSTALL: Regenerated.
10145
b9ab448f
BM
101462013-12-18 Brooks Moses <bmoses@google.com>
10147
10148 [BZ #15846]
10149 * misc/getauxval.c: Include errno.h.
10150 (__getauxval): Set errno to ENOENT if the requested type is not
10151 found.
10152 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10153 don't declare with __attribute_const__.
10154 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10155 * manual/startup.texi: Document that getauxval sets errno.
10156
23776487
JM
101572013-12-18 Joseph Myers <joseph@codesourcery.com>
10158
f889953b
JM
10159 * math/auto-libm-test-in: Add tests of jn and yn.
10160 * math/auto-libm-test-out: Regenerated.
10161 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10162 (yn_test_data): Likewise.
10163 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10164 mpfr_if_f.
10165 (func_calc_desc): Add mpfr_if_f union field.
10166 (FUNC_mpfr_if_f): New macro.
10167 (test_functions): Add jn and yn.
10168 (calc_generic_results): Assert type of second input for
10169 mpfr_ff_f. Handle mpfr_if_f.
10170 (output_for_one_input_case): Disable all checking for arguments
10171 fitting floating-point types in case of an integer argument.
10172 * sysdeps/i386/fpu/libm-test-ulps: Update.
10173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10174
23776487
JM
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10176 Don't expect fegetround reference in libm.so.
10177
cb756c6d
MS
101782013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10179
10180 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10181 $(config-cflags-nofma).
10182
2dec468f
JM
101832013-12-18 Joseph Myers <joseph@codesourcery.com>
10184
5953eb3a
JM
10185 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10186 * math/auto-libm-test-out: Regenerated.
10187
2dec468f
JM
10188 [BZ #16338]
10189 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10190 to determine exponent and adjust argument to have exponent of -1.
10191 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10192 log2.
10193 * math/auto-libm-test-out: Regenerated.
10194 * sysdeps/i386/fpu/libm-test-ulps: Update.
10195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10196
4d84e6ad
OB
101972013-12-18 Ondřej Bílka <neleai@seznam.cz>
10198
10199 * manual/probes.texi: Remove cases when per-thread arenas are
10200 disabled.
10201
1818483b
AS
102022013-12-18 Andreas Schwab <schwab@suse.de>
10203
10204 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10205 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10206 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10207 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10208 * sysdeps/i386/i686/multiarch/Makefile: Update.
10209 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10210
25de95bf
JM
102112013-12-17 Joseph Myers <joseph@codesourcery.com>
10212
10213 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10214 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10215
674762d9
PE
102162013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10217
ed27ed83 10218 [BZ #15968]
0748546f
PE
10219 Support TZ transition times < 00:00:00.
10220 This is needed for version-3 tz-format files; it supports time
10221 stamps past 2037 for America/Godthab (the only entry in the tz
10222 database for which this change is relevant).
10223 * manual/time.texi (TZ Variable): Document transition times
10224 from -167:59:59 through -00:00:01.
10225 * time/tzset.c (tz_rule): Time of day is now signed.
10226 (__tzset_parse_tz): Parse negative time of day.
10227
4480e934
PE
10228 Document TZ transition times >= 25:00:00.
10229 * manual/time.texi (TZ Variable): Document transition times from
10230 25:00:00 through 167:59:59. These are already supported, and this
10231 support will help with version-3 tz-format files.
10232
69947401
PE
10233 * manual/time.texi (TZ Variable): Modernize North America example
10234 to reflect current (i.e., 2007-and-later) daylight saving rules.
10235
674762d9
PE
10236 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10237
7011c262
JM
102382013-12-17 Joseph Myers <joseph@codesourcery.com>
10239
2fc6557e
JM
10240 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10241 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10242 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10243 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10244 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10245 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10246 * sysdeps/unix/bsd/clock.c: Likewise.
10247 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10248 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10249 * sysdeps/unix/bsd/init-posix.c: Likewise.
10250 * sysdeps/unix/bsd/poll.c: Likewise.
10251 * sysdeps/unix/bsd/ptsname.c: Likewise.
10252 * sysdeps/unix/bsd/seekdir.c: Likewise.
10253 * sysdeps/unix/bsd/setegid.c: Likewise.
10254 * sysdeps/unix/bsd/seteuid.c: Likewise.
10255 * sysdeps/unix/bsd/setgid.c: Likewise.
10256 * sysdeps/unix/bsd/setrgid.c: Likewise.
10257 * sysdeps/unix/bsd/setruid.c: Likewise.
10258 * sysdeps/unix/bsd/setsid.c: Likewise.
10259 * sysdeps/unix/bsd/setuid.c: Likewise.
10260 * sysdeps/unix/bsd/sigaction.c: Likewise.
10261 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10262 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10263 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10264 * sysdeps/unix/bsd/telldir.c: Likewise.
10265 * sysdeps/unix/bsd/times.c: Likewise.
10266 * sysdeps/unix/bsd/usleep.c: Likewise.
10267
029c7b25
JM
10268 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10269 ($(objpfx)libbsd-compat.a): Remove rule.
10270
7011c262
JM
10271 * include/features.h (__FAVOR_BSD): Do not define.
10272 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10273 features conflicting with POSIX.
10274 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10275 (_BSD_SOURCE): Remove description of not being a subset of other
10276 feature test macros.
10277 * manual/job.texi (getpgrp): Do not document BSD version.
10278 (getpgid): Do not document by reference to BSD getpgrp.
10279 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10280 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10281 * signal/signal.h [__FAVOR_BSD]: Likewise.
10282 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10283 instead of making contents conditional on [__FAVOR_BSD].
10284 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10285
affb6f78
AZ
102862013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10287
10288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10289
c88769dd
JM
102902013-12-17 Joseph Myers <joseph@codesourcery.com>
10291
6432a540
JM
10292 [BZ #16314]
10293 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10294 values below 2**-450, not 2**-500.
10295 * math/auto-libm-test-in: Don't allow spurious underflow from
10296 hypot.
10297 * math/auto-libm-test-out: Regenerated.
10298
c88769dd
JM
10299 [BZ #16316]
10300 [BZ #16330]
10301 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10302 values of ha and hb and sort them after adjusting subnormal
10303 arguments.
10304 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10305 Likewise.
10306 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10307 values of ea and eb and sort them after adjusting subnormal
10308 arguments.
10309 * math/auto-libm-test-in: Do not expect some hypot tests of
10310 subnormals to fail. Add more hypot tests.
10311 * math/auto-libm-test-out: Regenerated.
10312
29618f6b
KK
103132013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10314
10315 [BZ #13304]
10316 * sysdeps/sh/s_fma.c: New file.
10317 * sysdeps/sh/s_fmaf.c: New file.
10318 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10319 version.
10320 * sysdeps/sh/Implies: Add sh/soft-fp.
10321
eacfdfbf
RM
103222013-12-16 Roland McGrath <roland@hack.frob.com>
10323
10324 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10325 level of indirection to members `objname', `errstring', `malloced'.
10326 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10327 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10328 it as the __longjmp argument (just pass 1 instead).
10329 (_dl_catch_error): Initialize C with argument pointers and address of
10330 volatile local ERRCODE rather than copying values out of C at return.
10331
ff362e5b
JM
103322013-12-16 Joseph Myers <joseph@codesourcery.com>
10333
10334 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10335 * math/auto-libm-test-out: Regenerated.
10336 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10337 (hypot_test_data): Likewise.
10338 (pow_test_data): Likewise.
10339 (pow_tonearest_test_data): Likewise.
10340 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10341 mpfr_ff_f.
10342 (func_calc_desc): Add mpfr_ff_f union field.
10343 (FUNC_mpfr_ff_f): New macro.
10344 (test_functions): Add atan2, hypot and pow.
10345 (special_fill_min): New function.
10346 (special_fill_minus_min): Likewise.
10347 (special_fill_min_subnorm): Likewise.
10348 (special_fill_minus_min_subnorm): Likewise.
10349 (special_real_inputs): Add min, -min, min_subnorm and
10350 -min_subnorm.
10351 (calc_generic_results): Handle mpfr_ff_f.
10352 * sysdeps/i386/fpu/libm-test-ulps: Update.
10353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10354
5764c27f
WN
103552013-12-16 Will Newton <will.newton@linaro.org>
10356
10357 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10358 (Aligned Memory Blocks): Add documentation for aligned_alloc
10359 and suggest it as an alternative to posix_memalign.
10360 (Hooks for Malloc): Document __memalign_hook is also called
10361 for aligned_alloc. (Summary of Malloc): Add summary for
10362 aligned alloc. Document __memalign_hook is also called
10363 for aligned_alloc.
10364
0a096e44
WN
103652013-12-16 Will Newton <will.newton@linaro.org>
10366
10367 * manual/memory.texi (Malloc Examples): Clarify default
10368 alignment documentation. Suggest posix_memalign rather
10369 than memalign or valloc.
10370 (Aligned Memory Blocks): Remove suggestion to use memalign
10371 or valloc. Remove obsolete comment about BSD.
10372 Document memalign errno values and mark the function obsolete.
10373 Document posix_memalign returned error codes. Mark valloc
10374 as obsolete. (Hooks for Malloc): __memalign_hook is also
10375 called for posix_memalign and valloc.
10376 (Summary of Malloc): Add posix_memalign to function summary.
10377 __memalign_hook is also called for posix_memalign and valloc.
10378
8d561986
SP
103792013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10380
10381 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10382 TAYLOR_SIN.
10383 (__sin): Adjust.
10384 (__cos): Likewise.
10385 (sloww): Use mynumber union. Expand ternary operator into
10386 if-else statements.
10387 (cslow): use mynumber union.
10388
73616a74
AM
103892013-12-16 Allan McRae <allan@archlinux.org>
10390
9e8ac24b
AM
10391 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10392 * configure: Regenerated.
10393
6f8e37eb
AM
10394 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10395
8894bad3
AM
10396 [BZ #14120]
10397 * configure.ac: Added --enable-maintainer-mode. Check for
10398 autoconf when enabled.
10399 * configure: Regenerated.
10400
73616a74
AM
10401 * nscd/nscd.service: New file.
10402 * nscd/nscd.tmpfiles: New file.
10403
584b18eb
OB
104042013-12-14 Ondřej Bílka <neleai@seznam.cz>
10405
10406 [BZ #12100]
10407 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10408 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10409 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10410 (strstr): Add __strstr_sse2_unaligned ifunc.
10411 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10412 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10413 (strcasestr): Remove __strcasestr_sse42 ifunc.
10414 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10415 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10417
8a5c7897
KK
104182013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10419
10420 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10421 * sysdeps/sh/bits/fenv.h: ... here.
10422 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10423
fd712ef3
AZ
104242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10425
10426 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10427
42fcb46c
AZ
10428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10429 hypotf multiarch implementations.
10430 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10431 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10433 multiarch hypot for PPC64.
10434 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10435 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10436 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10437 multiarch hypotf for PPC64.
10438
83efded4
AZ
10439 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10440 modff multiarch implementations.
10441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10444 multiarch modf for PPC64.
10445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10448 multiarch modff for PPC64.
10449
43e246d2
AZ
10450 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10451 and logl multiarch implementations.
10452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10455 multiarch logb for PPC64.
10456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10459 multiarch logb for PPC64.
10460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10463 multiarch logb for PPC64.
10464
8fdad123
AZ
10465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10466 isinff multiarch implementation.
10467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10468 file.
10469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10471 multiarch isinf for PPC64.
10472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10473 file.
10474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10475 multiarch isinff for PPC64.
10476
1481d706
AZ
10477 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10478 finitef multiarch implementation.
10479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10480 file.
10481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10483 multiarch finite for PPC64.
10484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10485 file.
10486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10487 multiarch finitef for PPC64.
10488
5ccd5fc8
AZ
10489 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10490 lrint multiarch implementation.
10491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10492 file.
10493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10495 multiarch llrint for PPC64.
10496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10497 multiarch lrint for PPC64.
10498
2568f3fa
AZ
10499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10500 copysignf multiarch implementation.
10501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10502 file.
10503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10504 file.
10505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10506 multiarch copysign for PPC64.
10507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10508 multiarch copysignf for PPC64.
10509
1cb341fd
AZ
10510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10511 multiarch implementation.
10512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10513 file.
10514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10515 file.
10516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10517 file.
10518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10519 file.
10520 multiarch llround for PPC64.
10521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10522 multiarch trunc for PPC64.
10523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10524 multiarch truncf for PPC64.
10525
59a3e194
AZ
10526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10527 multiarch implementation.
10528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10529 file.
10530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10531 file.
10532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10533 file.
10534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10535 file.
10536 multiarch llround for PPC64.
10537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10538 multiarch round for PPC64.
10539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10540 multiarch roundf for PPC64.
10541
357fd3b4
AZ
10542 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10543 multiarch implementation.
10544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10545 file.
10546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10547 file.
10548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10549 file.
10550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10551 file.
10552 multiarch llround for PPC64.
10553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10554 multiarch floor for PPC64.
10555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10556 multiarch floorf for PPC64.
10557
96770f12
AZ
10558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10559 multiarch implementation.
10560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10561 file.
10562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10563 file.
10564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10565 file.
10566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10567 file.
10568 multiarch llround for PPC64.
10569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10570 multiarch ceil for PPC64.
10571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10572 multiarch ceilf for PPC64.
10573
c3627f6e
AZ
10574 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10575 multiarch implementation.
10576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10577 file.
10578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10579 file.
10580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10581 file.
10582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10583 multiarch llround for PPC64.
10584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10585 multiarch lround for PPC64.
10586
b2284ad7
AZ
10587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10588 multiarch implementation.
10589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10592 file.
10593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10596 multiarch isnan for PPC64.
10597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10598 multiarch isnanf for PPC64.
10599
69bbc63d
AZ
10600 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10601 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10602 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10603 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10604 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10606
c24517c9
AZ
10607 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10608 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10609 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10610 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10611
a52374e8
AZ
10612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10613 multiarch implementations.
10614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10615 (__libc_ifunc_impl_list): Likewise.
10616 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10617 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10618 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10619 multiarch stpcpy for PPC64.
10620
7f5ec113
AZ
10621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10622 multiarch implementations.
10623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10624 (__libc_ifunc_impl_list): Likewise.
10625 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10626 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10627 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10628 multiarch strcpy for PPC64.
10629
e28bcd42
AZ
10630 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10631 redefine function name.
10632 (_wordcopy_fwd_dest_aligned): Likewise.
10633 (_wordcopy_bwd_aligned): Likewise.
10634 (_wordcopy_bwd_dest_aligned): Likewise.
10635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10636 multiarch implementations.
10637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10638 (__libc_ifunc_impl_list): Likewise.
10639 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10640 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10641 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10642 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10643 multiarch wcscpy for PPC64.
10644
92cacfce
AZ
10645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10646 multiarch implementations.
10647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10648 (__libc_ifunc_impl_list): Likewise.
10649 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10650 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10651 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10652 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10653 multiarch wcscpy for PPC64.
10654
7b714620
AZ
10655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10656 multiarch implementations.
10657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10658 (__libc_ifunc_impl_list): Likewise.
10659 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10660 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10661 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10662 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10663 multiarch wcsrchr for PPC64.
10664
16fd2ae3
AZ
10665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10666 multiarch implementations.
10667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10668 (__libc_ifunc_impl_list): Likewise.
10669 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10670 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10671 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10672 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10673 multiarch wcschr for PPC64.
10674
9ee2969b
AZ
10675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10676 multiarch implementations.
10677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10678 (__libc_ifunc_impl_list): Likewise.
10679 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10680 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10681 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10682 multiarch strchrnul for PPC64.
10683
372dc060
AZ
10684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10685 implementations.
10686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10687 (__libc_ifunc_impl_list): Likewise.
10688 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10689 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10690 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10691 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10692 strchr for PPC64.
10693
24c2c3b9
AZ
10694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10695 implementations.
10696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10697 (__libc_ifunc_impl_list): Likewise.
10698 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10699 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10700 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10701 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10702 strncmp for PPC64.
10703
1c92d9a0
AZ
10704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10705 multiarch implementations.
10706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10707 (__libc_ifunc_impl_list): Likewise.
10708 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10709 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10710 strncasecmp for PPC64.
10711 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10712 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10713 multiarch strncasecmp_l for PPC64.
10714
17de3ee3
AZ
10715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10716 multiarch implementations.
10717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10718 (__libc_ifunc_impl_list): Likewise.
10719 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10720 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10721 multiarch strcasecmp for PPC64.
10722 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10723 file.
10724 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10725 multiarch strcasecmp_l for PPC64.
10726
62982bf9
AZ
10727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10728 implementations.
10729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10730 (__libc_ifunc_impl_list): Likewise.
10731 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10732 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10733 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10734 strnlen for PPC64.
10735
a65f4904
AZ
10736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10737 implementations.
10738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10739 (__libc_ifunc_impl_list): Likewise.
10740 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10741 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10742 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10743 strlen for PPC64.
10744
1fd005ad
AZ
10745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10746 implementations.
10747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10748 (__libc_ifunc_impl_list): Likewise.
10749 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10750 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10751 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10752 rawmemrchr for PPC64.
10753
cd05ba91
AZ
10754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10755 implementation.
10756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10757 (__libc_ifunc_impl_list): Likewise.
10758 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10759 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10760 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10761 memrchr for PPC64.
10762
870f8676
AZ
10763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10764 implementation.
10765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10766 (__libc_ifunc_impl_list): Likewise.
10767 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10768 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10769 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10770 memchr for PPC64.
10771
f00be62b
AZ
10772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10773 implementation.
10774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10775 (__libc_ifunc_impl_list): Likewise.
10776 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10777 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10778 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10779 mempcpy for PPC64.
10780
8a29a3d0
AZ
10781 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10782 avoid cretion of __bzero symbol.
10783 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10784 Likewise.
10785 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10786 Likewise.
10787 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10788 Likewise.
10789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10790 multiarch implementations.
10791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10792 (__libc_ifunc_impl_list): Likewise.
10793 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10794 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10795 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10796 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10797 bzero for PPC32.
10798 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10799 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10800 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10801 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10802 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10803 memset for PPC64.
10804 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10805
07253fcf
AZ
10806 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10808 implementations.
10809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10810 (__libc_ifunc_impl_list): Likewise.
10811 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10812 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10813 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10814 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10815 memcmp for PPC64.
10816
b5beafbc
AZ
10817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10818 multiarch for POWER/PPC64.
10819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10820 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10821 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10822 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10823 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10824 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10825 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10826 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10827 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10828 memcpy for PPC64.
10829
5e6a4d4b
AZ
10830 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10831 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10832 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10833 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10834 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10835 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10836 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10837 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10838 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10839 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10840 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10841 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10842 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10843 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10844 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10852
ddfab6dc
KK
108532013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10854
10855 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10856
19b5525e
SP
108572013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10858
10859 * benchtests/Makefile (bench): Add exp2 and log2.
10860 (LDLIBS-bench-exp2): Add -lm.
10861 (LDLIBS-bench-log2): Likewise.
10862 * benchtests/exp2-inputs: New inputs file.
10863 * benchtests/log2-inputs: New inputs file.
10864 * benchtests/log-inputs: Add new inputs.
10865 * benchtests/tan-inputs: Likewise.
10866
196f7f5d
SP
108672013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10868
7a74607f
SP
10869 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10870 definition...
57f41c40
AS
10871 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10872 (csloww2): ... from here.
7a74607f 10873
196f7f5d
SP
10874 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10875 instead of structures.
10876 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10877 (POLYNOMIAL): Likewise.
10878 (TAYLOR_SLOW): Likewise.
10879 (__sin): Likewise.
10880 (__cos): Likewise.
10881 (slow1): Likewise.
10882 (slow2): Likewise.
10883 (sloww): Likewise.
10884 (sloww1); Likewise.
10885 (sloww2): Likewise.
10886 (bsloww1): Likewise.
10887 (bsloww2): Likewise.
10888 (cslow2): Likewise.
10889 (csloww): Likewise.
10890 (csloww1): Likewise.
10891 (csloww2): Likewise.
10892
0dfa665c
OB
108932013-12-10 Ondřej Bílka <neleai@seznam.cz>
10894
10895 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
10896 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10897 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
10898 * malloc/hooks.c (realloc_check): Likewise.
10899
5782a80f
OB
10900 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10901 * malloc/arena.c: Remove PER_THREAD conditional.
10902 [!PER_THREAD]: Remove code.
10903 (ptmalloc_unlock_all2): Likewise.
10904 (ptmalloc_init): Likewise.
10905 (_int_new_arena): Likewise.
10906 (arena_get2): Likewise.
10907 * malloc/hooks.c (__malloc_get_state): Likewise.
10908 (__malloc_set_state): Likewise.
10909 * malloc/malloc.c: Likewise.
10910 (struct malloc_state): Likewise.
10911 (struct malloc_par): Likewise.
10912 (__libc_realloc): Likewise.
10913 (__libc_mallopt): Likewise.
10914
aeb95445
AZ
109152013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10916
10917 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10918
e8349efd
OB
109192013-12-09 Ondřej Bílka <neleai@seznam.cz>
10920
10921 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10922 macro to a function. Check for zero perturb_byte.
10923 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10924
f3eeb3fc 10925 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
10926 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10927 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
10928 force_reg by atomic_forced_read.
10929 * malloc/arena.c (ptmalloc_init): Likewise.
10930 * malloc/hooks.c (top_check): Likewise.
10931
be2f9009
AZ
109322013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10933
10934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10935
e7b914bd
MT
109362013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10937
10938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10939
9f0be4f8
JM
109402013-12-08 Joseph Myers <joseph@codesourcery.com>
10941
10942 * math/auto-libm-test-in: Add tests of lgamma.
10943 * math/auto-libm-test-out: Regenerated.
10944 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10945 (M_LOG_2_SQRT_PIl): Likewise.
10946 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10947 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10948 mpfr_f_f1.
10949 (func_calc_desc): Add mpfr_f_f1 union field.
10950 (ARGS1): New macro.
10951 (ARGS2): Likewise.
10952 (ARGS3): Likewise.
10953 (ARGS4): Likewise.
10954 (RET1): Likewise.
10955 (RET2): Likewise.
10956 (CALC): Likewise.
10957 (FUNC): Likewise.
10958 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10959 (test_functions): Add lgamma.
10960 (calc_generic_results): Handle mpfr_f_f1.
10961 * sysdeps/i386/fpu/libm-test-ulps: Update.
10962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10963
24eeafdb
AZ
109642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10965
10966 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10967 __mpn_add_n for PowerPC64/POWER7.
10968 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10969 __mpn_sub_n for PowerPC64/POWER7.
10970
4a2c0fd4
AZ
10971 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10972 __mpn_addmul_1 for PowerPC64.
10973 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10974 __mpn_submul_1 for PowerPC64.
10975 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10976 for PowerPC64.
10977 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10978 for PowerPC64.
10979
4b5b548c
FS
109802013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10981
10982 [BZ #15089]
10983 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10984
0a3ac0aa
AZ
109852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10986
10987 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10988
ccdc8438
AZ
10989 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10990 add multiarch folders.
10991 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10992 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10993 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10994 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10995 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10996 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10997 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10998 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10999 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11000 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11001 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11008
2e973d99
AZ
11009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11010 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11012 New file.
11013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11014 New file.
11015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11016 multiarch __ieee754_hypot for PowerPC32.
11017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11018 New file.
11019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11020 New file.
11021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11022 multiarch __ieee754_hypotf for PowerPC32.
11023
2d9470b2
AZ
11024 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11025 long_double_symbol only if __logbl is defined.
11026 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11027 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11029 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11031 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11032 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11033 path for implementation.
11034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11035 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11037 logb, and logbl multiarch implementations for PowerPC32.
11038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11039 file.
11040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11041 file.
11042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11043 multiarch logb for PowerPC32.
11044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11045 file.
11046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11047 file.
11048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11049 multiarch logbf for PowerPC32.
11050 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11052 file.
11053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11054 multiarch logbl implementation for PowerPC32.
11055
5212ffce
AZ
11056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11057 and modff multiarch implementations.
11058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11059 New file.
11060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11061 New file.
11062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11063 multiarch modf for PowerPC32.
11064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11065 New file.
11066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11067 New file.
11068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11069 multiarch modff for PowerPC32.
11070
79dccf31
AZ
11071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11072 and lrintf multiarch implementations.
11073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11074 New file.
11075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11076 New file.
11077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11078 multiarch lrint for PowerPC32.
11079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11080 file: multiarch lrintf for PowerPC32.
11081
deb66480
AZ
11082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11083 and lroundf multiarch implementations.
11084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11085 New file.
11086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11087 New file.
11088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11089 New file.
11090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11091 multiarch lround for PowerPC32.
11092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11093 file: multiarch lroundf for PowerPC32.
11094
264b036b
AZ
11095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11096 copysign and copysignf multiarch implementations.
11097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11098 New file.
11099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11100 New file.
11101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11102 file: multiarch copysign for PowerPC32.
11103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11104 file: multiarch copysignf for PowerPC32.
11105
d47db6c9
AZ
11106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11107 and truncf multiarch implementations.
11108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11109 New file.
11110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11111 file.
11112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11113 multiarch trunc for PowerPC32.
11114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11115 New file.
11116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11117 New file.
11118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11119 multiarch truncf for PowerPC32.
11120
ddb60b5a
AZ
11121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11122 and roundf multiarch implementations.
11123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11124 New file.
11125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11126 file.
11127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11128 multiarch round for PowerPC32.
11129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11130 New file.
11131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11132 New file.
11133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11134 multiarch roundf for PowerPC32.
11135
bedcf49b
AZ
11136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11137 and floorf multiarch implementations.
11138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11139 New file.
11140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11141 file.
11142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11143 multiarch floor for PowerPC32.
11144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11145 New file.
11146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11147 New file.
11148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11149 multiarch floorf for PowerPC32.
11150
35ae5b40
AZ
11151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11152 and ceilf multiarch implementations.
11153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11154 New file.
11155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11156 file.
11157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11158 multiarch ceil for PowerPC32.
11159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11160 New file.
11161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11162 file.
11163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11164 multiarch ceilf for PowerPC32.
11165
ae1a4cd9
AZ
11166 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11167 is defined.
11168 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11169 FINITEF is defined.
11170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11171 and finitef multiarch implementations.
11172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11173 New file.
11174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11175 file.
11176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11177 multiarch finite for PowerPC32.
11178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11179 New file.
11180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11181 file: multiarch finitef for PowerPC32.
11182
64fffd65
AZ
11183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11184 and isinff multiarch implementations.
11185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11186 file.
11187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11188 file.
11189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11190 multiarch isinf for PowerPC32.
11191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11192 New file.
11193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11194 multiarch isinff for PowerPC32.
11195
8e4e7ba2
AZ
11196 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11197 alias when __isnan is defined.
11198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11199 and isnanf multiarch implementations.
11200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11201 file.
11202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11203 file.
11204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11205 file.
11206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11207 file.
11208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11209 multiarch isnan for PowerPC32.
11210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11211 New file.
11212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11213 New file.
11214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11215 multiarch isnanf for PowerPC32.
11216
ddba588e
AZ
11217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11218 and sqrtf multiarch implementations.
11219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11220 file.
11221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11222 file.
11223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11224 multiarch sqrt for PowerPC32.
11225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11226 file.
11227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11228 file.
11229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11230 multiarch sqrtf for PowerPC32.
11231
0f96a2f0
AZ
11232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11233 and llroundf multiarch implementations.
11234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11235 New file.
11236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11237 New file.
11238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11239 New file.
11240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11241 file: multiarch llround for PowerPC32.
11242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11243 file: multiarch llroundf for PowerPC32.
11244
c9b5d79e
AZ
11245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11246 multiarch PowerPC32 fpu implementations.
11247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11248 New file.
11249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11250 New file.
11251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11252 multiarch llrint for PowerPC32.
11253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11254 New file.
11255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11256 New file.
11257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11258 file.
11259
9cbb3aab
AZ
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11261
ea5a72f8
AZ
11262 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11263 file.
11264 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11265 file.
11266 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11267 file.
11268 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11269 multiarch wordcopy for PPC32.
11270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11271 wordcopy objects.
11272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11273 (__libc_ifunc_impl_list): Likewise.
11274 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11275 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11276 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11277 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11278 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11279 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11280
93be09e7
AZ
11281 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11283 file.
11284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11285 file.
11286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11287 file.
11288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11289 multiarch wcscpy for PPC32.
11290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11291 multiarch objects.
11292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11293 (__libc_ifunc_impl_list): Likewise.
11294 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11295 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11296 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11297 sysdeps/powerpc/power6/wcscpy.c.
11298
bb04e529
AZ
11299 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11301 file.
11302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11303 file.
11304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11305 file.
11306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11307 multiarch wcsrchr for PPC32.
11308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11309 multiarch objects.
11310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11311 (__libc_ifunc_impl_list): Likewise.
11312 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11313 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11314 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11315 sysdeps/powerpc/power6/wcsrchr.c.
11316
05b5cd1c
AZ
11317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11318 file.
11319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11320 file.
11321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11322 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11323 multiarch wcschr for PPc32.
11324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11325 multiarch objects.
11326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11327 (__libc_ifunc_impl_list): Likewise.
11328 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11329 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11330 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11331 sysdeps/powerpc/power6/wcschr.c.
11332
ba964147
AZ
11333 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11334 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11335 file.
11336 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11337 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11338 file: multiarch strchr for PPC32.
11339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11340 multiarch objects.
11341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11342 (__libc_ifunc_impl_list): Likewise.
11343
31c81aaa
AZ
11344 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11345 name.
11346 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11347 file.
11348 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11349 file.
11350 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11351 multiarch strchrnul for PPC32.
11352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11353 multiarch objects.
11354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11355 (__libc_ifunc_impl_list): Likewise.
11356
0d0607d9
AZ
11357 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11358 file.
11359 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11360 multiarch strncasecmp for PPC32.
11361 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11362 file.
11363 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11364 multiarch strncasecmp_l for PPC32.
11365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11366 strncasecmp multiarch objects.
11367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11368 (__libc_ifunc_impl_list): Likewise.
11369
4dfd5c86
AZ
11370 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11371 file.
11372 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11373 multiarch strncasecmp for PPC32.
11374 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11375 New file.
11376 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11377 multiarch strcasecmp_l for PPC32.
11378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11379 multiarch objects.
11380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11381 (__libc_ifunc_impl_list): Likewise.
11382
a19e01a3
AZ
11383 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11384 file.
11385 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11386 file.
11387 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11388 multiarch strncmp for PPC32.
11389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11390 multiarch objects.
11391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11392 (__libc_ifunc_impl_list): Likewise.
11393
ae9cf7a2
AZ
11394 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11395 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11396 file.
11397 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11398 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11400 multiarch objects.
11401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11402 (__libc_ifunc_impl_list): Likewise.
11403
3148bb7d
AZ
11404 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11405 file.
11406 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11407 file.
11408 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11410 multiarch objects.
11411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11412 (__libc_ifunc_impl_list): Likewise.
11413
7af8b946
AZ
11414 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11415 file.
11416 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11417 file.
11418 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11419 multiarch rawmemchr for PPC32.
11420 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11421 multiarch objects.
11422 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11423 (__libc_ifunc_impl_list): Likewise.
11424
03a6aa6a
AZ
11425 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11426 file.
11427 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11428 file.
11429 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11430 file: memrchr multiarch for PPC32.
11431 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11432 multiarch objects.
11433 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11434 (__libc_ifunc_impl_list): Likewise.
11435
1c62e6d9
AZ
11436 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11437 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11438 file.
11439 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11440 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11441 multiarch memchr for PPC32.
11442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11443 multiarch objects.
11444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11445 (__libc_ifunc_impl_list): Likewise.
11446
87da8bdb
AZ
11447 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11448 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11449 file.
11450 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11451 file.
11452 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11453 file: multiarch mempcpy for PPC32.
11454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11455 multiarch objects.
11456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11457 (__libc_ifunc_impl_list): Likewise.
11458
20ed4714
AZ
11459 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11460 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11461 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11462 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11463 multiarch bzero for PPC32.
11464 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11465 file.
11466 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11467 file.
11468 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11469 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11470 file: multiarch memset for PPC32.
11471 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11473 memset multiarch objects.
11474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11475 (__libc_ifunc_impl_list): Likewise.
11476
ab3e3a46
AZ
11477 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11478 file.
11479 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11480 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11481 memcmp for PPC32.
11482 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11483 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11484 multiarch objects.
11485 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11486 (__libc_ifunc_impl_list): Likewise.
11487
930de6f0
AZ
11488 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11490 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11491 file.
11492 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11493 file.
11494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11495 file.
11496 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11497 multiarch memcpy for PPC32.
11498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11499 multiarch objects.
11500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11501 (__libc_ifunc_impl_list): Likewise.
11502
4c628e00
AZ
11503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11504 support multiarch for POWER/PPC32.
11505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11506 Likewise.
11507 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11509 Implies file to make multiarch folder appers before the fpu and
11510 default folder for power4 configuration.
11511
f4479220
SP
115122013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11513
11514 * scripts/bench.pl: Append volatile keyword to type.
11515
8517800f
KK
115162013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11517
11518 * sysdeps/sh/sotruss-lib.c: New file.
11519 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11520
180138f1
AZ
115212013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11522
11523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11524
bbf37bdc
JM
115252013-12-05 Joseph Myers <joseph@codesourcery.com>
11526
e47cc4e0
JM
11527 [BZ #6810]
11528 * math/w_tgamma.c: Include <errno.h>.
11529 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11530 * math/w_tgammaf.c: Include <errno.h>.
11531 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11532 * math/w_tgammal.c: Include <errno.h>.
11533 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11534 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11535 underflow. Add more tgamma tests.
11536 * math/auto-libm-test-out: Regenerated.
11537 * sysdeps/i386/fpu/libm-test-ulps: Update.
11538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11539
bbf37bdc
JM
11540 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11541 sin, sinh, tan, tanh, tgamma, y0 and y1.
11542 * math/auto-libm-test-out: Regenerated.
11543 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11544 (TEST_COND_x86): Likewise.
11545 (M_E2l): Remove macro.
11546 (M_E3l): Likewise.
11547 (M_2_SQRT_PIl): Likewise.
11548 (M_SQRT_PIl): Likewise.
11549 (M_1_DIV_El): Likewise.
11550 (log_test_data): Use AUTO_TESTS_f_f.
11551 (log10_test_data): Likewise.
11552 (log1p_test_data): Likewise.
11553 (log2_test_data): Likewise.
11554 (sin_test_data): Likewise.
11555 (sin_tonearest_test_data): Likewise.
11556 (sin_towardzero_test_data): Likewise.
11557 (sin_downward_test_data): Likewise.
11558 (sin_upward_test_data): Likewise.
11559 (sinh_test_data): Likewise.
11560 (sinh_tonearest_test_data): Likewise.
11561 (sinh_towardzero_test_data): Likewise.
11562 (sinh_downward_test_data): Likewise.
11563 (sinh_upward_test_data): Likewise.
11564 (tan_test_data): Likewise.
11565 (tan_tonearest_test_data): Likewise.
11566 (tan_towardzero_test_data): Likewise.
11567 (tan_downward_test_data): Likewise.
11568 (tan_upward_test_data): Likewise.
11569 (tanh_test_data): Likewise.
11570 (tgamma_test_data): Likewise.
11571 (y0_test_data): Likewise.
11572 (y1_test_data): Likewise.
11573 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11574 (special_real_inputs): Add pi/4.
11575 * sysdeps/i386/fpu/libm-test-ulps: Update.
11576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11577
eb5ad6b9
AZ
115782013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11579
11580 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11581 "longjmp_target" static probes.
11582 (__longjmp): Rename to __longjmp_symbol.
11583 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11584 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11585 on which longjmp to generate.
11586 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11587 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11588 probe.
11589 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11590 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11591 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11592 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11593 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11594 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11596 __longjmp_symbol based on which __longjmp to generate.
11597 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11598 probe.
11599 (setjmp): Rename to setjmp_symbol.
11600 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11601 (_setjmp): Rename to _setjmp_symbol.
11602 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11603 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11604 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11605 which setjmp to generate.
11606 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11607 "longjmp_target" static probes.
11608
d136c6dc
SP
116092013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11610
9298ecba
SP
11611 * benchtests/README: Add note about output arguments.
11612 * benchtests/bench-sincos.c: Remove file.
11613 * benchtests/sincos-inputs: New file.
11614 * scripts/bench.pl: Identify output arguments and define
11615 static variables for them.
11616
232983e9
SP
11617 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11618
d136c6dc
SP
11619 [BZ #15941]
11620 * Makefile (INSTALL): Add install-plain.texi as the primary
11621 dependency.
11622 * manual/install-plain.texi: New file.
11623 * manual/install.texi: Include node directive only for
11624 non-plaintext output.
11625
699ff837
JM
116262013-12-04 Joseph Myers <joseph@codesourcery.com>
11627
ab07cea8
JM
11628 * stdlib/longlong.h: Update from GCC.
11629
699ff837
JM
11630 [BZ #6807]
11631 [BZ #15901]
11632 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11633 * math/w_j0f.c (y0f): Likewise.
11634 * math/w_j0l.c (__y0l): Likewise.
11635 * math/w_j1.c (y1): Likewise.
11636 * math/w_j1f.c (y1f): Likewise.
11637 * math/w_j1l.c (__y1l): Likewise
11638 * math/w_jn.c (yn): Likewise.
11639 * math/w_jnf.c (ynf): Likewise.
11640 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11641 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11642 value for Bessel function domain errors outside _SVID_ mode.
11643 Adjust sign of return value for yn (negative integer, 0).
11644 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11645 by zero in return for negative x and set sign appropriately for
11646 negative n.
11647 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11648 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11649 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11650 expectations in error cases.
11651 (y1_test_data): Likewise.
11652 (yn_test_data): Likewise.
11653 * sysdeps/i386/fpu/libm-test-ulps: Update.
11654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11655
5b118558
UW
116562013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11657
11658 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11659 "64" to "64-v1". Add "64-v2".
11660 (abi-64-options): Rename to ...
11661 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11662 (abi-64-condition): Rename to ...
11663 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11664 (abi-64-ld-soname): Rename to ...
11665 (abi-64-v1-ld-soname): ... this.
11666 (abi-64-v2-options): Define.
11667 (abi-64-v2-condition): Likewise.
11668 (abi-64-v2-ld-soname): Likewise.
11669 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11670 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11674
61cd8fe4
UW
116752013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11676 Alan Modra <amodra@gmail.com>
11677
11678 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11679 New versions for use with the ELFv2 ABI.
11680 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11681 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11682 declaration.
11683 (struct La_ppc64v2_retval): Likewise.
11684 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11685 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11686 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11687 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11688 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11689 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11690 Do not save or restore CR.
11691 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11692 (_dl_profile_resolve): Do no save or restore CR. Support extended
11693 return values for ELFv2 ABI. Fix location of FPR return registers.
11694 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11695 updated values for _CALL_ELF == 2.
11696 (La_regs, La_retval, int_retval): Likewise.
11697
8b8a692c
UW
116982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11699
11700 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11701 (FRAME_MIN_SIZE_PARM): Likewise.
11702 (FRAME_BACKCHAIN): Likewise.
11703 (FRAME_CR_SAVE): Likewise.
11704 (FRAME_LR_SAVE): Likewise.
11705 (FRAME_TOC_SAVE): Likewise.
11706 (FRAME_PARM_SAVE): Likewise.
11707 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11708 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11709 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11710 (call_mcount_parm_offset): New macro.
11711 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11712 (PROF): Use symbolic stack frame offsets.
11713 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11714 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11715 Redefine in terms of FRAME_MIN_SIZE.
11716 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11717 (_dl_profile_resolve): Likewise. Update comment.
11718 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11719 symbols stack frame offsets.
11720 (__sigsetjmp): Likewise.
11721 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11722 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11723 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11724 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11725
11726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11727 (FRAME_BACKCHAIN): Remove.
11728 (FRAME_CR_SAVE): Likewise.
11729 (FRAME_LR_SAVE): Likewise.
11730 (FRAME_COMPILER_DW): Likewise.
11731 (FRAME_LINKER_DW): Likewise.
11732 (FRAME_TOC_SAVE): Likewise.
11733 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
11734 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11735 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11736 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
11737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11738 (CHECK_SP): Use symbolic stack frame offsets.
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11740 zone" instead of caller's parameter save area for temp storage.
11741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11742 Likewise. Also, use symbolic stack frame offsets.
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11744 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11745 our own stack frame instead of the caller's.
11746 (__socket): Use symbolic stack frame offsets.
11747
122b66de
UW
117482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11749 Alan Modra <amodra@gmail.com>
11750
11751 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11752 Define.
57f41c40
AS
11753 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11754 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
11755 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11756 New function.
11757 (elf_machine_fixup_plt): Call it.
11758 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11759 reloc arguments.
11760 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
11761 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11762 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
11763 r2 before calling target.
11764
696caf1d
UW
117652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11766 Alan Modra <amodra@gmail.com>
11767
11768 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11769 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11770 versions of macros to support ELFv2 ABI.
11771 (LOCALENTRY): New macro.
11772 (ENTRY, EALIGN): Use it.
11773 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11774 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11775 fall through into ENTRY entry point.
11776 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11777 Only define if _CALL_ELF != 2.
11778
11779 (elf_machine_matches_host): Verify ABI version matches.
11780 (RTLD_START): Use LOCALENTRY.
11781 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11782 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11783 (PLT_ENTRY_WORDS): New macro.
11784 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11785 (elf_machine_runtime_setup): Support ELFv2 ABI.
11786 (elf_machine_fixup_plt): Likewise.
11787 (elf_machine_plt_conflict): Likewise.
11788 (resolve_ifunc): Likewise.
11789 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11790 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11791 Likewise.
11792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11793 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11795 (makecontext): Support ELFv2 ABI.
11796 * elf/elf.h (EF_PPC64_ABI): Define.
11797
d31beafa
UW
117982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11799
57f41c40
AS
11800 * sysdeps/powerpc/powerpc64/sysdep.h
11801 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11802 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11803 (ENTRY) [ASSEMBLER]: ... but instead here ...
11804 (EALIGN) [ASSEMBLER]: ... and here.
11805 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11806 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11807 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
11808 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11809 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
11810 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11811 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
11812 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11814 Use PPC64_LOAD_FUNCPTR.
11815
b525166b
UW
11816 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11817
7ec07d9a
AM
118182013-12-04 Alan Modra <amodra@gmail.com>
11819
11820 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11821 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11822 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11823 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11824
11825 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11826 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11827 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11828 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11829 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11830 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11831
5162e7dd
UW
118322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11833
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11835 (__makecontext): Fix incorrect CFI when backtracing out of
11836 context created via makecontext.
11837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11838 (__setcontext): Fix incorrect CFI during switch to new context.
11839 (__novec_setcontext): Likewise.
11840
19e3372b
OB
118412013-12-04 Ondřej Bílka <neleai@seznam.cz>
11842
11843 [BZ #4772]
11844 * time/strptime_l.c (__strptime_internal): Allow modifiers
11845 in strptime.
11846 * time/tst-strptime.c (day_tests): Add testcase.
11847
ecaf142d
SP
118482013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11849
11850 * scripts/bench.pl: Skip over blank lines.
11851
fbf964ae
PE
118522013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11853
11854 [BZ #926]
11855 * manual/time.texi (Calendar Time): Clarify what timezone functions
11856 use.
11857
fa60a674
AZ
118582013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11859
11860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11861
d674f0ef
OB
118622013-12-04 Ondřej Bílka <neleai@seznam.cz>
11863
11864 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11865 implementation.
11866 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11867 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11868 * debug/memset_chk.c (__memset_chk): Likewise.
11869 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11870 * debug/strncpy_chk.c: Likewise.
11871
17dea188
JM
118722013-12-03 Joseph Myers <joseph@codesourcery.com>
11873
749008ff
JM
11874 [BZ #15268]
11875 [BZ #15425]
11876 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11877 (__ieee754_exp): For possibly underflowing results, check size of
11878 result and force underflow exception if required.
11879 * math/auto-libm-test-in: Add more tests of exp.
11880 * math/auto-libm-test-out: Regenerated.
11881 * sysdeps/i386/fpu/libm-test-ulps: Update.
11882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11883
17dea188
JM
11884 [BZ #16283]
11885 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11886 * math/w_exp2f.c (__exp2f): Likewise.
11887 * math/w_exp2l.c (__exp2l): Likewise.
11888 * math/auto-libm-test-in: Do not allow missing errno on exp2
11889 underflow.
11890 * math/auto-libm-test-out: Regenerated.
11891
b20de2c3
OB
118922013-12-03 Ondřej Bílka <neleai@seznam.cz>
11893
11894 [BZ #16274]
11895 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11896 handle filename validation.
11897 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11898 (do_open): Delete.
11899
d8e2dbe3
JM
119002013-12-03 Joseph Myers <joseph@codesourcery.com>
11901
34e16df5
JM
11902 [BZ #6786]
11903 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11904 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11905 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11906 <float.h>.
11907 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11908 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11909 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11910 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11911 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11912 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11913 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11914 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11915 Add more erfc tests.
11916 * math/auto-libm-test-out: Regenerated.
11917 * sysdeps/i386/fpu/libm-test-ulps: Update.
11918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11919
d8e2dbe3
JM
11920 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11921 exp2, expm1, j0 and j1.
11922 * math/auto-libm-test-out: Regenerated.
11923 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11924 (erfc_test_data): Likewise.
11925 (exp_test_data): Likewise.
11926 (exp_tonearest_test_data): Likewise.
11927 (exp_towardzero_test_data): Likewise.
11928 (exp_downward_test_data): Likewise.
11929 (exp_upward_test_data): Likewise.
11930 (exp10_test_data): Likewise.
11931 (exp2_test_data): Likewise.
11932 (expm1_test_data): Likewise.
11933 (j0_test_data): Likewise.
11934 (j1_test_data): Likewise.
11935 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11936 (input_flag_type): Add flag_xfail_rounding.
11937 (input_flags): Add xfail-rounding.
11938 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11939 (output_for_one_input_case): Handle flag_xfail_rounding.
11940 * sysdeps/i386/fpu/libm-test-ulps: Update.
11941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11942
18d14251
AJ
119432013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11944
3d2e6075 11945 [BZ #16289]
18d14251
AJ
11946 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11947 division by 0.
11948
520d437b
SP
119492013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11950
11951 [BZ #16195]
11952 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11953 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11954 (STAP_PROBE0): New macro.
11955 (STAP_PROBE1): Likewise.
11956 (STAP_PROBE2): Likewise.
11957 (STAP_PROBE3): Likewise.
11958 (STAP_PROBE4): Likewise.
11959
416e0145
OB
119602013-12-02 Ondřej Bílka <neleai@seznam.cz>
11961
11962 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11963
9d17796a
SE
119642013-12-02 Steve Ellcey <sellcey@mips.com>
11965
11966 * benchtests/Makefile (bench): Add sqrt.
11967 (LDLIBS-bench-sqrt): New.
11968 * benchtests/sqrt-input: New.
11969
f524d6a8
PS
119702013-12-02 Pavel Simerda <psimerda@redhat.com>
11971
639a0ef8
PS
11972 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11973 (GAIH_EAI): Likewise.
11974 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11975 (gaih_inet): Likewise.
11976 (getaddrinfo): Don't use GAIH_EAI.
11977
f524d6a8
PS
11978 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11979 (struct gaih): Remove definition.
11980
df3aedaf
SP
119812013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11982
11983 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11984 Use HERRNOP directly.
11985
1ab19dec
AZ
119862013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11987
b42ad38d 11988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 11989
176b0c79
JM
119902013-11-30 Joseph Myers <joseph@codesourcery.com>
11991
11992 * math/gen-auto-libm-tests.c (test_functions): Add more
11993 single-argument functions.
11994 (special_fill_pi_2): New function.
11995 (special_fill_minus_pi_2): Likewise.
11996 (special_fill_pi_6): Likewise.
11997 (special_fill_minus_pi_6): Likewise.
11998 (special_fill_pi_3): Likewise.
11999 (special_fill_2pi_3): Likewise.
12000 (special_fill_e): Likewise.
12001 (special_fill_1_e): Likewise.
12002 (special_fill_e_minus_1): Likewise.
12003 (special_real_inputs): Add more special inputs.
12004 (output_for_one_input_case): Do not require ERANGE on underflow to
12005 zero if round-to-nearest result does not underflow to zero, unless
12006 exact results required.
12007 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12008 atan, atanh, cbrt, cos and cosh.
12009 * math/auto-libm-test-out: Regenerated.
12010 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12011 (acos_tonearest_test_data): Likewise.
12012 (acos_towardzero_test_data): Likewise.
12013 (acos_downward_test_data): Likewise.
12014 (acos_upward_test_data): Likewise.
12015 (acosh_test_data): Likewise.
12016 (asin_test_data): Likewise.
12017 (asin_tonearest_test_data): Likewise.
12018 (asin_towardzero_test_data): Likewise.
12019 (asin_upward_test_data): Likewise.
12020 (asinh_test_data): Likewise.
12021 (atan_test_data): Likewise.
12022 (atanh_test_data): Likewise.
12023 (cbrt_test_data): Likewise.
12024 (cos_test_data): Likewise.
12025 (cos_tonearest_test_data): Likewise.
12026 (cos_towardzero_test_data): Likewise.
12027 (cos_downward_test_data): Likewise.
12028 (cos_upward_test_data): Likewise.
12029 (cosh_test_data): Likewise.
12030 (cosh_tonearest_test_data): Likewise.
12031 (cosh_towardzero_test_data): Likewise.
12032 (cosh_downward_test_data): Likewise.
12033 (cosh_upward_test_data): Likewise.
12034 * sysdeps/i386/fpu/libm-test-ulps: Update.
12035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12036
ffb536d0
JM
120372013-11-29 Joseph Myers <joseph@codesourcery.com>
12038
2a77a467
JM
12039 [BZ #6787]
12040 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12041 * math/w_exp10f.c (__exp10f): Likewise.
12042 * math/w_exp10l.c (__exp10l): Likewise.
12043 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12044 errno settings in existing tests.
12045
ea3bc4e8
JM
12046 [BZ #14032]
12047 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12048 precision control set to double precision.
12049 * sysdeps/i386/fpu/w_sqrt.c: New file.
12050 * math/auto-libm-test-in: Add more tests.
12051 * math/auto-libm-test-out: Update.
12052
0712c9d8
JM
12053 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12054 (sqrt_test_tonearest): New function.
12055 (sqrt_towardzero_test_data): New variable.
12056 (sqrt_test_towardzero): New function.
12057 (sqrt_downward_test_data): New variable.
12058 (sqrt_test_downward): New function.
12059 (sqrt_upward_test_data): New variable.
12060 (sqrt_test_upward): New function.
12061 (main): Call the new functions.
12062
ffb536d0
JM
12063 * math/gen-auto-libm-tests.c: New file.
12064 * math/auto-libm-test-in: Likewise.
12065 * math/auto-libm-test-out: New generated file.
12066 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12067 variables.
12068 (%beautify): Add generated representations of zero.
12069 (top level): Set $auto_input and call parse_auto_input.
12070 (beautify): Remove trailing "f" from hex float constants.
12071 (parse_args): Handle XFAIL_TEST.
12072 (convert_condition): New function.
12073 (or_value): Likewise.
12074 (or_cond_value): Likewise.
12075 (generate_testfile): Handle AUTO_TESTS_* lines.
12076 (parse_auto_input): New function.
12077 * math/libm-test.inc (XFAIL_TEST): New macro.
12078 (ERRNO_UNCHANGED): Update value.
12079 (ERRNO_EDOM): Likewise.
12080 (ERRNO_ERANGE): Likewise.
12081 (IGNORE_RESULT): Likewise.
12082 (TEST_COND_flt_32): New macro.
12083 (TEST_COND_dbl_64): Likewise.
12084 (TEST_COND_ldbl_96_intel): Likewise.
12085 (TEST_COND_ldbl_96_m68k): Likewise.
12086 (TEST_COND_ldbl_128): Likewise.
12087 (TEST_COND_ldbl_128ibm): Likewise.
12088 (TEST_COND_long32): Likewise.
12089 (TEST_COND_long64): Likewise.
12090 (TEST_COND_before_rounding): Likewise.
12091 (TEST_COND_after_rounding): Likewise.
12092 (enable_test): Handle XFAIL_TEST flag.
12093 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12094 with finite results.
12095 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12096 auto-libm-test-out.
12097
acd98a8e
AK
120982013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12099 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12100
12101 [BZ #16214]
12102 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12103 __tls_get_addr_internal instead of __tls_get_offset in order to
12104 avoid GOT pointer dependency. Make rtld export
12105 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12106 __tls_get_addr since we are a __tls_get_offset platform.
12107 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12108 GOT pointer being set up before.
12109 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12110
3c1c46a6
JM
121112013-11-28 Joseph Myers <joseph@codesourcery.com>
12112
7475aef5
JM
12113 * manual/math.texi (Errors in Math Functions): Document accuracy
12114 goals.
12115
8bca7cd8
JM
12116 [BZ #15004]
12117 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12118 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12119 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12120 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12121 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12122 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12123 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12124 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12125 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12126 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12127 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12128 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12129 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12130 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12131 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12132 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12133
91a1f3fe
JM
12134 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12135 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12136 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12137 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12138 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12139 Likewise.
12140 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12141 Likewise.
12142 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12143 Likewise.
12144 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12145 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12146 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12147 atomic-feupdateenv and flt-rounds.
12148 * sysdeps/powerpc/nofpu/Versions (libc): Add
12149 __atomic_feholdexcept, __atomic_feclearexcept,
12150 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12151 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12152 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12153 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12154 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12155 here.
12156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12157 Update.
12158
c5df7609
JM
12159 * manual/arith.texi (FP Exceptions): Document that exceptions may
12160 not be raised when matherr is used.
12161 (Math Error Reporting): Document overflow in directed rounding
12162 modes. Document that errno may not be set when finite values are
12163 returned on overflow. Document intent to set errno on underflow
12164 only for underflow to zero.
12165
3c1c46a6
JM
12166 [BZ #16271]
12167 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12168 round-to-nearest then adjust result for other rounding modes.
12169 * include/fenv.h (fegetround): Use libm_hidden_proto.
12170 * math/fegetround.c (fegetround): Use libm_hidden_def.
12171 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12172 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12173 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12174 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12175 Likewise.
12176 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12177 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12178 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12179 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12180
5a4c6d53
SP
121812013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12182
12183 [BZ #16077]
12184 * nss/Versions (libnss_files): Add
12185 _nss_files_gethostbyname3_r.
12186 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12187 New function.
12188 (HOST_DB_LOOKUP): Remove macro.
12189 (_nss_files_gethostbyname_r): Implement function without the
12190 HOST_DB_LOOKUP macro.
12191 (_nss_files_gethostbyname2_r): Likewise.
12192
897b98ba
OB
121932013-11-28 Ondřej Bílka <neleai@seznam.cz>
12194
12195 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12196
6f476861
UB
121972013-11-26 Uros Bizjak <ubizjak@gmail.com>
12198
12199 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12200 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12201 warning.
12202
bd12ab55
AZ
122032013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12204
12205 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12206 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12207 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12208 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12209 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12210 __fe_nomask_env_priv and attribute_hidden.
12211 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12212 (libc_feupdateenv_test_ppc): Likewise.
12213 (libc_feresetround_ppc): Likewise.
12214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12215 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12216 compat_symbol macro.
12217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12218 (__fe_nomask_env): Likewise.
12219 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12220
52bb6543
OB
122212013-11-26 Ondřej Bílka <neleai@seznam.cz>
12222
12223 * string/Makefile: Remove ifunc tests.
12224 * string/test-string.h: Define TEST_IFUNC.
12225 * string/test-bcopy-ifunc.c: Remove.
12226 * string/test-bzero-ifunc.c: Likewise.
12227 * string/test-memccpy-ifunc.c: Likewise.
12228 * string/test-memchr-ifunc.c: Likewise.
12229 * string/test-memcmp-ifunc.c: Likewise.
12230 * string/test-memcpy-ifunc.c: Likewise.
12231 * string/test-memmem-ifunc.c: Likewise.
12232 * string/test-memmove-ifunc.c: Likewise.
12233 * string/test-mempcpy-ifunc.c: Likewise.
12234 * string/test-memrchr-ifunc.c: Likewise.
12235 * string/test-memset-ifunc.c: Likewise.
12236 * string/test-rawmemchr-ifunc.c: Likewise.
12237 * string/test-stpcpy-ifunc.c: Likewise.
12238 * string/test-stpncpy-ifunc.c: Likewise.
12239 * string/test-strcasecmp-ifunc.c: Likewise.
12240 * string/test-strcasestr-ifunc.c: Likewise.
12241 * string/test-strcat-ifunc.c: Likewise.
12242 * string/test-strchr-ifunc.c: Likewise.
12243 * string/test-strchrnul-ifunc.c: Likewise.
12244 * string/test-strcmp-ifunc.c: Likewise.
12245 * string/test-strcpy-ifunc.c: Likewise.
12246 * string/test-strcspn-ifunc.c: Likewise.
12247 * string/test-strlen-ifunc.c: Likewise.
12248 * string/test-strncasecmp-ifunc.c: Likewise.
12249 * string/test-strncat-ifunc.c: Likewise.
12250 * string/test-strncmp-ifunc.c: Likewise.
12251 * string/test-strncpy-ifunc.c: Likewise.
12252 * string/test-strnlen-ifunc.c: Likewise.
12253 * string/test-strpbrk-ifunc.c: Likewise.
12254 * string/test-strrchr-ifunc.c: Likewise.
12255 * string/test-strspn-ifunc.c: Likewise.
12256 * string/test-strstr-ifunc.c: Likewise.
12257
ab260039 122582013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
12259
12260 * benchtests/Makefile: Remove ifunc tests.
12261 * benchtests/bench-string.h: Define TEST_IFUNC.
12262 * benchtests/bench-bcopy-ifunc.c: Remove.
12263 * benchtests/bench-bzero-ifunc.c: Likewise.
12264 * benchtests/bench-memccpy-ifunc.c: Likewise.
12265 * benchtests/bench-memchr-ifunc.c: Likewise.
12266 * benchtests/bench-memcmp-ifunc.c: Likewise.
12267 * benchtests/bench-memcpy-ifunc.c: Likewise.
12268 * benchtests/bench-memmem-ifunc.c: Likewise.
12269 * benchtests/bench-memmove-ifunc.c: Likewise.
12270 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12271 * benchtests/bench-memrchr-ifunc.c: Likewise.
12272 * benchtests/bench-memset-ifunc.c: Likewise.
12273 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12274 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12275 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12276 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12277 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12278 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12279 * benchtests/bench-strcat-ifunc.c: Likewise.
12280 * benchtests/bench-strchr-ifunc.c: Likewise.
12281 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12282 * benchtests/bench-strcmp-ifunc.c: Likewise.
12283 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12284 * benchtests/bench-strcpy-ifunc.c: Likewise.
12285 * benchtests/bench-strcspn-ifunc.c: Likewise.
12286 * benchtests/bench-strlen-ifunc.c: Likewise.
12287 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12288 * benchtests/bench-strncat-ifunc.c: Likewise.
12289 * benchtests/bench-strncmp-ifunc.c: Likewise.
12290 * benchtests/bench-strncpy-ifunc.c: Likewise.
12291 * benchtests/bench-strnlen-ifunc.c: Likewise.
12292 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12293 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 12294 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
12295 * benchtests/bench-strspn-ifunc.c: Likewise.
12296 * benchtests/bench-strstr-ifunc.c: Likewise.
12297
122982013-11-26 Ondřej Bílka <neleai@seznam.cz>
12299
ab260039
OB
12300 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12301
d1d9eaf4 123022013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 12303
d1d9eaf4
OB
12304 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12305 * rt/aio.h: Likewise.
12306 * sysdeps/gnu/bits/utmp.h: Likewise.
12307 * sysdeps/gnu/bits/utmpx.h: Likewise.
12308 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12309 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12310 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12311 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12312 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12313 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12314 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12315 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12316 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12317 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12318 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12319 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12320 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12322 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12323 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12324 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12325 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12326 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12327 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12328 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12329 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12330 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12331 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12332 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12334 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12335 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12336 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12337 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12338 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12339 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12340 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12341 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12342 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12343 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12344 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12345 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12346 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12347 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12348 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12349 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12350
a7624ed9
CD
123512013-11-25 Carlos O'Donell <carlos@redhat.com>
12352
12353 [BZ #16245]
12354 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12355 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12356
63cfe52b
JM
123572013-11-25 Joseph Myers <joseph@codesourcery.com>
12358
12359 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12360 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12361 Likewise.
12362
41e8926a
AZ
123632013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12364
12365 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12366 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12367 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12368 (__fesetround): Remove define.
12369 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12370 rounding and exceptions handling.
12371 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12372 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12373 (__fe_nomask_env): Likewise.
12374 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12375 __fegetround instead of fegetround.
12376 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12377 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12378
6851bd4d
RM
123792013-11-21 Roland McGrath <roland@hack.frob.com>
12380
070906ff
RM
12381 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12382 it's there.
12383
6851bd4d
RM
12384 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12385
84ae135d
MI
123862013-11-21 Meador Inge <meadori@codesourcery.com>
12387
12388 [BZ #11157]
12389 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12390 (encrypt_r): Likewise.
12391 * malloc/obstack.h (obstack_free): Likewise.
12392 * posix/unistd.h (encrypt): Likewise.
12393
daf75146
GM
123942013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12395
12396 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12397 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12398 DL_CALL_DT_FINI() that call the functions directly.
12399 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12400 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12401 * elf/dl-fini.c: Likewise.
12402
10ad46bc
OB
124032013-11-20 Ondřej Bílka <neleai@seznam.cz>
12404
12405 * malloc/hooks.c (memalign_check): Add alignment rounding.
12406 * malloc/malloc.c (_mid_memalign): New function.
12407 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12408 Implement by calling _mid_memalign.
12409 * manual/probes.texi (Memory Allocation Probes): Remove
12410 memory_valloc_retry and memory_pvalloc_retry.
12411
f3fd2628
SP
124122013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12413
4712799f
SP
12414 * locale/programs/locarchive.c (open_archive): Add const
12415 qualifier to ARCHIVEFNAME and copy default fname to
12416 DEFAULT_FNAME.
12417
0417b20f
SP
12418 [BZ #15601]
12419 * libio/tst-widetext.input: Rename Oriya to Odia.
12420 * locale/iso-639.def: Likewise.
12421
f3fd2628
SP
12422 * manual/probes.texi (Mathematical Function Probes): Add
12423 documentation for sin, cos, asin and acos probes.
12424 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12425 (__sin32): Add slowasin probe.
12426 (__cos32): Add slowacos probe.
12427 (__mpsin): Add slowsin probe.
12428 (__mpcos): Add slowcos probe.
12429
73c1ce4f
JM
124302013-11-19 Joseph Myers <joseph@codesourcery.com>
12431
12432 [BZ #15483]
12433 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12434 thread-local __sim_exceptions_thread and global
12435 __sim_exceptions_global.
12436 (__sim_disabled_exceptions): Change to thread-local
12437 __sim_disabled_exceptions_thread and global
12438 __sim_disabled_exceptions_global.
12439 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12440 and global __sim_round_mode_global.
12441 (__simulate_exceptions): Use thread-local floating-point state and
12442 set global state from it as needed.
12443 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12444 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12445 __sim_round_mode_thread.
12446 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12447 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12448 and global __sim_exceptions_global.
12449 (__sim_disabled_exceptions): Change to thread-local
12450 __sim_disabled_exceptions_thread and global
12451 __sim_disabled_exceptions_global.
12452 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12453 and global __sim_round_mode_global.
12454 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12455 (SIM_SET_GLOBAL): Likewise.
12456 * sysdeps/powerpc/soft-fp/sfp-machine.h
12457 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12458 __sim_round_mode_thread.
12459 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12460 __sim_disabled_exceptions_thread.
12461 (__sim_exceptions): Change to __sim_exceptions_thread.
12462 (__sim_disabled_exceptions): Change to
12463 __sim_disabled_exceptions_thread.
12464 (__sim_round_mode): Change to __sim_round_mode_thread.
12465 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12466 thread-local floating-point state and set global state from it as
12467 needed.
12468 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12469 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12470 (__sim_disabled_exceptions): Remove extern declaration.
12471 (feenableexcept): Use thread-local floating-point state and set
12472 global state from it as needed.
12473 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12474 extern declaration.
12475 (__sim_disabled_exceptions): Likewise.
12476 (__sim_round_mode): Likewise.
12477 (__fegetenv): Use thread-local floating-point state.
12478 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12479 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12480 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12481 floating-point state and set global state from it as needed.
12482 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12483 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12484 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12485 Likewise.
12486 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12487 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12488 Likewise.
12489 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12490 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12491 Use __sim_round_mode_thread.
12492 * math/test-fenv-tls.c: New file.
12493 * math/Makefile (tests): Add test-fenv-tls.
12494 ($(objpfx)test-fenv-tls): Depend on
12495 $(common-objpfx)nptl/libpthread.so.
12496
b5449b12
AS
124972013-11-19 Andreas Schwab <schwab@suse.de>
12498
12499 * locale/programs/locale.c (show_info): Decode wordarray elements.
12500 * locale/categories.def (LC_MONETARY): Add element for
12501 _NL_MONETARY_CRNCYSTR.
12502 * locale/C-monetary.c (conversion_rate): New variable.
12503 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12504 element.
12505
e186536b
CM
125062013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12507
12508 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12509 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12510
5c349950
PP
125112013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12512
12513 * elf/Makefile (tst-auxv): New test.
12514 * elf/tst-auxv.c: New
12515 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12516
699df45b
JM
125172013-11-18 Joseph Myers <joseph@codesourcery.com>
12518
12519 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12520 (hidden_proto): Caller changed.
12521 (hidden_tls_proto): New macro.
12522 (libc_hidden_tls_proto): Likewise.
12523 (rtld_hidden_tls_proto): Likewise.
12524 (libm_hidden_tls_proto): Likewise.
12525 (libresolv_hidden_tls_proto): Likewise.
12526 (librt_hidden_tls_proto): Likewise.
12527 (libdl_hidden_tls_proto): Likewise.
12528 (libnss_files_hidden_tls_proto): Likewise.
12529 (libnsl_hidden_tls_proto): Likewise.
12530 (libnss_nisplus_hidden_tls_proto): Likewise.
12531 (libutil_hidden_tls_proto): Likewise.
12532
b7589107
OB
125332013-11-18 Ondřej Bílka <neleai@seznam.cz>
12534
12535 [BZ #10253]
12536 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12537 (decompose_rpath): Defer expansion to fillin_rpath.
12538 (_dl_init_paths): Pass linkmap to fillin_rpath.
12539
250c23bd
RS
125402013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12541
12542 * benchtests/Makefile: Add strsep.
12543 * benchtests/bench-strsep.c: New file: strsep benchtest.
12544 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12545
a7931fcf
AS
125462013-11-18 Andreas Schwab <schwab@suse.de>
12547
12548 * locale/programs/locale.c (show_info) [case byte]: Check for
12549 '\377' instead of '\177'.
12550 * locale/C-monetary.c (not_available): Always use "\377".
12551 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12552 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12553 detect unavailable sign_posn locale elements.
12554 * locale/localeconv.c (__localeconv): For grouping and
12555 mon_grouping handle "\177" and "\377" like no grouping.
12556 (INT_ELEM): New macro. Use it to set all numeric members.
12557 * locale/programs/ld-monetary.c (monetary_read)
12558 <tok_mon_grouping>: Normalize single -1 to the empty string.
12559 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12560 Likewise.
12561
728dab0e
OB
125622013-11-07 Ondřej Bílka <neleai@seznam.cz>
12563
12564 [BZ #16055]
12565 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12566 when we match (nil).
12567 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12568
66294491
JM
125692013-11-16 Joseph Myers <joseph@codesourcery.com>
12570
ce665817
JM
12571 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12572 (NO_TEST_INLINE): Update value.
12573 (ERRNO_UNCHANGED): Likewise.
12574 (ERRNO_EDOM): Likewise.
12575 (ERRNO_ERANGE): Likewise.
12576 (IGNORE_RESULT): Likewise.
12577 (check_float_internal): Check signs of NaN results if
12578 TEST_NAN_SIGN used.
12579 (check_complex): Pass TEST_NAN_SIGN flag through to second
12580 check_float_internal call.
12581 (copysign_test_data): Add tests with quiet NaNs as second
12582 argument. Use TEST_NAN_SIGN.
12583 (fabs_test_data): Add test of negative quiet NaN argument. Use
12584 TEST_NAN_SIGN.
12585 (signbit_test_data): Add tests of quiet NaN argument.
12586 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12587
ee1466a9
JM
12588 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12589 $ignore_result.
12590 (parse_args): Handle function results specified as IGNORE.
12591 * math/libm-test.inc (IGNORE_RESULT): New macro.
12592 (check_float_internal): Do not check numerical result if flag
12593 IGNORE_RESULT set.
12594 (check_complex): Pass through IGNORE_RESULT to second
12595 check_float_internal call.
12596 (check_int): Do not check numerical result if flag IGNORE_RESULT
12597 set.
12598 (check_long): Likewise.
12599 (check_bool): Likewise.
12600 (check_longlong): Likewise.
12601 (lrint_test_data): Add tests of infinite and NaN arguments.
12602 (lrint_tonearest_test_data): Likewise.
12603 (lrint_towardzero_test_data): Likewise.
12604 (lrint_downward_test_data): Likewise.
12605 (lrint_upward_test_data): Likewise.
12606 (llrint_test_data): Likewise.
12607 (llrint_tonearest_test_data): Likewise.
12608 (llrint_towardzero_test_data): Likewise.
12609 (llrint_downward_test_data): Likewise.
12610 (llrint_upward_test_data): Likewise.
12611 (lround_test_data): Likewise.
12612 (llround_test_data): Likewise.
12613
14407b7e
JM
12614 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12615 (ERRNO_UNCHANGED): Update value.
12616 (ERRNO_EDOM): Likewise.
12617 (ERRNO_ERANGE): Likewise.
12618 (NO_TEST_INLINE_FLOAT): New macro.
12619 (NO_TEST_INLINE_DOUBLE): Likewise.
12620 (enable_test): New function.
12621 (RUN_TEST_f_f): Check enable_test before running test.
12622 (RUN_TEST_2_f): Likewise.
12623 (RUN_TEST_fff_f): Likewise.
12624 (RUN_TEST_c_f): Likewise.
12625 (RUN_TEST_f_f1): Likewise.
12626 (RUN_TEST_fF_f1): Likewise.
12627 (RUN_TEST_fI_f1): Likewise.
12628 (RUN_TEST_ffI_f1): Likewise.
12629 (RUN_TEST_c_c): Likewise.
12630 (RUN_TEST_cc_c): Likewise.
12631 (RUN_TEST_f_i): Likewise.
12632 (RUN_TEST_f_i_tg): Likewise.
12633 (RUN_TEST_ff_i_tg): Likewise.
12634 (RUN_TEST_f_b): Likewise.
12635 (RUN_TEST_f_b_tg): Likewise.
12636 (RUN_TEST_f_l): Likewise.
12637 (RUN_TEST_f_L): Likewise.
12638 (RUN_TEST_fFF_11): Likewise.
12639 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12640 conditionals.
12641 (cosh_test_data): Likewise.
12642 (exp_test_data): Likewise.
12643 (expm1_test_data): Likewise.
12644 (hypot_test_data): Likewise.
12645 (pow_test_data): Likewise.
12646 (sinh_test_data): Likewise.
12647 (tanh_test_data): Likewise.
12648 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12649 flags argument.
12650
ca07f197
JM
12651 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12652 tests with quiet NaN input and output.
12653 (acosh_test_data): Likewise.
12654 (asin_test_data): Likewise.
12655 (asinh_test_data): Likewise.
12656 (atan_test_data): Likewise.
12657 (atanh_test_data): Likewise.
12658 (atan2_test_data): Likewise.
12659 (cbrt_test_data): Likewise.
12660 (cos_test_data): Likewise.
12661 (cosh_test_data): Likewise.
12662 (erf_test_data): Likewise.
12663 (erfc_test_data): Likewise.
12664 (exp_test_data): Likewise.
12665 (exp10_test_data): Likewise.
12666 (exp2_test_data): Likewise.
12667 (expm1_test_data): Likewise.
12668 (hypot_test_data): Likewise.
12669 (j0_test_data): Likewise.
12670 (j1_test_data): Likewise.
12671 (jn_test_data): Likewise.
12672 (lgamma_test_data): Likewise.
12673 (log_test_data): Likewise.
12674 (log10_test_data): Likewise.
12675 (log1p_test_data): Likewise.
12676 (log2_test_data): Likewise.
12677 (pow_test_data): Likewise.
12678 (scalb_test_data): Likewise.
12679 (sin_test_data): Likewise.
12680 (sincos_test_data): Likewise.
12681 (sinh_test_data): Likewise.
12682 (tan_test_data): Likewise.
12683 (tanh_test_data): Likewise.
12684 (tgamma_test_data): Likewise.
12685 (y0_test_data): Likewise.
12686 (y1_test_data): Likewise.
12687 (yn_test_data): Likewise.
12688
66294491
JM
12689 [BZ #16167]
12690 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12691 argument being NaN and avoid computations with second argument in
12692 that case.
12693 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12694 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12695 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12696
1820b143
CL
126972013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12698
12699 * locale/iso-639.def: Add Chitwani Tharu (the).
12700
714bd261
AS
127012013-11-14 Andreas Schwab <schwab@suse.de>
12702
12703 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12704 word instead of empty string.
12705
7ab44563
AZ
127062013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12707
12708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12709 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12711 (__fe_nomask_env): Likewise.
12712
e8470ea2
SE
127132013-11-13 Steve Ellcey <sellcey@mips.com>
12714
12715 * benchtests/bench-timing.h: Include time.h.
12716
17c1d9f0
L
127172013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12718
12719 [BZ #15997]
12720 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12721 to 3.4.0 for x32.
12722 * sysdeps/unix/sysv/linux/configure: Regenerated.
12723
9310c284
JM
127242013-11-13 Joseph Myers <joseph@codesourcery.com>
12725
12726 [BZ #16151]
12727 * stdlib/strtod_l.c (round_and_return): Do not consider
12728 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12729 exponent one less than half the least subnormal exponent.
12730 * stdlib/test-strtod-round-data: Add more tests.
12731 * stdlib/tst-strtod-round.c (tests): Regenerated.
12732
7a2ad8cf
AZ
127332013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12734
12735 [BZ #14143]
12736 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12737 (__fe_mask_env): Likewise.
12738 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12739 libm_hidden_proto and add function prototype.
12740 (__fe_mask_env): Add function prototype.
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12742 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12744 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12746 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12747
50727aa7
MS
127482013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12749
b2f386c1 12750 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
12751 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12752
a615be46
MS
127532013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12754
12755 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12756 of htab_find_slot().
12757
7ddace62
DM
127582013-11-11 David S. Miller <davem@davemloft.net>
12759
12760 [BZ #16150]
12761 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12762 symbol in the non-vis3 case in static builds.
12763 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12764 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12765 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12766 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12767
9182aa67
JK
127682013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12769
12770 [BZ #387]
12771 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12772 it is empty.
12773
450a2e2d
AZ
127742013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12775
b2f386c1
SP
12776 * benchtests/Makefile: Add bench-strtod.
12777 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 12778
8ec3f656
AS
127792013-11-11 Andreas Schwab <schwab@suse.de>
12780
12781 [BZ #16153]
12782 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12783 terminating NUL in key length.
12784
76a9b998
AZ
127852013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12786
12787 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12788 Add artificial ODP entry for vDSO symbol for PPC64.
12789 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12790 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12791
e4368156
OB
127922013-11-07 Ondřej Bílka <neleai@seznam.cz>
12793
12794 [BZ #15374]
12795 * nss/getent.c (services_keys): Recognize services starting with digit.
12796
8d6bb57c
DM
127972013-11-06 David S. Miller <davem@davemloft.net>
12798
12799 [BZ #15985]
12800 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12801 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12802
e256c421
WN
128032013-11-06 Will Newton <will.newton@linaro.org>
12804
12805 * manual/memory.texi (Malloc Examples): Remove register
12806 keyword from examples.
12807
f6e12daa 128082013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 12809
f6e12daa 12810 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 12811
9d880655
AS
128122013-11-04 Joseph Myers <joseph@codesourcery.com>
12813
fd2f9486 12814 [BZ #6981]
9d880655
AS
12815 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12816 depending on [__GCC_IEC_559 > 0].
12817 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12818 depending on [__GCC_IEC_559_COMPLEX > 0].
12819
ae129d3c
CL
128202013-11-03 Chris Leonard <cjl@sugarlabs.org>
12821
12822 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12823 to iso-639.def.
12824
4a15c2a4 128252013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
12826
12827 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12828
8b35e35d
OB
128292013-11-01 Ondřej Bílka <neleai@seznam.cz>
12830
12831 [BZ #16112]
12832 * malloc/malloc (malloc_info): Do not handle first bin as
12833 special case.
12834
1d70fd6c
CL
128352013-11-01 Chris Leonard <cjl@sugarlabs.org>
12836
12837 * locale/iso-639.def: Add Central Nahuatl (nhn).
12838
8c5c2600
BH
128392013-11-01 Bruno Haible <bruno@clisp.org>
12840
12841 [BZ #7003]
12842 * manual/math.texi (BSD Random): Specify range upper bound as
12843 in POSIX.
12844
da5579c2
CL
128452013-10-31 Chris Leonard <cjl@sugarlabs.org>
12846
12847 * locale/iso-639.def: Add Meadow Mari (mhr).
12848
5d30d853
OB
128492013-10-31 Ondřej Bílka <neleai@seznam.cz>
12850
12851 [BZ #14752], [BZ #15763]
12852 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12853 Validate name.
12854 * rt/tst_shm.c: Add test for escaping directory.
12855
a4966c61
AS
128562013-10-31 Andreas Schwab <schwab@suse.de>
12857
8a43e768 12858 [BZ #15917]
a4966c61
AS
12859 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12860 followed by 'x' as part of digit sequence.
12861 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12862
28d708c4
MAP
128632013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12864
12865 [BZ #16037]
12866 * configure.ac: allow GNU Make 4.0 and greater.
12867 * configure: Regenerated.
12868
a56ee40b
WN
128692013-10-30 Will Newton <will.newton@linaro.org>
12870
12871 [BZ #16038]
12872 * malloc/hooks.c (memalign_check): Limit alignment to the
12873 maximum representable power of two.
12874 * malloc/malloc.c (__libc_memalign): Likewise.
12875 * malloc/tst-memalign.c (do_test): Add test for very
12876 large alignment values.
12877 * malloc/tst-posix_memalign.c (do_test): Likewise.
12878
c6e4925d
OB
128792013-10-30 Ondřej Bílka <neleai@seznam.cz>
12880
12881 [BZ #11087]
12882 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12883 (munmap_chunk): Likewise.
12884 (mremap_chunk): Likewise.
12885
128862013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 12887
8a43e768 12888 [BZ #15799]
bbea82f7
OB
12889 * stdlib/div.c (div): Remove obsolete code.
12890 * stdlib/ldiv.c (ldiv): Likewise.
12891 * stdlib/lldiv.c (lldiv): Likewise.
12892
977f4b31
SP
128932013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12894
12895 [BZ #16071]
12896 * nss/nss_files/files-XXX.c (get_contents_ret): New
12897 enumerator.
12898 (get_contents): New function.
12899 (internal_getent): Use it. Expand size of LINEBUFLEN.
12900
cb8a6dbd
MF
129012013-10-30 Mike Frysinger <vapier@gentoo.org>
12902
12903 * configure.in: Moved to ...
12904 * configure.ac: ... here. Change reference to configure.in
12905 to configure.ac.
12906 * sysdeps/arm/preconfigure.ac: ... here.
12907 configure.in to configure.ac.
12908 * sysdeps/gnu/configure.in: Moved to ...
12909 * sysdeps/gnu/configure.ac: ... here.
12910 * sysdeps/i386/configure.in: Moved to ...
12911 * sysdeps/i386/configure.ac: ... here.
12912 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12913 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12914 * sysdeps/mach/configure.in: Moved to ...
12915 * sysdeps/mach/configure.ac: ... here.
12916 * sysdeps/mach/hurd/configure.in: Moved to ...
12917 * sysdeps/mach/hurd/configure.ac: ... here.
12918 * sysdeps/powerpc/configure.in: Moved to ...
12919 * sysdeps/powerpc/configure.ac: ... here.
12920 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12921 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12922 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12923 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12924 * sysdeps/s390/s390-32/configure.in: Moved to ...
12925 * sysdeps/s390/s390-32/configure.ac: ... here.
12926 * sysdeps/s390/s390-64/configure.in: Moved to ...
12927 * sysdeps/s390/s390-64/configure.ac: ... here.
12928 * sysdeps/sh/configure.in: Moved to ...
12929 * sysdeps/sh/configure.ac: ... here.
12930 * sysdeps/sparc/configure.in: Moved to ...
12931 * sysdeps/sparc/configure.ac: ... here.
12932 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12933 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12934 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12935 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12936 * sysdeps/x86_64/configure.in: Moved to ...
12937 * sysdeps/x86_64/configure.ac: ... here.
12938 * sysdeps/x86_64/preconfigure.in: Moved to ...
12939 * sysdeps/x86_64/preconfigure.ac: ... here.
12940 * aclocal.m4: Change reference to configure.in to configure.ac.
12941 * config.h.in: Likewise.
12942 * manual/install.texi: Likewise.
12943 * manual/maint.texi: Likewise.
12944 * Makefile: Likewise.
12945 * malloc/Makefile: Likewise.
12946 * nscd/Makefile: Likewise.
12947 * Makeconfig: Change reference to configure.in and
12948 preconfigure.in to configure.ac and preconfigure.ac
12949 respectively.
12950 * INSTALL: Regenerated.
12951 * configure: Likewise.
12952 * sysdeps/gnu/configure: Likewise.
12953 * sysdeps/i386/configure: Likewise.
12954 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12955 * sysdeps/mach/configure: Likewise.
12956 * sysdeps/mach/hurd/configure: Likewise.
12957 * sysdeps/powerpc/configure: Likewise.
12958 * sysdeps/powerpc/powerpc32/configure: Likewise.
12959 * sysdeps/powerpc/powerpc64/configure: Likewise.
12960 * sysdeps/s390/s390-32/configure: Likewise.
12961 * sysdeps/s390/s390-64/configure: Likewise.
12962 * sysdeps/sh/configure: Likewise.
12963 * sysdeps/sparc/configure: Likewise.
12964 * sysdeps/unix/sysv/linux/configure: Likewise.
12965 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12966 * sysdeps/x86_64/configure: Likewise.
12967 * sysdeps/x86_64/preconfigure: Likewise.
12968
36a4953a
AS
129692013-10-29 Andreas Schwab <schwab@suse.de>
12970
12971 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12972
c79a1204
SP
129732013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12974
dfa1b402
SP
12975 * benchtests/pow-inputs: Add new inputs.
12976
54f73d9c
SP
12977 * benchtests/exp-inputs: Add new inputs.
12978
c79a1204
SP
12979 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12980 conditional check for return value.
12981 (__cos32): Likewise.
12982
67beb545 129832013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
12984
12985 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12986 to provide a boost for large inputs with word alignment.
12987 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12988 implementation based on optimized PPC64 strcpy.
12989 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12990 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12991 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12992 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12993
151659f6
OB
129942013-10-25 Ondřej Bílka <neleai@seznam.cz>
12995
482a077e 12996 [BZ #2801]
151659f6
OB
12997 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12998
10b0f26b
OB
129992013-10-25 Ondřej Bílka <neleai@seznam.cz>
13000
13001 [BZ #14876]
13002 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13003 * time/tst-strptime.c (day_tests): Add testcase.
13004
ca42d35e
OB
130052013-10-25 Ondřej Bílka <neleai@seznam.cz>
13006
482a077e 13007 [BZ #14029]
ca42d35e
OB
13008 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13009
52e6d801
FB
130102013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13011
13012 [BZ #16074]
13013 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13014 MAP_FAILED on error.
13015
7cbcdb36
SP
130162013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13017
13018 [BZ #16072]
13019 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13020 heap for large requests.
13021
894f3f10
AM
130222013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13023
13024 [BZ #9954]
13025 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13026 result if the result has no associated interface.
13027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13028 interface for all 127.X.Y.Z addresses.
13029
b85545a6
CL
130302013-10-24 Chris Leonard <cjl@sugarlabs.org>
13031
13032 * locale/iso-639.def: Add Ligurian (lij)
13033
d1f23d46
OB
130342013-10-21 Ondřej Bílka <neleai@seznam.cz>
13035
13036 [BZ #15825]
13037 * sunrpc/rpc_main.c: Document rpcgen -5.
13038
4db5b08f
MS
130392013-10-19 Michael Stahl <mstahl@redhat.com>
13040
13041 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13042
a471e96a
OB
130432013-10-19 Ondřej Bílka <neleai@seznam.cz>
13044
d1f23d46 13045 [BZ #10278]
a471e96a
OB
13046 * posix/glob.c: Match only directories when trailing slash is present.
13047 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13048 (main): Add testcase.
13049
45c30c61
OB
130502013-10-19 Ondřej Bílka <neleai@seznam.cz>
13051
13052 [BZ #15670]
13053 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13054
484c12fb
CD
130552013-10-18 Carlos O'Donell <carlos@redhat.com>
13056
3d7dc513
CD
13057 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13058 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13059 AUTH_DES and cindex for FIPS 140-2.
13060 (DES Encryption): Add cindex FIPS 46-3.
13061
484c12fb
CD
13062 * locale/locarchive.h (struct locarhandle): Add fname.
13063 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13064 if an optional argument was specified to --list-archive,
13065 otherwise NULL.
13066 * locale/programs/locarchive.c (show_archive_content): Take new
13067 argument fname and pass it via ah.fname to open_archive.
13068 * locale/programs/localedef.h: Update decl.
13069 (open_archive): If AH->fname is non-null, open that file
13070 rather than the default file name, and don't ignore ENOENT.
13071 (create_archive): Set AH.fname to NULL.
13072 (delete_locales_from_archive): Likewise.
13073 (add_locales_to_archive): Likewise.
13074 * locale/programs/locfile.c (write_all_categories): Likewise.
13075
3c8325fb
JM
130762013-10-18 Joseph Myers <joseph@codesourcery.com>
13077 Aldy Hernandez <aldyh@redhat.com>
13078
13079 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13080 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13081 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13082 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13083 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13084 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13085 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13086 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13087 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13088 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13089 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13090 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13091 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13092 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13093 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13094 Likewise.
13095 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13096 Likewise.
13097 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13098 Likewise.
13099 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13100 Likewise.
13101 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13102 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13103 Likewise.
13104 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13105 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13106 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13107 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13108 Likewise.
13109 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13110 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13111 * sysdeps/powerpc/preconfigure: Likewise.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13113 Likewise.
13114 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13115 Replace contents of file by #include of <fenv_libc.h>.
13116 * sysdeps/powerpc/soft-fp/sfp-machine.h
13117 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13118 and <sys/prctl.h>.
13119 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13129 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13130 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13132 Allow copysignl PLT reference to be missing.
13133
5abe0682
RS
131342013-10-18 Richard Sandiford <richard@codesourcery.com>
13135 Joseph Myers <joseph@codesourcery.com
13136
13137 [BZ #15948]
13138 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13139 single character.
13140 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13141
c7738d08
SP
131422013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13143
13144 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13145 * elf/tst-tls1.c: Likewise.
13146 * elf/tst-tls10.h: Likewise.
13147 * elf/tst-tls14.c: Likewise.
13148 * elf/tst-tls2.c: Likewise.
13149 * elf/tst-tls3.c: Likewise.
13150 * elf/tst-tls4.c: Likewise.
13151 * elf/tst-tls5.c: Likewise.
13152 * elf/tst-tls6.c: Likewise.
13153 * elf/tst-tls7.c: Likewise.
13154 * elf/tst-tls8.c: Likewise.
13155 * elf/tst-tls9.c: Likewise.
13156 * elf/tst-tlsmod1.c: Likewise.
13157 * elf/tst-tlsmod13.c: Likewise.
13158 * elf/tst-tlsmod13a.c: Likewise.
13159 * elf/tst-tlsmod14a.c: Likewise.
13160 * elf/tst-tlsmod16a.c: Likewise.
13161 * elf/tst-tlsmod16b.c: Likewise.
13162 * elf/tst-tlsmod2.c: Likewise.
13163 * elf/tst-tlsmod3.c: Likewise.
13164 * elf/tst-tlsmod4.c: Likewise.
13165 * elf/tst-tlsmod5.c: Likewise.
13166 * elf/tst-tlsmod6.c: Likewise.
13167
0bfcf2c7
OB
131682013-10-18 Ondřej Bílka <neleai@seznam.cz>
13169
13170 [BZ #12486]
13171 * malloc/malloc.c: remove checks for statistics.
13172
264aad1e
OB
131732013-10-17 Ondřej Bílka <neleai@seznam.cz>
13174
13175 [BZ #15277]
13176 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13177 * inet/tst-network.c: Add testcase.
13178
b957ced8
AS
131792013-10-17 Andreas Schwab <schwab@suse.de>
13180
13181 [BZ #15218]
13182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13183 to determine canonical name.
13184
c5d5d574
OB
131852013-10-17 Ondřej Bílka <neleai@seznam.cz>
13186
13187 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13188 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13193 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13210 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13211 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13212 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13215 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13216 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13217 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13240 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13245
e5c2c2d0
JM
132462013-10-17 Joseph Myers <joseph@codesourcery.com>
13247
13248 [BZ #16041]
13249 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13250 make result into a quiet NaN.
13251
51ca9e29
JM
132522013-10-16 Joseph Myers <joseph@codesourcery.com>
13253
13254 * soft-fp/adddf3.c: Fix horizontal whitespace.
13255 * soft-fp/addsf3.c: Likewise.
13256 * soft-fp/addtf3.c: Likewise.
13257 * soft-fp/divdf3.c: Likewise.
13258 * soft-fp/divsf3.c: Likewise.
13259 * soft-fp/divtf3.c: Likewise.
13260 * soft-fp/double.h: Likewise.
13261 * soft-fp/eqdf2.c: Likewise.
13262 * soft-fp/eqsf2.c: Likewise.
13263 * soft-fp/eqtf2.c: Likewise.
13264 * soft-fp/extenddftf2.c: Likewise.
13265 * soft-fp/extended.h: Likewise.
13266 * soft-fp/extendsfdf2.c: Likewise.
13267 * soft-fp/extendsftf2.c: Likewise.
13268 * soft-fp/extendxftf2.c: Likewise.
13269 * soft-fp/fixdfdi.c: Likewise.
13270 * soft-fp/fixdfsi.c: Likewise.
13271 * soft-fp/fixdfti.c: Likewise.
13272 * soft-fp/fixsfdi.c: Likewise.
13273 * soft-fp/fixsfsi.c: Likewise.
13274 * soft-fp/fixsfti.c: Likewise.
13275 * soft-fp/fixtfdi.c: Likewise.
13276 * soft-fp/fixtfsi.c: Likewise.
13277 * soft-fp/fixtfti.c: Likewise.
13278 * soft-fp/fixunsdfdi.c: Likewise.
13279 * soft-fp/fixunsdfsi.c: Likewise.
13280 * soft-fp/fixunsdfti.c: Likewise.
13281 * soft-fp/fixunssfdi.c: Likewise.
13282 * soft-fp/fixunssfsi.c: Likewise.
13283 * soft-fp/fixunssfti.c: Likewise.
13284 * soft-fp/fixunstfdi.c: Likewise.
13285 * soft-fp/fixunstfsi.c: Likewise.
13286 * soft-fp/fixunstfti.c: Likewise.
13287 * soft-fp/floatdidf.c: Likewise.
13288 * soft-fp/floatdisf.c: Likewise.
13289 * soft-fp/floatditf.c: Likewise.
13290 * soft-fp/floatsidf.c: Likewise.
13291 * soft-fp/floatsisf.c: Likewise.
13292 * soft-fp/floatsitf.c: Likewise.
13293 * soft-fp/floattidf.c: Likewise.
13294 * soft-fp/floattisf.c: Likewise.
13295 * soft-fp/floattitf.c: Likewise.
13296 * soft-fp/floatundidf.c: Likewise.
13297 * soft-fp/floatundisf.c: Likewise.
13298 * soft-fp/floatunditf.c: Likewise.
13299 * soft-fp/floatunsidf.c: Likewise.
13300 * soft-fp/floatunsisf.c: Likewise.
13301 * soft-fp/floatunsitf.c: Likewise.
13302 * soft-fp/floatuntidf.c: Likewise.
13303 * soft-fp/floatuntisf.c: Likewise.
13304 * soft-fp/floatuntitf.c: Likewise.
13305 * soft-fp/fmadf4.c: Likewise.
13306 * soft-fp/fmasf4.c: Likewise.
13307 * soft-fp/fmatf4.c: Likewise.
13308 * soft-fp/gedf2.c: Likewise.
13309 * soft-fp/gesf2.c: Likewise.
13310 * soft-fp/getf2.c: Likewise.
13311 * soft-fp/ledf2.c: Likewise.
13312 * soft-fp/lesf2.c: Likewise.
13313 * soft-fp/letf2.c: Likewise.
13314 * soft-fp/muldf3.c: Likewise.
13315 * soft-fp/mulsf3.c: Likewise.
13316 * soft-fp/multf3.c: Likewise.
13317 * soft-fp/negdf2.c: Likewise.
13318 * soft-fp/negsf2.c: Likewise.
13319 * soft-fp/negtf2.c: Likewise.
13320 * soft-fp/op-1.h: Likewise.
13321 * soft-fp/op-2.h: Likewise.
13322 * soft-fp/op-4.h: Likewise.
13323 * soft-fp/op-8.h: Likewise.
13324 * soft-fp/op-common.h: Likewise.
13325 * soft-fp/quad.h: Likewise.
13326 * soft-fp/single.h: Likewise.
13327 * soft-fp/soft-fp.h: Likewise.
13328 * soft-fp/sqrtdf2.c: Likewise.
13329 * soft-fp/sqrtsf2.c: Likewise.
13330 * soft-fp/sqrttf2.c: Likewise.
13331 * soft-fp/subdf3.c: Likewise.
13332 * soft-fp/subsf3.c: Likewise.
13333 * soft-fp/subtf3.c: Likewise.
13334 * soft-fp/truncdfsf2.c: Likewise.
13335 * soft-fp/trunctfdf2.c: Likewise.
13336 * soft-fp/trunctfsf2.c: Likewise.
13337 * soft-fp/trunctfxf2.c: Likewise.
13338 * soft-fp/unorddf2.c: Likewise.
13339 * soft-fp/unordsf2.c: Likewise.
13340 * soft-fp/unordtf2.c: Likewise.
13341
9ebb0332
JM
133422013-10-15 Joseph Myers <joseph@codesourcery.com>
13343
13344 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13345 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13346
4b1a6d8b
OB
133472013-10-15 Ondřej Bílka <neleai@seznam.cz>
13348
13349 * elf/dl-libc.c: Clear initfini list after freeing.
13350
1e145589
JM
133512013-10-14 Joseph Myers <joseph@codesourcery.com>
13352
13353 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13354 * soft-fp/addsf3.c: Likewise.
13355 * soft-fp/addtf3.c: Likewise.
13356 * soft-fp/divdf3.c: Likewise.
13357 * soft-fp/divsf3.c: Likewise.
13358 * soft-fp/divtf3.c: Likewise.
13359 * soft-fp/double.h: Likewise.
13360 * soft-fp/eqdf2.c: Likewise.
13361 * soft-fp/eqsf2.c: Likewise.
13362 * soft-fp/eqtf2.c: Likewise.
13363 * soft-fp/extenddftf2.c: Likewise.
13364 * soft-fp/extended.h: Likewise.
13365 * soft-fp/extendsfdf2.c: Likewise.
13366 * soft-fp/extendsftf2.c: Likewise.
13367 * soft-fp/extendxftf2.c: Likewise.
13368 * soft-fp/fixdfdi.c: Likewise.
13369 * soft-fp/fixdfsi.c: Likewise.
13370 * soft-fp/fixdfti.c: Likewise.
13371 * soft-fp/fixsfdi.c: Likewise.
13372 * soft-fp/fixsfsi.c: Likewise.
13373 * soft-fp/fixsfti.c: Likewise.
13374 * soft-fp/fixtfdi.c: Likewise.
13375 * soft-fp/fixtfsi.c: Likewise.
13376 * soft-fp/fixtfti.c: Likewise.
13377 * soft-fp/fixunsdfdi.c: Likewise.
13378 * soft-fp/fixunsdfsi.c: Likewise.
13379 * soft-fp/fixunsdfti.c: Likewise.
13380 * soft-fp/fixunssfdi.c: Likewise.
13381 * soft-fp/fixunssfsi.c: Likewise.
13382 * soft-fp/fixunssfti.c: Likewise.
13383 * soft-fp/fixunstfdi.c: Likewise.
13384 * soft-fp/fixunstfsi.c: Likewise.
13385 * soft-fp/fixunstfti.c: Likewise.
13386 * soft-fp/floatdidf.c: Likewise.
13387 * soft-fp/floatdisf.c: Likewise.
13388 * soft-fp/floatditf.c: Likewise.
13389 * soft-fp/floatsidf.c: Likewise.
13390 * soft-fp/floatsisf.c: Likewise.
13391 * soft-fp/floatsitf.c: Likewise.
13392 * soft-fp/floattidf.c: Likewise.
13393 * soft-fp/floattisf.c: Likewise.
13394 * soft-fp/floattitf.c: Likewise.
13395 * soft-fp/floatundidf.c: Likewise.
13396 * soft-fp/floatundisf.c: Likewise.
13397 * soft-fp/floatunsidf.c: Likewise.
13398 * soft-fp/floatunsisf.c: Likewise.
13399 * soft-fp/floatuntidf.c: Likewise.
13400 * soft-fp/floatuntisf.c: Likewise.
13401 * soft-fp/floatuntitf.c: Likewise.
13402 * soft-fp/fmadf4.c: Likewise.
13403 * soft-fp/fmasf4.c: Likewise.
13404 * soft-fp/fmatf4.c: Likewise.
13405 * soft-fp/gedf2.c: Likewise.
13406 * soft-fp/gesf2.c: Likewise.
13407 * soft-fp/getf2.c: Likewise.
13408 * soft-fp/ledf2.c: Likewise.
13409 * soft-fp/lesf2.c: Likewise.
13410 * soft-fp/letf2.c: Likewise.
13411 * soft-fp/muldf3.c: Likewise.
13412 * soft-fp/mulsf3.c: Likewise.
13413 * soft-fp/multf3.c: Likewise.
13414 * soft-fp/negdf2.c: Likewise.
13415 * soft-fp/negsf2.c: Likewise.
13416 * soft-fp/negtf2.c: Likewise.
13417 * soft-fp/op-1.h: Likewise.
13418 * soft-fp/op-2.h: Likewise.
13419 * soft-fp/op-4.h: Likewise.
13420 * soft-fp/op-8.h: Likewise.
13421 * soft-fp/op-common.h: Likewise.
13422 * soft-fp/quad.h: Likewise.
13423 * soft-fp/single.h: Likewise.
13424 * soft-fp/soft-fp.h: Likewise.
13425 * soft-fp/sqrtdf2.c: Likewise.
13426 * soft-fp/sqrtsf2.c: Likewise.
13427 * soft-fp/sqrttf2.c: Likewise.
13428 * soft-fp/subdf3.c: Likewise.
13429 * soft-fp/subsf3.c: Likewise.
13430 * soft-fp/subtf3.c: Likewise.
13431 * soft-fp/truncdfsf2.c: Likewise.
13432 * soft-fp/trunctfdf2.c: Likewise.
13433 * soft-fp/trunctfsf2.c: Likewise.
13434 * soft-fp/trunctfxf2.c: Likewise.
13435 * soft-fp/unorddf2.c: Likewise.
13436 * soft-fp/unordsf2.c: Likewise.
13437 * soft-fp/unordtf2.c: Likewise.
13438
17c48a60
OB
134392013-10-14 Ondřej Bílka <neleai@seznam.cz>
13440
13441 [BZ #15672]
13442 * misc/error.c (error_tail): Fix possible buffer overflow.
13443
cabba934
OB
134442013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13445
13446 [BZ #13028]
13447 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13448 address.
13449
94bf958a
PM
134502013-10-14 P. J. McDermott <pj@pehjota.net>
13451
13452 [BZ #832]
13453 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13454 testing pipefail option.
13455
71b4dea7
JM
134562013-10-12 Joseph Myers <joseph@codesourcery.com>
13457
13458 * soft-fp/double.h: Indent preprocessor directives inside #if.
13459 * soft-fp/extended.h: Likewise.
13460 * soft-fp/op-2.h: Likewise.
13461 * soft-fp/op-4.h: Likewise.
13462 * soft-fp/op-common.h: Likewise.
13463 * soft-fp/quad.h: Likewise.
13464 * soft-fp/single.h: Likewise.
13465 * soft-fp/soft-fp.h: Likewise.
13466
55602758
YC
134672013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13468
13469 * iconv/iconv_prog.c: Fix typos.
13470 * stdio-common/psiginfo-data.h: Likewise.
13471
9cd83302
RT
134722013-10-12 Reuben Thomas <rrt@sc3d.org>
13473
13474 [BZ #15764]
13475 * locale/setlocale.c: Fix typo.
13476
99fd9f47
JM
134772013-10-12 Joseph Myers <joseph@codesourcery.com>
13478
b7ea74f0
JM
13479 [BZ #16036]
13480 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13481 signaling NaN arguments.
13482 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13483 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13484
8a509447
JM
13485 [BZ #14910]
13486 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13487 unordered operands.
13488 * soft-fp/gesf2.c (__gesf2): Likewise.
13489 * soft-fp/getf2.c (__getf2): Likewise.
13490 * soft-fp/ledf2.c (__ledf2): Likewise.
13491 * soft-fp/lesf2.c (__lesf2): Likewise.
13492 * soft-fp/letf2.c (__letf2): Likewise.
13493
98998e9f
JM
13494 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13495 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13496 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13497 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13498 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13499 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13500 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13501 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13502 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13503 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13504 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13505 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13506 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13507 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13508 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13509 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13510 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13511 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13512 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13513 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13514 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13515 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13516 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13517 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13518 * soft-fp/floattidf.c (__floattidf): Likewise.
13519 * soft-fp/floattisf.c (__floattisf): Likewise.
13520 * soft-fp/floattitf.c (__floattitf): Likewise.
13521 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13522 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13523 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13524 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13525 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13526 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13527 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13528 * soft-fp/gesf2.c (__gesf2): Likewise.
13529 * soft-fp/getf2.c (__getf2): Likewise.
13530 * soft-fp/ledf2.c (__ledf2): Likewise.
13531 * soft-fp/lesf2.c (__lesf2): Likewise.
13532 * soft-fp/letf2.c (__letf2): Likewise.
13533
8edc4a11
JM
13534 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13535 Undefine and redefine.
13536 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13537 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13538 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13539 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13540 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13541 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13542 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13543 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13544 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13545 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13546 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13547 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13548 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13549 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13550 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13551
8399acaf
JM
13552 [BZ #16032]
13553 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13554 without decrementing exponent if mantissa >= that for the
13555 denominator, not >.
13556 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13557 denominator, not >. Decrement exponent in < case instead of
13558 incrementing in >= case.
13559 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13560 without decrementing exponent if mantissa >= that for the
13561 denominator, not >.
13562
99fd9f47
JM
13563 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13564 computing saturated result for unsigned overflow.
13565
10e1cf6b
SP
135662013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13567 Jeff Law <law@redhat.com>
13568
13569 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13570 (atan2Mp): Add systemtap probe marker.
13571 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13572 (__ieee754_log): Add systemtap probe marker.
13573 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13574 (atanMp): Add systemtap probe marker.
13575 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13576 (tanMp): Add systemtap probe marker.
13577 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13578 (__slowexp): Add systemtap probe marker.
13579 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13580 (__slowpow): Add systemtap probe marker.
13581 * manual/probes.texi: Document probes.
13582
3d110c7c
EB
135832013-10-11 Eric Biggers <ebiggers3@gmail.com>
13584
13585 [BZ #15362]
13586 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13587 written.
13588 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13589 written.
13590 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13591 written to buffer but not flushed.
13592 * libio/iofwrite_u.c: Likewise.
13593 * libio/iopadn.c: Return bytes returned even if EOF was
13594 encountered.
13595 * libio/iowpadn.c: Likewise.
13596 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13597 if _IO_padn does not write the whole buffer.
13598 [!COMPILE_WPRINTF] (PAD): Likewise.
13599
75b4202a
DM
136002013-10-10 David S. Miller <davem@davemloft.net>
13601
13602 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13603 directory block.
13604
6c6352e6
JM
136052013-10-10 Joseph Myers <joseph@codesourcery.com>
13606
33b853c3
JM
13607 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13608 instead of FSF address.
13609 * soft-fp/fixdfti.c: Likewise.
13610 * soft-fp/fixsfti.c: Likewise.
13611 * soft-fp/fixtfti.c: Likewise.
13612 * soft-fp/fixunsdfti.c: Likewise.
13613 * soft-fp/fixunssfti.c: Likewise.
13614 * soft-fp/fixunstfti.c: Likewise.
13615 * soft-fp/floattidf.c: Likewise.
13616 * soft-fp/floattisf.c: Likewise.
13617 * soft-fp/floattitf.c: Likewise.
13618 * soft-fp/floatuntidf.c: Likewise.
13619 * soft-fp/floatuntisf.c: Likewise.
13620 * soft-fp/floatuntitf.c: Likewise.
13621 * soft-fp/trunctfxf2.c: Likewise.
13622
6c6352e6
JM
13623 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13624 * soft-fp/fixdfti.c: Likewise.
13625 * soft-fp/fixsfti.c: Likewise.
13626 * soft-fp/fixtfti.c: Likewise.
13627 * soft-fp/fixunsdfti.c: Likewise.
13628 * soft-fp/fixunssfti.c: Likewise.
13629 * soft-fp/fixunstfti.c: Likewise.
13630 * soft-fp/floattidf.c: Likewise.
13631 * soft-fp/floattisf.c: Likewise.
13632 * soft-fp/floattitf.c: Likewise.
13633 * soft-fp/floatuntidf.c: Likewise.
13634 * soft-fp/floatuntisf.c: Likewise.
13635 * soft-fp/floatuntitf.c: Likewise.
13636 * soft-fp/trunctfxf2.c: Likewise.
13637
3bf78b71
DM
136382013-10-10 David S. Miller <davem@davemloft.net>
13639
13640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13641
6f10289e
JM
136422013-10-10 Joseph Myers <joseph@codsourcery.com>
13643
bd878fc0
JM
13644 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13645 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13646 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13647 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13648 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13649 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13650 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13651
6f10289e
JM
13652 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13653 for NaNs before doing comparisons on argument.
13654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13655 Likewise.
13656
321e2684
WN
136572013-10-10 Will Newton <will.newton@linaro.org>
13658
13659 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13660 passed to _int_memalign does not overflow.
13661
40fefba1
TR
136622013-10-10 Torvald Riegel <triegel@redhat.com>
13663
13664 * scripts/bench.pl: Add include-sources directive.
13665 * benchtests/README: Update documentation.
13666
2ae21ed2
JM
136672013-10-10 Joseph Myers <joseph@codesourcery.com>
13668
dcc2dd3f
JM
13669 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13670 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13671 instead of FP_INIT_ROUNDMODE.
13672 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13673 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13674
2ae21ed2
JM
13675 [BZ #16034]
13676 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13677 copy class of input value.
13678 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13679 not handle exceptions.
13680 * soft-fp/negsf2.c (__negsf2): Likewise.
13681 * soft-fp/negtf2.c (__negtf2): Likewise.
13682 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13683
cb8f9562
JM
136842013-10-09 Joseph Myers <joseph@codesourcery.com>
13685
13686 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13687 semicolon. From Linux kernel.
13688
5b60c59d
AB
136892013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13690
13691 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13692
b86835ca
YC
136932013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13694
13695 [BZ #156]
13696 * manual/socket.texi: Added statement about buffer
13697 for gethostbyname2_r.
13698
e7044ea7
OB
136992013-10-08 Ondřej Bílka <neleai@seznam.cz>
13700
13701 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13702 Use .p2align directive instead, throughout.
13703 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13704 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13705 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13706 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13707 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13708 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13709 * sysdeps/x86_64/strchr.S: Likewise.
13710 * sysdeps/x86_64/strrchr.S: Likewise.
13711
09544cbc
SP
137122013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13713
88576635
SP
13714 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13715
e7b2d1dd
SP
13716 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13717
09544cbc
SP
13718 * sysdeps/generic/math_private.h (__mpsin1): Remove
13719 declaration.
13720 (__mpcos1): Likewise.
13721 (__mpsin): New argument __range_reduce.
13722 (__mpcos): Likewise.
13723 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13724 (slow): Use __mpsin and __mpcos.
13725 (slow1): Likewise.
13726 (slow2): Likewise.
13727 (sloww): Likewise.
13728 (sloww1): Likewise.
13729 (sloww2): Likewise.
13730 (bsloww): Likewise.
13731 (bsloww1): Likewise.
13732 (bsloww2): Likewise.
13733 (cslow2): Likewise.
13734 (csloww): Likewise.
13735 (csloww1): Likewise.
13736 (csloww2): Likewise.
13737 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13738 range_reduce. Merge in __mpsin1.
13739 (__mpcos): Likewise.
13740 (__mpsin1): Remove.
13741 (__mpcos1): Likewise.
13742
7602d070
JM
137432013-10-07 Joseph Myers <joseph@codesourcery.com>
13744
13745 * locale/loadlocale.c (_nl_intern_locale_data): Use
13746 LOCFILE_ALIGNED_P.
13747 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13748 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13749 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13750 obstack data is appropriately aligned.
13751 (obstack_int32_grow_fast): Likewise.
13752 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13753 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13754 (add_locale_uint32_array): Likewise.
13755
a357259b
SP
137562013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13757
13758 * benchtests/Makefile: Remove ARGLIST and RET variables.
13759 ($(objpfx)bench-%.c): Pass only function name to the script.
13760 * benchtests/README: Update documentation.
13761 * benchtests/acos-inputs: Add new directives.
13762 * benchtests/acosh-inputs: Likewise.
13763 * benchtests/asin-inputs: Likewise.
13764 * benchtests/asinh-inputs: Likewise.
13765 * benchtests/atan-inputs: Likewise.
13766 * benchtests/atanh-inputs: Likewise.
13767 * benchtests/cos-inputs: Likewise.
13768 * benchtests/cosh-inputs: Likewise.
13769 * benchtests/exp-inputs: Likewise.
13770 * benchtests/log-inputs: Likewise.
13771 * benchtests/pow-inputs: Likewise.
13772 * benchtests/rint-inputs: Likewise.
13773 * benchtests/sin-inputs: Likewise.
13774 * benchtests/sinh-inputs: Likewise.
13775 * benchtests/tan-inputs: Likewise.
13776 * benchtests/tanh-inputs: Likewise.
13777 * scripts/bench.pl: Add support for new directives.
13778
9ec1b13d
AM
137792013-10-07 Alan Modra <amodra@gmail.com>
13780
13781 * README: Fix careless merge.
13782
8b7d57cd
AM
137832013-10-05 Alan Modra <amodra@gmail.com>
13784
13785 * NEWS: Mention powerpc64le support and bugs fixed.
13786 * README: Both big-endian and little-endian powerpc64 supported.
13787
7b7bab13
ST
137882013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13789
57f41c40
AS
13790 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13791 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
13792 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13793 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13794
d39baad1
RA
137952013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13796
13797 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13798 match prototype.
13799
cd78f7e7
JM
138002013-10-04 Joseph Myers <joseph@codesourcery.com>
13801
29d73d86
JM
13802 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13803 Move -mhard-float appending from
13804 ports/sysdeps/powerpc/powerpc32/Makefile.
13805 [$(with-fp) = yes] (ASFLAGS): Likewise.
13806 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13807 * sysdeps/powerpc/nofpu: Move directory from
13808 ports/sysdeps/powerpc/nofpu.
13809 * sysdeps/powerpc/soft-fp: Move directory from
13810 ports/sysdeps/powerpc/soft-fp.
13811 * sysdeps/powerpc/powerpc32/405: Move directory from
13812 ports/sysdeps/powerpc/powerpc32/405.
13813 * sysdeps/powerpc/powerpc32/440: Move directory from
13814 ports/sysdeps/powerpc/powerpc32/440.
13815 * sysdeps/powerpc/powerpc32/464: Move directory from
13816 ports/sysdeps/powerpc/powerpc32/464.
13817 * sysdeps/powerpc/powerpc32/476: Move directory from
13818 ports/sysdeps/powerpc/powerpc32/476.
13819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13820 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13822 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13824 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13826 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13828 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13829 * README: Update for powerpc-*-linux-gnu software floating point
13830 support in libc.
13831
e246b347
JM
13832 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13833 case to powerpc/powerpc32*.
13834 * sysdeps/unix/sysv/linux/configure: Regenerated.
13835
89c2003e
JM
13836 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13837 (_FPU_MASK_OM): Define as 0x04.
13838 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13840 0x00c10080.
13841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13842 0x0000003c.
13843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13844
cd78f7e7
JM
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13846 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13847 getcontext_e500.
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13849 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13850 setcontext_e500.
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13852 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13853 and setcontext_e500.
13854
c755294d
CL
138552013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13856
13857 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13858
e16d221c
SP
138592013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13860
13861 * manual/threads.texi (Default Thread Attributes): Fix typo.
13862
215c7d43
WN
138632013-10-04 Will Newton <will.newton@linaro.org>
13864
13865 * malloc/Makefile: Add tst-memalign.
13866 * malloc/tst-memalign.c: New file.
13867
27d0461b
WN
13868 * malloc/tst-posix_memalign.c: Add comments.
13869 (do_test): Add comments and call free on all potentially
13870 allocated pointers. Add space after cast.
13871
1bc92709
WN
13872 * malloc/tst-pvalloc.c: Add comments.
13873 (do_test): Add comments and call free on all potentially
13874 allocated pointers. Remove duplicate check for NULL pointer.
13875 Add space after cast.
13876
66a9be9d
WN
13877 * malloc/tst-valloc.c: Add comments.
13878 (do_test): Add comments and call free on all potentially
13879 allocated pointers. Remove duplicate check for NULL pointer.
13880 Add space after cast.
13881
4cb81307
AM
138822013-10-04 Alan Modra <amodra@gmail.com>
13883
13884 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13885 Use stdint types in rather than __attribute__((mode())).
13886 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13887
f8e3e9f3
AM
138882013-10-04 Alan Modra <amodra@gmail.com>
13889
13890 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13891 Correct handling of unaligned relocs for little-endian.
13892 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13893
8f9ebb08
AM
138942013-10-04 Alan Modra <amodra@gmail.com>
13895
13896 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13897 * configure: Regenerate.
13898 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13899 * shlib-versions: Likewise.
13900
0edf96c2
AM
139012013-10-04 Alan Modra <amodra@gmail.com>
13902
13903 * string/tester.c (test_memrchr): Increment reported test cycle.
13904
e0f7a380
AM
139052013-10-04 Alan Modra <amodra@gmail.com>
13906
13907 * string/test-memcpy.c (do_one_test): When reporting errors, print
13908 string address and don't overrun end of string.
13909
466b0393
AM
139102013-10-04 Alan Modra <amodra@gmail.com>
13911
13912 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13913 insrdi. Make better use of reg selection to speed exit slightly.
13914 Schedule entry path a little better. Remove useless "are we done"
13915 checks on entry to main loop. Handle wrapping around zero address.
13916 Correct main loop count. Handle single left-over word from main
13917 loop inline rather than by using loop_small. Remove extra word
13918 case in loop_small caused by wrong loop count. Add little-endian
13919 support.
13920 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13921 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13922 cache hint.
13923 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13924 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13925 support. Avoid rlwimi.
13926 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13927
3be87c77
AM
139282013-10-04 Alan Modra <amodra@gmail.com>
13929
13930 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 13931 insrdi. Formatting.
3be87c77
AM
13932 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13933 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13934 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13935 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13936 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13937 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13938
759cfef3
AM
139392013-10-04 Alan Modra <amodra@gmail.com>
13940
13941 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13942 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13943 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13944 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13945 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13946 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13947 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13948 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13949 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13950 use of regs. Use power7 mtocrf. Tidy function tails.
13951
fe6e95d7
AM
139522013-10-04 Alan Modra <amodra@gmail.com>
13953
13954 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13955 Formatting. Consistently use rXXX register defines or rN defines.
13956 Use early exit labels that avoid restoring unused non-volatile regs.
13957 Make cr field use more consistent with rWORDn compares. Rename
13958 regs used as shift registers for unaligned loop, using rN defines
13959 for short lifetime/multiple use regs.
13960 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13961 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13962 addi 1,1,64 to pop stack frame. Simplify return value code.
13963 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13964
664318c3
AM
139652013-10-04 Alan Modra <amodra@gmail.com>
13966
13967 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13968 support. Correct typos, formatting. Optimize tail. Use insrdi
13969 rather than rlwimi.
13970 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13971 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13972 little-endian support. Correct typos.
13973 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13974 rather than rlwimi.
13975 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13976 in loop and entry code to keep "and." results.
13977 (strchr): Add little-endian support. Comment. Move cntlzd
13978 earlier in tail.
13979 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13980
43b84013
AM
139812013-10-04 Alan Modra <amodra@gmail.com>
13982
13983 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13984 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13985 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13986 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13987
8a7413f9
AM
139882013-10-04 Alan Modra <amodra@gmail.com>
13989
13990 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13991 (rTMP): Define as r11.
13992 (strcmp): Add little-endian support. Optimise tail.
13993 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13994 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13995 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13996 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13997 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13998 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13999 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14000
33ee81de
AM
140012013-10-04 Alan Modra <amodra@gmail.com>
14002
14003 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14004 little-endian support. Remove unnecessary "are we done" tests.
14005 Handle "s" wrapping around zero and extremely large "size".
14006 Correct main loop count. Handle single left-over word from main
14007 loop inline rather than by using small_loop. Correct comments.
14008 Delete "zero" tail, use "end_max" instead.
14009 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14010
db9b4570
AM
140112013-10-04 Alan Modra <amodra@gmail.com>
14012
14013 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14014 support. Don't branch over align.
14015 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14016 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14017 support. Rearrange tmp reg use to suit. Comment.
14018 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14019
f7c399cf
AM
140202013-10-04 Alan Modra <amodra@gmail.com>
14021
14022 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14023
0b2c2ace
AM
140242013-10-04 Alan Modra <amodra@gmail.com>
14025
14026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14027 conditional form of branch and link when obtaining pc.
14028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14029
02f04a6c
AM
140302013-10-04 Alan Modra <amodra@gmail.com>
14031
14032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14033 HIWORD/LOWORD.
14034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14036
9b874b2f
AM
140372013-10-04 Alan Modra <amodra@gmail.com>
14038
14039 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14040 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14041 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14042 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14043 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14044 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14045 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14046 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14047 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14048 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14049
be1e5d31
AB
140502013-10-04 Anton Blanchard <anton@au1.ibm.com>
14051 Alistair Popple <alistair@ozlabs.au.ibm.com>
14052 Alan Modra <amodra@gmail.com>
14053
14054 [BZ #15723]
14055 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14056 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14057 _dl_hwcap access for little-endian.
14058 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14059 destroy vmx regs when saving unaligned.
14060 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14061 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14062 destroy vmx regs when saving unaligned.
14063
fef13a78
AM
140642013-10-04 Alan Modra <amodra@gmail.com>
14065
14066 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14067 Don't use a union to pack hi/low value.
14068
76a66d51
AB
140692013-10-04 Anton Blanchard <anton@au1.ibm.com>
14070
14071 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14072 for little-endian.
14073 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14074 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14075 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14076 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14077 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14078
6a31fe7f
AM
140792013-10-04 Alan Modra <amodra@gmail.com>
14080
14081 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14082 constants to usual value for .cst8 section, and remove redundant
14083 high address load.
14084 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14085 constant for 0x1p52. Load little-endian words of double from
14086 correct stack offsets.
14087
7b88401f
AM
140882013-10-04 Alan Modra <amodra@gmail.com>
14089
14090 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14091 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14092 words of double from correct stack offsets.
14093 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14094 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14095 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14096 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14097 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14098 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14099 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14100 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14101 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14102 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14103 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14104 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14105 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14106 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14107 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14108 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14109 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14110
9c008155
AM
141112013-10-04 Alan Modra <amodra@gmail.com>
14112
14113 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14114 64-bit int/double union.
14115 (_FPU_SETCW): Likewise.
14116 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14117 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14118
da13146d
AM
141192013-10-04 Alan Modra <amodra@gmail.com>
14120
14121 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14122 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14123
603e8410
AM
141242013-10-04 Alan Modra <amodra@gmail.com>
14125
14126 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14127 use vector int constants.
14128 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14129
4a28b3ca
AB
141302013-10-04 Anton Blanchard <anton@au1.ibm.com>
14131
14132 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14133 array with long long.
14134 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14135 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14136 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14137 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14138 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14139 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14140 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14141 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14142 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14143 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14144 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14145 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14146 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14147
2ca85d2b
AB
141482013-10-04 Anton Blanchard <anton@au1.ibm.com>
14149
14150 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14151 (__signbit): Likewise. Correct for little-endian.
14152 (__signbitl): Call __signbit.
14153 (lrint): Correct for little-endian.
14154 (lrintf): Call lrint.
14155
62a728ae
AM
141562013-10-04 Alan Modra <amodra@gmail.com>
14157
14158 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14159 union 32-bit int array member with 64-bit int array.
14160 (t515, tm256): Double rather than long double.
14161 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14162
32c301df
AM
141632013-10-04 Alan Modra <amodra@gmail.com>
14164
14165 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14166 Delete.
14167 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14168 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14169 version of math_ldbl.h.
14170
650ef4bd
AM
141712013-10-04 Alan Modra <amodra@gmail.com>
14172
14173 [BZ #15734], [BZ #15735]
14174 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14175 all uses of ieee875 long double macros and unions. Simplify test
14176 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14177 ldbl_extract_mantissa value for ix,iy exponents. Properly
14178 normalize after ldbl_extract_mantissa, and don't add hidden bit
14179 already handled. Don't treat low word of ieee854 mantissa like
14180 low word of IBM long double and mask off bit when testing for
14181 zero.
14182 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14183 all uses of ieee875 long double macros and unions. Simplify tests
14184 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14185 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14186 two1022, instead use their values. Recognise that tests for large
14187 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14188 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14189 Rewrite all uses of ieee875 long double macros and unions. Simplify
14190 test for 0.0L and nan. Correct negation.
14191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14192 ieee875 long double macros and unions. Correct output for large
14193 magnitude x. Correct absolute value calculation.
14194 (__erfcl): Likewise.
14195 * math/libm-test.inc: Add tests for errors discovered in IBM long
14196 double versions of fmodl, remainderl, erfl and erfcl.
14197
765714ca
AM
141982013-10-04 Alan Modra <amodra@gmail.com>
14199
14200 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14201 all uses of ieee854 long double macros and unions. Simplify tests
14202 for long doubles that are fully specified by the high double.
14203 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14204 Likewise.
14205 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14206 Remove dead code too.
14207 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14208 (__ieee754_ynl): Likewise.
14209 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14210 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14211 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14212 Remove dead code too.
14213 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14214 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14215 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14216 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14217 Simplify.
14218 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14219 Simplify.
14220 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14221 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14222 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14223 Comment on variable precision.
14224 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14225 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14226 Likewise.
14227 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14230 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14231 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14232
4ebd120c
AM
142332013-10-04 Alan Modra <amodra@gmail.com>
14234
14235 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14236 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14237 all uses of ieee854 long double macros and unions.
14238 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14239 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14240 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14241 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14242 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14243 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14244 Likewise.
14245 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14246 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14247 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14248 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14249 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14250 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14251 Simplify sign and nan test too.
14252 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14253 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14254 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14255 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14256 Likewise.
14257 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14258 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14259 Likewise.
14260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14261 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14262 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14263 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14264 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14266
1b6adf88
AM
142672013-10-04 Alan Modra <amodra@gmail.com>
14268
14269 * stdio-common/printf_size.c (__printf_size): Don't use
14270 union ieee854_long_double in fpnum union.
14271 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14272 signbit macro to retrieve sign from long double.
14273 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14274 retrieve sign from long double.
14275 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14276 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14277 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14278 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14279 * math/test-misc.c (main): Don't use union ieee854_long_double.
14280
4cf69995
AM
142812013-10-04 Alan Modra <amodra@gmail.com>
14282
14283 [BZ #15680]
14284 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14285 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14286 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14287 calculation. Remove unnecessary test for denormal exponent.
14288 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14289 Correct handling of denormals. Avoid undefined shift behaviour.
14290 Correct normalisation of low mantissa when low double is denormal.
14291 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14292 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14293 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14294 Correct normalisation of low mantissa. Test for overflow of high
14295 mantissa and normalise.
14296 (ldbl_nearbyint): Use more readable constant for two52.
14297 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14298 (__mpn_construct_long_double): Fix test for overflow of high
14299 mantissa and correct normalisation. Avoid undefined shift.
14300
9605ca6c
AM
143012013-10-04 Alan Modra <amodra@gmail.com>
14302
14303 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14304 (union ibm_extended_long_double): Define as an array of ieee754_double.
14305 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14306 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14307 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14308 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14311 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14312 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14314 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14316
975569d0
JM
143172013-10-03 Joseph Myers <joseph@codesourcery.com>
14318
d3d23756
JM
14319 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14320 page size instead of calling getpagesize.
14321
975569d0
JM
14322 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14323 (LOCFILE_ALIGN_MASK): Likewise.
14324 (LOCFILE_ALIGN_UP): Likewise.
14325 (LOCFILE_ALIGNED_P): Likewise.
14326 * locale/programs/ld-collate.c (collate_output): Use the new
14327 macros instead of __alignof__ (int32_t).
14328 * locale/weight.h (findidx): Likewise.
14329
b1fe1f2b
OB
143302013-10-03 Ondřej Bílka <neleai@seznam.cz>
14331
14332 [BZ #431]
14333 * manual/string.texi: Fix strncat and wcsncat.
14334
5f855e35
BM
143352013-10-03 Brooks Moses <bmoses@google.com>
14336
14337 [BZ #15915]
14338 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14339 * Makerules: ...here, and adjust associated comments.
14340
3cef6009
WN
143412013-10-02 Will Newton <will.newton@linaro.org>
14342
14343 * malloc/Makefile: Add tst-pvalloc.
14344 * malloc/tst-pvalloc.c: New file.
14345
7815420b
WN
143462013-10-02 Will Newton <will.newton@linaro.org>
14347
14348 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14349 improve test coverage.
14350
4868b204
WN
143512013-10-02 Will Newton <will.newton@linaro.org>
14352
14353 * malloc/Makefile: Add tst-posix_memalign.
14354 * malloc/tst-posix_memalign.c: New file.
14355
29c793b3
EB
143562013-10-01 Eric Blake <eblake@redhat.com>
14357
14358 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14359 Use __THROWNL rather than __THROW on static functions.
14360
fd967522
PM
143612013-09-30 Petr Machata <pmachata@redhat.com>
14362
14363 * elf/elf.h (R_AARCH64_ABS16): New macro.
14364 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14365 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14366 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14367 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14368 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14369 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14370 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14371 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14372 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14373 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14374 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14375 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14376 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14377 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14378 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14379 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14380 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14381 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14382 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14383 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14384 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14385 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14386 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14387 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14388 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14389 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14390 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14391 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14392 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14393 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14394 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14395 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14396 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14397 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14398 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14399 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14400 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14401 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14402 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14403 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14404 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14405 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14406 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14407 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14408 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14409 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14410 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14411 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14412 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14413 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14414 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14415 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14416 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14417 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14418 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14419 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14420 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14421 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14422 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14423 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14424 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14425 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14426 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14427 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14428 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14429 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14430 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14431 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14432 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14433 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14434 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14435 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14436 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14437 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14438 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14439 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14440 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14441 (R_AARCH64_TLSDESC_LDR): Likewise.
14442 (R_AARCH64_TLSDESC_ADD): Likewise.
14443 (R_AARCH64_TLSDESC_CALL): Likewise.
14444
b2179107
AS
144452013-09-30 Andreas Schwab <schwab@suse.de>
14446
14447 [BZ #15048]
14448 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14449 the nss database lookup.
14450 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14452
47f28d0a
MF
144532013-09-28 Mike Frysinger <vapier@gentoo.org>
14454
14455 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14456
144572013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
14458
14459 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14460 ${Bash-specific parameter/pattern/string} parameter expansion.
14461 * sysdeps/unix/make-syscalls.sh: Likewise.
14462
f4518a17
KK
144632013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14464
14465 * sysdeps/sh/stackguard-macros.h: New file.
14466
dc1a95c7
OB
144672013-09-26 Ondřej Bílka <neleai@seznam.cz>
14468
14469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14471 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14472 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14473 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14474 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14475
5ebbff8f
AZ
144762013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14477
14478 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14479 Fix thread ID register.
14480
4fd2cf9f
JM
144812013-09-25 Joseph Myers <joseph@codesourcery.com>
14482
14483 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14484 [POSIX || UNIX98]: Require rather than permitting all symbols from
14485 <time.h>.
14486 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14487 element of struct sched_param.
14488 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14489 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14490 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14491 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14492 constant.
14493
12c22bc4
OL
144942013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14495
14496 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14497 argument calculation.
14498
a03d8ea7
JM
144992013-09-24 Joseph Myers <joseph@codesourcery.com>
14500
14501 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14502 Expect macro.
14503 [POSIX] (pthread_attr_t): Do not require type.
14504 [POSIX] (pthread_cond_t): Likewise.
14505 [POSIX] (pthread_condattr_t): Likewise.
14506 [POSIX] (pthread_key_t): Likewise.
14507 [POSIX] (pthread_mutex_t): Likewise.
14508 [POSIX] (pthread_mutexattr_t): Likewise.
14509 [POSIX] (pthread_once_t): Likewise.
14510 [POSIX] (pthread_t): Likewise.
14511 [POSIX-based standards] (pthread_atfork): Expect function.
14512
6055173a
JM
145132013-09-24 Joseph Myers <joseph@codesourcery.com>
14514 Richard Sandiford <richard@codesourcery.com>
14515
14516 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14517 (swap_endianness_p): New extern variable.
14518 (set_big_endian): New inline function.
14519 (maybe_swap_uint32): Likewise.
14520 (maybe_swap_uint32_array): Likewise.
14521 (maybe_swap_uint32_obstack): Likewise.
14522 * locale/programs/locfile.c: Include <stdbool.h>.
14523 (swap_endianness_p): New variable.
14524 (add_locale_uint32): Call maybe_swap_uint32.
14525 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14526 (write_locale_data): Call maybe_swap_uint32_array.
14527 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14528 maybe_swap_uint32.
14529 (obstack_int32_grow_fast): Likewise.
14530 (output_weightwc): Call maybe_swap_uint32_obstack.
14531 (collate_output): Likewise.
14532 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14533 (OPT_LITTLE_ENDIAN): Likewise.
14534 (options): Add --little-endian and --big-endian options.
14535 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14536 * locale/programs/locarchive.c: Include "locfile.h".
14537 (GET): New macro.
14538 (SET): Likewise.
14539 (INC): Likewise.
14540 (create_archive): Use the new macros to access fields of
14541 structures directly mapped from or written to locale archives.
14542 (oldlocrecentcmp): Likewise.
14543 (enlarge_archive): Likewise.
14544 (insert_name): Likewise.
14545 (add_alias): Likewise.
14546 (add_locale): Likewise.
14547 (delete_locales_from_archive): Likewise.
14548 (show_archive_content): Likewise.
14549 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14550 locale data.
14551
39bf0bb4
RM
145522013-09-24 Roland McGrath <roland@hack.frob.com>
14553
14554 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14555 http://www.gnu.org/doc/freemanuals.texi.
14556 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14557
f02eed10
WN
145582013-09-24 Will Newton <will.newton@linaro.org>
14559
14560 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14561 macro.
14562
a3a6c312
JM
145632013-09-23 Joseph Myers <joseph@codesourcery.com>
14564
14565 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14566 unsigned char.
14567
107375ac
MR
145682013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14569
14570 * manual/threads.texi (POSIX Threads): Fix a typo.
14571
141f3a77
SP
145722013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14573
303e567a
SP
14574 [BZ #14547]
14575 * string/tst-strcoll-overflow.c: New test case.
14576 * string/Makefile (xtests): Add tst-strcoll-overflow.
14577 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14578 cache if string sizes may cause integer overflow.
14579
141f3a77
SP
14580 [BZ #14547]
14581 * string/strcoll_l.c (coll_seq): New members rule, idx,
14582 save_idx and back_us.
14583 (get_next_seq_nocache): New function.
14584 (do_compare_nocache): New function.
14585 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14586 when malloc fails.
14587
c61b4d41
CD
145882013-09-23 Carlos O'Donell <carlos@redhat.com>
14589
0b1f8e35
CD
14590 [BZ #15754]
14591 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14592 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14593 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14594
c61b4d41
CD
14595 [BZ #15754]
14596 * elf/Makefile (tests): Add tst-ptrguard1.
14597 (tests-static): Add tst-ptrguard1-static.
14598 (tst-ptrguard1-ARGS): Define.
14599 (tst-ptrguard1-static-ARGS): Define.
14600 * elf/tst-ptrguard1.c: New file.
14601 * elf/tst-ptrguard1-static.c: New file.
14602 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14603 * sysdeps/i386/stackguard-macros.h: Likewise.
14604 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14605 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14606 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14607 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14608 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14609 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14610
146112013-09-23 Hector Marco <hecmargi@upv.es>
14612 Ismael Ripoll <iripoll@disca.upv.es>
14613 Carlos O'Donell <carlos@redhat.com>
14614
14615 [BZ #15754]
14616 * sysdeps/generic/stackguard-macros.h: Define
14617 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14618 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14619 Define __pointer_chk_guard_local.
14620 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14621 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14622
f5f4e7b4
VV
146232013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14624
14625 [BZ #15859]
14626 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14627
5bb43a43
AS
146282013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14629
14630 * include/string.h (__ffs): Declare as hidden.
14631 * string/ffs.c (__ffs): Define as hidden.
14632 * sysdeps/i386/ffs.c (__ffs): Likewise.
14633 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14634 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14635 * sysdeps/s390/ffs.c (__ffs): Likewise.
14636 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14637
3ea5be54
AO
146382013-09-20 Alexandre Oliva <aoliva@redhat.com>
14639
ffb89e53
AO
14640 * NEWS: Mention malloc probes.
14641
322dea08
AO
14642 * malloc/arena.c (new_heap): New memory_heap_new probe.
14643 (grow_heap): New memory_heap_more probe.
14644 (shrink_heap): New memory_heap_less probe.
14645 (heap_trim): New memory_heap_free probe.
14646 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14647 (systrim): New memory_sbrk_less probe.
14648 * manual/probes.texi: Document them.
14649
655673f3
AO
14650 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14651 * manual/probes.texi: Document it.
14652
35fed6f1
AO
14653 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14654 (__libc_realloc): Add memory_realloc_retry probe.
14655 (__libc_memalign): Add memory_memalign_retry probe.
14656 (__libc_valloc): Add memory_valloc_retry probe.
14657 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14658 (__libc_calloc): Add memory_calloc_retry probe.
14659 * manual/probes.texi: Document them.
14660
6999d38c
AO
14661 * malloc/arena.c (get_free_list): Add probe
14662 memory_arena_reuse_free_list.
14663 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14664 and memory_arena_reuse.
14665 (arena_get2) [!PER_THREAD]: Likewise.
14666 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14667 memory_arena_reuse_realloc.
14668 * manual/probes.texi: Document them.
14669
0653427f
AO
14670 * malloc/malloc.c (__libc_free): Add
14671 memory_mallopt_free_dyn_thresholds probe.
14672 (__libc_mallopt): Add multiple memory_mallopt probes.
14673 * manual/probes.texi: Document them.
14674
3ea5be54
AO
14675 * malloc/malloc.c: Include stap-probe.h.
14676 (__libc_mallopt): Add memory_mallopt probe.
14677 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14678 * manual/probes.texi: New.
14679 * manual/Makefile (chapters): Add probes.
14680 * manual/threads.texi: Set next node.
14681
e35696c3 146822013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 14683
e35696c3
CL
14684 [BZ #15963, #13985]
14685 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14686 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14687 Add `Chinese' to `nan' entry name.
14688
4aafb73c
SP
146892013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14690
14691 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14692 (POLYNOMIAL): Likewise.
14693 (TAYLOR_SINCOS): Likewise.
14694 (TAYLOR_SLOW): Likewise.
14695 (__sin): Use TAYLOR_SINCOS.
14696 (__cos): Likewise.
14697 (slow): Use TAYLOR_SLOW.
14698 (sloww): Likewise.
14699 (bsloww): Likewise.
14700 (csloww): Likewise.
14701
d84f25c7
LD
147022013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14703
14704 * stdlib/strtod_l.c: Fix buffer overrun.
14705
5eea0404
SP
147062013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14707
7849ff93
SP
14708 * benchtests/Makefile (bench): Add sincos.
14709 * benchtests/bench-sincos.c: New file.
14710
cfa3c886
SP
14711 * math/libm-test.inc (cos_test_data): New test inputs.
14712 (sin_test_data): Likewise.
14713
b348e1e3
SP
14714 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14715 macro.
14716 (__sin): Use it.
14717 (__cos): Likewise.
14718 (slow1): Likewise.
14719 (slow2): Likewise.
14720 (sloww1): Likewise.
14721 (sloww2): Likewise.
14722 (bsloww1): Likewise.
14723 (bsloww2): Likewise.
14724 (cslow2): Likewise.
14725 (csloww1): Likewise.
14726 (csloww2): Likewise.
14727
6cce25f8
SP
14728 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14729 function.
14730 (__sin): Use it.
14731 (__cos): Likewise.
14732
5eea0404
SP
14733 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14734 gotos.
14735 (__cos): Likewise.
14736
9c21573c
MR
147372013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14738
14739 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14740 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14741 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14742 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14743 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14744 * elf/cache.c (print_entry): Handle the new cache flags.
14745
24d22e65
JM
147462013-09-18 Joseph Myers <joseph@codesourcery.com>
14747 Aldy Hernandez <aldyh@redhat.com>
14748
14749 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14750 Change condition to [_SOFT_FLOAT].
14751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14763 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14766 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14767 declaration.
14768
d13ef066
JM
147692013-09-18 Joseph Myers <joseph@codesourcery.com>
14770
2e071de0
JM
14771 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14772 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14773 (__longjmp): Use LOAD_GP to load saved GPRs.
14774 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14775 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14776 (__sigsetjmp): Use SAVE_GP to save GPRs.
14777
d13ef066
JM
14778 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14779 Do not append -msoft-float.
14780 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14781
97a0650b
SP
147822013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14783
14784 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14785
11ca09e9
JM
147862013-09-17 Joseph Myers <joseph@codesourcery.com>
14787
14788 [BZ #15966]
14789 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14790 (_FPU_GETCW): Use initial "__" on variable and field names but not
14791 on macro parameter name.
14792 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14793 parentheses around reference to macro parameter.
14794
08ffcf34
RS
147952013-09-13 Richard Sandiford <richard@codesourcery.com>
14796
14797 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14798 prototype.
14799 (ctype_startup): Use uint32_t in cast and sizeof for
14800 ctype->charnames.
14801
ae7080d3
JL
148022013-09-11 Jia Liu <proljc@gmail.com>
14803
14804 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14805 __daddr_t_defined.
14806 [__FreeBSD__]: Likewise.
14807
5905e7b3
OB
148082013-09-11 Ondřej Bílka <neleai@seznam.cz>
14809
14810 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14811 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14812 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14813 (strchr): Remove __strchr_sse42 ifunc selection.
14814 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14815 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14816
b987c776
WN
148172013-09-11 Will Newton <will.newton@linaro.org>
14818
14819 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14820 parameter to RES. Remove hardcoded 1000 value.
14821 * benchtests/bench-skeleton.c (main): Pass RES parameter
14822 to TIMING_INIT and multiply result by 1000.
14823
ddf985af
AZ
148242013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14825
14826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14827
ffdd3181
AS
148282013-09-11 Andreas Schwab <schwab@suse.de>
14829
14830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14831 if not defined.
14832 (O_TMPFILE) [__USE_GNU]: Define.
14833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14834 Define.
14835
b73ed247
WN
148362013-09-11 Will Newton <will.newton@linaro.org>
14837
14838 [BZ #15857]
14839 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14840 does not overflow.
14841
55e17aad
WN
148422013-09-11 Will Newton <will.newton@linaro.org>
14843
14844 [BZ #15856]
14845 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14846 does not overflow.
14847
1159a193
WN
148482013-09-11 Will Newton <will.newton@linaro.org>
14849
14850 [BZ #15855]
14851 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14852 does not overflow.
14853
5905e7b3 148542013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
14855
14856 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14857 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14858 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14859 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14860 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14861
cdfc721b
AM
148622013-09-10 Allan McRae <allan@archlinux.org>
14863
aa04af00
AM
14864 [BZ #15748]
14865 * manual/arith.texi (Parsing of Floats): Clarify
14866 cross-reference.
14867
cdfc721b
AM
14868 [BZ #15849]
14869 * manual/install.texi (Running make install): Mention
14870 --enable-pt-chown.
14871 * INSTALL: Regenerated.
14872
95e7cf29
MR
148732013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14874
14875 * csu/init-first.c (_init): Remove the !SHARED condition around
14876 FPU control word initialization.
14877 * elf/dl-support.c (_dl_fpu_control): New variable.
14878 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14879 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14880 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14881 * math/test-fpucw-static.c: New file.
14882 * math/test-fpucw-ieee.c: New file.
14883 * math/test-fpucw-ieee-static.c: New file.
14884 * math/Makefile (tests): Add `test-fpucw-ieee' and
14885 `$(tests-static)'.
14886 (tests-static): New variable.
14887 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14888 dependency to...
14889 [($(build-shared),yes)]
14890 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14891 ... this.
14892 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14893 New dependency.
14894
83e43bf0
AM
148952013-09-09 Allan McRae <allan@archlinux.org>
14896
a9f5ce09
AM
14897 [BZ #15939]
14898 * manual/string.texi (Collation Functions): Fix typo in
14899 strcoll example.
14900 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14901
34829bc2
AM
14902 [BZ #15893]
14903 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14904
3932737d
AM
14905 [BZ #15892]
14906 * libio/memstream.c (open_memstream): Fix memory leak.
14907 * libio/wmemstream.c (open_wmemstream): Likewise.
14908
83e43bf0
AM
14909 [BZ #15895]
14910 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14911
0c66b8e9
WN
149122013-09-09 Will Newton <will.newton@linaro.org>
14913
14914 * malloc/Makefile: Add tst-realloc to tests.
14915 * malloc/tst-realloc.c: New file.
14916
f6b00fd1
AM
149172013-09-09 Allan McRae <allan@archlinux.org>
14918
14919 [BZ #15844]
14920 * COPYING: Update from GNU website to fix FSF address.
14921 * COPYING.LIB: Likewise.
14922
eec55e16
DM
149232013-09-06 David S. Miller <davem@davemloft.net>
14924
14925 * po/zh_TW.po: Update Chinese (traditional) translation from
14926 translation project.
14927
1ecbb381
RS
149282013-09-06 Richard Sandiford <richard@codesourcery.com>
14929 Joseph Myers <joseph@codesourcery.com>
14930
14931 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14932 "localeinfo.h".
14933 (obstack_chunk_alloc): New macro.
14934 (obstack_chunk_free): Likewise.
14935 (record_offset): New function.
14936 (init_locale_data): Likewise.
14937 (align_locale_data): Likewise.
14938 (add_locale_empty): Likewise.
14939 (add_locale_raw_data): Likewise.
14940 (add_locale_raw_obstack): Likewise.
14941 (add_locale_string): Likewise.
14942 (add_locale_wstring): Likewise.
14943 (add_locale_uint32): Likewise.
14944 (add_locale_uint32_array): Likewise.
14945 (add_locale_char): Likewise.
14946 (start_locale_structure): Likewise.
14947 (end_locale_structure): Likewise.
14948 (start_locale_prelude): Likewise.
14949 (end_locale_prelude): Likewise.
14950 (write_locale_data): Take locale_file structure rather than an
14951 iovec.
14952 * locale/programs/locfile.h: Include "obstack.h".
14953 (struct locale_file): Change to store locale file contents instead
14954 of header.
14955 (init_locale_data): New prototype.
14956 (align_locale_data): Likewise.
14957 (add_locale_empty): Likewise.
14958 (add_locale_raw_data): Likewise.
14959 (add_locale_raw_obstack): Likewise.
14960 (add_locale_string): Likewise.
14961 (add_locale_wstring): Likewise.
14962 (add_locale_uint32): Likewise.
14963 (add_locale_uint32_array): Likewise.
14964 (add_locale_char): Likewise.
14965 (start_locale_structure): Likewise.
14966 (end_locale_structure): Likewise.
14967 (start_locale_prelude): Likewise.
14968 (end_locale_prelude): Likewise.
14969 (write_locale_data): Update prototype.
14970 * locale/programs/3level.h (struct TABLE): Remove result field.
14971 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14972 Use new locale_file interface.
14973 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14974 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14975 * locale/programs/ld-address.c (address_output): Use new
14976 locale_file interface.
14977 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14978 NO_ADD_LOCALE.
14979 (collate_finish): Don't call collseq_table_finalize.
14980 (collate_output): Use new locale_file interface.
14981 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14982 in file.
14983 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14984 (TABLE): Move defines earlier in file.
14985 (ELEMENT): Likewise.
14986 (DEFAULT): Likewise.
14987 (wctrans_table_add): Move macro and inline function earlier in
14988 file.
14989 (struct wctype_table): Move type earlier in file.
14990 (add_locale_wctype_table): New static prototype.
14991 (struct locale_ctype_t): Use logical types instead of struct iovec
14992 pointers for members.
14993 (ctype_output): Use new locale_file interface.
14994 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14995 new locale_file interface.
14996 (allocate_arrays): Update for use of new locale_file interface.
14997 * locale/programs/ld-identification.c (identification_output): Use
14998 new locale_file interface.
14999 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15000 * locale/programs/ld-messages.c (messages_output): Likewise.
15001 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15002 * locale/programs/ld-name.c (name_output): Likewise.
15003 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15004 * locale/programs/ld-paper.c (paper_output): Likewise.
15005 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15006 * locale/programs/ld-time.c (time_output): Likewise.
15007
e029e2e5
AZ
150082013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15009
15010 * benchtests/Makefile: Add memrchr benchmark.
15011 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15012 benchmark as memrchr.
15013 * benchtests/bench-memrchr-ifunc.c: New file.
15014 * benchtests/bench-memrchr.c: New file.
15015
bbf6e8e4
WN
150162013-09-06 Will Newton <will.newton@linaro.org>
15017
15018 * benchtests/Makefile (string-bench): Add memcpy.
15019
6c82a2f8
CD
150202013-09-05 Carlos O'Donell <carlos@redhat.com>
15021 Cong Wang <amwang@redhat.com>
15022
e732c5f0 15023 [BZ #15850]
6c82a2f8
CD
15024 * sysdeps/unix/sysv/linux/bits/in.h
15025 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15026 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15027 before __USE_KERNEL_IPV6_DEFS uses.
15028 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15029 IPPROTO_BEETPH.
15030 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15031 sockaddr_in6, or ipv6_mreq.
15032
5430fc65
AZ
150332013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15034
15035 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15036 memory access for final bytes in some large inputs.
15037 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15038
4660856c
AZ
150392013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15040
15041 * string/test-memrchr.c: New file.
15042 * string/test-memrchr-ifunc.c: New file.
15043 * string/Makefile: Add new memrchr testcase.
15044
bb8ea713
MF
150452013-09-05 Mike Frysinger <vapier@gentoo.org>
15046
15047 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15048 fanotify_init returns EPERM.
15049
b92a20b5
JM
150502013-09-04 Joseph Myers <joseph@codesourcery.com>
15051
15052 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15053 errors.
15054 (top level): Treat second token from macro or constant entries for
15055 allowed headers as allowed.
15056 * include/complex.h: Condition internal declarations on
15057 [!_ISOMAC].
15058 * include/fenv.h: Condition include of <stdbool.h> and internal
15059 declarations on [!_ISOMAC].
7447ccd9
CL
15060
150612013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15062
3e181dda 15063 [BZ #15923]
7447ccd9
CL
15064 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15065
3f2e46a4
JM
150662013-09-04 Joseph Myers <joseph@codesourcery.com>
15067
15068 * configure.in (--enable-versioning): Remove configure option.
15069 (libc_cv_asm_symver_directive): Remove configure test.
15070 (libc_cv_ld_version_script_option): Likewise.
15071 (VERSIONING): Remove variable and AC_SUBST.
15072 (DO_VERSIONING): Remove AC_DEFINE.
15073 * configure: Regenerated.
15074 * config.h.in (DO_VERSIONING): Remove macro.
15075 * Makerules [$(versioning) = yes]: Change conditionals to
15076 [$(build-shared) = yes].
15077 * config.make.in (versioning): Remove variable.
15078 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15079 [$(build-shared) = yes].
15080 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15081 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15082 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15083 [$(build-shared) = yes].
15084 * extra-lib.mk [$(versioning) = yes]: Likewise.
15085 * hurd/Makefile [$(versioning) = yes]: Likewise.
15086 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15087 [SHARED].
15088 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15089 [SHARED].
15090 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15091 [SHARED && !NO_HIDDEN].
15092 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15093 [SHARED].
15094 [SHARED && DO_VERSIONING]: Likewise..
15095 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15096 [$(build-shared) = yes].
15097 * manual/install.texi (--disable-versioning): Remove
15098 documentation.
15099 * INSTALL: Regenerated.
15100 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15101 to [SHARED].
15102 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15103 [$(build-shared) = yes].
15104 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15105 * sysdeps/i386/i686/multiarch/strstr-c.c
15106 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15107 [SHARED && !NO_HIDDEN].
15108 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15109 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15110 * sysdeps/powerpc/powerpc32/dl-machine.c
15111 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15112 * sysdeps/powerpc/powerpc32/sysdep.h
15113 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15114 to [SHARED && PIC && !NO_HIDDEN].
15115 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15116 conditional to [SHARED].
15117
44558701
WN
151182013-09-04 Will Newton <will.newton@linaro.org>
15119
15120 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15121 * benchtests/bench-string.h: Include bench-timing.h instead
15122 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15123 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15124 call to HP_TIMING_DIFF_INIT.
15125 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15126 instead of hp-timing.h macros.
15127 * benchtests/bench-memchr.c: Likewise.
15128 * benchtests/bench-memcmp.c: Likewise.
15129 * benchtests/bench-memcpy.c: Likewise.
15130 * benchtests/bench-memmem.c: Likewise.
15131 * benchtests/bench-memmove.c: Likewise.
15132 * benchtests/bench-memset.c: Likewise.
15133 * benchtests/bench-rawmemchr.c: Likewise.
15134 * benchtests/bench-strcasecmp.c: Likewise.
15135 * benchtests/bench-strcasestr.c: Likewise.
15136 * benchtests/bench-strcat.c: Likewise.
15137 * benchtests/bench-strchr.c: Likewise.
15138 * benchtests/bench-strcmp.c: Likewise.
15139 * benchtests/bench-strcpy.c: Likewise.
15140 * benchtests/bench-strcpy_chk.c: Likewise.
15141 * benchtests/bench-strlen.c: Likewise.
15142 * benchtests/bench-strncasecmp.c: Likewise.
15143 * benchtests/bench-strncat.c: Likewise.
15144 * benchtests/bench-strncmp.c: Likewise.
15145 * benchtests/bench-strncpy.c: Likewise.
15146 * benchtests/bench-strnlen.c: Likewise.
15147 * benchtests/bench-strpbrk.c: Likewise.
15148 * benchtests/bench-strrchr.c: Likewise.
15149 * benchtests/bench-strspn.c: Likewise.
15150 * benchtests/bench-strstr.c: Likewise.
15151
cae16d66
WN
151522013-09-04 Will Newton <will.newton@linaro.org>
15153
15154 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15155
ffa3cd7f
JM
151562013-09-03 Joseph Myers <joseph@codesourcery.com>
15157
15158 [BZ #15427]
15159 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15160 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15161 * math/libm-test.inc (lgamma_test_data): Add more tests.
15162 * sysdeps/i386/fpu/libm-test-ulps: Update.
15163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15164
8f02859f
OB
151652013-09-03 Ondřej Bílka <neleai@seznam.cz>
15166
15167 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15168 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15169 Add ifunc.
15170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15171 Add strcmp-sse2-unaligned
15172 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15173
18d43716
MF
151742013-09-02 Mike Frysinger <vapier@gentoo.org>
15175
15176 * Versions.def (libc): Add GLIBC_2.19.
15177
ac444012
MF
151782013-09-02 Mike Frysinger <vapier@gentoo.org>
15179
15180 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15181 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15182
b7835e32
JM
151832013-09-02 Joseph Myers <joseph@codesourcery.com>
15184
15185 [BZ #14155]
15186 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15187 intermediate calculations in recurrence.
15188 (__ieee754_ynf): Likewise.
15189 * math/libm-test.inc (jn_test_data): Do not allow spurious
15190 underflow exception. Add more tests.
15191 (yn_test_data): Add more tests.
15192 * sysdeps/i386/fpu/libm-test-ulps: Update.
15193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15194
8220f4f0
OB
151952013-09-02 Ondřej Bílka <neleai@seznam.cz>
15196
15197 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15198
f24a6d08
OB
151992013-08-30 Ondřej Bílka <neleai@seznam.cz>
15200
15201 * csu/init-first.c: Fix then/than typos.
15202 * locale/programs/ld-collate.c: Likewise.
15203 * locale/programs/linereader.h: Likewise.
15204 * manual/charset.texi: Likewise.
15205 * manual/filesys.texi: Likewise.
15206 * manual/stdio.texi: Likewise.
15207 * manual/string.texi: Likewise.
15208 * stdlib/fmtmsg.c: Likewise.
15209 * sysdeps/i386/stpncpy.S: Likewise.
15210 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15211 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15212 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15213 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15214
382466e0
OB
152152013-08-30 Ondřej Bílka <neleai@seznam.cz>
15216
15217 * elf/dl-open.c: Fix typos.
15218 * iconvdata/gbbig5.c: Likewise.
15219 * iconvdata/iso-2022-jp.c: Likewise.
15220 * iconv/gconv_int.h: Likewise.
15221 * iconv/loop.c: Likewise.
15222 * nis/rpcsvc/nis.h: Likewise.
15223 * resolv/ns_name.c: Likewise.
15224 * stdio-common/vfscanf.c: Likewise.
15225 * streams/stropts.h: Likewise.
15226 * sunrpc/rpc_thread.c: Likewise.
15227 * sysdeps/i386/strpbrk.S: Likewise.
15228 * sysdeps/ieee754/k_standard.c: Likewise.
15229 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15230 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15231 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15232 * sysdeps/mach/hurd/profil.c: Likewise.
15233 * sysdeps/s390/dl-procinfo.h: Likewise.
15234 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15235 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15236 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15237 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15238 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15239
0186c6e9
OB
152402013-08-30 Ondřej Bílka <neleai@seznam.cz>
15241
15242 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15243 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15244
d4e16af1
OB
152452013-08-29 Ondřej Bílka <neleai@seznam.cz>
15246
15247 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15248 aix specific files.
15249 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15250 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15251 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15252 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15253 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15254 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15255 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15256 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15257
88335980
TS
152582013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15259 Roland McGrath <roland@hack.frob.com>
15260
15261 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15262 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15263
ed479b02
ST
152642013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15265
15266 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15267 __executable_start symbol instead of _start.
15268
f1cc4c86
TS
152692013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15270
d821f07c
TS
15271 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15272 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15273 Move macros to...
15274 * sysdeps/gnu/ldsodefs.h: ... this new file.
15275
c54290cf
TS
15276 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15277 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15278 instead of ELFOSABI_LINUX.
15279
0007fc9b 15280 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
15281 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15282 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15283 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15284 Likewise.
15285 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15286 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15287 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15288 Likewise.
15289 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15290 (ibm_extended_long_double): Add ieee_nan member.
15291 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15292 (do_test): New function.
15293
f1cc4c86
TS
15294 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15295 TEST_TRUNC.
15296 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15297 functions, renamed from truncdfsf_test, trunctfsf_test,
15298 trunctfdf_test.
15299 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15300 functions.
15301 (do_test): Run all these.
15302
6f65e668
OB
153032013-08-29 Ondřej Bílka <neleai@seznam.cz>
15304
15305 * argp/argp-help.c: Fix typos.
15306 * argp/argp-parse.c: Likewise.
15307 * debug/backtracesyms.c: Likewise.
15308 * elf/elf.h: Likewise.
15309 * malloc/malloc.c: Likewise.
15310 * nis/nis_print.c: Likewise.
15311 * resolv/res_comp.c: Likewise.
15312 * stdlib/stdlib.h: Likewise.
15313 * sunrpc/clnt_tcp.c: Likewise.
15314 * sunrpc/clnt_udp.c: Likewise.
15315 * sunrpc/clnt_unix.c: Likewise.
15316 * sysdeps/unix/bsd/ptsname.c: Likewise.
15317 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15318 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
15319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15320 Likewise.
15321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15322 Likewise.
15323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15324 Likewise.
6f65e668
OB
15325 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15326
3a309239
SP
153272013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15328
15329 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15331
3b813b29
MF
153322013-08-27 Mike Frysinger <vapier@gentoo.org>
15333
15334 [BZ #15897]
15335 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15336 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15337 ($(objpfx)bug-dl-leaf): New rule.
15338 ($(objpfx)bug-dl-leaf.so): Likewise.
15339 ($(objpfx)bug-dl-leaf.out): Likewise.
15340 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15341 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15342 * dlfcn/bug-dl-leaf.c: New test.
15343 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15344 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15345 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15346 (dlclose): Likewise.
15347 (dlmopen): Likewise.
15348
8cc3269f
RM
153492013-08-27 Roland McGrath <roland@hack.frob.com>
15350
7f9d0034
RM
15351 * include/netdb.h [!_ISOMAC]:
15352 Don't include <tls.h>.
15353 (h_errno, __libc_h_errno): Move declaration and macros out of
15354 [_LIBC_REENTRANT].
15355
fb431262
RM
15356 * include/resolv.h [_RESOLV_H_]:
15357 Don't include <tls.h>.
15358 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15359 * resolv/res_libc.c: Don't include <tls.h>.
15360 (_res): Use __attribute__ ((nocommon)) in place of
15361 __attribute__ ((section (".bss"))).
15362
bd81123a
RM
15363 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15364 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15365
c4e42566
RM
15366 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15367
f890a59b
RM
15368 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15369 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15370
15371 * resolv/res_mkquery.c: Include <sys/time.h>.
15372
5d1f0a09
RM
15373 * inet/ifreq.c: Moved to ...
15374 * sysdeps/unix/ifreq.c: ... here.
15375 * inet/ifreq.c: New file, true stub version.
15376
6fcf28b3
RM
15377 * socket/sa_len.c: New file.
15378 * socket/Makefile (aux): Add it.
15379 * sysdeps/unix/sysv/linux/Makefile
15380 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15381 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15382 and #include <socket/sa_len.c>.
15383 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15384 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15385
e041fb8b
RM
15386 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15387 * bits/socket.h: ... here.
15388
8cc3269f
RM
15389 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15390 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15391 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15392
5d228a43
AS
153932013-08-27 Andreas Schwab <schwab@suse.de>
15394
45b8accc
AS
15395 [BZ #15736]
15396 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15397 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15398 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15399 * string/test-strcasecmp.c (test_main): Run tests in several
15400 locales.
15401 * string/test-strncasecmp.c (test_main): Likewise.
15402
5d228a43
AS
15403 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15404 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15405 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15407 (__strncasecmp_ssse3) [PIC]: Likewise.
15408
59d112a4
RM
154092013-08-26 Roland McGrath <roland@hack.frob.com>
15410
53234cc3
RM
15411 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15412
59d112a4
RM
15413 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15414 instead of explicitly declaring xdecrypt.
15415 * nis/nss_nis/nis-publickey.c: Likewise.
15416
595aba70
SP
154172013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15418
15419 [BZ #15890]
15420 * nscd/aicache.c: Include res_hconf.h.
15421 (addhstaiX): Initialize res_hconf.
15422
ffabd393
AS
154232013-08-26 Andreas Schwab <schwab@suse.de>
15424
15425 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15426 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15427
e0a69f5c
SP
154282013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15429
15430 * nscd/aicache.c (addhstaiX): Fix indentation.
15431
8c12f01d
MF
154322013-08-25 Mike Frysinger <vapier@gentoo.org>
15433
15434 * configure.ac: Quote $build_pt_chown test.
15435 * configure: Regenerated.
15436
8fe89494
JM
154372013-08-23 Joseph Myers <joseph@codesourcery.com>
15438
15439 [BZ #15532]
15440 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15441 * math/s_cexpf.c (__cexpf): Likewise.
15442 * math/s_cexpl.c (__cexpl): Likewise.
15443 * math/libm-test.inc (cexp_test_data): Correct expected return
15444 value for NaN + i0. Add another test.
15445
75b181d6
DM
154462013-08-22 David S. Miller <davem@davemloft.net>
15447
15448 * po/ca.po: Update Catalan translation from translation project.
936241e4 15449 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 15450
acd06bb1
JM
154512013-08-21 Joseph Myers <joseph@codesourcery.com>
15452
15453 [BZ #15797]
15454 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15455 is infinite, not alongside NaN test.
15456 * math/s_fdimf.c (__fdimf): Likewise.
15457 * math/s_fdiml.c (__fdiml): Likewise.
15458 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15459 errno is unchanged.
15460
c0c3f78a
OB
154612013-08-21 Ondřej Bílka <neleai@seznam.cz>
15462
15463 * argp/argp-help.c: Fix typos.
15464 * crypt/speeds.c: Likewise.
15465 * csu/check_fds.c: Likewise.
15466 * elf/dl-load.c: Likewise.
15467 * elf/dl-open.c: Likewise.
15468 * elf/reldep3.c: Likewise.
15469 * elf/reldep.c: Likewise.
15470 * elf/sprof.c: Likewise.
15471 * iconv/iconv_charmap.c: Likewise.
15472 * iconv/skeleton.c: Likewise.
15473 * iconv/strtab.c: Likewise.
15474 * io/lockf64.c: Likewise.
15475 * libio/libioP.h: Likewise.
15476 * resolv/gai_notify.c: Likewise.
15477 * resolv/ns_name.c: Likewise.
15478 * resolv/ns_samedomain.c: Likewise.
15479 * resolv/res_send.c: Likewise.
15480 * stdlib/random.c: Likewise.
15481 * sunrpc/rpc/xdr.h: Likewise.
15482 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15483 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15484 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15485 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15486 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15487 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15488 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15489 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15490 * sysdeps/mach/hurd/check_fds.c: Likewise.
15491 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15492 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15493 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15494 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15495 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15496 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15497 * sysdeps/pthread/aio_notify.c: Likewise.
15498 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15499 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15500 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15501 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15502 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15503
46ed1038
LD
155042013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15505
15506 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15507 version if bit_Slow_SSE4_2 is set.
15508 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15509 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15510
d400dcac
AZ
155112013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15512
15513 [BZ #15867]
15514 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15515 trampoline stack frame information.
15516 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15517 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15518 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15519 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15520 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15521 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15522 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15523 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15524 sa_flags value.
15525 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15526 interrupting a syscall and set with option SA_SIGINFO.
15527
42c8fdd8
JM
155282013-08-20 Joseph Myers <joseph@codesourcery.com>
15529
c980f2f4
JM
15530 [BZ #15531]
15531 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15532 argument is infinite.
15533 * math/s_cprojf.c (__cprojf): Likewise.
15534 * math/s_cprojl.c (__cprojl): Likewise.
15535 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15536 * math/libm-test.inc (cproj_test_data): Add more tests.
15537
0716c4fc
JM
15538 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15539
42c8fdd8
JM
15540 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15541 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15542 size. Use __ffs to determine corresponding shift.
15543
b31469d0
JM
155442013-08-20 Joseph Myers <joseph@codesourcery.com>
15545 Roland McGrath <roland@hack.frob.com>
15546
15547 * Makefile (INSTALL): Remove trailing blank lines from output of
15548 makeinfo.
15549
4e39af6e
AK
155502013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15551
15552 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15553 Align 32 bit compat elf_greg to 8 bytes.
15554
f315524e
AA
155552013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15556
15557 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15558
1326ba1a
SP
155592013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15560
15561 * string/strcoll_l.c (coll_seq): New structure.
15562 (get_next_seq_cached): New function.
15563 (get_next_seq): New function.
15564 (do_compare): New function.
15565 (STRCOLL): Use GNU style definition. Simplify implementation
15566 by using get_next_seq, get_next_seq_cached and do_compare.
15567
91ce4085
FW
155682013-08-16 Florian Weimer <fweimer@redhat.com>
15569
15570 [BZ #14699]
15571 CVE-2013-4237
15572 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15573 member.
15574 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15575 member.
15576 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15577 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15578 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15579 conditional.
15580 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15581 GETDENTS_64BIT_ALIGNED.
15582 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15583 * manual/filesys.texi (Reading/Closing Directory): Document
15584 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15585 strongly.
15586 * manual/conf.texi (Limits for Files): Add portability note to
15587 NAME_MAX, PATH_MAX.
15588 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15589
ca0a6bc4
AS
155902013-08-13 Andreas Schwab <schwab@suse.de>
15591
15592 [BZ #15749]
15593 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15594 of fabs.
15595 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15596 LDBL_MAX_EXP >= 16384]: Add tests for it.
15597
6c1fd795
DM
155982013-08-12 David S. Miller <davem@davemloft.net>
15599
15600 * version.h (RELEASE): Set to "development".
15601 (VERSION): Set to "2.18.90".
15602 * NEWS: Add 2.19 section.
15603
31ad488d
DM
156042013-08-03 David S. Miller <davem@davemloft.net>
15605
15606 * po/ko.po: Update Korean translation from translation project.
15607
db24e684
DM
156082013-08-01 David S. Miller <davem@davemloft.net>
15609
15610 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15611 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15612 Bilka.
15613
f723285b
DM
156142013-07-30 David S. Miller <davem@davemloft.net>
15615
15616 * po/fr.po: Update French translation from translation project.
15617
3cbc52db
DM
156182013-07-28 David S. Miller <davem@davemloft.net>
15619
30bbc0cc
DM
15620 * po/cs.po: Update Czech translation from translation project.
15621
3cbc52db
DM
15622 * po/sv.po: Update Swedish translation from translation project.
15623
d492e6d0
DM
156242013-07-27 David S. Miller <davem@davemloft.net>
15625
f1a7f492
DM
15626 * po/eo.po: Update Esperanto translation from translation project.
15627
90e62a4a
DM
15628 * po/vi.po: Update Vietnamese translation from translation project.
15629
d492e6d0
DM
15630 * po/de.po: Update German translation from translation project.
15631
d4baa62d
DM
156322013-07-26 David S. Miller <davem@davemloft.net>
15633
641aa7b4
DM
15634 * po/bg.po: Update Bulgarian translation from translation project.
15635
d4baa62d
DM
15636 * po/nl.po: Update Dutch translation from translation project.
15637 * po/pl.po: Update Polish translation from translation project.
15638 * po/ru.po: Update Russian translation from translation project.
15639
61a9dcb9
DM
156402013-07-24 David S. Miller <davem@davemloft.net>
15641
15642 * po/libc.pot: Update.
15643
7b1f8b58
AZ
156442013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15645
15646 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15647 variable page size.
15648 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15649 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15650 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15651
a8fc7a03
AK
156522013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15653
15654 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15655
e4608715
CD
156562013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15657 Andreas Schwab <schwab@suse.de>
15658 Roland McGrath <roland@hack.frob.com>
15659 Joseph Myers <joseph@codesourcery.com>
15660 Carlos O'Donell <carlos@redhat.com>
15661
15662 [BZ #15755]
15663 * config.h.in: Define HAVE_PT_CHOWN.
15664 * config.make.in (build-pt-chown): New variable.
15665 * configure.in (--enable-pt_chown): New configure option.
15666 * configure: Regenerate.
15667 * login/Makefile: Include Makeconfig. Build pt_chown only if
15668 build-pt-chown is enabled.
15669 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15670 pt_chown to fix pty ownership.
15671 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15672 CLOSE_ALL_FDS.
15673 * manual/install.texi (Configuring and compiling): Mention
15674 --enable-pt_chown. Add @findex for grantpt.
15675 * INSTALL: Regenerate.
15676
da2d62df
DM
156772013-07-20 David S. Miller <davem@davemloft.net>
15678
15679 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15680 difference between 32-bit and 64-bit.
15681
d7e06450
CD
156822013-07-15 Carlos O'Donell <carlos@redhat.com>
15683
15684 [BZ #15711]
15685 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15686 Avoid system header dependency with -ffreestanding.
15687 ($(objpfx)bits/syscall%d): Likewise.
15688
f959cfd7
DM
156892013-07-13 David S. Miller <davem@davemloft.net>
15690
15691 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15692 underflows from atanl/atan2l due to bug 15319.
15693 (casinh_test_data): Likewise.
15694
c61f8513
DM
156952013-07-07 David S. Miller <davem@davemloft.net>
15696
15697 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15698
72c90ed0
JA
156992013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15700
15701 * sysdeps/i386/fpu/libm-test-ulps: Update.
15702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15703
52dfbe13
SP
157042013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15705
15706 * configure.in (--enable-lock-elision): Fix message text.
15707 * INSTALL: Regenerate.
15708 * configure: Regenerate.
15709
3f169543
AZ
157102013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15711
15712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15713
521c6785
AJ
157142013-07-03 Andreas Jaeger <aj@suse.de>
15715
15716 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15717 define.
15718 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15719 (ptrace_peeksiginfo_args): Add.
15720 (__ptrace_peeksiginfo_flags): Add.
15721 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15722 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15723 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15724
d2cc15cb
AM
157252013-07-03 Allan McRae <allan@archlinux.org>
15726
15727 * sysdeps/i386/fpu/libm-test-ulps: Update.
15728
3aaeeca7
DM
157292013-07-02 David S. Miller <davem@davemloft.net>
15730
15731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15732
5314ed1a
MT
157332013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15734
15735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15736
67338156
JM
157372013-07-02 Joseph Myers <joseph@codesourcery.com>
15738
15739 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15741
1717da59
AK
157422013-07-02 Andi Kleen <ak@linux.intel.com>
15743
15744 * config.h.in (ENABLE_LOCK_ELISION): Add.
15745 * configure.in (--enable-lock-elision): Add option.
15746 * manual/install.texi: Document --enable lock elision.
15747 * configure: Regenerate
15748 * INSTALL: Regenerate.
15749
1c81621c
L
157502013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15751
15752 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15753 SSE4.2 strcasecmp for libc.a.
15754 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15755
77f01ab5
JM
157562013-07-02 Joseph Myers <joseph@codesourcery.com>
15757
15758 [BZ #13304]
15759 * soft-fp/op-common.h (_FP_FMA): New macro.
15760 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15761 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15762 (_FP_MUL_MEAT_1_imm): ... here.
15763 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15764 (_FP_MUL_MEAT_1_wide): ... here.
15765 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15766 (_FP_MUL_MEAT_1_hard): ... here.
15767 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15768 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15769 (_FP_MUL_MEAT_2_wide): ... here.
15770 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15771 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15772 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15773 (_FP_MUL_MEAT_2_gmp): ... here.
15774 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15775 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15776 (_FP_MUL_MEAT_4_wide): ... here.
15777 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15778 (_FP_MUL_MEAT_4_gmp): ... here.
15779 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15780 (_FP_WFRACBITS_DW_S): Likewise.
15781 (_FP_WFRACXBITS_DW_S): Likewise.
15782 (_FP_HIGHBIT_DW_S): Likewise.
15783 (FP_FMA_S): Likewise.
15784 (_FP_FRAC_HIGH_DW_S): Likewise.
15785 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15786 (_FP_WFRACBITS_DW_D): Likewise.
15787 (_FP_WFRACXBITS_DW_D): Likewise.
15788 (_FP_HIGHBIT_DW_D): Likewise.
15789 (FP_FMA_D): Likewise.
15790 (_FP_FRAC_HIGH_DW_D): Likewise.
15791 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15792 (_FP_WFRACBITS_DW_E): Likewise.
15793 (_FP_WFRACXBITS_DW_E): Likewise.
15794 (_FP_HIGHBIT_DW_E): Likewise.
15795 (FP_FMA_E): Likewise.
15796 (_FP_FRAC_HIGH_DW_E): Likewise.
15797 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15798 (_FP_WFRACBITS_DW_Q): Likewise.
15799 (_FP_WFRACXBITS_DW_Q): Likewise.
15800 (_FP_HIGHBIT_DW_Q): Likewise.
15801 (FP_FMA_Q): Likewise.
15802 (_FP_FRAC_HIGH_DW_Q): Likewise.
15803 * soft-fp/fmasf4.c: New file.
15804 * soft-fp/fmadf4.c: Likewise.
15805 * soft-fp/fmatf4.c: Likewise.
15806
6308fd9a
LD
158072013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15808
15809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15810 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15811 Silvermont.
15812 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15813 macro.
15814 (index_Slow_SSE4_2): Likewise.
15815 (index_Prefer_PMINUB_for_stringop): Likewise.
15816 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15817 bit_Slow_SSE4_2 is set.
15818 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15819 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15820
89cd9569
RA
158212013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15822
15823 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15824 rtld_global._dl_hwcap2.
15825 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15826 POWER8.
15827 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15828 POWER8 feature descriptions defined in _dl_hwcap2.
15829 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15830 string handling for POWER8 feature bits.
15831 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15832 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15833 _dl_powerpc_cap_flags.
15834 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15835 * sysdeps/powerpc/rtld-global-offsets.sym
15836 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15837 _dl_hwcap2 in the rtld_global_ro structure.
15838
1ae8bfe0
RA
158392013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15840
15841 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15842 hardware capabilities in support of AT_HWCAP2.
15843 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15844 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15845 GLRO(dl_hwcap2).
15846 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15847 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15848 explicitly the unknown a_type display mechanism is used.
15849 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15850 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15851 struct member.
15852 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15853 to macro prototype for AT_HWCAP2 support.
15854 * sysdeps/i386/dl-procinfo.h: Likewise.
15855 * sysdeps/s390/dl-procinfo.h: Likewise.
15856 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15857 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15858 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15859 return -1 for unknown a_type display fallback.
15860 * sysdeps/sparc/dl-procinfo.h: Likewise.
15861 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15862 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15863
8fbec010
JM
158642013-06-28 Joseph Myers <joseph@codesourcery.com>
15865
15866 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15867 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15868
0432680e
PY
158692013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15870
15871 [BZ #12492]
15872 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15873 mprotect making __stack_prot writable.
15874
ce61a2ad
NF
158752013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15876 Joseph Myers <joseph@codesourcery.com>
15877
15878 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15879 as being properly aligned.
15880
f91f1c0f
MR
158812013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15882
3d0f5d0c
MR
15883 * dlfcn/modstatic5.c: New file.
15884 * dlfcn/tststatic5.c: New file.
15885 * dlfcn/Makefile (tests): Add tststatic5.
15886 (tests-static): Likewise.
15887 (modules-names): Add modstatic5.
15888 (tststatic5-ENV): New variable.
15889 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15890
f91f1c0f
MR
15891 [BZ #15022]
15892 * elf/dl-support.c (_dl_main_map): New variable.
15893 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15894 (_dl_nns, _dl_load_adds): Set to 1.
15895 (_dl_initial_searchlist): Refer to _dl_main_map.
15896 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15897 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15898 call to _dl_get_origin.
15899 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15900 around call_map.
15901 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15902 * dlfcn/modstatic3.c: New file.
15903 * dlfcn/tststatic3.c: New file.
15904 * dlfcn/tststatic4.c: New file.
15905 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15906 (tests-static): Likewise.
15907 (modules-names): Add modstatic3.
15908 (tststatic3-ENV, tststatic4-ENV): New variables.
15909 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15910 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15911
cbe7d24b
JM
159122013-06-26 Joseph Myers <joseph@codesourcery.com>
15913
15914 * configure.in (CC): Require GCC version 4.4 or later.
15915 * configure: Regenerated.
15916 * manual/install.texi (Tools for Compilation): Update GCC version
15917 requirement.
15918 * INSTALL: Regenerated.
15919
11b8a0e1
LD
159202013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15921
15922 [BZ #15674]
bb5bb87c
L
15923 * string/test-memcmp.c (check2): New.
15924 (main): Call check2.
15925
11b8a0e1
LD
15926 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15927
b0037103
MR
159282013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15929
15930 [BZ #15022]
15931 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15932 over to...
15933 (dl_open_worker) [!SHARED]: ... here.
15934
c18c701d
RA
159352013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15936
15937 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15938
1d17fa5f
RH
159392013-06-25 Richard Henderson <rth@redhat.com>
15940
15941 * locale/programs/locarchive.c: Include <libc-internal.h>
15942
8fcb833a
JM
159432013-06-25 Joseph Myers <joseph@codesourcery.com>
15944
15945 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15946 trailing whitespace removed.
15947
17db6e8d
MF
159482013-06-24 Mike Frysinger <vapier@gentoo.org>
15949
15950 [BZ #10283]
17db6e8d
MF
15951 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15952 * locale/programs/locarchive.c: Include libc-mmap.h.
15953 (prepare_address_space): Take two new outputs (the mmap base and len).
15954 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15955 values.
15956 (create_archive): Declare new mmap base and len values for
15957 prepare_address_space, and store the result in ah.
15958 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15959 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15960 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15961 Declare new mmap base and len values for
15962 prepare_address_space, and store the result in new_ah.
15963 (open_archive): Declare new mmap base and len values for
15964 prepare_address_space, and store the result in ah.
15965 (close_archive): If ah->mmap_base is not NULL, use that and
15966 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15967 * sysdeps/generic/libc-mmap.h: New file.
15968
d605071e
MF
159692013-06-24 Mike Frysinger <vapier@gentoo.org>
15970
15971 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15972 (ALIGN_UP): Likewise.
15973 (PTR_ALIGN_DOWN): Likewise.
15974 (PTR_ALIGN_UP): Likewise.
15975
2f063a6e
RA
159762013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15977
15978 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15979 entry mapped to PPC_PLATFORM_POWER8.
15980 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15981 POWER8.
15982 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15983 (_dl_string_platform): Add case for exporting platform position for
15984 POWER8.
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15986 search path to sysdeps/powerpc/powerpc32/power8 directory.
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15988 search path to sysdeps/powerpc/powerpc64/power8 directory.
15989 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15990 power7 directories.
15991 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15992 power7 directories.
15993
a31ee4b3
SP
159942013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15995
a74ca98f
SP
15996 * INSTALL: Regenerate.
15997
a31ee4b3
SP
15998 * nscd/connections.c (nscd_init): Fix comment.
15999
695c378f
JM
160002013-06-22 Joseph Myers <joseph@codesourcery.com>
16001
d8412221
JM
16002 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16003
695c378f
JM
16004 [BZ #15667]
16005 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16006 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16007
d1d54715
MR
160082013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16009
16010 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16011 DL_DST_REQ_STATIC.
16012 (DL_DST_REQ_STATIC): Remove macro.
16013
8fdda7af
JM
160142013-06-21 Joseph Myers <joseph@codesourcery.com>
16015
16016 [BZ #7006]
16017 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16018 with a shift of 0 bits.
16019
f3bc5e5a
MR
160202013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16021
16022 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16023 $(tststatic-ENV).
16024
be09e8c9
KK
160252013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16026
16027 [BZ #15655]
16028 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16029
85c2e611
AZ
160302013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16031
16032 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16033 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16034 accepts -fno-tree-loop-distribute-patterns.
16035 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16036 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16037 recursive call.
16038 * string/memset.c (memset): Likewise.
16039 * string/test-memmove.c (simple_memmove): Disable loop transformation
16040 to library calls.
16041 * string/test-memset.c (simple_memset): Likewise.
16042 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16043 * benchtests/bench-memset.c (simple_memset): Likewise.
16044 * configure: Regenerated.
16045
c91e0825
JM
160462013-06-20 Joseph Myers <joseph@codesourcery.com>
16047
b8c792af
JM
16048 * math/test-misc.c (main): Ignore fesetround failure when failures
16049 of subsequent rounding tests would be ignored.
16050
c91e0825
JM
16051 [BZ #15654]
16052 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16053 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16054 * math/fegetenv.c (__fegetenv): Return 0.
16055 * math/fegetexcept.c (fegetexcept): Return 0.
16056 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16057 FE_TONEAREST.
16058 * math/feholdexcpt.c (feholdexcept): Return 0.
16059 * math/fesetenv.c (__fesetenv): Return 0.
16060 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16061 argument FE_TONEAREST.
16062 * math/feupdateenv.c (__feupdateenv): Return 0.
16063 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16064
bfcacbde
RM
160652013-06-18 Roland McGrath <roland@hack.frob.com>
16066
16067 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16068 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16069 ($(objpfx)rtld-%.os rules): Use them.
16070
e55a9b25
AZ
160712013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16072
16073 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16074 fields.
16075
346d65b3
RM
160762013-06-17 Roland McGrath <roland@hack.frob.com>
16077
12086fb4
RM
16078 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16079 length of target pattern, then descending length of dependency pattern.
16080 * configure.in (AWK): Require gawk 3.1.2 or newer.
16081 * manual/install.texi (Tools for Compilation): Say that we do.
16082 * configure: Regenerated.
16083
346d65b3
RM
16084 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16085 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16086 * scripts/sysd-rules.awk: ... this new script.
16087 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16088 than a glob-style pattern.
16089
1a846317
JM
160902013-06-17 Joseph Myers <joseph@codesourcery.com>
16091
16092 * math/test-misc.c (main): Do not treat incorrectly rounded
16093 conversions as failure unless ROUNDING_TESTS passes.
16094
8fc75e6f
JM
160952013-06-15 Joseph Myers <joseph@codesourcery.com>
16096
3711a167
JM
16097 [BZ #15631]
16098 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16099 restore exception state around main square root computation, then
16100 check for inexactness explicitly.
16101
8fc75e6f
JM
16102 * math/libm-test.inc (fma_test_data): Add another test.
16103
61dd6208
SP
161042013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16105
adf23d2c
SP
16106 * manual/threads.texi (Non-POSIX Extensions): New document
16107 node. Document pthread_getattr_default_np and
16108 pthread_setattr_default_np.
16109
61dd6208
SP
16110 * Versions.def (libpthread): Add GLIBC_2.18.
16111 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16113 Likewise.
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16115 Likewise.
16116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16117 Likewise.
16118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16119 Likewise.
16120 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16121 Likewise.
16122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16123 Likewise.
16124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16125 Likewise.
16126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16127 Likewise.
16128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16129 Likewise.
16130
d086fc7b
LD
161312013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16132
16133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16134 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16135
747ef469
SP
161362013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16137 H.J. Lu <hjl.tools@gmail.com>
16138
16139 [BZ #15627]
16140 * sysdeps/x86_64/rtld-memset.c: Remove file.
16141 * sysdeps/x86_64/rtld-memset.S: New file.
16142
1b2feed2
JM
161432013-06-14 Joseph Myers <joseph@codesourcery.com>
16144
16145 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16146 (test_in_one_mode): Take arguments for whether the rounding mode
16147 is supported for each floating-point type.
16148 (do_test): Pass new arguments to test_in_one_mode using
16149 ROUNDING_TESTS.
16150
a58ad3f8
RM
161512013-06-13 Roland McGrath <roland@hack.frob.com>
16152
16153 * posix/tst-waitid.c (do_test): Distinguish different instances of
16154 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16155 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16156 before entering the kernel for waitpid.
16157
c204ab28
SP
161582013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16159
16160 * NEWS: Fix note on clock function precision. Text by Roland
16161 McGrath.
16162
f4a29fba
RM
161632013-06-13 Roland McGrath <roland@hack.frob.com>
16164
16165 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16166 it into place only when and if the sanity check passes.
16167
1f24b9ad
JM
161682013-06-13 Joseph Myers <joseph@codesourcery.com>
16169
16170 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16171 output for whether conversion result is exact. Take argument
16172 indicating whether type is IBM long double.
16173 (round_for_all): Change need_exact field to ibm_ld.
16174 * stdlib/tst-strtod-round.c (struct exactness): New type.
16175 (struct test): Change bool ld_ok field to struct exactness exact.
16176 (TEST): Update all definitions for change to field.
16177 (tests): Regenerate array contents.
16178 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16179 field value. Check for IBM long double here.
16180 (do_test): Update calls to test_in_one_mode.
16181
58206c68
SP
161822013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16183
16184 [BZ #12515]
16185 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16186 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16187
2d6f4c5b 161882013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
16189
16190 [BZ #15605]
16191 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16192 generated by the compiler on loop optimizations.
16193 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16194 general definitions.
16195
94f2c076
JM
161962013-06-12 Joseph Myers <joseph@codesourcery.com>
16197
16198 * math/bug-nextafter.c: Include <math-tests.h>.
16199 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16200 the relevant type.
16201 * math/bug-nexttoward.c: Include <math-tests.h>.
16202 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16203 the relevant type.
16204 * math/test-misc.c: Include <math-tests.h>.
16205 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16206 the relevant type.
16207
e0e50a0a
AJ
162082013-06-12 Andreas Jaeger <aj@suse.de>
16209
16210 * po/ia.po: Update Interlingua translation from translation
16211 project.
16212
25061094
SP
162132013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16214
16215 * include/fenv.h: Include stdbool.h.
16216 (struct rm_ctx): New structure.
16217 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16218 Define macro.
16219 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16220 (SET_RESTORE_ROUNDF): Likewise.
16221 (SET_RESTORE_ROUNDL): Likewise.
16222 (SET_RESTORE_ROUND_NOEX): Likewise.
16223 (SET_RESTORE_ROUND_NOEXF): Likewise.
16224 (SET_RESTORE_ROUND_NOEXL): Likewise.
16225 (SET_RESTORE_ROUND_53BIT): Likewise.
16226 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16227 (libc_feresetround_noexf_ctx): Likewise.
16228 (libc_feresetround_noexl_ctx): Likewise.
16229 (libc_feholdsetround_53bit_ctx): Likewise.
16230 (libc_feresetround_53bit_ctx): Likewise.
16231 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16232 (libc_feholdexcept_setround_sse_ctx): New function.
16233 (libc_fesetenv_sse_ctx): Likewise.
16234 (libc_feupdateenv_sse_ctx): Likewise.
16235 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16236 (libc_feholdexcept_setround_387_ctx): Likewise.
16237 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16238 (libc_feholdsetround_387_prec_ctx): Likewise.
16239 (libc_feholdsetround_387_ctx): Likewise.
16240 (libc_feholdsetround_387_53bit_ctx): Likewise.
16241 (libc_feholdsetround_sse_ctx): Likewise.
16242 (libc_feresetround_sse_ctx): Likewise.
16243 (libc_feresetround_387_ctx): Likewise.
16244 (libc_feupdateenv_387_ctx): Likewise.
16245 (libc_feholdexcept_setroundf_ctx): Define macro.
16246 (libc_fesetenvf_ctx): Likewise.
16247 (libc_feupdateenvf_ctx): Likewise.
16248 (libc_feholdsetroundf_ctx): Likewise.
16249 (libc_feresetroundf_ctx): Likewise.
16250 (libc_feholdexcept_setround_ctx): Likewise.
16251 (libc_fesetenv_ctx): Likewise.
16252 (libc_feupdateenv_ctx): Likewise.
16253 (libc_feholdsetround_ctx): Likewise.
16254 (libc_feresetround_ctx): Likewise.
16255 (libc_feholdexcept_setroundl_ctx): Likewise.
16256 (libc_feupdateenvl_ctx): Likewise.
16257 (libc_feholdsetroundl_ctx): Likewise.
16258 (libc_feresetroundl_ctx): Likewise.
16259 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16260 (libc_feresetround_53bit_ctx): Likewise.
16261
59b30555
SP
162622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16263
16264 * locale/iso-639.def: Convert to UTF-8.
16265
f1d73d30
JM
162662013-06-11 Joseph Myers <joseph@codesourcery.com>
16267
16268 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16269 (EXCEPTION_TESTS_double): Likewise.
16270 (EXCEPTION_TESTS_long_double): Likewise.
16271 (EXCEPTION_TESTS): Likewise.
16272 * math/libm-test.inc (test_exceptions): Only test exceptions if
16273 EXCEPTION_TESTS (FLOAT).
16274
94aca5e7
SP
162752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16276
16277 * benchtests/Makefile (string-bench): Add strcpy_chk and
16278 stpcpy_chk.
16279 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16280 * benchtests/bench-stpcpy_chk.c: New file.
16281 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16282 * benchtests/bench-strcpy_chk.c: New file.
16283 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16284 code.
16285 (do_test): Likewise.
16286
fac0c5f2
RA
162872013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16288
16289 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16290 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16291 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16292 with tabs where appropriate.
16293 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16294 dl-procinfo.h.
16295 [PPC_PLATFORM_PPC440]: Likewise.
16296 [PPC_PLATFORM_PPC464]: Likewise.
16297 [PPC_PLATFORM_PPC476]: Likewise.
16298 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16299 ppc464, and ppc476 platform strings merging from ports/
16300 dl-procinfo.h.
16301
f22bc486
AS
163022013-06-11 Andreas Schwab <schwab@suse.de>
16303
16304 [BZ #14991]
16305 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16306 (from_ucs4_idx): Regenerate.
16307 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16308 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16309 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16310 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16311 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16312 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16313 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16314 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16315 from FROM_LOOP and TO_LOOP specific macros.
16316 (BODY): Handle combining characters.
16317 * iconvdata/BIG5HKSCS.irreversible: Update.
16318 * iconvdata/BIG5HKSCS.precomposed: New file.
16319 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16320 characters.
16321 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16322
c1f75dc3
SP
163232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16324
4eacded2
SP
16325 * include/sys/time.h: Fix indentation and add copyright header.
16326
fec799f8
SP
16327 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16328 (do_test): Likewise.
16329 * string/test-memchr.c (do_one_test): Likewise.
16330 (do_test): Likewise.
16331 * string/test-memcmp.c (do_one_test): Likewise.
16332 (do_test): Likewise.
16333 * string/test-memcpy.c (do_one_test): Likewise.
16334 (do_test): Likewise.
16335 * string/test-memmem.c (do_one_test): Likewise.
16336 (do_test): Likewise.
16337 (do_random_tests): Likewise.
16338 * string/test-memmove.c (do_one_test): Likewise.
16339 (do_test): Likewise.
16340 * string/test-memset.c (do_one_test): Likewise.
16341 (do_test): Likewise.
16342 * string/test-rawmemchr.c (do_one_test): Likewise.
16343 (do_test): Likewise.
16344 * string/test-strcasecmp.c (do_one_test): Likewise.
16345 (do_test): Likewise.
16346 * string/test-strcasestr.c (do_one_test): Likewise.
16347 (do_test): Likewise.
16348 * string/test-strcat.c (do_one_test): Likewise.
16349 (do_test): Likewise.
16350 * string/test-strchr.c (do_one_test): Likewise.
16351 (do_test): Likewise.
16352 * string/test-strcmp.c (do_one_test): Likewise.
16353 (do_test): Likewise.
16354 * string/test-strcpy.c (do_one_test): Likewise.
16355 (do_test): Likewise.
16356 * string/test-string.h: Likewise.
16357 (test_init): Likewise.
16358 * string/test-strlen.c (do_one_test): Likewise.
16359 (do_test): Likewise.
16360 * string/test-strncasecmp.c (do_one_test): Likewise.
16361 (do_test): Likewise.
16362 * string/test-strncat.c (do_one_test): Likewise.
16363 (do_test): Likewise.
16364 * string/test-strncmp.c (do_one_test): Likewise.
16365 (do_test_limit): Likewise.
16366 (do_test): Likewise.
16367 * string/test-strncpy.c (do_one_test): Likewise.
16368 (do_test): Likewise.
16369 * string/test-strnlen.c (do_one_test): Likewise.
16370 (do_test): Likewise.
16371 * string/test-strpbrk.c (do_one_test): Likewise.
16372 (do_test): Likewise.
16373 * string/test-strrchr.c (do_one_test): Likewise.
16374 (do_test): Likewise.
16375 * string/test-strspn.c (do_one_test): Likewise.
16376 (do_test): Likewise.
16377 * string/test-strstr.c (do_one_test): Likewise.
16378 (do_test): Likewise.
16379
97020474
SP
16380 * benchtests/Makefile (string-bench): Add string benchmarks.
16381 * benchtests/bench-bcopy-ifunc.c: New file.
16382 * benchtests/bench-bcopy.c: New file.
16383 * benchtests/bench-bzero-ifunc.c: New file.
16384 * benchtests/bench-bzero.c: New file.
16385 * benchtests/bench-memccpy-ifunc.c: New file.
16386 * benchtests/bench-memccpy.c: New file.
16387 * benchtests/bench-memchr-ifunc.c: New file.
16388 * benchtests/bench-memchr.c: New file.
16389 * benchtests/bench-memcmp-ifunc.c: New file.
16390 * benchtests/bench-memcmp.c: New file.
16391 * benchtests/bench-memmem-ifunc.c: New file.
16392 * benchtests/bench-memmem.c: New file.
16393 * benchtests/bench-memmove-ifunc.c: New file.
16394 * benchtests/bench-memmove.c: New file.
16395 * benchtests/bench-mempcpy-ifunc.c: New file.
16396 * benchtests/bench-mempcpy.c: New file.
16397 * benchtests/bench-memset-ifunc.c: New file.
16398 * benchtests/bench-memset.c: New file.
16399 * benchtests/bench-rawmemchr-ifunc.c: New file.
16400 * benchtests/bench-rawmemchr.c: New file.
16401 * benchtests/bench-stpcpy-ifunc.c: New file.
16402 * benchtests/bench-stpcpy.c: New file.
16403 * benchtests/bench-stpncpy-ifunc.c: New file.
16404 * benchtests/bench-stpncpy.c: New file.
16405 * benchtests/bench-strcasecmp-ifunc.c: New file.
16406 * benchtests/bench-strcasecmp.c: New file.
16407 * benchtests/bench-strcasestr-ifunc.c: New file.
16408 * benchtests/bench-strcasestr.c: New file.
16409 * benchtests/bench-strcat-ifunc.c: New file.
16410 * benchtests/bench-strcat.c: New file.
16411 * benchtests/bench-strchr-ifunc.c: New file.
16412 * benchtests/bench-strchr.c: New file.
16413 * benchtests/bench-strchrnul-ifunc.c: New file.
16414 * benchtests/bench-strchrnul.c: New file.
16415 * benchtests/bench-strcmp-ifunc.c: New file.
16416 * benchtests/bench-strcmp.c: New file.
16417 * benchtests/bench-strcpy-ifunc.c: New file.
16418 * benchtests/bench-strcpy.c: New file.
16419 * benchtests/bench-strcspn-ifunc.c: New file.
16420 * benchtests/bench-strcspn.c: New file.
16421 * benchtests/bench-strlen-ifunc.c: New file.
16422 * benchtests/bench-strlen.c: New file.
16423 * benchtests/bench-strncasecmp-ifunc.c: New file.
16424 * benchtests/bench-strncasecmp.c: New file.
16425 * benchtests/bench-strncat-ifunc.c: New file.
16426 * benchtests/bench-strncat.c: New file.
16427 * benchtests/bench-strncmp-ifunc.c: New file.
16428 * benchtests/bench-strncmp.c: New file.
16429 * benchtests/bench-strncpy-ifunc.c: New file.
16430 * benchtests/bench-strncpy.c: New file.
16431 * benchtests/bench-strnlen-ifunc.c: New file.
16432 * benchtests/bench-strnlen.c: New file.
16433 * benchtests/bench-strpbrk-ifunc.c: New file.
16434 * benchtests/bench-strpbrk.c: New file.
16435 * benchtests/bench-strrchr-ifunc.c: New file.
16436 * benchtests/bench-strrchr.c: New file.
16437 * benchtests/bench-strspn-ifunc.c: New file.
16438 * benchtests/bench-strspn.c: New file.
16439 * benchtests/bench-strstr-ifunc.c: New file.
16440 * benchtests/bench-strstr.c: New file.
16441
c1f75dc3
SP
16442 * benchtests/Makefile: Disable parallel execution of targets.
16443 (string-bench): Add memcpy.
16444 (benchset): New variable to store a list of benchmark sets.
16445 (bench-func): Renamed from bench.
16446 (bench-set): New target.
16447 (bench): Depend on bench-func and bench-set.
16448 * benchtests/README: Add section on benchmark sets.
16449 * benchtests/bench-memcpy-ifunc.c: New file.
16450 * benchtests/bench-memcpy.c: New file.
16451 * benchtests/bench-string.h: New file.
16452
50fd745b
AS
164532013-06-11 Andreas Schwab <schwab@suse.de>
16454
16455 [BZ #15577]
16456 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16457 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16458 values in the triple.
16459 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16460 terminator in the group key.
16461
3ee7e9fe
AJ
164622013-06-11 Andreas Jaeger <aj@suse.de>
16463
16464 * po/zh_TW.po: Update Chinese (traditional) translation from
16465 translation project.
16466
89fb6835
SP
164672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16468
16469 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16470 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16471 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16472 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16473 (clock_getcpuclockid): Likewise.
16474 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16475 Add weak_alias and libc_hidden_def.
16476 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16477 * rt/clock_gettime.c (clock_gettime): Rename to
16478 __clock_gettime. Add weak_alias and libc_hidden_def.
16479 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16480 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16481 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16482 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16483 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16484 Likewise.
16485 * rt/clock_settime.c (clock_settime): Rename to
16486 __clock_settime. Add weak_alias and libc_hidden_def.
16487 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16488
0efa6f8b
JM
164892013-06-10 Joseph Myers <joseph@codesourcery.com>
16490
b8c61b4b
JM
16491 * mach/err_boot.sub: Remove trailing whitespace.
16492 * mach/err_ipc.sub: Likewise.
16493 * mach/err_mach.sub: Likewise.
16494
0efa6f8b
JM
16495 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16496 (ROUNDING_TESTS_double): Likewise.
16497 (ROUNDING_TESTS_long_double): Likewise.
16498 (ROUNDING_TESTS): Likewise.
16499 * math/libm-test.inc: Include <math-tests.h>.
16500 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16501 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16502 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16503 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16504
50b818bf
SP
165052013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16506
16507 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16508 of assigning.
16509
60d2f8f3
JM
165102013-06-08 Joseph Myers <joseph@codesourcery.com>
16511
4902d2c3
JM
16512 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16513 otherwise empty TRANS lines.
16514 * sysdeps/gnu/errlist.c: Regenerated.
16515
60d2f8f3
JM
16516 * catgets/gencat.c (error_print): Use (void) in function
16517 definition.
16518 * crypt/crypt_util.c (__init_des): Likewise.
16519 * crypt/speeds.c (Stop): Likewise.
16520 (main): Likewise.
16521 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16522 * inet/ruserpass.c (token): Likewise.
16523 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16524 * intl/localealias.c (extend_alias_table): Likewise.
16525 * intl/plural-exp.c (init_germanic_plural): Likewise.
16526 * libio/fcloseall.c (__fcloseall): Likewise.
16527 * libio/genops.c (_IO_flush_all): Likewise.
16528 (_IO_flush_all_linebuffered): Likewise.
16529 (_IO_cleanup): Likewise.
16530 (_IO_iter_begin): Likewise.
16531 (_IO_iter_end): Likewise.
16532 (_IO_list_lock): Likewise.
16533 (_IO_list_unlock): Likewise.
16534 (_IO_list_resetlock): Likewise.
16535 * libio/getchar.c (getchar): Likewise.
16536 * libio/getchar_u.c (getchar_unlocked): Likewise.
16537 * libio/getwchar.c (getwchar): Likewise.
16538 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16539 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16540 * login/getpt.c (__getpt): Likewise.
16541 * login/tst-utmp.c (main): Likewise.
16542 * malloc/hooks.c (__malloc_check_init): Likewise.
16543 * malloc/malloc.c (__malloc_stats): Likewise.
16544 * malloc/mtrace.c (tr_break): Likewise.
16545 (mtrace): Likewise.
16546 (muntrace): Likewise.
16547 * misc/fstab.c (endfsent): Likewise.
16548 * misc/getclktck.c (__getclktck): Likewise.
16549 * misc/getdtsz.c (__getdtablesize): Likewise.
16550 * misc/gethostid.c (gethostid): Likewise.
16551 * misc/getpagesize.c (__getpagesize): Likewise.
16552 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16553 (__get_nprocs): Likewise.
16554 (__get_phys_pages): Likewise.
16555 (__get_avphys_pages): Likewise.
16556 * misc/getttyent.c (getttyent): Likewise.
16557 (setttyent): Likewise.
16558 (endttyent): Likewise.
16559 * misc/getusershell.c (getusershell): Likewise.
16560 (endusershell): Likewise.
16561 (setusershell): Likewise.
16562 (initshells): Likewise.
16563 * misc/hsearch.c (__hdestroy): Likewise.
16564 * misc/sync.c (sync): Likewise.
16565 * misc/syslog.c (closelog_internal): Likewise.
16566 (closelog): Likewise.
16567 * misc/ttyslot.c (ttyslot): Likewise.
16568 * misc/vhangup.c (vhangup): Likewise.
16569 * posix/fork.c (__fork): Likewise.
16570 * posix/getegid.c (__getegid): Likewise.
16571 * posix/geteuid.c (__geteuid): Likewise.
16572 * posix/getgid.c (__getgid): Likewise.
16573 * posix/getpid.c (__getpid): Likewise.
16574 * posix/getppid.c (__getppid): Likewise.
16575 * posix/getuid.c (__getuid): Likewise.
16576 * posix/pause.c (pause): Likewise.
16577 * posix/setpgrp.c (setpgrp): Likewise.
16578 * posix/setsid.c (__setsid): Likewise.
16579 * posix/test-vfork.c (noop): Likewise.
16580 * resolv/gethnamaddr.c (_endhtent): Likewise.
16581 (_gethtent): Likewise.
16582 (ht_endhostent): Likewise.
16583 (gethostent): Likewise.
16584 (dns_service): Likewise.
16585 * stdlib/drand48.c (drand48): Likewise.
16586 * stdlib/lrand48.c (lrand48): Likewise.
16587 * stdlib/mrand48.c (mrand48): Likewise.
16588 * stdlib/rand.c (rand): Likewise.
16589 * stdlib/random.c (__random): Likewise.
16590 * stdlib/setenv.c (clearenv): Likewise.
16591 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16592 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16593 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16594 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16595 (__get_nprocs): Likewise.
16596 (__get_phys_pages): Likewise.
16597 (__get_avphys_pages): Likewise.
16598 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16599 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16600 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16601 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16602 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16603 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16604 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16605 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16606 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16607 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16608 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16609 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16610 * sysdeps/posix/clock.c (clock): Likewise.
16611 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16612 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16613 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16614 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16615 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16616 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16617 (__get_nprocs_conf): Likewise.
16618 (__get_phys_pages): Likewise.
16619 (__get_avphys_pages): Likewise.
16620 * time/clock.c (clock): Likewise.
16621 * time/tzset.c (__tzname_max): Likewise.
16622
2e09a79a
JM
166232013-06-07 Joseph Myers <joseph@codesourcery.com>
16624
16625 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16626 (__bswap_32): Do not use "register".
16627 * crypt/crypt.c (_ufc_doit_r): Likewise.
16628 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16629 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16630 * gmon/gmon.c (__monstartup): Likewise.
16631 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16632 * hurd/hurdmalloc.c (more_memory): Likewise.
16633 (malloc): Likewise.
16634 (free): Likewise.
16635 (realloc): Likewise.
16636 (malloc_fork_prepare): Likewise.
16637 (malloc_fork_parent): Likewise.
16638 (malloc_fork_child): Likewise.
16639 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16640 (_svcauth_des): Likewise.
16641 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16642 * inet/inet_net.c (inet_network): Likewise.
16643 * inet/inet_netof.c (inet_netof): Likewise.
16644 * inet/rcmd.c (__validuser2_sa): Likewise.
16645 * io/fts.c (fts_open): Likewise.
16646 (fts_load): Likewise.
16647 (fts_close): Likewise.
16648 (fts_read): Likewise.
16649 (fts_children): Likewise.
16650 (fts_build): Likewise.
16651 (fts_stat): Likewise.
16652 (fts_sort): Likewise.
16653 (fts_alloc): Likewise.
16654 (fts_lfree): Likewise.
16655 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16656 (_IO_file_xsgetn): Likewise.
16657 (_IO_file_xsgetn_mmap): Likewise.
16658 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16659 (_IO_cookie_write): Likewise.
16660 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16661 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16662 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16663 * malloc/obstack.c (_obstack_begin): Likewise.
16664 (_obstack_begin_1): Likewise.
16665 (_obstack_newchunk): Likewise.
16666 (_obstack_allocated_p): Likewise.
16667 (obstack_free): Likewise.
16668 (_obstack_memory_used): Likewise.
16669 * misc/getttyent.c (getttynam): Likewise.
16670 (getttyent): Likewise.
16671 (skip): Likewise.
16672 (value): Likewise.
16673 * misc/getusershell.c (initshells): Likewise.
16674 * misc/syslog.c (__vsyslog_chk): Likewise.
16675 * misc/ttyslot.c (ttyslot): Likewise.
16676 * nis/nis_hash.c (__nis_hash): Likewise.
16677 * posix/fnmatch_loop.c (FCT): Likewise.
16678 * posix/getconf.c (print_all): Likewise.
16679 (main): Likewise.
16680 * posix/getopt.c (exchange): Likewise.
16681 * posix/glob.c (globfree): Likewise.
16682 (prefix_array): Likewise.
16683 (__glob_pattern_type): Likewise.
16684 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16685 (NS_GET32): Likewise.
16686 (NS_PUT16): Likewise.
16687 (NS_PUT32): Likewise.
16688 * resolv/gethnamaddr.c (getanswer): Likewise.
16689 (gethostbyname2): Likewise.
16690 (gethostbyaddr): Likewise.
16691 (_gethtent): Likewise.
16692 (_gethtbyname2): Likewise.
16693 (_gethtbyaddr): Likewise.
16694 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16695 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16696 * resolv/res_init.c (__res_vinit): Likewise.
16697 (net_mask): Likewise.
16698 * resolv/res_mkquery.c (outchar): Likewise.
16699 (PRINT): Likewise.
16700 * stdio-common/printf_fp.c (outchar): Likewise.
16701 (PRINT): Likewise.
16702 * stdio-common/printf_fphex.c (outchar): Likewise.
16703 (PRINT): Likewise.
16704 * stdio-common/printf_size.c (outchar): Likewise.
16705 (PRINT): Likewise.
16706 * stdio-common/test_rdwr.c (main): Likewise.
16707 * stdio-common/tfformat.c (matches): Likewise.
16708 * stdio-common/vfprintf.c (outchar): Likewise.
16709 (printf_unknown): Likewise.
16710 (buffered_vfprintf): Likewise.
16711 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16712 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16713 (ReadFile): Likewise.
16714 * stdlib/qsort.c (SWAP): Likewise.
16715 (_quicksort): Likewise.
16716 * stdlib/setenv.c (__add_to_environ): Likewise.
16717 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16718 * stdlib/strtol_l.c (__strtol_l): Likewise.
16719 * stdlib/tst-strtod.c (main): Likewise.
16720 * stdlib/tst-strtol.c (main): Likewise.
16721 * stdlib/tst-strtoll.c (main): Likewise.
16722 * string/bits/string2.h (__strcmp_cc): Likewise.
16723 (__strcmp_cg): Likewise.
16724 (__strcspn_c1): Likewise.
16725 (__strcspn_c2): Likewise.
16726 (__strcspn_c3): Likewise.
16727 (__strspn_c1): Likewise.
16728 (__strspn_c2): Likewise.
16729 (__strspn_c3): Likewise.
16730 (__strsep_1c): Likewise.
16731 (__strsep_2c): Likewise.
16732 (__strsep_3c): Likewise.
16733 * string/memccpy.c (__memccpy): Likewise.
16734 * string/stpcpy.c (__stpcpy): Likewise.
16735 * string/strcmp.c (strcmp): Likewise.
16736 * string/strrchr.c (strrchr): Likewise.
16737 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16738 Likewise.
16739 * sysdeps/mach/hurd/getcwd.c
16740 (_hurd_canonicalize_directory_name_internal): Likewise.
16741 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16742 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16743 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16744 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16745 Likewise, in both definitions.
16746 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16747 definitions.
16748 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16749 64] (__bswap_64): Likewise.
16750 * time/test_time.c (main): Likewise.
16751 * time/tzfile.c (__tzfile_read): Likewise.
16752 (__tzfile_compute): Likewise.
16753 * time/tzset.c (__tzset_parse_tz): Likewise.
16754 (tzset_internal): Likewise.
16755 (compute_change): Likewise.
16756 * wcsmbs/wcscat.c (__wcscat): Likewise.
16757 * wcsmbs/wcschr.c (wcschr): Likewise.
16758 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16759 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16760 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16761 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16762 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16763 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16764 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16765 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16766 * wcsmbs/wmemset.c (wmemset): Likewise.
16767
9e54314b
JM
167682013-06-06 Joseph Myers <joseph@codesourcery.com>
16769
16770 * scripts/config.guess: Update to version 2013-05-16.
16771 * scripts/config.sub: Update to version 2013-04-24.
16772 * scripts/install-sh: Update to version 2011-11-20.07.
16773 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16774 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16775
350635a5
OB
167762013-06-06 Ondřej Bílka <neleai@seznam.cz>
16777
16778 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16779 * elf/sln.c: Likewise.
16780 * hurd/hurd/ioctl.h: Likewise.
16781 * hurd/hurdmalloc.c: Likewise.
16782 * hurd/xattr.c: Likewise.
16783 * include/shlib-compat.h: Likewise.
16784 * inet/ruserpass.c: Likewise.
16785 * libio/iofgets_u.c: Likewise.
16786 * libio/iofgetws_u.c: Likewise.
16787 * locale/programs/ld-identification.c: Likewise.
16788 * locale/programs/ld-time.c: Likewise.
16789 * mach/msg-destroy.c: Likewise.
16790 * nss/nss_files/files-netgrp.c: Likewise.
16791 * resolv/res_data.c: Likewise.
16792 * soft-fp/op-1.h: Likewise.
16793 * soft-fp/op-2.h: Likewise.
16794 * soft-fp/op-4.h: Likewise.
16795 * soft-fp/op-common.h: Likewise.
16796 * stdio-common/printf_fphex.c: Likewise.
16797 * stdlib/strtod_l.c: Likewise.
16798 * sunrpc/rpc/clnt.h: Likewise.
16799 * sysdeps/generic/framestate.c: Likewise.
16800 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16801 * sysdeps/i386/bsd-setjmp.S: Likewise.
16802 * sysdeps/i386/__longjmp.S: Likewise.
16803 * sysdeps/i386/setjmp.S: Likewise.
16804 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16805 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16822 * sysdeps/ieee754/support.c: Likewise.
16823 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16824 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16825 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16826 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16827 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16828 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16829 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16830 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16831 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16832 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16833 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16834 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16835 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16836 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16837 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16838 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16839 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16841
44a988af
OB
168422013-06-05 Ondřej Bílka <neleai@seznam.cz>
16843
25506f09 16844 * posix/transbug.c: Remove executable mode.
44a988af 16845
9c84384c
JM
168462013-06-05 Joseph Myers <joseph@codesourcery.com>
16847
16848 * crypt/speeds.c: Remove trailing whitespace.
16849 * dlfcn/default.c: Likewise.
16850 * elf/ifuncdep2.c: Likewise.
16851 * elf/ifuncmain1.c: Likewise.
16852 * elf/ifuncmain1vis.c: Likewise.
16853 * elf/testobj.h: Likewise.
16854 * elf/tst-stackguard1.c: Likewise.
16855 * gmon/sys/gmon.h: Likewise.
16856 * hurd/hurdmsg.c: Likewise.
16857 * hurd/new-fd.c: Likewise.
16858 * hurd/ports-get.c: Likewise.
16859 * iconvdata/ibm1008_420.c: Likewise.
16860 * inet/tst-getni1.c: Likewise.
16861 * inet/tst-getni2.c: Likewise.
16862 * libio/ioungetc.c: Likewise.
16863 * libio/wfiledoalloc.c: Likewise.
16864 * manual/libm-err-tab.pl: Likewise.
16865 * math/w_dremf.c: Likewise.
16866 * misc/ftruncate.c: Likewise.
16867 * posix/bug-glob2.c: Likewise.
16868 * posix/tst-pcre.c: Likewise.
16869 * posix/wait4.c: Likewise.
16870 * resolv/README: Likewise.
16871 * resolv/res_debug.h: Likewise.
16872 * resolv/tst-inet_ntop.c: Likewise.
16873 * setjmp/bug269-setjmp.c: Likewise.
16874 * soft-fp/extended.h: Likewise.
16875 * soft-fp/op-1.h: Likewise.
16876 * soft-fp/op-2.h: Likewise.
16877 * soft-fp/op-4.h: Likewise.
16878 * soft-fp/op-8.h: Likewise.
16879 * soft-fp/testit.c: Likewise.
16880 * stdio-common/bug16.c: Likewise.
16881 * stdlib/random.c: Likewise.
16882 * sunrpc/rpcsvc/rquota.x: Likewise.
16883 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16884 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16885 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16886 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16887 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16888 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16889 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16890 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16891 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16892 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16893 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16894 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16895 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16896 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16897 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16898 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16899 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16900 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16901 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16902 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16903 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16904 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16905 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16906 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16907 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16908 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16909 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16910 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16911 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16912 * sysdeps/ieee754/s_lib_version.c: Likewise.
16913 * sysdeps/mach/hurd/check_fds.c: Likewise.
16914 * sysdeps/mach/hurd/getsockname.c: Likewise.
16915 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16916 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16917 * sysdeps/powerpc/bits/link.h: Likewise.
16918 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16919 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16920 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16921 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16922 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16923 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16924 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16925 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16926 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16927 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16928 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16929 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16930 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16931 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16932 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16933 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16934 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16935 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16936 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16937 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16938 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16939 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16940 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16941 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16942 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16943 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16944 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16945 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16946 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16947 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16948 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16949 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16950 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16951 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16952 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16953 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16954 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16955 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16956 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16957 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16958 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16959 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16960 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16961 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16962 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16963 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16964 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16965 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16966 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16967 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16968 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16969 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16970 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16971 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16972 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16973 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16974 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16975 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16976 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16977 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16978 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16979 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16980 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16981 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16982 * sysdeps/powerpc/sysdep.h: Likewise.
16983 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16984 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16985 * sysdeps/sh/dl-trampoline.S: Likewise.
16986 * sysdeps/sh/memset.S: Likewise.
16987 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16988 * sysdeps/sh/strlen.S: Likewise.
16989 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16990 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16991 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16992 * sysdeps/sparc/sparc32/rem.S: Likewise.
16993 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16994 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16995 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16996 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16997 * sysdeps/sparc/sparc32/urem.S: Likewise.
16998 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16999 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17000 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17001 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17002 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17003 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17004 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17005 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17006 * sysdeps/unix/bsd/times.c: Likewise.
17007 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17008 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17012 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17013 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17014 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17015 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17016 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17017 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17018 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17019 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17020 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17021 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17022 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17023 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17024 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17025 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17026 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17027 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17028 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17029 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17030 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17031 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17032 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17033 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17034 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17035 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17036 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17037 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17038 * sysdeps/x86_64/strcspn.S: Likewise.
17039
869378a5
RA
170402013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17041
17042 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17043 generated file. Regenerate properly from gen-translit.pl.
17044 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17045 locale/C-translit.h.
17046
840e2943
AS
170472013-06-05 Andreas Schwab <schwab@suse.de>
17048
17049 [BZ #15100]
17050 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17051 week as 6 instead of -1.
17052 * time/tst-strptime.c (day_tests): Add test case.
17053
4c60cb0c
SP
170542013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17055
17056 * sysdeps/generic/math_private.h
17057 (libc_feholdexcept_setround_53bit): Replace with
17058 libc_feholdsetround_53bit.
17059 (libc_feupdateenv_53bit): Replace with
17060 libc_feresetround_53bit.
17061 (SET_RESTORE_ROUND_53BIT): Adjust.
17062
d180203e
SP
170632013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17064
96df079a
SP
17065 * string/test-strchrnul.c: Add copyright header.
17066
d180203e
SP
17067 * posix/tst-getaddrinfo4.c: Increase test timeout.
17068
8b0ccb2d
CD
170692013-06-03 Carlos O'Donell <carlos@redhat.com>
17070
17071 [BZ #15536]
17072 * math/libm-test.inc (MAX_EXP): Remove
17073 (MIN_EXP): Define.
17074 (ulp): Use MIN_EXP - MANT_DIG.
17075 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17076
3b3c4d40
CD
170772013-05-31 Carlos O'Donell <carlos@redhat.com>
17078
17079 * po/be.po: Revert last change.
17080 * po/zh_CN.po: Likewise.
17081 * po/header.pot: Likewise.
17082
fab7ce3f
JM
170832013-05-31 Joseph Myers <joseph@codesourcery.com>
17084
17085 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17086 link-libc-deps to empty as target-specific variable.
17087 * Makerules (link-libc-args): New variable.
17088 (libc-for-link): Likewise.
17089 (link-libc-deps): Likewise.
17090 (lib%.so): Depend on $(link-libc-deps). Link with
17091 $(link-libc-args).
17092 (build-module): Link with $(link-libc-args).
17093 (build-module-asneeded): Likewise.
17094 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17095 list of objects.
17096 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17097 target-specific variable.
17098 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17099 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17100 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17101 libc.
17102 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17103 libc and ld.so.
17104 ($(objpfx)libpcprofile.so): Likewise.
17105 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17106 libc_nonshared.a.
17107 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17108 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17109 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17110 $(link-libc-deps).
17111 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17112 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17113 * login/Makefile ($(objpfx)libutil.so): Likewise.
17114 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17115 * math/Makefile ($(objpfx)libm.so): Likewise.
17116 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17117 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17118 variable instead of depending directly on libc.
17119 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17120 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17121 $(link-libc-deps).
17122 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17123 libc.
17124 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17125 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17126 ($(objpfx)libanl.so): Likewise.
17127 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17128 ld.so.
17129 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17130 $(link-libc-deps).
17131 * sysdeps/i386/fpu/Makefile: Remove file.
17132 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17133 ($(objpfx)libm.so): Remove dependency on ld.so.
17134
eca5920c
PF
171352013-05-30 Patsy Franklin <pfrankli@redhat.com>
17136
17137 [BZ # 15553]
17138 * nis/yp_xdr.c (XDRMAXNAME): Define.
17139 (XDRMAXRECORD): Define.
17140 (xdr_domainname): Use XDRMAXNAME.
17141 (xdr_mapname): Likewise.
17142 (xdr_peername): Likewise.
17143 (xdr_keydat): Use XDRMAXRECORD.
17144 (xdr_valdat): Likewise.
17145
171462013-05-30 Jeff Law <law@redhat.com>
96945714
JL
17147
17148 [BZ #14256]
17149 * manual/errno.texi (ESTALE): Update to account for more than
17150 just NFS file systems.
17151 * sysdeps/gnu/errlist.c: Regenerated.
17152
b9375348
SP
171532013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17154
17155 [BZ #15465]
17156 * elf/Makefile (tests): Add tst-null-argv.
17157 (modules-names): Add tst-null-argv-lib.
17158 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17159 (tst-null-argv-ENV): Set environment for tst-null-argv.
17160 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17161 (RTLD_PROGNAME): New macro.
17162 * elf/tst-null-argv.c: New test case.
17163 * elf/tst-null-argv-lib.c: Library for test case.
17164 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17165 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17166 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17167 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17168 * elf/dl-init.c (call_init): Likewise.
17169 (_dl_init): Likewise.
17170 * elf/dl-load.c (print_search_path): Likewise.
17171 (_dl_map_object): Likewise.
17172 * elf/dl-lookup.c (do_lookup_x): Likewise.
17173 (add_dependency): Likewise.
17174 (_dl_lookup_symbol_x): Likewise.
17175 (_dl_debug_bindings): Likewise.
17176 * elf/dl-open.c (_dl_show_scope): Likewise.
17177 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17178 * elf/dl-version.c (match_symbol): Likewise.
17179 (_dl_check_map_versions): Likewise.
17180 * elf/rtld.c (dl_main): Likewise.
17181 (print_unresolved): Use RTLD_PROGNAME.
17182 (print_missing_version): Likewise.
17183 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17184 (elf_machine_rela): Likewise.
17185 * sysdeps/powerpc/powerpc32/dl-machine.c
17186 (__process_machine_rela): Likewise.
17187 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17188 Likewise.
17189 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17190 Likewise.
17191 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17192 Likewise.
17193 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17194 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17195 Likewise.
17196 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17197 Likewise.
17198 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17199
8a9f20c8
CD
172002013-05-28 Carlos O'Donell <carlos@redhat.com>
17201
17202 * po/be.po: Add descriptive title.
17203 * po/zh_CN.po: Likewise.
17204 * po/header.pot: Likewise.
17205
0e60d68e
MF
172062013-05-28 Mike Frysinger <vapier@gentoo.org>
17207
17208 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17209 error message.
17210 (enlarge_archive): Likewise.
17211
56b672e9
BN
172122013-05-28 Ben North <ben@redfrontdoor.org>
17213
17214 * manual/arith.texi (frexp): It is the magnitude of the return
17215 value which lies in [0.5, 1), not the return value itself.
17216
5e056687
AZ
172172013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17218
17219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17220
2b66ef5d
TS
172212013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17222
528c2405
TS
17223 * stdio-common/bug26.c (main): Correct fscanf template.
17224
07b4c13d
TS
17225 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17226 declare _dl_skip_args.
17227
ec9dd97c
TS
17228 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17229 Don't declare.
17230
2b66ef5d
TS
17231 * manual/platform.texi: Add missing @end deftypefun.
17232
4f8dfe27
JM
172332013-05-24 Joseph Myers <joseph@codesourcery.com>
17234
0323d086
JM
17235 [BZ #15529]
17236 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17237 bit of mantissa of 2^16382.
17238 * math/libm-test.inc (hypot_test_data): Add more tests.
17239
dd4259b9
JM
17240 * math/libm-test.inc: Add drem and pow10 to list of tested
17241 functions.
17242 (pow10_test): New function.
17243 (drem_test): Likewise.
17244 (drem_test_tonearest): Likewise.
17245 (drem_test_towardzero): Likewise.
17246 (drem_test_downward): Likewise.
17247 (drem_test_upward): Likewise.
17248 (main): Call the new functions.
17249
4f8dfe27
JM
17250 * math/libm-test.inc (finite_test_data): Remove.
17251 (finite_test): Run tests from isfinite_test_data.
17252 (gamma_test_data): Remove.
17253 (gamma_test): Run tests from lgamma_test_data.
17254 * sysdeps/i386/fpu/libm-test-ulps: Update.
17255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17256
d116b7c4
AZ
172572013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17258
17259 * manual/platform.texi: Add PowerPC PPR function set documentation.
17260 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17261 implementation.
17262
e96e3767
CD
172632013-05-24 Carlos O'Donell <carlos@redhat.com>
17264
17265 * math/libm-test.inc (MAX_EXP): Define.
17266 (ULPDIFF): Define.
17267 (ulp): New function.
17268 (check_float_internal): Use ULPDIFF.
17269 (cpow_test): Disable failing test.
17270 (check_ulp): Test ulp() implemetnation.
17271 (main): Call check_ulp before starting tests.
17272
b679a606
JM
172732013-05-24 Joseph Myers <joseph@codesourcery.com>
17274
e8bdba36
JM
17275 * math/gen-libm-test.pl (generate_testfile): Do not handle
17276 START_DATA and END_DATA.
17277 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17278 END_DATA.
17279 (acos_tonearest_test_data): Likewise.
17280 (acos_towardzero_test_data): Likewise.
17281 (acos_downward_test_data): Likewise.
17282 (acos_upward_test_data): Likewise.
17283 (acosh_test_data): Likewise.
17284 (asin_test_data): Likewise.
17285 (asin_tonearest_test_data): Likewise.
17286 (asin_towardzero_test_data): Likewise.
17287 (asin_downward_test_data): Likewise.
17288 (asin_upward_test_data): Likewise.
17289 (asinh_test_data): Likewise.
17290 (atan_test_data): Likewise.
17291 (atanh_test_data): Likewise.
17292 (atan2_test_data): Likewise.
17293 (cabs_test_data): Likewise.
17294 (cacos_test_data): Likewise.
17295 (cacosh_test_data): Likewise.
17296 (carg_test_data): Likewise.
17297 (casin_test_data): Likewise.
17298 (casinh_test_data): Likewise.
17299 (catan_test_data): Likewise.
17300 (catanh_test_data): Likewise.
17301 (cbrt_test_data): Likewise.
17302 (ccos_test_data): Likewise.
17303 (ccosh_test_data): Likewise.
17304 (ceil_test_data): Likewise.
17305 (cexp_test_data): Likewise.
17306 (cimag_test_data): Likewise.
17307 (clog_test_data): Likewise.
17308 (clog10_test_data): Likewise.
17309 (conj_test_data): Likewise.
17310 (copysign_test_data): Likewise.
17311 (cos_test_data): Likewise.
17312 (cos_tonearest_test_data): Likewise.
17313 (cos_towardzero_test_data): Likewise.
17314 (cos_downward_test_data): Likewise.
17315 (cos_upward_test_data): Likewise.
17316 (cosh_test_data): Likewise.
17317 (cosh_tonearest_test_data): Likewise.
17318 (cosh_towardzero_test_data): Likewise.
17319 (cosh_downward_test_data): Likewise.
17320 (cosh_upward_test_data): Likewise.
17321 (cpow_test_data): Likewise.
17322 (cproj_test_data): Likewise.
17323 (creal_test_data): Likewise.
17324 (csin_test_data): Likewise.
17325 (csinh_test_data): Likewise.
17326 (csqrt_test_data): Likewise.
17327 (ctan_test_data): Likewise.
17328 (ctan_tonearest_test_data): Likewise.
17329 (ctan_towardzero_test_data): Likewise.
17330 (ctan_downward_test_data): Likewise.
17331 (ctan_upward_test_data): Likewise.
17332 (ctanh_test_data): Likewise.
17333 (ctanh_tonearest_test_data): Likewise.
17334 (ctanh_towardzero_test_data): Likewise.
17335 (ctanh_downward_test_data): Likewise.
17336 (ctanh_upward_test_data): Likewise.
17337 (erf_test_data): Likewise.
17338 (erfc_test_data): Likewise.
17339 (exp_test_data): Likewise.
17340 (exp_tonearest_test_data): Likewise.
17341 (exp_towardzero_test_data): Likewise.
17342 (exp_downward_test_data): Likewise.
17343 (exp_upward_test_data): Likewise.
17344 (exp10_test_data): Likewise.
17345 (exp2_test_data): Likewise.
17346 (expm1_test_data): Likewise.
17347 (fabs_test_data): Likewise.
17348 (fdim_test_data): Likewise.
17349 (finite_test_data): Likewise.
17350 (floor_test_data): Likewise.
17351 (fma_test_data): Likewise.
17352 (fma_towardzero_test_data): Likewise.
17353 (fma_downward_test_data): Likewise.
17354 (fma_upward_test_data): Likewise.
17355 (fmax_test_data): Likewise.
17356 (fmin_test_data): Likewise.
17357 (fmod_test_data): Likewise.
17358 (fpclassify_test_data): Likewise.
17359 (frexp_test_data): Likewise.
17360 (gamma_test_data): Likewise.
17361 (hypot_test_data): Likewise.
17362 (ilogb_test_data): Likewise.
17363 (isfinite_test_data): Likewise.
17364 (isgreater_test_data): Likewise.
17365 (isgreaterequal_test_data): Likewise.
17366 (isinf_test_data): Likewise.
17367 (isless_test_data): Likewise.
17368 (islessequal_test_data): Likewise.
17369 (islessgreater_test_data): Likewise.
17370 (isnan_test_data): Likewise.
17371 (isnormal_test_data): Likewise.
17372 (issignaling_test_data): Likewise.
17373 (isunordered_test_data): Likewise.
17374 (j0_test_data): Likewise.
17375 (j1_test_data): Likewise.
17376 (jn_test_data): Likewise.
17377 (ldexp_test_data): Likewise.
17378 (lgamma_test_data): Likewise.
17379 (lrint_test_data): Likewise.
17380 (lrint_tonearest_test_data): Likewise.
17381 (lrint_towardzero_test_data): Likewise.
17382 (lrint_downward_test_data): Likewise.
17383 (lrint_upward_test_data): Likewise.
17384 (llrint_test_data): Likewise.
17385 (llrint_tonearest_test_data): Likewise.
17386 (llrint_towardzero_test_data): Likewise.
17387 (llrint_downward_test_data): Likewise.
17388 (llrint_upward_test_data): Likewise.
17389 (log_test_data): Likewise.
17390 (log10_test_data): Likewise.
17391 (log1p_test_data): Likewise.
17392 (log2_test_data): Likewise.
17393 (logb_test_data): Likewise.
17394 (logb_downward_test_data): Likewise.
17395 (lround_test_data): Likewise.
17396 (llround_test_data): Likewise.
17397 (modf_test_data): Likewise.
17398 (nearbyint_test_data): Likewise.
17399 (nextafter_test_data): Likewise.
17400 (nexttoward_test_data): Likewise.
17401 (pow_test_data): Likewise.
17402 (pow_tonearest_test_data): Likewise.
17403 (pow_towardzero_test_data): Likewise.
17404 (pow_downward_test_data): Likewise.
17405 (pow_upward_test_data): Likewise.
17406 (remainder_test_data): Likewise.
17407 (remainder_tonearest_test_data): Likewise.
17408 (remainder_towardzero_test_data): Likewise.
17409 (remainder_downward_test_data): Likewise.
17410 (remainder_upward_test_data): Likewise.
17411 (remquo_test_data): Likewise.
17412 (rint_test_data): Likewise.
17413 (rint_tonearest_test_data): Likewise.
17414 (rint_towardzero_test_data): Likewise.
17415 (rint_downward_test_data): Likewise.
17416 (rint_upward_test_data): Likewise.
17417 (round_test_data): Likewise.
17418 (scalb_test_data): Likewise.
17419 (scalbn_test_data): Likewise.
17420 (scalbln_test_data): Likewise.
17421 (signbit_test_data): Likewise.
17422 (sin_test_data): Likewise.
17423 (sin_tonearest_test_data): Likewise.
17424 (sin_towardzero_test_data): Likewise.
17425 (sin_downward_test_data): Likewise.
17426 (sin_upward_test_data): Likewise.
17427 (sincos_test_data): Likewise.
17428 (sinh_test_data): Likewise.
17429 (sinh_tonearest_test_data): Likewise.
17430 (sinh_towardzero_test_data): Likewise.
17431 (sinh_downward_test_data): Likewise.
17432 (sinh_upward_test_data): Likewise.
17433 (sqrt_test_data): Likewise.
17434 (tan_test_data): Likewise.
17435 (tan_tonearest_test_data): Likewise.
17436 (tan_towardzero_test_data): Likewise.
17437 (tan_downward_test_data): Likewise.
17438 (tan_upward_test_data): Likewise.
17439 (tanh_test_data): Likewise.
17440 (tgamma_test_data): Likewise.
17441 (trunc_test_data): Likewise.
17442 (y0_test_data): Likewise.
17443 (y1_test_data): Likewise.
17444 (yn_test_data): Likewise.
17445 (significand_test_data): Likewise.
17446
b679a606
JM
17447 * math/gen-libm-test.pl (@functions): Remove variable.
17448 (generate_testfile): Don't handle START and END lines.
17449 * math/libm-test.inc (START): New macro.
17450 (END): Likewise.
17451 (END_COMPLEX): Likewise.
17452 (acos_test): Use END macro without arguments.
17453 (acos_test_tonearest): Likewise.
17454 (acos_test_towardzero): Likewise.
17455 (acos_test_downward): Likewise.
17456 (acos_test_upward): Likewise.
17457 (acosh_test): Likewise.
17458 (asin_test): Likewise.
17459 (asin_test_tonearest): Likewise.
17460 (asin_test_towardzero): Likewise.
17461 (asin_test_downward): Likewise.
17462 (asin_test_upward): Likewise.
17463 (asinh_test): Likewise.
17464 (atan_test): Likewise.
17465 (atanh_test): Likewise.
17466 (atan2_test): Likewise.
17467 (cabs_test): Likewise.
17468 (cacos_test): Use END_COMPLEX macro without arguments.
17469 (cacosh_test): Likewise.
17470 (carg_test): Use END macro without arguments.
17471 (casin_test): Use END_COMPLEX macro without arguments.
17472 (casinh_test): Likewise.
17473 (catan_test): Likewise.
17474 (catanh_test): Likewise.
17475 (cbrt_test): Use END macro without arguments.
17476 (ccos_test): Use END_COMPLEX macro without arguments.
17477 (ccosh_test): Likewise.
17478 (ceil_test): Use END macro without arguments.
17479 (cexp_test): Use END_COMPLEX macro without arguments.
17480 (cimag_test): Use END macro without arguments.
17481 (clog_test): Use END_COMPLEX macro without arguments.
17482 (clog10_test): Likewise.
17483 (conj_test): Likewise.
17484 (copysign_test): Use END macro without arguments.
17485 (cos_test): Likewise.
17486 (cos_test_tonearest): Likewise.
17487 (cos_test_towardzero): Likewise.
17488 (cos_test_downward): Likewise.
17489 (cos_test_upward): Likewise.
17490 (cosh_test): Likewise.
17491 (cosh_test_tonearest): Likewise.
17492 (cosh_test_towardzero): Likewise.
17493 (cosh_test_downward): Likewise.
17494 (cosh_test_upward): Likewise.
17495 (cpow_test): Use END_COMPLEX macro without arguments.
17496 (cproj_test): Likewise.
17497 (creal_test): Use END macro without arguments.
17498 (csin_test): Use END_COMPLEX macro without arguments.
17499 (csinh_test): Likewise.
17500 (csqrt_test): Likewise.
17501 (ctan_test): Likewise.
17502 (ctan_test_tonearest): Likewise.
17503 (ctan_test_towardzero): Likewise.
17504 (ctan_test_downward): Likewise.
17505 (ctan_test_upward): Likewise.
17506 (ctanh_test): Likewise.
17507 (ctanh_test_tonearest): Likewise.
17508 (ctanh_test_towardzero): Likewise.
17509 (ctanh_test_downward): Likewise.
17510 (ctanh_test_upward): Likewise.
17511 (erf_test): Use END macro without arguments.
17512 (erfc_test): Likewise.
17513 (exp_test): Likewise.
17514 (exp_test_tonearest): Likewise.
17515 (exp_test_towardzero): Likewise.
17516 (exp_test_downward): Likewise.
17517 (exp_test_upward): Likewise.
17518 (exp10_test): Likewise.
17519 (exp2_test): Likewise.
17520 (expm1_test): Likewise.
17521 (fabs_test): Likewise.
17522 (fdim_test): Likewise.
17523 (finite_test): Likewise.
17524 (floor_test): Likewise.
17525 (fma_test): Likewise.
17526 (fma_test_towardzero): Likewise.
17527 (fma_test_downward): Likewise.
17528 (fma_test_upward): Likewise.
17529 (fmax_test): Likewise.
17530 (fmin_test): Likewise.
17531 (fmod_test): Likewise.
17532 (fpclassify_test): Likewise.
17533 (frexp_test): Likewise.
17534 (gamma_test): Likewise.
17535 (hypot_test): Likewise.
17536 (ilogb_test): Likewise.
17537 (isfinite_test): Likewise.
17538 (isgreater_test): Likewise.
17539 (isgreaterequal_test): Likewise.
17540 (isinf_test): Likewise.
17541 (isless_test): Likewise.
17542 (islessequal_test): Likewise.
17543 (islessgreater_test): Likewise.
17544 (isnan_test): Likewise.
17545 (isnormal_test): Likewise.
17546 (issignaling_test): Likewise.
17547 (isunordered_test): Likewise.
17548 (j0_test): Likewise.
17549 (j1_test): Likewise.
17550 (jn_test): Likewise.
17551 (ldexp_test): Likewise.
17552 (lgamma_test): Likewise.
17553 (lrint_test): Likewise.
17554 (lrint_test_tonearest): Likewise.
17555 (lrint_test_towardzero): Likewise.
17556 (lrint_test_downward): Likewise.
17557 (lrint_test_upward): Likewise.
17558 (llrint_test): Likewise.
17559 (llrint_test_tonearest): Likewise.
17560 (llrint_test_towardzero): Likewise.
17561 (llrint_test_downward): Likewise.
17562 (llrint_test_upward): Likewise.
17563 (log_test): Likewise.
17564 (log10_test): Likewise.
17565 (log1p_test): Likewise.
17566 (log2_test): Likewise.
17567 (logb_test): Likewise.
17568 (logb_test_downward): Likewise.
17569 (lround_test): Likewise.
17570 (llround_test): Likewise.
17571 (modf_test): Likewise.
17572 (nearbyint_test): Likewise.
17573 (nextafter_test): Likewise.
17574 (nexttoward_test): Likewise.
17575 (pow_test): Likewise.
17576 (pow_test_tonearest): Likewise.
17577 (pow_test_towardzero): Likewise.
17578 (pow_test_downward): Likewise.
17579 (pow_test_upward): Likewise.
17580 (remainder_test): Likewise.
17581 (remainder_test_tonearest): Likewise.
17582 (remainder_test_towardzero): Likewise.
17583 (remainder_test_downward): Likewise.
17584 (remainder_test_upward): Likewise.
17585 (remquo_test): Likewise.
17586 (rint_test): Likewise.
17587 (rint_test_tonearest): Likewise.
17588 (rint_test_towardzero): Likewise.
17589 (rint_test_downward): Likewise.
17590 (rint_test_upward): Likewise.
17591 (round_test): Likewise.
17592 (scalb_test): Likewise.
17593 (scalbn_test): Likewise.
17594 (scalbln_test): Likewise.
17595 (signbit_test): Likewise.
17596 (sin_test): Likewise.
17597 (sin_test_tonearest): Likewise.
17598 (sin_test_towardzero): Likewise.
17599 (sin_test_downward): Likewise.
17600 (sin_test_upward): Likewise.
17601 (sincos_test): Likewise.
17602 (sinh_test): Likewise.
17603 (sinh_test_tonearest): Likewise.
17604 (sinh_test_towardzero): Likewise.
17605 (sinh_test_downward): Likewise.
17606 (sinh_test_upward): Likewise.
17607 (sqrt_test): Likewise.
17608 (tan_test): Likewise.
17609 (tan_test_tonearest): Likewise.
17610 (tan_test_towardzero): Likewise.
17611 (tan_test_downward): Likewise.
17612 (tan_test_upward): Likewise.
17613 (tanh_test): Likewise.
17614 (tgamma_test): Likewise.
17615 (trunc_test): Likewise.
17616 (y0_test): Likewise.
17617 (y1_test): Likewise.
17618 (yn_test): Likewise.
17619 (significand_test): Likewise.
17620
bae143d2
OB
176212013-05-24 Ondřej Bílka <neleai@seznam.cz>
17622
17623 [BZ #15381]
17624 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17625
9323d39b
EM
176262013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17627
d4ea44a0 17628 [BZ #14894]
9323d39b
EM
17629 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17630 __ppc_mdoio and __ppc_mdoom.
17631 * manual/platform.texi: Document new functions __ppc_yield,
17632 __ppc_mdoio and __ppc_mdoom.
17633
13e23af7
CD
176342013-05-22 Carlos O'Donell <carlos@redhat.com>
17635
17636 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17637 (main): Mention "tls" pseudo-hwcap is legacy.
17638 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17639
351fe550
JM
176402013-05-22 Joseph Myers <joseph@codesourcery.com>
17641
17642 * math/gen-libm-test.pl (parse_args): Output only string of
17643 arguments as text for test name, not full call or descriptions of
17644 tests for extra outputs.
17645 (generate_testfile): Do not pass function name to parse_args.
17646 Generate this_func variable from START.
17647 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17648 field to arg_str.
17649 (struct test_ff_f_data): Likewise.
17650 (test_ff_f_data_nexttoward): Likewise.
17651 (struct test_fi_f_data): Likewise.
17652 (struct test_fl_f_data): Likewise.
17653 (struct test_if_f_data): Likewise.
17654 (struct test_fff_f_data): Likewise.
17655 (struct test_c_f_data): Likewise.
17656 (struct test_f_f1_data): Likewise. Remove field extra_name.
17657 (struct test_fF_f1_data): Likewise.
17658 (struct test_ffI_f1_data): Likewise.
17659 (struct test_c_c_data): Rename test_name field to arg_str.
17660 (struct test_cc_c_data): Likewise.
17661 (struct test_f_i_data): Likewise.
17662 (struct test_ff_i_data): Likewise.
17663 (struct test_f_l_data): Likewise.
17664 (struct test_f_L_data): Likewise.
17665 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17666 and extra2_name.
17667 (COMMON_TEST_SETUP): New macro.
17668 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17669 (COMMON_TEST_CLEANUP): Likewise.
17670 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17671 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17672 macros.
17673 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17674 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17675 macros.
17676 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17677 (RUN_TEST_fff_f): Take argument string. Call new setup and
17678 cleanup macros.
17679 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17680 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17681 macros.
17682 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17683 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17684 macros.
17685 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17686 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17687 cleanup macros.
17688 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17689 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17690 cleanup macros.
17691 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17692 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17693 cleanup macros.
17694 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17695 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17696 macros.
17697 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17698 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17699 macros.
17700 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17701 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17702 macros.
17703 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17704 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17705 cleanup macros.
17706 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17707 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17708 cleanup macros.
17709 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17710 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17711 macros.
17712 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17713 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17714 cleanup macros.
17715 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17716 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17717 macros.
17718 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17719 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17720 macros.
17721 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17722 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17723 cleanup macros.
17724 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17725
85118d4d
EBM
177262013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17727
17728 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17729 to _sifields.sigfault.
17730 (si_addr_lsb): Define new macro.
17731 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17732 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17733 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17734
7a44c18f
CD
177352013-05-03 Carlos O'Donell <carlos at redhat.com>
17736
17737 [BZ #15441]
17738 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17739 returns -1.
17740 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17741 null return -1.
17742 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17743 loading the domain.
17744
b50a7181
JM
177452013-05-22 Joseph Myers <joseph@codesourcery.com>
17746
17747 * math/gen-libm-test.pl (parse_args): Do not include expected
17748 result in test name.
17749 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17750 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17751 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17752 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17753 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17755
051063c8
SP
177562013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17757
3ce9e010
SP
17758 * benchtests/Makefile: Sort function entries.
17759
051063c8
SP
17760 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17761 tanh, asinh, acosh, atanh.
17762 * benchtests/acos-inputs: New file.
17763 * benchtests/acosh-inputs: New file.
17764 * benchtests/asin-inputs: New file.
17765 * benchtests/asinh-inputs: New file.
17766 * benchtests/atanh-inputs: New file.
17767 * benchtests/cosh-inputs: New file.
17768 * benchtests/log-inputs: New file.
17769 * benchtests/sinh-inputs: New file.
17770 * benchtests/tanh-inputs: New file.
17771
47c22455
DL
177722013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17773
17774 [BZ #15339]
17775 * posix/tst-getaddrinfo4.c: New test.
17776 * posix/Makefile (tests): Add it.
17777
3d04f5db
SP
177782013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17779
17780 [BZ #15339]
17781 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17782 when no services were used.
17783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17784 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17785
d5dd6189
AS
177862013-05-21 Andreas Schwab <schwab@suse.de>
17787
17788 [BZ #15014]
17789 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17790 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17791 successful.
17792 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17793 redundant variable declarations and reallocation of buffer when
17794 parsing as IPv6 address. Always set NSS status when called from
17795 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17796 buffer too small. Correct computation of needed size.
17797 * nss/Makefile (tests): Add test-digits-dots.
17798 * nss/test-digits-dots.c: New test.
17799
fef94eab
SP
178002013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17801
17802 * benchtests/Makefile: Remove instructions for adding
17803 benchmark tests.
17804 * benchtests/README: New file to explain how to execute and
17805 enhance the benchmark tests.
17806
e39adf43
AS
178072013-05-21 Andreas Schwab <schwab@suse.de>
17808
17809 [BZ #15493]
17810 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17811 * setjmp/tst-sigsetjmp.c: New test.
17812
b2b671b6
OB
178132013-05-20 Ondřej Bílka <neleai@seznam.cz>
17814
17815 * sysdeps/x86_64/memset.S (memset): New implementation.
17816 (__bzero): Likewise.
17817 (__memset_tail): New function.
17818
2d48b41c
OB
178192013-05-20 Ondřej Bílka <neleai@seznam.cz>
17820
17821 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17822 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17823 __memcpy_sse2_unaligned ifunc selection.
17824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17825 Add memcpy-sse2-unaligned.S.
17826 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17827 Add: __memcpy_sse2_unaligned.
17828
f16cc3eb
JM
178292013-05-19 Joseph Myers <joseph@codesourcery.com>
17830
3e694268
JM
17831 [BZ #15490]
17832 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17833 math_force_eval before restoring floating-point envrionment.
17834 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17835 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17836 Likewise.
17837 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17838 <math_private.h>.
17839 (__nearbyintl): Use math_force_eval before restoring
17840 floating-point environment.
17841 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17842
db62a907
JM
17843 * math/gen-libm-test.pl (special_functions): Remove.
17844 (parse_args): Don't handle TEST_extra. Handle functions with no
17845 return value.
17846 * math/libm-test.inc (struct test_sincos_data): Replace with
17847 struct test_fFF_11_data.
17848 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17849 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17850 (sincos_test_data): Change element type to struct
17851 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17852 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17853 RUN_TEST_LOOP_sincos.
17854 * math/README.libm-test: Don't mention special handling of
17855 individual functions.
17856 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17857 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17858 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17859 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17860 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17862
f16cc3eb
JM
17863 * math/gen-libm-test.pl (get_variable): Remove function.
17864 (parse_args): Don't show pointer parameters to call in test
17865 names. Use "extra output N" in test names for extra outputs
17866 rather than naming variables.
17867
3779b5b6
JM
178682013-05-18 Joseph Myers <joseph@codesourcery.com>
17869
2ee094ff
JM
17870 [BZ #15488]
17871 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17872 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17873 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17874 double tests.
17875 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17876 disable.
17877 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17878 check_long_double.
17879
3779b5b6
JM
17880 * math/gen-libm-test.pl (@tests): Remove variable.
17881 ($count): Likewise.
17882 (new_test): Remove function.
17883 (show_exceptions): New function.
17884 (special_functions): Use show_exceptions instead of new_test.
17885 (parse_args): Likewise.
17886 (generate_testfile): Pass only function name in generated call to
17887 print_max_error or print_complex_max_error.
17888 (get_ulps): Do not handle complex tests specially.
17889 (output_test): Rename to ...
17890 (get_all_ulps_for_test): ... this. Return a string rather than
17891 printing to a file. Require ulps to be present.
17892 (output_ulps): Generate arrays rather than #defines.
17893 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17894 (struct ulp_data): New type.
17895 (BUILD_COMPLEX_ULP): Remove macro.
17896 (compare_ulp_data): New function.
17897 (find_ulps): Likewise.
17898 (find_test_ulps): Likewise.
17899 (find_function_ulps): Likewise.
17900 (find_complex_function_ulps): Likewise.
17901 (print_max_error): Determine allowed ulps using
17902 find_function_ulps.
17903 (print_complex_max_error): Determine allowed ulps using
17904 find_complex_function_ulps.
17905 (check_float_internal): Determine max ulps using find_test_ulps.
17906 (check_float): Do not take max_ulp parameter. Update call to
17907 check_float_internal.
17908 (check_complex): Likewise.
17909 (check_int): Do not take max_ulp parameter.
17910 (check_long): Likewise.
17911 (check_bool): Likewise.
17912 (check_longlong): Likewise.
17913 (struct test_f_f_data): Remove max_ulp field.
17914 (struct test_ff_f_data): Likewise.
17915 (struct test_ff_f_data_nexttoward): Likewise.
17916 (struct test_fi_f_data): Likewise.
17917 (struct test_fl_f_data): Likewise.
17918 (struct test_if_f_data): Likewise.
17919 (struct test_fff_f_data): Likewise.
17920 (struct test_c_f_data): Likewise.
17921 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17922 (struct test_fF_f1_data): Likewise.
17923 (struct test_ffI_f1_data): Likewise.
17924 (struct test_c_c_data): Remove max_ulp field.
17925 (struct test_cc_c_data): Likewise.
17926 (struct test_f_i_data): Likewise.
17927 (struct test_ff_i_data): Likewise.
17928 (struct test_f_l_data): Likewise.
17929 (struct test_f_L_data): Likewise.
17930 (struct test_sincos_data): Likewise.
17931 (RUN_TEST_f_f): Do not handle ulps.
17932 (RUN_TEST_LOOP_f_f): Likewise.
17933 (RUN_TEST_2_f): Likewise.
17934 (RUN_TEST_LOOP_2_f): Likewise.
17935 (RUN_TEST_fff_f): Likewise.
17936 (RUN_TEST_LOOP_fff_f): Likewise.
17937 (RUN_TEST_c_f): Likewise.
17938 (RUN_TEST_LOOP_c_f): Likewise.
17939 (RUN_TEST_f_f1): Likewise.
17940 (RUN_TEST_LOOP_f_f1): Likewise.
17941 (RUN_TEST_fF_f1): Likewise.
17942 (RUN_TEST_LOOP_fF_f1): Likewise.
17943 (RUN_TEST_fI_f1): Likewise.
17944 (RUN_TEST_LOOP_fI_f1): Likewise.
17945 (RUN_TEST_ffI_f1): Likewise.
17946 (RUN_TEST_LOOP_ffI_f1): Likewise.
17947 (RUN_TEST_c_c): Likewise.
17948 (RUN_TEST_LOOP_c_c): Likewise.
17949 (RUN_TEST_cc_c): Likewise.
17950 (RUN_TEST_LOOP_cc_c): Likewise.
17951 (RUN_TEST_f_i): Likewise.
17952 (RUN_TEST_LOOP_f_i): Likewise.
17953 (RUN_TEST_f_i_tg): Likewise.
17954 (RUN_TEST_LOOP_f_i_tg): Likewise.
17955 (RUN_TEST_ff_i_tg): Likewise.
17956 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17957 (RUN_TEST_f_b): Likewise.
17958 (RUN_TEST_LOOP_f_b): Likewise.
17959 (RUN_TEST_f_b_tg): Likewise.
17960 (RUN_TEST_LOOP_f_b_tg): Likewise.
17961 (RUN_TEST_f_l): Likewise.
17962 (RUN_TEST_LOOP_f_l): Likewise.
17963 (RUN_TEST_f_L): Likewise.
17964 (RUN_TEST_LOOP_f_L): Likewise.
17965 (RUN_TEST_sincos): Likewise.
17966 (RUN_TEST_LOOP_sincos): Likewise.
17967
8269107f
JM
179682013-05-17 Joseph Myers <joseph@codesourcery.com>
17969
bb38759d
JM
17970 [BZ #15480]
17971 [BZ #15485]
17972 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17973 main case of finite arguments, set rounding mode to FE_TONEAREST
17974 and discard exceptions.
17975 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17976 exceptions.
17977 (remainder_tonearest_test_data): New variable.
17978 (remainder_test_tonearest): New function.
17979 (remainder_towardzero_test_data): New variable.
17980 (remainder_test_towardzero): New function.
17981 (remainder_downward_test_data): New variable.
17982 (remainder_test_downward): New function.
17983 (remainder_upward_test_data): New variable.
17984 (remainder_test_upward): New function.
17985 (main): Call the new test functions.
17986
a00bdcf0
JM
17987 * math/libm-test.inc (struct test_f_f1_data): Remove field
17988 extra_init.
17989 (struct test_fF_f1_data): Likewise.
17990 (struct test_ffI_f1_data): Likewise.
17991 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17992 based on value of EXTRA_EXPECTED.
17993 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17994 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17995 EXTRA_VAR based on value of EXTRA_EXPECTED.
17996 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17997 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17998 EXTRA_VAR based on value of EXTRA_EXPECTED.
17999 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18000 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18001 EXTRA_VAR based on value of EXTRA_EXPECTED.
18002 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18003 * math/gen-libm-test.pl (parse_args): Don't output initializers
18004 for extra output values.
18005
de407f79
JM
18006 * math/libm-test.inc (check_int): Expect result to be exactly
18007 equal to expected value and do not handle ulps.
18008 (check_long): Likewise.
18009 (check_longlong): Likewise.
18010
8269107f
JM
18011 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18012 exceptions.
18013 (cimag_test_data): Likewise.
18014 (conj_test_data): Likewise.
18015 (copysign_test_data): Likewise.
18016 (cproj_test_data): Likewise.
18017 (creal_test_data): Likewise.
18018 (fabs_test_data): Likewise.
18019 (fdim_test_data): Likewise.
18020 (finite_test_data): Likewise.
18021 (floor_test_data): Likewise.
18022 (fmax_test_data): Likewise.
18023 (fmin_test_data): Likewise.
18024 (fmod_test_data): Likewise.
18025 (fpclassify_test_data): Likewise.
18026 (frexp_test_data): Likewise.
18027 (ilogb_test_data): Likewise.
18028 (isfinite_test_data): Likewise.
18029 (isgreater_test_data): Likewise.
18030 (isgreaterequal_test_data): Likewise.
18031 (isinf_test_data): Likewise.
18032 (isless_test_data): Likewise.
18033 (islessequal_test_data): Likewise.
18034 (islessgreater_test_data): Likewise.
18035 (isnan_test_data): Likewise.
18036 (isnormal_test_data): Likewise.
18037 (issignaling_test_data): Likewise.
18038 (isunordered_test_data): Likewise.
18039 (ldexp_test_data): Likewise.
18040 (lrint_test_data): Likewise.
18041 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18042 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18043 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18044 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18045 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18046 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18047 test input.
18048 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18049 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18050 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18051 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18052 that test input.
18053 (lrint_downward_test_data): Test for "inexact" exceptions.
18054 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18055 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18056 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18057 test input.
18058 (lrint_upward_test_data): Test for "inexact" exceptions.
18059 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18060 test input.
18061 (llrint_test_data): Test for "inexact" exceptions.
18062 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18063 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18064 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18065 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18066 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18067 (llrint_downward_test_data): Test for "inexact" exceptions.
18068 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18069 (llrint_upward_test_data): Test for "inexact" exceptions.
18070 (logb_test_data): Likewise.
18071 (logb_downward_test_data): Likewise.
18072 (nextafter_test_data): Likewise.
18073 (nexttoward_test_data): Likewise.
18074 (remainder_test_data): Likewise.
18075 (remquo_test_data): Likewise.
18076 (scalbn_test_data): Likewise.
18077 (scalbln_test_data): Likewise.
18078 (signbit_test_data): Likewise.
18079 (sqrt_test_data): Likewise.
18080 (significand_test_data): Likewise.
18081
48a18de1
SP
180822013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18083
18084 [BZ #15424]
18085 * benchtests/bench-modf.c (struct args): Mark arg0 as
18086 volatile.
18087 * scripts/bench.pl: Mark members of struct args as volatile.
18088
13d3b41a
AZ
180892013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18090
68191c1d 18091 [BZ # 15497]
13d3b41a
AZ
18092 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18093 negative infinity on POWER6 or lower.
18094 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18095
2848b105
MR
180962013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18097
18098 [BZ #15442]
18099 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18100 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18101 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18102 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18103 (_FP_SETQNAN): New macro.
18104 (_FP_SETQNAN_SEMIRAW): Likewise.
18105 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18106 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18107 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18108 (FP_EXTEND): Use _FP_FRAC_SNANP.
18109 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18110 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18111 into account.
18112 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18113 New macro.
18114 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18115 Likewise.
18116
323e5cb7
JM
181172013-05-16 Joseph Myers <joseph@codesourcery.com>
18118
c58b274f
JM
18119 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18120 with DIVIDE_BY_ZERO_EXCEPTION.
18121 (gamma_test_data): Likewise.
18122 (lgamma_test_data): Likewise.
18123 (log_test_data): Likewise.
18124 (log10_test_data): Likewise.
18125 (log2_test_data): Likewise.
18126 (tgamma_test_data): Likewise.
18127
0ab34904
JM
18128 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18129 (acos_test_tonearest): Likewise.
18130 (acos_test_towardzero): Likewise.
18131 (acos_test_downward): Likewise.
18132 (acos_test_upward): Likewise.
18133 (acosh_test): Likewise.
18134 (asin_test): Likewise.
18135 (asin_test_tonearest): Likewise.
18136 (asin_test_towardzero): Likewise.
18137 (asin_test_downward): Likewise.
18138 (asin_test_upward): Likewise.
18139 (asinh_test): Likewise.
18140 (atan_test): Likewise.
18141 (atanh_test): Likewise.
18142 (atan2_test): Likewise.
18143 (cabs_test): Likewise.
18144 (cacos_test): Likewise.
18145 (cacosh_test): Likewise.
18146 (casin_test): Likewise.
18147 (casinh_test): Likewise.
18148 (catan_test): Likewise.
18149 (catanh_test): Likewise.
18150 (cbrt_test): Likewise.
18151 (ccos_test): Likewise.
18152 (ccosh_test): Likewise.
18153 (cexp_test): Likewise.
18154 (clog_test): Likewise.
18155 (clog10_test): Likewise.
18156 (cos_test): Likewise.
18157 (cos_test_tonearest): Likewise.
18158 (cos_test_towardzero): Likewise.
18159 (cos_test_downward): Likewise.
18160 (cos_test_upward): Likewise.
18161 (cosh_test): Likewise.
18162 (cosh_test_tonearest): Likewise.
18163 (cosh_test_towardzero): Likewise.
18164 (cosh_test_downward): Likewise.
18165 (cosh_test_upward): Likewise.
18166 (cpow_test): Likewise.
18167 (csin_test): Likewise.
18168 (csinh_test): Likewise.
18169 (csqrt_test): Likewise.
18170 (ctan_test): Likewise.
18171 (ctan_test_tonearest): Likewise.
18172 (ctan_test_towardzero): Likewise.
18173 (ctan_test_downward): Likewise.
18174 (ctan_test_upward): Likewise.
18175 (ctanh_test): Likewise.
18176 (ctanh_test_tonearest): Likewise.
18177 (ctanh_test_towardzero): Likewise.
18178 (ctanh_test_downward): Likewise.
18179 (ctanh_test_upward): Likewise.
18180 (erf_test): Likewise.
18181 (erfc_test): Likewise.
18182 (exp_test): Likewise.
18183 (exp_test_tonearest): Likewise.
18184 (exp_test_towardzero): Likewise.
18185 (exp_test_downward): Likewise.
18186 (exp_test_upward): Likewise.
18187 (exp10_test): Likewise.
18188 (exp2_test): Likewise.
18189 (expm1_test): Likewise.
18190 (fmod_test): Likewise.
18191 (gamma_test): Likewise.
18192 (hypot_test): Likewise.
18193 (j0_test): Likewise.
18194 (j1_test): Likewise.
18195 (jn_test): Likewise.
18196 (lgamma_test): Likewise.
18197 (log_test): Likewise.
18198 (log10_test): Likewise.
18199 (log1p_test): Likewise.
18200 (log2_test): Likewise.
18201 (logb_test_downward): Likewise.
18202 (pow_test): Likewise.
18203 (pow_test_tonearest): Likewise.
18204 (pow_test_towardzero): Likewise.
18205 (pow_test_downward): Likewise.
18206 (pow_test_upward): Likewise.
18207 (remainder_test): Likewise.
18208 (remquo_test): Likewise.
18209 (sin_test): Likewise.
18210 (sin_test_tonearest): Likewise.
18211 (sin_test_towardzero): Likewise.
18212 (sin_test_downward): Likewise.
18213 (sin_test_upward): Likewise.
18214 (sincos_test): Likewise.
18215 (sinh_test): Likewise.
18216 (sinh_test_tonearest): Likewise.
18217 (sinh_test_towardzero): Likewise.
18218 (sinh_test_downward): Likewise.
18219 (sinh_test_upward): Likewise.
18220 (sqrt_test): Likewise.
18221 (tan_test): Likewise.
18222 (tan_test_tonearest): Likewise.
18223 (tan_test_towardzero): Likewise.
18224 (tan_test_downward): Likewise.
18225 (tan_test_upward): Likewise.
18226 (tanh_test): Likewise.
18227 (tgamma_test): Likewise.
18228 (y0_test): Likewise.
18229 (y1_test): Likewise.
18230 (yn_test): Likewise.
18231
323e5cb7
JM
18232 * math/gen-libm-test.pl (adjust_arg): Remove function.
18233 (special_function): Remove argument $in_func. Only handle
18234 generating output for tables of tests, not inside functions.
18235 (parse_args): Likewise.
18236 (generate_testfile): Remove variable $in_func. Update call to
18237 parse_args.
18238 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18239 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18240 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18241 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18242 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18243 (MAX_VALUE_INIT): Rename macro to max_value.
18244 (MIN_VALUE_INIT): Rename macro to min_value.
18245 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18246 (plus_zero): Remove variable.
18247 (minus_zero): Likewise.
18248 (plus_infty): Likewise.
18249 (minus_infty): Likewise.
18250 (qnan_value): Likewise.
18251 (max_value): Likewise.
18252 (min_value): Likewise.
18253 (min_subnorm_value): Likewise.
18254
e054f494
RA
182552013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18256
18257 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18258 uint64_t or uint32_t usage.
18259 * crypt/sha256-block.c: Likewise.
18260 * crypt/sha256-crypt.c: Likewise.
18261 * crypt/sha256.c: Likewise.
18262 * crypt/sha512-block.c: Likewise.
18263 * crypt/sha512-crypt.c: Likewise.
18264 * crypt/sha512.c: Likewise.
18265 * debug/backtrace-tst.c: Likewise.
18266 * debug/pcprofiledump.c: Likewise.
18267 * elf/cache.c: Likewise.
18268 * elf/dl-cache.c: Likewise.
18269 * elf/dl-misc.c: Likewise.
18270 * elf/dl-profile.c: Likewise.
18271 * elf/dl-support.c: Likewise.
18272 * elf/ldconfig.c: Likewise.
18273 * elf/sprof.c: Likewise.
18274 * iconv/dummy-repertoire.c: Likewise.
18275 * iconv/iconv_charmap.c: Likewise.
18276 * iconv/skeleton.c: Likewise.
18277 * iconvdata/8bit-generic.c: Likewise.
18278 * iconvdata/cp737.h: Likewise.
18279 * iconvdata/cp775.h: Likewise.
18280 * iconvdata/ibm1008.h: Likewise.
18281 * iconvdata/ibm1025.h: Likewise.
18282 * iconvdata/ibm1046.h: Likewise.
18283 * iconvdata/ibm1097.h: Likewise.
18284 * iconvdata/ibm1112.h: Likewise.
18285 * iconvdata/ibm1122.h: Likewise.
18286 * iconvdata/ibm1123.h: Likewise.
18287 * iconvdata/ibm1124.h: Likewise.
18288 * iconvdata/ibm1129.h: Likewise.
18289 * iconvdata/ibm1130.h: Likewise.
18290 * iconvdata/ibm1132.h: Likewise.
18291 * iconvdata/ibm1133.h: Likewise.
18292 * iconvdata/ibm1137.h: Likewise.
18293 * iconvdata/ibm1140.h: Likewise.
18294 * iconvdata/ibm1141.h: Likewise.
18295 * iconvdata/ibm1142.h: Likewise.
18296 * iconvdata/ibm1143.h: Likewise.
18297 * iconvdata/ibm1144.h: Likewise.
18298 * iconvdata/ibm1145.h: Likewise.
18299 * iconvdata/ibm1146.h: Likewise.
18300 * iconvdata/ibm1147.h: Likewise.
18301 * iconvdata/ibm1148.h: Likewise.
18302 * iconvdata/ibm1149.h: Likewise.
18303 * iconvdata/ibm1153.h: Likewise.
18304 * iconvdata/ibm1154.h: Likewise.
18305 * iconvdata/ibm1155.h: Likewise.
18306 * iconvdata/ibm1156.h: Likewise.
18307 * iconvdata/ibm1157.h: Likewise.
18308 * iconvdata/ibm1158.h: Likewise.
18309 * iconvdata/ibm1160.h: Likewise.
18310 * iconvdata/ibm1161.h: Likewise.
18311 * iconvdata/ibm1162.h: Likewise.
18312 * iconvdata/ibm1163.h: Likewise.
18313 * iconvdata/ibm1164.h: Likewise.
18314 * iconvdata/ibm1166.h: Likewise.
18315 * iconvdata/ibm1167.h: Likewise.
18316 * iconvdata/ibm12712.h: Likewise.
18317 * iconvdata/ibm1390.h: Likewise.
18318 * iconvdata/ibm1399.h: Likewise.
18319 * iconvdata/ibm16804.h: Likewise.
18320 * iconvdata/ibm4517.h: Likewise.
18321 * iconvdata/ibm4899.h: Likewise.
18322 * iconvdata/ibm4909.h: Likewise.
18323 * iconvdata/ibm4971.h: Likewise.
18324 * iconvdata/ibm5347.h: Likewise.
18325 * iconvdata/ibm803.h: Likewise.
18326 * iconvdata/ibm856.h: Likewise.
18327 * iconvdata/ibm901.h: Likewise.
18328 * iconvdata/ibm902.h: Likewise.
18329 * iconvdata/ibm9030.h: Likewise.
18330 * iconvdata/ibm9066.h: Likewise.
18331 * iconvdata/ibm921.h: Likewise.
18332 * iconvdata/ibm922.h: Likewise.
18333 * iconvdata/ibm9448.h: Likewise.
18334 * iconvdata/isiri-3342.h: Likewise.
18335 * iconvdata/jis0201.h: Likewise.
18336 * include/link.h: Likewise.
18337 * include/netdb.h: Likewise.
18338 * inet/check_native.c: Likewise.
18339 * inet/check_pf.c: Likewise.
18340 * inet/getipv4sourcefilter.c: Likewise.
18341 * inet/getnameinfo.c: Likewise.
18342 * inet/getsourcefilter.c: Likewise.
18343 * inet/htonl.c: Likewise.
18344 * inet/setipv4sourcefilter.c: Likewise.
18345 * inet/setsourcefilter.c: Likewise.
18346 * inet/test-inet6_opt.c: Likewise.
18347 * inet/tst-network.c: Likewise.
18348 * locale/C-collate.c: Likewise.
18349 * locale/C-ctype.c: Likewise.
18350 * locale/C-time.c: Likewise.
18351 * locale/C-translit.h: Likewise.
18352 * locale/loadarchive.c: Likewise.
18353 * locale/programs/3level.h: Likewise.
18354 * locale/programs/charmap.c: Likewise.
18355 * locale/programs/charmap.h: Likewise.
18356 * locale/programs/ld-address.c: Likewise.
18357 * locale/programs/ld-collate.c: Likewise.
18358 * locale/programs/ld-ctype.c: Likewise.
18359 * locale/programs/ld-identification.c: Likewise.
18360 * locale/programs/ld-measurement.c: Likewise.
18361 * locale/programs/ld-messages.c: Likewise.
18362 * locale/programs/ld-monetary.c: Likewise.
18363 * locale/programs/ld-name.c: Likewise.
18364 * locale/programs/ld-numeric.c: Likewise.
18365 * locale/programs/ld-paper.c: Likewise.
18366 * locale/programs/ld-telephone.c: Likewise.
18367 * locale/programs/ld-time.c: Likewise.
18368 * locale/programs/linereader.c: Likewise.
18369 * locale/programs/locale.c: Likewise.
18370 * locale/programs/locarchive.c: Likewise.
18371 * locale/programs/locfile.h: Likewise.
18372 * locale/programs/repertoire.c: Likewise.
18373 * locale/programs/simple-hash.c: Likewise.
18374 * locale/programs/simple-hash.h: Likewise.
18375 * malloc/memusage.c: Likewise.
18376 * malloc/memusagestat.c: Likewise.
18377 * nis/nis_defaults.c: Likewise.
18378 * nis/nis_hash.c: Likewise.
18379 * nis/nis_print.c: Likewise.
18380 * nis/nis_xdr.c: Likewise.
18381 * nscd/connections.c: Likewise.
18382 * nscd/hstcache.c: Likewise.
18383 * nscd/nscd_gethst_r.c: Likewise.
18384 * nscd/nscd_getserv_r.c: Likewise.
18385 * nscd/nscd_helper.c: Likewise.
18386 * nscd/servicescache.c: Likewise.
18387 * nss/makedb.c: Likewise.
18388 * nss/nss_db/db-XXX.c: Likewise.
18389 * nss/nss_db/db-initgroups.c: Likewise.
18390 * nss/nss_db/db-netgrp.c: Likewise.
18391 * nss/nss_files/files-network.c: Likewise.
18392 * nss/nss_files/files-parse.c: Likewise.
18393 * posix/bug-regex5.c: Likewise.
18394 * posix/fnmatch_loop.c: Likewise.
18395 * posix/regcomp.c: Likewise.
18396 * posix/regexec.c: Likewise.
18397 * posix/tst-rfc3484-2.c: Likewise.
18398 * posix/tst-rfc3484-3.c: Likewise.
18399 * posix/tst-rfc3484.c: Likewise.
18400 * resolv/nss_dns/dns-canon.c: Likewise.
18401 * resolv/nss_dns/dns-network.c: Likewise.
18402 * resolv/res_init.c: Likewise.
18403 * resolv/res_mkquery.c: Likewise.
18404 * resolv/tst-aton.c: Likewise.
18405 * stdlib/cxa_atexit.c: Likewise.
18406 * stdlib/cxa_finalize.c: Likewise.
18407 * stdlib/gen-fpioconst.c: Likewise.
18408 * stdlib/strtol_l.c: Likewise.
18409 * string/tst-endian.c: Likewise.
18410 * sunrpc/auth_des.c: Likewise.
18411 * sunrpc/clnt_udp.c: Likewise.
18412 * sunrpc/rtime.c: Likewise.
18413 * sunrpc/svcauth_des.c: Likewise.
18414 * sunrpc/xdr.c: Likewise.
18415 * sunrpc/xdr_intXX_t.c: Likewise.
18416 * sunrpc/xdr_rec.c: Likewise.
18417 * sysdeps/generic/ldconfig.h: Likewise.
18418 * sysdeps/generic/ldsodefs.h: Likewise.
18419 * sysdeps/generic/memusage.h: Likewise.
18420 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18421 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18422 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18423 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18424 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18425 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18426 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18427 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18428 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18429 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18430 * sysdeps/posix/getaddrinfo.c: Likewise.
18431 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18432 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18433 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18434 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18435 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18436 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18437 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18438 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18439 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18440 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18441 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18442 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18443 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18444 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18445 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18446 * sysdeps/x86_64/dl-tls.h: Likewise.
18447 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18448 * time/alt_digit.c: Likewise.
18449 * time/era.c: Likewise.
18450 * wcsmbs/tst-c16c32-1.c: Likewise.
18451
8c75f674
JM
184522013-05-16 Joseph Myers <joseph@codesourcery.com>
18453
18454 * math/libm-test.inc (struct test_sincos_data): New type.
18455 (RUN_TEST_LOOP_sincos): New macro.
18456 (sincos_test_data): New variable.
18457 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18458
e6e49e59
RH
184592013-05-16 Richard Henderson <rth@redhat.com>
18460
18461 * math/atest-exp2.c (LIMB64): New macro.
18462 (CONSTSZ): New macro.
18463 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18464 (hexdig): Move ...
18465 (print_mpn_fp): ... to function scope.
18466 (read_mpn_hex): Remove.
18467 (get_log2): Remove.
18468 (exp2_mpn): Use mp_log2.
18469 (main): Use mp_exp1.
18470
15c7c18d
JM
184712013-05-16 Joseph Myers <joseph@codesourcery.com>
18472
105a07df
JM
18473 * math/libm-test.inc: Remove comment about not testing "inexact"
18474 exceptions.
18475 (INEXACT_EXCEPTION): New macro.
18476 (NO_INEXACT_EXCEPTION): Likewise.
18477 (INVALID_EXCEPTION_OK): Update value.
18478 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18479 (OVERFLOW_EXCEPTION_OK): Likewise.
18480 (UNDERFLOW_EXCEPTION_OK): Likewise.
18481 (IGNORE_ZERO_INF_SIGN): Likewise.
18482 (ERRNO_UNCHANGED): Likewise.
18483 (ERRNO_EDOM): Likewise.
18484 (ERRNO_ERANGE): Likewise.
18485 (test_exceptions): Handle testing "inexact" exceptions.
18486 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18487 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18488 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18489 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18490 INEXACT_EXCEPTION.
18491 (rint_towardzero_test_data): Likewise.
18492 (rint_downward_test_data): Likewise.
18493 (rint_upward_test_data): Likewise.
18494
e9eee333
JM
18495 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18496 with OVERFLOW_EXCEPTION.
18497 (exp10_test_data): Likewise.
18498 (exp2_test_data): Likewise.
18499 (expm1_test_data): Likewise.
18500 (lgamma_test_data): Likewise.
18501 (pow_test_data): Likewise.
18502 (tgamma_test_data): Likewise.
18503 (yn_test_data): Remove duplicate test of overflow.
18504
1c38ff73
JM
18505 * math/libm-test.inc (struct test_cc_c_data): New type.
18506 (RUN_TEST_LOOP_cc_c): New macro.
18507 (cpow_test_data): New variable.
18508 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18509
15c7c18d
JM
18510 * math/libm-test.inc (struct test_f_L_data): New type.
18511 (RUN_TEST_LOOP_f_L): New macro.
18512 (llrint_test_data): New variable.
18513 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18514 (llrint_tonearest_test_data): New variable.
18515 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18516 (llrint_towardzero_test_data): New variable.
18517 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18518 (llrint_downward_test_data): New variable.
18519 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18520 (llrint_upward_test_data): New variable.
18521 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18522 (llround_test_data): New variable.
18523 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18524
f137ff13
PC
185252013-05-13 Peter Collingbourne <pcc@google.com>
18526
18527 * math/atest-exp2.c (get_log2): Remove const attribute.
18528
3608cb24
JM
185292013-05-15 Joseph Myers <joseph@codesourcery.com>
18530
18531 * math/libm-test.inc (struct test_f_l_data): New type.
18532 (RUN_TEST_LOOP_f_l): New macro.
18533 (lrint_test_data): New variable.
18534 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18535 (lrint_tonearest_test_data): New variable.
18536 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18537 (lrint_towardzero_test_data): New variable.
18538 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18539 (lrint_downward_test_data): New variable.
18540 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18541 (lrint_upward_test_data): New variable.
18542 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18543 (lround_test_data): New variable.
18544 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18545
39b1f617
PC
185462013-05-15 Peter Collingbourne <pcc@google.com>
18547
1deff3dc
PC
18548 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18549 (EXTRACT_WORDS64) Use where appropriate.
18550 (INSERT_WORDS64) Likewise.
18551
791f3ba0
PC
18552 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18553 constraints with x constraints.
18554 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18555
39b1f617
PC
18556 * malloc/obstack.c (_obstack_compat): Add initializer.
18557
12fba011
EM
185582013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18559
18560 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18561 si_trapno and add si_addr_lsb to _sifields.sigfault.
18562 (si_trapno): Remove macro.
18563 (si_addr_lsb): Define new macro.
18564 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18565
d369f531
JM
185662013-05-15 Joseph Myers <joseph@codesourcery.com>
18567
b861c6c4
JM
18568 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18569 instead of TEST_f_l.
18570 (llrint_test_tonearest): Likewise.
18571 (llrint_test_towardzero): Likewise.
18572 (llrint_test_downward): Likewise.
18573 (llrint_test_upward): Likewise.
18574 (llround_test): Likewise.
18575
7abeee12
JM
18576 * math/libm-test.inc (struct test_f_i_data): Add comment.
18577 (RUN_TEST_LOOP_f_b): New macro.
18578 (RUN_TEST_LOOP_f_b_tg): Likewise.
18579 (finite_test_data): New variable.
18580 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18581 (isfinite_test_data): New variable.
18582 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18583 (isinf_test_data): New variable.
18584 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18585 (isnan_test_data): New variable.
18586 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18587 (isnormal_test_data): New variable.
18588 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18589 (issignaling_test_data): New variable.
18590 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18591 (signbit_test_data): New variable.
18592 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18593
cbe8c4d3
JM
18594 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18595 with INVALID_EXCEPTION.
18596 (acosh_test_data): Likewise.
18597 (asin_test_data): Likewise.
18598 (atanh_test_data): Likewise.
18599 (fmod_test_data): Likewise.
18600 (log_test_data): Likewise.
18601 (log10_test_data): Likewise.
18602 (log2_test_data): Likewise.
18603 (pow_test_data): Likewise.
18604 (sqrt_test_data): Likewise.
18605 (y0_test_data): Likewise.
18606 (y1_test_data): Likewise.
18607 (yn_test_data): Likewise.
18608
5575c0e5
JM
18609 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18610 function contents.
18611
d369f531
JM
18612 * math/libm-test.inc (struct test_ff_i_data): New type.
18613 (RUN_TEST_LOOP_ff_i_tg): New macro.
18614 (isgreater_test_data): New variable.
18615 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18616 (isgreaterequal_test_data): New variable.
18617 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18618 (isless_test_data): New variable.
18619 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18620 (islessequal_test_data): New variable.
18621 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18622 (islessgreater_test_data): New variable.
18623 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18624 (isunordered_test_data): New variable.
18625 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18626
781fd748
DM
186272013-05-14 David S. Miller <davem@davemloft.net>
18628
18629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18630
87aa21df
JM
186312013-05-14 Joseph Myers <joseph@codesourcery.com>
18632
5e908270
JM
18633 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18634
f71172e5
JM
18635 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18636 extra_test to int.
18637 (struct test_f_i_data): Change type of max_ulp to int.
18638
8cfa635a
JM
18639 * math/libm-test.inc (test_ffI_f1_data): New type.
18640 (RUN_TEST_LOOP_ffI_f1): New macro.
18641 (remquo_test_data): New variable.
18642 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18643
2bcb36b2
JM
18644 * setjmp/tst-setjmp-fp.c: New file.
18645 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18646 (link-libm): New variable.
18647 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18648
acbd839a
JM
18649 * math/libm-test.inc (struct test_f_i_data): New type.
18650 (RUN_TEST_LOOP_f_i): New macro.
18651 (RUN_TEST_LOOP_f_i_tg): Likewise.
18652 (fpclassify_test_data): New variable.
18653 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18654 (ilogb_test_data): New variable.
18655 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18656
e414d745
JM
18657 * math/libm-test.inc (scalbln_test): Correct function name in END
18658 call.
18659
d9c2a0fd
JM
18660 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18661 (RUN_TEST_LOOP_fI_f1): New macro.
18662 (frexp_test_data): New variable.
18663 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18664
9dc9095d
JM
18665 * math/libm-test.inc (struct test_fF_f1_data): New type.
18666 (RUN_TEST_LOOP_fF_f1): New macro.
18667 (modf_test_data): New variable.
18668 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18669
87aa21df
JM
18670 * math/libm-test.inc (struct test_f_f1_data): New type.
18671 (RUN_TEST_LOOP_f_f1): New macro.
18672 (gamma_test_data): New variable.
18673 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18674 (lgamma_test_data): New variable.
18675 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18676
141af660
CD
186772013-05-13 Carlos O'Donell <carlos@redhat.com>
18678
18679 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18680 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18681 (main): Comment "tls" pseudo-hwcap.
18682
6d33265c
JM
186832013-05-13 Joseph Myers <joseph@codesourcery.com>
18684
68fc074c
JM
18685 * math/libm-test.inc (struct test_fl_f_data): New type.
18686 (RUN_TEST_LOOP_fl_f): New variable.
18687 (scalbln_test_data): New variable.
18688 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18689
243216e1
JM
18690 * math/libm-test.inc (struct test_fi_f_data): New type.
18691 (RUN_TEST_LOOP_fi_f): New macro.
18692 (ldexp_test_data): New variable.
18693 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18694 (scalbn_test_data): New variable.
18695 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18696
6a1992e2
JM
18697 * math/libm-test.inc (struct test_c_f_data): New type.
18698 (RUN_TEST_LOOP_c_f): New macro.
18699 (cabs_test_data): New variable.
18700 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18701 (carg_test_data): New variable.
18702 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18703 (cimag_test_data): New variable.
18704 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18705 (creal_test_data): New variable.
18706 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18707
0e400df5
JM
18708 * math/libm-test.inc (struct test_if_f_data): New type.
18709 (RUN_TEST_LOOP_if_f): New macro.
18710 (jn_test_data): New variable.
18711 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18712 (yn_test_data): New variable.
18713 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18714
6d33265c
JM
18715 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18716
f98ece5f
AZ
187172013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18718
18719 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18720 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18721
0f7d347b
SP
187222013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18723
43fe811b
SP
18724 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18725 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18726 (bench-deps): Add bench-timing.h.
18727 * benchtests-bench-skeleton.c: Include bench-timing.h.
18728 (main): Use TIMING_* macros instead of clock_gettime.
18729 * benchtests/bench-timing.h: New file.
18730
0f7d347b
SP
18731 [BZ #14582]
18732 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18733 Renamed from _LIB_VERSION.
18734 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18735
601a3a5f
JM
187362013-05-12 Joseph Myers <joseph@codesourcery.com>
18737
4f184d30
JM
18738 * math/libm-test.inc (struct test_fff_f_data): New type.
18739 (RUN_TEST_LOOP_fff_f): New macro.
18740 (fma_test_data): New variable.
18741 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18742 (fma_towardzero_test_data): New variable.
18743 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18744 (fma_downward_test_data): New variable.
18745 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18746 (fma_upward_test_data): New variable.
18747 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18748
08198877
JM
18749 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18750 (struct test_c_c_data): New type.
18751 (RUN_TEST_LOOP_c_c): New macro.
18752 (cacos_test_data): New variable.
18753 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18754 (cacosh_test_data): New variable.
18755 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18756 (casin_test_data): New variable.
18757 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18758 (casinh_test_data): New variable.
18759 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18760 (catan_test_data): New variable.
18761 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18762 (catanh_test_data): New variable.
18763 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18764 (ccos_test_data): New variable.
18765 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18766 (ccosh_test_data): New variable.
18767 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18768 (cexp_test_data): New variable.
18769 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18770 (clog_test_data): New variable.
18771 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18772 (clog10_test_data): New variable.
18773 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18774 (conj_test_data): New variable.
18775 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18776 (cproj_test_data): New variable.
18777 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18778 (csin_test_data): New variable.
18779 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18780 (csinh_test_data): New variable.
18781 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18782 (csqrt_test_data): New variable.
18783 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18784 (ctan_test_data): New variable.
18785 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18786 (ctan_tonearest_test_data): New variable.
18787 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18788 (ctan_towardzero_test_data): New variable.
18789 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18790 (ctan_downward_test_data): New variable.
18791 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18792 (ctan_upward_test_data): New variable.
18793 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18794 (ctanh_test_data): New variable.
18795 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18796 (ctanh_tonearest_test_data): New variable.
18797 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18798 (ctanh_towardzero_test_data): New variable.
18799 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18800 (ctanh_downward_test_data): New variable.
18801 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18802 (ctanh_upward_test_data): New variable.
18803 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18804 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18805 of BUILD_COMPLEX.
18806
601a3a5f
JM
18807 * math/libm-test.inc (struct test_ff_f_data): New type.
18808 (struct test_ff_f_data_nexttoward): Likewise.
18809 (RUN_TEST_LOOP_2_f): New macro.
18810 (RUN_TEST_LOOP_ff_f): Likewise.
18811 (atan2_test_data): New variable.
18812 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18813 (copysign_test_data): New variable.
18814 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18815 (fdim_test_data): New variable.
18816 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18817 (fmax_test_data): New variable.
18818 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18819 (fmin_test_data): New variable.
18820 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18821 (fmod_test_data): New variable.
18822 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18823 (hypot_test_data): New variable.
18824 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18825 (nextafter_test_data): New variable.
18826 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18827 (nexttoward_test_data): New variable.
18828 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18829 (pow_test_data): New variable.
18830 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18831 (pow_tonearest_test_data): New variable.
18832 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18833 (pow_towardzero_test_data): New variable.
18834 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18835 (pow_downward_test_data): New variable.
18836 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18837 (pow_upward_test_data): New variable.
18838 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18839 (remainder_test_data): New variable.
18840 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18841 (scalb_test_data): New variable.
18842 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18843 * sysdeps/i386/fpu/libm-test-ulps: Update.
18844
74c57478
JM
188452013-05-11 Joseph Myers <joseph@codesourcery.com>
18846
8329e4da
JM
18847 * math/libm-test.inc (fma_test): Use max_value instead of local
18848 variable fltmax.
18849 (nextafter_test): Likewise.
18850
74c57478
JM
18851 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18852 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18853 (acos_downward_test_data): New variable.
18854 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18855 (acos_upward_test_data): New variable.
18856 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18857 (acosh_test_data): New variable.
18858 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18859 (asin_test_data): New variable.
18860 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18861 (asin_tonearest_test_data): New variable.
18862 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18863 (asin_towardzero_test_data): New variable.
18864 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18865 (asin_downward_test_data): New variable.
18866 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18867 (asin_upward_test_data): New variable.
18868 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18869 (asinh_test_data): New variable.
18870 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18871 (atan_test_data): New variable.
18872 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18873 (atanh_test_data): New variable.
18874 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18875 (cbrt_test_data): New variable.
18876 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18877 (ceil_test_data): New variable.
18878 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18879 (cos_test_data): New variable.
18880 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18881 (cos_tonearest_test_data): New variable.
18882 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18883 (cos_towardzero_test_data): New variable.
18884 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18885 (cos_downward_test_data): New variable.
18886 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18887 (cos_upward_test_data): New variable.
18888 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18889 (cosh_test_data): New variable.
18890 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18891 (cosh_tonearest_test_data): New variable.
18892 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18893 (cosh_towardzero_test_data): New variable.
18894 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18895 (cosh_downward_test_data): New variable.
18896 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18897 (cosh_upward_test_data): New variable.
18898 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18899 (erf_test_data): New variable.
18900 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18901 (erfc_test_data): New variable.
18902 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18903 (exp_test_data): New variable.
18904 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18905 (exp_tonearest_test_data): New variable.
18906 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18907 (exp_towardzero_test_data): New variable.
18908 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18909 (exp_downward_test_data): New variable.
18910 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18911 (exp_upward_test_data): New variable.
18912 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18913 (exp10_test_data): New variable.
18914 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18915 (exp2_test_data): New variable.
18916 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18917 (expm1_test_data): New variable.
18918 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18919 (fabs_test_data): New variable.
18920 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18921 (floor_test_data): New variable.
18922 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18923 (j0_test_data): New variable.
18924 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18925 (j1_test_data): New variable.
18926 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18927 (log_test_data): New variable.
18928 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18929 (log10_test_data): New variable.
18930 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18931 (log1p_test_data): New variable.
18932 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18933 (log2_test_data): New variable.
18934 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18935 (logb_test_data): New variable.
18936 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18937 (logb_downward_test_data): New variable.
18938 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18939 (nearbyint_test_data): New variable.
18940 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18941 (rint_test_data): New variable.
18942 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18943 (rint_tonearest_test_data): New variable.
18944 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18945 (rint_towardzero_test_data): New variable.
18946 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18947 (rint_downward_test_data): New variable.
18948 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18949 (rint_upward_test_data): New variable.
18950 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18951 (round_test_data): New variable.
18952 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18953 (sin_test_data): New variable.
18954 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18955 (sin_tonearest_test_data): New variable.
18956 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18957 (sin_towardzero_test_data): New variable.
18958 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18959 (sin_downward_test_data): New variable.
18960 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18961 (sin_upward_test_data): New variable.
18962 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18963 (sinh_test_data): New variable.
18964 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18965 (sinh_tonearest_test_data): New variable.
18966 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18967 (sinh_towardzero_test_data): New variable.
18968 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18969 (sinh_downward_test_data): New variable.
18970 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18971 (sinh_upward_test_data): New variable.
18972 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18973 (sqrt_test_data): New variable.
18974 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18975 (tan_test_data): New variable.
18976 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18977 (tan_tonearest_test_data): New variable.
18978 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18979 (tan_towardzero_test_data): New variable.
18980 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18981 (tan_downward_test_data): New variable.
18982 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18983 (tan_upward_test_data): New variable.
18984 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18985 (tanh_test_data): New variable.
18986 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18987 (tgamma_test_data): New variable.
18988 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18989 (trunc_test_data): New variable.
18990 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18991 (y0_test_data): New variable.
18992 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18993 (y1_test_data): New variable.
18994 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18995 (significand_test_data): New variable.
18996 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18997
7187d844
CG
189982013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18999
19000 [BZ #12387]
19001 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19002
f63fae73
PT
190032013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19004
19005 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19006
8a67a4b3
AJ
190072013-05-10 Andreas Jaeger <aj@suse.de>
19008
19009 [BZ #15448]
19010 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19011 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19012
51df539d
JM
190132013-05-10 Joseph Myers <joseph@codesourcery.com>
19014
19015 * math/gen-libm-test.pl (adjust_arg): New function.
19016 (special_functions): Handle generating output in both functions
19017 and arrays.
19018 (parse_args): Likewise.
19019 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19020 $in_func argument to parse_args.
19021 * math/libm-test.inc (struct test_f_f_data): New type.
19022 (IF_ROUND_INIT_): New macro.
19023 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19024 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19025 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19026 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19027 (ROUND_RESTORE_): Likewise.
19028 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19029 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19030 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19031 (ROUND_RESTORE_FE_UPWARD): Likewise.
19032 (RUN_TEST_LOOP_f_f): New macro.
19033 (acos_test_data): New variable.
19034 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19035 (acos_tonearest_test_data): New variable.
19036 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19037
5c637fe5
SP
190382013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19039
19040 * benchtests/bench-skeleton.c (startup): Fix coding style.
19041
ab2b9461
JM
190422013-05-10 Joseph Myers <joseph@codesourcery.com>
19043
19044 [BZ #6809]
19045 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19046 negative infinity argument.
19047 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19048 negative infinity argument.
19049 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19050 negative infinity argument.
19051 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19052 domain errors.
19053
4c0fe6fe
FW
190542013-05-10 Florian Weimer <fweimer@redhat.com>
19055
19056 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19057 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19058 * iconv/iconv_prog.c (main): Likewise.
19059 * locale/programs/charmap-dir.c (charmap_readdir)
19060 (fopen_uncompressed): Likewise.
19061 * locale/programs/locfile.c (siblings_uncached)
19062 (write_locale_data): Use lstat64 instead of lstat.
19063 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19064 stat.
19065
a3375d29
AJ
190662013-05-10 Andreas Jaeger <aj@suse.de>
19067
19068 [BZ #15395]
19069 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19070 localization.
19071 Include <locale.h>.
19072
36129722
CD
190732013-05-09 Carlos O'Donell <carlos@redhat.com>
19074
19075 * elf/dl-close.c (_dl_close_worker): Add comments.
19076
faa7f811
JM
190772013-05-09 Joseph Myers <joseph@codesourcery.com>
19078
ed41ffef
JM
19079 [BZ #15359]
19080 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19081 high part of pi/2.
19082 (__ieee754_rem_pio2l): Update comments.
19083
d0213cd0
JM
19084 [BZ #15429]
19085 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19086 high part of pi/2.
19087 (__ieee754_rem_pio2l): Update comments.
19088
0d3e777a
JM
19089 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19090 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19091
24f56066
JM
19092 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19093 M_PI_4l.
19094
faa7f811
JM
19095 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19096 (M_PI_34_LOG10El): Likewise.
19097 (M_PI2_LOG10El): Likewise.
19098 (M_PI4_LOG10El): Likewise.
19099 (M_PI_LOG10El): Likewise.
19100
e9a5e0fd
AZ
191012013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19102
19103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19104
d8cd06db
JM
191052013-05-08 Joseph Myers <joseph@codesourcery.com>
19106
a0d9f9d7
JM
19107 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19108 (MINUS_ZERO_INIT): Likewise.
19109 (PLUS_INFTY_INIT): Likewise.
19110 (MINUS_INFTY_INIT): Likewise.
19111 (QNAN_VALUE_INIT): Likewise.
19112 (MAX_VALUE_INIT): Likewise.
19113 (MIN_VALUE_INIT): Likewise.
19114 (MIN_SUBNORM_VALUE_INIT): Likewise.
19115 (plus_zero): Initialize with PLUS_ZERO_INIT.
19116 (minus_zero): Initialize with MINUS_ZERO_INIT.
19117 (plus_infty): Initialize with PLUS_INFTY_INIT.
19118 (minus_infty): Initialize with MINUS_INFTY_INIT.
19119 (qnan_value): Initialize with QNAN_VALUE_INIT.
19120 (max_value): Initialize with MAX_VALUE_INIT.
19121 (min_value): Initialize with MIN_VALUE_INIT.
19122 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19123
ae08db3b
JM
19124 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19125 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19126 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19127 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19128
f44bf14a
JM
19129 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19130 (RUN_TEST_2_f): Likewise.
19131 (RUN_TEST_ff_f): Likewise.
19132 (RUN_TEST_fi_f): Likewise.
19133 (RUN_TEST_fl_f): Likewise.
19134 (RUN_TEST_fff_f): Likewise.
19135 (RUN_TEST_c_f): Likewise.
19136 (RUN_TEST_f_f1): Likewise.
19137 (RUN_TEST_fF_f1): Likewise.
19138 (RUN_TEST_fI_f1): Likewise.
19139 (RUN_TEST_ffI_f1): Likewise.
19140 (RUN_TEST_c_c): Likewise.
19141 (RUN_TEST_cc_c): Likewise.
19142 (RUN_TEST_f_i): Likewise.
19143 (RUN_TEST_f_i_tg): Likewise.
19144 (RUN_TEST_ff_i_tg): Likewise.
19145 (RUN_TEST_f_b): Likewise.
19146 (RUN_TEST_f_b_tg): Likewise.
19147 (RUN_TEST_f_l): Likewise.
19148 (RUN_TEST_f_L): Likewise.
19149 (RUN_TEST_sincos): Likewise.
19150 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19151 whether to show exceptions. Do not include ");\n" in return
19152 value.
19153 (special_functions): Output call to RUN_TEST_sincos instead of
19154 check_float calls. Update calls to new_test.
19155 (parse_args): Output call to single RUN_TEST_* macro instead of
19156 check_* calls and other assignments. Update calls to new_test.
19157
d8cd06db
JM
19158 [BZ #2546]
19159 [BZ #2560]
19160 [BZ #5159]
19161 [BZ #15426]
19162 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19163 input to result for tgamma overflow.
19164 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19165 (gamma_coeff): New variable.
19166 (NCOEFF): New macro.
19167 (gamma_positive): New function.
19168 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19169 underflow here. Use gamma_positive instead of exp (lgamma) for
19170 other arguments.
19171 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19172 (gamma_coeff): New variable.
19173 (NCOEFF): New macro.
19174 (gammaf_positive): New function.
19175 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19176 underflow here. Use gamma_positive instead of exp (lgamma) for
19177 other arguments.
19178 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19179 (gamma_coeff): New variable.
19180 (NCOEFF): New macro.
19181 (gammal_positive): New function.
19182 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19183 underflow here. Use gamma_positive instead of exp (lgamma) for
19184 other arguments.
19185 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19186 (gamma_coeff): New variable.
19187 (NCOEFF): New macro.
19188 (gammal_positive): New function.
19189 (__ieee754_gammal_r): Handle positive infinity, overflow and
19190 underflow here. Handle NaN the same as positive infinity. Remove
19191 check x < 0xffffffff for negative integers. Use gamma_positive
19192 instead of exp (lgamma) for other arguments.
19193 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19194 (gamma_coeff): New variable.
19195 (NCOEFF): New macro.
19196 (gammal_positive): New function.
19197 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19198 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19199 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19200 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19201 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19202 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19203 * sysdeps/generic/math_private.h (__gamma_productf): New
19204 prototype.
19205 (__gamma_product): Likewise.
19206 (__gamma_productl): Likewise.
19207 * math/Makefile (libm-calls): Add gamma_product.
19208 * math/libm-test.inc (tgamma_test): Add more tests.
19209 * sysdeps/i386/fpu/libm-test-ulps: Update.
19210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19211
bb7cf681
OB
192122013-05-08 Ondřej Bílka <neleai@seznam.cz>
19213
19214 * benchtests/bench-skeleton.c (main): Preheat CPU.
19215
ba853947
AJ
192162013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19217
19218 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19219
8347c74c
RM
192202013-05-07 Roland McGrath <roland@hack.frob.com>
19221
19222 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19223 and _dl_skip_args_internal.
19224
e8dd4791
CD
192252013-05-07 Carlos O'Donell <carlos@redhat.com>
19226
19227 * manual/message.texi (Message Translation): Talk about users.
19228 Message to key mapping impacts design.
19229
c7405830
RM
192302013-05-06 Roland McGrath <roland@hack.frob.com>
19231
a9173057
RM
19232 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19233
976e2f03
RM
19234 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19235
9723ffc5
RM
19236 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19237 * sysdeps/wordsize-64/glob64.c: ... here.
19238
962e6658
RM
19239 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19240 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19241 New macros.
19242
ee586a6d
RM
19243 * debug/getlogin_r_chk.c: Moved to ...
19244 * login/getlogin_r_chk.c: ... here.
19245 * debug/Makefile (routines): Move getlogin_r_chk to ...
19246 * login/Makefile (routines): ... here.
19247 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19248 * login/Versions (libc: GLIBC_2.4): ... here.
19249
355f9165
RM
19250 * io/poll.c (__poll): Renamed from poll.
19251 Add libc_hidden_def.
19252 (poll): Define as weak alias.
19253
bd9ffde6
RM
19254 * debug/ptsname_r_chk.c: Moved to ...
19255 * login/ptsname_r_chk.c: ... here.
19256 * debug/Makefile (routines): Move ptsname_r_chk to ...
19257 * login/Makefile (routines): ... here.
19258 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19259 * login/Versions (libc: GLIBC_2.4): ... here.
19260
8fb16a04
RM
19261 * posix/getlogin.c: Moved to ...
19262 * login/getlogin.c: ... here.
19263 * posix/getlogin_r.c: Moved to ...
19264 * login/getlogin_r.c: ... here.
19265 * posix/getlogin_r.c: Moved to ...
19266 * login/getlogin_r.c: ... here.
19267 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19268 * login/Makefile (routines): ... here.
19269 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19270 * login/Versions (libc: GLIBC_2.0): ... here.
19271
b99b892f
RM
19272 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19273 (setrlimit): Define as weak alias.
19274
c7405830
RM
19275 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19276 Call __ names for open, ftruncate, and close.
19277 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19278 (truncate): Define as weak alias.
19279
5bf96de5
JM
192802013-05-06 Joseph Myers <joseph@codesourcery.com>
19281
9ea3513c
JM
19282 * math/gen-libm-test.pl (parse_args): Initialize x before each
19283 test of frexp, modf and remquo.
19284
5bf96de5
JM
19285 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19286 test signgam value.
19287
16e616a7
AZ
192882013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19289
19290 [BZ #15418]
19291 [BZ #15419]
19292 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19293 internal tests.
19294 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19295
d5e82754
RM
192962013-05-06 Roland McGrath <roland@hack.frob.com>
19297
19298 * elf/dl-writev.h: New file.
19299 * elf/dl-misc.c: Include it.
19300 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19301 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19302
a7548d41
JM
193032013-05-04 Joseph Myers <joseph@codesourcery.com>
19304
b7dab1e4
JM
19305 * math/libm-test.inc (noXFails): Remove variable.
19306 (noXPasses): Likewise.
19307 (BUILD_COMPLEX_INT): Remove macro.
19308 (print_screen): Remove xfail argument.
19309 (print_screen_max_error): Likewise.
19310 (update_stats): Likewise.
19311 (print_max_error): Likewise. Update calls to other affected
19312 functions.
19313 (print_complex_max_error): Likewise.
19314 (test_single_exception): Update calls to print_screen.
19315 (test_single_errno): Likewise.
19316 (check_float_internal): Remove xfail argument. Update calls to
19317 other affected functions.
19318 (check_float): Likewise.
19319 (check_complex): Likewise.
19320 (check_int): Likewise.
19321 (check_long): Likewise.
19322 (check_bool): Likewise.
19323 (check_longlong): Likewise.
19324 (main): Don't print noXFails and noXPasses.
19325 * math/gen-libm-test.pl (top level): Don't mention expected
19326 failure handling in comment.
19327 (new_test): Don't handle expected failures.
19328 (parse_args): Don't mention expected failure handling in comment.
19329 (generate_testfile): Don't handle expected failures.
19330 (parse_ulps): Likewise.
19331 (print_ulps_file): Likewise.
19332 (get_failure): Remove function.
19333 (output_test): Don't handle expected failures.
19334 * make/README.libm-test: Don't mention expected failure handling.
19335
a7548d41
JM
19336 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19337 (minus_zero): Likewise.
19338 (plus_infty): Likewise.
19339 (minus_infty): Likewise.
19340 (qnan_value): Likewise.
19341 (max_value): Likewise.
19342 (min_value): Likewise.
19343 (min_subnorm_value): Likewise.
19344 (initialize): Do not initialize those variables dynamically.
19345
60bfd54c
RM
193462013-05-03 Roland McGrath <roland@hack.frob.com>
19347
cc0e6ed8
RM
19348 * io/open.c (__open_2): Moved to ...
19349 * io/open_2.c: ... this new file.
19350 * io/open64.c (__open64_2): Moved to ...
19351 * io/open64_2.c: ... this new file.
19352 * io/openat.c (__openat_2): Moved to ...
19353 * io/openat_2.c: ... this new file.
19354 * io/openat64.c (__openat64_2): Moved to ...
19355 * io/openat64_2.c: ... this new file.
19356 * io/Makefile (routines): Add them.
19357 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19358 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19359 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19360 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19361 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19362 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19363 (__openat64): Add hidden_ver.
19364 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19365 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19366
60bfd54c
RM
19367 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19368 Separately conditionalize setting of GLRO(dl_sysinfo) so
19369 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19370 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19371
83e7640f
AZ
193722013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19373
19374 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19375 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19376 definition.
19377 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19378 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19379 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19380 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19381 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19382
d5dc2af3
JM
193832013-05-03 Joseph Myers <joseph@codesourcery.com>
19384
c31a5b1e
JM
19385 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19386 test signgam value.
19387
d5dc2af3
JM
19388 * math/libm-test.inc (hypot_test): Do not use
19389 IGNORE_ZERO_INF_SIGN.
19390
164fd39d
AJ
193912013-05-03 Andreas Jaeger <aj@suse.de>
19392
19393 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19394 Linux 3.9.
19395 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19396 (PF_MAX): Adjust for VSOCK change.
19397
8237f48c
AZ
193982013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19399
19400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19401
9df02941
CD
194022013-05-02 Carlos O'Donell <carlos@redhat.com>
19403
19404 [BZ #15264]
19405 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19406 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19407 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19408
d422395e
DM
194092013-05-02 David S. Miller <davem@davemloft.net>
19410
19411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19412
a07c5731
OB
194132013-05-01 Ondřej Bílka <neleai@seznam.cz>
19414
19415 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19416
1324e37f
RM
194172013-05-01 Roland McGrath <roland@hack.frob.com>
19418
19419 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19420
0695940b
RS
194212013-05-01 Richard Smith <richard@metafoo.co.uk>
19422
bb5f27ad 19423 [BZ #14952]
0695940b
RS
19424 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19425 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19426 Use __attribute__ ((__gnu_inline__)).
19427 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19428 Don't use __attribute__ ((__gnu_inline__)).
19429
10de07f5
JM
194302013-05-01 Joseph Myers <joseph@codesourcery.com>
19431
19432 [BZ #15423]
19433 * math/s_catan.c (__catan): Handle small real or imaginary part of
19434 input specially to avoid spurious underflow.
19435 * math/s_catanf.c (__catanf): Likewise.
19436 * math/s_catanh.c (__catanh): Likewise.
19437 * math/s_catanhf.c (__catanhf): Likewise.
19438 * math/s_catanhl.c (__catanhl): Likewise.
19439 * math/s_catanl.c (__catanl): Likewise.
19440 * math/libm-test.inc (catan_test): Add more tests.
19441 (catanh_test): Likewise.
19442 * sysdeps/i386/fpu/libm-test-ulps: Update.
19443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19444
cb4d5414
AZ
194452013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19446
19447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19448
caf84319
JM
194492013-04-30 Joseph Myers <joseph@codesourcery.com>
19450
19451 [BZ #15416]
19452 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19453 accurately for denominator in atan2.
19454 * math/s_catanf.c (__catanf): Likewise.
19455 * math/s_catanh.c (__catanh): Likewise.
19456 * math/s_catanhf.c (__catanhf): Likewise.
19457 * math/s_catanhl.c (__catanhl): Likewise.
19458 * math/s_catanl.c (__catanl): Likewise.
19459 * math/libm-test.inc (catan_test): Add more tests.
19460 (catanh_test): Likewise.
19461 * sysdeps/i386/fpu/libm-test-ulps: Update.
19462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19463
d569c6ee
SP
194642013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19465
6dbe713d
SP
19466 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19467
f0ee064b
SP
19468 * benchtests/Makefile (bench): Remove slow benchmarks.
19469 * benchtests/atan-inputs: Add slow benchmark inputs.
19470 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19471 (BENCH_FUNC): Accept variant offset.
19472 (VARIANT): Define.
19473 * benchtests/bench-skeleton.c (main): Run benchmark for each
19474 variant.
19475 * benchtests/cos-inputs: Add slow benchmark inputs.
19476 * benchtests/exp-inputs: Likewise.
19477 * benchtests/pow-inputs: Likewise.
19478 * benchtests/sin-inputs: Likewise.
19479 * benchtests/slowatan-inputs: Remove.
19480 * benchtests/slowatan.c: Remove.
19481 * benchtests/slowcos-inputs: Remove.
19482 * benchtests/slowcos.c: Remove.
19483 * benchtests/slowexp-inputs: Remove.
19484 * benchtests/slowexp.c: Remove.
19485 * benchtests/slowpow-inputs: Remove.
19486 * benchtests/slowpow.c: Remove.
19487 * benchtests/slowsin-inputs: Remove.
19488 * benchtests/slowsin.c: Remove.
19489 * benchtests/slowtan-inputs: Remove.
19490 * benchtests/slowtan.c: Remove.
19491 * benchtests/tan-inputs: Add slow benchmark inputs.
19492 * scripts/bench.pl: Parse comments and directives.
19493
d569c6ee
SP
19494 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19495 in CPPFLAGS.
19496 ($(objpfx)bench-%.c): Remove *-ITER.
19497 * benchtests/bench-modf.c: Remove definition of ITER.
19498 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19499 (main): Loop for DURATION seconds instead of fixed number of
19500 iterations.
19501 * scripts/bench.pl: Don't expect iterations in parameters.
19502
a6a242fe
RM
195032013-04-29 Roland McGrath <roland@hack.frob.com>
19504
19505 * io/fchdir.c (__fchdir): Renamed from fchdir.
19506 (fchdir): Define as weak alias.
19507
f2da7793
JM
195082013-04-29 Joseph Myers <joseph@codesourcery.com>
19509
19510 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19511 (ERRNO_EDOM): Likewise.
19512 (ERRNO_ERANGE): Likewise.
19513 (noErrnoTests): New variable.
19514 (init_max_error): Set errno to 0.
19515 (test_single_errno): New function.
19516 (test_errno): Likewise.
19517 (check_float_internal): Call test_errno. Set errno to 0.
19518 (check_complex): Refer to errno tests in comment.
19519 (check_int): Call test_errno. Set errno to 0.
19520 (check_long): Likewise.
19521 (check_bool): Likewise.
19522 (check_longlong): Likewise.
19523 (cos_test): Use ERRNO_* flags for errno tests instead of
19524 check_int.
19525 (expm1_test): Likewise.
19526 (fmod_test): Likewise.
19527 (ilogb_test): Likewise.
19528 (lgamma_test): Likewise.
19529 (pow_test): Likewise.
19530 (remainder_test): Likewise.
19531 (sin_test): Likewise.
19532 (tan_test): Likewise.
19533 (yn_test): Likewise.
19534 (initialize): Set errno to 0.
19535 (main): Print number of errno tests.
19536 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19537
b1a36ceb
AJ
195382013-04-29 Andreas Jaeger <aj@suse.de>
19539
c3ed8088
AJ
19540 [BZ #15084]
19541 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19542 and RES_USEVC.
19543
f1a24198
AJ
19544 [BZ #15085]
19545 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19546 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19547 unimplemented.
19548
9ce3b2cb
AJ
19549 [BZ #15380]
19550 * stdlib/random.c (__initstate): Return NULL if
19551 __initstate fails.
19552
f1a24198 19553 [BZ #15086]
b1a36ceb
AJ
19554 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19555 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19556 RES_SNGLKUPREOP.
19557
7e7b6f36
AZ
195582013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19559
19560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19561
4d14f449
JM
195622013-04-29 Joseph Myers <joseph@codesourcery.com>
19563
19564 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19565 of individual tests.
19566 (casin_test): Likewise.
19567 (casinh_test): Likewise.
19568
5b4217d7
JM
195692013-04-27 Joseph Myers <joseph@codesourcery.com>
19570
19571 [BZ #15409]
19572 * math/s_catan.c (__catan): Handle arguments with large real or
19573 imaginary part separately without squaring.
19574 * math/s_catanf.c (__catanf): Likewise.
19575 * math/s_catanh.c (__catanh): Likewise.
19576 * math/s_catanhf.c (__catanhf): Likewise.
19577 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19578 and redefine.
19579 (__catanhl): Handle arguments with large real or imaginary part
19580 separately without squaring.
19581 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19582 and redefine.
19583 (__catanl): Handle arguments with large real or imaginary part
19584 separately without squaring.
19585 * math/libm-test.inc (catan_test): Add more tests.
19586 (catanh_test): Likewise.
19587 * sysdeps/i386/fpu/libm-test-ulps: Update.
19588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19589
4220c3ef
AJ
195902013-04-27 Andreas Jaeger <aj@suse.de>
19591
19592 [BZ #15007]
19593 * stdlib/stdlib.h: Update guards for qecvt.
19594 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19595 <stdlib.h>.
19596
4721b2d1
AM
195972013-04-27 Allan McRae <allan@archlinux.org>
19598
19599 * sysdeps/i386/fpu/libm-test-ulps: Update.
19600
f0302940
JM
196012013-04-26 Joseph Myers <joseph@codesourcery.com>
19602
9457fd95
JM
19603 [BZ #15406]
19604 * math/s_catan.c: Include <float.h>.
19605 (__catan): Ensure underflow exception occurs for underflowed
19606 result.
19607 * math/s_catanf.c: Include <float.h>.
19608 (__catanf): Ensure underflow exception occurs for underflowed
19609 result.
19610 * math/s_catanh.c: Include <float.h>.
19611 (__catanh): Ensure underflow exception occurs for underflowed
19612 result.
19613 * math/s_catanhf.c: Include <float.h>.
19614 (__catanhf): Ensure underflow exception occurs for underflowed
19615 result.
19616 * math/s_catanhl.c: Include <float.h>.
19617 (__catanhl): Ensure underflow exception occurs for underflowed
19618 result.
19619 * math/s_catanl.c: Include <float.h>.
19620 (__catanl): Ensure underflow exception occurs for underflowed
19621 result.
19622 * math/libm-test.inc (catan_test): Add more tests.
19623 (catanh_test): Likewise.
19624
f0302940
JM
19625 [BZ #15405]
19626 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19627 underflowed result.
19628 * math/s_ccoshf.c (__ccoshf): Likewise.
19629 * math/s_ccoshl.c (__ccoshl): Likewise.
19630 * math/s_csin.c (__csin): Likewise.
19631 * math/s_csinf.c (__csinf): Likewise.
19632 * math/s_csinh.c (__csinh): Likewise.
19633 * math/s_csinhf.c (__csinhf): Likewise.
19634 * math/s_csinhl.c (__csinhl): Likewise.
19635 * math/s_csinl.c (__csinl): Likewise.
19636 * math/libm-test.inc (ccos_test): Add more tests.
19637 (ccosh_test): Likewise.
19638 (csin_test): Likewise.
19639 (csinh_test): Likewise.
19640
aa630f59
AZ
196412013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19642
19643 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19644 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19645 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19646 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19647 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19648 powerpc/power5+/fpu folders.
19649 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19650
19651
1b835983
MT
196522013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19653
19654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19655
73709b26
JM
196562013-04-25 Joseph Myers <joseph@codesourcery.com>
19657
19658 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19659 additions to variable.
19660 [$(config-machine) = x86_64] (modules-names): Likewise.
19661 ($(objpfx)tst-audit3): Remove dependency.
19662 ($(objpfx)tst-audit3.out): Likewise.
19663 ($(objpfx)tst-audit4): Likewise.
19664 ($(objpfx)tst-audit4.out): Likewise.
19665 ($(objpfx)tst-audit5): Likewise.
19666 ($(objpfx)tst-audit5.out): Likewise.
19667 ($(objpfx)tst-audit6): Likewise.
19668 ($(objpfx)tst-audit6.out): Likewise.
19669 ($(objpfx)tst-audit7): Likewise.
19670 ($(objpfx)tst-audit7.out): Likewise.
19671 (tst-audit3-ENV): Remove variable.
19672 (tst-audit4-ENV): Likewise.
19673 (tst-audit5-ENV): Likewise.
19674 (tst-audit6-ENV): Likewise.
19675 (tst-audit7-ENV): Likewise.
19676 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19677 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19678 addition to variable.
19679 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19680 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19681 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19682 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19683 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19684 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19685 tst-audit3, tst-audit4 and tst-audit5.
19686 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19687 tst-audit6 and tst-audit7.
19688 [$(subdir) = elf] (modules-names): Add audit modules for those
19689 tests.
19690 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19691 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19692 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19693 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19694 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19695 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19696 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19697 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19698 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19699 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19700 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19701 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19702 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19703 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19704 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19705 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19706 Likewise.
19707 [$(subdir) = elf && $(config-cflags-avx) = yes]
19708 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19709 [$(subdir) = elf && $(config-cflags-avx) = yes]
19710 (CFLAGS-tst-auditmod4a.c): Likewise.
19711 [$(subdir) = elf && $(config-cflags-avx) = yes]
19712 (CFLAGS-tst-auditmod4b.c): Likewise.
19713 [$(subdir) = elf && $(config-cflags-avx) = yes]
19714 (CFLAGS-tst-auditmod6b.c): Likewise.
19715 [$(subdir) = elf && $(config-cflags-avx) = yes]
19716 (CFLAGS-tst-auditmod6c.c): Likewise.
19717 [$(subdir) = elf && $(config-cflags-avx) = yes]
19718 (CFLAGS-tst-auditmod7b.c): Likewise.
19719 * elf/tst-audit3.c: Move to ...
19720 * sysdeps/x86_64/tst-audit3.c: ... here.
19721 * elf/tst-audit4.c: Move to ...
19722 * sysdeps/x86_64/tst-audit4.c: ... here.
19723 * elf/tst-audit5.c: Move to ...
19724 * sysdeps/x86_64/tst-audit5.c: ... here.
19725 * elf/tst-audit6.c: Move to ...
19726 * sysdeps/x86_64/tst-audit6.c: ... here.
19727 * elf/tst-audit7.c: Move to ...
19728 * sysdeps/x86_64/tst-audit7.c: ... here.
19729 * elf/tst-auditmod3a.c: Move to ...
19730 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19731 * elf/tst-auditmod3b.c: Move to ...
19732 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19733 * elf/tst-auditmod4a.c: Move to ...
19734 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19735 * elf/tst-auditmod4b.c: Move to ...
19736 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19737 * elf/tst-auditmod5a.c: Move to ...
19738 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19739 * elf/tst-auditmod5b.c: Move to ...
19740 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19741 * elf/tst-auditmod6a.c: Move to ...
19742 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19743 * elf/tst-auditmod6b.c: Move to ...
19744 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19745 * elf/tst-auditmod6c.c: Move to ...
19746 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19747 * elf/tst-auditmod7a.c: Move to ...
19748 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19749 * elf/tst-auditmod7b.c: Move to ...
19750 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19751
1ef74943
PP
197522013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19753
19754 [BZ #15366]
19755 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19756 define unconditionally.
19757 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19758 define unconditionally.
19759 (INT8_C, INT16_C, etc.): Likewise.
19760
93fd48c5
MR
197612013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19762
ae9552cf
MR
19763 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19764 __ehdr_start with hidden visibility.
19765
93fd48c5
MR
19766 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19767
418601aa
CD
197682013-04-24 Carlos O'Donell <carlos@redhat.com>
19769
19770 * math/libm-test.inc (cos_test): Use accurate hex constants.
19771 (sincost_test): Likewise.
19772
2f38fbfe
JM
197732013-04-24 Joseph Myers <joseph@codesourcery.com>
19774
5e221800
JM
19775 * math/libm-test.inc (catan_test): Add more tests.
19776 (catanh_test): Likewise.
19777
77f143fd
JM
19778 * math/s_catanf.c (__catanf): Use suffixed floating-point
19779 constants.
19780 * math/s_catanhf.c (__catanhf): Likewise.
19781 * math/s_catanhl.c (__catanhl): Likewise.
19782 * math/s_catanl.c (__catanl): Likewise.
19783
2f38fbfe
JM
19784 [BZ #15394]
19785 * math/s_catan.c (__catan): Calculate imaginary part of result
19786 with log1p not log unless computing log of number close to 0.
19787 * math/s_catanf.c (__catanf): Likewise.
19788 * math/s_catanl.c (__catanl): Likewise.
19789 * math/s_catanh.c (__catanh): Calculate real part of result with
19790 log1p not log unless computing log of number close to 0.
19791 * math/s_catanhf.c (__catanhf): Likewise.
19792 * math/s_catanhl.c (__catanhl): Likewise.
19793 * math/libm-test.inc (catan_test): Add more tests.
19794 (catanh_test): Likewise.
19795 * sysdeps/i386/fpu/libm-test-ulps: Update.
19796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19797
45d69176
SP
197982013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19799
19800 * benchtests/Makefile: Mention files in which fast and slow
19801 paths of math functions are implemented.
19802
87f51853
RM
198032013-04-23 Roland McGrath <roland@hack.frob.com>
19804
19805 * sysdeps/posix/timespec_get.c: New file.
19806
3c026539
AZ
198072013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19808
19809 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19810 POWER.
19811 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19812 for POWER.
19813 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19814 powerpc/power5/fpu folders.
19815 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19816 * benchtests/Makefile: Add modf testcase.
19817 * benchtests/bench-modf.c: New file: Benchmark test for mo
19818
ff491d14
SP
198192013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19820
19821 [BZ #14888]
19822 * time/Makefile (tests): Add tst-strptime-whitespace.
19823 * time/strptime_l.c (get_number): Use ISSPACE.
19824 (__strptime_internal): Likewise.
19825 * time/tst-strptime-whitespace.c: New test case.
19826
7ed3f4e8
AS
198272013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19828
19829 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19830 member.
19831 (_nss_files_init): Set it here.
19832
5c95f7b6
HC
198332013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19834
19835 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19836 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19837 unsigned.
19838
d34c9158
JBG
198392013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19840
19841 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19842
2169712d
SP
198432013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19844
19845 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19846 size just once.
19847
29c5de99
DM
198482013-04-21 David S. Miller <davem@davemloft.net>
19849
19850 * po/ru.po: Update Russion translation from translation project.
19851
ccdad15d
AC
198522013-04-17 Adam Conrad <adconrad@0c3.net>
19853
19854 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19855 and setfsgid.
19856
0f122b8d
CD
198572013-04-17 Carlos O'Donell <carlos@redhat.com>
19858
5c5b07da 19859 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 19860 * configure: Regenerate.
5c5b07da 19861 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
19862 Add example to error message.
19863 * sysdeps/i386/configure: Regenerate.
19864
037714dd
SP
198652013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19866
19867 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19868 slowtan.
19869 * benchtests/cos-inputs: New file.
19870 * benchtests/slowcos-inputs: New file.
19871 * benchtests/slowcos.c: New file.
19872 * benchtests/slowtan-inputs: New file.
19873 * benchtests/slowtan.c: New file.
19874 * benchtests/tan-inputs: New file.
19875
e913141d
RM
198762013-04-16 Roland McGrath <roland@hack.frob.com>
19877
19878 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19879 considered kosher.
19880
a2964074
SP
198812013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19882
4856bcd2
SP
19883 * benchtests/Makefile: Include cppflags-iterator.mk to add
19884 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19885
a2964074
SP
19886 * Makefile.in (bench-clean): New target.
19887 * benchtests/Makefile (bench-clean): Likewise.
19888
9fbf9aca
DH
198892013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19890
19891 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19892
207d1e2a
TS
198932013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19894
19895 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19896
306dfba9
AS
198972013-04-15 Andreas Schwab <schwab@suse.de>
19898
19899 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19900 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19901 * nscd/pwdcache.c (cache_addpw): Likewise.
19902 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19903 more than recsize.
19904
206a6699
SP
199052013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19906
19907 * benchtests/Makefile (bench): Write all output to
19908 bench-out.tmp together.
19909
0582f6b3
AS
199102013-04-15 Andreas Schwab <schwab@suse.de>
19911
19912 * nscd/nscd.c (main): Don't fork again after closing files.
19913
acb4325f
SP
199142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19915
5cb26d0a
SP
19916 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19917
acb4325f
SP
19918 * benchtests/Rules (bench-deps): Collect dependencies into a
19919 single variable. Add Makefile to dependencies.
19920 ($(objpfx)bench-%.c): Depend on bench-deps.
19921
47792506
RM
199222013-04-12 Roland McGrath <roland@hack.frob.com>
19923 Xavier Roche <roche+kml2@exalead.com>
19924
19925 [BZ #15361]
19926 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19927 just that it's a file descriptor.
19928 * manual/llio.texi (Synchronizing AIO Operations): Update description
19929 for EBADF error from aio_fsync.
19930
8fc1bee5
SP
199312013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19932
19933 * Rules (bench): Move target definition...
19934 * benchtests/Makefile: ... here.
19935
aba5e333
CD
199362013-04-11 Carlos O'Donell <carlos@redhat.com>
19937
19938 * math/libm-test.inc (cos_test): Fix PI/2 test.
19939 (sincos_test): Likewise.
19940 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19941 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19942
273cdee8
AS
199432013-04-11 Andreas Schwab <schwab@suse.de>
19944
6ecec3b6
AS
19945 [BZ #13988]
19946 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19947 accept exponent character only when digits were seen.
19948 * stdio-common/Makefile (tests): Add bug26.
19949 * stdio-common/bug26.c: New file.
19950
273cdee8
AS
19951 [BZ #14293]
19952 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19953 non-freeable.
19954
8da491f5
SP
199552013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19956
01dc6df9
SP
19957 * Makeconfig (rtld-prefix): Define built linker prefix.
19958 * Rules (run-bench): Use it.
19959 * math/Makefile (run-regen-ulps): Likewise.
19960
8da491f5
SP
19961 * Rules (bench): Remove eval.
19962
abe7f530
SP
199632013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19964 Roland McGrath <roland@hack.frob.com>
19965 Ondrej Bilka <neleai@seznam.cz>
19966
19967 [BZ #15346]
19968 * time/getdate.c: Include ctype.h and alloca.h.
19969 (__getdate_r): Trim leading and trailing spaces of input.
19970 * time/tst-getdate.c (tests): Add tests with leading and
19971 trailing spaces.
19972
61c23e62
RM
199732013-04-08 Roland McGrath <roland@hack.frob.com>
19974
19975 [BZ #14280]
19976 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19977 when computing value.
19978
7208a313
CD
199792013-04-06 Carlos O'Donell <carlos@redhat.com>
19980
085b2d41
CD
19981 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19982 Use testrun.sh to run libm tests.
19983
7208a313
CD
19984 [BZ #15309]
19985 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19986
872c0acd
MM
199872013-04-06 Marko Myllynen <myllynen@redhat.com>
19988
19989 [BZ #15264]
19990 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19991
26510bdd
CD
199922013-04-06 Carlos O'Donell <carlos@redhat.com>
19993
19994 * Makefile.in (regen-ulps): New target.
19995 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19996 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19997 [ifneq (no,$(PERL)] (regen-ulps): New target.
19998 [ifeq (no,$(PERL)] (regen-ulps): New target.
19999 * math/libm-test.inc (ulps_file_name): Define.
20000 (output_dir): New variable.
20001 (options): Add "output-dir" option.
20002 (parse_opt): Handle 'o' case.
20003 (main): If output_dir is non-NULL use it as a prefix
20004 otherwise use "".
20005 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20006
a01f19c8
CD
200072013-04-06 Carlos O'Donell <carlos@redhat.com>
20008
20009 [BZ #10060, #10062]
20010 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20011 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20012 fail configure if __sync_val_compare_and_swap is not inlined.
20013 * sysdeps/i386/configure: Regenerate.
20014 * configure.in: Build for i686 when configured for i386.
20015 * configure: Regenerate.
20016 * README: Remove i386 reference.
20017
b7a329a5
CD
200182013-04-06 Carlos O'Donell <carlos@redhat.com>
20019
20020 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20021 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20022
bf0f50df
TS
200232013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20024
ee091edf
TS
20025 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20026 (lmsnanval): New variables.
20027 (F): Add conversion tests.
20028 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20029 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20030
a8b792d6
TS
20031 * stdio-common/tstdiomisc.c (F): Properly collect individual
20032 tests' results.
20033
a1cbf437
TS
20034 [BZ #14686, #15336]
20035 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20036 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20037 Instead, use input NaN values or generate a qNaN by arithmetic
20038 operation. Also fix bugs to comply with the standard.
20039 * math/libm-test.inc (remainder_test): Add more tests.
20040
8b43a0c9
TS
20041 [BZ #15335, #15342]
20042 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20044 input NaN values or generate a qNaN by arithmetic operation.
20045
d91da4ce
TS
20046 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20047 unreachable code.
20048
bf0f50df
TS
20049 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20050 definitions.
20051
05e166c8
JM
200522013-04-03 Joseph Myers <joseph@codesourcery.com>
20053
20054 [BZ #14478]
20055 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20056 underflowed result.
20057 * math/s_cexpf.c (__cexpf): Likewise.
20058 * math/s_cexpl.c (__cexpl): Likewise.
20059 * math/libm-test.inc (cexp_test): Add more tests.
20060
1cef1b19
AS
200612013-04-03 Andreas Schwab <schwab@suse.de>
20062
20063 [BZ #15330]
20064 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20065 order arrays from heap if bigger than alloca cutoff.
20066
74d87055
TS
200672013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20068
20069 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20070 (SNAN_TESTS_double): Refer to GCC PR56831.
20071 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20072 GCC PR56828.
20073
d755bba4
SP
200742013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20075
90d5d5bb
SP
20076 * Rules (bench): Move bench.out after the run is complete.
20077
73e0cd5d
SP
20078 * Rules (bench): Echo currently running benchmark.
20079
64aabd4b
SP
20080 * benchtests/Makefile (bench): Add atan and slowatan.
20081 * benchtests/atan-inputs: New file.
20082 * benchtests/slowatan-inputs: New file.
20083 * benchtests/slowatan.c: New file.
20084
c871eccd
SP
20085 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20086 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20087 its value.
20088
d755bba4
SP
20089 [BZ #15305]
20090 * sysdeps/unix/sysv/linux/kernel-features.h
20091 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20092 __ASSUME_XFS_RESTRICTED_CHOWN.
20093 * sysdeps/unix/sysv/linux/pathconf.c
20094 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20095 Save and restore errno.
20096
52ce4860
JM
200972013-04-02 Joseph Myers <joseph@codesourcery.com>
20098
20099 [BZ #15327]
20100 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20101 arguments using __kernel_casinh.
20102 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20103 arguments using __kernel_casinhf.
20104 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20105 arguments using __kernel_casinhl.
20106 * math/libm-test.inc (cacosh_test): Add more tests.
20107 * sysdeps/i386/fpu/libm-test-ulps: Update.
20108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20109
81f311c2
SP
201102013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20111
e7906a47
SP
20112 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20114
92e3664b
SP
20115 * bench/Makefile (bench): Add sin and slowsin.
20116 * benchtests/sin-inputs: New file.
20117 * benchtests/slowsin-inputs: New file.
20118 * benchtests/slowsin.c: New file.
20119
81f311c2
SP
20120 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20121 (bench): Add slowexp and slowpow.
20122 (exp-ITER): Increase iterations.
20123 (pow-ITER): Likewise.
20124 * benchtests/exp-inputs: Change input.
20125 * benchtests/pow-inputs: Likewise.
20126 * benchtests/slowexp-inputs: New file.
20127 * benchtests/slowexp.c: New file.
20128 * benchtests/slowpow-inputs: New file.
20129 * benchtests/slowpow.c: New file.
20130
ab0f1aa9
AZ
201312013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20132
20133 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20134 instructions.
20135 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20136 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20137 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20138 * benchtests/Makefile: Add rint benchtest.
20139 * benchtests/rint-inputs: Input for rint benchtest.
20140
57267616
TS
201412013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20142
20143 * Versions.def (libm): Add GLIBC_2.18.
20144 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20145 hidden libm prototypes.
20146 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20147 * math/Makefile (libm-calls): Add s_issignaling.
20148 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20149 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20150 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20151 declaration.
20152 * math/math.h [__USE_GNU] (issignaling): New macro.
20153 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20154 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20155 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20156 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20157 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20158 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20159 * manual/arith.texi (issignaling): New section.
20160 * manual/libm-err-tab.pl (@all_functions): Update comment.
20161 * math/gen-libm-test.pl (parse_args): Apply special handling for
20162 issignaling.
20163 * math/libm-test.inc (print_float, issignaling_test): New
20164 functions.
20165 (check_float_internal): Add issignaling checks.
20166 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20167 default definition.
20168 * sysdeps/powerpc/math-tests.h: New file.
20169 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20170 tests.
20171 * math/test-snan.c (TEST_FUNC): Likewise.
20172
6142896d
DM
201732013-03-30 David S. Miller <davem@davemloft.net>
20174
20175 * po/de.po: Update from translation team.
20176
ccc8cadf
JM
201772013-03-30 Joseph Myers <joseph@codesourcery.com>
20178
20179 [BZ #10357]
20180 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20181 imaginary part less than 1.0 and real part less than 0.5
20182 specially.
20183 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20184 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20185 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20186 (cacos_test): Add more tests.
20187 (casin_test): Likewise.
20188 (casinh_test): Likewise.
20189 * sysdeps/i386/fpu/libm-test-ulps: Update.
20190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20191
0f6a8d4b
SP
201922013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20193
0d1029de
SP
20194 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20195 ONE with its value.
20196
c2d94018
SP
20197 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20198 (__pow_mp): Replace ONE and MONE with their values.
20199 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20200 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20201 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20202 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20203 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20204 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20205
27ec37f1
SP
20206 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20207
a64d7e0e
SP
20208 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20209 (__pow_mp): Replace ZERO and MZERO with their values.
20210 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20211 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20212 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20214 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20215 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20216 (__sqr): Likewise.
20217
d26dd3eb
SP
20218 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20219
0f6a8d4b
SP
20220 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20221
e57b0c61
RM
202222013-03-28 Roland McGrath <roland@hack.frob.com>
20223
20224 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20225 Declare with __attribute__ ((weak)).
20226 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20227 Call __call_tls_dtors only if it's not NULL.
20228
356b3480
RM
202292013-03-28 Roland McGrath <roland@hack.frob.com>
20230
288f7d79
RM
20231 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20232 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20233 magic __ehdr_start linker symbol if it's defined.
20234 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20235 them up here if it was already done.
20236
dc0a0263
RM
20237 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20238 (_dl_aux_init): Use const in cast when setting it.
20239 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20240 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20241 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20242
3d3436ae
RM
20243 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20244 Declare them here.
20245 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20246 * csu/libc-tls.c: Nor here.
20247 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20248
356b3480
RM
20249 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20250 (__libc_message): Never call vsyslog.
20251
b0f1246a
AM
202522013-03-28 Alan Modra <amodra@gmail.com>
20253
20254 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20255 Define as empty.
20256 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20257 Likewise.
20258
fbbe2b9a
AZ
202592013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20260
20261 [BZ #15214]
20262 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20263 underflow.
20264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20265
1728ab37
SP
202662013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20267
7a86be6e
SP
20268 [BZ #15304]
20269 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20270 Don't add gid passed as argument.
20271
1728ab37
SP
20272 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20273
3a7182a1
JM
202742013-03-27 Joseph Myers <joseph@codesourcery.com>
20275
20276 [BZ #15307]
20277 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20278 imaginary part between 1.0 and 1.5 and real part less than 0.5
20279 specially.
20280 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20281 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20282 * math/libm-test.inc (cacos_test): Add more tests.
20283 (casin_test): Likewise.
20284 (casinh_test): Likewise.
20285 * sysdeps/i386/fpu/libm-test-ulps: Update.
20286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20287
6f2e90e7
SP
202882013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20289
5739f705
SP
20290 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20291 constants.
20292 (norm): Likewise.
20293 (denorm): Likewise.
20294 (__dbl_mp): Likewise.
20295 (add_magnitudes): Likewise.
20296 (sub_magnitudes): Likewise.
20297 (__add): Likewise.
20298 (__sub): Likewise.
20299 (__mul): Likewise.
20300 (__sqr): Likewise.
20301 (__inv): Likewise.
20302 (__dvd): Likewise.
20303
e375e83d
SP
20304 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20305 commented code.
20306 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20307 (__dubcos): Likewise.
20308 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20309 (__ieee754_acos): Likewise.
20310 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20311 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20312 (__exp1): Likewise.
20313 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20314 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20315 (log1): Likewise.
20316 (my_log2): Likewise.
20317 (checkint): Likewise.
20318 * sysdeps/ieee754/dbl-64/e_remainder.c
20319 (__ieee754_remainder): Likewise.
20320 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20321 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20322 (bsloww): Likewise.
20323 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20324
6f2e90e7
SP
20325 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20326 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20327 MANTISSA_STORE_T to store computations on mantissa. Use
20328 macros for rounding and division.
20329 (denorm): Likewise.
20330 (__dbl_mp): Likewise.
20331 (add_magnitudes): Likewise.
20332 (sub_magnitudes): Likewise.
20333 (__mul): Likewise.
20334 (__sqr): Likewise.
20335 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20336 powers of two in terms of TWOPOW macro.
20337 (mp_no): Make type of mantissa as MANTISSA_T.
20338 [!RADIXI]: Define RADIXI.
20339 [!TWO52]: Define TWO52.
20340 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20341
fce14d4e
AZ
203422013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20343
20344 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20345 llroundl symbol when building for PPC32.
20346
9ad027fb
MW
203472013-03-24 Mark H Weaver <mhw@netris.org>
20348
20349 * manual/arith.texi (Normalization Functions): Fix prototypes for
20350 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20351
e42a38dd
AZ
203522013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20353
20354 [BZ #13889]
20355 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20356 high value to check if expl overflow.
20357 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20358 to check for underflow and overflow.
20359 * math/libm-test.inc: Add exp test.
20360
2e0fb521
DL
203612013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20362
20363 [BZ #11120]
20364 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20365 with NOT_IN_libc.
20366
b5784d95
AZ
203672013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20368
20369 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20370 symbol.
20371
5aa4a1a1
TS
203722013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20373
bdef0be7
TS
20374 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20375 wrap blocks consisting of several statements.
20376
5aa4a1a1
TS
20377 * sysdeps/generic/math-tests.h: New file.
20378 * sysdeps/i386/fpu/math-tests.h: Likewise.
20379 * math/test-snan.c: Include it.
20380 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20381
98c48fe5
JM
203822013-03-21 Joseph Myers <joseph@codesourcery.com>
20383
20384 [BZ #15285]
20385 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20386 (__ieee754_j0l): Do not improve calculations using cos of twice
20387 input for inputs above LDBL_MAX / 2.0L.
20388 (__ieee754_y0l): Likewise.
20389 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20390 (__ieee754_j1l): Do not improve calculations using cos of twice
20391 input for inputs above LDBL_MAX / 2.0L.
20392 (__ieee754_y1l): Likewise.
20393 * math/libm-test.inc (j0_test): Add another test.
20394 (j1_test): Likewise.
20395 (y0_test): Likewise.
20396 (y1_test): Likewise.
20397 * sysdeps/i386/fpu/libm-test-ulps: Update.
20398
3775a8bc
SP
203992013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20400
20401 * Rules ($(objpfx)bench-%.c): Include code from a C source
20402 file.
20403
0a1b2ae6
JM
204042013-03-21 Joseph Myers <joseph@codesourcery.com>
20405
20406 [BZ #15287]
20407 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20408 imaginary part 1.0 and real part less than 0.5 specially.
20409 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20410 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20411 * math/libm-test.inc (cacos_test): Add more tests.
20412 (casin_test): Likewise.
20413 (casinh_test): Likewise.
20414 * sysdeps/i386/fpu/libm-test-ulps: Update.
20415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20416
b33d4ce4
SP
204172013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20418
20419 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20420 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20421
bef0b507
JM
204222013-03-20 Joseph Myers <joseph@codesourcery.com>
20423
20424 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20425 * config.make.in (config-cflags-sse4): Remove variable.
20426 (config-cflags-avx): Likewise.
20427 (config-cflags-sse2avx): Likewise.
20428 (config-cflags-novzeroupper): Likewise.
20429 (config-asflags-i686): Likewise.
20430 (have-mfma4): Likewise.
20431 (have-as-vis3): Likewise.
20432 (MIG): Likewise.
20433 * configure.in (MIG): Do not AC_SUBST.
20434 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20435 (libc_cv_cc_sse4): Do not AC_SUBST.
20436 (libc_cv_cc_avx): Likewise.
20437 (libc_cv_cc_sse2avx): Likewise.
20438 (libc_cv_cc_novzeroupper): Likewise.
20439 (libc_cv_cc_fma4): Likewise.
20440 (libc_cv_as_i686): Likewise.
20441 (libc_cv_sparc_as_vis3): Likewise.
20442 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20443 LIBC_CONFIG_VAR.
20444 (config-asflags-i686): Likewise.
20445 (config-cflags-avx): Likewise.
20446 (config-cflags-sse2avx): Likewise.
20447 (have-mfma4): Likewise.
20448 (config-cflags-novzeroupper): Likewise.
20449 * sysdeps/mach/configure.in (MIG): Likewise.
20450 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20451 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20452 LIBC_CONFIG_VAR.
20453 (config-cflags-avx): Likewise.
20454 (config-cflags-sse2avx): Likewise.
20455 (have-mfma4): Likewise.
20456 (config-cflags-novzeroupper): Likewise.
20457 * configure: Regenerated.
20458 * sysdeps/i386/configure: Likewise.
20459 * sysdeps/mach/configure: Likewise.
20460 * sysdeps/sparc/configure: Likewise.
20461 * sysdeps/x86_64/configure: Likewise.
20462
912cc4b3
RM
204632013-03-20 Roland McGrath <roland@hack.frob.com>
20464
20465 [BZ #14812]
20466 * locale/programs/localedef.c (options): Put N_ translation marker
20467 on argument names, not just descriptions.
20468
04eed2b0
MS
204692013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20470
20471 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20472
a065ceff
OB
204732013-03-20 Ondřej Bílka <neleai@seznam.cz>
20474
9bb2a810 20475 [BZ #14176]
a065ceff
OB
20476 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20477
a600e5ce
RM
204782013-03-19 Roland McGrath <roland@hack.frob.com>
20479
20480 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20481 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20482 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20483 [!BEFORE_ABORT] (before_abort): New function.
20484 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20485 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20486 (writev_for_fatal): New function.
20487 (WRITEV_FOR_FATAL): New macro; call that.
20488 (backtrace_and_maps): New function.
20489 (BEFORE_ABORT): New macro; call that.
20490 (struct str_list): Type removed.
20491 (__libc_message, __libc_fatal): Functions removed.
20492 Include <sysdeps/posix/libc_fatal.c> instead.
20493
6b18bea6
JM
204942013-03-19 Joseph Myers <joseph@codesourcery.com>
20495
20496 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20497 constants.
20498 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20499 double constants.
20500
aaa8cb4b
AS
205012013-03-19 Andreas Schwab <schwab@suse.de>
20502
44673770
AS
20503 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20504 * sysdeps/gnu/configure: Regenerate.
20505
aaa8cb4b
AS
20506 * configure.in: Substitute libc_cv_rtlddir.
20507 * configure: Regenerate.
20508 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20509 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20510 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20511 * elf/Makefile (install-others, CFLAGS-interp.c)
20512 (ldso_install, common-ldd-rewrite): Likewise.
20513 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20514 $(inst_slibdir)/$(rtld-installed-name).
20515 * scripts/rellns-sh: Add -p option.
20516 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20517 for source.
20518
d3cfc668
SP
205192013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20520
20521 * manual/nptl.texi: Renamed to ...
20522 * manual/threads.texi: ... this.
20523 * manual/Makefile (chapters): Update.
20524
0e2b9cdd
RM
205252013-03-18 Roland McGrath <roland@hack.frob.com>
20526
20527 [BZ #14812]
20528 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20529 on argument names, not just descriptions.
0e2b9cdd
RM
20530 * malloc/memusagestat.c (options): Likewise.
20531 * nss/getent.c (options): Likewise.
63270c24
RM
20532
205332013-03-18 Benno Schulenberg <bensberg@justemail.net>
20534
20535 [BZ #14812]
20536 * iconv/iconv_prog.c (options): Put N_ translation marker
20537 on argument names, not just descriptions.
20538 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 20539
b2e1393c
OB
205402013-03-18 Ondrej Bilka <neleai@seznam.cz>
20541
20542 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20543 implementation which is faster on all x86_64 architectures.
20544 Tested on AMD, Intel Nehalem, SNB, IVB.
20545 * sysdeps/x86_64/strnlen.S: Likewise.
20546
20547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20548 Remove all multiarch strlen and strnlen versions.
20549 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20550 Remove strlen and strnlen related parts.
20551
20552 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20553 Inline strlen part.
20554 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20555
20556 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20557 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20558 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20559 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20560 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20561 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20562
ec4ff04d
CD
205632013-03-17 Carlos O'Donell <carlos@redhat.com>
20564
20565 * manual/memory.texi (Malloc Tunable Parameters):
20566 Sort parameters alphabetically. Add comments for missing entries.
20567
cd18e90a
DM
205682013-03-17 David S. Miller <davem@davemloft.net>
20569
20570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20571
2a185d32
JM
205722013-03-16 Joseph Myers <joseph@codesourcery.com>
20573
d2f9799e
JM
20574 [BZ #15283]
20575 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20576 for arguments at most half maximum finite value.
20577 * math/libm-test.inc (j0_test): Add more tests.
20578 (j1_test): Likewise.
20579 (y0_test): Likewise.
20580 (y1_test): Likewise.
20581 * sysdeps/i386/fpu/libm-test-ulps: Update.
20582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20583
2a185d32
JM
20584 [BZ #14155]
20585 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20586 1 / x and functions P and Q for arguments above 0x1p256L.
20587 (__ieee754_y0l): Likewise.
20588 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20589 (__ieee754_y1l): Likewise.
20590 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20591 (j1_test): Likewise.
20592 (y0_test): Likewise.
20593 (y1_test): Likewise.
20594
6cbec759
TS
205952013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20596
20597 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20598 variable.
20599
bc16e260
RM
206002013-03-15 Roland McGrath <roland@hack.frob.com>
20601
aefc9b8c
RM
20602 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20603 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20604 zero since it's initialized to EXEC_PAGESIZE.
20605
bc16e260
RM
20606 * sysdeps/unix/sysv/linux/ldsodefs.h
20607 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20608 * sysdeps/generic/ldsodefs.h: ... here.
20609
a57da955
TS
206102013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20611
af00a34d
TS
20612 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20613
495ded2c
TS
20614 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20615 math/test-snan.c.
20616 * math/test-snan.c: Renamed from
20617 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20618 * math/Makefile (tests): Add test-snan.
20619 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20620 test-powerpc-snan.
20621
777b0332
TS
20622 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20623 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20624 functions.
20625 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20626 __builtin_nan family of functions.
20627 * math/libm-test.inc (initialize): Initialize qnan_value with
20628 __builtin_nan family of functions.
20629 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20630 Remove variables.
20631 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20632 Remove functions.
20633 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20634 storage class. Initialize qNaN_var and sNaN_var with
20635 __builtin_nan and __builtin_nans families of functions,
20636 respectively.
20637
64d063b8
TS
20638 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20639 (sqrt_test): Remove duplicate test with qNaN input.
20640 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20641 (round_test, signbit_test, significand_test): Note missing +/-Inf
20642 as well as qNaN tests.
20643
67e971f1
TS
20644 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20645 qNaN_var. Fix a few strings, too.
20646 * math/libm-test.inc (nan_value): Rename to qnan_value.
20647 * math/gen-libm-test.pl (%beautify): Adjust to that.
20648 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20649 * math/test-misc.c (main): Likewise.
20650 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20651 to __qnan_bytes, and __qnan_union, respectively.
20652 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20653 Likewise.
20654 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20655 and lqnanval, respectively.
20656 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20657 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20658 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20659 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20660
64487e12
TS
20661 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20662 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20663 doubles.
20664
e015e27b
TS
20665 * math/test-misc.c (main): Fix copy'n'pastos.
20666 * misc/tst-efgcvt.c (special): Likewise.
20667
a57da955
TS
20668 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20669 Remove declarations.
20670
1e380345
SP
206712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20672
20673 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20674 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20675 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20676 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20677
ef26eece
AZ
206782013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20679
20680 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20681 macro to return vdso values correctly in IFUNC implementations.
20682 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20683 Optimization by using IFUNC.
20684
8cfdb7e0
SP
206852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20686 Richard Henderson <rth@redhat.com>
20687 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20688
20689 * Makefile.in (bench): New target.
20690 * NEWS: Mention the benchmark framework.
20691 * Rules (bench): Likewise.
20692 (binaries-bench): Generate binaries for functions to
20693 benchmark.
20694 * benchtests/Makefile: New makefile for benchmark tests.
20695 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20696 programs.
20697 * benchtests/exp-inputs: New input file for EXP function.
20698 * benchtests/pow-inputs: New input file for POW function.
20699 * scripts/bench.pl: New script to generate source files for
20700 benchmark programs.
20701
bcda9880
SP
207022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20703
d22ca8cd
SP
20704 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20705 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20706 computations on mantissa. Use macros for rounding and
20707 division.
20708 (denorm): Likewise.
20709 (__dbl_mp): Likewise.
20710 (add_magnitudes): Likewise.
20711 (sub_magnitudes): Likewise.
20712 (__mul): Likewise.
20713 (__sqr): Likewise.
20714 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20715 powers of two in terms of TWOPOW macro.
20716 (mp_no): Make type of mantissa as MANTISSA_T.
20717 [!RADIXI]: Define RADIXI.
20718 [!TWO52]: Define TWO52.
20719 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20720
bcda9880
SP
20721 * manual/nptl.texi (cindex): Modify threads to pthreads.
20722
06d5adfb
JM
207232013-03-15 Joseph Myers <joseph@codesourcery.com>
20724
20725 * sysdeps/x86_64/preconfigure: Regenerated.
20726
41c7328e
JM
207272013-03-14 Joseph Myers <joseph@codesourcery.com>
20728
20729 [BZ #14155]
20730 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20731 0x1p28 and above.
20732 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20733 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20734 0x1p28 and above.
20735 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20736 * math/libm-test.inc (j0_test): Do not allow one spurious
20737 underflow exception.
20738 (y1_test): Likewise.
20739
e25cfa60
SP
207402013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20741
0409959c
SP
20742 * manual/Makefile (chapters): Add nptl.
20743 * manual/debug.texi (Debugging Support): Add link to Threads
20744 chapter.
20745 * manual/nptl.texi: New file.
20746
e25cfa60
SP
20747 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20748
58a1335e
PB
207492013-03-14 Petr Baudis <pasky@ucw.cz>
20750
20751 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20752 for non-NULL pointer before the memory validity test. Pointed
20753 out by Holger Brunck <holger.brunck@keymile.com>.
20754
9dc7c64f
AS
207552013-03-13 Andreas Schwab <schwab@suse.de>
20756
20757 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20758 instead of .os.
20759
54206aa6
JM
207602013-03-13 Joseph Myers <joseph@codesourcery.com>
20761
20762 * timezone/zic.c: Update from tzcode 2013b.
20763
e98cdb38
CD
207642013-03-12 Carlos O'Donell <carlos@redhat.com>
20765
20766 * manual/install.texi (Configuring and compiling):
20767 Mention i686 and i586.
20768 * INSTALL: Regenerate.
20769
9967e003
RM
207702013-03-12 Roland McGrath <roland@hack.frob.com>
20771
20772 * sysdeps/init_array/elf-init.c: New file.
20773 * csu/elf-init.c
20774 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20775 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20776
20777 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20778 __gmon_start__ as global, but as static with a .preinit_array pointer.
20779 * sysdeps/init_array/gmon-start.c: New file. Use that.
20780 * sysdeps/init_array/crti.S: New file, empty except for comments.
20781 * sysdeps/init_array/crtn.S: Likewise.
20782
e6b5a293 207832013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
20784
20785 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20786 definining bcopy.
80f844c9
OB
20787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20788 Remove Prefer_SSE_for_memop.
20789 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20790 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20791 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
20792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20793 memset-x86-64.
80f844c9 20794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 20795 Remove bzero, memset ifunc support.
80f844c9
OB
20796 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20797 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20798 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20799 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20800
fb6b0fcb
AS
208012013-03-11 Andreas Schwab <schwab@suse.de>
20802
20803 [BZ #15234]
20804 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20805 by SHLIB_COMPAT.
20806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20807 (GLIBC_2.16): Remove pthread_atfork.
20808
3e6bd4b1
PP
208092013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20810
20811 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20812 (ptestcases.h): Likewise.
20813
222d7f00
RM
208142013-03-08 Roland McGrath <roland@hack.frob.com>
20815
20816 * Makeconfig ($(common-objpfx)config.status): Depend on
20817 sysdeps/*/preconfigure{,.in} too.
20818
1ba4f030
JM
208192013-03-08 Joseph Myers <joseph@codesourcery.com>
20820
a222d91a
JM
20821 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20822 (__free_hook): Use void * instead of __malloc_ptr_t.
20823 (__malloc_hook): Likewise.
20824 (__realloc_hook): Likewise.
20825 (__memalign_hook): Likewise.
20826 (__after_morecore_hook): Likewise.
20827 * malloc/arena.c (save_malloc_hook): Likewise.
20828 (save_free_hook): Likewise.
20829 * malloc/hooks.c (malloc_hook_ini): Likewise.
20830 (realloc_hook_ini): Likewise.
20831 (memalign_hook_ini): Likewise.
20832 * malloc/malloc.c (malloc_hook_ini): Likewise.
20833 (realloc_hook_ini): Likewise.
20834 (memalign_hook_ini): Likewise.
20835 (__free_hook): Likewise.
20836 (__malloc_hook): Likewise.
20837 (__realloc_hook): Likewise.
20838 (__memalign_hook): Likewise.
20839 (__libc_malloc): Likewise.
20840 (__libc_free): Likewise.
20841 (__libc_realloc): Likewise.
20842 (__libc_memalign): Likewise.
20843 (__libc_valloc): Likewise.
20844 (__libc_pvalloc): Likewise.
20845 (__libc_calloc): Likewise.
20846 (__posix_memalign): Likewise.
20847 * malloc/morecore.c (__sbrk): Likewise.
20848 (__default_morecore): Likewise.
20849
5cc45e10
JM
20850 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20851
dd54b864
JM
20852 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20853 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20854 __malloc_ptrdiff_t.
20855
1ba4f030
JM
20856 * malloc/malloc.h (__malloc_size_t): Remove macro.
20857 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20858 __malloc_size_t.
20859 (old_memalign_hook): Likewise.
20860 (old_realloc_hook): Likewise.
20861 (struct hdr): Likewise.
20862 (flood): Likewise.
20863 (mallochook): Likewise.
20864 (memalignhook): Likewise.
20865 (reallochook): Likewise.
20866 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20867 (tr_old_realloc_hook): Likewise.
20868 (tr_old_memalign_hook): Likewise.
20869 (tr_mallochook): Likewise.
20870 (tr_reallochook): Likewise.
20871 (tr_memalignhook): Likewise.
20872
edf66e57
AZ
208732013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20874
20875 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20876 default_ldbl_pack and using as default implementation.
20877 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20878 implementation.
20879 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20880 redundant definition.
20881 (ldbl_insert_mantissa): Likewise.
20882 (ldbl_canonicalize): Likewise.
20883 (ldbl_nearbyint): Likewise.
20884 (ldbl_pack): Rename to ldbl_pack_ppc.
20885 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20886 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20887 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20888
6d9145d8
SP
208892013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20890
20891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20892 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20893 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20894 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20896 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20897 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20898 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20899
4dd4e157
AJ
209002013-03-07 Andreas Jaeger <aj@suse.de>
20901
20902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20903 bits/mman-linux.h.
20904
adbb8027
SP
209052013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20906
ce544b5b
SP
20907 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20908 Include mpa.h and declare __MPEXP.
20909 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20910 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20911 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20912 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20913 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20914 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20915 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20916
4cc149fd
SP
20917 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20918 (__slowpow): Use long double EXPL and LOGL functions to
20919 compute POW.
20920 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20921 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20922 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20923 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20924 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20925 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20926
e6ebd4a7
SP
20927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20928 intermediate variable to calculate exponent.
20929 (__sqr): Likewise.
20930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20931 Likewise.
20932 (__sqr): Likewise.
20933
82a9811d
SP
20934 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20935 [!NO__SQR]: Define __sqr.
20936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20937 and NO__SQR. Remove all code except __mul and __sqr. Include
20938 sysdeps/ieee754/dbl-64/mpa.c.
20939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20940
adbb8027
SP
20941 [BZ #12723]
20942 * posix/Makefile (tests): Add tst-pathconf.
20943 * posix/tst-pathconf.c: New test case.
20944 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20945 _PC_PIPE_BUF.
20946 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20947
39120df9
PF
209482013-03-06 Patsy Franklin <pfrankli@redhat.com>
20949
20950 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20951
67525cb8
AJ
209522013-03-06 Andreas Jaeger <aj@suse.de>
20953
664a9ce4
AJ
20954 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20955 definition via __MAP_ANONYMOUS.
20956
8e39047d
AJ
20957 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20958 it's not part of Linux headers.
20959
67525cb8
AJ
20960 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20961 (MAP_HUGE_MASK): Define.
20962
20963 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20964 Define.
20965 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20966 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20967 Define.
20968 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20969 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20970 Define.
20971 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20972 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20973 Define.
20974 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20975
20976 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20977 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20978 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20979 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20980 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20981 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20982
20983 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20984 Handle f2fs.
20985
20986 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20987 Handle f2fs and efivarfs.
20988
20989 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20990 f2fs.
20991
20992 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20993 (EFIVARFS_MAGIC): Add.
20994 (F2FS_LINK_MAX): Add.
20995
e1b42695
PP
209962013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20997
20998 * stdio-common/vfprintf.c: Replace __builtin_expect with
20999 __glibc_unlikely.
21000
2d67d91a
JM
210012013-03-06 Joseph Myers <joseph@codesourcery.com>
21002
21003 [BZ #13550]
21004 * sysdeps/generic/bp-sym.h: Remove file.
21005 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21006 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21007 <bp-sym.h> and <bp-asm.h>.
21008 (__longjmp): Don't use BP_SYM.
21009 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21010 and <bp-asm.h>.
21011 (memcpy): Don't use BP_SYM.
21012 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21013 <bp-sym.h> and <bp-asm.h>.
21014 (memcpy): Don't use BP_SYM.
21015 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21016 <bp-asm.h>.
21017 (memcpy): Don't use BP_SYM.
21018 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21019 <bp-asm.h>.
21020 (memset): Don't use BP_SYM.
21021 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21022 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21023 (__bzero): Don't use BP_SYM.
21024 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21025 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21026 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21027 <bp-sym.h> and <bp-asm.h>.
21028 (memcmp): Don't use BP_SYM. Remove comment about bounded
21029 pointers.
21030 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21031 <bp-sym.h> and <bp-asm.h>.
21032 (memcpy): Don't use BP_SYM.
21033 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21034 <bp-sym.h> and <bp-asm.h>.
21035 (memset): Don't use BP_SYM.
21036 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21037 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21038 (__bzero): Don't use BP_SYM.
21039 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21040 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21041 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21042 <bp-sym.h> and <bp-asm.h>.
21043 (strncmp): Don't use BP_SYM. Remove comment about bounded
21044 pointers.
21045 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21046 <bp-sym.h> and <bp-asm.h>.
21047 (memcpy): Don't use BP_SYM.
21048 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21049 <bp-sym.h> and <bp-asm.h>.
21050 (memset): Don't use BP_SYM.
21051 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21052 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21053 (__bzero): Don't use BP_SYM.
21054 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21055 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21056 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21057 <bp-sym.h> and <bp-asm.h>.
21058 (__memchr): Don't use BP_SYM.
21059 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21060 <bp-sym.h> and <bp-asm.h>.
21061 (memcmp): Don't use BP_SYM. Remove comment about bounded
21062 pointers.
21063 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21064 <bp-sym.h> and <bp-asm.h>.
21065 (memcpy): Don't use BP_SYM.
21066 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21067 <bp-sym.h> and <bp-asm.h>.
21068 (__mempcpy): Don't use BP_SYM.
21069 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21070 <bp-sym.h> and <bp-asm.h>.
21071 (__memrchr): Don't use BP_SYM.
21072 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21073 <bp-sym.h> and <bp-asm.h>.
21074 (memset): Don't use BP_SYM.
21075 (__bzero): Likewise.
21076 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21077 <bp-sym.h> and <bp-asm.h>.
21078 (__rawmemchr): Don't use BP_SYM.
21079 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21080 <bp-sym.h> and <bp-asm.h>.
21081 (__STRCMP): Don't use BP_SYM.
21082 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21083 <bp-sym.h> and <bp-asm.h>.
21084 (strchr): Don't use BP_SYM.
21085 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21086 <bp-sym.h> and <bp-asm.h>.
21087 (__strchrnul): Don't use BP_SYM.
21088 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21089 <bp-sym.h> and <bp-asm.h>.
21090 (strlen): Don't use BP_SYM.
21091 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21092 <bp-sym.h> and <bp-asm.h>.
21093 (strncmp): Don't use BP_SYM. Remove comment about bounded
21094 pointers.
21095 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21096 <bp-sym.h> and <bp-asm.h>.
21097 (__strnlen): Don't use BP_SYM.
21098 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21099 <bp-sym.h> and <bp-asm.h>.
21100 (__GI__setjmp): Don't use BP_SYM.
21101 (_setjmp): Likewise.
21102 (__sigsetjmp): Likewise.
21103 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21104 (L(start_addresses)): Don't use BP_SYM.
21105 (_start): Likewise.
21106 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21107 <bp-asm.h>.
21108 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21109 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21110 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21111 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21112 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21113 <bp-asm.h>.
21114 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21115 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21116 about bounded pointers.
21117 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21118 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21119 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21120 <bp-asm.h>.
21121 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21122 about bounded pointers. Remove GKM FIXME comments.
21123 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21124 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21125 <bp-asm.h>.
21126 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21127 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21128 Remove GKM FIXME comments.
21129 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21130 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21131 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21132 <bp-asm.h>.
21133 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21134 about bounded pointers. Remove GKM FIXME comment.
21135 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21136 and <bp-asm.h>.
21137 (strncmp): Don't use BP_SYM. Remove comment about bounded
21138 pointers.
21139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21140 <bp-sym.h> and <bp-asm.h>.
21141 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21143 <bp-sym.h> and <bp-asm.h>.
21144 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21145 comment.
21146
cdcf361f
PP
211472013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21148
21149 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21150 call free(NULL).
21151
3c4a2b15
DM
211522013-03-05 David S. Miller <davem@davemloft.net>
21153
21154 * po/es.po: Update from translation team.
21155
cdcf361f 211562013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
21157
21158 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21159 <bits/mman-linux.h>.
21160 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21161 is fine.
21162 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21163 <bits/mman-linux.h> to end of file.
21164 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21165 is fine.
21166 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21167 <bits/mman-linux.h> to end of file.
21168 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21169 is fine.
21170 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21171 <bits/mman-linux.h> to end of file.
21172
21173 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21174 (MCL_CURRENT, MCL_FUTURE): Define here.
21175
5f67c04f
AK
211762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21177
8a4473cc 21178 [BZ #15232]
5f67c04f
AK
21179 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21180 attribute_hidden.
21181 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21182
c3e94a95
AK
211832013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21184
21185 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21186 fourth parameter needed for rt_sigprocmask syscall.
21187 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21188 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21189 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21190 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21191 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21192 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21193
cfb6382a
JM
211942013-03-04 Joseph Myers <joseph@codesourcery.com>
21195
21196 [BZ #13550]
21197 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21198 comment about bounded pointers.
21199 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21200 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21201
539d8e01
AJ
212022013-03-04 Andreas Jaeger <aj@suse.de>
21203
21204 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21205 common definitions.
21206
21207 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21208 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21209 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21210 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21211 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
21212 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21213
2e167a70 212142013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
21215
21216 [BZ #15055]
21217 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21218 __ieee754_sqrl instead of __sqrl.
21219
68508633
JM
212202013-03-01 Joseph Myers <joseph@codesourcery.com>
21221
21222 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21223 * sysdeps/powerpc/fpu_control.h: ... here.
21224 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21225 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21226 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21227 * sysdeps/powerpc/bits/mathinline.h: ... here.
21228
7775448e
RM
212292013-03-01 Roland McGrath <roland@hack.frob.com>
21230
21231 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21232 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21233 to just [NEED_DL_SYSINFO_DSO].
21234 * elf/dl-support.c: Likewise.
21235 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21236 * elf/rtld.c (dl_main): Likewise.
21237 * elf/setup-vdso.h (setup_vdso): Likewise.
21238 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21239 * sysdeps/unix/sysv/linux/dl-sysdep.c
21240 (_dl_discover_osversion): Likewise.
21241
4e9b5995
CD
212422013-03-01 Carlos O'Donell <carlos@redhat.com>
21243
21244 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21245 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21246
e23872c8
SP
212472013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21248
e5c74c63
SP
21249 * NEWS: Mention libm performance improvements and non-x86 PI
21250 futex support.
21251
e23872c8
SP
21252 * csu/libc-start.c (__pthread_initialize_minimal): Change
21253 function arguments.
21254 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21255
b5510883
JM
212562013-02-28 Joseph Myers <joseph@codesourcery.com>
21257
21258 [BZ #13550]
21259 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21260 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21261 <bp-sym.h> and <bp-asm.h>.
21262 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21263 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21264 and <bp-asm.h>.
21265 (memcpy): Don't use BP_SYM.
21266 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21267 <bp-asm.h>.
21268 (__mpn_add_n): Don't use BP_SYM.
21269 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21270 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21271 and <bp-asm.h>.
21272 (__mpn_addmul_1): Don't use BP_SYM.
21273 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21274 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21275 <bp-sym.h>.
21276 (_setjmp): Don't use BP_SYM.
21277 (__novmx_setjmp): Likewise.
21278 (__GI__setjmp): Likewise.
21279 (__vmx_setjmp): Likewise.
21280 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21281 <bp-sym.h>.
21282 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21283 (__bzero): Don't use BP_SYM.
21284 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21285 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21286 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21287 <bp-sym.h> and <bp-asm.h>.
21288 (memcpy): Don't use BP_SYM.
21289 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21290 <bp-sym.h> and <bp-asm.h>.
21291 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21292 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21293 <bp-sym.h> and <bp-asm.h>.
21294 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21295 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21296 <bp-asm.h>.
21297 (__mpn_lshift): Don't use BP_SYM.
21298 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21299 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21300 <bp-asm.h>.
21301 (memset): Don't use BP_SYM.
21302 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21303 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21304 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21305 <bp-asm.h>.
21306 (__mpn_mul_1): Don't use BP_SYM.
21307 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21308 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21309 <bp-sym.h> and <bp-asm.h>.
21310 (memcmp): Don't use BP_SYM.
21311 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21312 <bp-sym.h> and <bp-asm.h>.
21313 (memcpy): Don't use BP_SYM.
21314 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21315 <bp-sym.h> and <bp-asm.h>.
21316 (memset): Don't use BP_SYM.
21317 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21318 <bp-sym.h> and <bp-asm.h>.
21319 (strncmp): Don't use BP_SYM.
21320 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21321 <bp-sym.h> and <bp-asm.h>.
21322 (memcpy): Don't use BP_SYM.
21323 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21324 <bp-sym.h> and <bp-asm.h>.
21325 (memset): Don't use BP_SYM.
21326 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21327 <bp-sym.h> and <bp-asm.h>.
21328 (__memchr): Don't use BP_SYM.
21329 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21330 <bp-sym.h> and <bp-asm.h>.
21331 (memcmp): Don't use BP_SYM.
21332 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21333 <bp-sym.h> and <bp-asm.h>.
21334 (memcpy): Don't use BP_SYM.
21335 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21336 <bp-sym.h> and <bp-asm.h>.
21337 (__mempcpy): Don't use BP_SYM.
21338 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21339 <bp-sym.h> and <bp-asm.h>.
21340 (__memrchr): Don't use BP_SYM.
21341 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21342 <bp-sym.h> and <bp-asm.h>.
21343 (memset): Don't use BP_SYM.
21344 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21345 <bp-sym.h> and <bp-asm.h>.
21346 (__rawmemchr): Don't use BP_SYM.
21347 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21348 <bp-sym.h> and <bp-asm.h>.
21349 (__STRCMP): Don't use BP_SYM.
21350 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21351 <bp-sym.h> and <bp-asm.h>.
21352 (strchr): Don't use BP_SYM.
21353 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21354 <bp-sym.h> and <bp-asm.h>.
21355 (__strchrnul): Don't use BP_SYM.
21356 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21357 <bp-sym.h> and <bp-asm.h>.
21358 (strlen): Don't use BP_SYM.
21359 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21360 <bp-sym.h> and <bp-asm.h>.
21361 (strncmp): Don't use BP_SYM.
21362 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21363 <bp-sym.h> and <bp-asm.h>.
21364 (__strnlen): Don't use BP_SYM.
21365 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21366 <bp-asm.h>.
21367 (__mpn_rshift): Don't use BP_SYM.
21368 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21369 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21370 <bp-sym.h> and <bp-asm.h>.
21371 (__sigsetjmp): Don't use BP_SYM.
21372 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21373 (L(start_addresses)): Don't use BP_SYM.
21374 (_start): Likewise.
21375 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21376 <bp-asm.h>.
21377 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21378 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21379 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21380 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21381 <bp-asm.h>.
21382 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21383 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21384 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21385 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21386 <bp-asm.h>.
21387 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21388 comments.
21389 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21390 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21391 <bp-asm.h>.
21392 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21393 FIXME comments.
21394 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21395 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21396 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21397 <bp-asm.h>.
21398 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21399 comment.
21400 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21401 and <bp-asm.h>.
21402 (strncmp): Don't use BP_SYM,
21403 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21404 <bp-asm.h>.
21405 (__mpn_sub_n): Don't use BP_SYM.
21406 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21407 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21408 and <bp-asm.h>.
21409 (__mpn_submul_1): Don't use BP_SYM.
21410 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21412 <bp-sym.h> and <bp-asm.h>.
21413 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21415 <bp-sym.h> and <bp-asm.h>.
21416 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21417 comment.
21418
8d19fe64
SP
214192013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21420
21421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21422 Use ZK to minimize writes to Z.
21423 (sub_magnitudes): Simplify code a bit.
21424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21425 Use ZK to minimize writes to Z.
21426 (sub_magnitudes): Simplify code a bit.
21427
85bd816a
RM
214282013-02-27 Roland McGrath <roland@hack.frob.com>
21429
21430 * csu/gmon-start.c: Add special exception to license text.
21431
b5977bf2
RH
214322013-02-27 Richard Henderson <rth@redhat.com>
21433
21434 * scripts/config.guess: Update from config.git.
21435 * scripts/config.sub: Likewise.
21436
11d6e2f2
SP
214372013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21438
09c14ed2
SP
21439 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21440
a688864e
SP
21441 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21442
6295157a
SP
21443 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21444
b8de2202
SP
21445 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21446
11d6e2f2
SP
21447 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21448
7e80ddb8
RM
214492013-02-26 Roland McGrath <roland@hack.frob.com>
21450
21451 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21452 [$(build-shared = yes].
7e80ddb8 21453
7da6d9ed
SP
214542013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21455
45f05884
SP
21456 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21457 (__mul): Reduce iterations for calculating mantissa.
21458
2236d359
SP
21459 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21460 MPTWO.
21461 (__mpranred): Likewise.
21462
7da6d9ed
SP
21463 [BZ #15160]
21464 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21465 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21466
b7688c42
PE
214672013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21468
21469 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21470 Define __attribute__.
21471
53a5c423
SP
214722013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21473
21474 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21475 unused.
21476 * posix/regex_internal.h (__attribute): Remove.
21477 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21478 (re_string_context_at): Likewise.
21479 (bitset_not): Use __attribute__ and mark function as possibly
21480 unused.
21481 (bitset_merge): Likewise.
21482 (bitset_mask): Likewise.
21483 (re_string_char_size_at): Likewise.
21484 (re_string_wchar_at): Likewise.
21485 (re_string_elem_size_at): Likewise.
21486
60f5a8b5
SP
214872013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21488
2a983a2e
SP
21489 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21490 code.
21491 (cc32): Likewise.
21492
e69804d1
SP
21493 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21494 (__acr): Likewise.
21495 (__cpy): Likewise.
21496 (norm): Likewise.
21497 (denorm): Likewise.
21498 (__dbl_mp): Likewise.
21499 (add_magnitudes): Likewise.
21500 (sub_magnitudes): Likewise.
21501 (__mul): Likewise.
21502 (__inv): Likewise.
21503
2f22a1e8
SP
21504 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21505 style.
21506
8930ddc7
SP
21507 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21508 style.
21509
dc60cb11
SP
21510 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21511 code.
21512
60f5a8b5
SP
21513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21514 up changes with default code.
21515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21516 Likewise.
21517
b4d1fd33
AM
215182013-02-24 Allan McRae <allan@archlinux.org>
21519
faf6f8bc
AM
21520 * manual/socket.texi (The Internet Namespace): Order menu items
21521 to match that in the file.
21522
b4d1fd33
AM
21523 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21524 node listing of the info page menu.
21525
2366713d
JM
215262013-02-21 Joseph Myers <joseph@codesourcery.com>
21527
21528 [BZ #13550]
21529 * sysdeps/i386/bp-asm.h: Remove file.
21530 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21531 (PARMS): Do not use macros from bp-asm.h.
21532 (S1): Likewise.
21533 (S2): Likewise.
21534 (SIZE): Likewise.
21535 (__mpn_add_n): Do not use BP_SYM
21536 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21537 "bp-asm.h".
21538 (PARMS): Do not use macros from bp-asm.h.
21539 (S1): Likewise.
21540 (SIZE): Likewise.
21541 (__mpn_addmul_1): Do not use BP_SYM
21542 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21543 "bp-asm.h".
21544 (PARMS): Do not use macros from bp-asm.h.
21545 (SIGMSK): Likewise.
21546 (_setjmp): Likewise. Do not use BP_SYM.
21547 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21548 "bp-asm.h".
21549 (PARMS): Do not use macros from bp-asm.h.
21550 (SIGMSK): Likewise.
21551 (setjmp): Likewise. Do not use BP_SYM.
21552 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21553 "bp-asm.h".
21554 (PARMS): Do not use macros from bp-asm.h.
21555 (__frexp): Do not use BP_SYM.
21556 (frexp): Likewise.
21557 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21558 "bp-asm.h".
21559 (PARMS): Do not use macros from bp-asm.h.
21560 (__frexpf): Do not use BP_SYM.
21561 (frexpf): Likewise.
21562 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21563 "bp-asm.h".
21564 (PARMS): Do not use macros from bp-asm.h.
21565 (__frexpl): Do not use BP_SYM.
21566 (frexpl): Likewise.
21567 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21568 "bp-asm.h".
21569 (PARMS): Do not use macros from bp-asm.h.
21570 (__remquo): Do not use BP_SYM.
21571 (remquo): Likewise.
21572 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21573 "bp-asm.h".
21574 (PARMS): Do not use macros from bp-asm.h.
21575 (__remquof): Do not use BP_SYM.
21576 (remquof): Likewise.
21577 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21578 "bp-asm.h".
21579 (PARMS): Do not use macros from bp-asm.h.
21580 (__remquol): Do not use BP_SYM.
21581 (remquol): Likewise.
21582 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21583 "bp-asm.h".
21584 (PARMS): Do not use macros from bp-asm.h.
21585 (DEST): Likewise.
21586 (SRC): Likewise.
21587 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21588 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21589 "bp-asm.h".
21590 (PARMS): Do not use macros from bp-asm.h.
21591 (strlen): Do not use BP_SYM.
21592 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21593 "bp-asm.h".
21594 (PARMS): Do not use macros from bp-asm.h.
21595 (S1): Likewise.
21596 (S2): Likewise.
21597 (SIZE): Likewise.
21598 (__mpn_add_n): Do not use BP_SYM.
21599 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21600 "bp-asm.h".
21601 (PARMS): Do not use macros from bp-asm.h.
21602 (S1): Likewise.
21603 (SIZE): Likewise.
21604 (__mpn_addmul_1): Do not use BP_SYM.
21605 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21606 weak_alias.
21607 (bzero): Likewise.
21608 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21609 "bp-asm.h".
21610 (PARMS): Do not use macros from bp-asm.h.
21611 (S): Likewise.
21612 (SIZE): Likewise.
21613 (__mpn_lshift): Do not use BP_SYM.
21614 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21615 "bp-asm.h".
21616 (PARMS): Do not use macros from bp-asm.h.
21617 (DEST): Likewise.
21618 (SRC): Likewise.
21619 (LEN): Likewise.
21620 (memcpy): Likewise. Do not use BP_SYM.
21621 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21622 libc_hidden_def and weak_alias.
21623 (mempcpy): Do not use BP_SYM in weak_alias.
21624 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21625 "bp-asm.h".
21626 (PARMS): Do not use macros from bp-asm.h.
21627 (DEST): Likewise.
21628 (LEN): Likewise.
21629 [!BZERO_P] (CHR): Likewise.
21630 (memset): Likewise. Do not use BP_SYM.
21631 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21632 "bp-asm.h".
21633 (PARMS): Do not use macros from bp-asm.h.
21634 (S1): Likewise.
21635 (SIZE): Likewise.
21636 (__mpn_mul_1): Do not use BP_SYM.
21637 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21638 "bp-asm.h".
21639 (PARMS): Do not use macros from bp-asm.h.
21640 (S): Likewise.
21641 (SIZE): Likewise.
21642 (__mpn_rshift): Do not use BP_SYM.
21643 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21644 "bp-asm.h".
21645 (PARMS): Do not use macros from bp-asm.h.
21646 (STR): Likewise.
21647 (CHR): Likewise.
21648 (strchr): Likewise. Do not use BP_SYM.
21649 (index): Do not use BP_SYM in weak_alias.
21650 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21651 "bp-asm.h".
21652 (PARMS): Do not use macros from bp-asm.h.
21653 (DEST): Likewise.
21654 (SRC): Likewise.
21655 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21656 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21657 "bp-asm.h".
21658 (PARMS): Do not use macros from bp-asm.h.
21659 (strlen): Do not use BP_SYM.
21660 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21661 "bp-asm.h".
21662 (PARMS): Do not use macros from bp-asm.h.
21663 (S1): Likewise.
21664 (S2): Likewise.
21665 (SIZE): Likewise.
21666 (__mpn_sub_n): Do not use BP_SYM.
21667 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21668 "bp-asm.h".
21669 (PARMS): Do not use macros from bp-asm.h.
21670 (S1): Likewise.
21671 (SIZE): Likewise.
21672 (__mpn_submul_1): Do not use BP_SYM.
21673 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21674 "bp-asm.h".
21675 (PARMS): Do not use macros from bp-asm.h.
21676 (S1): Likewise.
21677 (S2): Likewise.
21678 (SIZE): Likewise.
21679 (__mpn_add_n): Do not use BP_SYM.
21680 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21681 weak_alias.
21682 (bzero): Likewise.
21683 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21684 "bp-asm.h".
21685 (PARMS): Do not use macros from bp-asm.h.
21686 (BLK2): Likewise.
21687 (LEN): Likewise.
21688 (memcmp): Do not use BP_SYM.
21689 (bcmp): Do not use BP_SYM in weak_alias.
21690 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21691 "bp-asm.h".
21692 (PARMS): Do not use macros from bp-asm.h.
21693 (DEST): Likewise.
21694 (SRC): Likewise.
21695 (LEN): Likewise.
21696 (memcpy): Likewise. Do not use BP_SYM.
21697 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21698 "bp-asm.h".
21699 (PARMS): Do not use macros from bp-asm.h.
21700 (DEST): Likewise.
21701 (SRC): Likewise.
21702 (LEN): Likewise.
21703 (memmove): Likewise. Do not use BP_SYM.
21704 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21705 "bp-asm.h".
21706 (PARMS): Do not use macros from bp-asm.h.
21707 (DEST): Likewise.
21708 (SRC): Likewise.
21709 (LEN): Likewise.
21710 (__mempcpy): Likewise. Do not use BP_SYM.
21711 (mempcpy): Do not use BP_SYM in weak_alias.
21712 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21713 "bp-asm.h".
21714 (PARMS): Do not use macros from bp-asm.h.
21715 (DEST): Likewise.
21716 (LEN): Likewise.
21717 [!BZERO_P] (CHR): Likewise.
21718 (memset): Likewise. Do not use BP_SYM.
21719 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21720 "bp-asm.h".
21721 (PARMS): Do not use macros from bp-asm.h.
21722 (STR2): Likewise.
21723 (strcmp): Do not use BP_SYM.
21724 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21725 "bp-asm.h".
21726 (PARMS): Do not use macros from bp-asm.h.
21727 (STR): Likewise.
21728 (DELIM): Likewise.
21729 [USE_AS_STRTOK_R] (SAVE): Likewise.
21730 (FUNCTION): Likewise. Do not use BP_SYM.
21731 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21732 aliases.
21733 (strtok_r): Likewise.
21734 (__GI___strtok_r): Likewise.
21735 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21736 (PARMS): Do not use macros from bp-asm.h.
21737 (S): Likewise.
21738 (SIZE): Likewise.
21739 (__mpn_lshift): Do not use BP_SYM.
21740 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21741 (PARMS): Do not use macros from bp-asm.h.
21742 (STR): Likewise.
21743 (CHR): Likewise.
21744 (__memchr): Do not use BP_SYM.
21745 (memchr): Do not use BP_SYM in weak_alias.
21746 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21747 (PARMS): Do not use macros from bp-asm.h.
21748 (BLK2): Likewise.
21749 (LEN): Likewise.
21750 (memcmp): Do not use BP_SYM.
21751 (bcmp): Do not use BP_SYM in weak_alias.
21752 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21753 (PARMS): Do not use macros from bp-asm.h.
21754 (S1): Likewise.
21755 (SIZE): Likewise.
21756 (__mpn_mul_1): Do not use BP_SYM.
21757 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21758 "bp-asm.h".
21759 (PARMS): Do not use macros from bp-asm.h.
21760 (STR): Likewise.
21761 (CHR): Likewise.
21762 (__rawmemchr): Do not use BP_SYM.
21763 (rawmemchr): Do not use BP_SYM in weak_alias.
21764 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21765 (PARMS): Do not use macros from bp-asm.h.
21766 (S): Likewise.
21767 (SIZE): Likewise.
21768 (__mpn_rshift): Do not use BP_SYM.
21769 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21770 (PARMS): Do not use macros from bp-asm.h.
21771 (SIGMSK): Likewise.
21772 (__sigsetjmp): Likewise. Do not use BP_SYM.
21773 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21774 (_start): Do not use BP_SYM.
21775 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21776 (PARMS): Do not use macros from bp-asm.h.
21777 (DEST): Likewise.
21778 (SRC): Likewise.
21779 (__stpcpy): Likewise. Do not use BP_SYM.
21780 (stpcpy): Do not use BP_SYM in weak_alias.
21781 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21782 "bp-asm.h".
21783 (PARMS): Do not use macros from bp-asm.h.
21784 (DEST): Likewise.
21785 (SRC): Likewise.
21786 (LEN): Likewise.
21787 (__stpncpy): Likewise. Do not use BP_SYM.
21788 (stpncpy): Do not use BP_SYM in weak_alias.
21789 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21790 (PARMS): Do not use macros from bp-asm.h.
21791 (STR): Likewise.
21792 (CHR): Likewise.
21793 (strchr): Likewise. Do not use BP_SYM.
21794 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21795 "bp-asm.h".
21796 (PARMS): Do not use macros from bp-asm.h.
21797 (STR): Likewise.
21798 (CHR): Likewise.
21799 (__strchrnul): Likewise. Do not use BP_SYM.
21800 (strchrnul): Do not use BP_SYM in weak_alias.
21801 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21802 "bp-asm.h".
21803 (PARMS): Do not use macros from bp-asm.h.
21804 (STOP): Likewise.
21805 (strcspn): Do not use BP_SYM.
21806 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21807 "bp-asm.h".
21808 (PARMS): Do not use macros from bp-asm.h.
21809 (STR): Likewise.
21810 (STOP): Likewise.
21811 (strpbrk): Likewise. Do not use BP_SYM.
21812 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21813 "bp-asm.h".
21814 (PARMS): Do not use macros from bp-asm.h.
21815 (STR): Likewise.
21816 (CHR): Likewise.
21817 (strrchr): Likewise. Do not use BP_SYM.
21818 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21819 (PARMS): Do not use macros from bp-asm.h.
21820 (SKIP): Likewise.
21821 (strspn): Do not use BP_SYM.
21822 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21823 (PARMS): Do not use macros from bp-asm.h.
21824 (STR): Likewise.
21825 (DELIM): Likewise.
21826 (SAVE): Likewise.
21827 (FUNCTION): Likewise. Do not use BP_SYM.
21828 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21829 aliases.
21830 (strtok_r): Likewise.
21831 (__GI___strtok_r): Likewise.
21832 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21833 (PARMS): Do not use macros from bp-asm.h.
21834 (S1): Likewise.
21835 (S2): Likewise.
21836 (SIZE): Likewise.
21837 (__mpn_sub_n): Do not use BP_SYM.
21838 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21839 "bp-asm.h".
21840 (PARMS): Do not use macros from bp-asm.h.
21841 (S1): Likewise.
21842 (SIZE): Likewise.
21843 (__mpn_submul_1): Do not use BP_SYM.
21844 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21845 <bp-sym.h>.
21846 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21847 and <bp-asm.h>.
21848 (PARMS): Do not use macros from bp-asm.h.
21849 (FLAGS): Likewise.
21850 (PTID): Likewise.
21851 (TLS): Likewise.
21852 (CTID): Likewise.
21853 (__clone): Do not use BP_SYM.
21854 (clone): Do not use BP_SYM in weak_alias.
21855 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21856 and <bp-asm.h>.
21857 (PARMS): Do not use macros from bp-asm.h.
21858 (LEN): Likewise.
21859 (__mmap64): Do not use BP_SYM.
21860 (mmap64): Do not use BP_SYM in weak_alias.
21861 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21862 <bp-sym.h> and <bp-asm.h>.
21863 (PARMS): Do not use macros from bp-asm.h.
21864 (__posix_fadvise64_l64): Do not use BP_SYM.
21865 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21866 (PARMS): Do not use macros from bp-asm.h.
21867 (NSOPS): Likewise.
21868 (semtimedop): Do not use BP_SYM.
21869 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21870 and <bp-asm.h>.
21871
582a3cff
AM
218722013-02-21 Allan McRae <allan@archlinux.org>
21873
21874 * manual/message.texi (Charset conversion in gettext):
21875 Move @end statement to beginning of line.
21876
bab8a695
SP
218772013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21878
80945231
SP
21879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21880 static.
21881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21882 Likewise.
21883
bab8a695
SP
21884 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21885 (denorm): Likewise.
21886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21888
e21d7aa7
AK
218892013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21890
21891 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21892 tail-call to the resolved function if pltexit isn't needed.
21893
4c7a4263
SP
218942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21895
21896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21897 or Y being zero as being unlikely.
21898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21899 Likewise.
21900
41f49342
CD
219012013-02-20 Carlos O'Donell <carlos@redhat.com>
21902
21903 * manual/nss.texi (System Databases and Name Service Switch):
21904 Remove frobnicate @pxref.
21905
50022a93
TS
219062013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21907
21908 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21909 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21910
08cbd996
PM
219112013-02-20 Petr Machata <pmachata@redhat.com>
21912
21913 * elf/elf.h (R_ARM_TARGET1): New macro.
21914 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21915 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21916 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21917 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21918 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21919 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21920 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21921 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21922 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21923 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21924 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21925 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21926 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21927 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21928 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21929 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21930 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21931 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21932 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21933 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21934 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21935 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21936 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21937 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21938 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21939 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21940 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21941 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21942 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21943 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21944 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21945 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21946 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21947 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21948 (R_ARM_THM_GOT_BREL12): Likewise.
21949 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21950 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21951 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21952 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21953 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21954 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21955 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21956 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21957 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21958
c7b275d6
TS
219592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21960
21961 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21962 __attribute_used__ to __attribute__ ((unused)).
21963
20cd7fb3
SP
219642013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21965
21966 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21967 powerpc mpa.c.
21968 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21969 comment formatting.
21970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21971
92945b52
JM
219722013-02-19 Joseph Myers <joseph@codesourcery.com>
21973
21974 [BZ #13550]
21975 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21976 Remove macro.
21977 (ENTER): Remove both macro definitions.
21978 (LEAVE): Likewise.
21979 (CHECK_BOUNDS_LOW): Likewise.
21980 (CHECK_BOUNDS_HIGH): Likewise.
21981 (CHECK_BOUNDS_BOTH): Likewise.
21982 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21983 (RETURN_BOUNDED_POINTER): Likewise.
21984 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21985 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21986 (POP_ERRNO_LOCATION_RETURN): Likewise.
21987 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21988 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21989 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21990 macros.
21991 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21992 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21993 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21994 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21995 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21996 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21997 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21998 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21999 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22000 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22001 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22002 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22003 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22004 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22005 removed macros.
22006 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22007 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22008 macros.
22009 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22010 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22011 * sysdeps/i386/i586/memset.S (memset): Likewise.
22012 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22013 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22014 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22015 macros.
22016 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22017 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22018 Change uses of L(2) to L(out).
22019 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22020 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22021 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22022 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22023 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22024 removed macros.
22025 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22026 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22027 macros.
22028 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22029 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22030 (RETURN): Do not use macro LEAVE.
22031 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22032 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22033 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22034 * sysdeps/i386/i686/memset.S (memset): Likewise.
22035 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22036 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22037 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22038 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22039 Likewise.
22040 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22041 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22042 L(1_2) and L(1_3) into L(1).
22043 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22044 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22045 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22046 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22047 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22048 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22049 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22050 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22051 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22052 macros.
22053 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22054 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22055 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22056 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22057 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22058 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22059 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22060 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22061 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22062 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22063 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22064 * sysdeps/i386/strspn.S (strspn): Likewise.
22065 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22066 conditional code.
22067 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22068 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22069 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22070 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22071 L(1_3) into L(1_1).
22072 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22073 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22074 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22075 macros.
22076 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22077
2389741a
JJ
220782013-02-19 Jakub Jelinek <jakub@redhat.com>
22079
22080 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22081 macro.
22082
2016b3cd
SP
220832013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22084
e4f22324
SP
22085 * math/atest-exp.c (exp_mpn): Remove ROUND.
22086 * math/atest-exp2.c (exp_mpn): Likewise.
22087 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22088
2016b3cd
SP
22089 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22090 * stdlib/tst-tls-atexit-lib.c: Likewise.
22091 * stdlib/tst-tls-atexit.c: Likewise.
22092
4be9b544
MF
220932013-02-18 Mike Frysinger <vapier@gentoo.org>
22094
22095 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22096 and __attribute_alloc_size__.
22097
2f62b9ee
MF
220982013-02-18 Mike Frysinger <vapier@gentoo.org>
22099
22100 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22101 __attribute_alloc_size__.
22102 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22103 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22104
6ff444c4
MF
221052013-02-18 Mike Frysinger <vapier@gentoo.org>
22106
22107 * include/programs/xmalloc.h: New file.
22108 * catgets/gencat.c: Include it.
22109 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22110 * elf/pldd.c: Likewise.
22111 * iconv/iconv_charmap.c: Likewise.
22112 * iconv/iconvconfig.c: Likewise.
22113 * iconv/strtab.c: Likewise.
22114 * locale/programs/locale.c: Likewise.
22115 * locale/programs/localedef.h: Likewise.
22116 * locale/programs/simple-hash.c: Likewise.
22117 * nscd/nscd.h: Likewise.
22118 * nss/makedb.c: Likewise.
22119 * sysdeps/generic/ldconfig.h: Likewise.
22120
be179c8a
SP
221212013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22122
ba384f6e
SP
22123 * Versions.def: Add GLIBC_2.18.
22124 * include/link.h (struct link_map): New member l_tls_dtor_count.
22125 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22126 (__call_tls_dtors): Likewise.
22127 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22128 __cxa_thread_atexit_impl.
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22130 Likewise.
22131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22132 Likewise.
22133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22134 Likewise.
22135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22136 Likewise.
22137 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22139 Likewise.
22140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22141 Likewise.
22142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22144 Likewise.
22145 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22146 (tests): Add test case tst-tls-atexit.
22147 (modules-names): Add shared library for tst-tls-atexit.
85891aca 22148 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
22149 (GLIBC_PRIVATE): Add __call_tls_dtors.
22150 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22151 for libstdc++.
22152 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22153 * stdlib/tst-tls-atexit.c: New test case.
22154 * stdlib/tst-tls-atexit-lib.c: New test case.
22155
ffaa74cf 22156 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 22157
be179c8a
SP
22158 * elf/Versions (ld): Add _dl_find_dso_for_object.
22159 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22160 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22161 (dl_open_worker): Use _dl_find_dso_for_object.
22162 * elf/dl-sym.c (do_sym): Likewise.
22163 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22164
f78b5caa
AK
221652013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22166
22167 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22168 Syntactic changes only.
22169 (_dl_runtime_profile): Do a tail-call to the resolved function.
22170
29691210
JM
221712013-02-17 Joseph Myers <joseph@codesourcery.com>
22172
22173 [BZ #13550]
22174 * sysdeps/x86_64/bp-asm.h: Remove file.
22175 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22176 <bp-sym.h> and <bp-asm.h>.
22177 (__clone): Do not use BP_SYM.
22178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22179 <bp-sym.h> and <bp-asm.h>.
22180 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22181 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22182 "bp-asm.h".
22183 (_setjmp): Do not use BP_SYM.
22184 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22185 "bp-asm.h".
22186 (setjmp): Do not use BP_SYM.
22187 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22188 libc_hidden_def.
22189 (mempcpy): Do not use BP_SYM in weak_alias.
22190 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22191 "bp-asm.h".
22192 (strchr): Do not use BP_SYM.
22193 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22194 "bp-asm.h".
22195 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22196 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22197 (_start): Do not use BP_SYM.
22198 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22199 "bp-asm.h".
22200 (strcat): Do not use BP_SYM.
22201 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22202 "bp-asm.h".
22203 (STRCMP): Do not use BP_SYM.
22204 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22205 "bp-asm.h".
22206 (STRCPY): Do not use BP_SYM.
22207 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22208 "bp-asm.h".
22209 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22210 "bp-asm.h".
22211 (FUNCTION): Do not use BP_SYM.
22212 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22213 weak_alias.
22214 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22215
f238fd19
AJ
222162013-02-17 Andreas Jaeger <aj@suse.de>
22217
22218 * time/Versions: Sort entries.
22219 * string/Versions: Likewise.
22220 * resolv/Versions: Likewise.
22221 * posix/Versions: Likewise.
22222 * iconv/Versions: Likewise.
22223 * elf/Versions: Likewise.
22224 * wcsmbs/Versions: Likewise.
22225
bd07f23c 222262013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 22227
22af19f9
SP
22228 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22229 loop termination condition.
22230
4709fe76
SP
22231 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22232 variable to calculate EZ.
22233 (__sqr): Likewise.
2d0e0f29
SP
22234
22235 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22236 the lower precision input.
22237
daaa7713
JM
222382013-02-15 Joseph Myers <joseph@codesourcery.com>
22239
22240 [BZ #13550]
22241 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22242 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22243 (run-via-rtld-prefix): Do not handle %-bp tests.
22244 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22245 (all-object-suffixes): Remove .ob.
22246 (bppfx): Remove variable.
22247 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22248 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22249 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22250 [$(build-bounded) = yes] (libtype.ob): Likewise.
22251 * Makerules (elide-routines.ob): Remove variable.
22252 (do-tests-clean): Do not handle *-bp.out.
22253 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22254 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22255 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22256 (tests): Do not include $(tests-bp.out).
22257 (xtests): Do not include $(xtests-bp.out).
22258 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22259 [$(build-bounded) = yes] ($(addprefix
22260 $(objpfx),$(binaries-bounded))): Remove rule.
22261 ($(objpfx)%-bp.out): Remove rule.
22262 * config.make.in (build-bounded): Remove variable.
22263 * crypt/Makefile [$(build-bounded) = yes]
22264 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22265 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22266 append to variable.
22267 [$(build-bounded) = yes] (install-lib): Likewise.
22268 [$(build-bounded) = yes] (generated): Likewise.
22269 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22270 Remove rule.
22271 * intl/Makefile [$(build-bounded) = yes]
22272 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22273 * math/Makefile [$(build-bounded) = yes]
22274 ($(tests:%=$(objpfx)%-bp): Likewise.
22275 * misc/Makefile [$(build-bounded) = yes]
22276 ($(objpfx)tst-tsearch-bp): Likewise.
22277 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22278 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22279 Remove dependency.
22280 * string/Makefile (o-objects.ob): Remove variable.
22281 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22282 (CFLAGS-.ob): Remove variable.
22283 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22284 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22285 both definitions of variable.
22286 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22287 (ASFLAGS-.ob): Remove variable.
22288
e97ed6dd
JM
222892013-02-14 Joseph Myers <joseph@codesourcery.com>
22290
2bdd4ca6
JM
22291 [BZ #13550]
22292 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22293 Remove __BOUNDED_POINTERS__ from condition.
22294 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22295 * string/bits/string2.h [!__NO_STRING_INLINES &&
22296 !__BOUNDED_POINTERS__]: Likewise.
22297 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22298 Likewise.
22299 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22300 Remove conditional code.
22301 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22302 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22303 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22304 condition.
22305
e97ed6dd
JM
22306 [BZ #13550]
22307 * csu/libc-start.c: Do not include <bp-sym.h>.
22308 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22309 * elf/dl-open.c: Do not include <bp-sym.h>.
22310 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22311 * math/fegetenv.c: Do not include <bp-sym.h>.
22312 (fegetenv): Do not use BP_SYM in versioned symbols.
22313 * nptl/sysdeps/pthread/bits/libc-lockP.h
22314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22315 <bp-sym.h>.
22316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22317 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22319 (__pthread_mutex_destroy): Likewise.
22320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22321 (__pthread_mutex_lock): Likewise.
22322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22323 (__pthread_mutex_trylock): Likewise.
22324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22325 (__pthread_mutex_unlock): Likewise.
22326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22327 (__pthread_mutexattr_init): Likewise.
22328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22329 (__pthread_mutexattr_destroy): Likewise.
22330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22331 (__pthread_mutexattr_settype): Likewise.
22332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22333 (__pthread_rwlock_init): Likewise.
22334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22335 (__pthread_rwlock_destroy): Likewise.
22336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22337 (__pthread_rwlock_rdlock): Likewise.
22338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22339 (__pthread_rwlock_tryrdlock): Likewise.
22340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22341 (__pthread_rwlock_wrlock): Likewise.
22342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22343 (__pthread_rwlock_trywrlock): Likewise.
22344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22345 (__pthread_rwlock_unlock): Likewise.
22346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22347 (__pthread_key_create): Likewise.
22348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22349 (__pthread_setspecific): Likewise.
22350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22351 (__pthread_getspecific): Likewise.
22352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22353 Likewise.
22354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22355 (_pthread_cleanup_push_defer): Likewise.
22356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22357 (_pthread_cleanup_pop_restore): Likewise.
22358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22359 (pthread_setcancelstate): Likewise.
22360 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22361 <bp-sym.h>.
22362 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22363 (memchr): Do not use BP_SYM in weak_alias.
22364 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22365 (fegetenv): Do not use BP_SYM in versioned symbols.
22366 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22367 (fesetenv): Do not use BP_SYM in versioned symbols.
22368 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22369 (feupdateenv): Do not use BP_SYM in versioned symbols.
22370 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22371 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22372 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22373 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22374 (open64): Do not use BP_SYM in weak_alias.
22375 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22376 (fegetenv): Do not use BP_SYM in versioned symbols.
22377 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22378 (fesetenv): Do not use BP_SYM in versioned symbols.
22379 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22380 (feupdateenv): Do not use BP_SYM in versioned symbols.
22381 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22382 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22383 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22384 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22385 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22386 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22387 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22388 <bp-sym.h>.
22389 (__libc_start_main): Do not use BP_SYM.
22390
d6752ccd
SP
223912013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22392
cb57ce60
SP
22393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22394 redundant return line.
22395 (norm): Likewise.
22396 (denorm): Likewise.
22397 (dbl_mp): Likewise.
22398 (sub_magnitudes): Likewise.
22399 (__add): Likewise.
22400 (__sub): Likewise.
22401 (__mul): Likewise.
22402 (__inv): Likewise.
22403 (__dvd): Likewise.
22404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22405 (norm): Likewise.
22406 (denorm): Likewise.
22407 (dbl_mp): Likewise.
22408 (sub_magnitudes): Likewise.
22409 (__add): Likewise.
22410 (__sub): Likewise.
22411 (__mul): Likewise.
22412 (__inv): Likewise.
22413 (__dvd): Likewise.
22414
f414520d
SP
22415 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22416 instead of __mul.
22417 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22418 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22419 (cc32): Likewise.
22420
d6752ccd
SP
22421 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22422 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22424 of __mul for squares.
22425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22426 function
22427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22428 Likewise.
22429 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22430 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22431
70d9946a
JM
224322013-02-13 Joseph Myers <joseph@codesourcery.com>
22433
22434 [BZ #13550]
22435 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22436 code.
22437 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22438 prototype or function definition. Rename ubp_* variables and
22439 parameters. Remove argv definitions conditional on
22440 [__BOUNDED_POINTERS__].
22441 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22442 * elf/dl-runtime.c (_dl_fixup): Likewise.
22443 * include/set-hooks.h (RUN_HOOK): Likewise.
22444 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22445 definition.
22446 * string/strcpy.c (strcpy): Do not use __unbounded.
22447 * sysdeps/generic/frame.h (struct layout): Likewise.
22448 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22449 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22450 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22451 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22452 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22453 (__backtrace): Likewise.
22454 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22455 use __ptrvalue.
22456 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22457 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22458 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22459 Likewise.
22460 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22461 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22462 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22463 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22464 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22465 Do not use __unbounded.
22466 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22467 Rename __unboundedrlimits parameter to rlimits in prototype.
22468 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22469 Do not use __unbounded.
22470 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22471 not use __ptrvalue.
22472 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22473 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22474 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22475 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22476 __ptrvalue or __unbounded.
22477 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22478 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22479 use __unbounded.
22480 (__new_msgctl): Do not use __ptrvalue.
22481 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22482 __unbounded.
22483 (__libc_msgrcv): Do not use __ptrvalue.
22484 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22485 startup_info): Do not use __unbounded.
22486 (__libc_start_main): Likewise. Rename ubp_* variables and
22487 parameters. Remove argv definitions conditional on
22488 [__BOUNDED_POINTERS__].
22489 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22490 __ptrvalue.
22491 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22492 use __unbounded.
22493 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22494 or __ptrvalue.
22495 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22496 use __unbounded.
22497 (__new_shmctl): Do not use __ptrvalue.
22498 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22499 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22500 Likewise.
22501 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22502 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22503 (__libc_sigaction): Likewise.
22504 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22505 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22506 Likewise.
22507 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22508
cc7834d6
OB
225092013-02-13 Ondřej Bílka <neleai@seznam.cz>
22510
ffb1ec7b 22511 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
22512
22513 * string/mempcpy.c: Implement by calling memcpy.
22514
bdf02814
SP
225152013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22516
c2af38aa
SP
22517 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22518
4e92d59e
SP
22519 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22520 evaluation.
22521
909279a5
SP
22522 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22523 values in the mantissa.
22524
bdf02814
SP
22525 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22526 minimize writes to Z.
22527 (sub_magnitudes): Simplify code a bit.
22528
cd525923
RM
225292013-02-12 Roland McGrath <roland@hack.frob.com>
22530
22531 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22532 from the message. The linker prefixes all warnings with that already.
22533
7e2f0d2d
AS
225342013-02-12 Andreas Schwab <schwab@suse.de>
22535
a445af0b
AS
22536 [BZ #15078]
22537 * posix/regexec.c (extend_buffers): Add parameter min_len.
22538 (check_matching): Pass minimum needed length.
22539 (clean_state_log_if_needed): Likewise.
22540 (get_subexp): Likewise.
22541 * posix/Makefile (tests): Add bug-regex34.
22542 (bug-regex34-ENV): Define.
22543 * posix/bug-regex34.c: New file.
22544
7e2f0d2d
AS
22545 [BZ #11561]
22546 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22547 elements compare against the byte sequence of it, not its name.
22548 * posix/Makefile (tests): Add bug-regex35.
22549 (bug-regex35-ENV): Define.
22550 * posix/bug-regex35.c: New file.
22551
a175b684
TV
225522013-02-11 Tom de Vries <tom@codesourcery.com>
22553
22554 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22555 comment.
22556 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22557 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22558 (CHECK_EOL): Add undef.
22559
310998fe 225602013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
22561
22562 * bits/stdlib-bsearch.h: New file.
22563 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 22564 * stdlib/stdlib.h: Likewise.
41eda41d 22565
8ded91fb
RM
225662013-02-11 Roland McGrath <roland@hack.frob.com>
22567
22568 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22569 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22570 declaration.
22571 * manual/search.texi (Array Search Function): Add missing const in
22572 lfind prototype.
22573 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22574 declaration to use rlim_t.
22575 (Basic Scheduling Functions): Remove erroneous const from
22576 sched_getparam prototype. Remove erroneous * from
22577 sched_get_priority_max and sched_get_priority_min prototypes.
22578 (Resource Usage): Fix summary @comment on vtimes to refer to
22579 sys/vtimes.h rather than vtimes.h.
22580 Add missing *s in vtimes prototype.
22581 (Limits on Resources): Fix ulimit prototype to return long int.
22582 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22583 prototypes to use long int rather than double.
22584 (BSD Random): Fix initstate and setstate to use char *, not void *.
22585 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22586 prototype to make second argument 'struct aiocb64 *const[]'.
22587 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22588 (Status of AIO Operations): Remove erroneous const in aio_return and
22589 aio_return64 prototypes.
22590 (Synchronizing I/O): Fix sync prototype to return void.
22591 * manual/startup.texi (Suboptions): Remove an erroneous const in
22592 getsubopt prototype.
22593 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22594 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22595 use size_t rather than int.
22596 (Scanning All Users): Likewise for getpwent_r.
22597 (Setting Groups): Add missing const to setgroups prototype.
22598 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22599 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22600 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22601 'const void *' rather than 'const char *'.
22602 (Host Address Functions): Likewise for inet_ntop.
22603 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22604 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22605 ssize_t for return value.
22606 (Sending Data): Likewise for send, sendto, sendmsg.
22607 (Socket Option Functions): Add a missing const in setsockopt prototype.
22608 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22609 use wchar_t for the argument.
22610 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22611 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22612 take no arguments.
22613 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22614 double/float/long double for second argument.
22615 Fix return types of significand, significandf, significandl.
22616 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22617 argument in fchmod prototype.
22618 (File Owner): Use uid_t and gid_t in fchown prototype.
22619 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22620 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22621 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22622 use 'const struct dirent **' as argument types to CMP function pointer
22623 argument.
22624 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22625 (File Times): Fix summary magic @comment for struct utimbuf and utime
22626 to refer to utime.h, not time.h.
22627 * manual/string.texi (Argz Functions): Add missing const in
22628 argz_extract and argz_next prototypes.
22629 (Finding Tokens in a String): Likewise for basename.
22630 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22631 (Copying and Concatenation): Fix typo in wmemmove prototype.
22632 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22633 (Signal Stack): Remove erroneous const in sigstack prototype.
22634 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22635 prototype.
22636 (Simple Calendar Time): Likewise for stime.
22637 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22638 prototype.
22639 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22640 say sys/sysctl.h instead.
22641 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22642 and vsyslog prototypes.
22643
fe77fe6d
TV
226442013-02-11 Tom de Vries <tom@codesourcery.com>
22645
22646 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22647 Remove.
22648
3a09b620
RM
226492013-02-11 Roland McGrath <roland@hack.frob.com>
22650
22651 * misc/sys/mman.h: Fix typo in mremap comment.
22652
550a0b89
RM
226532013-02-08 Roland McGrath <roland@hack.frob.com>
22654
22655 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22656 the '\0' terminator.
22657
a2da1673
JM
226582013-02-08 Joseph Myers <joseph@codesourcery.com>
22659
22660 [BZ #13550]
22661 * debug/segfault.c: Don't include <bp-checks.h>.
22662 * sysdeps/generic/bp-checks.h: Remove file.
22663 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22664 (__GETDENTS): Don't use CHECK_N.
22665 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22666 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22667 (__getgroups): Don't use CHECK_N.
22668 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22669 (setgroups): Don't use CHECK_N.
22670 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22671 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22672 (__libc_msgrcv): Don't use CHECK_N.
22673 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22674 (__libc_msgsnd): Don't use CHECK_N.
22675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22676 <bp-checks.h>.
22677 (__libc_pread): Don't use CHECK_N.
22678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22679 include <bp-checks.h>.
22680 (__libc_pread64): Don't use CHECK_N.
22681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22682 include <bp-checks.h>.
22683 (__libc_pwrite): Don't use CHECK_N.
22684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22685 include <bp-checks.h>.
22686 (__libc_pwrite64): Don't use CHECK_N.
22687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22688 <bp-checks.h>.
22689 (__libc_pread): Don't use CHECK_N.
22690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22691 include <bp-checks.h>.
22692 (__libc_pread64): Don't use CHECK_N.
22693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22694 include <bp-checks.h>.
22695 (__libc_pwrite): Don't use CHECK_N.
22696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22697 include <bp-checks.h>.
22698 (__libc_pwrite64): Don't use CHECK_N.
22699 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22700 (do_pread): Don't use CHECK_N.
22701 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22702 (do_pread64): Don't use CHECK_N.
22703 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22704 (do_pwrite): Don't use CHECK_N.
22705 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22706 (do_pwrite64): Don't use CHECK_N.
22707 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22708 (__libc_readv): Don't use CHECK_N.
22709 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22710 (semop): Don't use CHECK_N.
22711 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22712 <bp-checks.h>.
22713 (semtimedop): Don't use CHECK_N.
22714 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22715 (__libc_pread): Don't use CHECK_N.
22716 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22717 <bp-checks.h>.
22718 (__libc_pread64): Don't use CHECK_N.
22719 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22720 <bp-checks.h>.
22721 (__libc_pwrite): Don't use CHECK_N.
22722 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22723 <bp-checks.h>.
22724 (__libc_pwrite64): Don't use CHECK_N.
22725 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22726 <bp-checks.h>.
22727 (__libc_msgrcv): Don't use CHECK_N.
22728 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22729 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22730 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22731 (__libc_writev): Don't use CHECK_N.
22732
b84660a8
RM
227332013-02-08 Roland McGrath <roland@hack.frob.com>
22734
7f3e75f8
RM
22735 * string/strcpy.c: Removed unused variable.
22736
b84660a8
RM
22737 * Makeconfig (+sysdep-includes): Define with := rather than =.
22738 Use an existing include/ subdir of each sysdeps dir before it.
22739
471514d3
CD
227402013-02-08 Carlos O'Donell <carlos@redhat.com>
22741
22742 * nscd/connection.c (register_traced_file): Comment function.
22743 [HAVE_INOTIFY] (union __inev): Define.
22744 [HAVE_INOTIFY] (inotify_check_files): New function.
22745 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22746 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22747 clear_db_cache.
22748 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22749
b2d3c3be
CD
227502013-02-08 Carlos O'Donell <carlos@redhat.com>
22751
22752 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22753 loaded if not already and that a failure is permanent.
22754
b39949d2
CD
227552013-02-08 Carlos O'Donell <carlos@redhat.com>
22756
ddacd1db 22757 [BZ #15006]
b39949d2
CD
22758 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22759 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22760
b2c9eff4
JM
227612013-02-08 Joseph Myers <joseph@codesourcery.com>
22762
f3aae3f3
JM
22763 [BZ #13550]
22764 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22765 (CHECK_1_NULL_OK): Likewise.
22766 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22767 (__fxstat): Do not use CHECK_1.
22768 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22769 <bp-checks.h>.
22770 (___fxstat64): Do not use CHECK_1.
22771 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22772 <bp-checks.h>.
22773 (__fxstatat): Do not use CHECK_1.
22774 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22775 <bp-checks.h>.
22776 (__fxstatat64): Do not use CHECK_1.
22777 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22778 <bp-checks.h>.
22779 (__fxstat): Do not use CHECK_1.
22780 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22781 <bp-checks.h>.
22782 (__fxstatat): Do not use CHECK_1.
22783 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22784 <bp-checks.h>.
22785 (__getresgid): Do not use CHECK_1.
22786 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22787 <bp-checks.h>.
22788 (__getresuid): Do not use CHECK_1.
22789 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22790 <bp-checks.h>.
22791 (__lxstat): Do not use CHECK_1.
22792 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22793 <bp-checks.h>.
22794 (__old_msgctl): Do not use CHECK_1.
22795 (__new_msgctl): Likewise.
22796 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22797 <bp-checks.h>.
22798 (__new_setrlimit): Do not use CHECK_1.
22799 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22800 <bp-checks.h>.
22801 (__old_shmctl): Do not use CHECK_1.
22802 (__new_shmctl): Likewise.
22803 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22804 <bp-checks.h>.
22805 (__xstat): Do not use CHECK_1.
22806 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22807 (__lxstat): Do not use CHECK_1.
22808 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22809 <bp-checks.h>.
22810 (___lxstat64): Do not use CHECK_1.
22811 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22812 (__old_msgctl): Do not use CHECK_1.
22813 (__new_msgctl): Likewise.
22814 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22815 <bp-checks.h>.
22816 (__gettimeofday): Do not use CHECK_1.
22817 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22818 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22819 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22820 <bp-checks.h>.
22821 (__gettimeofday): Do not use CHECK_1.
22822 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22823 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22824 (__new_shmctl): Do not use CHECK_1.
22825 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22826 <bp-checks.h>.
22827 (do_sigtimedwait): Do not use CHECK_1.
22828 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22829 <bp-checks.h>.
22830 (do_sigwaitinfo): Do not use CHECK_1.
22831 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22832 <bp-checks.h>.
22833 (msgctl): Do not use CHECK_1.
22834 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22835 <bp-checks.h>.
22836 (shmctl): Do not use CHECK_1.
22837 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22838 (ustat): Do not use CHECK_1.
22839 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22840 <bp-checks.h>.
22841 (__fxstat): Do not use CHECK_1.
22842 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22843 <bp-checks.h>.
22844 (__fxstatat): Do not use CHECK_1.
22845 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22846 <bp-checks.h>.
22847 (__lxstat): Do not use CHECK_1.
22848 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22849 <bp-checks.h>.
22850 (__xstat): Do not use CHECK_1.
22851 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22852 (__xstat): Do not use CHECK_1.
22853 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22854 (___xstat64): Do not use CHECK_1.
22855
b2c9eff4
JM
22856 [BZ #13550]
22857 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22858 definitions.
22859 (CHECK_BOUNDS_HIGH): Likewise.
22860 * string/strcpy.c: Do not include <bp-checks.h>.
22861 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22862
f1d70dad
RM
228632013-02-07 Roland McGrath <roland@hack.frob.com>
22864
22865 * nscd/nscd-client.h (__nscd_drop_map_ref):
22866 Add __attribute__ ((unused)).
22867 * nis/nss-nisplus.h (niserr2nss): Likewise.
22868
22869 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22870 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22871
22872 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22873 Remove inline keyword.
22874 * include/rounding-mode.h (round_away): Likewise.
22875 * libio/wfileops.c (adjust_wide_data): Likewise.
22876 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22877 (__m128i_strloadu_tolower): Likewise.
22878 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22879 (__m128i_strloadu_tolower): Likewise.
22880 * time/mktime.c (ydhms_diff): Likewise.
22881 * locale/elem-hash.h (elem_hash): Likewise.
22882 * locale/setlocale.c (setdata): Likewise.
22883 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22884 (re_string_wchar_at): Likewise.
22885 (bitset_not, bitset_merge, bitset_mask): Likewise.
22886 [!(__GNUC__ > 3)] (inline): Remove macro.
22887 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22888 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22889 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22890 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22891 * string/memcmp.c (memcmp_bytes): Likewise.
22892 * locale/programs/locarchive.c (compute_hashval): Likewise.
22893 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22894 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22895 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22896 * nss/getent.c (print_rpc, print_protocols): Likewise.
22897 (print_passwd, print_group, print_aliases): Likewise.
22898 * nis/nss-nisplus.h (niserr2nss): Likewise.
22899 * nscd/connections.c (restart_p): Likewise.
22900 Change return type to bool.
22901
eab55bfb
RM
229022013-02-05 Roland McGrath <roland@hack.frob.com>
22903
7bd642f5
RM
22904 * Makeconfig (all-Depend-files): Add existing
22905 $(sorted-subdirs:=/Depend) files.
22906 (all-subdirs): Remove nss.
22907 * sysdeps/unix/inet/Subdirs: Add it here instead.
22908 * hesiod/Depend: New file.
22909
573c29b2
RM
22910 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22911 instead of calling alloca.
22912
b2e25af0
RM
22913 * io/lseek.c (__lseek): Rename to __libc_lseek.
22914 Define __lseek as an alias.
22915
eab55bfb
RM
22916 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22917
9a0d1941
CD
229182013-02-04 Carlos O'Donell <carlos@redhat.com>
22919
22920 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22921 else clause and remove check for non-standard endianness.
22922
b83bbec4
DM
229232013-02-04 David S. Miller <davem@davemloft.net>
22924
22925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22926
6277fdab
JM
229272013-02-04 Joseph Myers <joseph@codesourcery.com>
22928
22929 [BZ #13550]
22930 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22931 (__ubp_memchr): Remove prototype.
22932 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22933 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22934 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22935 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22936 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22937 Remove alias.
22938 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22939 (__ubp_memchr): Likewise.
22940 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22941 (__ubp_memchr): Likewise.
22942 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22943 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22944 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22945 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22946 CHECK_STRING.
22947 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22948 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22949 (__getcwd): Do not use CHECK_STRING.
22950 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22951 <bp-checks.h>.
22952 (__real_chown): Do not use CHECK_STRING.
22953 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22954 <bp-checks.h>.
22955 (fchownat): Do not use CHECK_STRING.
22956 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22957 CHECK_STRING.
22958 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22959 <bp-checks.h>.
22960 (__lchown): Do not use CHECK_STRING.
22961 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22962 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22963 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22964 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22966 include <bp-checks.h>.
22967 (truncate64): Do not use CHECK_STRING.
22968 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22969 <bp-checks.h>.
22970 (__real_chown): Do not use CHECK_STRING.
22971 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22972 <bp-checks.h>.
22973 (__lchown): Do not use CHECK_STRING.
22974 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22975 <bp-checks.h>.
22976 (__chown): Do not use CHECK_STRING.
22977 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22978 <bp-checks.h>.
22979 (truncate64): Do not use CHECK_STRING.
22980 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22981 Likewise.
22982 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22983 (__xmknod): Do not use CHECK_STRING.
22984 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22985 <bp-checks.h>.
22986 (__xmknodat): Do not use CHECK_STRING.
22987 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22988 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22989
903ae060
AS
229902013-02-04 Andreas Schwab <schwab@suse.de>
22991
22992 [BZ #14142]
22993 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22994 * include/netdb.h: Likewise for h_errno.
22995 * elf/tst-stackguard1.c: Include <tls.h>.
22996
542f9466
JK
229972013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22998
22999 * elf/link.h (struct link_map): Extend the l_addr comment.
23000 * include/link.h (struct link_map): Likewise.
23001
e782a927
JM
230022013-02-01 Joseph Myers <joseph@codesourcery.com>
23003
23004 [BZ #13550]
23005 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23006 (BOUNDED_1): Remove macro.
23007 * debug/backtrace.c: Don't include <bp-checks.h>.
23008 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23009 (__backtrace): Likewise.
23010 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23011 <bp-checks.h>.
23012 (__backtrace): Don't use BOUNDED_1.
23013 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23014 <bp-checks.h>.
23015 (__backtrace): Don't use BOUNDED_1.
23016 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23017 (__backtrace): Don't use BOUNDED_1.
23018 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23019 (shmat): Don't use BOUNDED_N.
23020
8cf28c5e
JM
230212013-01-31 Joseph Myers <joseph@codesourcery.com>
23022
3a7ac8a0
JM
23023 [BZ #13550]
23024 * sysdeps/generic/bp-start.h: Remove file.
23025 * csu/libc-start.c: Don't include <bp-start.h>.
23026 (LIBC_START_MAIN): Set up __environ directly instead of using
23027 INIT_ARGV_and_ENVIRON.
23028 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23029 <bp-start.h>.
23030
f3499f95
JM
23031 [BZ #13550]
23032 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23033 definitions.
23034 (CHECK_FCNTL): Likewise.
23035 (CHECK_N_PAGES): Likewise.
23036
32a45bea
JM
23037 [BZ #13550]
23038 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23039 definitions.
23040 (CHECK_SIGSET_NULL_OK): Likewise.
23041 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23042 <bp-checks.h>.
23043 (sigpending): Don't use CHECK_SIGSET.
23044 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23045 <bp-checks.h>.
23046 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23047 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23048 <bp-checks.h>.
23049 (do_sigsuspend): Don't use CHECK_SIGSET.
23050 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23051 use CHECK_SIGSET.
23052 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23053 (do_sigwait): Don't use CHECK_SIGSET.
23054 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23055 use CHECK_SIGSET.
23056 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23057 include <bp-checks.h>.
23058 (sigpending): Don't use CHECK_SIGSET.
23059 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23060 include <bp-checks.h>.
23061 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23062 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23063 <bp-checks.h>.
23064 (sigpending): Don't use CHECK_SIGSET.
23065 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23066 <bp-checks.h>.
23067 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23068
2e8a5c8c
JM
23069 [BZ #13550]
23070 * sysdeps/generic/bp-semctl.h: Remove file.
23071 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23072 <bp-checks.h> and <bp-semctl.h>.
23073 (__old_semctl): Don't use CHECK_SEMCTL.
23074 (__new_semctl): Likewise.
23075 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23076 and <bp-semctl.h>.
23077 (__old_semctl): Don't use CHECK_SEMCTL.
23078 (__new_semctl): Likewise.
23079 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23080 <bp-checks.h> and <bp-semctl.h>.
23081 (__old_semctl): Don't use CHECK_SEMCTL.
23082 (__new_semctl): Likewise.
23083 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23084 <bp-checks.h> and <bp-semctl.h>.
23085 (semctl): Don't use CHECK_SEMCTL.
23086
c2d54929
JM
23087 [BZ #13550]
23088 * Makerules (elide-bp-thunks): Remove variable.
23089 (elide-routines.oS): Don't use $(elide-bp-thunks).
23090 (elide-routines.os): Likewise.
23091 (elide-routines.o): Likewise.
23092 (elide-routines.op): Likewise.
23093 (elide-routines.og): Likewise.
23094 (objects): Don't use $(bp-thunks).
23095 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23096 include.
23097 (common-generated): Do not add s-proto-bp.d.
23098 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23099 (int): Likewise.
23100 (typ): Likewise.
23101 Do not generate makefile rules for bounded-pointer thunks.
23102 * sysdeps/generic/bp-thunks.h: Remove file.
23103 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23104 * sysdeps/unix/s-proto-bp.S: Likewise.
23105
8cf28c5e
JM
23106 [BZ #15062]
23107 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23108 parts of result separately when argument is not close to line from
23109 -i to i and one part of argument is small.
23110 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23111 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23112 * math/libm-test.inc (cacos_test): Add more tests.
23113 (casin_test): Likewise.
23114 (casinh_test): Likewise.
23115 * sysdeps/i386/fpu/libm-test-ulps: Update.
23116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23117
c4e33b8d
DM
231182013-01-31 David S. Miller <davem@davemloft.net>
23119
23120 * po/de.po: Update from translation team.
23121
3b60b421
MK
231222013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23123
23124 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23125
bb931195
TS
231262013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23127
b5a5da23
TS
23128 * configure.in (_AC_PROG_CC_C89): New definition.
23129 * configure: Regenerate.
23130
bb931195
TS
23131 * configure.in (AC_PROG_CPP): New definition.
23132 * configure: Regenerate.
23133
8c53a12c
JM
231342013-01-23 Joseph Myers <joseph@codesourcery.com>
23135
23136 * debug/tst-backtrace.h: New file.
23137 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23138 (ret): Remove variable.
23139 (x): Likewise.
23140 (FAIL): Remove macro.
23141 (NO_INLINE): Likewise.
23142 (fn1): Use match function instead of strstr.
23143 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23144 (ret): Remove variable.
23145 (x): Likewise.
23146 (FAIL): Remove macro.
23147 (NO_INLINE): Likewise.
23148 (fn): Use match function instead of strstr.
23149 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23150 (ret): Remove variable.
23151 (x): Likewise.
23152 (FAIL): Remove macro.
23153 (NO_INLINE): Likewise.
23154 (handle_signal): Use match function instead of strstr.
23155 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23156 (ret): Remove variable.
23157 (x): Likewise.
23158 (FAIL): Remove macro.
23159 (NO_INLINE): Likewise.
23160 (handle_signal): Use match function instead of strstr.
23161
4858fa2a
RM
231622013-01-23 Roland McGrath <roland@hack.frob.com>
23163
23164 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23165
bae8e7f5
DM
231662013-01-23 David S. Miller <davem@davemloft.net>
23167
23168 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23169 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23170 argument of CAS if possible.
23171 * sysdeps/sparc/sparc64/bits/atomic.h
23172 (__arch_compare_and_exchange_val_32_acq): Likewise.
23173 (__arch_compare_and_exchange_val_64_acq): Likewise.
23174
9cbbc4ae
PT
231752013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23176
23177 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23178 * sysdeps/posix/ulimit.c: ... this.
92a601b8 23179 Include <limits.h>.
67b3f58c 23180 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 23181
5655a0b5
AC
231822013-01-23 Adam Conrad <adconrad@0c3.net>
23183
23184 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23185 (LDFLAGS-tst-array5): Likewise.
23186
052aff95
JM
231872013-01-23 Joseph Myers <joseph@codesourcery.com>
23188
23189 [BZ #15036]
23190 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23191 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23192 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23193 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23194
7c1e01aa
DM
231952013-01-21 David S. Miller <davem@davemloft.net>
23196
23197 * sysdeps/sparc/backtrace.c: New file.
23198 * sysdeps/sparc/sparc32/backtrace.h: New file.
23199 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23200 * sysdeps/sparc/sparc64/backtrace.h: New file.
23201 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23202 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23203 -funwind-tables.
23204
ab087e0a
AS
232052013-01-21 Andreas Schwab <schwab@suse.de>
23206
23207 [BZ #15020]
23208 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23209 closed its stdout.
23210
ed689c2f
AS
232112013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23212
23213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23214 "mpa2.h".
23215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23216
31d470ac
JM
232172013-01-18 Joseph Myers <joseph@codesourcery.com>
23218 Mark Mitchell <mark@codesourcery.com>
23219 Tom de Vries <tom@codesourcery.com>
23220 Paul Pluzhnikov <ppluzhnikov@google.com>
23221
23222 * debug/tst-backtrace2.c: New file.
23223 * debug/tst-backtrace3.c: Likewise.
23224 * debug/tst-backtrace4.c: Likewise.
23225 * debug/tst-backtrace5.c: Likewise.
23226 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23227 (CFLAGS-tst-backtrace3.c): Likewise.
23228 (CFLAGS-tst-backtrace4.c): Likewise.
23229 (CFLAGS-tst-backtrace5.c): Likewise.
23230 (LDFLAGS-tst-backtrace2): Likewise.
23231 (LDFLAGS-tst-backtrace3): Likewise.
23232 (LDFLAGS-tst-backtrace4): Likewise.
23233 (LDFLAGS-tst-backtrace5): Likewise.
23234 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23235 tst-backtrace4 and tst-backtrace5.
23236
90567f30 232372013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
23238 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23239
23240 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23241 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23242 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23243 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23245 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23246 "+r" and remove output regs list as redundant. Add explicit inline
23247 asm to specify register of return val to work around compiler codegen
23248 bug. Remove (int) cast on return value. Add return type parameter to
23249 use in macro so that this macro does not truncate return value for
23250 64-bit values.
23251 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23252 pass to INTERNAL_VSYSCALL_NCS.
23253 (INLINE_VSYSCALL): Add 'long int' as return type to
23254 INTERNAL_VSYSCALL_NCS macro invocation.
23255 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23256 INTERNAL_VSYSCALL_NCS macro invocation.
23257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23258
d3b9ea61
SP
232592013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23260
0b57daeb
SP
23261 [BZ #14496]
23262 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23263 Fix application of SIMD FP exception mask.
23264
caa99d06
SP
23265 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23266 mp_no from a power of two.
23267 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23268 __mpexp_twomm1. Use __pow_mp.
23269
d3b9ea61
SP
23270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23271 multiplication.
23272
1dbaee3c
DM
232732013-01-17 David S. Miller <davem@davemloft.net>
23274
23275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23276
728d7b43
JM
232772013-01-17 Joseph Myers <joseph@codesourcery.com>
23278
23279 [BZ #15023]
23280 * include/complex.h: Condition contents on [!_COMPLEX_H].
23281 (__kernel_casinhf): New prototype.
23282 (__kernel_casinh): Likewise.
23283 (__kernel_casinhl): Likewise.
23284 * math/Makefile (libm_calls): Add k_casinh.
23285 * math/k_casinh.c: New file.
23286 * math/k_casinhf.c: Likewise.
23287 * math/k_casinhl.c: Likewise.
23288 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23289 finite nonzero arguments.
23290 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23291 finite nonzero arguments.
23292 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23293 finite nonzero arguments.
23294 * math/s_casinh.c: Do not include <float.h>.
23295 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23296 * math/s_casinhf.c: Do not include <float.h>.
23297 (__casinhf): Move code for finite nonzero arguments to
23298 k_casinhf.c.
23299 * math/s_casinhl.c: Do not include <float.h>.
23300 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23301 redefine.
23302 (__casinhl): Move code for finite nonzero arguments to
23303 k_casinhl.c.
23304 * math/libm-test.inc (cacos_test): Add more tests.
23305 * sysdeps/i386/fpu/libm-test-ulps: Update.
23306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23307
2a26ef3a
PT
233082013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23309
23310 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23311 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23312 [!HAVE_MREMAP]: Remove [defined linux] case.
23313 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23314
a897655d
SP
233152013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23316
23317 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23318
881ebe89 233192013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
23320
23321 * elf/elf.h (R_386_SIZE32): New relocation.
23322 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23323 R_386_SIZE32.
23324 (elf_machine_rela): Likewise.
23325 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23326 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23327
59981e9b
JM
233282013-01-17 Joseph Myers <joseph@codesourcery.com>
23329
23330 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23331 (FP_FAST_FMA): Do not define.
23332 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23333 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23334 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23335 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23336 !_SOFT_FLOAT]: Likewise.
23337 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23338 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23339 value.
23340 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23341 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23342 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23343 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23344 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23345 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23346 file.
23347
cfa8054f
AS
233482013-01-16 Andreas Schwab <schwab@suse.de>
23349
23350 [BZ #14327]
23351 * include/stdlib.h (__mktemp): Add declaration.
23352 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23353 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23354
dd930cc5
SP
233552013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23356
881ebe89
SP
23357 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23358 definitions.
23359 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23360 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23361 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23362 definitions here.
23363 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23364 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23365 definitions.
23366 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23367 and ONE.
23368 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23369 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23370 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23371 definitions.
23372 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23373 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23374 definitions.
23375 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 23376
dd930cc5
SP
23377 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23378
c19a9f89
DM
233792013-01-15 David S. Miller <davem@davemloft.net>
23380
1aa61767
DM
23381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23382 trunc{,f} to libm-sysdep_routes.
23383 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23385 file.
23386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23388 file.
23389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23390 file.
23391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23393 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23394 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23395 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23396 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23397 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23398 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23399
c42d5e98
DM
23400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23401 nearbyint{,f} to libm-sysdep_routes.
23402 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23404 New file.
23405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23406 file.
23407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23408 New file.
23409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23410 file.
23411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23413 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23414 file.
23415 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23416 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23417 file.
23418 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23419 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23420 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23421
c19a9f89
DM
23422 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23423 libc_feholdexcept and libc_fesetenv.
23424
357679d2
MF
234252013-01-15 Mike Frysinger <vapier@gentoo.org>
23426
23427 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23428
65a82e3d
DM
234292013-01-14 David S. Miller <davem@davemloft.net>
23430
8b954ab9
DM
23431 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23432 (SPARC_ASM_VIS2_IFUNC): Likewise.
23433 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23435 use of 'siam' instruction.
23436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23437 Likewise.
23438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23439 Likewise.
23440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23441 Likewise.
23442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23445 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23447 file.
23448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23449 file.
23450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23451 file.
23452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23453 file.
23454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23456 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23459 new VIS2 routines.
23460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23463 Likewise.
23464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23469 routines to libm-sysdep_routines.
23470 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23471
65a82e3d
DM
23472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23473 fdim/fdimf to libm-sysdep_routines.
23474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23475 file.
23476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23478 file.
23479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23482 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23483 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23484 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23485 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23486
e34ab705
SP
234872013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23488
2a91b573
SP
23489 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23490 to optimize copies.
23491
1066a534
SP
23492 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23495
e34ab705
SP
23496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23497 local variable MPTWO.
23498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23499 Likewise.
23500
aba5e596
MF
235012013-01-13 Mike Frysinger <vapier@gentoo.org>
23502
23503 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23504 GLOB_NOESCAPE.
23505
e557e9e5
MF
235062013-01-13 Mike Frysinger <vapier@gentoo.org>
23507
23508 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23509
0428cec9
MF
235102013-01-13 Mike Frysinger <vapier@gentoo.org>
23511
23512 * manual/pattern.texi (glob_t): Document gl_flags.
23513 (glob64_t): Likewise.
23514
8794a964
DM
235152013-01-11 David S. Miller <davem@davemloft.net>
23516
66438c3f
RM
23517 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23518 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23519 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
23520 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23521 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23522 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23523 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23524 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23525 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23526 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23527 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23528 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23529 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23530
4ae4244d
DM
23531 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23532 sparc V9 rather than using V8 code.
23533 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23534 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23535
8794a964
DM
23536 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23537 Move to...
23538 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23539 Here.
23540
6270516e
RM
235412013-01-11 Roland McGrath <roland@hack.frob.com>
23542
23543 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23544 not in the main loop.
23545 * configure: Regenerated.
23546
6a57d931
JM
235472013-01-11 Joseph Myers <joseph@codesourcery.com>
23548
23549 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23550 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23551 to just #else.
23552 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23553 [!__GLIBC_HAVE_LONG_LONG] case.
23554 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23555 condition to just #else.
23556 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23557 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23558 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23559 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23560 unconditional.
23561 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23562 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23563 #elif condition to just #else.
23564 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23565 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23566 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23567 #elif condition to just #else.
23568
0e8529e9
SE
235692013-01-11 Steve Ellcey <sellcey@mips.com>
23570
23571 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23572 (EF_MIPS_ARCH_64): Fix value.
23573 (EF_MIPS_ARCH_32R2): New.
23574 (EF_MIPS_ARCH_64R2): New.
23575
740b3dbe
L
235762013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23577
23578 * Makeconfig (+link-pie-before-libc): New.
23579 (+link-pie-after-libc): Likewise.
23580 (+link-pie-tests): Likewise.
23581 (+link-pie): Rewritten.
23582 (link-before-libc): Remove $(config-LDFLAGS).
23583 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23584 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23585 (config-LDFLAGS): Renamed to ...
23586 (rtld-LDFLAGS): This.
23587 (rtld-tests-LDFLAGS): New macro.
23588 (link-libc-rpath-link): Likewise.
23589 (link-libc-tests-rpath-link): Likewise.
23590 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23591 (link-libc): Prepand $(link-libc-rpath-link).
23592 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23593 (test-program-prefix): New macro.
23594 (test-via-rtld-prefix): Likewise.
23595 (test-program-cmd): Likewise.
23596 (host-test-program-cmd): Likewise.
23597 * Makefile ($(common-objpfx)testrun.sh): Replace
23598 $(run-program-prefix) with $(test-program-prefix).
23599 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23600 $(rtld-LDFLAGS).
23601 ($(common-objpfx)shlib.lds): Likewise.
23602 (build-module-helper): Likewise.
23603 ($(common-objpfx)format.lds): Likewise.
23604 * Rules (binaries-pie-tests): New.
23605 (binaries-pie-notests): Likewise.
23606 (binaries-pie): Rewritten.
23607 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23608 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23609 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23610 (make-test-out): Replace $(host-built-program-cmd) with
23611 $(host-test-program-cmd).
23612 * config.make.in (build-hardcoded-path-in-tests): New variable.
23613 * configure.in (--enable-hardcoded-path-in-tests): New configure
23614 option.
23615 (hardcoded_path_in_tests): New AC_SUBST.
23616 * configure: Regenerated.
23617 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23618 $(built-program-cmd) with $(test-program-cmd).
23619 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23620 (test_program_cmd): This.
23621 * elf/Makefile ($(objpfx)order.out): Run test with
23622 $(test-program-prefix).
23623 ($(objpfx)order2.out): Likewise.
23624 ($(objpfx)tst-initorder.out): Likewise.
23625 ($(objpfx)tst-initorder2.out): Likewise.
23626 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23627 $(test-program-cmd).
23628 ($(objpfx)tst-array1-static.out): Likewise.
23629 ($(objpfx)tst-array2.out): Likewise.
23630 ($(objpfx)tst-array3.out): Likewise.
23631 ($(objpfx)tst-array4.out): Likewise.
23632 ($(objpfx)tst-array5.out): Likewise.
23633 ($(objpfx)tst-array5-static.out): Likewise.
23634 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23635 $(test-program-cmd).
23636 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23637 $(run-program-prefix) with $(test-program-prefix).
23638 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23639 (test_program_prefix): This.
23640 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23641 $(run-program-prefix) with $(test-program-prefix).
23642 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23643 (test_program_prefix): This.
23644 * iconvdata/tst-tables.sh: Likewise.
23645 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23646 $(run-program-prefix) with $(test-program-prefix).
23647 ($(objpfx)tst-translit.out): Likewise.
23648 ($(objpfx)tst-gettext2.out): Likewise.
23649 ($(objpfx)tst-gettext4.out): Likewise.
23650 ($(objpfx)tst-gettext6.out): Likewise.
23651 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23652 (test_program_prefix): This.
23653 * intl/tst-gettext2.sh: Likewise.
23654 * intl/tst-gettext4.sh Likewise.
23655 * intl/tst-gettext6.sh: Likewise.
23656 * intl/tst-translit.sh: Likewise.
23657 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23658 with $(test-program-cmd).
23659 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23660 $(run-program-prefix) with $(test-program-prefix).
23661 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23662 (test_program_prefix): This.
23663 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23664 $(run-program-prefix) with $(test-program-prefix).
23665 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23666 (test_program_prefix): This.
23667 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23668 * posix/Makefile ($(objpfx)globtest.out): Replace
23669 $(run-via-rtld-prefix) and $(test-wrapper) with
23670 $(test-program-prefix) and $(test-via-rtld-prefix).
23671 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23672 $(test-program-prefix).
23673 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23674 $(host-test-program-cmd).
23675 (tst-spawn-ARGS): Likewise.
23676 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23677 $(test-program-prefix).
23678 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23679 (test_via_rtld_prefix): This.
23680 (test_wrapper): Renamed to ...
23681 (test_program_prefix): This.
23682 (run_program_prefix): Replaced by test_program_prefix.
23683 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23684 (test_program_prefix): This.
23685 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23686 with $(host-test-program-cmd).
23687 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23688 $(run-program-prefix) with $(test-program-prefix).
23689 ($(objpfx)tst-printf.out): Likewise.
23690 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23691 $(test-program-cmd).
23692 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23693 (test_program_prefix): This.
23694 * stdio-common/tst-unbputc.sh: Likewise.
23695 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23696 $(run-program-prefix) with $(test-program-prefix).
23697 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23698 (test_program_prefix): This.
23699 * string/Makefile ($(objpfx)tst-svc.out): Replace
23700 $(built-program-cmd) with $(test-program-cmd).
23701
c6fe55cf
AJ
237022013-01-11 Andreas Jaeger <aj@suse.de>
23703
23704 [BZ #15003]
23705 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23706 value. Sync with Linux 3.7.
23707
9e6919c8
DM
237082013-01-10 David S. Miller <davem@davemloft.net>
23709
23710 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23711 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23712 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23713
1c9f1a02
RM
237142013-01-10 Roland McGrath <roland@hack.frob.com>
23715
23716 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23717 never set.
23718 * configure: Regenerated.
23719
b9de2dde
DM
237202013-01-10 David S. Miller <davem@davemloft.net>
23721
23722 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23723 sparc V9 rather than using V8 code.
23724 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23725 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23726
e7f68ef4
RM
237272013-01-10 Roland McGrath <roland@hack.frob.com>
23728
23729 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23730 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23731 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23732 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23733 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23734 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23735 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23736 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23737 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23738 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23739 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23740 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23741 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23742 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23743 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23744 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23745 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23746 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23747 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23748 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23749 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23750 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23751 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23752 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23753 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23754 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23755 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23756
5a47cc9c
DM
237572013-01-10 David S. Miller <davem@davemloft.net>
23758
23759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23760
4cf8f209
L
237612013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23762
23763 * posix/Makefile (tests-static): New variable.
23764 (tests): Add $(tests-static).
23765 (tst-exec-static-ARGS): New variable.
23766 (tst-spawn-static-ARGS): Likewise.
23767 * posix/tst-exec-static.c: New file.
23768 * posix/tst-spawn-static.c: Likewise.
23769 * posix/tst-exec.c: Support run directly.
23770 * posix/tst-spawn.c: Likewise.
23771
fed0faa1
JM
237722013-01-10 Joseph Myers <joseph@codesourcery.com>
23773
828beb13
JM
23774 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23775 long.
23776 * math/bits/mathcalls.h (llrint): Likewise.
23777 (llround): Likewise.
23778 * stdlib/stdlib.h (struct drand48_data): Likewise.
23779 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23780 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23781 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23782 Likewise.
23783 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23784 Likewise.
23785 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23786 (elf_greg_t): Likewise.
23787 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23788 (__jmp_buf): Likewise.
23789 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23790 definitions.
23791 (llrint): Likewise, for all definitions.
23792 (llrintl): Likewise.
23793
fed0faa1
JM
23794 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23795 Remove [__GNUC__] condition.
23796 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23797 condition to just [__USE_ISOC99].
23798 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23799
1a20cb20
L
238002013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23801
23802 [BZ #14200]
23803 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23804 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23805 defined.
23806 (_POSIX_V6_ILP32_OFF32): Likewise.
23807 (_XBS5_ILP32_OFF32): Likewise.
23808 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23809 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23810
751b85f7
SP
238112013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23812
7490eb81
SP
23813 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23814
751b85f7
SP
23815 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23816 doubles __mpexp_twomm1. Adjust usage.
23817 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23818 Remove.
23819
988197f0
AS
238202013-01-10 Andreas Schwab <schwab@suse.de>
23821
23822 [BZ #14964]
23823 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23824 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23825
e83d7298
DM
238262013-01-09 David S. Miller <davem@davemloft.net>
23827
034ed64b 23828 [BZ #15003]
57f41c40
AS
23829 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23830 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23831 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23832 (TCP_FASTOPEN): Define.
e83d7298
DM
23833 (tcp_repair_opt): New structure.
23834 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23835 enum values.
57f41c40
AS
23836 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23837 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23838 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
23839 (tcp_cookie_transactions): New structure.
23840
d5e0b9bd
AB
238412013-01-09 Anton Blanchard <anton@samba.org>
23842
23843 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23844 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23845 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23846 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23847
0c07e3ea
JM
238482013-01-09 Joseph Myers <joseph@codesourcery.com>
23849
23850 * include/features.h (__USE_ANSI): Remove.
23851
232f7002
RM
238522013-01-09 Roland McGrath <roland@hack.frob.com>
23853
ad98e30c
RM
23854 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23855
232f7002
RM
23856 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23857
950c99ca
SP
238582013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23859
b5792741
SP
23860 * sysdeps/s390/fpu/libm-test-ulps: Update.
23861
47cf2278
SP
23862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23863
950c99ca
SP
23864 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23865 (__acr): Likewise.
23866 (__cpy): Likewise.
23867 (norm): Likewise.
23868 (denorm): Likewise.
23869 (__mp_dbl): Likewise.
23870 (__dbl_mp): Likewise.
23871 (add_magnitudes): Likewise.
23872 (sub_magnitudes): Likewise.
23873 (__add): Likewise.
23874 (__sub): Likewise.
23875 (__mul): Likewise.
23876 (__inv): Likewise.
23877 (__dvd): Likewise.
23878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23879 (__acr): Likewise.
23880 (__cpy): Likewise.
23881 (norm): Likewise.
23882 (denorm): Likewise.
23883 (__mp_dbl): Likewise.
23884 (__dbl_mp): Likewise.
23885 (add_magnitudes): Likewise.
23886 (sub_magnitudes): Likewise.
23887 (__add): Likewise.
23888 (__sub): Likewise.
23889 (__mul): Likewise.
23890 (__inv): Likewise.
23891 (__dvd): Likewise.
23892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23893 (__acr): Likewise.
23894 (__cpy): Likewise.
23895 (norm): Likewise.
23896 (denorm): Likewise.
23897 (__mp_dbl): Likewise.
23898 (__dbl_mp): Likewise.
23899 (add_magnitudes): Likewise.
23900 (sub_magnitudes): Likewise.
23901 (__add): Likewise.
23902 (__sub): Likewise.
23903 (__mul): Likewise.
23904 (__inv): Likewise.
23905 (__dvd): Likewise.
23906
eede9df9
JM
239072013-01-08 Joseph Myers <joseph@codesourcery.com>
23908
23909 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23910 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23911 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23912 2 && __USE_EXTERN_INLINES]: Likewise.
23913
c40ea3d9
AJ
239142013-01-08 Andreas Jaeger <aj@suse.de>
23915
23916 [BZ# 14985]
23917 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23918 Remove.
23919 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23920 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23921
2ccdea26
AB
239222013-01-07 Anton Blanchard <anton@samba.org>
23923
23924 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23925 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23926 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23927 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23928 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23929 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23930 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23931 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23933 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23934 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23935 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23936 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23937 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23938 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23940 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23941 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23942 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23943 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23944 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23945 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23946 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23947 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23948 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23949 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23950 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23951 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23952 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23953 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23954 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23956 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23957 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23958 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23959 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23960 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23961 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23962 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23963 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23964 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23965 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23966 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23967
a9708fed
JM
239682013-01-07 Joseph Myers <joseph@codesourcery.com>
23969
375607b9
JM
23970 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23971 (__MALLOC_PMT): Likewise.
23972 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23973 [__GNUC__], only on [_LIBC].
23974 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23975 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23976 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23977 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23978 forward declaration.
23979 (realloc_hook_ini): Likewise.
23980 (memalign_hook_ini): Likewise.
23981 (__libc_memalign): Do not use __MALLOC_PMT in variable
23982 declaration.
23983 (__libc_valloc): Likewise.
23984 (__libc_pvalloc): Likewise.
23985 (__libc_calloc): Likewise.
23986 (__posix_memalign): Likewise.
23987
a9708fed
JM
23988 [BZ #14996]
23989 * math/s_casinh.c: Include <float.h>.
23990 (__casinh): Do not do computation with squaring and square root
23991 for large arguments.
23992 * math/s_casinhf.c: Include <float.h>.
23993 (__casinhf): Do not do computation with squaring and square root
23994 for large arguments.
23995 * math/s_casinhl.c: Include <float.h>.
23996 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23997 (__casinhl): Do not do computation with squaring and square root
23998 for large arguments.
23999 * math/libm-test.inc (casin_test): Add more tests.
24000 (casinh_test): Likewise.
24001 * sysdeps/i386/fpu/libm-test-ulps: Update.
24002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24003
afec409a
L
240042013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24005
24006 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24007 (__x86_64_raw_data_cache_size): Likewise.
24008 (__x86_64_data_cache_size_half): Likewise.
24009 (__x86_64_raw_data_cache_size_half): Likewise.
24010 (__x86_64_shared_cache_size): Likewise.
24011 (__x86_64_raw_shared_cache_size): Likewise.
24012 (__x86_64_shared_cache_size_half): Likewise.
24013 (__x86_64_raw_shared_cache_size_half): Likewise.
24014 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24015 to ...
24016 (__x86_data_cache_size): This.
24017 (__x86_64_raw_data_cache_size): Renamed to ...
24018 (__x86_raw_data_cache_size): This.
24019 (__x86_64_data_cache_size_half): Renamed to ...
24020 (__x86_data_cache_size_half): This.
24021 (__x86_64_raw_data_cache_size_half): Renamed to ...
24022 (__x86_raw_data_cache_size_half): This.
24023 (__x86_64_shared_cache_size): Renamed to ...
24024 (__x86_shared_cache_size): This.
24025 (__x86_64_raw_shared_cache_size): Renamed to ...
24026 (__x86_raw_shared_cache_size): This.
24027 (__x86_64_shared_cache_size_half): Renamed to ...
24028 (__x86_shared_cache_size_half): This.
24029 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24030 (__x86_raw_shared_cache_size_half): This.
24031 * sysdeps/x86_64/memcpy.S: Updated.
24032 * sysdeps/x86_64/memset.S: Likewise.
24033 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24034 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24035 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24036
0b3986d0
DM
240372013-01-04 David S. Miller <davem@davemloft.net>
24038
24039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24040
e47686e9
AS
240412013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24042
d643bac1
AS
24043 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24044 1 to avoid redefinition warning.
24045 (__USE_GNU): Don't define.
24046 (init_signaling_nan): Protoize.
24047
e47686e9
AS
24048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24049
b18decba
SP
240502013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24051
fffb407f
SP
24052 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24054 (__cpymn): Likewise.
24055 (norm): Remove commented code.
24056 (denorm): Likewise.
24057 (__mp_dbl): Likewise.
24058 (__inv): Likewise.
24059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24060 (__cpymn): Likewise.
24061 (norm): Remove commented code.
24062 (denorm): Likewise.
24063 (__mp_dbl): Likewise.
24064 (__inv): Likewise.
24065
b18decba
SP
24066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24067 mp_no value for 1.0 and 2.0.
24068 (norm): Use RADIXI instead of radixi.d.
24069 (denorm): Likewise.
24070 (__mul): Use 0.0 instead of zero.d.
24071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24072 mp_no value for 1.0 and 2.0.
24073 (norm): Use RADIXI instead of radixi.d.
24074 (denorm): Likewise.
24075 (__mul): Use 0.0 instead of zero.d.
24076
cdc1c96f
JM
240772013-01-04 Joseph Myers <joseph@codesourcery.com>
24078
24079 [BZ #14994]
24080 * math/s_casinh.c (__casinh): Reduce finite argument to first
24081 quadrant then set signs of results at the end.
24082 * math/s_casinhf.c (__casinhf): Likewise.
24083 * math/s_casinhl.c (__casinhl): Likewise.
24084 * math/libm-test.inc (casin_test): Add more tests.
24085 (casinh_test): Likewise.
24086 * sysdeps/i386/fpu/libm-test-ulps: Update.
24087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24088
302913e1
SP
240892013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24090
6420d207
SP
24091 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24092
a9e48ab4
SP
24093 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24094
b7837264
SP
24095 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24096 declarations.
24097 (denorm): Likewise.
24098 (__mp_dbl): Likewise.
24099 (__inv): Likewise.
24100
f8af25d2
SP
24101 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24102 and adjust the header comment.
24103
302913e1
SP
24104 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24105 variable name from declaration.
24106
5d7dd1ca
L
241072013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24108
24109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24110 Initialize COMMON_CPUID_INDEX_7 element.
24111 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24112 (CPUID_RTM): Likewise.
24113 (HAS_RTM): Likewise.
24114 (COMMON_CPUID_INDEX_7): New enum.
24115
2f5f40f4
AS
241162013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24117
24118 [BZ #14981]
24119 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24120 size is zero, record memory as freed.
24121
4056f4a0
AJ
241222013-01-03 Andreas Jaeger <aj@suse.de>
24123
24124 * po/ia.po: Add new Interlingua translation.
24125
ab15736f 241262012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
24127
24128 * locale/programs/localedef.c: Fix description of '--posix' flag.
24129
568035b7
JM
241302013-01-02 Joseph Myers <joseph@codesourcery.com>
24131
e6898b8d
JM
24132 * NEWS: Update dates in second copyright notice.
24133 * README: Update copyright dates in example.
24134 * manual/libc.texinfo: Update copyright dates.
24135 * scripts/test-installation.pl: Update copyright date in --version
24136 output.
24137
0e2f9562
JM
24138 * hurd/ctty-input.c: Fix copyright notice formatting.
24139 * hurd/ctty-output.c: Likewise.
24140 * hurd/dtable.c: Likewise.
24141 * hurd/hurd-raise.c: Likewise.
24142 * hurd/hurdprio.c: Likewise.
24143 * hurd/msgportdemux.c: Likewise.
24144 * misc/sys/file.h: Likewise.
24145 * misc/sys/ioctl.h: Likewise.
24146 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24147 * sysdeps/mach/hurd/chdir.c: Likewise.
24148 * sysdeps/mach/hurd/fchdir.c: Likewise.
24149 * sysdeps/mach/hurd/rename.c: Likewise.
24150 * sysdeps/mach/hurd/rmdir.c: Likewise.
24151 * sysdeps/mach/hurd/seekdir.c: Likewise.
24152 * sysdeps/mach/hurd/setsid.c: Likewise.
24153 * sysdeps/posix/wait3.c: Likewise.
24154
568035b7
JM
24155 * All files with FSF copyright notices: Update copyright dates
24156 using scripts/update-copyrights.
24157 * intl/plural.c: Regenerated.
24158 * locale/programs/charmap-kw.h: Likewise.
24159 * locale/programs/locfile-kw.h: Likewise.
24160
da08f647
SP
241612013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24162
0f5477af
SP
24163 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24164 four values.
24165
44e0d4c2
SP
24166 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24167 calculation loop and add branch prediction.
24168
4d55b4e5
SP
24169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24170 check access beyond bounds of m1np.
24171
da08f647
SP
24172 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24173 MPTWO.
24174 (__inv): Remove local variable MPTWO to use the global
24175 constant.
24176 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24177 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24178 variable MPTWO.
24179 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24180 MP3HALFS static const.
24181
8e051029
DM
241822013-01-01 David S. Miller <davem@davemloft.net>
24183
24184 * po/ca.po: Update from translation team.
24185
f4cf5f2d
JM
241862013-01-01 Joseph Myers <joseph@codesourcery.com>
24187
24188 * scripts/update-copyrights: New file.
24189 * Makeconfig: Reformat copyright notice.
24190 * ctype/ctype.h: Likewise.
24191 * debug/swprintf_chk.c: Likewise.
24192 * elf/dl-cache.c: Likewise.
24193 * elf/dl-debug.c: Likewise.
24194 * elf/dl-object.c: Likewise.
24195 * grp/initgroups.c: Likewise.
24196 * hurd/Makefile: Likewise.
24197 * hurd/hurd/signal.h: Likewise.
24198 * hurd/hurdfault.c: Likewise.
24199 * hurd/hurdioctl.c: Likewise.
24200 * hurd/hurdlookup.c: Likewise.
24201 * hurd/intr-msg.c: Likewise.
24202 * iconv/gconv_open.c: Likewise.
24203 * libio/swprintf.c: Likewise.
24204 * locale/lc-ctype.c: Likewise.
24205 * locale/nl_langinfo.c: Likewise.
24206 * mach/Machrules: Likewise.
24207 * mach/Makefile: Likewise.
24208 * malloc/obstack.h: Likewise.
24209 * manual/Makefile: Likewise.
24210 * manual/tsort.awk: Likewise.
24211 * misc/bits/stab.def: Likewise.
24212 * nis/nis_print_group_entry.c: Likewise.
24213 * nis/nis_table.c: Likewise.
24214 * nis/nss_compat/compat-pwd.c: Likewise.
24215 * nis/nss_compat/compat-spwd.c: Likewise.
24216 * po/Makefile: Likewise.
24217 * posix/fnmatch.c: Likewise.
24218 * posix/regex.h: Likewise.
24219 * resolv/Makefile: Likewise.
24220 * resolv/nss_dns/dns-network.c: Likewise.
24221 * resolv/res_hconf.c: Likewise.
24222 * scripts/gen-sorted.awk: Likewise.
24223 * soft-fp/soft-fp.h: Likewise.
24224 * stdio-common/printf.h: Likewise.
24225 * stdlib/monetary.h: Likewise.
24226 * stdlib/random.c: Likewise.
24227 * stdlib/random_r.c: Likewise.
24228 * sysdeps/generic/Makefile: Likewise.
24229 * sysdeps/gnu/Makefile: Likewise.
24230 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24231 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24232 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24234 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24235 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24236 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24237 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24240 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24241 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24242 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24243 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24244 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24245 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24246 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24247 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24248 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24249 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24250 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24251 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24252 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24253 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24254 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24256 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24258 * sysdeps/mach/hurd/errnos.awk: Likewise.
24259 * sysdeps/mach/hurd/fork.c: Likewise.
24260 * sysdeps/mach/hurd/getcwd.c: Likewise.
24261 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24262 * sysdeps/mach/hurd/mmap.c: Likewise.
24263 * sysdeps/mach/hurd/utimes.c: Likewise.
24264 * sysdeps/mach/hurd/xmknod.c: Likewise.
24265 * sysdeps/posix/profil.c: Likewise.
24266 * sysdeps/posix/readdir_r.c: Likewise.
24267 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24268 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24269 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24270 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24272 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24273 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24274 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24276 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24277 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24278 * sysdeps/pthread/lio_listio.c: Likewise.
24279 * sysdeps/sparc/dl-procinfo.h: Likewise.
24280 * sysdeps/unix/i386/sysdep.S: Likewise.
24281 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24282 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24283 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24284 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24286 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24287 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24288 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24289 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24290 * sysdeps/wordsize-32/divdi3.c: Likewise.
24291 * time/sys/time.h: Likewise.
24292 * wcsmbs/Makefile: Likewise.
24293
0549fbba
DM
242942013-01-01 David S. Miller <davem@davemloft.net>
24295
a141f1a7
DM
24296 * po/fr.po: Update from translation team.
24297
0549fbba
DM
24298 * catgets/gencat.c: Update copyright year.
24299 * csu/version.c: Likewise.
24300 * debug/catchsegv.sh: Likewise.
24301 * debug/pcprofiledump.c: Likewise.
24302 * debug/xtrace.sh: Likewise.
24303 * elf/ldconfig.c: Likewise.
24304 * elf/ldd.bash.in: Likewise.
24305 * elf/pldd.c: Likewise.
24306 * elf/sotruss.ksh: Likewise.
24307 * elf/sprof.c: Likewise.
24308 * iconv/iconv_prog.c: Likewise.
24309 * iconv/iconvconfig.c: Likewise.
24310 * locale/programs/locale.c: Likewise.
24311 * locale/programs/localedef.c: Likewise.
24312 * login/programs/pt_chown.c: Likewise.
24313 * malloc/memusage.sh: Likewise.
24314 * malloc/memusagestat.c: Likewise.
24315 * malloc/mtrace.pl: Likewise.
24316 * nscd/nscd.c: Likewise.
24317 * nss/getent.c: Likewise.
24318 * nss/makedb.c: Likewise.
24319 * posix/getconf.c: Likewise.
24320
18ea052c
SP
243212012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24322
24323 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24324 numbers.
24325
9c89fca6
MF
243262012-12-30 Mike Frysinger <vapier@gentoo.org>
24327
24328 * math/bits/mathcalls.h (modf): Use __nonnull.
24329
085ec079
SP
243302012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24331
24332 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24333 (split): Use macro CN instead of the bare value.
24334 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24335 could be used.
24336 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24337 instead of the bare value.
24338 (power1): Likewise.
24339
6d9f97e1
SP
243402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24341
d63f73be
SP
24342 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24343 __ATAN_TWOM.
24344 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24345
6d9f97e1
SP
24346 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24347 their values.
24348 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24349 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24350 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24351 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24352
4c4febf5
AJ
243532012-12-28 Andreas Jaeger <aj@suse.de>
24354
af5843ef
AJ
24355 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24356 values are from Linux 3.7.
24357
4c4febf5
AJ
24358 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24359 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24360
99136f82
SP
243612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24362
2f216c3c 24363 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
24364 TRUE case.
24365
99136f82
SP
24366 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24367 (norm): Likewise.
24368 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24369 variables with preprocessor constants.
24370 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24371 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24372 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24373
7fffbdff
BH
243742012-12-27 Bruno Haible <bruno@clisp.org>
24375
24376 [BZ #14317]
24377 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24378 only if needed.
24379
b76eb5f0
SP
243802012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24381
31a7fe5c
SP
24382 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24383 and use variable directly.
24384 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24385
b76eb5f0
SP
24386 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24387 MPONE.
24388 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24389 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24390 variable MPONE.
24391 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24392 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24393 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24394 include directive. Remove local variable MPONE.
24395 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24396 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24397 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24398
2c8bfe7d
DM
243992012-12-25 David S. Miller <davem@davemloft.net>
24400
24401 * version.h (RELEASE): Set to "development".
24402 (VERSION): Set to "2.17.90".
24403 * NEWS: Add 2.18 section.
24404
147d03b0
DM
244052012-12-21 David S. Miller <davem@davemloft.net>
24406
24407 * po/hr.po: Update from translation team.
24408
a8ebb2b9
AK
244092012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24410
24411 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24412
95b4f1b6
SE
244132012-12-19 Steve Ellcey <sellcey@mips.com>
24414
b2d94007 24415 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 24416
cedb2a90
MS
244172012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24418
24419 * manual/contrib.texi (Contributors): Spelling correction.
24420
bbf527d6
DM
244212012-12-15 David S. Miller <davem@davemloft.net>
24422
24423 * po/ru.po: Update from translation team.
24424
bc38c906
DM
244252012-12-13 David S. Miller <davem@davemloft.net>
24426
85429b1a
DM
24427 * NEWS: Mention IFUNC testsuite enhancements.
24428
d283e353
DM
24429 * po/pl.po: Update from translation team.
24430 * po/bg.po: Likewise.
24431
bc38c906
DM
24432 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24433 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24434
a181b0d7
DM
244352012-12-11 David S. Miller <davem@davemloft.net>
24436
4641d57e
DM
24437 * po/sv.po: Update from translation team.
24438
f7bc6495
DM
24439 * po/vi.po: Update from translation team.
24440
6fc9048f
DM
24441 * po/cs.po: Update from translation team.
24442
a181b0d7
DM
24443 * po/de.po: Update from translation team.
24444 * po/eo.po: Likewise.
24445 * po/nl.po: Likewise.
24446
f70bfe80
SP
244472012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24448
3c8b4190
SP
24449 [BZ #14246]
24450 * manual/argp.texi (Argp Helper Functions): Move node to follow
24451 Argp Parsing State.
24452
f70bfe80
SP
24453 [BZ #14872]
24454 * manual/conf.texi (Limits on File System Capacity): Mention if
24455 terminating null is included in the max size.
24456
188f0adf
AJ
244572012-12-10 Andreas Jaeger <aj@suse.de>
24458
24459 * po/cs.po: Update from translation team.
24460
56e7d3ad
SP
244612012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24462
24463 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24464 void pointer and cast to uintptr_t.
24465 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24466 path.
24467 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24468 * sysdeps/s390/s390-64/memset.S: Likewise.
24469
76f2d2ea 244702012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
24471
24472 [BZ #14833]
24473 * menual/message.texi (Message Translation): Fix typos.
24474 (Helper programs for gettext): Likewise.
24475
67cbf9a2
AS
244762012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24477
24478 [BZ #14898]
24479 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24480 Change to -1.
24481
682d0e9a
DM
244822012-12-07 David S. Miller <davem@davemloft.net>
24483
24484 * po/libc.pot: Update.
24485
573cd484
RH
244862012-12-07 Richard Henderson <rth@redhat.com>
24487
7e9da188 24488 [BZ #10114]
573cd484
RH
24489 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24490 normal/normal case to before the switch.
24491 (_FP_DIV): Likewise.
24492
e933a943
MF
244932012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24494 Mike Frysinger <vapier@gentoo.org>
24495
24496 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24497 check for __NR_fadvise64_64.
24498
82123268
CM
244992012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24500
24501 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24502 0, not just to plain "0" as a statement.
24503 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24504 with cw.
24505
d9814526
JM
245062012-12-06 Joseph Myers <joseph@codesourcery.com>
24507
24508 * NEWS: Use sourceware.org in Bugzilla URL.
24509
7728c574
SP
245102012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24511
f16946dd
SP
24512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24513 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24514
5704bbcb
SP
24515 * stdio-common/tst-put-error.c (do_test): Add newline to the
24516 padded test to ensure flush.
24517
17aa0516
JL
245182012-12-05 Jeff Law <law@redhat.com>
24519
24520 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24521
363313b5
JM
245222012-12-05 Joseph Myers <joseph@codesourcery.com>
24523
effbd42a
JM
24524 * README: Don't refer to ports add-on as distributed separately.
24525 Mention AArch64 in list of systems supported in the ports add-on.
24526
87600365
JM
24527 * LICENSES: Add more non-FSF copyright and license notices.
24528
a0d7066a
JM
24529 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24530 ((unused)).
24531
66ca5a5b
JM
24532 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24533
363313b5
JM
24534 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24535 10000 as width of padded output.
24536
b37984ad
JM
245372012-12-04 Joseph Myers <joseph@codesourcery.com>
24538
9003570a
JM
24539 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24540
b37984ad
JM
24541 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24542 variable LX with __attribute__ ((unused)).
24543 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24544 Likewise.
24545 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24546 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24547 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24548 with __attribute__ ((unused)).
24549
c8df52ec
DM
245502012-12-04 David S. Miller <davem@abraco.davemloft.net>
24551
24552 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24553
b3b099af
JM
245542012-12-04 Joseph Myers <joseph@codesourcery.com>
24555
c33aa6e3
JM
24556 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24557 (CFLAGS-nldbl-acos.c): New variable.
24558 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24559 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24560 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24561 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24562 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24563 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24564 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24565 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24566 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24567 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24568 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24569 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24570 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24571 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24572 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24573 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24574 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24575 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24576 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24577 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24578 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24579 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24580 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24581 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24582 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24583 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24584 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24585 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24586 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24587 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24588 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24589 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24590 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24591 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24592 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24593 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24594 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24595 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24596 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24597 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24598 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24599 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24600 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24601 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24602 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24603 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24604 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24605 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24606 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24607 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24608 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24609 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24610 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24611 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24612 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24613 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24614 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24615 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24616 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24617 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24618 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24619 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24620 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24621 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24622 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24623 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24624 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24625 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24626 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24627 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24628 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24629 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24630 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24631 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24632 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24633 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24634 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24635 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24636 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24637 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24638 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24639 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24640 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24641 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24642 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24643 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24644 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24645 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24646 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24647 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24648 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24649 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24650 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24651 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24652 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24653 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24654 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24655
20f0018d
JM
24656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24657 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24658
b3b099af
JM
24659 [BZ #14914]
24660 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24661 whole low double instead of just low 47 bits when splitting values
24662 into two parts.
24663
029264d1
AM
246642012-12-03 Allan McRae <allan@archlinux.org>
24665
24666 * manual/stdio.texi (Predefined Printf Handlers): Remove
24667 @hsep and @vsep usage.
24668
c9d6789e
MF
246692012-12-03 Mike Frysinger <vapier@gentoo.org>
24670
24671 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24672 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24673
4b7634a5
JL
246742012-12-03 Jeff Law <law@redhat.com>
24675
24676 * time/sys/time.h (settimeofday): Do not mark TV argument
24677 as __nonnull.
24678
eb6cbd24
MF
246792012-12-01 Mike Frysinger <vapier@gentoo.org>
24680
24681 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24682 when currently writing and seek to current position when not.
24683 * libio/Makefile (tests): Remove bug-fclose1.
24684 * libio/bug-fclose1.c: Delete.
24685
f638872a
JM
246862012-12-01 Joseph Myers <joseph@codesourcery.com>
24687
24688 * manual/arith.texi (feenableexcept): Fix typo.
24689 (fedisableexcept): Likewise.
24690
48085d14
RM
246912012-11-30 Roland McGrath <roland@hack.frob.com>
24692
24693 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24694 second, differently-typed declaration, rather than a cast.
24695
1a538b9f
SP
246962012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24697
24698 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24699 * include/rpc/svc.h: ... here.
24700
d07f2ff1 247012012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
24702
24703 [BZ #13013]
24704 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24705 depending n and resplen2 to catch cases where answer
24706 equals answerp2.
24707
c93ec1f0
CD
247082012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24709
24710 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24711 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24712
37db69de
MF
247132012-11-29 Mike Frysinger <vapier@gentoo.org>
24714
24715 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24716
e10c4e4f
RM
247172012-11-29 Roland McGrath <roland@hack.frob.com>
24718
24719 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24720
2af1b328
JL
247212012-11-28 Jeff Law <law@redhat.com>
24722
24723 [BZ #13761]
24724 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24725 dataset_temporary. Track alloca usage into alloca_used.
24726 If dataset is large allocate and release it via malloc/free.
24727
111db5b1
FW
247282012-06-04 Florian Weimer <fweimer@redhat.com>
24729
f06cc227 24730 [BZ #14197]
111db5b1
FW
24731 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24732
dd694abd
DM
247332012-11-28 David S. Miller <davem@davemloft.net>
24734
24735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24736
9984dd01
JM
247372012-11-28 Joseph Myers <joseph@codesourcery.com>
24738
24739 [BZ #14803]
24740 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24741 of pi/2 rounded to nearest to 64 bits.
24742 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24743 nearest to 64 bits.
24744 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24745 bits.
24746
14bc93a9
JL
247472012-11-28 Jeff Law <law@redhat.com>
24748 Martin Osvald <mosvald@redhat.com>
24749
24750 [BZ #14889]
24751 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24752 * sunrpc/svc.c: Include time.h.
24753 (__svc_accept_failed): New function.
24754 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24755 any reason other than EINTR, call __svc_accept_failed.
24756 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24757 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24758
e3c6aa3a
AS
247592012-11-28 Andreas Schwab <schwab@suse.de>
24760
24761 * scripts/abilist.awk: Also handle indirect functions in .opd
24762 section.
24763
1bead169
JM
247642012-11-28 Joseph Myers <joseph@codesourcery.com>
24765
24766 [BZ #13881]
24767 * sysdeps/x86/fpu/powl_helper.c: New file.
24768 * sysdeps/x86/fpu/Makefile: Likewise.
24769 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24770 (p3): New object.
24771 (__ieee754_powl): Use __powl_helper for finite arguments except
24772 integer exponents below 8.
24773 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24774 (p3): New object.
24775 (__ieee754_powl): Use __powl_helper for finite arguments except
24776 integer exponents below 8.
24777 * math/libm-test.inc (pow_test): Add more tests and enable some
24778 previously disabled tests.
24779 * sysdeps/i386/fpu/libm-test-ulps: Update.
24780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24781
0817d63d
SP
247822012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24783 Carlos O'Donell <carlos_odonell@mentor.com>
24784
24785 * nss/makedb.c (is_prime): Assert that input is odd and greater
24786 than 4. Note that fact in a comment too.
24787 (next_prime): Add 4 to input.
24788
de2fd463
SP
247892012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24790
24791 [BZ #11741]
24792 * libio/Makefile (tests): Add test case tst-fwrite-error.
24793 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24794 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24795 * libio/tst-fwrite-error.c: New test case.
24796
c515fb51
L
247972012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24798
24799 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24800 before casting to void *.
24801 * include/libc-internal.h (__pointer_type): New macro.
24802 (__integer_if_pointer_type_sub): Likewise.
24803 (__integer_if_pointer_type): Likewise.
24804 (cast_to_integer): Likewise.
24805 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24806 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24807 before casting to atomic64_t.
24808 (atomic_exchange_acq): Likewise.
24809 (__arch_exchange_and_add_body): Likewise.
24810 (__arch_add_body): Likewise.
24811 (atomic_add_negative): Likewise.
24812 (atomic_add_zero): Likewise.
24813
4cf77aa9
JM
248142012-11-26 Joseph Myers <joseph@codesourcery.com>
24815
24816 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24817 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24818 (add_fdes): Likewise.
24819 (linear_search_fdes): Likewise.
24820 (binary_search_unencoded_fdes): Likewise.
24821
d260b3b4
AS
248222012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24823
24824 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24825
67060746
AC
248262012-11-24 Adam Conrad <adconrad@0c3.net>
24827
24828 * configure.in: Autodetect C++ header directories.
24829 * configure: Regenerated.
24830
800938a1
MF
248312012-11-23 Mike Frysinger <vapier@gentoo.org>
24832
24833 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24834
4e6e34e6
AS
248352012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24836
24837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24838
7c7feb47
JM
248392012-11-22 Joseph Myers <joseph@codesourcery.com>
24840
7184dcdf
JM
24841 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24842 LDBL_MANT_DIG == 106]: Disable some tests.
24843 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24844 Likewise.
24845 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24846 Likewise.
24847
0a42601f
JM
24848 [BZ #14871]
24849 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24850 input for small inputs. Return +/- pi/2 for large inputs.
24851 * math/libm-test.inc (atan_test): Add more tests.
24852
79c9b9fe
JM
24853 * sysdeps/generic/unwind-dw2-fde-glibc.c
24854 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24855 __attribute__ ((unused)).
24856
c60d3bf2
JM
24857 [BZ #14645]
24858 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24859 x * y if x and y are nonzero and z is zero.
24860
ef1e0867
JM
24861 [BZ #14811]
24862 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24863 nonzero exponents with absolute value below 0x1p-117 to +/-
24864 0x1p-117.
24865
1468ded3
JM
24866 [BZ #14869]
24867 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24868 up arguments below 2**-450, not just those below 2**-500.
24869 * math/libm-test.inc (hypot_test): Add another test.
24870
8e27e3cc
JM
24871 [BZ #14868]
24872 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24873 Return a+b for ratio over 2**120, not 2**60.
24874 * math/libm-test.inc (hypot_test): Add another test.
24875
c9c0279b
JM
24876 * math/libm-test.inc (clog_test): Use
24877 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24878 (clog10_test): Likewise.
24879
7c7feb47
JM
24880 [BZ #6778]
24881 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24882
fff1530e
AS
248832012-11-22 Andreas Schwab <schwab@suse.de>
24884
24885 * sysdeps/i386/fpu/libm-test-ulps: Update.
24886
94558d30
PT
248872012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24888
24889 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24890 printf output with newline.
24891
7e1be741
L
248922012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24893
6bfea974
L
24894 [BZ #14865]
24895 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24896 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24897 -z nodlopen, -z initfirst and -z execstack support.
24898 * configure: Regenerated.
24899
7e1be741
L
24900 * elf/elf.h (DF_1_NODIRECT): New macro.
24901 (DF_1_IGNMULDEF): Likewise.
24902 (DF_1_NOKSYMS): Likewise.
24903 (DF_1_NOHDR): Likewise.
24904 (DF_1_EDITED): Likewise.
24905 (DF_1_NORELOC): Likewise.
24906 (DF_1_SYMINTPOSE): Likewise.
24907 (DF_1_GLOBAUDIT): Likewise.
24908 (DF_1_SINGLETON): Likewise.
24909 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24910 DT_1_SUPPORTED_MASK bits.
24911 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24912
105ce2ce
CD
249132012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24914
24915 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24916
123be9de
TS
249172012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24918
d072f3f7
TS
24919 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24920 macro.
24921
123be9de
TS
24922 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24923 (sendmmsg): Move declarations...
24924 * socket/sys/socket.h: ... here.
24925 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24926 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24927 include it from...
24928 * socket/recvmmsg.c: ... this new file.
24929 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24930 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24931 definition of __sendmmsg hidden.
24932 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24933 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24934 Move ENOSYS stub into and include it from...
24935 * socket/sendmmsg.c: ... this new file.
24936 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24937 (sysdep_routines): Move recvmmsg and sendmmsg...
24938 * socket/Makefile (routines): ... here.
24939 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24940 (GLIBC_PRIVATE): Add __sendmmsg.
24941 * include/sys/socket.h (__sendmmsg): Add declarations.
24942 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24943 sendmmsg.
24944
cf9a5d18
JM
249452012-11-20 Joseph Myers <joseph@codesourcery.com>
24946
24947 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24948 variable I1 with __attribute__ ((unused)).
24949 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24950
ecd4caf9
JM
249512012-11-19 Joseph Myers <joseph@codesourcery.com>
24952
be14d48f
JM
24953 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24954 DUMMY variables with __attribute__ ((unused)).
24955
ecd4caf9
JM
24956 * bits/byteswap.h: Include <bits/types.h>.
24957 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24958
986cab95
PT
249592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24960
24961 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24962 string_t. Do not manually set errno.
24963 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24964 length with __strnlen. Make sure to both set errno and return it on
24965 failure.
24966
6d33cc9d
DM
249672012-11-19 David S. Miller <davem@davemloft.net>
24968
24969 With help from Joseph Myers.
24970 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24971 very large arguments properly.
24972 * math/libm-test.inc (atan_test): New tests.
24973 (atan2_test): New tests.
24974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24976
ee663277
JM
249772012-11-19 Joseph Myers <joseph@codesourcery.com>
24978
877f2d8e
JM
24979 [BZ #14856]
24980 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24981 Define to 3.
24982
116fc08a
JM
24983 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24984 [POSIX] (EADDRNOTAVAIL): Likewise.
24985 [POSIX] (EAFNOSUPPORT): Likewise.
24986 [POSIX] (EALREADY): Likewise.
24987 [POSIX] (ECONNABORTED): Likewise.
24988 [POSIX] (ECONNREFUSED): Likewise.
24989 [POSIX] (ECONNRESET): Likewise.
24990 [POSIX] (EDESTADDRREQ): Likewise.
24991 [POSIX] (EDQUOT): Likewise.
24992 [POSIX] (EHOSTUNREACH): Likewise.
24993 [POSIX] (EIDRM): Likewise.
24994 [POSIX] (EISCONN): Likewise.
24995 [POSIX] (ELOOP): Likewise.
24996 [POSIX] (EMULTIHOP): Likewise.
24997 [POSIX] (ENETDOWN): Likewise.
24998 [POSIX] (ENETUNREACH): Likewise.
24999 [POSIX] (ENOBUFS): Likewise.
25000 [POSIX] (ENODATA): Likewise.
25001 [POSIX] (ENOLINK): Likewise.
25002 [POSIX] (ENOMSG): Likewise.
25003 [POSIX] (ENOPROTOOPT): Likewise.
25004 [POSIX] (ENOSR): Likewise.
25005 [POSIX] (ENOSTR): Likewise.
25006 [POSIX] (ENOTCONN): Likewise.
25007 [POSIX] (ENOTSOCK): Likewise.
25008 [POSIX] (EOPNOTSUPP): Likewise.
25009 [POSIX] (EOVERFLOW): Likewise.
25010 [POSIX] (EPROTO): Likewise.
25011 [POSIX] (EPROTONOSUPPORT): Likewise.
25012 [POSIX] (EPROTOTYPE): Likewise.
25013 [POSIX] (ESTALE): Likewise.
25014 [POSIX] (ETIME): Likewise.
25015 [POSIX] (ETXTBSY): Likewise.
25016 [POSIX] (EWOULDBLOCK): Likewise.
25017 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25018 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25019 [POSIX] (SEEK_CUR): Likewise.
25020 [POSIX] (SEEK_END): Likewise.
25021 [POSIX || UNIX98] (mode_t): Do not require.
25022 [POSIX] (off_t): Likewise.
25023 [POSIX] (pid_t): Likewise.
25024 [POSIX] (sys/stat.h): Do not allow header.
25025 [POSIX] (unistd.h): Likewise.
25026 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25027 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25028 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25029 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25030 require.
25031 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25032 sigevent): Specify elements.
25033 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25034 entry.
25035 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25036 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25037
a483863f
JM
25038 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25039 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25040 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25041 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25042 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25043 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25044 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25045 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25046 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25047 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25048 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25049 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25050 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25051 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25052 Likewise.
25053 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25054 Likewise.
25055 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25056 Likewise.
25057 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25058 Likewise.
25059 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25060 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25061 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25062 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25063 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25064 Specify lower bound on value.
25065 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25066 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25067 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25068 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25069 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25070 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25071 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25072 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25073 value.
25074 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25075 as optional.
25076 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25077 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25078 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25079 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25080 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25081 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25082 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25083 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25084 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25085 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25086 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25087 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25088 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25089 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25090 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25091 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25092 entry.
25093 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25094 optional.
25095 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25096 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25097 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25098 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25099 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25100 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25101 Likewise.
25102 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25103 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25104 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25105 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25106 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25107 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25108 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25109 as optional.
25110 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25111 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25112 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25113 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25114 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25115 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25116 specify as optional.
25117 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25118 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25119 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25120 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25121 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25122 [XPG3] (NL_LANGMAX): Likewise.
25123 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25124 [POSIX || XPG3] (NL_NMAX): Likewise.
25125 [POSIX || XPG3] (NL_SETMAX): Likewise.
25126 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25127 [XPG3] (NZERO): Likewise.
25128 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25129 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25130 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25131 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25132 (REG_ERANGE): Expect.
25133 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25134 optional-constant.
25135 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25136 Use (void) in prototype.
25137 [POSIX] (*_t): Allow.
25138 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25139 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25140 (WRDE_BADVAL): Expect.
25141
5ba924e3
JM
25142 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25143 expect.
25144 [XPG3 || XPG4] (O_RSYNC): Likewise.
25145 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25146 Likewise.
25147 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25148 [XPG3 || XPG4] (sigqueue): Likewise.
25149 [XPG3 || XPG4] (sigtimedwait): Likewise.
25150 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25151 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25152 [XPG3 || XPG4] (vsnprintf): Likewise.
25153 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25154 Likewise.
25155 [XPG3 || XPG4] (blksize_t): Likewise.
25156 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25157 Likewise.
25158 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25159 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25160 [XPG3 || XPG4] (struct itimerspec): Likewise.
25161 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25162 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25163 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25164 [XPG3 || XPG4] (clockid_t): Likewise.
25165 [XPG3 || XPG4] (timer_t): Likewise.
25166 [XPG3 || XPG4] (clock_getres): Likewise.
25167 [XPG3 || XPG4] (clock_gettime): Likewise.
25168 [XPG3 || XPG4] (clock_settime): Likewise.
25169 [XPG3 || XPG4] (nanosleep): Likewise.
25170 [XPG3 || XPG4] (timer_create): Likewise.
25171 [XPG3 || XPG4] (timer_delete): Likewise.
25172 [XPG3 || XPG4] (timer_gettime): Likewise.
25173 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25174 [XPG3 || XPG4] (timer_settime): Likewise.
25175 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25176 [XPG3 || XPG4] (getlogin_r): Likewise.
25177 [XPG3 || XPG4] (pread): Likewise.
25178 [XPG3 || XPG4] (pthread_atfork): Likewise.
25179 [XPG3 || XPG4] (pwrite): Likewise.
25180
ee663277
JM
25181 [BZ #14835]
25182 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25183 <bits/siginfo.h>.
25184
942caa16
PT
251852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25186
e19af380
PT
25187 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25188 finalizing MALLSTREAM.
25189
942caa16
PT
25190 * sysdeps/mach/hurd/syncfs.c: New file.
25191
cfde9b46
SP
251922012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25193
25194 [BZ #14719]
25195 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25196 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25197 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25198 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25199 (_nss_dns_gethostbyname4_r): Likewise.
25200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25201 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25202
f6da27e5
PH
252032012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25204
25205 [BZ #13763]
25206 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25207
6665d4a2
SM
252082012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25209
1f51ee92
SM
25210 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25211 * elf/cache.c (print_entry): Print ",AArch64" for
25212 FLAG_AARCH64_LIB64
25213
6665d4a2
SM
25214 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25215 * elf/cache.c (print_entry): Print ",hard-float" for
25216 FLAG_ARM_LIBHF.
25217
05b227bd
DM
252182012-11-18 David S. Miller <davem@davemloft.net>
25219
25220 With help from Joseph Myers.
25221 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25222 cutoff to 2**-13.
25223 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25224 cutoff to 2**-25.
25225 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25226 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25227 small.
25228 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25229 * math/libm-test.inc (y0_test): New tests.
25230 (y1_test): New tests.
25231 * sysdeps/i386/fpu/libm-test-ulps: Update.
25232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25234
786b0b67
AS
252352012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25236
25237 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25238 64-bit targets.
25239 * configure: Regenerated.
25240
8e18b86d
DM
252412012-11-17 David S. Miller <davem@davemloft.net>
25242
25243 [BZ #14811]
25244 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25245 nonzero exponents with absolute value below 0x1p-128 to +/-
25246 0x1p-128.
25247
531f1ae0
JM
252482012-11-17 Joseph Myers <joseph@codesourcery.com>
25249
12df29e2
JM
25250 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25251
150dc1a0
JM
25252 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25253
531f1ae0
JM
25254 * posix/getconf-speclist.c: New file.
25255 * posix/posix-envs.def: Likewise.
25256 * posix/confstr.c (START_ENV_GROUP): New macro.
25257 (END_ENV_GROUP): Likewise.
25258 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25259 (KNOWN_PRESENT_ENV_STRING): Likewise.
25260 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25261 (UNKNOWN_ENVIRONMENT): Likewise.
25262 (confstr): Include posix-envs.def instead of handling
25263 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25264 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25265 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25266 (END_ENV_GROUP): Likewise.
25267 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25268 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25269 (UNKNOWN_ENVIRONMENT): Likewise.
25270 (__sysconf): Include posix-envs.def instead of handling associated
25271 cases directly here.
25272 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25273 preprocessing getconf-speclist.c rather than running getconf or
25274 generating empty file.
25275
a93f9cbc
PT
252762012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25277
25278 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25279
d64d9f87
AL
252802012-11-16 Andrej Lajovic <natrij@gmail.com>
25281
25282 [BZ #14672]
25283 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25284
447885eb
DM
252852012-11-16 David S. Miller <davem@davemloft.net>
25286
25287 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25288 smaller than LDBL_EPSILON/2.0L, just return xm1.
25289
bcbf9830
L
252902012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25291
25292 * elf/tst-array1.c (init): Set constructor priority to 1000.
25293 (fini): Set destructor priority to 1000.
25294 * elf/tst-array2dep.c: Likewise.
25295
2b766585
SP
252962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25297
25298 [BZ #11741]
25299 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25300 (_IO_new_file_xsputn): Also return EOF if none of the input
25301 data was written when overflow failed.
25302 * libio/iopadn.c (_IO_padn): Likewise.
25303 * libio/iowpadn.c (_IO_wpadn): Likewise.
25304 * stdio-common/tst-put-error.c: Add copyright notice.
25305 (do_test): Add case for printing padded string.
25306 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25307 _IO_padn returned error.
25308 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25309 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25310 return EOF.
25311
b1848fde
SP
253122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25313
25314 * libio/libioP.h: Add comment note that the references to C++
25315 bits are now obsolete.
25316
2fd89785
MS
253172012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25318
25319 * math/libm-test.inc (check_complex): Use asprintf.
25320
e3ea5409
JM
253212012-11-14 Joseph Myers <joseph@codesourcery.com>
25322
25323 * debug/pcprofiledump.c (print_version): Update copyright year.
25324 * malloc/memusagestat.c (print_version): Likewise.
25325
2e64d265
L
253262012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25327
25328 [BZ #14831]
25329 * elf/Makefile (tests): Add tst-audit8.
25330 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25331 ($(objpfx)tst-audit8.out): New target.
25332 (tst-audit8-ENV): New variable.
25333 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25334 audit if l_reloc_result is NULL.
25335 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25336 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25337 * elf/tst-audit8.c: New file.
25338
c485e4d2
MS
253392012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25340
25341 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25342 * misc/Makefile (CFLAGS-select.c): Define.
25343 * posix/Makefile (CFLAGS-pause.c): Define.
25344
3a0d900a
DM
253452012-11-13 David S. Miller <davem@davemloft.net>
25346
25347 * crypt/Makefile: Move test targets after toplevel Rules
25348 inclusion. Grab any necessary sysdep routines when linking.
25349 * crypt/md5.c (md5_process_block): Remove define, we will always
25350 name it __md5_process_block.
25351 (md5_finish_ctx): Update md5_process_block call.
25352 (md5_stream): Likewise.
25353 (md5_process_bytes): Likewise.
25354 (md5_process_block): Rename to __md5_process_block and move to ...
25355 * crypt/md5-block.c: ... here.
25356 * crypt/sha256.c (sha256_process_block): Move to ...
25357 * crypt/sha256-block.c: ... here.
25358 * crypt/sha512.c (sha512_process_block): Move to ...
25359 * crypt/sha512-block.c: ... here.
25360 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25361 path.
25362 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25363 * sysdeps/sparc/sparc64/multiarch/Makefile
25364 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25365 crypt subdir.
25366 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25367 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25368 multiarch changes.
25369 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25370 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25371 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25372 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25373 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25374 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25375 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25376 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25377 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25378 file.
25379 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25380 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25381 file.
25382 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25383
8ca89318
JM
253842012-11-13 Joseph Myers <joseph@codesourcery.com>
25385
e27d476a
JM
25386 * timezone/tzselect.ksh: Update from tzcode git revision
25387 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25388 * timezone/zdump.c: Likewise.
25389 * timezone/zic.c: Likewise.
25390 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25391 in TZVERSION setting, not $(PKGVERSION).
25392 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25393 REPORT_BUGS_TO settings.
25394
8ca89318
JM
25395 [BZ #14838]
25396 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25397 macro.
25398
47594329
MS
253992012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25400
25401 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25402 detection to immediately after _FP_ROUND().
25403 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25404 bits are 0.
25405
640ac3f1
DM
254062012-11-11 David S. Miller <davem@davemloft.net>
25407
25408 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25409 inttypes.h
25410 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25411 __close rather than their public counterparts.
25412
3d2577bb
JM
254132012-11-10 Joseph Myers <joseph@codesourcery.com>
25414
25415 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25416 file.
25417 [UNIX98] (sem_timedwait): Do not expect.
25418 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25419 [XPG4 || UNIX98] (sockatmark): Do not expect.
25420 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25421 (clock_getcpuclockid): Do not expect.
25422 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25423 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25424 Do not expect.
25425 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25426 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25427 [UNIX98] (vwscanf): Likewise.
25428 [UNIX98] (vswscanf): Likewise.
25429
fb1ae1ee
JM
254302012-11-09 Joseph Myers <joseph@codesourcery.com>
25431
9ec6f8bd
JM
25432 * timezone/version.h: Remove file.
25433 * timezone/README: Do not refer to version.h.
25434 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25435 $(objpfx)version.h.
25436 ($(objpfx)zdump.o): Likewise.
c3f81911 25437 ($(objpfx)version.h): New target.
9ec6f8bd 25438
0aa8f8a1
JM
25439 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25440 2012i.
25441 * timezone/README: Don't mention modification to tzselect.ksh.
25442 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25443 work on unmodified tzselect.ksh. Substitute version numbers in
25444 tzselect.ksh.
25445
4e87147f
JM
25446 * Makefile (format-me): Remove.
25447 (INSTALL): Adjust indentation. Use commands directly instead of
25448 using $(format-me).
25449
8b748aed
JM
25450 * aclocal.m4 (ACX_PKGVERSION): New macro.
25451 (ACX_BUGURL): Likewise.
25452 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25453 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25454 (REPORT_BUGS_TO): Likewise.
25455 * configure: Regenerated.
25456 * config.h.in (PKGVERSION): New macro.
25457 (REPORT_BUGS_TO): Likewise.
25458 * config.make.in (PKGVERSION): New variable.
25459 (PKGVERSION_TEXI): Likewise.
25460 (REPORT_BUGS_TO): Likewise.
25461 (REPORT_BUGS_TEXI): Likewise.
25462 * Makefile (format-me): Use -I$(common-objpfx)manual.
25463 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25464 ($(common-objpfx)manual/%): New target.
25465 (manual/%): Remove target.
25466 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25467 (print_version): Use PKGVERSION.
25468 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25469 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25470 and REPORT_BUGS_TO.
25471 ($(objpfx)xtrace): Likewise.
25472 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25473 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25474 (print_version): Use PKGVERSION.
25475 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25476 (do_version): Use PKGVERSION.
25477 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25478 REPORT_BUGS_TO.
25479 (common-ldd-rewrite): Likewise.
25480 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25481 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25482 (print_version): Use PKGVERSION.
25483 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25484 * elf/pldd.c (argp_program_bug_address): Remove variable.
25485 (more_help): New function.
25486 (argp): Use more_help.
25487 (print_version): Use PKGVERSION.
25488 * elf/sln.c (main): Use PKGVERSION.
25489 (usage): Use REPORT_BUGS_TO.
25490 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25491 (top level): Use PKGVERSION.
25492 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25493 (print_version): Use PKGVERSION.
25494 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25495 (print_version): Use PKGVERSION.
25496 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25497 (print_version): Use PKGVERSION.
25498 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25499 (print_version): Use PKGVERSION.
25500 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25501 (print_version): Use PKGVERSION.
25502 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25503 (print_version): Use PKGVERSION.
25504 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25505 and BUGURL.
25506 ($(objpfx)memusage): Likewise.
25507 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25508 (do_version): Use PKGVERSION.
25509 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25510 (print_version): Use PKGVERSION.
25511 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25512 ($PKGVERSION): New variable.
25513 ($REPORT_BUGS_TO): Likewise.
25514 (usage): Use $REPORT_BUGS_TO.
25515 (top level): Use $PKGVERSION.
25516 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25517 ($(objpfx)pkgvers.texi): New rule.
25518 ($(objpfx)stamp-pkgvers): Likewise.
25519 * manual/install.texi: Include pkgvers.texi.
25520 (--with-pkgversion): Document new configure option.
25521 (--with-bugurl): Likewise.
25522 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25523 than necessarily for this particular distribution. Use
25524 REPORT_BUGS_TO for where to report bugs.
25525 * INSTALL: Regenerated.
25526 * manual/libc.texinfo: Include pkgvers.texi.
25527 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25528 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25529 (print_version): Use PKGVERSION.
25530 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25531 (print_version): Use PKGVERSION.
25532 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25533 (print_version): Use PKGVERSION.
25534 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25535 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25536 macro.
25537 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25538 (print_version): Use PKGVERSION.
25539 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25540 (print_version): Use PKGVERSION.
25541 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25542 and PKGVERSION.
25543
92e4b6a9
JM
25544 * timezone/checktab.awk: Update from tzcode 2012i.
25545 * timezone/ialloc.c: Likewise.
25546 * timezone/private.h: Likewise.
25547 * timezone/scheck.c: Likewise.
25548 * timezone/tzfile.h: Likewise.
25549 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25550 (TZVERSION): Hardcode tzcode version number.
25551 * timezone/zdump.c: Update from tzcode 2012i.
25552 * timezone/zic.c: Likewise.
25553 * timezone/version.h: New file.
25554 * timezone/README: Describe version.h. Update upstream location.
25555
9bde902c
JM
25556 [BZ #14824]
25557 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25558 (mktemp): Enable declaration.
25559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25562 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25563 Likewise.
25564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25565 Likewise.
25566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25567 Likewise.
25568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25569 Likewise.
25570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25571 Likewise.
25572 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25573 Likewise.
25574
fb1ae1ee
JM
25575 [BZ #14821]
25576 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25577 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25578 for copies of such integer values.
25579 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25580 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25581
2c1adbcb
AJ
255822012-11-09 Andreas Jaeger <aj@suse.de>
25583
25584 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25585 definitions and declarations that are provided by
25586 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25587
d0f8457e
AK
255882012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25589
3a235abb 25590 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
25591 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25592 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25593 definition.
25594
57241e26
MS
255952012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25596
25597 * elf/elf.h: Update comment before AArch64 relocations.
25598
60e8270d
DM
255992012-11-07 David S. Miller <davem@davemloft.net>
25600
25601 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25602 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25603 (__start_context): Declare.
25604 (__makecontext_ret): Delete.
25605 (__makecontext): Hook up __start_context instead of
25606 __makecontext_ret.
25607 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25608 (sysdep_routines): Add __start_context when in stdlib.
25609
0fbb0fbc
JM
256102012-11-07 Joseph Myers <joseph@codesourcery.com>
25611
25612 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25613 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25614 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25615 hardcoded "nm".
25616 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25617 (READELF): New variable. Use it instead of hardcoded "readelf".
25618
eb48db7e
L
256192012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25620
25621 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25622 * sysdeps/x86/Makefile: Here.
25623 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25624 * sysdeps/x86/tst-xmmymm.sh: This.
25625
05bcf62a
JM
256262012-11-07 Joseph Myers <joseph@codesourcery.com>
25627
c4b6cf53
JM
25628 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25629 expectations.
25630 [UNIX98] (pthread_barrier_t): Do not expect.
25631 [UNIX98] (pthread_barrierattr_t): Likewise.
25632 [UNIX98] (pthread_spinlock_t): Likewise.
25633 [UNIX98] (pthread_barrier_destroy): Likewise.
25634 [UNIX98] (pthread_barrier_init): Likewise.
25635 [UNIX98] (pthread_barrier_wait): Likewise.
25636 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25637 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25638 [UNIX98] (pthread_barrierattr_init): Likewise.
25639 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25640 [UNIX98] (pthread_getcpuclockid): Likewise.
25641 [UNIX98] (pthread_mutex_timedlock): Likewise.
25642 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25643 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25644 [UNIX98] (pthread_sigmask): Likewise.
25645 [UNIX98] (pthread_spin_destroy): Likewise.
25646 [UNIX98] (pthread_spin_init): Likewise.
25647 [UNIX98] (pthread_spin_lock): Likewise.
25648 [UNIX98] (pthread_spin_trylock): Likewise.
25649 [UNIX98] (pthread_spin_unlock): Likewise.
25650 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25651 Do not expect.
25652 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25654 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25655 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25656 [XPG3 || XPG4] (pthread_key_t): Likewise.
25657 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25658 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25659 [XPG3 || XPG4] (pthread_once_t): Likewise.
25660 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25661 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25663 [XPG3 || XPG4] (pthread_t): Likewise.
25664
cbe6e120
JM
25665 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25666 not expect.
25667 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25668
1b126443
JM
25669 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25670 Change function return type to int.
25671
b961a573
JM
25672 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25673 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25674 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25675 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25676 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25677 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25678 [!POSIX] (posix_madvise): Likewise.
25679 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25680 && !UNIX98].
25681 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25682 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25683 (mode_t): Likewise.
25684 (posix_mem_offset): Likewise.
25685 (posix_typed_mem_get_info): Likewise.
25686 (posix_typed_mem_open): Likewise.
25687
9e188909
JM
25688 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25689 Change condition to [XOPEN2K8].
25690
05bcf62a
JM
25691 * conform/conformtest.pl: Preprocess allow-header data with -x c
25692 instead of from stdin.
25693 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25694 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25695 [C99-based standards] (cerfc): Likewise.
25696 [C99-based standards] (cexp2): Likewise.
25697 [C99-based standards] (cexpm1): Likewise.
25698 [C99-based standards] (clog10): Likewise.
25699 [C99-based standards] (clog1p): Likewise.
25700 [C99-based standards] (clog2): Likewise.
25701 [C99-based standards] (clgamma): Likewise.
25702 [C99-based standards] (ctgamma): Likewise.
25703 [C99-based standards] (cerff): Likewise.
25704 [C99-based standards] (cerfcf): Likewise.
25705 [C99-based standards] (cexp2f): Likewise.
25706 [C99-based standards] (cexpm1f): Likewise.
25707 [C99-based standards] (clog10f): Likewise.
25708 [C99-based standards] (clog1pf): Likewise.
25709 [C99-based standards] (clog2f): Likewise.
25710 [C99-based standards] (clgammaf): Likewise.
25711 [C99-based standards] (ctgammaf): Likewise.
25712 [C99-based standards] (cerfl): Likewise.
25713 [C99-based standards] (cerfcl): Likewise.
25714 [C99-based standards] (cexp2l): Likewise.
25715 [C99-based standards] (cexpm1l): Likewise.
25716 [C99-based standards] (clog10l): Likewise.
25717 [C99-based standards] (clog1pl): Likewise.
25718 [C99-based standards] (clog2l): Likewise.
25719 [C99-based standards] (clgammal): Likewise.
25720 [C99-based standards] (ctgammal): Likewise.
25721 * conform/data/inttypes.h-data [C99-based standards]: Include
25722 stdint.h-data. Remove all expectations for stdint.h contents.
25723 [C99-based standards] (PRI*): Do not allow.
25724 [C99-based standards] (SCN*): Likewise.
25725 [C99-based standards] (*_t): Likewise.
25726 [C99-based-standards] (PRId8): Expect macro.
25727 [C99-based-standards] (PRIi8): Likewise.
25728 [C99-based-standards] (PRIo8): Likewise.
25729 [C99-based-standards] (PRIu8): Likewise.
25730 [C99-based-standards] (PRIx8): Likewise.
25731 [C99-based-standards] (PRIX8): Likewise.
25732 [C99-based-standards] (SCNd8): Likewise.
25733 [C99-based-standards] (SCNi8): Likewise.
25734 [C99-based-standards] (SCNo8): Likewise.
25735 [C99-based-standards] (SCNu8): Likewise.
25736 [C99-based-standards] (SCNx8): Likewise.
25737 [C99-based-standards] (PRIdLEAST8): Likewise.
25738 [C99-based-standards] (PRIiLEAST8): Likewise.
25739 [C99-based-standards] (PRIoLEAST8): Likewise.
25740 [C99-based-standards] (PRIuLEAST8): Likewise.
25741 [C99-based-standards] (PRIxLEAST8): Likewise.
25742 [C99-based-standards] (PRIXLEAST8): Likewise.
25743 [C99-based-standards] (SCNdLEAST8): Likewise.
25744 [C99-based-standards] (SCNiLEAST8): Likewise.
25745 [C99-based-standards] (SCNoLEAST8): Likewise.
25746 [C99-based-standards] (SCNuLEAST8): Likewise.
25747 [C99-based-standards] (SCNxLEAST8): Likewise.
25748 [C99-based-standards] (PRIdFAST8): Likewise.
25749 [C99-based-standards] (PRIiFAST8): Likewise.
25750 [C99-based-standards] (PRIoFAST8): Likewise.
25751 [C99-based-standards] (PRIuFAST8): Likewise.
25752 [C99-based-standards] (PRIxFAST8): Likewise.
25753 [C99-based-standards] (PRIXFAST8): Likewise.
25754 [C99-based-standards] (SCNdFAST8): Likewise.
25755 [C99-based-standards] (SCNiFAST8): Likewise.
25756 [C99-based-standards] (SCNoFAST8): Likewise.
25757 [C99-based-standards] (SCNuFAST8): Likewise.
25758 [C99-based-standards] (SCNxFAST8): Likewise.
25759 [C99-based-standards] (PRId16): Likewise.
25760 [C99-based-standards] (PRIi16): Likewise.
25761 [C99-based-standards] (PRIo16): Likewise.
25762 [C99-based-standards] (PRIu16): Likewise.
25763 [C99-based-standards] (PRIx16): Likewise.
25764 [C99-based-standards] (PRIX16): Likewise.
25765 [C99-based-standards] (SCNd16): Likewise.
25766 [C99-based-standards] (SCNi16): Likewise.
25767 [C99-based-standards] (SCNo16): Likewise.
25768 [C99-based-standards] (SCNu16): Likewise.
25769 [C99-based-standards] (SCNx16): Likewise.
25770 [C99-based-standards] (PRIdLEAST16): Likewise.
25771 [C99-based-standards] (PRIiLEAST16): Likewise.
25772 [C99-based-standards] (PRIoLEAST16): Likewise.
25773 [C99-based-standards] (PRIuLEAST16): Likewise.
25774 [C99-based-standards] (PRIxLEAST16): Likewise.
25775 [C99-based-standards] (PRIXLEAST16): Likewise.
25776 [C99-based-standards] (SCNdLEAST16): Likewise.
25777 [C99-based-standards] (SCNiLEAST16): Likewise.
25778 [C99-based-standards] (SCNoLEAST16): Likewise.
25779 [C99-based-standards] (SCNuLEAST16): Likewise.
25780 [C99-based-standards] (SCNxLEAST16): Likewise.
25781 [C99-based-standards] (PRIdFAST16): Likewise.
25782 [C99-based-standards] (PRIiFAST16): Likewise.
25783 [C99-based-standards] (PRIoFAST16): Likewise.
25784 [C99-based-standards] (PRIuFAST16): Likewise.
25785 [C99-based-standards] (PRIxFAST16): Likewise.
25786 [C99-based-standards] (PRIXFAST16): Likewise.
25787 [C99-based-standards] (SCNdFAST16): Likewise.
25788 [C99-based-standards] (SCNiFAST16): Likewise.
25789 [C99-based-standards] (SCNoFAST16): Likewise.
25790 [C99-based-standards] (SCNuFAST16): Likewise.
25791 [C99-based-standards] (SCNxFAST16): Likewise.
25792 [C99-based-standards] (PRId32): Likewise.
25793 [C99-based-standards] (PRIi32): Likewise.
25794 [C99-based-standards] (PRIo32): Likewise.
25795 [C99-based-standards] (PRIu32): Likewise.
25796 [C99-based-standards] (PRIx32): Likewise.
25797 [C99-based-standards] (PRIX32): Likewise.
25798 [C99-based-standards] (SCNd32): Likewise.
25799 [C99-based-standards] (SCNi32): Likewise.
25800 [C99-based-standards] (SCNo32): Likewise.
25801 [C99-based-standards] (SCNu32): Likewise.
25802 [C99-based-standards] (SCNx32): Likewise.
25803 [C99-based-standards] (PRIdLEAST32): Likewise.
25804 [C99-based-standards] (PRIiLEAST32): Likewise.
25805 [C99-based-standards] (PRIoLEAST32): Likewise.
25806 [C99-based-standards] (PRIuLEAST32): Likewise.
25807 [C99-based-standards] (PRIxLEAST32): Likewise.
25808 [C99-based-standards] (PRIXLEAST32): Likewise.
25809 [C99-based-standards] (SCNdLEAST32): Likewise.
25810 [C99-based-standards] (SCNiLEAST32): Likewise.
25811 [C99-based-standards] (SCNoLEAST32): Likewise.
25812 [C99-based-standards] (SCNuLEAST32): Likewise.
25813 [C99-based-standards] (SCNxLEAST32): Likewise.
25814 [C99-based-standards] (PRIdFAST32): Likewise.
25815 [C99-based-standards] (PRIiFAST32): Likewise.
25816 [C99-based-standards] (PRIoFAST32): Likewise.
25817 [C99-based-standards] (PRIuFAST32): Likewise.
25818 [C99-based-standards] (PRIxFAST32): Likewise.
25819 [C99-based-standards] (PRIXFAST32): Likewise.
25820 [C99-based-standards] (SCNdFAST32): Likewise.
25821 [C99-based-standards] (SCNiFAST32): Likewise.
25822 [C99-based-standards] (SCNoFAST32): Likewise.
25823 [C99-based-standards] (SCNuFAST32): Likewise.
25824 [C99-based-standards] (SCNxFAST32): Likewise.
25825 [C99-based-standards] (PRId64): Likewise.
25826 [C99-based-standards] (PRIi64): Likewise.
25827 [C99-based-standards] (PRIo64): Likewise.
25828 [C99-based-standards] (PRIu64): Likewise.
25829 [C99-based-standards] (PRIx64): Likewise.
25830 [C99-based-standards] (PRIX64): Likewise.
25831 [C99-based-standards] (SCNd64): Likewise.
25832 [C99-based-standards] (SCNi64): Likewise.
25833 [C99-based-standards] (SCNo64): Likewise.
25834 [C99-based-standards] (SCNu64): Likewise.
25835 [C99-based-standards] (SCNx64): Likewise.
25836 [C99-based-standards] (PRIdLEAST64): Likewise.
25837 [C99-based-standards] (PRIiLEAST64): Likewise.
25838 [C99-based-standards] (PRIoLEAST64): Likewise.
25839 [C99-based-standards] (PRIuLEAST64): Likewise.
25840 [C99-based-standards] (PRIxLEAST64): Likewise.
25841 [C99-based-standards] (PRIXLEAST64): Likewise.
25842 [C99-based-standards] (SCNdLEAST64): Likewise.
25843 [C99-based-standards] (SCNiLEAST64): Likewise.
25844 [C99-based-standards] (SCNoLEAST64): Likewise.
25845 [C99-based-standards] (SCNuLEAST64): Likewise.
25846 [C99-based-standards] (SCNxLEAST64): Likewise.
25847 [C99-based-standards] (PRIdFAST64): Likewise.
25848 [C99-based-standards] (PRIiFAST64): Likewise.
25849 [C99-based-standards] (PRIoFAST64): Likewise.
25850 [C99-based-standards] (PRIuFAST64): Likewise.
25851 [C99-based-standards] (PRIxFAST64): Likewise.
25852 [C99-based-standards] (PRIXFAST64): Likewise.
25853 [C99-based-standards] (SCNdFAST64): Likewise.
25854 [C99-based-standards] (SCNiFAST64): Likewise.
25855 [C99-based-standards] (SCNoFAST64): Likewise.
25856 [C99-based-standards] (SCNuFAST64): Likewise.
25857 [C99-based-standards] (SCNxFAST64): Likewise.
25858 [C99-based-standards] (PRIdMAX): Likewise.
25859 [C99-based-standards] (PRIiMAX): Likewise.
25860 [C99-based-standards] (PRIoMAX): Likewise.
25861 [C99-based-standards] (PRIuMAX): Likewise.
25862 [C99-based-standards] (PRIxMAX): Likewise.
25863 [C99-based-standards] (PRIXMAX): Likewise.
25864 [C99-based-standards] (SCNdMAX): Likewise.
25865 [C99-based-standards] (SCNiMAX): Likewise.
25866 [C99-based-standards] (SCNoMAX): Likewise.
25867 [C99-based-standards] (SCNuMAX): Likewise.
25868 [C99-based-standards] (SCNxMAX): Likewise.
25869 [C99-based-standards] (PRIdPTR): Likewise.
25870 [C99-based-standards] (PRIiPTR): Likewise.
25871 [C99-based-standards] (PRIoPTR): Likewise.
25872 [C99-based-standards] (PRIuPTR): Likewise.
25873 [C99-based-standards] (PRIxPTR): Likewise.
25874 [C99-based-standards] (PRIXPTR): Likewise.
25875 [C99-based-standards] (SCNdPTR): Likewise.
25876 [C99-based-standards] (SCNiPTR): Likewise.
25877 [C99-based-standards] (SCNoPTR): Likewise.
25878 [C99-based-standards] (SCNuPTR): Likewise.
25879 [C99-based-standards] (SCNxPTR): Likewise.
25880 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25881 allow.
25882 * conform/data/stdint.h-data: Update comments to clarify
25883 requirements.
25884 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25885 type.
25886 [C99-based standards] (INT8_MAX): Likewise.
25887 [C99-based standards] (INT16_MIN): Likewise.
25888 [C99-based standards] (INT16_MAX): Likewise.
25889 [C99-based standards] (INT32_MIN): Likewise.
25890 [C99-based standards] (INT32_MAX): Likewise.
25891 [C99-based standards] (INT64_MIN): Likewise.
25892 [C99-based standards] (INT64_MAX): Likewise.
25893 [C99-based standards] (UINT8_MAX): Likewise.
25894 [C99-based standards] (UINT16_MAX): Likewise.
25895 [C99-based standards] (UINT32_MAX): Likewise.
25896 [C99-based standards] (UINT64_MAX): Likewise.
25897 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25898 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25899 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25900 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25901 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25902 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25903 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25904 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25905 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25906 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25907 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25908 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25909 [C99-based standards] (INT_FAST8_MIN): Likewise.
25910 [C99-based standards] (INT_FAST8_MAX): Likewise.
25911 [C99-based standards] (INT_FAST16_MIN): Likewise.
25912 [C99-based standards] (INT_FAST16_MAX): Likewise.
25913 [C99-based standards] (INT_FAST32_MIN): Likewise.
25914 [C99-based standards] (INT_FAST32_MAX): Likewise.
25915 [C99-based standards] (INT_FAST64_MIN): Likewise.
25916 [C99-based standards] (INT_FAST64_MAX): Likewise.
25917 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25918 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25919 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25920 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25921 [C99-based standards] (INTPTR_MIN): Likewise.
25922 [C99-based standards] (INTPTR_MAX): Likewise.
25923 [C99-based standards] (UINTPTR_MAX): Likewise.
25924 [C99-based standards] (INTMAX_MIN): Likewise.
25925 [C99-based standards] (INTMAX_MAX): Likewise.
25926 [C99-based standards] (UINTMAX_MAX): Likewise.
25927 [C99-based standards] (PTRDIFF_MIN): Likewise.
25928 [C99-based standards] (PTRDIFF_MAX): Likewise.
25929 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25930 [C99-based standards] (SIZE_MAX): Likewise.
25931 [C99-based standards] (WCHAR_MAX): Likewise.
25932 [C99-based standards] (WINT_MAX): Likewise.
25933 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25934 constraint on value.
25935 [C99-based standards] (WCHAR_MIN): Likewise.
25936 [C99-based standards] (WINT_MIN): Likewise.
25937 [C99-based standards] (*_t): Allow.
25938 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25939 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25940 Include math.h-data and complex.h-data. Remove all expectations
25941 of math.h and complex.h contents.
25942 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25943 at end of line.
25944 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25945 (struct tm): Expect tag.
25946 [C99-based-standards] (wcstof): Expect function.
25947 [C99-based-standards] (wcstold): Likewise.
25948 [C99-based-standards] (wcstoll): Likewise.
25949 [C99-based-standards] (wcstoull): Likewise.
25950 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25951 macro-int-constant. Specify type.
25952 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25953 constraint on value.
25954 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25955 Specify type.
25956 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25957 Specify value.
25958 [ISO C standards]: Do not allow headers.
25959 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25960 wcs[abcdefghijklmnopqrstuvwxyz]*.
25961 [ISO C standards] (*_t): Do not allow.
25962 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25963 Expect function.
25964 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25965 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25966 Specify type.
25967 [ISO C standards]: Do not allow headers.
25968 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25969 is[abcdefghijklmnopqrstuvwxyz]*.
25970 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25971 to[abcdefghijklmnopqrstuvwxyz]*.
25972 [ISO C standards] (*_t): Do not allow.
25973 * conform/data/stdalign.h-data: New file.
25974 * conform/data/stdbool.h-data: Likewise.
25975 * conform/data/stdnoreturn.h-data: Likewise.
25976
7514feb8
RM
259772012-11-07 Roland McGrath <roland@hack.frob.com>
25978
25979 [BZ #14815]
25980 * manual/filesys.texi (Directory Entries): Typo fix.
25981 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25982
19b2ecfc
MS
259832012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25984
25985 * elf/elf.h (EM_AARCH64): New macro.
25986 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25987 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25988 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25989 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25990 (R_AARCH64_TLSDESC): Likewise.
25991 (NT_ARM_TLS): Likewise.
25992 (NT_ARM_HW_BREAK): Likewise.
25993 (NT_ARM_HW_WATCH): Likewise.
25994
60e235ee
JM
259952012-11-07 Joseph Myers <joseph@codesourcery.com>
25996
25997 [BZ #14811]
25998 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25999 (__ieee754_powl): Saturate nonzero exponents with absolute value
26000 below 0x1p-79 to +/- 0x1p-79.
26001 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26002 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26003 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26004 nonzero exponents with absolute value below 0x1p-32 to +/-
26005 0x1p-32.
26006 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26007 (__ieee754_powl): Saturate nonzero exponents with absolute value
26008 below 0x1p-79 to +/- 0x1p-79.
26009 * math/libm-test.inc (pow_test): Add more tests.
26010
0ab234b7
AK
260112012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26012
26013 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26014 _dl_s390_cap_flags with kernel. Increase string length.
26015 (_dl_s390_platforms): Add z196 and zEC12.
26016
45832f74
JM
260172012-11-07 Joseph Myers <joseph@codesourcery.com>
26018
26019 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26020 Change XOPEN21K to XOPEN2K.
26021
19218757
MK
260222012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26023
26024 * string/memmove.c: Use memcpy when possible.
26025
c5f45721
AJ
260262012-11-06 Andreas Jaeger <aj@suse.de>
26027
26028 * po/eo.po: Update from translation team.
26029
82477c28
JM
260302012-11-06 Joseph Myers <joseph@codesourcery.com>
26031
26032 [BZ #14793]
26033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26034 exponent and small x and y exponents, scale x or y up. Increase
26035 by 2 the exponent used in scaling up.
26036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26037 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26038 * math/libm-test.inc (fma_test): Add more tests.
26039 (fma_test_towardzero): Likewise.
26040 (fma_test_downward): Likewise.
26041 (fma_test_upward): Likewise.
26042
99252c8c
JM
260432012-11-05 Joseph Myers <joseph@codesourcery.com>
26044
acfa885f
JM
26045 [BZ #14805]
26046 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26047 fenv_t *.
26048
99252c8c
JM
26049 [BZ #14801]
26050 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26051 namespace for names of struct fields.
26052 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26053 fenv_t fields.
26054 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26055 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26056
d6d98dea
ST
260572012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26058
26059 [BZ #3665]
26060 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26061
e10bb107
TS
260622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26063
26064 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26065 PTR_DEMANGLE.
26066
26067 [BZ #5246]
26068 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26069 PTR_DEMANGLE.
26070
a0c2940d
JM
260712012-11-04 Joseph Myers <joseph@codesourcery.com>
26072
26073 [BZ #14797]
26074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26075 definitely overflow as x * y not x * y + z.
26076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26077 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26078 * math/libm-test.inc (fma_test): Add more tests.
26079 (fma_test_towardzero): Likewise.
26080 (fma_test_downward): Likewise.
26081 (fma_test_upward): Likewise.
26082
b830319d
TS
260832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26084
26085 [BZ #157]
26086
26087 * include/stub-tag.h: Remove file.
26088 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26089 '#include' of it.
26090 * manual/maint.texi (Porting): Don't reference it.
26091 * Makerules ($(objpfx)stubs): Likewise.
26092 * dirent/closedir.c: Don't include <stub-tag.h>.
26093 * dirent/dirfd.c: Likewise.
26094 * dirent/fdopendir.c: Likewise.
26095 * dirent/getdents.c: Likewise.
26096 * dirent/getdents64.c: Likewise.
26097 * dirent/opendir.c: Likewise.
26098 * dirent/readdir.c: Likewise.
26099 * dirent/readdir64.c: Likewise.
26100 * dirent/readdir64_r.c: Likewise.
26101 * dirent/readdir_r.c: Likewise.
26102 * dirent/rewinddir.c: Likewise.
26103 * dirent/seekdir.c: Likewise.
26104 * dirent/telldir.c: Likewise.
26105 * gmon/profil.c: Likewise.
26106 * grp/setgroups.c: Likewise.
26107 * inet/if_index.c: Likewise.
26108 * io/access.c: Likewise.
26109 * io/chdir.c: Likewise.
26110 * io/chmod.c: Likewise.
26111 * io/chown.c: Likewise.
26112 * io/close.c: Likewise.
26113 * io/dup.c: Likewise.
26114 * io/dup2.c: Likewise.
26115 * io/dup3.c: Likewise.
26116 * io/euidaccess.c: Likewise.
26117 * io/faccessat.c: Likewise.
26118 * io/fchdir.c: Likewise.
26119 * io/fchmod.c: Likewise.
26120 * io/fchmodat.c: Likewise.
26121 * io/fchown.c: Likewise.
26122 * io/fchownat.c: Likewise.
26123 * io/fcntl.c: Likewise.
26124 * io/flock.c: Likewise.
26125 * io/fstatfs.c: Likewise.
26126 * io/fstatfs64.c: Likewise.
26127 * io/fstatvfs.c: Likewise.
26128 * io/fstatvfs64.c: Likewise.
26129 * io/futimens.c: Likewise.
26130 * io/fxstat.c: Likewise.
26131 * io/fxstat64.c: Likewise.
26132 * io/fxstatat.c: Likewise.
26133 * io/fxstatat64.c: Likewise.
26134 * io/getcwd.c: Likewise.
26135 * io/isatty.c: Likewise.
26136 * io/lchmod.c: Likewise.
26137 * io/lchown.c: Likewise.
26138 * io/link.c: Likewise.
26139 * io/linkat.c: Likewise.
26140 * io/lseek.c: Likewise.
26141 * io/lseek64.c: Likewise.
26142 * io/lxstat64.c: Likewise.
26143 * io/mkdir.c: Likewise.
26144 * io/mkdirat.c: Likewise.
26145 * io/mkfifo.c: Likewise.
26146 * io/mkfifoat.c: Likewise.
26147 * io/open.c: Likewise.
26148 * io/open64.c: Likewise.
26149 * io/openat.c: Likewise.
26150 * io/openat64.c: Likewise.
26151 * io/pipe.c: Likewise.
26152 * io/pipe2.c: Likewise.
26153 * io/poll.c: Likewise.
26154 * io/posix_fadvise.c: Likewise.
26155 * io/posix_fadvise64.c: Likewise.
26156 * io/posix_fallocate.c: Likewise.
26157 * io/posix_fallocate64.c: Likewise.
26158 * io/read.c: Likewise.
26159 * io/readlink.c: Likewise.
26160 * io/readlinkat.c: Likewise.
26161 * io/rmdir.c: Likewise.
26162 * io/sendfile.c: Likewise.
26163 * io/sendfile64.c: Likewise.
26164 * io/statfs.c: Likewise.
26165 * io/statfs64.c: Likewise.
26166 * io/statvfs.c: Likewise.
26167 * io/statvfs64.c: Likewise.
26168 * io/symlink.c: Likewise.
26169 * io/symlinkat.c: Likewise.
26170 * io/ttyname.c: Likewise.
26171 * io/ttyname_r.c: Likewise.
26172 * io/umask.c: Likewise.
26173 * io/unlink.c: Likewise.
26174 * io/unlinkat.c: Likewise.
26175 * io/utime.c: Likewise.
26176 * io/utimensat.c: Likewise.
26177 * io/write.c: Likewise.
26178 * io/xmknod.c: Likewise.
26179 * io/xmknodat.c: Likewise.
26180 * io/xstat.c: Likewise.
26181 * io/xstat64.c: Likewise.
26182 * login/getpt.c: Likewise.
26183 * login/grantpt.c: Likewise.
26184 * login/unlockpt.c: Likewise.
26185 * math/e_acoshl.c: Likewise.
26186 * math/e_acosl.c: Likewise.
26187 * math/e_asinl.c: Likewise.
26188 * math/e_atan2l.c: Likewise.
26189 * math/e_atanhl.c: Likewise.
26190 * math/e_coshl.c: Likewise.
26191 * math/e_expl.c: Likewise.
26192 * math/e_fmodl.c: Likewise.
26193 * math/e_gammal_r.c: Likewise.
26194 * math/e_hypotl.c: Likewise.
26195 * math/e_j0l.c: Likewise.
26196 * math/e_j1l.c: Likewise.
26197 * math/e_jnl.c: Likewise.
26198 * math/e_lgammal_r.c: Likewise.
26199 * math/e_log10l.c: Likewise.
26200 * math/e_log2l.c: Likewise.
26201 * math/e_logl.c: Likewise.
26202 * math/e_powl.c: Likewise.
26203 * math/e_rem_pio2l.c: Likewise.
26204 * math/e_sinhl.c: Likewise.
26205 * math/e_sqrtl.c: Likewise.
26206 * math/fclrexcpt.c: Likewise.
26207 * math/fedisblxcpt.c: Likewise.
26208 * math/feenablxcpt.c: Likewise.
26209 * math/fegetenv.c: Likewise.
26210 * math/fegetexcept.c: Likewise.
26211 * math/fegetround.c: Likewise.
26212 * math/feholdexcpt.c: Likewise.
26213 * math/fesetenv.c: Likewise.
26214 * math/fesetround.c: Likewise.
26215 * math/feupdateenv.c: Likewise.
26216 * math/fgetexcptflg.c: Likewise.
26217 * math/fraiseexcpt.c: Likewise.
26218 * math/fsetexcptflg.c: Likewise.
26219 * math/ftestexcept.c: Likewise.
26220 * math/k_cosl.c: Likewise.
26221 * math/k_rem_pio2l.c: Likewise.
26222 * math/k_sinl.c: Likewise.
26223 * math/k_tanl.c: Likewise.
26224 * math/s_asinhl.c: Likewise.
26225 * math/s_atanl.c: Likewise.
26226 * math/s_cbrtl.c: Likewise.
26227 * math/s_erfl.c: Likewise.
26228 * math/s_expm1l.c: Likewise.
26229 * math/s_log1pl.c: Likewise.
26230 * math/s_tanhl.c: Likewise.
26231 * misc/acct.c: Likewise.
26232 * misc/brk.c: Likewise.
26233 * misc/chflags.c: Likewise.
26234 * misc/chroot.c: Likewise.
26235 * misc/fchflags.c: Likewise.
26236 * misc/fgetxattr.c: Likewise.
26237 * misc/flistxattr.c: Likewise.
26238 * misc/fremovexattr.c: Likewise.
26239 * misc/fsetxattr.c: Likewise.
26240 * misc/fsync.c: Likewise.
26241 * misc/ftruncate.c: Likewise.
26242 * misc/futimes.c: Likewise.
26243 * misc/futimesat.c: Likewise.
26244 * misc/getdomain.c: Likewise.
26245 * misc/getdtsz.c: Likewise.
26246 * misc/gethostid.c: Likewise.
26247 * misc/gethostname.c: Likewise.
26248 * misc/getloadavg.c: Likewise.
26249 * misc/getpagesize.c: Likewise.
26250 * misc/getsysstats.c: Likewise.
26251 * misc/getxattr.c: Likewise.
26252 * misc/gtty.c: Likewise.
26253 * misc/ioctl.c: Likewise.
26254 * misc/lgetxattr.c: Likewise.
26255 * misc/listxattr.c: Likewise.
26256 * misc/llistxattr.c: Likewise.
26257 * misc/lremovexattr.c: Likewise.
26258 * misc/lsetxattr.c: Likewise.
26259 * misc/lutimes.c: Likewise.
26260 * misc/madvise.c: Likewise.
26261 * misc/mincore.c: Likewise.
26262 * misc/mlock.c: Likewise.
26263 * misc/mlockall.c: Likewise.
26264 * misc/mmap.c: Likewise.
26265 * misc/mprotect.c: Likewise.
26266 * misc/msync.c: Likewise.
26267 * misc/munlock.c: Likewise.
26268 * misc/munlockall.c: Likewise.
26269 * misc/munmap.c: Likewise.
26270 * misc/preadv.c: Likewise.
26271 * misc/preadv64.c: Likewise.
26272 * misc/ptrace.c: Likewise.
26273 * misc/pwritev.c: Likewise.
26274 * misc/pwritev64.c: Likewise.
26275 * misc/readv.c: Likewise.
26276 * misc/reboot.c: Likewise.
26277 * misc/remap_file_pages.c: Likewise.
26278 * misc/removexattr.c: Likewise.
26279 * misc/revoke.c: Likewise.
26280 * misc/select.c: Likewise.
26281 * misc/setdomain.c: Likewise.
26282 * misc/setegid.c: Likewise.
26283 * misc/seteuid.c: Likewise.
26284 * misc/sethostid.c: Likewise.
26285 * misc/sethostname.c: Likewise.
26286 * misc/setregid.c: Likewise.
26287 * misc/setreuid.c: Likewise.
26288 * misc/setxattr.c: Likewise.
26289 * misc/sstk.c: Likewise.
26290 * misc/stty.c: Likewise.
26291 * misc/swapoff.c: Likewise.
26292 * misc/swapon.c: Likewise.
26293 * misc/sync.c: Likewise.
26294 * misc/syncfs.c: Likewise.
26295 * misc/syscall.c: Likewise.
26296 * misc/truncate.c: Likewise.
26297 * misc/ualarm.c: Likewise.
26298 * misc/usleep.c: Likewise.
26299 * misc/ustat.c: Likewise.
26300 * misc/utimes.c: Likewise.
26301 * misc/vhangup.c: Likewise.
26302 * misc/writev.c: Likewise.
26303 * posix/_exit.c: Likewise.
26304 * posix/alarm.c: Likewise.
26305 * posix/execve.c: Likewise.
26306 * posix/fexecve.c: Likewise.
26307 * posix/fork.c: Likewise.
26308 * posix/fpathconf.c: Likewise.
26309 * posix/getaddrinfo.c: Likewise.
26310 * posix/getegid.c: Likewise.
26311 * posix/geteuid.c: Likewise.
26312 * posix/getgid.c: Likewise.
26313 * posix/getgroups.c: Likewise.
26314 * posix/getlogin.c: Likewise.
26315 * posix/getlogin_r.c: Likewise.
26316 * posix/getpgid.c: Likewise.
26317 * posix/getpid.c: Likewise.
26318 * posix/getppid.c: Likewise.
26319 * posix/getresgid.c: Likewise.
26320 * posix/getresuid.c: Likewise.
26321 * posix/getsid.c: Likewise.
26322 * posix/getuid.c: Likewise.
26323 * posix/glob64.c: Likewise.
26324 * posix/nanosleep.c: Likewise.
26325 * posix/pathconf.c: Likewise.
26326 * posix/pause.c: Likewise.
26327 * posix/posix_madvise.c: Likewise.
26328 * posix/pread.c: Likewise.
26329 * posix/pread64.c: Likewise.
26330 * posix/pwrite.c: Likewise.
26331 * posix/pwrite64.c: Likewise.
26332 * posix/sched_getaffinity.c: Likewise.
26333 * posix/sched_getp.c: Likewise.
26334 * posix/sched_gets.c: Likewise.
26335 * posix/sched_primax.c: Likewise.
26336 * posix/sched_primin.c: Likewise.
26337 * posix/sched_rr_gi.c: Likewise.
26338 * posix/sched_setaffinity.c: Likewise.
26339 * posix/sched_setp.c: Likewise.
26340 * posix/sched_sets.c: Likewise.
26341 * posix/sched_yield.c: Likewise.
26342 * posix/setgid.c: Likewise.
26343 * posix/setlogin.c: Likewise.
26344 * posix/setpgid.c: Likewise.
26345 * posix/setresgid.c: Likewise.
26346 * posix/setresuid.c: Likewise.
26347 * posix/setsid.c: Likewise.
26348 * posix/setuid.c: Likewise.
26349 * posix/sleep.c: Likewise.
26350 * posix/spawni.c: Likewise.
26351 * posix/sysconf.c: Likewise.
26352 * posix/times.c: Likewise.
26353 * posix/wait.c: Likewise.
26354 * posix/wait3.c: Likewise.
26355 * posix/wait4.c: Likewise.
26356 * posix/waitpid.c: Likewise.
26357 * resolv/gai_sigqueue.c: Likewise.
26358 * resource/getpriority.c: Likewise.
26359 * resource/getrlimit.c: Likewise.
26360 * resource/getrusage.c: Likewise.
26361 * resource/nice.c: Likewise.
26362 * resource/setpriority.c: Likewise.
26363 * resource/setrlimit.c: Likewise.
26364 * resource/ulimit.c: Likewise.
26365 * rt/aio_cancel.c: Likewise.
26366 * rt/aio_fsync.c: Likewise.
26367 * rt/aio_read.c: Likewise.
26368 * rt/aio_sigqueue.c: Likewise.
26369 * rt/aio_suspend.c: Likewise.
26370 * rt/aio_write.c: Likewise.
26371 * rt/clock_getres.c: Likewise.
26372 * rt/clock_gettime.c: Likewise.
26373 * rt/clock_nanosleep.c: Likewise.
26374 * rt/clock_settime.c: Likewise.
26375 * rt/lio_listio.c: Likewise.
26376 * rt/mq_close.c: Likewise.
26377 * rt/mq_getattr.c: Likewise.
26378 * rt/mq_notify.c: Likewise.
26379 * rt/mq_open.c: Likewise.
26380 * rt/mq_receive.c: Likewise.
26381 * rt/mq_send.c: Likewise.
26382 * rt/mq_setattr.c: Likewise.
26383 * rt/mq_timedreceive.c: Likewise.
26384 * rt/mq_timedsend.c: Likewise.
26385 * rt/mq_unlink.c: Likewise.
26386 * rt/shm_open.c: Likewise.
26387 * rt/shm_unlink.c: Likewise.
26388 * rt/timer_create.c: Likewise.
26389 * rt/timer_delete.c: Likewise.
26390 * rt/timer_getoverr.c: Likewise.
26391 * rt/timer_gettime.c: Likewise.
26392 * rt/timer_settime.c: Likewise.
26393 * setjmp/__longjmp.c: Likewise.
26394 * setjmp/setjmp.c: Likewise.
26395 * signal/kill.c: Likewise.
26396 * signal/killpg.c: Likewise.
26397 * signal/raise.c: Likewise.
26398 * signal/sigaction.c: Likewise.
26399 * signal/sigaltstack.c: Likewise.
26400 * signal/sigblock.c: Likewise.
26401 * signal/sigignore.c: Likewise.
26402 * signal/sigintr.c: Likewise.
26403 * signal/signal.c: Likewise.
26404 * signal/sigpause.c: Likewise.
26405 * signal/sigpending.c: Likewise.
26406 * signal/sigqueue.c: Likewise.
26407 * signal/sigreturn.c: Likewise.
26408 * signal/sigset.c: Likewise.
26409 * signal/sigsetmask.c: Likewise.
26410 * signal/sigstack.c: Likewise.
26411 * signal/sigsuspend.c: Likewise.
26412 * signal/sigtimedwait.c: Likewise.
26413 * signal/sigvec.c: Likewise.
26414 * signal/sigwait.c: Likewise.
26415 * signal/sigwaitinfo.c: Likewise.
26416 * signal/sysv_signal.c: Likewise.
26417 * socket/accept.c: Likewise.
26418 * socket/accept4.c: Likewise.
26419 * socket/bind.c: Likewise.
26420 * socket/connect.c: Likewise.
26421 * socket/getpeername.c: Likewise.
26422 * socket/getsockname.c: Likewise.
26423 * socket/getsockopt.c: Likewise.
26424 * socket/isfdtype.c: Likewise.
26425 * socket/listen.c: Likewise.
26426 * socket/recv.c: Likewise.
26427 * socket/recvfrom.c: Likewise.
26428 * socket/recvmsg.c: Likewise.
26429 * socket/send.c: Likewise.
26430 * socket/sendmsg.c: Likewise.
26431 * socket/sendto.c: Likewise.
26432 * socket/setsockopt.c: Likewise.
26433 * socket/shutdown.c: Likewise.
26434 * socket/sockatmark.c: Likewise.
26435 * socket/socket.c: Likewise.
26436 * socket/socketpair.c: Likewise.
26437 * stdio-common/ctermid.c: Likewise.
26438 * stdio-common/cuserid.c: Likewise.
26439 * stdio-common/remove.c: Likewise.
26440 * stdio-common/rename.c: Likewise.
26441 * stdio-common/renameat.c: Likewise.
26442 * stdio-common/tempname.c: Likewise.
26443 * stdlib/getcontext.c: Likewise.
26444 * stdlib/makecontext.c: Likewise.
26445 * stdlib/setcontext.c: Likewise.
26446 * stdlib/swapcontext.c: Likewise.
26447 * stdlib/system.c: Likewise.
26448 * streams/fattach.c: Likewise.
26449 * streams/fdetach.c: Likewise.
26450 * streams/getmsg.c: Likewise.
26451 * streams/getpmsg.c: Likewise.
26452 * streams/putmsg.c: Likewise.
26453 * streams/putpmsg.c: Likewise.
26454 * sysdeps/unix/bsd/getpt.c: Likewise.
26455 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26456 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26457 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26459 Likewise.
26460 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26461 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26462 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26463 * sysvipc/msgctl.c: Likewise.
26464 * sysvipc/msgget.c: Likewise.
26465 * sysvipc/msgrcv.c: Likewise.
26466 * sysvipc/msgsnd.c: Likewise.
26467 * sysvipc/semctl.c: Likewise.
26468 * sysvipc/semget.c: Likewise.
26469 * sysvipc/semop.c: Likewise.
26470 * sysvipc/semtimedop.c: Likewise.
26471 * sysvipc/shmat.c: Likewise.
26472 * sysvipc/shmctl.c: Likewise.
26473 * sysvipc/shmdt.c: Likewise.
26474 * sysvipc/shmget.c: Likewise.
26475 * termios/tcdrain.c: Likewise.
26476 * termios/tcflow.c: Likewise.
26477 * termios/tcflush.c: Likewise.
26478 * termios/tcgetattr.c: Likewise.
26479 * termios/tcgetpgrp.c: Likewise.
26480 * termios/tcsendbrk.c: Likewise.
26481 * termios/tcsetattr.c: Likewise.
26482 * termios/tcsetpgrp.c: Likewise.
26483 * time/adjtime.c: Likewise.
26484 * time/clock.c: Likewise.
26485 * time/getitimer.c: Likewise.
26486 * time/gettimeofday.c: Likewise.
26487 * time/setitimer.c: Likewise.
26488 * time/settimeofday.c: Likewise.
26489 * time/stime.c: Likewise.
26490 * time/time.c: Likewise.
26491
264922012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 26493
a20492cf
PT
26494 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26495 /usr/old/bin.
26496
72e182e3
PT
26497 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26498 instead of spaces.
26499 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26500
fbeafede
JM
265012012-11-03 Joseph Myers <joseph@codesourcery.com>
26502
5b5b04d6
JM
26503 [BZ #14796]
26504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26505 FE_TONEAREST before applying Dekker multiplication and Knuth
26506 addition. Clear inexact exceptions and check for exact zero
26507 results afterwards.
26508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26509 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26510 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26511 * math/libm-test.inc (fma_test): Add more tests.
26512 (fma_test_towardzero): Likewise.
26513 (fma_test_downward): Likewise.
26514 (fma_test_upward): Likewise.
26515 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26516 function.
26517 (libc_fesetround): New macro.
26518 (libc_fesetroundf): Likewise.
26519 (libc_fesetroundl): Likewise.
26520 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26521 function.
26522 (libc_fesetround_387): Likewise.
26523 (libc_fesetroundf): New macro.
26524 (libc_fesetround): Likewise.
26525 (libc_fesetroundl): Likewise.
26526 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26527 function.
26528 (libc_fesetroundf): New macro.
26529 (libc_fesetround): Likewise.
26530 (libc_fesetroundl): Likewise.
26531 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26532 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26533 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26534 libm_hidden_ver.
26535 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26536 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26537 libm_hidden_def.
26538 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26539 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26540 libm_hidden_ver.
26541 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26542 libm_hidden_def.
26543
fbeafede
JM
26544 [BZ #3439]
26545 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26546 integer constant usable in #if and use that to give value to enum
26547 constant.
26548 (FE_DIVBYZERO): Likewise.
26549 (FE_UNDERFLOW): Likewise.
26550 (FE_OVERFLOW): Likewise.
26551 (FE_INVALID): Likewise.
26552 (FE_INVALID_SNAN): Likewise.
26553 (FE_INVALID_ISI): Likewise.
26554 (FE_INVALID_IDI): Likewise.
26555 (FE_INVALID_ZDZ): Likewise.
26556 (FE_INVALID_IMZ): Likewise.
26557 (FE_INVALID_COMPARE): Likewise.
26558 (FE_INVALID_SOFTWARE): Likewise.
26559 (FE_INVALID_SQRT): Likewise.
26560 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26561 (FE_TONEAREST): Likewise.
26562 (FE_TOWARDZERO): Likewise.
26563 (FE_UPWARD): Likewise.
26564 (FE_DOWNWARD): Likewise.
26565 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26566 (FE_DIVBYZERO): Likewise.
26567 (FE_OVERFLOW): Likewise.
26568 (FE_UNDERFLOW): Likewise.
26569 (FE_INEXACT): Likewise.
26570 (FE_TONEAREST): Likewise.
26571 (FE_DOWNWARD): Likewise.
26572 (FE_UPWARD): Likewise.
26573 (FE_TOWARDZERO): Likewise.
26574 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26575 (FE_UNDERFLOW): Likewise.
26576 (FE_OVERFLOW): Likewise.
26577 (FE_DIVBYZERO): Likewise.
26578 (FE_INVALID): Likewise.
26579 (FE_TONEAREST): Likewise.
26580 (FE_TOWARDZERO): Likewise.
26581 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26582 (FE_OVERFLOW): Likewise.
26583 (FE_UNDERFLOW): Likewise.
26584 (FE_DIVBYZERO): Likewise.
26585 (FE_INEXACT): Likewise.
26586 (FE_TONEAREST): Likewise.
26587 (FE_TOWARDZERO): Likewise.
26588 (FE_UPWARD): Likewise.
26589 (FE_DOWNWARD): Likewise.
26590 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26591 (FE_DIVBYZERO): Likewise.
26592 (FE_OVERFLOW): Likewise.
26593 (FE_UNDERFLOW): Likewise.
26594 (FE_INEXACT): Likewise.
26595 (FE_TONEAREST): Likewise.
26596 (FE_DOWNWARD): Likewise.
26597 (FE_UPWARD): Likewise.
26598 (FE_TOWARDZERO): Likewise.
26599
105ca950
CM
266002012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26601
26602 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26603
a542b389
AS
266042012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26605
26606 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26607 commands. Quote $PWD.
26608 (blacklist_exports): Don't use remove_newlines. Replace "declare
26609 -x" by "export".
26610 (remove_newlines): Remove.
26611
f62c8abc
L
266122012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26613
26614 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26615 * stdlib/stdlib.h (atof): Moved to ...
26616 * include/bits/stdlib-float.h: Here. New file.
26617 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26618 * stdlib/bits/stdlib-float.h: New file.
26619 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26620 -mno-sse -mno-mmx.
26621 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26622 <xmmintrin.h>.
26623
0155d5b2
JM
266242012-11-02 Joseph Myers <joseph@codesourcery.com>
26625
a68d0680
JM
26626 * conform/conformtest.pl (@headers): Add fenv.h.
26627 * conform/data/fenv.h-data: New file.
26628 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26629 include of <math/fenv.h>.
26630
caf7f573
JM
26631 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26632 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26633 && !UNIX98]. Enables tests for XOPEN2K8.
26634 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26635 POSIX2008]: Likewise.
26636
6c073ad6
JM
26637 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26638 (struct rusage): Do not expect type or its members.
26639
0155d5b2
JM
26640 [BZ #3439]
26641 * math/math.h (FP_NAN): Define macro to integer constant usable in
26642 #if and use that to give value to enum constant.
26643 (FP_INFINITE): Likewise.
26644 (FP_ZERO): Likewise.
26645 (FP_SUBNORMAL): Likewise.
26646 (FP_NORMAL): Likewise.
26647
b5dcacb4
AS
266482012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26649
26650 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26651 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26652 arguments.
26653
f7934be8
RM
266542012-11-02 Roland McGrath <roland@hack.frob.com>
26655
26656 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26657 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26658 autoconf-time if not.
26659 * configure.in: Remove AC_PREREQ.
26660
d7d08bde
TMQMF
266612012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26662
26663 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26664 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26665 of the internal implementation.
26666
dcdae19a
JM
266672012-11-02 Joseph Myers <joseph@codesourcery.com>
26668
26669 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26670 except include of <misc/sys/syslog.h>.
26671
d6cffd3e
AS
266722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26673
26674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26675 function returns with a NULL context exit with zero.
26676
b3563932
TMQMF
266772012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26678
26679 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26680
b288a93d
L
266812012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26682
26683 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26684 (run_program_cmd): This.
26685 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26686 (tst_langinfo): New variable. Use it.
26687
a2421a68
SAS
266882012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26689
26690 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26691 floating point opcodes.
26692
6f796e1b
TS
266932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26694
7402596b
TS
26695 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26696 variable.
26697
d0d4f868
TS
26698 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26699
6f796e1b
TS
26700 * sysdeps/mach/hurd/powerpc: Remove directory.
26701 * sysdeps/mach/powerpc: Likewise.
26702
4da224a2
AS
267032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26704
26705 * scripts/check-local-headers.sh: Ignore c++ headers.
26706
341dd673
TS
267072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26708
26709 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26710 __libc_cleanup_region_start argument.
26711
473611b2
JM
267122012-11-01 Joseph Myers <joseph@codesourcery.com>
26713
26714 [BZ #14784]
26715 [BZ #14785]
26716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26717 x * y using scaling, not as x * y + z.
26718 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26719 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26720 * math/libm-test.inc (fma_test): Add more tests.
26721 (fma_test_towardzero): Likewise.
26722 (fma_test_downward): Likewise.
26723 (fma_test_upward): Likewise.
26724
4078da3d
TS
267252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26726
26727 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26728
903252aa
JM
267292012-10-31 Joseph Myers <joseph@codesourcery.com>
26730
26731 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26732 New variable.
26733
cbc818d0
TS
267342012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26735
26736 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26737
5a03cb1e
AS
267382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26739
26740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26741 Fix sort order.
26742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26743 Likewise.
26744
90aff2ff
TMQMF
267452012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26746
26747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26748 Fix the order of the list for glibc 2.17.
26749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26750 Likewise.
26751
1818fcb7
AS
267522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26753
26754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26755
ef82f4da
JM
267562012-10-31 Joseph Myers <joseph@codesourcery.com>
26757
16a0e2ec
JM
26758 [BZ #14610]
26759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26760 for low part of x being zero before using __atanl (y).
26761 * math/libm-test.inc (atan2_test): Add another test.
26762
0eb69512
JM
26763 * manual/install.texi (Configuring and compiling): Document
26764 general use of test-wrapper and test-wrapper-env.
26765 * INSTALL: Regenerated.
26766
ef82f4da
JM
26767 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26768 (__fma): Do not extract and scale down low bits on after-rounding
26769 systems when result rounded to normal precision would have normal
26770 exponent.
26771 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26772 (__fmal): Do not extract and scale down low bits on after-rounding
26773 systems when result rounded to normal precision would have normal
26774 exponent.
26775 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26776 (__fmal): Do not extract and scale down low bits on after-rounding
26777 systems when result rounded to normal precision would have normal
26778 exponent.
26779 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26780 macro.
26781 (fma_test): Add more tests.
26782 (fma_test_towardzero): Likewise.
26783 (fma_test_downward): Likewise.
26784 (fma_test_upward): Likewise.
26785
954ef0d9
L
267862012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26787
26788 * sysdeps/i386/tininess.h: Renamed to ...
26789 * sysdeps/x86/tininess.h: This.
26790 * sysdeps/x86_64/tininess.h: Removed.
26791
df61ffb2
JM
267922012-10-30 Joseph Myers <joseph@codesourcery.com>
26793
26794 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26795 input. Use $(build-program-cmd).
26796 ($(objpfx)tst-array1-static.out): Likewise.
26797 ($(objpfx)tst-array2.out): Likewise.
26798 ($(objpfx)tst-array3.out): Likewise.
26799 ($(objpfx)tst-array4.out): Likewise.
26800 ($(objpfx)tst-array5.out): Likewise.
26801 ($(objpfx)tst-array5-static.out): Likewise.
26802
01767843
CM
268032012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26804
47cc1490
CM
26805 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26806 if defined.
26807
01767843
CM
26808 * nss/nsswitch.h (nss_interface_function): Provide new
26809 macro for use with NSS functions.
26810 * grp/initgroups.c: Use new macro.
26811 * nss/getXXbyYY.c: Likewise.
26812 * nss/getXXbyYY_r.c: Likewise.
26813 * nss/getXXent.c: Likewise.
26814 * nss/getXXent_r.c: Likewise.
26815 * sysdeps/posix/getaddrinfo.c: Likewise.
26816
8321aa97
AJ
268172012-10-30 Andreas Jaeger <aj@suse.de>
26818
26819 * po/ru.po: Update Russion translation from translation project.
26820
2a27fd6d
JM
268212012-10-30 Joseph Myers <joseph@codesourcery.com>
26822
8627a232
JM
26823 [BZ #14152]
26824 [BZ #14783]
26825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26826 result and shift together with sticky bit instead of replicating
26827 round-to-nearest rounding.
26828 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26829 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26830 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26831 missing underflow exceptions.
26832 (fma_test_towardzero): Add more tests.
26833 (fma_test_downward): Likewise.
26834 (fma_test_upward): Likewise.
26835
2a27fd6d
JM
26836 [BZ #14047]
26837 * sysdeps/generic/tininess.h: New file.
26838 * sysdeps/i386/tininess.h: Likewise.
26839 * sysdeps/sh/tininess.h: Likewise.
26840 * sysdeps/x86_64/tininess.h: Likewise.
26841 * stdlib/tst-strtod-underflow.c: Likewise.
26842 * stdlib/tst-tininess.c: Likewise.
26843 * stdlib/strtod_l.c: Include <tininess.h>.
26844 (round_and_return): Do not set errno for exact underflow cases.
26845 Force an underflow exception when setting errno for underflow.
26846 Determine underflow based on rounding to normal precision if
26847 TININESS_AFTER_ROUNDING.
26848 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26849 ERANGE for exact underflow cases.
26850 * stdlib/Makefile (tests): Add tst-tininess and
26851 tst-strtod-underflow.
26852 ($(objpfx)tst-tininess): Use $(link-libm).
26853 ($(objpfx)tst-strtod-underflow): Likewise.
26854
e7170363
AJ
268552012-10-30 Andreas Jaeger <aj@suse.de>
26856
e5088dc6
AJ
26857 [BZ#14767]
26858 * elf/Makefile (tests): Remove conditional for have-initfini-array
26859 since this is now always required and the variable does not exist
26860 anymore.
26861 (tests-static): Likewise.
26862 (modules-names): Likewise.
26863
e7170363 26864 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
26865
26866 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26867 merged with constructor/destructor.
26868 (init_array): Likewise.
26869 * elf/tst-array2dep.c (fini_array): Likewise.
26870 (init_array): Likewise.
26871
60457d8a
MF
268722012-10-29 Mike Frysinger <vapier@gentoo.org>
26873
26874 * manual/message.texi: Delete @cartouche tags.
26875
8bece752
PT
268762012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26877
94ce799f
PT
26878 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26879 EOPNOTSUPP.
26880 * sysdeps/mach/hurd/fsync.c: Likewise.
26881
8bece752
PT
26882 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26883 [_POSIX_REALTIME_SIGNALS]: Change condition to
26884 [_POSIX_REALTIME_SIGNALS > 0].
26885
86ebe6b1
AJ
268862012-10-27 Andreas Jaeger <aj@suse.de>
26887
26888 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26889 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26890 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26891 [__WORDSIZE != 64]: Likewise.
26892
54399c08
L
268932012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26894
26895 * iconvdata/tst-table.sh: Remove ${SHELL}.
26896 * iconvdata/tst-tables.sh: Likewise.
26897
e2211bed
DM
268982012-10-25 David S. Miller <davem@davemloft.net>
26899
26900 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26901 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26902 of strtoull.
26903
f303f97c
DM
26904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26905 ifunc-impl-list.c
26906 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26907 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26908 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26909 file.
26910
1e9d84cd
RM
269112012-10-25 Roland McGrath <roland@hack.frob.com>
26912
26913 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26914 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26915 __getdirentries.
26916
df381762
JM
269172012-10-25 Joseph Myers <joseph@codesourcery.com>
26918 Jim Blandy <jimb@codesourcery.com>
26919
26920 * scripts/cross-test-ssh.sh: New file.
26921 * manual/install.texi (Configuring and compiling): Document use of
26922 cross-test-ssh.sh.
26923 * INSTALL: Regenerated.
26924
bff64913
PT
269252012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26926
26927 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26928 EOPNOTSUPP.
26929
25fe8932
JM
269302012-10-25 Joseph Myers <joseph@codesourcery.com>
26931
26932 * Makeconfig (run-program-prefix): Fix comment.
26933
cc1290d0
JM
269342012-10-24 Joseph Myers <joseph@codesourcery.com>
26935 Jim Blandy <jimb@codesourcery.com>
26936
26937 * Makeconfig (test-wrapper): New variable,
26938 (test-wrapper-env): Likewise.
26939 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26940 (run-built-tests): Define to yes.
26941 (run-program-prefix): Use $(test-wrapper).
26942 (built-program-cmd): Likewise.
26943 * Rules (make-test-out): Use $(test-wrapper-env) and
26944 $(host-built-program-cmd).
26945 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26946 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26947 tst-pathopt.sh.
26948 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26949 $(test-wrapper-env) to tst-rtld-load-self.sh.
26950 ($(objpfx)order2.out): Use $(test-wrapper).
26951 ($(objpfx)tst-initorder.out): Likewise.
26952 ($(objpfx)tst-initorder2.out): Likewise.
26953 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26954 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26955 (test_wrapper_env): New variable. Use it to run ld.so.
26956 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26957 Use it to run ld.so.
26958 (test_wrapper_env): Likewise.
26959 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26960 $(test-wrapper) to run-iconv-test.sh.
26961 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26962 (ICONV): Use $test_wrapper.
26963 * posix/Makefile ($(objpfx)globtest.out): Pass
26964 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26965 globtest.sh, not $(run-program-prefix).
26966 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26967 (test_wrapper): Likewise.
26968 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26969 set together with run_via_rtld_prefix.
26970 (run_program_prefix): Define in terms of test_wrapper and
26971 run_via_rtld_prefix.
26972
6e6249d0
RM
269732012-10-24 Roland McGrath <roland@hack.frob.com>
26974
26975 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26976 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26977 Targets removed.
26978
26979 [BZ #14743]
26980 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26981 Declare __clock_getres, __clock_gettime, __clock_settime,
26982 __clock_nanosleep, and __clock_getcpuclockid.
26983 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26984 Remove librt_hidden_def (clock_gettime).
26985 * sysdeps/unix/clock_gettime.c: Likewise.
26986 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26987 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26988 * rt/clock_getres.c: Define __clock_getres as an alias.
26989 * sysdeps/posix/clock_getres.c: Likewise.
26990 * rt/clock_settime.c: Define __clock_settime as an alias.
26991 * sysdeps/unix/clock_settime.c: Likewise.
26992 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26993 * sysdeps/unix/clock_nanosleep.c: Likewise.
26994 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26995 * rt/clock-compat.c: New file.
26996 * rt/Makefile (librt-routines): Add clock-compat and move
26997 $(clock-routines) to ...
26998 (routines): ... here, new variable.
26999 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27000 Don't add get_clockfreq here.
27001 * rt/Versions (libc: GLIBC_2.17): New version set.
27002 Add clock_* symbols here.
27003 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27004 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27005 (GLIBC_2.17): Add clock_* symbols.
27006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27008 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27010 Likewise.
27011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27012 Likewise.
27013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27017 * NEWS: Mention the move.
27018
27019 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27020 Use __open, __read, __close rather than their public counterparts.
27021 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27022 (__get_clockfreq_via_cpuinfo): Likewise.
27023 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27024 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27025
27026 * config.h.in (HAVE_IFUNC): New #undef.
27027 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27028 was successful.
27029 * configure: Regenerated.
27030
0cae3f4b
MF
270312012-10-24 Mike Frysinger <vapier@gentoo.org>
27032
27033 * configure.in: Move READELF check to start of file.
27034 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27035 libc_cv_asm_gnu_indirect_function in the process.
27036 * configure: Regenerated.
27037
8175a253
MF
270382012-10-24 Mike Frysinger <vapier@gentoo.org>
27039
27040 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27041 send the output to /dev/null.
27042 (libc_cv_cc_with_libunwind): Likewise.
27043 (libc_cv_as_noexecstack): Likewise.
27044 * configure: Regenerate.
27045
0708a7d1
JM
270462012-10-24 Joseph Myers <joseph@codesourcery.com>
27047
10b40d85
JM
27048 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27049
0708a7d1
JM
27050 * posix/globtest.sh (TMPDIR): Do not set.
27051 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27052 (testout): Likewise.
27053
9fddec1a
AJ
270542012-10-24 Andreas Jaeger <aj@suse.de>
27055
3a8db22f
AJ
27056 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27057 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27058 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27059 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27060 posix_fadvise64, posix_fallocate64.
27061
9fddec1a
AJ
27062 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27063 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27064 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27065 Likewise.
27066 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27067 Likewise.
27068 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27069
27070 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27071 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27072 <bits/fcntl-linux.h>.
27073 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27074
27075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27076 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27077 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27078 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27079 [__WORDSIZE != 64]: Likewise.
27080
ebfd1bbd
JM
270812012-10-23 Joseph Myers <joseph@codesourcery.com>
27082
03ac099f
JM
27083 * Makeconfig (run-built-tests): New variable.
27084 * Rules [$(cross-compiling) = yes]: Change condition to
27085 [$(run-built-tests) = no].
27086 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27087 to [$(run-built-tests) = yes].
27088 * elf/Makefile [$(cross-compiling) = no]: Likewise
27089 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27090 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27091 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27092 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27093 * io/Makefile [$(cross-compiling) = no]: Likewise.
27094 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27095 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27096 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27097 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27098 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27099 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27100 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27101 * string/Makefile [$(cross-compiling) = no]: Likewise.
27102
ebfd1bbd
JM
27103 * posix/Makefile ($(objpfx)globtest.out): Pass
27104 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27105 $(rtld-installed-name).
27106 * posix/globtest.sh (elf_objpfx): Remove variable.
27107 (rtld_installed_name): Likewise.
27108 (library_path): Likewise.
27109 (run_program_prefix): New variable. Use for running globtest
27110 binary.
27111
166bca24
JB
271122012-10-23 Jim Blandy <jimb@codesourcery.com>
27113 Joseph Myers <joseph@codesourcery.com>
27114
27115 * Makeconfig (host-built-program-cmd): New variable.
27116 * elf/Makefile (tst-stackguard1-ARGS): Use
27117 $(host-built-program-cmd).
27118 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27119 (tst-spawn-ARGS): Likewise.
27120 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27121
88866099
JM
271222012-10-23 Joseph Myers <joseph@codesourcery.com>
27123 Jim Blandy <jimb@codesourcery.com>
27124
27125 * Makeconfig (run-via-rtld-prefix): New variable.
27126 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27127 (built-program-cmd): Likewise.
27128
b4b4c296
AJ
271292012-10-22 Andreas Jaeger <aj@suse.de>
27130
27131 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27132 __O_RSYNC if it exists, otherwise to O_SYNC.
27133
6fb54a22
JB
271342012-10-22 Jim Blandy <jimb@codesourcery.com>
27135 Joseph Myers <joseph@codesourcery.com>
27136
27137 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27138 /dev/null.
27139 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27140 from /dev/null
27141 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27142 /dev/null.
27143
481b90b9
AJ
271442012-10-22 Andreas Jaeger <aj@suse.de>
27145
2a0e2669
AJ
27146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27147 Define always.
27148 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27149
76e38f9a
AJ
27150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27151 bits/fcntl-linux.h.
27152
7cd37b43
AJ
27153 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27154 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27155
481b90b9
AJ
27156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27157 to __O_LARGEFILE.
27158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27159 to __O_LARGEFILE.
27160
aba75984
JB
271612012-10-21 Jim Blandy <jimb@codesourcery.com>
27162 Joseph Myers <joseph@codesourcery.com>
27163
27164 * config.make.in (NM): New variable.
27165
88d4247f
AJ
271662012-10-21 Andreas Jaeger <aj@suse.de>
27167
27168 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27169 definitions and declarations that are provided by
27170 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27171
f2eed205
L
271722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27173
27174 [BZ #14683]
27175 * elf/Makefile (tests-static): Add tst-leaks1-static.
27176 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27177 ($(objpfx)tst-leaks1-static): New rule.
27178 ($(objpfx)tst-leaks1-static-mem): Likewise.
27179 (tst-leaks1-static-ENV): New macro.
27180 * elf/dl-open.c (dl_open_worker): Check the main application
27181 only if SHARED is defined.
27182 * elf/tst-leaks1-static.c: New file.
27183
335e6931
AJ
271842012-10-20 Andreas Jaeger <aj@suse.de>
27185
27186 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27187 generic values for Linux.
27188 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27189 and declarations that are provided by <bits/fcntl-linux.h> and
27190 include <bits/fcntl-linux.h>.
27191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27192 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27193
ac5c94d3
RM
271942012-10-20 Roland McGrath <roland@hack.frob.com>
27195
27196 * io/fcntl.h: Move include of <bits/types.h> to the top and
27197 include it unconditionally.
27198
de54b33a
L
271992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27200
228cfb01
L
27201 * wcsmbs/Makefile (tests-ifunc): New variable.
27202 (tests): Add $(tests-ifunc).
27203 * wcsmbs/test-wcschr-ifunc.c: New file.
27204 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27205 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27206 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27207 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27208 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27209
69f07e5f
L
27210 * string/Makefile (tests-ifunc): New variable.
27211 (tests): Add $(tests-ifunc).
27212 * string/test-memccpy.c (TEST_NAME): New macro.
27213 * string/test-memchr.c (TEST_NAME): Likewise.
27214 * string/test-memcmp.c (TEST_NAME): Likewise.
27215 * string/test-memcpy.c (TEST_NAME): Likewise.
27216 * string/test-memmem.c (TEST_NAME): Likewise.
27217 * string/test-memmove.c (TEST_NAME): Likewise.
27218 * string/test-memset.c (TEST_NAME): Likewise.
27219 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27220 * string/test-stpcpy.c (TEST_NAME): Likewise.
27221 * string/test-stpncpy.c (TEST_NAME): Likewise.
27222 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27223 * string/test-strcasestr.c (TEST_NAME): Likewise.
27224 * string/test-strcat.c (TEST_NAME): Likewise.
27225 * string/test-strchr.c (TEST_NAME): Likewise.
27226 * string/test-strcmp.c(TEST_NAME): Likewise.
27227 * string/test-strcpy.c (TEST_NAME): Likewise.
27228 * string/test-strcspn.c (TEST_NAME): Likewise.
27229 * string/test-strlen.c (TEST_NAME): Likewise.
27230 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27231 * string/test-strncmp.c (TEST_NAME): Likewise.
27232 * string/test-strncpy.c (TEST_NAME): Likewise.
27233 * string/test-strnlen.c (TEST_NAME): Likewise.
27234 * string/test-strpbrk.c (TEST_NAME): Likewise.
27235 * string/test-strrchr.c (TEST_NAME): Likewise.
27236 * string/test-strspn.c (TEST_NAME): Likewise.
27237 * string/test-strstr.c (TEST_NAME): Likewise.
27238 * string/test-bcopy-ifunc.c: New file.
27239 * string/test-bzero-ifunc.c: Likewise.
27240 * string/test-memccpy-ifunc.c: Likewise.
27241 * string/test-memchr-ifunc.c: Likewise.
27242 * string/test-memcmp-ifunc.c: Likewise.
27243 * string/test-memcpy-ifunc.c: Likewise.
27244 * string/test-memmem-ifunc.c: Likewise.
27245 * string/test-memmove-ifunc.c: Likewise.
27246 * string/test-mempcpy-ifunc.c: Likewise.
27247 * string/test-memset-ifunc.c: Likewise.
27248 * string/test-rawmemchr-ifunc.c: Likewise.
27249 * string/test-stpcpy-ifunc.c: Likewise.
27250 * string/test-stpncpy-ifunc.c: Likewise.
27251 * string/test-strcasecmp-ifunc.c: Likewise.
27252 * string/test-strcasestr-ifunc.c: Likewise.
27253 * string/test-strcat-ifunc.c: Likewise.
27254 * string/test-strchr-ifunc.c: Likewise.
27255 * string/test-strchrnul-ifunc.c: Likewise.
27256 * string/test-strcmp-ifunc.c: Likewise.
27257 * string/test-strcpy-ifunc.c: Likewise.
27258 * string/test-strcspn-ifunc.c: Likewise.
27259 * string/test-strlen-ifunc.c: Likewise.
27260 * string/test-strncasecmp-ifunc.c: Likewise.
27261 * string/test-strncat-ifunc.c: Likewise.
27262 * string/test-strncmp-ifunc.c: Likewise.
27263 * string/test-strncpy-ifunc.c: Likewise.
27264 * string/test-strnlen-ifunc.c: Likewise.
27265 * string/test-strpbrk-ifunc.c: Likewise.
27266 * string/test-strrchr-ifunc.c: Likewise.
27267 * string/test-strspn-ifunc.c: Likewise.
27268 * string/test-strstr-ifunc.c: Likewise.
27269
de54b33a
L
27270 * debug/Makefile (tests-ifunc): New variable.
27271 (tests): Add $(tests-ifunc).
27272 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27273 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27274 * debug/test-stpcpy_chk-ifunc.c: New file.
27275 * debug/test-strcpy_chk-ifunc.c: Likewise.
27276
88481c16
SP
272772012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27278
27279 [BZ #13601]
27280 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27281 header is not read in.
27282
135948bd
JM
272832012-10-19 Joseph Myers <joseph@codesourcery.com>
27284
89f1c388
JM
27285 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27286 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27287 directly. Pass built executable to script as
27288 $(built-program-cmd).
27289 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27290 $testprogram without using LD_LIBRARY_PATH and $ldso.
27291
e40a0d21
JM
27292 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27293 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27294 $(rtld-installed-name).
27295 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27296 (rtld_installed_name): Likewise.
27297 (library_path): Likewise.
27298 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27299 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27300 $(run-program-prefix) to tst-tables.sh.
27301 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27302 it to run tst-table-from and tst-table-to.
27303 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27304 Pass it to tst-table.sh.
27305 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27306 $(run-program-prefix) to tst-gettext.sh.
27307 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27308 tst-translit.sh.
27309 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27310 tst-gettext2.sh.
27311 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27312 to run tst-gettext.
27313 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27314 to run tst-gettext2.
27315 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27316 to run tst-translit.
27317 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27318 $(run-program-prefix) to tst-mtrace.sh.
27319 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27320 to run tst-mtrace.
27321 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27322 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27323 $(rtld-installed-name).
27324 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27325 (rtld_installed_name): Likewise.
27326 (run_program_prefix): New variable. Use it to run wordexp-test.
27327
728e272a
JM
27328 * Makeconfig (ARCH): Remove all definitions.
27329 (machine): Likewise.
27330 [ARCH]: Remove conditional code.
27331 [!objdir]: Give error.
27332 [!objdir] (objpfx): Remove.
27333 [!objdir] (common-objpfx): Likewise.
27334 [!objdir] (common-objdir): Likewise.
27335 * configure.in (config_makefile): Remove. Hardcode Makefile in
27336 AC_CONFIG_FILES call.
27337 * configure: Regenerated.
27338
d528cdcf
JM
27339 [BZ #13888]
27340 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27341 or TMPDIR.
27342 (testout): Likewise.
27343
135948bd
JM
27344 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27345 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27346 $(rtld-installed-name).
27347 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27348 (rtld_installed_name): Likwise.
27349 (runit): Remove function.
27350 (run_getconf): New variable, Use it for running getconf binary.
27351
38c78296
L
273522012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27353
27354 [BZ #14716]
27355 * string/test-memmem.c (check_result): New function.
27356 (do_one_test): Use it.
27357 (check1): New function.
27358 (test_main): Use it.
27359
d077f65f
MT
273602012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27361
27362 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27363
ced52c71
JM
273642012-10-18 Joseph Myers <joseph@codesourcery.com>
27365
27366 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27367 (_G_LSEEK64): Likewise.
27368 (_G_MMAP64): Likewise.
27369 (_G_FSTAT64): Likewise.
27370 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27371 (_G_LSEEK64): Likewise.
27372 (_G_MMAP64): Likewise.
27373 (_G_FSTAT64): Likewise.
27374 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27375 unconditional. Call __mmap64 directly.
27376 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27377 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27378 __lseek64 directly.
27379 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27380 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27381 __mmap64 directly.
27382 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27383 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27384 __lseek64 directly.
27385 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27386 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27387 __lseek64 directly.
27388 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27389 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27390 __lseek64 directly.
27391 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27392 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27393 __fxstat64 directly.
27394 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27395 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27396 unconditional.
27397 (freopen64) [!_G_OPEN64]: Remove conditional code.
27398 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27399 unconditional.
27400 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27401 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27402 unconditional.
27403 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27404 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27405 unconditional.
27406 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27407 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27408 unconditional.
27409 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27410 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27411 unconditional.
27412 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27413 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27414 unconditional.
27415 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27416 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27417 unconditional.
27418 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27419
b741de23
SP
274202012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27421
27422 [BZ #12140]
27423 * manual/memory.texi (Malloc Tunable Parameters): Add note
27424 about free list pointers overwriting some perturb bytes.
27425 Wording suggested by Roland McGrath.
27426
f9b9d9c9
JM
274272012-10-17 Joseph Myers <joseph@codesourcery.com>
27428
27429 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27430 (lgamma_test): Likewise.
27431 (tgamma_test): Likewise.
27432
172a631a
FW
274332012-10-16 Florian Weimer <fweimer@redhat.com>
27434
27435 [BZ #14700]
27436 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27437 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27438
e9f37252
MK
274392012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27440
27441 * NEWS: Mention BZ #14716.
27442 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27443 when removing AVAILABLE1_USES_J macro.
27444
d394eb74
L
274452012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27446
27447 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27448 (__bswap_64): __uint64_t for unsigned 64-bit int.
27449
ca38dc17
AS
274502012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27451
27452 * include/string.h (memmem): Declare libc hidden alias.
27453 * string/memmem.c (memmem): Define libc hidden alias.
27454 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27455 __read, __close instead of open, read, close.
27456
9a387d1f
L
274572012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27458
ac49ecaf
L
27459 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27460 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27461 global and hidden.
27462 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27463 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27464 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27465 Likewise.
27466 (__rawmemchr_sse2): Likewise.
27467 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27468 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27469 (__strchr_sse2): Likewise.
27470 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27471 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27472 (__strcasecmp_sse2): Likewise.
27473 (__strncasecmp_sse2): Likewise.
27474 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27475 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27476 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27477 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27478 (__strrchr_sse2): Likewise.
27479 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27480 ifunc-impl-list.c.
27481 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27482 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27483 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27484 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27485 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27486 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27487 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27488 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27489 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27490 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27491 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27492 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27493 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27494 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27495 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27496 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27497 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27498 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27499 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27500 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27501 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27502 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27503 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27504 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27505 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27506 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27507 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27508 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27509 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27510 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27511
b090e8ea
L
27512 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27513 global and hidden.
27514 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27515 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27516 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27517 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27518 Likewise.
27519 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27520 Likewise.
27521 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27522 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27523 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27524 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27525 ifunc-impl-list.c.
27526 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27527 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27528 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27529 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27530 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27531 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27532 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27533 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27534 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27535 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27536 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27537 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27538 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27539 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27540 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27541 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27542 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27543 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27544 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27545 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27546 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27547 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27548 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27549 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27550 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27551 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27552 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27553 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27554 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27555 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27556 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27557 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27558 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27559 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27560 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27561 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27562 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27563 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27564 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27565 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27566 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27567
11dd4af6
L
27568 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27569 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27570 * include/ifunc-impl-list.h: New file.
27571 * misc/ifunc-impl-list.c: Likewise.
27572 * misc/Makefile (routines): Add ifunc-impl-list.
27573 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27574 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
27575 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27576 TEST_NAME]: New variables.
11dd4af6
L
27577 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27578 are defined.
27579 (test_init): Call __libc_ifunc_impl_list to initialize
27580 func_list if TEST_IFUNC and TEST_NAME are defined.
27581
9a387d1f
L
27582 * string/Makefile (strop-tests): Add bcopy and bzero.
27583 * string/test-bcopy.c: New file.
27584 * string/test-bzero.c: Likewise.
27585 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27586 defined.
27587 * string/test-memset.c: Support bzero test if TEST_BZERO is
27588 defined.
27589 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27590 __libc_memmove.
27591 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27592 __libc_memset.
27593 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27594 of memset.
27595
472371b9
JM
275962012-10-10 Joseph Myers <joseph@codesourcery.com>
27597
1e4a9536
JM
27598 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27599 * configure: Regenerated.
27600
d173d12e
JM
27601 * Makeconfig (+link-static-before-libc): Don't include
27602 $(link-static-libc).
27603
472371b9
JM
27604 * libio/libio.h (_IO_pos_t): Remove.
27605
89a3ad0b
AO
276062012-10-10 Alexandre Oliva <aoliva@redhat.com>
27607
27608 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27609 McGrath.
27610
e7451425
AO
276112012-10-10 Alexandre Oliva <aoliva@redhat.com>
27612
27613 * crypt/crypt-entry.c: Include fips-private.h.
27614 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27615 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27616 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27617 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27618
4ba74a35
AO
276192012-10-10 Alexandre Oliva <aoliva@redhat.com>
27620
27621 * crypt/crypt-private.h: Include stdbool.h.
27622 (_ufc_setup_salt_r): Return bool.
27623 * crypt/crypt-entry.c: Include errno.h.
27624 (__crypt_r): Return NULL with EINVAL for bad salt.
27625 * crypt/crypt_util.c (bad_for_salt): New.
27626 (_ufc_setup_salt_r): Check that salt is long enough and within
27627 the specified alphabet.
27628 * crypt/badsalttest.c: New file.
27629 * crypt/Makefile (tests): Add it.
27630 ($(objpfx)badsalttest): New.
27631
f96f1242
MK
276322012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27633
27634 * NEWS: Add entry for BZ #14602.
27635
0e8e0c1c
JM
276362012-10-09 Joseph Myers <joseph@codesourcery.com>
27637
27638 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27639 type-generic.
27640 * math/libm-test.inc: Update comment listing what functions and
27641 macros are tested.
27642 (isgreater_test): New function.
27643 (isgreaterequal_test): Likewise.
27644 (isless_test): Likewise.
27645 (islessequal_test): Likewise.
27646 (islessgreater_test): Likewise.
27647 (isunordered_test): Likewise.
27648 (main): Call the new functions.
27649
273edc5e
RM
276502012-10-09 Roland McGrath <roland@hack.frob.com>
27651
b8493de0
RM
27652 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27653 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27654 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27655 * sysdeps/i386/configure: Regenerated.
27656 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27657 * sysdeps/mach/configure: Regenerated.
27658 * sysdeps/mach/hurd/configure: Regenerated.
27659 * sysdeps/powerpc/configure: Regenerated.
27660 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27661 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27662 * sysdeps/s390/s390-32/configure: Regenerated.
27663 * sysdeps/s390/s390-64/configure: Regenerated.
27664 * sysdeps/sh/configure: Regenerated.
27665 * sysdeps/sparc/configure: Regenerated.
27666 * sysdeps/unix/sysv/linux/configure: Regenerated.
27667 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27668 * sysdeps/x86_64/configure: Regenerated.
27669
273edc5e
RM
27670 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27671 defined. Don't check if MAP is NULL.
27672
c8450f70
JM
276732012-10-09 Joseph Myers <joseph@codesourcery.com>
27674
27675 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27676 (_G_stat64): Likewise.
27677 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27678 (_G_stat64): Likewise.
27679 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27680 instead of struct _G_stat64.
27681 * libio/fileops.c (mmap_remap_check): Likewise.
27682 (decide_maybe_mmap): Likewise.
27683 (_IO_new_file_seekoff): Likewise.
27684 (_IO_file_stat): Likewise.
27685 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27686 _G_off64_t.
27687 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27688 instead of struct _G_stat64.
27689 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27690
57e605ba
MK
276912012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27692
27693 [BZ #14602]
27694 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27695 Replace with ...
27696 (CHECK_EOL): New macro.
27697 (two_way_short_needle): Check beginning of haystack for EOL. Use
27698 CHECK_EOL.
27699 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27700 Replace with CHECK_EOL.
27701 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27702 Replace with CHECK_EOL.
27703
ef1bb361
JM
277042012-10-08 Joseph Myers <joseph@codesourcery.com>
27705
27706 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27707 type-generic.
27708 * math/libm-test.inc: Update comment listing what functions and
27709 macros are tested.
27710 (finite_test): New function.
27711 (isinf_test): Likewise.
27712 (isnan_test): Likewise.
27713 (fpclassify_test): Test subnormal input.
27714 (isfinite_test): Likewise.
27715 (isnormal_test): Likewise.
27716 (main): Call the new functions.
27717
55f11534
JN
277182012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27719
27720 [BZ #14660]
27721 * Makerules (%.dynsym): Force C locale when running
27722 $(OBJDUMP) --dynamic-syms.
27723
1ab29350
AS
277242012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27725
27726 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27727 <stdint.h>.
27728
f1ecb7ef
DM
277292012-10-06 David S. Miller <davem@davemloft.net>
27730
27731 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27732 upper 32-bits of the length value in %o2 since we use branch-on-register
27733 tests which consider the entire 64-bit register.
27734
5d41d91a
L
277352012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27736
27737 * string/test-strstr.c (check2): Add a test for page boundary.
27738
3baddb72
DM
277392012-10-05 David S. Miller <davem@davemloft.net>
27740
27741 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27742 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27743 file.
27744 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27745 sysdep_routines.
27746 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27747 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27748 and bzero when HWCAP_SPARC_CRYPTO is present.
27749
9cee5585
L
277502012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27751
d7e0dab9
L
27752 [BZ #14602]
27753 * string/test-strstr.c (check2): New function.
27754 (test_main): Call check2.
27755
03759f47
L
27756 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27757 and bug-strchr1.
27758 * string/bug-strcasestr1.c (do_test): Moved to ...
27759 * string/test-strcasestr.c (check1): Here. New function.
27760 (do_one_test): Break out result checking code into ...
27761 (check_result): This. New function.
27762 (do_one_test): Call check_result.
27763 (test_main): Call check1.
27764 * string/bug-strchr1.c (do_test): Moved to ...
27765 * string/test-strchr.c (check1): Here. New function.
27766 (do_one_test): Break out result checking code into ...
27767 (check_result): This. New function.
27768 (do_one_test): Call check_result.
27769 (test_main): Call check1.
27770 * string/bug-strstr1.c (main): Moved to ...
046f153e 27771 * string/test-strstr.c (check1): Here. New function.
03759f47
L
27772 (do_one_test): Break out result checking code into ...
27773 (check_result): This. New function.
27774 (do_one_test): Call check_result.
27775 (test_main): Call check1.
27776 * string/bug-strcasestr1.c: Removed.
27777 * string/bug-strchr1.c: Likewise.
27778 * string/bug-strstr1.c: Likewise.
27779
53cea63e
L
27780 * elf/Makefile (dl-routines): Add hwcaps.
27781 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27782 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27783 (_dl_important_hwcaps): Moved to ...
27784 * elf/dl-hwcaps.c: Here. New file.
27785 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27786
9cee5585 27787 [BZ #14557]
bb859b06
L
27788 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27789 if IS_IN_rtld isn't defined.
27790
9cee5585
L
27791 * elf/dl-support.c (_dl_sysinfo_map): New.
27792 Include "get-dynamic-info.h" and "setup-vdso.h".
27793 (_dl_non_dynamic_init): Call setup_vdso.
27794 * elf/dynamic-link.h: Don't include <assert.h>.
27795 (elf_get_dynamic_info): Moved to ...
27796 * elf/get-dynamic-info.h: Here. New file.
27797 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27798 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27799 * elf/setup-vdso.h: Here. New file.
27800 * elf/rtld.c: Include "setup-vdso.h".
27801 (dl_main): Call setup_vdso.
27802
23c31b76
JM
278032012-10-05 Joseph Myers <joseph@codesourcery.com>
27804
28234b07
JM
27805 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27806 creal in comment listing functions tested. List finite, isinf,
27807 isnan, isless, islessequal, isgreater, isgreaterequal,
27808 islessgreater, isunordered, lgamma_r and pow10 as functions and
27809 macros not tested. Mention which functions not tested are aliases
27810 for other functions. Fix typo. Note that signs of NaNs are not
27811 tested.
27812
23c31b76
JM
27813 * scripts/config.guess: Update from config.git.
27814 * scripts/config.sub: Likewise.
27815
9043e228
RM
278162012-10-04 Roland McGrath <roland@hack.frob.com>
27817
27818 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27819 * misc/madvise.c (madvise): Renamed to __madvise.
27820 Make madvise a weak alias.
27821 * include/sys/mman.h: Declare __madvise.
27822 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27823 * sysdeps/unix/syscalls.list
27824 (madvise): Make __madvise the strong name, and madvise a weak alias.
27825 * sysdeps/unix/sysv/linux/syscalls.list
27826 (madvise, mmap): Remove redundant entries.
27827 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27828 * malloc/malloc.c (mtrim): Likewise.
27829 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27830
f57f8055
RM
278312012-10-03 Roland McGrath <roland@hack.frob.com>
27832
27833 * sysdeps/mach/hurd/dl-cache.c: File removed.
27834 * config.h.in (USE_LDCONFIG): New #undef.
27835 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27836 * configure: Regenerated.
27837 * elf/Makefile (dl-routines): Add dl-cache only under
27838 [$(use-ldconfig) = yes].
27839 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27840 cache on [USE_LDCONFIG].
27841 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27842 [USE_LDCONFIG].
27843 * elf/rtld.c (dl_main): Likewise.
27844
5bb0c10a
PT
278452012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27846
27847 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27848 _SC_LEVEL4_CACHE_LINESIZE.
27849
010188c6
RM
278502012-10-03 Roland McGrath <roland@hack.frob.com>
27851
27852 * sysdeps/unix/bsd/confstr.h: File removed.
27853
b6c5ec07
AO
278542012-10-02 Alexandre Oliva <aoliva@redhat.com>
27855
27856 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27857 sys/sdt-config.h.
27858
408223d4
RM
278592012-10-02 Roland McGrath <roland@hack.frob.com>
27860
27861 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27862 Make 'mapoff' field ElfW(Off) rather than off_t.
27863
bb9510dc
DL
278642012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27865
fc997c6e
DL
27866 * nscd/Makefile: Remove nscd-cflags and all its users.
27867 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27868 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27869
bb9510dc
DL
27870 [BZ #10631]
27871 * malloc.c (malloc_printerr): Clarify error message.
27872
05699367
L
278732012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27874
27875 [BZ #14648]
27876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27877 Set bit_FMA_Usable if FMA is supported.
27878 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27879 macro.
27880 (bit_FMA4_Usable): Updated.
27881 (index_FMA_Usable): New macro.
27882 (CPUID_FMA): Likewise
27883 (HAS_FMA): Defined with bit_FMA_Usable.
27884
51367701
RM
278852012-10-01 Roland McGrath <roland@hack.frob.com>
27886
27887 * bits/types.h (__swblk_t): Type removed.
27888 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27889 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27891 (__SWBLK_T_TYPE): Likewise.
27892 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27893 (__SWBLK_T_TYPE): Likewise.
27894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27895 (__SWBLK_T_TYPE): Likewise.
27896 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27897 (__SWBLK_T_TYPE): Likewise.
27898
4d57bf63 278992012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 27900 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
27901
27902 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27903 (xdr_mapname): Use YPMAXMAP as maxsize.
27904 (xdr_peername): Use YPMAXPEER as maxsize.
27905 (xdr_keydat): Use YPAXRECORD as maxsize.
27906 (xdr_valdat): Use YPMAXRECORD as maxsize.
27907
93c65d43
RM
279082012-10-01 Roland McGrath <roland@hack.frob.com>
27909
497a03d6
RM
27910 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27911
93c65d43
RM
27912 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27913 * csu/init-first.c: ... here.
27914 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27915 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27916 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27917 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27918 * sysdeps/i386/init-first.c: File removed.
27919 * sysdeps/sh/init-first.c: File removed.
27920
bec749fd
JM
279212012-10-01 Joseph Myers <joseph@codesourcery.com>
27922
27923 [BZ #14645]
27924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27925 if x * y might underflow to zero and z is zero.
27926 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27927 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27928 * math/libm-test.inc (min_subnorm_value): New variable.
27929 (fma_test): Add more tests.
27930 (fma_test_towardzero): Likewise.
27931 (fma_test_downward): Likewise
27932 (fma_test_upward): Likewise.
27933 (initialize): Set min_subnorm_value.
27934
8ec5b013
JM
279352012-09-29 Joseph Myers <joseph@codesourcery.com>
27936
27937 [BZ #14638]
27938 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27939 0 + 0.
27940 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27941 mode for addition resulting in exact zero.
27942 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27944 exact 0 + 0.
27945 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27946 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27947 * math/libm-test.inc (fma_test): Add more tests.
27948 (fma_test_towardzero): New function.
27949 (fma_test_downward): Likewise.
27950 (fma_test_upward): Likewise.
27951 (main): Call the new functions.
27952
b1fa802e
DM
279532012-09-28 David S. Miller <davem@davemloft.net>
27954
27955 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27956
d3b9fd9e
RM
279572012-09-28 Roland McGrath <roland@hack.frob.com>
27958
ea4d37b3
RM
27959 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27960 instead of SIGALRM.
27961
ac51c949
RM
27962 * sysdeps/gnu/_G_config.h: Moved to ...
27963 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27964 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27965 * sysdeps/generic/_G_config.h: ... here.
27966
28c195f7
RM
27967 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27968
848917f9
RM
27969 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27970
6bacf05b
RM
27971 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27972 Conditionalize target on [libnss_test1.so-version].
27973
91363dbb
RM
27974 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27975
cc87f7d8
RM
27976 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27977 (elfobjdir): Move out of conditionals.
27978
b1c608fe
RM
27979 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27980 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27981 (__nss_lookup_function): Conditionalize label remove_from_tree on
27982 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 27983
1d9a6d96
DM
279842012-09-28 David S. Miller <davem@davemloft.net>
27985
27986 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27987 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27988 file.
27989 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27990 sysdep_routines.
27991 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27993 when HWCAP_SPARC_CRYPTO is present.
27994
72581615
PT
279952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27996
27997 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27998
715a900c
JL
279992012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28000
28001 [BZ #6530]
28002 * stdio-common/vfprintf.c (process_string_arg): Revert
28003 2000-07-22 change.
28004
280052011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28006
28007 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28008 for testcase.
28009 * stdio-common/tst-sprintf.c: Include <locale.h>
28010 (main): Test sprintf's handling of incomplete multibyte
28011 characters.
28012
9bac1d86
L
280132012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28014
28015 * elf/dl-runtime.c (VERSYMIDX): Removed.
28016 * elf/dl-version.c (VERSYMIDX): Likewise.
28017 * elf/do-rel.h (VERSYMIDX): Likewise.
28018 (VALIDX): Likewise.
28019 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28020 * elf/rtld.c (VALIDX): Likewise.
28021 (ADDRIDX): Likewise.
9bac1d86
L
28022 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28023 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28024 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
28025 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28026 (VALIDX): Likewise.
28027 (ADDRIDX): Likewise.
9bac1d86 28028
b31606c0
PT
280292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28030
28031 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28032
11541177
JL
280332012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28034
28035 [BZ #11438]
28036 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28037 to global scope.
28038 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28039 addresses are in the same scope as 192.0.2/24.
28040 * posix/gai.conf: Document new scope table defaults.
28041
adb26fae
SP
280422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28043
28044 [BZ #5298]
28045 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28046 for ftell. Compute offsets from write pointers instead.
28047 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28048
4573c6b0
SP
280492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28050
28051 [BZ #14543]
28052 * libio/Makefile (tests): New test case tst-fseek.
28053 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28054 combination works in wide mode.
28055 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28056 state when the external buffer state changes.
28057
aa9bbfe6
DM
280582012-09-27 David S. Miller <davem@davemloft.net>
28059
28060 [BZ #14376]
28061 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28062 pass reloc->r_addend in as the 'high' argument to
28063 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28064
784421e7
DM
28065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28066
c39bc8b8
PT
280672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28068
28069 * rt/tst-aio2.c: Include <pthread.h>.
28070 * rt/tst-aio3.c: Likewise.
28071
1ccc2399
SE
280722012-09-27 Steve Ellcey <sellcey@mips.com>
28073
28074 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28075
31ed4153
L
280762012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28077
25f5f885
L
28078 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28079 contents on [SHARED].
31ed4153 28080
b7bfe116
MP
280812012-09-26 Marek Polacek <polacek@redhat.com>
28082
28083 [BZ #14530]
28084 [BZ #13741]
28085 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28086 for C++ and GCC <4.3 as well as for non GCC compilers.
28087
43c4edba
MT
280882012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28089
28090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28091
6a1bf82f
RM
280922012-09-25 Roland McGrath <roland@hack.frob.com>
28093
28094 * Makefile.in (all, install): Declare with .PHONY.
28095 Reported by Michael Hope <michael.hope@linaro.org>.
28096
8ad11b9a
TMQMF
280972012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28098
28099 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28100 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28101 system header.
28102 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28103 Likewise.
28104 (sydep_routines): Add the new and the internal functions.
28105 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28106 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28108 (GLIBC_2.17): Add the new function.
28109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28110 (GLIBC_2.17): Likewise.
28111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28112 (GLIBC_2.17): Likewise.
28113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28114 (GLIBC_2.17): Likewise.
28115 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28116
7e2fca8d
AM
281172012-09-25 Alan Modra <amodra@gmail.com>
28118
28119 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28120 Add release barrier before setting once_control to say
28121 initialisation is done. Add hints on lwarx. Use macro in
28122 place of isync.
28123 (clear_once_control): Add release barrier.
28124
b87c4b24
JM
281252012-09-25 Joseph Myers <joseph@codesourcery.com>
28126
d032e0d2
JM
28127 [BZ #13629]
28128 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28129 specially.
28130 * math/s_clog10.c (__clog10): Likewise.
28131 * math/s_clog10f.c (__clog10f): Likewise.
28132 * math/s_clog10l.c (__clog10l): Likewise.
28133 * math/s_clogf.c (__clogf): Likewise.
28134 * math/s_clogl.c (__clogl): Likewise.
28135 * math/Makefile (libm-calls): Add x2y2m1.
28136 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28137 (__x2y2m1): Likewise.
28138 (__x2y2m1l): Likewise.
28139 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28140 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28141 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28142 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28143 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28144 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28145 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28146 * sysdeps/i386/fpu/libm-test-ulps: Update.
28147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28148
b87c4b24
JM
28149 [BZ #14621]
28150 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28151 int as type of variable DEPTH.
28152 (glob): Use size_t instead of int as type of variables NEWCOUNT
28153 and OLD_PATHC.
28154
6d3bf199
LD
281552012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28156
22bf5c17
LD
28157 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28158 Add s_sincosf-sse2.
28159 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28160 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28161 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28162 macros for using routine as __sincosf_ia32.
28163 Use macro for function declaration and weak_alias.
28164 * sysdeps/i386/fpu/libm-test-ulps: Update.
28165
28166 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28168
28169 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
28170 subnormal argument.
28171 * math/s_cexpf.c (__cexpf): Likewise.
28172 * math/s_csinf.c (__csinf): Likewise.
28173 * math/s_csinhf.c (__csinhf): Likewise.
28174 * math/s_ctanf.c (__ctanf): Likewise.
28175 * math/s_ctanhf.c (__ctanhf): Likewise.
28176 * math/s_ccosh.c (__ccoshf): Likewise.
28177 * math/s_cexp.c (__cexpl): Likewise.
28178 * math/s_csin.c (__csin): Likewise.
28179 * math/s_csinh.c (__csinh): Likewise.
28180 * math/s_ctan.c (__ctan): Likewise.
28181 * math/s_ctanh.c (ctanh): Likewise.
28182 * math/s_ccoshl.c (__ccoshl): Likewise.
28183 * math/s_cexpl.c (__cexpl): Likewise.
28184 * math/s_csinl.c (__csinl): Likewise.
28185 * math/s_csinhl.c (__csinhl): Likewise.
28186 * math/s_ctanl.c (__ctanl): Likewise.
28187 * math/s_ctanhl.c (__ctanhl): Likewise.
28188
203e5603
JM
281892012-09-25 Joseph Myers <joseph@codesourcery.com>
28190
28191 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28192 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28193 (_IO_off_t): Define to __off_t, not _G_off_t.
28194 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28195 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28196 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28197 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28198 type of __dummy and __dummy2 fields.
28199 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28200 (_G_ssize_t): Likewise.
28201 (_G_off_t): Likewise.
28202 (_G_pid_t): Likewise.
28203 (_G_uid_t): Likewise.
28204 (_G_wchar_t): Likewise.
28205 (_G_wint_t): Likewise.
28206 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28207 (_G_ssize_t): Likewise.
28208 (_G_off_t): Likewise.
28209 (_G_pid_t): Likewise.
28210 (_G_uid_t): Likewise.
28211 (_G_wchar_t): Likewise.
28212 (_G_wint_t): Likewise.
28213 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28214 (_G_ssize_t): Likewise.
28215 (_G_off_t): Likewise.
28216 (_G_pid_t): Likewise.
28217 (_G_uid_t): Likewise.
28218 (_G_wchar_t): Likewise.
28219 (_G_wint_t): Likewise.
28220
9fab36eb
SP
282212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28222
28223 * malloc/arena.c: Include malloc-sysdep.h.
28224 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28225 is sufficient to shrink the heap or an unmap is needed.
28226 * sysdeps/generic/malloc-sysdep.h: New file. Define
28227 new function check_may_shrink_heap.
28228 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28229 new function check_may_shrink_heap.
28230
2b4f00d1
SP
282312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28232
28233 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28234 comments.
28235
9a9028b1
DL
282362012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28237
57c69bef
DL
28238 * catgets/test-gencat.sh: Add "set -e".
28239 * elf/tst-pathopt.sh: Likewise.
28240 * grp/tst_fgetgrent.sh: Likewise.
28241 * iconvdata/run-iconv-test.sh: Likewise.
28242 * intl/tst-gettext.sh: Likewise.
28243 * intl/tst-gettext2.sh: Likewise.
28244 * intl/tst-gettext4.sh: Likewise.
28245 * intl/tst-gettext6.sh: Likewise.
28246 * intl/tst-translit.sh: Likewise.
28247 * io/ftwtest-sh: Likewise.
28248 * libio/test-freopen.sh: Likewise.
28249 * malloc/tst-mtrace.sh: Likewise.
28250 * posix/globtest.sh: Likewise.
28251 * posix/tst-getconf.sh: Likewise.
28252 * posix/wordexp-tst.sh: Likewise.
28253 * stdio-common/tst-printf.sh: Likewise.
28254 * stdio-common/tst-unbputc.sh: Likewise.
28255 * stdlib/tst-fmtmsg.sh: Likewise.
28256 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28257 * catgets/Makefile: Do not specify -e option when running
28258 testsuite shell scripts.
28259 * elf/Makefile: Likewise.
28260 * grp/Makefile: Likewise.
28261 * iconvdata/Makefile: Likewise.
28262 * intl/Makefile: Likewise.
28263 * io/Makefile: Likewise.
28264 * libio/Makefile: Likewise.
28265 * malloc/Makefile: Likewise.
28266 * posix/Makefile: Likewise.
28267 * stdio-common/Makefile: Likewise.
28268 * stdlib/Makefile: Likewise.
28269 * sysdeps/x86_64/Makefile: Likewise.
28270
9a9028b1
DL
28271 * io/ftwtest-sh: Add copyright header.
28272 * posix/globtest.sh: Likewise.
28273 * posix/tst-getconf.sh: Likewise.
28274 * posix/wordexp-tst.sh: Likewise.
28275 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28276
ced6f16e
L
282772012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28278
94b32c39
L
28279 [BZ #13679]
28280 * Makeconfig (+link): Defined as $(+link-static) if
28281 $(build-shared) isn't yes.
28282 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28283 isn't yes.
28284 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28285
189e935b
L
28286 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28287
ced6f16e
L
28288 [BZ #14562]
28289 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28290 new chunk size with MALLOC_ALIGN_MASK.
28291
a9f8e53a
JM
282922012-09-24 Joseph Myers <joseph@codesourcery.com>
28293
28294 [BZ #5044]
28295 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28296 <rounding-mode.h>.
28297 (__printf_fphex): Determine rounding using get_rounding_mode and
28298 round_away.
28299 * stdio-common/tst-printf-round.c (struct hex_test): New
28300 structure.
28301 (hex_tests): New variable.
28302 (test_hex_in_one_mode): New function.
28303 (do_test): Also run tests for hex float output.
28304
43153109
JM
283052012-09-21 Joseph Myers <joseph@codesourcery.com>
28306
28307 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28308 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28309 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28310 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28311 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28312 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28313 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28314 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28315
8a26625d
JM
283162012-09-20 Joseph Myers <joseph@codesourcery.com>
28317
28318 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28319 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28320 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28321 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28322
f3fd569c
DL
283232012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28324
28325 [BZ #14579]
28326 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28327 mode only.
28328 * elf/tst-rtld-load-self.sh: New test.
28329 * elf/Makefile: Run it.
28330
63bbedd4
JM
283312012-09-18 Joseph Myers <joseph@codesourcery.com>
28332
28333 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28334 (tst-writev-ENV): Remove.
28335 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28336
626f8b6a
CM
283372012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28338
28339 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28340
b7aaa4d6
JM
283412012-09-17 Joseph Myers <joseph@codesourcery.com>
28342
28343 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28344 unconditional.
28345 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28346 Likewise.
28347 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28348 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28349 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28350 Likewise.
28351
65513990
L
283522012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28353
28354 [BZ #14587]
28355 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28356 * config.make.in (have-cpp-asm-debuginfo): Removed.
28357 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28358 * configure: Regenerated.
28359
784761be
JM
283602012-09-14 Joseph Myers <joseph@codesourcery.com>
28361
28362 [BZ #5044]
28363 * stdio-common/printf_fp.c: Include <stdbool.h> and
28364 <rounding-mode.h>.
28365 (___printf_fp): Determine rounding using get_rounding_mode and
28366 round_away.
28367 * stdio-common/tst-printf-round.c: New file.
28368 * stdio-common/Makefile (tests): Add tst-printf-round.
28369 (link-libm): New variable.
28370 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28371
9503345f
L
283722012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28373
28374 [BZ #14576]
28375 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28376 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28377 Likewise.
28378 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28379 Likewise.
28380
ad35fc00
JM
283812012-09-13 Joseph Myers <joseph@codesourcery.com>
28382
28383 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28384 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28385 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28386 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28387
6c9b0f68
JM
283882012-09-12 Joseph Myers <joseph@codesourcery.com>
28389
28390 [BZ #14518]
28391 * include/rounding-mode.h: New file.
28392 * sysdeps/generic/get-rounding-mode.h: Likewise.
28393 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28394 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28395 (MAX_VALUE): New macro.
28396 (MIN_VALUE): Likewise.
28397 (overflow_value): New function.
28398 (underflow_value): Likewise.
28399 (round_and_return): Use overflow_value and underflow_value to
28400 determine return values in overflow and underflow cases. Use
28401 round_away to determine rounding depending on rounding mode.
28402 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28403 determine return values in overflow and underflow cases.
28404 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28405 (struct test_results): New structure.
28406 (struct test): Use struct test_results to store expected results
28407 for all rounding modes.
28408 (TEST): Include expected results for all rounding modes.
28409 (test_in_one_mode): New function.
28410 (do_test): Use test_in_one_mode to compute and check results.
28411 Check results for all rounding modes.
28412 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28413 $(link-libm).
28414
19fcedd5
AM
284152012-12-09 Allan McRae <allan@archlinux.org>
28416
1e9d84cd 28417 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 28418
8bbfd2f1
JM
284192012-09-11 Joseph Myers <joseph@codesourcery.com>
28420
28421 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28422 (_G_int32_t): Likewise.
28423 (_G_uint16_t): Likewise.
28424 (_G_uint32_t): Likewise.
28425 (_G_HAVE_BOOL): Likewise.
28426 (_G_HAVE_ATEXIT): Likewise.
28427 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28428 (_G_HAVE_IO_FILE_OPEN): Likewise.
28429 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28430 (_G_int32_t): Likewise.
28431 (_G_uint16_t): Likewise.
28432 (_G_uint32_t): Likewise.
28433 (_G_HAVE_BOOL): Likewise.
28434 (_G_HAVE_ATEXIT): Likewise.
28435 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28436 (_G_HAVE_IO_FILE_OPEN): Likewise.
28437 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28438 (_G_int32_t): Likewise.
28439 (_G_uint16_t): Likewise.
28440 (_G_uint32_t): Likewise.
28441 (_G_HAVE_BOOL): Likewise.
28442 (_G_HAVE_ATEXIT): Likewise.
28443 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28444 (_G_HAVE_IO_FILE_OPEN): Likewise.
28445
b1dc5912
L
284462012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28447
28448 * csu/libc-tls.c: Update copyright years.
28449
0e886ef9
JM
284502012-09-10 Joseph Myers <joseph@codesourcery.com>
28451
28361c5e
JM
28452 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28453 [!_G_USING_THUNKS]: Remove conditional code.
28454 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28455 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28456
0e886ef9
JM
28457 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28458 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28459 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28460 (_G_VTABLE_LABEL_PREFIX): Likewise.
28461 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28462 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28463 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28464 (_G_VTABLE_LABEL_PREFIX): Likewise.
28465 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28466 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28467 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28468 (_G_VTABLE_LABEL_PREFIX): Likewise.
28469 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28470
bcba7aa2
L
284712012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28472
28473 * libio/Makefile: Include ../Makeconfig before tests.
28474 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28475 only if $(build-shared) is yes.
28476
06585ee8
L
28477 * iconv/gconv_db.c: Update copyright years.
28478
80ccd52c
LD
284792012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28480
28481 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28482 unwind info if defined PIC. Fix special cases description.
28483 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28484
28485 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28486 DP_HI_MASK entry.
28487 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28488
691bc9c1
L
284892012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28490
3d9b46b3
L
28491 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28492
de2139a9
L
28493 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28494 is NULL.
28495
5ca78dd0
L
28496 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28497 (LDLIBS-tst-chk4): This.
28498 (LDFLAGS-tst-chk5): Renamed to ...
28499 (LDLIBS-tst-chk5): This.
28500 (LDFLAGS-tst-chk6): Renamed to ...
28501 (LDLIBS-tst-chk6): This.
28502 (LDFLAGS-tst-lfschk4): Renamed to ...
28503 (LDLIBS-tst-lfschk4): This.
28504 (LDFLAGS-tst-lfschk5): Renamed to ...
28505 (LDLIBS-tst-lfschk5): This.
28506 (LDFLAGS-tst-lfschk6): Renamed to ...
28507 (LDLIBS-tst-lfschk6): This.
28508
691bc9c1
L
28509 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28510 on $(common-objpfx)soversions.mk.
28511
65cafb1c
JM
285122012-09-07 Joseph Myers <joseph@codesourcery.com>
28513
28514 [BZ #10014]
28515 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28516 example host name.
28517
c78ab094
SP
285182012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28519
28520 * malloc/arena.c (arena_get_retry): New function that gets
28521 another arena for the caller to try its request on.
28522 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28523 current arena cannot fulfill the request.
28524 (__libc_memalign): Likewise.
28525 (__libc_memalign): Likewise.
28526 (__libc_pvalloc): Likewise.
28527 (__libc_calloc): Likewise.
28528
01f49f59
JT
285292012-09-05 John Tobey <john.tobey@gmail.com>
28530
28531 [BZ #13542]
28532 * manual/arith.texi (Operations on Complex): Fix description
28533 of carg branch cut.
28534
4c23fed5
JM
285352012-09-06 Joseph Myers <joseph@codesourcery.com>
28536
1d3c8572
JM
28537 [BZ #10014]
28538 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28539 host name.
28540
4c23fed5
JM
28541 [BZ #10038]
28542 * manual/memory.texi (Memory): Make order of menu items match
28543 order of sections.
28544
04570aaa
L
285452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28546
28547 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28548 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28549 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28550
b80af2f4
L
285512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28552
28553 * csu/libc-tls.c (static_dtv): Renamed to ...
28554 (_dl_static_dtv): This. Make it global.
28555 (_dl_initial_dtv): Removed.
28556 (__libc_setup_tls): Updated.
28557 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28558 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28559 DL_INITIAL_DTV.
28560
2abe9f15
PM
285612012-09-06 Petr Machata <pmachata@redhat.com>
28562
28563 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28564 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28565 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28566 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28567
0948c3af
L
285682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28569
28570 [BZ #14545]
28571 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28572 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28573 freeing dtv[-1].
28574
a5055ad1
L
285752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28576
28577 [BZ #14544]
28578 * Makeconfig (link-static-before-libc): Replace $(+prector)
28579 with $(+prectorT).
28580 (link-static-after-libc): Replace $(+postctor) with
28581 $(+postctorT).
28582 (link-bounded): Replace $(+prector)/$(+postctor) with
28583 $(+prectorT)/$(+postctorT).
28584 (+prectorT): New macro.
28585 (+postctorT): Likewise.
28586
ed8c2ecd
JM
285872012-09-06 Joseph Myers <joseph@codesourcery.com>
28588
28589 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28590 (round_str): Handle values above the maximum for IBM long double
28591 as inexact.
28592 * stdlib/tst-strtod-round.c (tests): Regenerated.
28593
14c996c8
AK
285942012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28595
28596 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28597 assembler flag.
28598 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28599 zarch_nohighgprs around the zarch optimized routines.
28600 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28601 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28602 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28603 for zarch.
28604
430d6ce6
DM
286052012-09-05 David S. Miller <davem@davemloft.net>
28606
28607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28608
57f41c40
AS
28609 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28610 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
28611 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28612 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28613 entries.
28614
24d4e01b
AO
286152012-09-05 Alexandre Oliva <aoliva@redhat.com>
28616
28617 * malloc/arena.c: Fold copyright years.
28618 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28619
61d58174
AO
286202012-09-05 Alexandre Oliva <aoliva@redhat.com>
28621
28622 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28623
20196a5e
AO
286242012-09-05 Alexandre Oliva <aoliva@redhat.com>
28625
28626 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28627
5c447383
AO
286282012-09-05 Alexandre Oliva <aoliva@redhat.com>
28629
28630 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28631 change internal state upon failure.
28632
fad64255
AO
286332012-09-05 Alexandre Oliva <aoliva@redhat.com>
28634
28635 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28636 * malloc/memusage.c (mmap): Likewise.
28637 (mmap64, mremap): Likewise. Adjust name in comment.
28638
1ffb8c90
SP
286392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28640
28641 * libio/fileops.c: Fix typos in comments.
28642 * libio/oldfileops.c: Likewise.
28643 * libio/wfileops.c: Likewise.
28644
6ef9cc37
SP
286452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28646
28647 [BZ #1349]
28648 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28649 (tst-malloc-usable-ENV): Set environment for test case.
28650 * malloc/hooks.c (malloc_check_get_size): New function to get
28651 requested size.
28652 * malloc/malloc.c (musable): Use malloc_check_get_size.
28653 * malloc/tst-malloc-usable.c: New test case.
28654
4d038ae3
AS
286552012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28656
28657 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28658
c4e85184
AM
286592012-09-05 Allan McRae <allan@archlinux.org>
28660
b9dafc56 28661 [BZ #13966]
c4e85184
AM
28662 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28663 determine header location.
28664 * configure: Regenerated.
28665
e1343020
AS
286662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28667
28668 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28669 float format.
28670 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
28671 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28672 format.
e1343020
AS
28673 (test): Regenerate.
28674
0a9f1987
DM
286752012-09-04 David S. Miller <davem@davemloft.net>
28676
28677 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28678 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28679 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28680
29237804
FW
286812012-09-04 Florian Weimer <fweimer@redhat.com>
28682
28683 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28684 failures.
28685
edb3cb88
FW
28686 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28687
60160d83
JM
286882012-09-04 Joseph Myers <joseph@codesourcery.com>
28689
28690 [BZ #9914]
28691 * libio/iogetdelim.c: Include <limits.h>.
28692 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28693 + len + 1 would overflow.
28694
bcd6c8dc
AJ
286952012-09-03 Andreas Jaeger <aj@suse.de>
28696
28697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28698 * sysdeps/i386/fpu/libm-test-ulps: Update.
28699
4ffffbd2
LD
287002012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28701
28702 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28703 Add s_sinf-sse2, s_conf-sse2.
28704
28705 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28706 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28707 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28708 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28709
28710 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28711 for using routine as __sinf_ia32.
28712 Use macro for function declaration and weak_alias.
28713 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28714 for using routine as __cosf_ia32.
28715 Use macro for function declaration and weak_alias.
28716
28717 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28718 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28719
28720 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28721 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28723
28724 * math/libm-test.inc (cos_test): Add more test cases.
28725 (sin_test): Likewise.
28726 (sincos_test): Likewise.
28727
511fa286
AK
287282012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28729
28730 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28731 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28732 hidden.
28733 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28734
5f30cfec
L
287352012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28736
28737 [BZ #14538]
28738 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28739 first element of the GOT.
28740 (elf_machine_load_address): Return the difference between
28741 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28742
0786794f
AM
287432012-09-01 Allan McRae <allan@archlinux.org>
28744
5f30cfec
L
28745 [BZ #13412]
28746 * configure.in (AWK): Require gawk version 3.0 or later.
28747 * configure: Regenerated.
0786794f 28748
26889eac
JM
287492012-09-01 Joseph Myers <joseph@codesourcery.com>
28750
28751 * sysdeps/unix/sysv/linux/kernel-features.h
28752 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28753 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28754 [__NR_clock_getres]: Make code unconditional.
28755 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28756 (clock_getcpuclockid): Remove code left unreachable by removal of
28757 conditionals.
28758 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28759 code unconditional.
28760 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28761 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28762 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28763 Make code unconditional.
28764 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28765 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28766 * sysdeps/unix/sysv/linux/clock_settime.c
28767 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28768 conditional code.
28769 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28770 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28771
d22e28b0
L
287722012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28773
28774 [BZ #14476]
28775 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28776 scripts/test-installation.pl.
28777
28778 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28779 and $ld_so_version if it is set.
28780
050af9c4
SP
287812012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28782
28783 [BZ #14516]
28784 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28785 failure if reading from procfs failed.
28786 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28787
ad845c0b
JM
287882012-08-27 Joseph Myers <joseph@codesourcery.com>
28789
28790 * sysdeps/unix/sysv/linux/kernel-features.h
28791 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28792 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28793 Remove conditional code.
28794 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28795 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28796 Remove conditional code.
28797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28798 * sysdeps/unix/sysv/linux/i386/fxstat.c
28799 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28801 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28802 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28804 * sysdeps/unix/sysv/linux/i386/lxstat.c
28805 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28807 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28808 Remove conditional code.
28809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28810 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28811 Remove conditional code.
28812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28813 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28814 <kernel-features.h>.
28815 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28816 Remove.
28817 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28818 Remove conditional code.
28819 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28820 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28821 Remove conditional.
28822
5dbf56af
MF
288232012-08-27 Mike Frysinger <vapier@gentoo.org>
28824
28825 [BZ #5400]
28826 * NEWS: Add fixed bug number.
28827
d6e70f43
JM
288282012-08-27 Joseph Myers <joseph@codesourcery.com>
28829
7efb4737
JM
28830 [BZ #14519]
28831 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28832 underflowing exponent in case of negative sign.
28833 * stdlib/tst-strtod-round-data: Add more tests.
28834 * stdlib/tst-strtod-round.c (tests): Regenerated.
28835
af92131a
JM
28836 [BZ #3479]
28837 * stdlib/strtod_l.c (NDIG): Remove.
28838 (HEXNDIG): Likewise.
28839 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28840 smallest representable value.
28841 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28842 lie within an exact representation of 1/2 ulp of the result.
28843 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28844 unconditionally.
28845 (TENS_P9_IDX): Define unconditionally.
28846 (TENS_P9_SIZE): Likewise.
28847 (TENS_P10_IDX): Likewise.
28848 (TENS_P10_SIZE): Likewise.
28849 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28850 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28851 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28852 entries for 10^2^13 and 10^2^14.
28853 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28854 (TENS_P13_IDX): Define.
28855 (TENS_P13_SIZE): Likewise.
28856 (TENS_P14_IDX): Likewise.
28857 (TENS_P14_SIZE): Likewise.
28858 (_fpioconst_pow10): Change array size to
28859 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28860 unconditional.
28861 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28862 1024]: Add entries for 10^2^13 and 10^2^14.
28863 [LAST_POW10 > _LAST_POW10]: Remove #error.
28864 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28865 (_fpioconst_pow10): Change array size to
28866 FPIOCONST_POW10_ARRAY_SIZE.
28867 * stdlib/gen-fpioconst.c: New file.
28868 * stdlib/gen-tst-strtod-round.c: Likewise.
28869 * stdlib/tst-strtod-round-data: Likewise.
28870 * stdlib/tst-strtod-round.c: Likewise.
28871 * stdlib/Makefile (tests): Add tst-strtod-round.
28872
d6e70f43
JM
28873 [BZ #14459]
28874 * stdlib/strtod_l.c: Include <stdint.h>.
28875 (NDEBUG): Do not define.
28876 (round_and_return): Change EXPONENT parameter to type intmax_t.
28877 Rearrange calculations to avoid internal overflow possibilities.
28878 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28879 Rearrange calculations to avoid internal overflow possibilities.
28880 Assert that number fits inside MPNSIZE limbs.
28881 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28882 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28883 calculations and add assertions to avoid internal overflow
28884 possibilities. Add casts to avoid signed/unsigned operations.
28885 * stdlib/tst-strtod-overflow.c: New file.
28886 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28887
1f529f7d
MP
288882012-08-25 Marek Polacek <polacek@redhat.com>
28889
28890 * time/time.h: Fix some typos in comments.
28891
59a629f1
RM
288922012-08-23 Roland McGrath <roland@hack.frob.com>
28893
28894 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28895 * posix/tst-rfc3484-2.c: Likewise.
28896 * posix/tst-rfc3484-3.c: Likewise.
28897
d3bafbc9
SM
288982012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28899
28900 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28901 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28902
4efcc022
JM
289032012-08-23 Joseph Myers <joseph@codesourcery.com>
28904
28905 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28906 #include of fxstatat64.c.
28907
3cc3ef96
RM
289082012-08-22 Roland McGrath <roland@hack.frob.com>
28909
f04e2132
RM
28910 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28911 * shadow/getspent_r.c: Likewise.
28912 * shadow/getspnam.c: Likewise.
28913 * shadow/getspnam_r.c: Likewise.
28914 * gshadow/getsgent.c: Likewise.
28915 * gshadow/getsgent_r.c: Likewise.
28916 * gshadow/getsgnam.c: Likewise.
28917 * gshadow/getsgnam_r.c: Likewise.
28918 * inet/getnetbyad.c: Likewise.
28919 * inet/getnetbyad_r.c: Likewise.
28920 * inet/getnetbynm.c: Likewise.
28921 * inet/getnetbynm_r.c: Likewise.
28922 * inet/getnetent.c: Likewise.
28923 * inet/getnetent_r.c: Likewise.
28924 * inet/getproto.c: Likewise.
28925 * inet/getproto_r.c: Likewise.
28926 * inet/getprtent.c: Likewise.
28927 * inet/getprtent_r.c: Likewise.
28928 * inet/getprtname.c: Likewise.
28929 * inet/getprtname_r.c: Likewise.
28930 * inet/getrpcbyname.c: Likewise.
28931 * inet/getrpcbyname_r.c: Likewise.
28932 * inet/getrpcbynumber.c: Likewise.
28933 * inet/getrpcbynumber_r.c: Likewise.
28934 * inet/getrpcent.c: Likewise.
28935 * inet/getrpcent_r.c: Likewise.
28936 * inet/getaliasent.c: Likewise.
28937 * inet/getaliasent_r.c: Likewise.
28938 * inet/getaliasname.c: Likewise.
28939 * inet/getaliasname_r.c: Likewise.
28940 * nscd/getgrgid_r.c: Likewise.
28941 * nscd/getgrnam_r.c: Likewise.
28942 * nscd/gethstbyad_r.c: Likewise.
28943 * nscd/gethstbynm3_r.c: Likewise.
28944 * nscd/getpwnam_r.c: Likewise.
28945 * nscd/getpwuid_r.c: Likewise.
28946 * nscd/getsrvbynm_r.c: Likewise.
28947 * nscd/getsrvbypt_r.c: Likewise.
28948 * nscd/gai.c: Likewise.
28949
c53d909c
RM
28950 * configure.in (build_nscd): New substituted variable, set
28951 by --disable-build-nscd and defaults to $use_nscd.
28952 * configure: Regenerated.
28953 * config.make.in (build-nscd): New substituted variable.
28954 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28955 Change conditional to require [$(build-nscd) = yes] as well.
28956 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28957
3cc3ef96
RM
28958 [BZ# 13696]
28959 * configure.in (use_nscd): New substituted variable, set by
28960 --disable-nscd. If enabled, define USE_NSCD.
28961 * configure: Regenerated.
28962 * config.h.in: Add USE_NSCD.
28963 * config.make.in (use-nscd): New substituted variable.
28964 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28965 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28966 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28967 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28968 (CFLAGS-getgrnam_r.c): Likewise.
28969 (CFLAGS-initgroups.c): Likewise.
28970 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28971 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28972 Variables removed.
28973 * inet/getnetgrent_r.c
28974 (nscd_setnetgrent): New function, broken out of ...
28975 (setnetgrent): ... here. Call it.
28976 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28977 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28978 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28979 * nscd/Makefile (routines, aux): Move definitions after include of
28980 Makeconfig. Conditionalize on [$(use-nscd) != no].
28981 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28982 Conditionalize on [USE_NSCD].
28983 (is_nscd, nscd_init_cb): Likewise.
28984 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28985 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28986 * nss/nss_db/db-init.c: Likewise.
28987 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28988 [USE_NSCD].
28989 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28990 (make_request): Use it.
28991 (cache_valid_p): New function.
28992 (__check_pf): Use it.
28993 * NEWS: Add item for --disable-nscd.
28994
07e51550
DL
289952012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28996
28997 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28998 to support sed >= 4.2.1-20-ga9bf076.
28999 * configure: Regenerated.
29000
35a5b08b
RM
290012012-08-22 Roland McGrath <roland@hack.frob.com>
29002
29003 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29004 Conditionalize whole body on [IREL].
29005
8479f23a
JL
290062012-08-22 Jeff Law <law@redhat.com>
29007
29008 [BZ #14505]
29009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29010 if the family is PF_UNSPEC.
29011
48da0b21
MF
290122012-08-22 Mike Frysinger <vapier@gentoo.org>
29013
29014 * Makerules (lib-version): Rename from V.
29015 (install-lib-nosubdir): Change V to lib-version.
29016
15d0da8c
WS
290172012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29018
29019 [BZ #14252]
29020 * powerpc32/power6/wcschr.c: New file.
29021 * powerpc32/power6/wcscpy.c: New file.
29022 * powerpc32/power6/wcsrchr.c: New file.
29023 * powerpc64/power6/wcschr.c: New file.
29024 * powerpc64/power6/wcscpy.c: New file.
29025 * powerpc64/power6/wcsrchr.c: New file.
29026
bcca0895
MK
290272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29028
29029 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29030 (two_way_short_needle): Use it.
5a4aaa33
RM
29031 * string/strstr.c (AVAILABLE1_USES_J): Define.
29032 * string/strcasestr.c: Likewise.
99677e57
MK
29033
29034 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29035 array references.
29036 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29037
400726de
MK
29038 [BZ #11607]
29039 * NEWS: Add an entry.
29040 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29041 define their defaults.
29042 (two_way_short_needle): Detect end-of-string on-the-fly.
29043 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29044 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29045 * string/bug-strcasestr1.c: New test.
29046 * string/Makefile: Run it.
29047
20a71f2c
MK
290482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29049
29050 [BZ #11607]
29051 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29052 the first character.
29053
21ad0558
RM
290542012-08-21 Roland McGrath <roland@hack.frob.com>
29055
29056 * csu/elf-init.c (__libc_csu_irel): Function removed.
29057 * csu/libc-start.c (apply_irel): New function.
29058 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29059
0e1d9911
JM
290602012-08-21 Joseph Myers <joseph@codesourcery.com>
29061
29062 * sysdeps/unix/sysv/linux/kernel-features.h
29063 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29064 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29065 <kernel-features.h>.
29066 [__NR_fadvise64_64]: Make code unconditional.
29067 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29068 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29069 !__NR_fadvise64_64)]: Likewise.
29070 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29071 !__NR_fadvise64_64))]: Likewise.
29072 [__NR_fadvise64]: Make code unconditional.
29073 [!__NR_fadvise64]: Remove conditional code.
29074 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29075 <kernel-features.h>.
29076 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29077 unconditional.
29078 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29079 conditional code.
29080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29081 not include <kernel-features.h>.
29082 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29083 unconditional.
29084 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29085 conditional code.
29086 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29087 include <kernel-features.h>.
29088 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29089 unconditional.
29090 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29091 conditional code.
29092
14a50c9d
WS
290932012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29094
29095 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29096 slight instruction rearrangements per scrollpipe analysis.
29097 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29098
c0f4faf0
RM
290992012-08-20 Roland McGrath <roland@hack.frob.com>
29100
696da859
RM
29101 * manual/syslog.texi (syslog; vsyslog, closelog):
29102 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29103 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29104
c0f4faf0
RM
29105 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29106 DSOCAPS to match condition on defining it.
29107
348363b2
JM
291082012-08-20 Joseph Myers <joseph@codesourcery.com>
29109
a35cbf28
JM
29110 * sysdeps/unix/sysv/linux/kernel-features.h
29111 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29113 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29114 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29116 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29117 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29119 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29120 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29121
445f7ecd
JM
29122 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29123 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29124
348363b2
JM
29125 * sysdeps/unix/sysv/linux/kernel-features.h
29126 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29127 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29128 unconditional.
29129 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29130 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29131 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29132 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29133 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29134 Make code unconditional.
29135 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29136 (__mmap64) [!__NR_mmap2]: Likewise.
29137 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29138 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29139 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29140 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29141 [__NR_mmap2]: Make code unconditional.
29142 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29143 (__mmap64) [!__NR_mmap2]: Likewise.
29144
bc5bc0e5
AK
291452012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29146
29147 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29148
88d506de
AJ
291492012-08-18 Andreas Jaeger <aj@suse.de>
29150
29151 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29152
493387d2
MF
291532012-08-18 Mike Frysinger <vapier@gentoo.org>
29154
29155 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29156 * include/unistd.h (__have_sock_cloexec): Likewise.
29157 (__have_pipe2): Likewise.
29158 (__have_dup3): Likewise.
29159
a277af22
MF
291602012-08-18 Mike Frysinger <vapier@gentoo.org>
29161
29162 [BZ #9685]
29163 * include/unistd.h (__have_pipe2): Change define into an extern int.
29164 (__have_dup3): Likewise.
29165 * socket/have_sock_cloexec.c: Include fcntl.h.
29166 (__have_pipe2): New variable.
29167 (__have_dup3): Likewise.
29168
fdab8fd3
MF
291692012-08-17 Mike Frysinger <vapier@gentoo.org>
29170
29171 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29172
31035e80
MP
291732012-08-17 Marek Polacek <polacek@redhat.com>
29174
29175 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29176 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29177
3bd9e993
RM
291782012-08-17 Roland McGrath <roland@hack.frob.com>
29179
c91c505f
RM
29180 * configure.in: Add AC_SUBST for sysheaders.
29181 * configure: Regenerated.
29182 * config.make.in (sysheaders): New substituted variable.
29183
7c6f9d53
RM
29184 * sysdeps/unix/mkfifo.c: Moved ...
29185 * sysdeps/posix/mkfifo.c: ... here.
29186 * sysdeps/unix/mkfifoat.c: Moved ...
29187 * sysdeps/posix/mkfifoat.c: ... here.
29188
29189 * sysdeps/unix/utime.c: Moved ...
29190 * sysdeps/posix/utime.c: ... here.
29191
29192 * sysdeps/unix/time.c: Moved ...
29193 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
29194 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29195 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
29196
29197 * sysdeps/unix/nice.c: Moved ...
29198 * sysdeps/posix/nice.c: ... here.
29199
29200 * sysdeps/unix/alarm.c: Moved ...
29201 * sysdeps/posix/alarm.c: ... here.
29202
3bd9e993
RM
29203 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29204
d1f09384
JL
292052012-08-17 Jeff Law <law@redhat.com>
29206
29207 * intl/Makefile (codeset_mo): New variable.
29208 ($(codeset_mo)): New target.
29209 (tst-codeset.out): Depend on that. Remove explicit rule.
29210 (tst-gettext3.out, tst-gettext5.out): Likewise.
29211 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29212 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29213 * intl/tst-codeset.sh: Remove.
29214 * intl/tst-gettext3.sh: Likewise.
29215 * intl/tst-gettext5.sh: Likewise.
29216
2ae1ae5c
RM
292172012-08-17 Roland McGrath <roland@hack.frob.com>
29218
c31fdb83
RM
29219 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29220 * sysdeps/unix/syscalls.list: ... here.
29221
a0844057
RM
29222 * sysdeps/posix/getaddrinfo.c
29223 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29224 (gaiconf_init, gaiconf_reload): Use them.
29225 [!_STATBUF_ST_NSEC]
29226 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29227 Define using time_t rather than struct timespec.
29228
750c1f2a
RM
29229 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29230 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29231 Macros removed.
29232 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29233 [!NO_THREADS].
29234 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29235 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29236 Likewise.
29237
2ae1ae5c
RM
29238 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29239 __libc_cleanup_push argument.
29240
e66a42f5
RM
29241 * bits/param.h: New file.
29242 * misc/sys/param.h: New file.
29243 * include/sys/param.h: New file.
29244 * misc/Makefile (headers): Add bits/param.h.
29245 * sysdeps/generic/sys/param.h: File removed.
29246 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29247 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29248 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 29249 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 29250
b7c08a66
RM
29251 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29252 last change.
29253
b2e1c562
RM
29254 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29255 [_IO_MTSAFE_IO].
29256 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29257 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29258 New macros.
29259
c75ccd4c
RM
29260 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29261 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29262 rather than -D_IO_MTSAFE_IO conditionally.
29263 * stdio-common/Makefile (CPPFLAGS): Likewise.
29264 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29265 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29266 Use $(libio-mtsafe).
29267 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29268 of -D_IO_MTSAFE_IO.
29269 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29270 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29271 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29272 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29273 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29274 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29275 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29276 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29277 (CFLAGS-fread_u_chk.c): Likewise.
29278 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29279 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29280 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29281 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29282 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29283 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29284 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29285 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29286 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29287
29288 * libio/Makefile: Test [$(libc-reentrant) = yes]
29289 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29290
29291 * Makeconfig
29292 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29293 * sysdeps/pthread/configure: File removed.
29294 * sysdeps/pthread/Makeconfig: New file.
29295 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29296 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29297
d9195db8
GB
292982012-08-16 Gary Benson <gbenson@redhat.com>
29299
29300 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29301 unmapping the first object in a namespace.
29302
86466cd9
RM
293032012-08-16 Roland McGrath <roland@hack.frob.com>
29304
29305 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29306 (__internal_setnetgrent): ... this. Add internal_function to
29307 definition. Add libc_hidden_def.
29308 (setnetgrent): Update caller.
29309 (internal_endnetgrent): Renamed to ...
29310 (__internal_endnetgrent): ... this. Add internal_function to
29311 definition. Add libc_hidden_def.
29312 (endnetgrent): Update caller.
29313 (internal_getnetgrent_r): Renamed to ...
29314 (__internal_getnetgrent_r): ... this. Add internal_function to
29315 definition. Add libc_hidden_def.
29316 (__getnetgrent_r): Update caller.
29317 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29318
c3c8283c
JM
293192012-08-16 Joseph Myers <joseph@codesourcery.com>
29320
29321 * stdlib/longlong.h: Update from GCC.
29322
db1ee0a8
RM
293232012-08-16 Roland McGrath <roland@hack.frob.com>
29324
29325 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29326 on _QL, which is set by umul_ppmm but never used.
29327 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29328 variables, which are set by GMP macros but never used.
29329 * stdio-common/_itowa.c (_itowa): Likewise.
29330 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29331 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29332
30f69637
CD
293332012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29334
29335 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29336 struct La_sh_regs is not constant.
29337 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29338 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29339 and struct La_sparc64_regs are not constant.
29340
93a78ac4
JM
293412012-08-16 Joseph Myers <joseph@codesourcery.com>
29342
29343 * sysdeps/unix/sysv/linux/kernel-features.h
29344 (__ASSUME_POSIX_TIMERS): Remove.
29345 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29346 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29347 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29348 Make code unconditional.
29349 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29350 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29351 Make code unconditional.
29352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29353 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29354 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29356 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29357 Make code unconditional.
29358 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29359 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29360 (__libc_missing_posix_timers): Remove.
29361
dd924cd7
RM
293622012-08-15 Roland McGrath <roland@hack.frob.com>
29363
4b4f2771
RM
29364 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29365 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29366
601c888b
RM
29367 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29368
176790a7
RM
29369 * elf/dl-sym.c: Include <stdlib.h>.
29370
329bc018
RM
29371 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29372 constants, which avoids warnings in 32-bit builds.
29373
e04e272d
RM
29374 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29375 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29376
952bf94a
RM
29377 * misc/lseek.c: File moved to ...
29378 * io/lseek.c: ... here.
29379
7c99b50a
RM
29380 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29381
dd924cd7
RM
29382 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29383 shifting LEN more than 31 bits at once.
29384
b3f479a8
LD
293852012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29386
29387 [BZ #14195]
8c4ae0d4
RM
29388 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29389 segmentation fault for a case of two empty input strings.
b3f479a8
LD
29390 * string/test-strncasecmp.c (check1): Renamed to...
29391 (bz12205): ...this.
29392 (bz14195): Add new testcase for two empty input strings and N > 0.
29393 (test_main): Call new testcase, adapt for renamed function.
29394
9c55864e
AJ
293952012-08-15 Andreas Jaeger <aj@suse.de>
29396
29397 [BZ #14090]
29398 * crypt/md5test2.c: New test, based on test supplied by Serge
29399 Belyshev <belyshev@depni.sinp.msu.ru>.
29400 * crypt/Makefile (xtests): Add md5test-giant..
29401 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29402
02dcb6c5
PE
294032012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29404
29405 [BZ #14090]
29406 * crypt/md5.c (md5_process_block): Don't assume the buffer
29407 length is less than 2**32.
29408 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29409 length is less than 2**64.
29410
a3f95dcc
RM
294112012-08-15 Roland McGrath <roland@hack.frob.com>
29412
be75d758
RM
29413 * string/str-two-way.h: Include <sys/param.h>.
29414 (MAX): Macro removed.
29415
7312ca90
RM
29416 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29417 Move #define and #undef of memmove to just before and after
29418 including <string.h>.
29419
9a0a5486
RM
29420 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29421 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29422 and after including <string.h>. Move declarations of
29423 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29424 to before #include "string/memmove.c".
29425
67cc348d
RM
29426 * include/dirent.h: Declare __getdirentries.
29427
a3f95dcc
RM
29428 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29429 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29430
ca98e171
MF
294312012-08-14 Mike Frysinger <vapier@gentoo.org>
29432
29433 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29434 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29435 * sysdeps/i386/configure: Regenerated.
29436 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29437 STABS_CURRENT_FILE, and STABS_FUN.
29438 (END): Remove call to STABS_FUN_END.
29439 (STABS_CURRENT_FILE1): Delete.
29440 (STABS_CURRENT_FILE): Likewise.
29441 (STABS_FUN): Likewise.
29442 (STABS_FUN_END): Likewise.
29443 (STABS_FUN2): Likewise.
29444 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29445 * sysdeps/x86_64/configure: Regenerated.
29446
5908bf46
RM
294472012-08-14 Roland McGrath <roland@hack.frob.com>
29448
29449 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 29450 * elf/dl-lookup.c: Likewise.
5908bf46 29451
f2c05b9e
JM
294522012-08-14 Joseph Myers <joseph@codesourcery.com>
29453
29454 * sysdeps/unix/sysv/linux/kernel-features.h
29455 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29456 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29457 unconditionally.
29458 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29459 unconditionally.
29460 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29461 condition on __ASSUME_CLONE_THREAD_FLAGS.
29462
e11f5155
AJ
294632012-08-14 Andreas Jaeger <aj@suse.de>
29464
29465 * sysdeps/i386/fpu/libm-test-ulps: Update.
29466
51a9ba86
MK
294672012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29468
2fdd4f78
AJ
29469 * include/atomic.h (atomic_exchange_and_add): Split into ...
29470 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29471 New atomic macros.
51a9ba86 29472
ba6cba9e
MT
294732012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29474
29475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29476
42443a47
JL
294772012-08-13 Jeff Law <law@redhat.com>
29478
29479 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29480 null byte in the output string.
29481
121dce05
JM
294822012-08-10 Joseph Myers <joseph@codesourcery.com>
29483
29484 * sysdeps/unix/sysv/linux/kernel-features.h
29485 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29486 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29487 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29488 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29489 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29490 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29491 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29492
bf51f568
JL
294932012-08-09 Jeff Law <law@redhat.com>
29494
29495 [BZ #13939]
29496 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29497 When avoid_arena is set, don't retry in the that arena. Pick the
29498 next one, whatever it might be.
29499 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29500 (arena_lock): Pass in new parameter to arena_get2.
29501 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29502 arena_get2.
29503 (__libc_malloc): Unify retrying after main arena failure with
29504 __libc_memalign version.
29505 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29506
f85fa270
L
295072012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29508
29509 [BZ #14166]
29510 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29511 to __redirect_strstr.
29512 (__strstr_sse42): Use typeof __redirect_strstr.
29513 (__strstr_ia32): Likewise.
29514 (__libc_strstr): New prototype.
29515 (strstr): Renamed to ...
29516 (__libc_strstr): This.
29517 (strstr): New strong alias of __libc_strstr.
29518 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29519 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29520 __redirect_time.
29521 Include <time.h>.
29522 (__libc_time): New prototype.
29523 (time_ifunc): Replace time with __libc_time.
29524 (time): New strong alias and hidden definition of __libc_time.
29525 (__GI_time): Remove strong alias.
29526 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29527 Include <stddef.h>.
29528 (memmove): Redefined to __redirect_memmove.
29529 (__memmove_sse2): Use typeof __redirect_memmove.
29530 (__memmove_ssse3): Likewise.
29531 (__memmove_ssse3_back): Likewise.
29532 (__libc_memmove): New prototype.
29533 (memmove): Renamed to ...
29534 (__libc_memmove): This.
29535 (memmove): New strong alias of __libc_memmove.
29536
33b4a91e
MS
295372012-08-08 Mark Salter <msalter@redhat.com>
29538
29539 * elf/elf.h
29540 (R_MN10300_TLS_GD): Define.
29541 (R_MN10300_TLS_LD): Likewise.
29542 (R_MN10300_TLS_LDO): Likewise.
29543 (R_MN10300_TLS_GOTIE): Likewise.
29544 (R_MN10300_TLS_IE): Likewise.
29545 (R_MN10300_TLS_LE): Likewise.
29546 (R_MN10300_TLS_DTPMOD): Likewise.
29547 (R_MN10300_TLS_DTPOFF): Likewise.
29548 (R_MN10300_TLS_TPOFF): Likewise.
29549 (R_MN10300_SYM_DIFF): Likewise.
29550 (R_MN10300_ALIGN): Likewise.
29551 (R_MN10300_NUM): Update.
29552
b36137f1
JM
295532012-08-08 Joseph Myers <joseph@codesourcery.com>
29554
29555 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29556 Remove.
29557
cdd915fd
RM
295582012-08-08 Roland McGrath <roland@hack.frob.com>
29559
a2433aac
RM
29560 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29561
cdd915fd
RM
29562 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29563 sysdeps/unix -> sysdeps/posix move.
29564 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29565
bf9b740a
AM
295662012-08-07 Allan McRae <allan@archlinux.org>
29567
29568 [BZ #14303]
29569 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29570 (SUNOS_CPP): Likewise.
29571 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29572 not found.
29573 (open_input): Call CPP using execvp.
29574
93df14ee
JM
295752012-08-07 Joseph Myers <joseph@codesourcery.com>
29576
29577 * sysdeps/unix/sysv/linux/kernel-features.h
29578 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29579 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29580 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29581 (__ASSUME_WAITID_SYSCALL): Likewise.
29582 * sysdeps/unix/sysv/linux/dl-execstack.c
29583 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29584 code unconditional.
29585 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29586 conditional code.
29587 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29588 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29589 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29590 code.
29591 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29592 unconditional.
29593 [__ASSUME_WAITID_SYSCALL]: Likewise.
29594 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29595
d34689de
RM
295962012-08-07 Roland McGrath <roland@hack.frob.com>
29597
a281decc
RM
29598 * sysdeps/unix/closedir.c: Renamed to ...
29599 * sysdeps/posix/closedir.c: ... here.
29600 * sysdeps/unix/dirfd.c: Renamed to ...
29601 * sysdeps/posix/dirfd.c: ... here.
29602 * sysdeps/unix/dirstream.h: Renamed to ...
29603 * sysdeps/posix/dirstream.h: ... here.
29604 * sysdeps/unix/fdopendir.c: Renamed to ...
29605 * sysdeps/posix/fdopendir.c: ... here.
29606 * sysdeps/unix/opendir.c: Renamed to ...
29607 * sysdeps/posix/opendir.c: ... here.
29608 * sysdeps/unix/readdir.c: Renamed to ...
29609 * sysdeps/posix/readdir.c: ... here.
29610 * sysdeps/unix/readdir_r.c: Renamed to ...
29611 * sysdeps/posix/readdir_r.c: ... here.
29612 * sysdeps/unix/rewinddir.c: Renamed to ...
29613 * sysdeps/posix/rewinddir.c: ... here.
29614 * sysdeps/unix/seekdir.c: Renamed to ...
29615 * sysdeps/posix/seekdir.c: ... here.
29616 * sysdeps/unix/telldir.c: Renamed to ...
29617 * sysdeps/posix/telldir.c: ... here.
29618 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29619 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29620 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29621 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29622
22895b47
RM
29623 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29624 * bits/fcntl.h: ... here.
29625
707a53b6
RM
29626 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29627 not 0.
29628 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29629 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29630 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29631 (struct flock): Move l_start, l_len to the beginning.
29632 Use __pid_t for l_pid.
29633 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29634 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29635 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29636 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29637 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29638 [__USE_LARGEFILE64] (struct flock64): New type.
29639 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29640
f0bd3e25
RM
29641 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29642 * bits/dirent.h: ... here.
29643
d34689de
RM
29644 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29645 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29646
6dad2c06
JM
296472012-08-07 Joseph Myers <joseph@codesourcery.com>
29648
29649 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29650 Change from 2.6.0 to 2.6.16.
29651 * sysdeps/unix/sysv/linux/configure: Regenerated.
29652 * sysdeps/unix/sysv/linux/kernel-features.h
29653 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29654 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29655 version.
29656 (__ASSUME_UTIMES): Likewise.
29657 (__ASSUME_CLONE_STOPPED): Remove.
29658 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29659 architectures, not kernel version.
29660 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29661 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29662 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29663 (__ASSUME_WAITID_SYSCALL): Likewise.
29664 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29665 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29666 * README: State 2.6.16 as minimum Linux kernel version. Do not
29667 refer to older versions.
29668
03af9520
RM
296692012-08-06 Roland McGrath <roland@hack.frob.com>
29670
8e49df1d
RM
29671 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29672 Define alphasort64 as an alias.
29673 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29674 Define versionsort64 as an alias.
29675 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29676 Define scandir64 as an alias.
29677 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29678 Define scandirat64 as an alias.
29679 * dirent/alphasort64.c (alphasort64):
29680 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29681 * dirent/versionsort64.c: Likewise.
29682 * dirent/scandir64.c: Likewise.
29683 * dirent/scandirat64.c: Likewise.
29684 * sysdeps/wordsize-64/alphasort.c: File removed.
29685 * sysdeps/wordsize-64/alphasort64.c: File removed.
29686 * sysdeps/wordsize-64/scandir.c: File removed.
29687 * sysdeps/wordsize-64/scandir64.c: File removed.
29688 * sysdeps/wordsize-64/scandirat.c: File removed.
29689 * sysdeps/wordsize-64/scandirat64.c: File removed.
29690 * sysdeps/wordsize-64/versionsort.c: File removed.
29691 * sysdeps/wordsize-64/versionsort64.c: File removed.
29692 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29693 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29694 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29695 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29696 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29697 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29698 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29699 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29700
29701 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29703 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29705 [defined __arch64__ || defined __sparcv9]
29706 (__INO_T_MATCHES_INO64_T): New macro.
29707 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29708 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29709 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29710 * sysdeps/unix/sysv/linux/bits/dirent.h
29711 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29712 (_DIRENT_MATCHES_DIRENT64): New macro.
29713
03af9520
RM
29714 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29715 Define lockf64 as an alias.
29716 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29717 Define fseeko64 as an alias.
29718 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29719 Define ftello64 as an alias.
29720 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29721 Define _IO_fgetpos64 and fgetpos64 as aliases.
29722 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29723 Define _IO_fsetpos64 and fsetpos64 as aliases.
29724 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29725 Conditionalize body on this.
29726 * libio/fseeko64.c: Likewise.
29727 * libio/ftello64.c: Likewise.
29728 * libio/iofgetpos64.c: Likewise.
29729 * libio/iofsetpos64.c: Likewise.
29730 * sysdeps/wordsize-64/lockf.c: File removed.
29731 * sysdeps/wordsize-64/lockf64.c: File removed.
29732 * sysdeps/wordsize-64/fseeko.c: File removed.
29733 * sysdeps/wordsize-64/fseeko64.c: File removed.
29734 * sysdeps/wordsize-64/ftello.c: File removed.
29735 * sysdeps/wordsize-64/ftello64.c: File removed.
29736 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29737 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29738 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29739 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29740 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29741 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29742 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29743 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29744 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29745 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29746 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29747 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29748 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29749 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29750
29751 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29752 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29753 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29754 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29755 [defined __arch64__ || defined __sparcv9]
29756 (__OFF_T_MATCHES_OFF64_T): New macro.
29757 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29758 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29759 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29760 (__OFF_T_MATCHES_OFF64_T): New macro.
29761
c5757acd
L
297622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29763
29764 * stdlib/secure-getenv.c (__secure_getenv): Replace
29765 GLIBC_2_16 with GLIBC_2_17.
29766
3a31811e
L
297672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29768
29769 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29770 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29771
faa2bccb
DM
297722012-08-03 David S. Miller <davem@davemloft.net>
29773
29774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29775
85fe1997
JM
297762012-08-03 Joseph Myers <joseph@codesourcery.com>
29777
29778 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29779 Remove.
29780 (__ASSUME_CORRECT_SI_PID): Likewise.
29781 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29782 (__ASSUME_TMPFS_NAME): Likewise.
29783 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29784 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29785 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29786 (HAVE_AUX_SECURE): Make definition unconditional.
29787 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29788 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29789
4f75b7a0
RM
297902012-08-03 Roland McGrath <roland@hack.frob.com>
29791
29792 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29793 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29794 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29795 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29796 __eloop_threshold instead of SYMLOOP_MAX.
29797
29798 * sysdeps/generic/eloop-threshold.h: New file.
29799 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29800 of MAXSYMLINKS.
29801 * elf/chroot_canon.c (chroot_canon): Likewise.
29802
7aab07e4
JM
298032012-08-03 Joseph Myers <joseph@codesourcery.com>
29804
29805 [BZ #13717]
29806 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29807 Change to 2.6.0 everywhere.
29808 * sysdeps/unix/sysv/linux/configure: Regenerated.
29809 * sysdeps/unix/sysv/linux/kernel-features.h
29810 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29811 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29812 kernel versions.
29813 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29814 (__ASSUME_FUTEX_REQUEUE): Remove.
29815 (__ASSUME_STATFS64): Define unconditionally.
29816 (__ASSUME_AT_SECURE): Likewise.
29817 (__ASSUME_CORRECT_SI_PID): Likewise.
29818 (__ASSUME_TGKILL): Define without depending on kernel version for
29819 i386.
29820 (__ASSUME_UTIMES): Likewise.
29821 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29822 kernel version.
29823 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29824 (__ASSUME_TMPFS_NAME): Likewise.
29825 * README: Update reference to Linux kernel versions.
29826
b67e9372
MP
298272012-08-02 Marek Polacek <polacek@redhat.com>
29828
1f529f7d 29829 [BZ# 14150]
b67e9372
MP
29830 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29831 libc_cv_asm_type_prefix with %.
29832 * configure: Regenerated.
d2441631
RM
29833 * include/libc-symbols.h: Remove comment about
29834 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
29835 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29836 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29837 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29838 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29839 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29840 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29841 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29842 * elf/tst-unique2mod1.c: Likewise.
29843 * elf/tst-unique1mod2.c: Likewise.
29844 * elf/tst-unique1mod1.c: Likewise.
29845 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29846 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29847 Replace ASM_TYPE_DIRECTIVE with .type.
29848 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29849 * sysdeps/i386/sysdep.h: Likewise.
29850 * sysdeps/x86_64/sysdep.h: Likewise.
29851 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
29852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29853 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 29854 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
29855 * sysdeps/powerpc/powerpc32/sysdep.h:
29856 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
29857 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29858 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29859 * sysdeps/i386/fpu/e_powf.S: Likewise.
29860 * sysdeps/i386/fpu/e_expl.S: Likewise.
29861 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29862 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29863 * sysdeps/i386/fpu/e_pow.S: Likewise.
29864 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29865 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29866 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29867 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29868 * sysdeps/i386/fpu/e_log2.S: Likewise.
29869 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29870 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29871 * sysdeps/i386/fpu/e_powl.S: Likewise.
29872 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29873 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29874 * sysdeps/i386/fpu/e_logl.S: Likewise.
29875 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29876 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29877 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29878 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29879 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29880 * sysdeps/i386/fpu/e_log.S: Likewise.
29881 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29882 * sysdeps/i386/fpu/e_logf.S: Likewise.
29883 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29884 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29885 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29886 * sysdeps/i386/fpu/e_log10.S: Likewise.
29887 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29888 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29889 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29890 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29891 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29892 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29893 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29894 * sysdeps/i386/i686/strtok.S: Likewise.
29895 * sysdeps/i386/i386-mcount.S: Likewise.
29896 * sysdeps/i386/strtok.S: Likewise.
29897 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29898 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29899 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29900 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29901 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29902 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29903 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29904 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29905 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29906 * sysdeps/x86_64/_mcount.S: Likewise.
29907 * sysdeps/x86_64/strtok.S: Likewise.
29908 * sysdeps/sh/_mcount.S: Likewise.
29909
2747bf9a
RM
299102012-08-01 Roland McGrath <roland@hack.frob.com>
29911
29912 * libio/iofopen.c: Include <fcntl.h>.
29913 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29914 (_IO_fopen64, fopen64): Define as aliases.
29915 * libio/iofopen64.c: Include <fcntl.h>.
29916 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29917 Conditionalize body on this.
29918 * sysdeps/wordsize-64/iofopen.c: File removed.
29919 * sysdeps/wordsize-64/iofopen64.c: File removed.
29920
3fb791b8
MP
299212012-08-01 Marek Polacek <polacek@redhat.com>
29922
29923 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29924 Use dlfcn directly instead of a variable.
29925 (binfmt-subdir): Do not define.
29926 (dlfcn): Likewise.
29927
a9f1039f
JM
299282012-08-01 Joseph Myers <joseph@codesourcery.com>
29929
23bddc06
JM
29930 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29931 Remove all definitions.
29932 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29933 <kernel-features.h>.
29934 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29935 (miss_F_GETOWN_EX): Remove all definitions.
29936 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29937 macro definition.
29938 [!__ASSUME_FCNTL64]: Remove conditional code.
29939 [__ASSUME_FCNTL64]: Make code unconditional.
29940 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29941 <kernel-features.h>.
29942 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29943 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29944 (lockf64) [__NR_fcntl64]: Make code unconditional.
29945 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29946
a9f1039f
JM
29947 * sysdeps/unix/sysv/linux/kernel-features.h
29948 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29949 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29950 Make code unconditional.
29951 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29952 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29954 [__NR_vfork]: Make code unconditional.
29955 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29956 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29958 [__NR_vfork]: Make code unconditional.
29959 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29960 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29961
09c0ee5f
RM
299622012-08-01 Roland McGrath <roland@hack.frob.com>
29963
48aec5b9
RM
29964 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29965 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29966
cd97c966
RM
29967 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29968 Define mkstemp64 as an alias.
3f55550c
RM
29969 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29970 Define mkstemps64 as an alias.
cd97c966
RM
29971 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29972 Define mkostemp64 as an alias.
b8625cfc
RM
29973 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29974 Define mkostemps64 as an alias.
cd97c966
RM
29975 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29976 Conditionalize body on this.
29977 * misc/mkostemp64.c: Likewise.
b8625cfc 29978 * misc/mkostemps64.c: Likewise.
3f55550c 29979 * misc/mkstemps64.c: Likewise.
cd97c966
RM
29980 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29981 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29982 * sysdeps/wordsize-64/mkostemp.c: File removed.
29983 * sysdeps/wordsize-64/mkstemp.c: File removed.
29984 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29985 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29986 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29987 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29988
09c0ee5f
RM
29989 [BZ #14138]
29990 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29991 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29992 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29993 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29994
29995 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29996 compat_symbol macros from <shlib-compat.h> rather than the underlying
29997 default_symbol_version and symbol_version macros, so that DEFAULT
29998 lines in shlib-versions are respected.
29999 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30000
7e66ee51
FW
300012012-08-01 Florian Weimer <fweimer@redhat.com>
30002
30003 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30004 Declare with warn_unused_result.
30005 (setgid, setregid, setegid, setresgid): Likewise.
30006 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30007 Likewise.
30008 * WUR-REPORT: Remove set*id functions.
30009
d2a54255
PT
300102012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30011
30012 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30013
7ecdb005
RM
300142012-07-31 Roland McGrath <roland@hack.frob.com>
30015
b4180a5e 30016 [BZ #10191]
789bd351
RM
30017 * include/sys/socket.h (__libc_accept, __libc_accept4):
30018 Add attribute_hidden.
30019 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30020
40ce302d
RM
30021 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30022 use of PTR_MANGLE.
30023 * inet/getnetgrent_r.c (setup): Likewise.
30024
7ecdb005
RM
30025 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30026
e2eabb2c
DM
300272012-07-31 David S. Miller <davem@davemloft.net>
30028
30029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30030
d0419dbf
JM
300312012-07-31 Joseph Myers <joseph@codesourcery.com>
30032
30033 [BZ #13629]
30034 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30035 value between 1.0 and 2.0 and smaller part has absolute value less
30036 than 1.0.
30037 * math/s_clog10.c (__clog10): Likewise.
30038 * math/s_clog10f.c (__clog10f): Likewise.
30039 * math/s_clog10l.c (__clog10l): Likewise.
30040 * math/s_clogf.c (__clogf): Likewise.
30041 * math/s_clogl.c (__clogl): Likewise.
30042 * math/libm-test.inc (clog_test): Add more tests.
30043 (clog10_test): Likewise.
30044 * sysdeps/i386/fpu/libm-test-ulps: Update.
30045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30046
2bc13872
FW
300472012-07-31 Florian Weimer <fweimer@redhat.com>
30048
30049 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30050 Exit with zero in case no suitable GID is found, and write a
30051 message to standard error.
30052
bea9b193
RM
300532012-07-30 Roland McGrath <roland@hack.frob.com>
30054
30055 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30056 rather than to 1.
30057 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30058 (MAXPATHLEN): Removed.
30059 (NOGROUP, NODEV): New macros.
30060 (setbit, clrbit, isset, isclr): New macros.
30061 (howmany, roundup, powerof2): New macros.
30062 (DEV_BSIZE): New macro.
30063
30064 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30065 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30066
30067 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30068 definition on [!__NO_LONG_DOUBLE_MATH].
30069
30070 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30071 PTR_MANGLE and PTR_DEMANGLE.
30072
30073 * socket/accept4.c (accept4): Rename to __libc_accept4.
30074 Define accept4 as a weak alias.
30075
30076 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30077 on [_DIRENT_HAVE_D_TYPE].
30078 * io/ftw.c (ftw_dir): Likewise.
30079
30080 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30081
30082 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30083
30084 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30085 Use the BSD numbers rather than the arbitrary ones we had.
30086 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30087 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30088 (SIGXCPU, SIGXFSZ): New macros.
30089 (_NSIG): Now 32.
30090
30091 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30092 initializer on [_LIBC_REENTRANT].
30093
30094 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30095 definitions inside [_POSIX_MAPPED_FILES].
30096
30097 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30098
30099 * dirent/opendir.c: Include <fcntl.h>.
30100
30101 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30102 (__libc_getspecific): Likewise.
30103 (__libc_key_create): Likewise.
30104
30105 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30106 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30107 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30108 (tmpfile64): Define as alias.
30109 * sysdeps/wordsize-64/tmpfile.c: File removed.
30110 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30111 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30112 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30113
30114 * stdio-common/vfscanf.c: Include <stdbool.h>.
30115 * nss/makedb.c: Likewise.
30116 * stdio-common/_i18n_number.h: Likewise.
30117 * argp/argp-help.c: Likewise.
30118 * posix/wordexp.c: Likewise.
30119 * sysdeps/posix/spawni.c: Likewise.
30120 * nss/nss_files/files-initgroups.c: Likewise.
30121 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30122 * nss/nss_files/files-initgroups.c: Likewise.
30123 * nss/nss_db/db-netgrp.c: Likewise.
30124 * nss/nss_db/db-initgroups.c: Likewise.
30125 * io/fchmodat.c: Include <sys/stat.h>.
30126
30127 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30128 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30129
30130 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30131 [HAVE_MMAP].
30132
30133 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30134 Add multiple inclusion protection.
30135
e5abc686
DM
301362012-07-27 David S. Miller <davem@davemloft.net>
30137
30138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30139
815e6fa3
GB
301402012-07-27 Gary Benson <gbenson@redhat.com>
30141
30142 [BZ #14298]
30143 * elf/rtld.c: Include <stap-probe.h>.
30144 (dl_main): Added static probes "init_start" and "init_complete".
30145 * elf/dl-load.c: Include <stap-probe.h>.
30146 (lose): Take new parameter "nsid".
30147 Added static probe "map_failed".
30148 (_dl_map_object_from_fd): Pass namespace id to lose.
30149 Added static probe "map_start".
30150 (open_verify): Pass namespace id to lose.
30151 * elf/dl-open.c: Include <stap-probe.h>.
30152 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30153 and "reloc_complete".
30154 * elf/dl-close.c: Include <stap-probe.h>.
30155 (_dl_close_worker): Added static probes "unmap_start" and
30156 "unmap_complete".
30157 * elf/rtld-debugger-interface.txt: New file documenting the above.
30158
9f98c16c
RM
301592012-07-26 Roland McGrath <roland@hack.frob.com>
30160
30161 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30162 rather than a string variable.
30163 * sunrpc/rpc_main.c (h_output): Likewise.
30164 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30165
f3c22df3
PT
301662012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30167
30168 * inet/check_native.c: New file.
30169
3129cfc6
JM
301702012-07-26 Joseph Myers <joseph@codesourcery.com>
30171
da865e95
JM
30172 [BZ #13629]
30173 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30174 if larger part has absolute value 1.0.
30175 * math/s_clog10.c (__clog10): Likewise.
30176 * math/s_clog10f.c (__clog10f): Likewise.
30177 * math/s_clog10l.c (__clog10l): Likewise.
30178 * math/s_clogf.c (__clogf): Likewise.
30179 * math/s_clogl.c (__clogl): Likewise.
30180 * math/libm-test.inc (clog_test): Add more tests.
30181 (clog10_test): Likewise.
30182 * sysdeps/i386/fpu/libm-test-ulps: Update.
30183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30184
3129cfc6
JM
30185 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30186 (pltexit): Likewise.
30187 (La_regs): Likewise.
30188 (La_retval): Likewise.
30189 (int_retval): Likewise.
30190 Update #error for removed macros to refer only to definitions in
30191 tst-audit.h.
30192 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30193 macro.
30194 (pltexit): Likewise.
30195 (La_regs): Likewise.
30196 (La_retval): Likewise.
30197 (int_retval): Likewise.
30198 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30199 macro.
30200 (pltexit): Likewise.
30201 (La_regs): Likewise.
30202 (La_retval): Likewise.
30203 (int_retval): Likewise.
30204 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30205 macro.
30206 (pltexit): Likewise.
30207 (La_regs): Likewise.
30208 (La_retval): Likewise.
30209 (int_retval): Likewise.
30210 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30211 macro.
30212 (pltexit): Likewise.
30213 (La_regs): Likewise.
30214 (La_retval): Likewise.
30215 (int_retval): Likewise.
30216 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30217 macro.
30218 (pltexit): Likewise.
30219 (La_regs): Likewise.
30220 (La_retval): Likewise.
30221 (int_retval): Likewise.
30222 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30223 macro.
30224 (pltexit): Likewise.
30225 (La_regs): Likewise.
30226 (La_retval): Likewise.
30227 (int_retval): Likewise.
30228 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30229 macro definitions in tst-audit.h.
30230 * sysdeps/i386/tst-audit.h: New file.
30231 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30232 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30233 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30234 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30235 * sysdeps/sh/tst-audit.h: Likewise.
30236 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30237 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30238 * sysdeps/x86_64/tst-audit.h: Likewise.
30239
bfc07087
AJ
302402012-07-26 Andreas Jaeger <aj@suse.de>
30241
b1b2aaf8
AJ
30242 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30243 ptrace.
30244
30245 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30246 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30247 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30248 PTRACE_O_MASK.
30249 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30250 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30251 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30252
bfc07087
AJ
30253 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30254 value.
30255
30256 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30257 _sigsys.
30258 (si_call_addr, si_syscall, si_arch): Define new macro.
30259 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30260 _sigsys.
30261 (si_call_addr, si_syscall, si_arch): Define new marcro.
30262 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30263 _sigsys.
30264 (si_call_addr, si_syscall, si_arch): Define new macro.
30265 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30266 _sigsys.
30267 (si_call_addr, si_syscall, si_arch): Define new macro.
30268
89b4b02f
JM
302692012-07-25 Joseph Myers <joseph@codesourcery.com>
30270
30271 [BZ #13717]
30272 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30273 Change to 2.4.21 where previously 2.4.1.
30274 * sysdeps/unix/sysv/linux/configure: Regenerated.
30275 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30276 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30277 Linux kernel version.
30278 (__ASSUME_STD_AUXV): Remove.
30279 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30280 kernel version.
30281 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30282 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30283 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30284 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30285 (__ASSUME_NETLINK_SUPPORT): Likewise.
30286 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30287 (__no_netlink_support): Remove conditional definition.
30288 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30289 Remove.
30290 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30291 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30292 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30293 (if_nameindex_ioctl): Remove.
30294 (if_nameindex_netlink): Do not handle __no_netlink_support.
30295 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30296 code.
30297 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30298 Remove conditional code.
30299 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30300 code.
30301 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30302 unconditional.
30303 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30304 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30305 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30306 Remove.
30307 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30308 [!__ASSUME_STD_AUXV]: Remove conditional code.
30309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30310 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30311 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30313 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30314 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30315 code.
30316 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30318 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30319 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30320 conditional code.
30321 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30323 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30324 code.
30325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30326 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30327 conditional code.
30328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30329 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30330 code unconditional.
30331 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30332 conditional code.
30333 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30334 unconditional.
30335 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30336 conditional code.
30337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30338 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30339 unconditional.
30340 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30341 conditional code.
30342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30343 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30344 code unconditional.
30345 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30346 conditional code.
30347 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30348 unconditional.
30349 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30350 conditional code.
30351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30352 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30353 code unconditional.
30354 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30355 conditional code.
30356 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30357 unconditional.
30358 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30359 conditional code.
30360
842a39cd
AS
303612012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30362
30363 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30364 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30365 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30366 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30367 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30368 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30369 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30370 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30371 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30372 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30373 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30374 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30375 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30376 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30377 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30378 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30379 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30380 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30381 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30383 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30384 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30385 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30386
84b3fd84
FW
303872012-07-25 Florian Weimer <fweimer@redhat.com>
30388
30389 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
30390 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30391 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30392 Introduce __libc_secure_getenv.
0c7936d5
FW
30393 * stdlib/Versions (2.17): Add secure_getenv
30394 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30395 * stdlib/secure-getenv.c: Rename __secure_getenv to
30396 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30397 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
30398 * stdlib/tst-secure-getenv.c: New.
30399 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
30400 * manual/startup.texi (Environment Access): Document
30401 secure_getenv.
84b3fd84
FW
30402 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30403 __libc_secure_getenv.
30404 * inet/ruserpass.c (ruserpass): Likewise.
30405 * malloc/mtrace.c (mtrace): Likewise.
30406 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 30407 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
30408 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30409 * sysdeps/posix/tempname.c: Likewise. Evaluate
30410 HAVE_SECURE_GETENV.
30411 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 30412 __secure_getenv to __libc_secure_getenv.
84b3fd84 30413 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
30414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30415 Likewise.
30416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30417 Likewise.
30418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 30425
56e49b71
JM
304262012-07-25 Joseph Myers <joseph@codesourcery.com>
30427
30428 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30429 (struct La_i86_retval): Likewise.
30430 (struct La_x86_64_regs): Likewise.
30431 (struct La_x86_64_retval): Likewise.
30432 (struct La_x32_regs): Likewise.
30433 (struct La_x32_retval): Likewise.
30434 (struct La_ppc32_regs): Likewise.
30435 (struct La_ppc32_retval): Likewise.
30436 (struct La_ppc64_regs): Likewise.
30437 (struct La_ppc64_retval): Likewise.
30438 (struct La_sh_regs): Likewise.
30439 (struct La_sh_retval): Likewise.
30440 (struct La_s390_32_regs): Likewise.
30441 (struct La_s390_32_retval): Likewise.
30442 (struct La_s390_64_regs): Likewise.
30443 (struct La_s390_64_retval): Likewise.
30444 (struct La_sparc32_regs): Likewise.
30445 (struct La_sparc32_retval): Likewise.
30446 (struct La_sparc64_regs): Likewise.
30447 (struct La_sparc64_retval): Likewise.
30448 (struct audit_ifaces): Remove architecture-specific pltenter and
30449 pltexit members.
30450 * sysdeps/i386/ldsodefs.h: New file.
30451 * sysdeps/powerpc/ldsodefs.h: Likewise.
30452 * sysdeps/s390/ldsodefs.h: Likewise.
30453 * sysdeps/sh/ldsodefs.h: Likewise.
30454 * sysdeps/sparc/ldsodefs.h: Likewise.
30455 * sysdeps/x86_64/ldsodefs.h: Likewise.
30456
354691b7
MP
304572012-07-25 Marek Polacek <polacek@redhat.com>
30458
30459 [BZ #6808]
30460 * math/libm-test.inc (yn_test): Add another test.
30461 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30462 to ERANGE when the result is +-Inf.
30463 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30464 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30465 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30466 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30467
bf9e2071
JM
304682012-07-24 Joseph Myers <joseph@codesourcery.com>
30469
30470 * conform/data/time.h-data (NULL): Use macro-constant. Require
30471 equal to 0.
30472 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30473 clock_t.
30474 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30475
57633811
TS
304762012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30477
30478 * configure.in <sysdeps resolving>: Correct printing
30479 Implies_before.
30480 * configure: Regenerate.
30481
c23c33b0
TS
304822012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30483
30484 * math/w_ilogb.c: Include <limits.h>.
30485 * math/w_ilogbl.c: Likewise.
30486
b5982523
JM
304872012-07-20 Joseph Myers <joseph@codesourcery.com>
30488
30489 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30490 va_copy. Document allowing for unavailable va_copy only as
30491 pre-C99 compatibility.
30492 * manual/string.texi (Copying and Concatenation): Use va_copy
30493 instead of __va_copy in concat example.
30494
ac4ea442
PT
304952012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30496
30497 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30498 (__sendto): Use create_address_port. Initialize APORT and deallocate
30499 it if not null.
30500
f98eafbd
PT
30501 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30502 with O_NOLINK passed to __file_name_lookup.
30503
898c7aab
PT
30504 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30505 with O_NOLINK passed to __file_name_lookup.
30506
0ced335a
PT
30507 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30508 negative N or less than NGIDS.
30509
b3404dbd
PT
30510 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30511 type to string_t. Set ERANGE as errno and return it if NAME is not big
30512 enough. Use memcpy instead of strncpy.
30513
0f48659e
JM
305142012-07-20 Joseph Myers <joseph@codesourcery.com>
30515
30516 * elf/Makefile (check-data): Remove.
30517 (localplt.data): New vpath directive.
30518 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30519 instead of $(check-data).
30520 * scripts/data/localplt-generic.data: Move to ...
30521 * sysdeps/generic/localplt.data: ... here.
30522 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30523 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30524 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30526 ... here.
30527 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30529 ... here.
30530 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30532 ... here.
30533 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30535 ... here.
30536 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30538 ... here.
30539 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30541 ... here.
30542
d37cbdaa
AZ
305432012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30544
30545 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30546 PPC32 and PPC64 files.
30547 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30548 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30549
46f85fc2
AK
305502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30551
30552 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30553 __makecontext_ret to ...
30554 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30555 ... here and call exit if uc_link is NULL. New file.
30556 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30557 __makecontext_ret.S.
30558 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30559 __makecontext_ret to ...
30560 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30561 ... here and call exit if uc_link is NULL. New file.
30562 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30563 __makecontext_ret.S.
30564
08f43f9b
AK
305652012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30566
30567 * elf/elf.h (R_390_IRELATIVE): New definition.
30568 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30569 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30570 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30571 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30572 (elf_machine_lazy_rel): Likewise.
30573 * sysdeps/s390/dl-irel.h: New file.
30574 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30575 * sysdeps/s390/s390-64/memset.S: New asm code.
30576 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30577 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30578 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30579 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30580 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30581 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30582 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30583 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30584 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30585 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30586 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30587 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30588 * sysdeps/s390/s390-32/memset.S: New asm code.
30589 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30590
3b05db33
MP
305912012-07-17 Marek Polacek <polacek@redhat.com>
30592
30593 [BZ #14349]
30594 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30595 * sysdeps/s390/s390-64/configure.in: Likewise.
30596 * sysdeps/sparc/configure.in: Likewise.
30597 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30598 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30599 * sysdeps/i386/configure.in: Likewise.
30600 * sysdeps/x86_64/configure.in: Likewise.
30601 * sysdeps/sh/configure.in: Likewise.
30602 * sysdeps/s390/s390-32/configure: Regenerated.
30603 * sysdeps/s390/s390-64/configure: Likewise.
30604 * sysdeps/x86_64/configure: Likewise.
30605 * sysdeps/sh/configure: Likewise.
30606 * sysdeps/powerpc/powerpc64/configure: Likewise.
30607 * sysdeps/powerpc/powerpc32/configure: Likewise.
30608 * sysdeps/sparc/configure: Likwise.
30609 * sysdeps/i386/configure: Likewise.
30610
a66877c6
MP
30611 * elf/dl-open.c: Comment fixes.
30612
cfc82fd8
JM
306132012-07-17 Joseph Myers <joseph@codesourcery.com>
30614
bd29910a
JM
30615 * Makefile [CXX] (check-data): Remove.
30616 [CXX] (c++-types.data): New vpath directive.
30617 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30618 vpath. Do not allow for C++ type data being missing.
30619 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30620 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30621 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30622 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30623 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30624 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30625 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30627 ... here.
30628 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30630 ... here.
30631 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30633 ... here.
30634 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30636 ... here.
30637 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30639 ... here.
30640 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30642 ... here.
30643 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30645 ... here.
30646 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30648
cfc82fd8
JM
30649 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30650 definitions to architecture-specific files.
30651 (TLS_IE): Likewise.
30652 (TLS_LD): Likewise.
30653 (TLS_GD): Likewise.
30654 * sysdeps/i386/tls-macros.h: New file.
30655 * sysdeps/powerpc/tls-macros.h: Likewise.
30656 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30657 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30658 * sysdeps/sh/tls-macros.h: Likewise.
30659 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30660 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30661 * sysdeps/x86_64/tls-macros.h: Likewise.
30662
f7db3170
TS
306632012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30664
07cbfc23
TS
30665 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30666 zero value for regular exit case.
30667
f7db3170
TS
30668 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30669 (__start_context): Preserve zero value for regular exit case.
30670
dc97c227
TS
306712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30672 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30673
30674 * manual/setjmp.texi (setcontext): Clarify normal process
30675 termination when uc_link is the null pointer.
30676 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30677 exit call.
30678
d0cd7d02
AS
306792012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30680
30681 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30682 preprocessor. Test for each exception mask separately.
30683
dd318934
AJ
306842012-07-16 Andreas Jaeger <aj@suse.de>
30685
30686 * po/ru.po: Update from translation team.
30687
8048311a
JM
306882012-07-15 Joseph Myers <joseph@codesourcery.com>
30689
30690 * conform/data/string.h-data (NULL): Use macro-constant. Require
30691 equal to 0.
30692 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30693 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30694 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30695 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30696 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30697
b637d46e
AJ
306982012-07-13 Andreas Jaeger <aj@suse.de>
30699
30700 * po/fr.po: Update from translation team.
30701
541428fe
MP
307022012-07-12 Marek Polacek <polacek@redhat.com>
30703
30704 [BZ #14173]
30705 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30706 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30707 loop condition.
30708
ec332e94
JM
307092012-07-12 Joseph Myers <joseph@codesourcery.com>
30710
30711 [BZ #13717]
30712 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30713 Change to 2.4.1 where previously 2.4.0.
30714 * sysdeps/unix/sysv/linux/configure: Regenerated.
30715 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30716 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30717 version.
30718 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30719 (__ASSUME_AT_CLKTCK): Remove.
30720 (__ASSUME_AT_PAGESIZE): Likewise.
30721 (__ASSUME_AT_XID): Likewise.
30722 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30723 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30724 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30725 unconditionally.
30726 (HAVE_AUX_PAGESIZE): Likewise.
30727 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30728 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30729 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30730
7b6e99be
JB
307312012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30732
30733 [BZ #14307]
30734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30735 the temporary buffer used to invoke __gethostbyname2_r,
30736 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30737 host_data / struct gaih_addrtuple.
30738 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30739 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30740 header file nss/nsswitch.h.
30741 * nss/nsswitch.h (global scope): Add definition of implementation
30742 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30743 resolv/nss_dns/dns-host.c).
30744
608404eb
AJ
307452012-07-11 Andreas Jaeger <aj@suse.de>
30746
30747 * po/fr.po: Update from translation team.
30748
71220aca
AJ
30749 * po/sv.po: Update from translation team
30750 * po/fr.po: Another update from translation team.
30751
28cfe843
AZ
307522012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30753
30754 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30755 for subnormals or multiply small sinh result by itself.
30756 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30758
6b90f981
DM
307592012-07-11 David S. Miller <davem@davemloft.net>
30760
30761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30762
c6825772
AS
307632012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30764
30765 [BZ #14347]
30766 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30767 (INTERNAL_MARK): Shift it here.
30768
7b8e0d49
MP
307692012-07-10 Marek Polacek <polacek@redhat.com>
30770
30771 [BZ #14151]
30772 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30773 libc_cv_asm_global_directive with .globl.
30774 * configure: Regenerated.
30775 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30776 with .globl.
30777 * sysdeps/i386/configure: Regenerated.
30778 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30779 with .globl.
30780 * sysdeps/x86_64/configure: Regenerated.
30781 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30782 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30783 * elf/tst-unique2mod2.c: Likewise.
30784 * elf/tst-unique2mod1.c: Likewise.
30785 * elf/tst-unique1mod2.c: Likewise.
30786 * elf/tst-unique1mod1.c: Likewise.
30787 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30788 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30789 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30790 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30791 * sysdeps/mach/sysdep.h: Likewise.
30792 * sysdeps/i386/sysdep.h: Likewise.
30793 * sysdeps/i386/i386-mcount.S: Likewise.
30794 * sysdeps/x86_64/_mcount.S: Likewise.
30795 * sysdeps/x86_64/sysdep.h: Likewise.
30796 * sysdeps/sh/_mcount.S: Likewise.
30797 * sysdeps/sh/sysdep.h: Likewise.
30798 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30799 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30800 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30801 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30802 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30803 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30804 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30805 * locale/localeinfo.h: Likewise.
30806 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30807 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30808
6c55cda3
RM
308092012-07-09 Roland McGrath <roland@hack.frob.com>
30810
30811 [BZ #14336]
30812 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30813 system".
30814 * manual/message.texi (The Uniforum approach): Likewise.
30815 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30816 (glibc iconv Implementation): Likewise.
30817
638a572e
JM
308182012-07-09 Joseph Myers <joseph@codesourcery.com>
30819
30820 [BZ #14337]
30821 * math/s_clog.c (__clog): Avoid scaling a value down where that
30822 could result in underflow.
30823 * math/s_clog10.c (__clog10): Likewise.
30824 * math/s_clog10f.c (__clog10f): Likewise.
30825 * math/s_clog10l.c (__clog10l): Likewise.
30826 * math/s_clogf.c (__clogf): Likewise.
30827 * math/s_clogl.c (__clogl): Likewise.
30828 * math/libm-test.inc (clog_test): Add more tests.
30829 (clog10_test): Likewise.
30830 * sysdeps/i386/fpu/libm-test-ulps: Update.
30831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30832
261f4859
AS
308332012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30834
0abaf3e4
AS
30835 [BZ #14283]
30836 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30837 by 7 not 8 to examine high bit of fractional part.
30838
261f4859
AS
30839 [BZ #14042]
30840 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30841 for call to __mcount_internal.
30842 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30843 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30844 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30845
f17ac40d
JM
308462012-07-06 Joseph Myers <joseph@codesourcery.com>
30847
9ad63c23
JM
30848 [BZ #14154]
30849 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30850 approximation for values within 0x1p-13f of an odd multiple of
30851 pi/4.
30852 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30853 exception. Add more tests.
30854 * sysdeps/i386/fpu/libm-test-ulps: Update.
30855
f17ac40d
JM
30856 [BZ #6778]
30857 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30858 inputs and return -1 for them. Do not check for +Inf in case not
30859 reachable for +Inf.
30860 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30861 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30862 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30863 and return -1 for them. Do not check for +Inf in case not
30864 reachable for +Inf.
30865 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30866 define.
30867 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30868 and return -1 for them. Do not check for +Inf in case not
30869 reachable for +Inf.
30870 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30871 spurious underflow.
30872 * sysdeps/i386/fpu/libm-test-ulps: Update.
30873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30874
fb21f89b
MF
308752012-07-06 Mike Frysinger <vapier@gentoo.org>
30876
30877 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30878
cdfe2c5e
JM
308792012-07-05 Joseph Myers <joseph@codesourcery.com>
30880
30881 [BZ #14157]
30882 [BZ #14331]
30883 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30884 could result in spurious underflow. Scale down values above
30885 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30886 * math/s_csqrtf.c (__csqrtf): Likewise.
30887 * math/s_csqrtl.c (__csqrtl): Likewise.
30888 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30889 spurious underflow.
30890 * sysdeps/i386/fpu/libm-test-ulps: Update.
30891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30892
70d35b67
AS
308932012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30894
704bc459
AS
30895 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30896 xopen-msg.sed.
30897 * catgets/xopen-msg.awk: New file.
30898 * catgets/xopen-msg.sed: Removed.
30899
70d35b67
AS
30900 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30901 po2text.sed.
30902 * intl/po2test.awk: New file.
30903 * intl/po2test.sed: Removed.
30904
ca61cf32
JM
309052012-07-04 Joseph Myers <joseph@codesourcery.com>
30906
30907 [BZ #14328]
30908 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30909 or multiply small sinh result by itself.
30910 * math/s_ctanf.c (__ctanf): Likewise.
30911 * math/s_ctanh.c (__ctanh): Likewise.
30912 * math/s_ctanhf.c (__ctanhf): Likewise.
30913 * math/s_ctanhl.c (__ctanhl): Likewise.
30914 * math/s_ctanl.c (__ctanl): Likewise.
30915 * math/libm-test.inc (ctan_test_tonearest): New function.
30916 (ctan_test_towardzero): Likewise.
30917 (ctan_test_downward): Likewise.
30918 (ctan_test_upward): Likewise.
30919 (ctanh_test_tonearest): Likewise.
30920 (ctanh_test_towardzero): Likewise.
30921 (ctanh_test_downward): Likewise.
30922 (ctanh_test_upward): Likewise.
30923 (main): Call these new functions.
30924 * sysdeps/i386/fpu/libm-test-ulps: Update.
30925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30926
ca48a46a
MF
309272012-07-03 Mike Frysinger <vapier@gentoo.org>
30928
30929 * .gitignore: Delete /ports entry.
30930
9d63d37d
AJ
309312012-07-03 Andreas Jaeger <aj@suse.de>
30932
30933 * po/bg.po: Update from translation team.
30934 * po/cs.po: Likewise.
30935 * po/de.po: Likewise.
30936 * po/hr.po: Likewise.
30937 * po/nl.pl: Likewise.
30938 * po/pl.po: Likewise.
30939 * po/vi.po: Likewise.
30940
370ca3d2
JM
309412012-07-03 Joseph Myers <joseph@codesourcery.com>
30942
95f5a9a8
JM
30943 * Makeconfig [!+link] (+link-before-libc): New variable.
30944 [!+link] (+link-after-libc): Likewise.
30945 [!+link] (+link-tests): Likewise.
30946 [!+link] (+link): Define in terms of $(+link-before-libc) and
30947 $(+link-after-libc).
30948 [!+link-static] (+link-static-before-libc): New variable.
30949 [!+link-static] (+link-static-after-libc): Likewise.
30950 [!+link-static] (+link-static-tests): Likewise.
30951 [!+link-static] (+link-static): Define in terms of
30952 $(+link-static-before-libc) and $(+link-static-after-libc).
30953 [build-shared] (link-libc-before-gnulib): New variable.
30954 [build-shared] (link-libc-tests): Likewise.
30955 [build-shared] (link-libc): Define in terms of
30956 $(link-libc-before-gnulib).
30957 [!build-shared] (link-libc-tests): New variable.
30958 (link-libc-static-tests): New variable.
30959 [!gnulib] (gnulib-arch): New variable.
30960 [!gnulib] (gnulib-tests): Likewise.
30961 [!gnulib] (static-gnulib-arch): Likewise.
30962 [!gnulib] (static-gnulib-tests): Likewise.
30963 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30964 Define with "=" instead of ":=".
30965 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30966 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30967 * Rules (binaries-all-notests): New variable.
30968 (binaries-all-tests): Likewise.
30969 (binaries-static-notests): Likewise.
30970 (binaries-static-tests): Likewise.
30971 (binaries-all): Define using $(binaries-all-notests) and
30972 $(binaries-all-tests).
30973 (binaries-static): Define using $(binaries-static-notests) and
30974 $(binaries-static-tests).
30975 (binaries-shared-tests): New variable.
30976 (binaries-shared-notests): Likewise.
30977 (binaries-shared): Remove variable.
30978 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30979 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30980 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30981 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30982 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30983 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30984 * elf/Makefile (sln-modules): New variable.
30985 (extra-objs): Add $(sln-modules:=.o).
30986 (ldconfig-modules): Add static-stubs.
30987 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30988 * elf/static-stubs.c: New file.
30989
7a845b2c
JM
30990 [BZ #14283]
30991 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30992 by 7 not 8 to examine high bit of fractional part. Use volatile
30993 variables when splitting into final array of floats if
30994 __FLT_EVAL_METHOD__ != 0.
30995 * math/libm-test.inc (cos_test): Add another test.
30996 (sin_test): Likewise.
30997 * sysdeps/i386/fpu/libm-test-ulps: Update.
30998
e2283f38
JM
30999 [BZ #14273]
31000 * math/libm-test.inc (cosh_test): Add more tests.
31001
370ca3d2
JM
31002 * version.h (RELEASE): Set to "development".
31003 (VERSION): Set to "2.16.90".
31004
ee9247c3
CD
310052012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31006
31007 * NEWS: Update copyright. Remove last-updated date.
31008 Mention math library bug fixes and timezone data changes.
31009 * README: Mention GNU/Hurd, x32, and HPPA support status.
31010
4648c381
TS
310112012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31012
31013 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31014
aac78a43
AJ
310152012-06-27 Andreas Jaeger <aj@suse.de>
31016
31017 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31018
ed3dbfad
AJ
310192012-06-25 Andreas Jaeger <aj@suse.de>
31020
31021 * sysdeps/s390/fpu/libm-test-ulps: Update.
31022
4d0ee855
AS
310232012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31024 Thomas Schwinge <thomas@codesourcery.com>
31025
31026 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31027 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31028 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31029 fanotify_mark.
31030
af1bce34
TS
310312012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31032
a9fa33ba
TS
31033 * sysdeps/mach/start.c: Remove file.
31034 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31035 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31036 * sysdeps/sh/init-first.c: Likewise.
31037
58f902b8
TS
31038 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31039 registers for frame unwinding purposes, add CFI directives.
31040 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31041 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31042 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31043 Likewise.
31044
1518f58b
TS
31045 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31046 __fortify_fail returning.
31047 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31048
db9b5059
TS
31049 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31050 sysdeps/sh/____longjmp_chk.S.
31051 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31052 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31053 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31054 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31055
967705fe
TS
31056 * sysdeps/sh/abort-instr.h: New file.
31057 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31058 process in case exit returns.
31059
a9def8c4
TS
31060 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31061 initialize the GOT register before use.
31062
2a649725
TS
31063 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31064 calculation of ARGC > 4.
31065
af1bce34
TS
31066 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31067 meaningful names to some local labels.
31068
d230f50a
KK
310692012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31070 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31071
31072 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31073 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31074 (__arch_compare_and_exchange_val_16_acq): Likewise.
31075 (__arch_compare_and_exchange_val_32_acq): Likewise.
31076 (atomic_exchange_and_add): Fix gUSA sequence.
31077 (atomic_add): Likewise.
31078 (atomic_add_negative): Likewise.
31079 (atomic_add_zero): Likewise.
31080 (atomic_bit_test_set): Likewise.
31081
0479b305
AS
310822012-06-22 Andreas Schwab <schwab@redhat.com>
31083
31084 [BZ #13579]
31085 * include/link.h (struct link_map): Add l_free_initfini.
31086 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31087 l_initfini.
31088 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31089 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31090 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31091 set.
31092
0e3933b9
CD
310932012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31094
31095 * configure.in: Use AC_LANG_SOURCE.
31096 * configure: Regenerate.
31097
4248b1b1
RM
310982012-06-22 Roland McGrath <roland@hack.frob.com>
31099
31100 * configure.in (libc_cv_localstatedir): New substituted variable.
31101 * configure: Regenerated.
31102 * config.make.in (localstatedir): New variable, substituted from
31103 libc_cv_localstatedir.
31104 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31105 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31106 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31107 * sysdeps/gnu/configure: Regenerated.
31108
006dd861
JL
311092012-06-21 Jeff Law <law@redhat.com>
31110
31111 [BZ #14277]
31112 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31113 free. Simplify list management for _LIBC case.
31114
79662d42
JM
311152012-06-21 Joseph Myers <joseph@codesourcery.com>
31116
b7abb4bf
JM
31117 [BZ #14273]
31118 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31119 Clear sign bit of 64-bit integer value before comparing against
31120 overflow value.
31121
79662d42
JM
31122 * sysdeps/mach/configure: Regenerated.
31123
1f150908
L
311242012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31125
31126 [BZ #14278]
31127 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31128
28363bbf
JL
311292012-06-21 Jeff Law <law@redhat.com>
31130
31131 [BZ #13882]
31132 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31133 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 31134 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
31135 * elf/dl-open.c (dl_open_worker): Likewise.
31136
09615db4
CD
311372012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31138
31139 * scripts/list-sources.sh: Scan PORTS for translations.
31140 * po/libc.pot: Regenerated.
31141
2174c6dd
AJ
311422012-06-21 Andreas Jaeger <aj@suse.de>
31143
31144 [BZ #12194]
31145 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31146 warning.
31147 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31148 * bits/byteswap-16.h (__bswap_16): Likewise.
31149 * bits/byteswap.h (__bswap_constant_16): Likewise.
31150
3ee947b1
L
311512012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31152
31153 [BZ #14117]
a2f34833
L
31154 * sysdeps/i386/fpu_control.h: Removed.
31155 * sysdeps/x86_64/fpu_control.h: Moved to ...
31156 * sysdeps/x86/fpu_control.h: Here.
31157
3ee947b1
L
31158 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31159 (_FPU_SETCW): Likewise.
31160
ed1825f8
L
311612012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31162
25f1282a
L
31163 [BZ #14117]
31164 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31165 * sysdeps/x86/fpu/bits/mathinline.h: This.
31166 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31167
ed1825f8
L
31168 [BZ #14050]
31169 [BZ #14117]
31170 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31171 functions if __x86_64__ is defined.
31172
36d54b74
CLT
311732012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31174
31175 * string/endian.h: Add !__ASSEMBLER__ condition for including
31176 conversion interfaces.
31177
10285c21
JM
311782012-06-15 Joseph Myers <joseph@codesourcery.com>
31179
31180 [BZ #14241]
31181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31182 of ABS(x) in calculating zero to negative powers other than odd
31183 integers.
31184 * math/libm-test.inc (pow_test): Add more tests.
31185
06c5abbd
AJ
311862012-06-15 Andreas Jaeger <aj@suse.de>
31187
31188 * manual/contrib.texi (Contributors): Update entry of Liubov
31189 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31190 Machado Filho.
31191
a3aeac40
CH
311922012-06-15 Cyril Hrubis <metan@ucw.cz>
31193
31194 * string/string.h: Add __wur to GNU version of strerror_r.
31195
49bdf4c1
L
311962012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31197
31198 [BZ #14229]
31199 * string/Makefile (tests): Add tst-strtok_r.
31200 * string/tst-strtok_r.c: New file.
31201 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31202 RAX_LP/RDX_LP on SAVE_PTR.
31203
834f9b8d
RM
312042012-06-14 Roland McGrath <roland@hack.frob.com>
31205
31206 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31207
75fa1921
JM
312082012-06-14 Joseph Myers <joseph@codesourcery.com>
31209
31210 * libm_test.inc (csqrt_test): Allow more spurious underflow
31211 exceptions.
31212 (j0_test): Likewise.
31213 (j1_test): Likewise.
31214 (y0_test): Likewise.
31215 (y1_test): Likewise.
31216
771766df
CD
312172012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31218
31219 * po/Makefile (libc.pot): Use UTF-8 charset.
31220
ceb9e56b
PP
312212012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31222
31223 [BZ #14210]
31224 Suppress sign-conversion warning from FD_SET.
31225 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31226 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31227 not unsigned long int.
31228 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31229
ddb28975
L
312302012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31231
31232 [BZ #14050]
31233 [BZ #14117]
31234 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31235 __extern_always_inline instead of __extern_inline.
31236 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31237 (__signbit): Likewise.
31238 (__signbitl): Support C++ namespace.
31239 (lrintf): New inline function.
31240 (lrint): Likewise.
31241 (llrintf): Likewise.
31242 (llrint): Likewise.
31243 (fmaxf): Likewise.
31244 (fmax): Likewise.
31245 (fminf): Likewise.
31246 (fmin): Likewise.
31247 (rint): Likewise.
31248 (rintf): Likewise.
31249 (ceil): Likewise.
31250 (ceilf): Likewise.
31251 (floor): Likewise.
31252 (floorf): Likewise.
31253 (nearbyint): Likewise.
31254 (nearbyintf): Likewise.
31255
d7b4fb26
TS
312562012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31257
31258 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31259 non-default versions.
31260
eb55f5c2
RM
312612012-06-11 Roland McGrath <roland@hack.frob.com>
31262
31263 [BZ #14218]
31264 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31265
366af02c
TS
312662012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31267
99ff6e5c
TS
31268 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31269 (FE_UPWARD, FE_DOWNWARD): Don't define.
31270 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31271 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31272
366af02c
TS
31273 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31274 reading it.
31275 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31276 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31277
793ea851
KK
312782012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31279
31280 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31281 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31282 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31283 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31284
a728a38f
L
312852012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31286
31287 [BZ #14117]
c08010c7
L
31288 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31289 * sysdeps/i386/fpu/Implies: New file.
31290 * sysdeps/x86_64/fpu/Implies: Likewise.
31291 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31292 * sysdeps/x86/fpu/bits/fenv.h: This.
31293
a728a38f
L
31294 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31295 __SSE_MATH__.
31296
6e230d11
SP
312972012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31298
31299 [BZ #14134]
31300 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31301 character 0xffff that matches the last element of the
31302 conversion table.
31303
1b671feb
AZ
313042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31305
31306 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31307 fmodl commit.
31308
6043738b
AZ
313092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31310
31311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31312 values higher than 25.6283.
31313
34ae0b32
AZ
313142012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31315
31316 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31317 subnormal exponent extraction and add some __builtin_expect.
31318 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31319 Fix for subnormal mantissa calculation.
31320
1214ec8f
MF
313212012-06-04 Mike Frysinger <vapier@gentoo.org>
31322
31323 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31324 cpu2 is -1 and errno is not ENOSYS.
31325
f3d1f93c
L
313262012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31327
31328 [BZ #14117]
0e4a3cd7
L
31329 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31330 * sysdeps/x86/bits/string.h: This.
31331 * sysdeps/x86_64/bits/string.h: Removed.
31332
6704c645
L
31333 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31334 if not compiling for x86-64, but compiling for >= i486.
31335
48495318
L
31336 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31337 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31338
14adcbfc
L
31339 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31340 New macro from Linux kernel 3.4.0.
31341 (FP_XSTATE_MAGIC2): Likewise.
31342 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31343 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31344 (struct _fpx_sw_bytes): New struct.
31345 (struct _xsave_hdr): Likewise.
31346 (struct _ymmh_state): Likewise.
31347 (struct _xstate): Likewise.
31348
68e408ab
L
31349 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31350 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31351 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31352 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31353 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31354 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31355
f3d1f93c
L
31356 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31357 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31358 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31359 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31360 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31361 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31362
d9dc34cd
TMQMF
313632012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31364
31365 [BZ #13743]
31366 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31367 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31368 (sysdep_headers): Include sys/platform/ppc.h.
31369 * sysdeps/powerpc/test-gettimebase.c: Test for
31370 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31371 * manual/Makefile (appendices): Include platform.texi.
31372 * manual/contrib.texi (Contributors): Update @node pointers.
31373 * manual/maint.texi (Maintenance): Likewise.
31374 (Platform): New node.
31375 * manual/platform.texi: New file. Document the new features.
31376
4af3879c
SP
313772012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31378 Jakub Jelinek <jakub@redhat.com>
31379
31380 [BZ #14188]
31381 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31382 where __builtin_expect is unavailable.
31383
2fd6ff13
DM
313842012-06-03 David S. Miller <davem@davemloft.net>
31385
31386 * stdlib/longlong.h: Updated from GCC.
31387
173f7220
AS
313882012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31389
31390 [BZ #14042]
31391 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31392 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31393 __mcount_internal.
31394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31395 (GLIBC_2.16): Likewise.
31396
f34a1c6f
L
313972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31398
31399 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31400
88a4576f
JM
314012012-06-01 Joseph Myers <joseph@codesourcery.com>
31402
ea32bcdd
JM
31403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31404 (default-abi): New variable.
31405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31406 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31407 variable.
31408 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31409 Likewise.
31410 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31411 Likewise.
31412 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31413 Likewise.
31414
88a4576f
JM
31415 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31416 definition. Document in comment.
31417
402fe938
DM
314182012-06-01 David S. Miller <davem@davemloft.net>
31419
31420 * stdlib/longlong.h: Updated from GCC.
31421
3553723f
L
314222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31423
31424 [BZ #14117]
3bd872c4
L
31425 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31426 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31427 sys/debugreg.h sys/io.h here.
31428 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31429 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31430 sys/io.h.
31431 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31432 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31433 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31434 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31435 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31436 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31437
3553723f
L
31438 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31439 Define only if __x86_64__ is defined.
31440
4842e4fe
JM
314412012-06-01 Joseph Myers <joseph@codesourcery.com>
31442
c5bfe3d5
JM
31443 [BZ #14048]
31444 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31445 Use int64_t for variable i.
31446 * math/libm-test.inc (fmod_test): Add more tests.
31447
4842e4fe
JM
31448 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31449 z computation is not scheduled after fetestexcept.
31450 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31451 Use math_force_eval instead of asm to ensure calculation scheduled
31452 before exception test.
31453 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31454 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31455
efb73488
AJ
314562012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31457
31458 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31459 computation is not scheduled after fetestexcept.
31460
29bcce7c
L
314612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31462
31463 [BZ #14117]
31464 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31465 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31466
73a68f94
AZ
314672012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31468
31469 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31470 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31471
67b6df78
L
314722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31473
edf2933a 31474 [BZ #14117]
ebc64a18
L
31475 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31476 <bits/wordsize.h>.
31477 (__WCHAR_MIN): Support __WORDSIZE == 64.
31478 (__WCHAR_MAX): Likewise.
31479
edf2933a
L
31480 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31481 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31482
57c6cf40
L
31483 [BZ #14183]
31484 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31485 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31486
67b6df78 31487 [BZ #14117]
8eb6281e
L
31488 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31489 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31490
aac639f4
L
31491 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31492 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31493
67b6df78
L
31494 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31495 Defined to 1 if __x86_64__ isn't defined.
31496 (_STAT_VER_LINUX_OLD): New.
31497 (st_atime): Remove duplicate.
31498 (st_mtime): Likewise.
31499 (st_ctime): Likewise.
31500
1c2cfe81
DM
315012012-05-31 David S. Miller <davem@davemloft.net>
31502
31503 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31504 entries.
31505
5be8418c
AS
315062012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31507
e7725326
AS
31508 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31509 gen-libm-test.pl.
31510
5be8418c
AS
31511 [BZ #14132]
31512 * elf/dl-reloc.c: Include <_itoa.h>.
31513 (_dl_reloc_bad_type): Remove use of INTUSE.
31514 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31515 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31516 * stdio-common/psiginfo.c (psiginfo): Likewise.
31517 * stdio-common/psignal.c (psignal): Likewise.
31518 * string/strsignal.c (strsignal): Likewise.
31519 * include/signal.h (_sys_siglist): Declare hidden proto.
31520 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31521 INTVARDEF with libc_hidden_data_def.
31522 * stdio-common/itoa-udigits.c: Likewise.
31523 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31524 (_itoa_lower_digits_internal): Remove declaration.
31525 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31526 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31527 (_sys_sigabbrev_internal): Remove aliases.
31528 (_sys_siglist): Define hidden alias.
31529
507352f1
MT
315302012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31531
31532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31533 bits/sysctl.h.
31534
42bbb1c3
L
315352012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31536
31537 [BZ #14117]
6bd784b6
L
31538 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31539 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31540
8bca20f0
L
31541 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31542 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31543 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31544 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31545 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31546 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31547
f9e890a9
L
31548 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31549 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31550 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31551
471101a1
L
31552 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31553 with __addr.
31554 (insw): Likewise.
31555 (insl): Likewise.
31556 (outsb): Likewise.
31557 (outsw): Likewise.
31558 (outsl): Likewise.
31559
6451c862
L
31560 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31561 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31562 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31563
a254b8c9
L
31564 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31565 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31566 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31567 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31568 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31569 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31570
b8dfdd92
L
31571 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31572 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31573
578cd270
L
31574 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31575 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31576
de662f5f
L
31577 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31578 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31579 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31580
25653439
L
31581 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31582 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31583 to ...
31584 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31585
6bad24a0
L
31586 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31587 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31588 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31589
42bbb1c3
L
31590 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31591 for x86-64.
31592 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31593
2d10d547
JM
315942012-05-31 Joseph Myers <joseph@codesourcery.com>
31595
31596 * math/math.h (M_El): Use two more decimal places.
31597 (M_LOG2El): Likewise.
31598 (M_LOG10El): Likewise.
31599 (M_LN2l): Likewise.
31600 (M_LN10l): Likewise.
31601 (M_PIl): Likewise.
31602 (M_PI_2l): Likewise.
31603 (M_PI_4l): Likewise.
31604 (M_1_PIl): Likewise.
31605 (M_2_PIl): Likewise.
31606 (M_2_SQRTPIl): Likewise.
31607 (M_SQRT2l): Likewise.
31608 (M_SQRT1_2l): Likewise.
31609
f230c29b
DM
316102012-05-31 David S. Miller <davem@davemloft.net>
31611
31612 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31613 values between float registers.
31614 * sysdeps/sparc/sparc64/memset.S: Likewise.
31615 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31616
fed806c3
MF
316172012-05-31 Mike Frysinger <vapier@gentoo.org>
31618
31619 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31620 -D_FORTIFY_SOURCE=1.
31621 (CPPFLAGS-tst-longjmp_chk.c): Define.
31622 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31623 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31624 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31625 CFLAGS-tst-wchar-h.c.
31626
30917259
MP
316272012-05-31 Marek Polacek <polacek@redhat.com>
31628
31629 [BZ #14132]
31630 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31631 __endmntent_internal): Remove declaration.
31632 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31633 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31634 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31635
1c58d5dc
DM
316362012-05-30 David S. Miller <davem@davemloft.net>
31637
31638 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31639 (___Q_simulate_exceptions): Use real FP ops rather than writing
31640 into the %fsr.
31641 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31642 Likewise.
31643
7dc00e0d
L
316442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31645
31646 [BZ #14117]
0bd53985
L
31647 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31648 * sysdeps/x86/bits/xtitypes.h: This.
31649
3a257e66
L
31650 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31651 * sysdeps/x86/bits/wordsize.h: This.
31652
62f62904
L
31653 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31654 * sysdeps/x86/bits/huge_vall.h: This.
31655
404fe9d9
L
31656 * sysdeps/i386/bits/select.h: Removed.
31657 * sysdeps/x86_64/bits/select.h: Renamed to ...
31658 * sysdeps/x86/bits/select.h: This.
31659
d48d0446
L
31660 * sysdeps/i386/bits/setjmp.h: Removed.
31661 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31662 * sysdeps/x86/bits/setjmp.h: This.
31663
7dc00e0d
L
31664 * sysdeps/i386/bits/mathdef.h: Removed.
31665 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31666 * sysdeps/x86/bits/mathdef.h: This.
31667
03277f8f
AS
316682012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31669
31670 [BZ #14132]
31671 * include/sys/socket.h (__connect_internal)
31672 (__libc_sa_len_internal): Remove declaration.
31673 (__connect, __libc_sa_len): Declare hidden_proto.
31674 (SA_LEN): Remove use of INTUSE.
31675 * socket/connect.c: Add libc_hidden_def.
31676 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31677 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31678 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31679 alias.
31680 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31681 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31682 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31683 of adding _internal alias.
31684
13764867
L
316852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31686
31687 [BZ #14117]
6bd97696
L
31688 * sysdeps/i386/bits/link.h: Removed.
31689 * sysdeps/i386/bits/linkmap.h: Likewise.
31690 * sysdeps/x86_64/bits/link.h: Renamed to ...
31691 * sysdeps/x86/bits/link.h: This.
31692 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31693 * sysdeps/x86/bits/linkmap.h: This.
31694
f726f0bb
L
31695 * sysdeps/i386/bits/endian.h: Removed.
31696 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31697 * sysdeps/x86/bits/endian.h: This.
31698
13764867
L
31699 * sysdeps/i386/bits/byteswap.h: Removed.
31700 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31701 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31702 * sysdeps/x86/bits/byteswap.h: This.
31703 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31704 * sysdeps/x86/bits/byteswap-16.h: This.
31705 * sysdeps/i386/Implies: Add x86.
31706 * sysdeps/x86_64/Implies: Likewise.
31707
ae251b0b
DM
317082012-05-30 David S. Miller <davem@davemloft.net>
31709
31710 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31711 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31712 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31713 (FP_TRAPPING_EXCEPTIONS): Define.
31714 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31715 (FP_TRAPPING_EXCEPTIONS): Define.
31716 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31717 subnormals only when inexact has been signalled or underflow
31718 exceptions are enabled.
31719 (_FP_PACK_CANONICAL): Likewise.
31720
d5c90867
L
317212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31722
31723 [BZ #14183]
31724 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31725 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31726
63f1549e
RH
317272012-05-30 Richard Henderson <rth@twiddle.net>
31728
8d8f2279
RH
31729 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31730 with #ifndef NOT_IN_libc.
31731
63f1549e
RH
31732 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31733 marked to avoid plt entry.
31734
0ab0291b
L
317352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31736
31737 [BZ #14112]
31738 * Makeconfig (default-abi): New macro.
31739 (abi-includes): Likewise.
31740 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31741 $(abi-$(default-abi)-lib-soname) for soname if defined.
31742 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31743 abi-variants.
31744 * Makefile (installed-stubs): Likewise.
31745 * include/stubs-biarch.h: Removed.
31746 * scripts/lib-names.awk: Only handle one library at a time.
31747 * scripts/soversions.awk: Remove WORDSIZE support.
31748 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31749 entries.
31750 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31751 Removed.
31752 (syscall-list-default-condition): Likewise.
31753 (syscall-list-default-condition): Likewise.
31754 (syscall-list-includes): Likewise.
31755 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31756 syscall-list-* with abi-*. Handle undefined abi-variants.
31757 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31758 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31759 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31760 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31761 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31762 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31763 Removed.
31764 (syscall-list-32-options): Likewise.
31765 (syscall-list-32-condition): Likewise.
31766 (syscall-list-64-options): Likewise.
31767 (syscall-list-64-condition): Likewise.
31768 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31769 macro.
31770 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31771 Renamed to ...
31772 (abi-*): This.
31773 (abi-64-ld-soname): New macro.
31774 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31775 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31776 Renamed to ...
31777 (abi-*): This.
31778 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31779 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31780
4da0431d
JM
317812012-05-30 Joseph Myers <joseph@codesourcery.com>
31782
3a85279c
JM
31783 * sysdeps/unix/sysv/linux/kernel-features.h
31784 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31785 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31786 include <kernel-features.h>.
31787 [!__NR_ftruncate64]: Remove conditional code.
31788 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31789 [__NR_ftruncate64]: Make code unconditional.
31790 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31791 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31792 include <kernel-features.h>.
31793 [!__NR_ftruncate64]: Remove conditional code.
31794 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31795 [__NR_ftruncate64]: Make code unconditional.
31796 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31798 include <kernel-features.h>.
31799 [!__NR_ftruncate64]: Remove conditional code.
31800 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31801 [__NR_ftruncate64]: Make code unconditional.
31802 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31804 include <kernel-features.h>.
31805 [!__NR_ftruncate64]: Remove conditional code.
31806 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31807 [__NR_ftruncate64]: Make code unconditional.
31808 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31809
4da0431d
JM
31810 * configure.in (libc_cv_fpie): Weaken to a compile test using
31811 LIBC_TRY_CC_OPTION.
31812 * configure: Regenerated.
31813
11ef492c
AK
318142012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31815
31816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31820 Refreshed.
31821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31827 Refreshed.
31828
d66ef399
DM
318292012-05-27 David S. Miller <davem@davemloft.net>
31830
31831 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31832 (___Q_zero): New.
31833 (__Q_simulate_exceptions): Return void. Change to simulate
31834 exceptions by writing into the %fsr.
31835 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31836 (__Qp_handle_exceptions): Likewise.
31837 (numbers): Delete.
31838 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31839 __Qp_handle_exceptions.
31840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31841 __Qp_handle_exceptions.
31842 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31843 as unused and give dummy FP_RND_NEAREST initializer.
31844 (FP_INHIBIT_RESULTS): Define.
31845 (___Q_simulate_exceptions): Update declaration.
31846 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31847 formatting.
31848 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31849 as unused and give dummy FP_RND_NEAREST initializer.
31850 (__Qp_handle_exceptions): Update declaration.
31851 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31852 formatting.
31853
04fb54b5
TS
318542012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31855
31856 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31857 the temporary FPU control word.
31858 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31859 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31860 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31861 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31862 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31863 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31864 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31865 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31866 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31867 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31868 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31869
3f99608f
KK
318702012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31871
31872 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31873 fields.
31874
65a4de4e
CLT
318752012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31876
31877 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31878 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31879 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31880 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31881 Likewise.
31882 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31883 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31884 Likewise.
31885
15749d40
UD
318862012-05-27 Ulrich Drepper <drepper@gmail.com>
31887
31888 * po/h.po: Update from translation team.
31889
25dbcb27
AS
318902012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31891
3d3f8e55
AS
31892 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31893
25dbcb27
AS
31894 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31895 handling of denormals.
31896 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31897 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31898 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31899 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31900 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31902 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31903 Likewise.
31904
7ad47a80 319052012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
31906
31907 [BZ #14152]
31908 * math/libm-test.inc (fma_test): Don't always expect underflow
31909 exception.
31910
9c6ea9fa
SP
319112012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31912
31913 [BZ #12416]
31914 * elf/tst-execstack.c: Include stackinfo.h.
31915 (do_test): Adjust test case to ensure that pthread_getattr_np
31916 behaviour remains the same after marking stack executable.
31917
a8239222
JM
319182012-05-25 Joseph Myers <joseph@codesourcery.com>
31919
31920 * sysdeps/unix/sysv/linux/kernel-features.h
31921 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31922 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31923 kernel-features.h.
31924 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31925 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31926 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31927 kernel-features.h.
31928 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31929 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31930
918b5606
L
319312012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31932
31933 * configure.in: Define the default includes to being none.
31934 * configure: Regenerated.
31935
3a097cc7
RM
319362012-05-25 Roland McGrath <roland@hack.frob.com>
31937
8422c9a5
RM
31938 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31939 * sysdeps/x86_64/setjmp.S: Likewise.
31940 * sysdeps/i386/bsd-setjmp.S: Likewise.
31941 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31942 * sysdeps/i386/setjmp.S: Likewise.
31943 * sysdeps/i386/__longjmp.S: Likewise.
31944 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31945 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31946
3a097cc7
RM
31947 * include/stap-probe.h: New file.
31948 * configure.in: Handle --enable-systemtap.
31949 * configure: Regenerated.
31950 * config.h.in (USE_STAP_PROBE): New #undef.
31951 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31952 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31953 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31954
21708942
JM
319552012-05-25 Joseph Myers <joseph@codesourcery.com>
31956
31957 [BZ #13717]
31958 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31959 to 2.4.0 where earlier.
31960 * sysdeps/unix/sysv/linux/configure: Regenerated.
31961 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31962 <kernel-features.h>.
31963 [__ASSUME_32BITUIDS]: Make code unconditional.
31964 [!__ASSUME_32BITUIDS]: Remove conditional code.
31965 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31966 <kernel-features.h>.
31967 [__ASSUME_32BITUIDS]: Make code unconditional.
31968 [!__ASSUME_32BITUIDS]: Remove conditional code.
31969 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31970 [__ASSUME_32BITUIDS]: Make code unconditional.
31971 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31972 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31973 <kernel-features.h>.
31974 [__ASSUME_32BITUIDS]: Make code unconditional.
31975 [!__ASSUME_32BITUIDS]: Remove conditional code.
31976 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31977 <kernel-features.h>.
31978 [__ASSUME_32BITUIDS]: Make code unconditional.
31979 [!__ASSUME_32BITUIDS]: Remove conditional code.
31980 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31981 <kernel-features.h>.
31982 [__ASSUME_32BITUIDS]: Make code unconditional.
31983 [!__ASSUME_32BITUIDS]: Remove conditional code.
31984 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31985 <kernel-features.h>.
31986 [__ASSUME_32BITUIDS]: Make code unconditional.
31987 [!__ASSUME_32BITUIDS]: Remove conditional code.
31988 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31989 <kernel-features.h>.
31990 [__ASSUME_32BITUIDS]: Make code unconditional.
31991 [!__ASSUME_32BITUIDS]: Remove conditional code.
31992 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31993 <kernel-features.h>.
31994 [__ASSUME_32BITUIDS]: Make code unconditional.
31995 [!__ASSUME_32BITUIDS]: Remove conditional code.
31996 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31997 <kernel-features.h>.
31998 [__ASSUME_32BITUIDS]: Make code unconditional.
31999 [!__ASSUME_32BITUIDS]: Remove conditional code.
32000 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32001 <kernel-features.h>.
32002 [__ASSUME_32BITUIDS]: Make code unconditional.
32003 [!__ASSUME_32BITUIDS]: Remove conditional code.
32004 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32005 <kernel-features.h>.
32006 [__ASSUME_32BITUIDS]: Make code unconditional.
32007 [!__ASSUME_32BITUIDS]: Remove conditional code.
32008 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32009 <kernel-features.h>.
32010 [__ASSUME_32BITUIDS]: Make code unconditional.
32011 [!__ASSUME_32BITUIDS]: Remove conditional code.
32012 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32013 <kernel-features.h>.
32014 [__NR_setresgid] (__setresgid): Do not declare.
32015 [__ASSUME_32BITUIDS]: Make code unconditional.
32016 [!__ASSUME_32BITUIDS]: Remove conditional code.
32017 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32018 <kernel-features.h>.
32019 [__NR_setresuid] (__setresuid): Do not declare.
32020 [__ASSUME_32BITUIDS]: Make code unconditional.
32021 [!__ASSUME_32BITUIDS]: Remove conditional code.
32022 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32023 <kernel-features.h>.
32024 [__ASSUME_32BITUIDS]: Make code unconditional.
32025 [!__ASSUME_32BITUIDS]: Remove conditional code.
32026 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32027 <kernel-features.h>.
32028 [__ASSUME_32BITUIDS]: Make code unconditional.
32029 [!__ASSUME_32BITUIDS]: Remove conditional code.
32030 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32031 <kernel-features.h>.
32032 [__ASSUME_32BITUIDS]: Make code unconditional.
32033 [!__ASSUME_32BITUIDS]: Remove conditional code.
32034 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32035 <kernel-features.h>.
32036 [__ASSUME_32BITUIDS]: Make code unconditional.
32037 [!__ASSUME_32BITUIDS]: Remove conditional code.
32038 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32039 <kernel-features.h>.
32040 [__ASSUME_32BITUIDS]: Make code unconditional.
32041 [!__ASSUME_32BITUIDS]: Remove conditional code.
32042 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32043 <kernel-features.h>.
32044 [__ASSUME_32BITUIDS]: Make code unconditional.
32045 [!__ASSUME_32BITUIDS]: Remove conditional code.
32046 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32047 <kernel-features.h>.
32048 [__ASSUME_32BITUIDS]: Make code unconditional.
32049 [!__ASSUME_32BITUIDS]: Remove conditional code.
32050 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32051 <kernel-features.h>.
32052 [__ASSUME_32BITUIDS]: Make code unconditional.
32053 [!__ASSUME_32BITUIDS]: Remove conditional code.
32054 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32055 <kernel-features.h>.
32056 [__ASSUME_32BITUIDS]: Make code unconditional.
32057 [!__ASSUME_32BITUIDS]: Remove conditional code.
32058 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32059 <kernel-features.h>.
32060 [__ASSUME_32BITUIDS]: Make code unconditional.
32061 [!__ASSUME_32BITUIDS]: Remove conditional code.
32062 * sysdeps/unix/sysv/linux/kernel-features.h
32063 (__ASSUME_SETRESUID_SYSCALL): Remove.
32064 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32065 (__ASSUME_32BITUIDS): Likewise.
32066 (__ASSUME_LDT_WORKS): Likewise.
32067 (__ASSUME_O_DIRECTORY): Likewise.
32068 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32069 architecture but not kernel version.
32070 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32071 (__ASSUME_MMAP2_SYSCALL): Likewise.
32072 (__ASSUME_STAT64_SYSCALL): Likewise.
32073 (__ASSUME_IPC64): Likewise.
32074 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32075 <kernel-features.h>.
32076 [__ASSUME_32BITUIDS]: Make code unconditional.
32077 [!__ASSUME_32BITUIDS]: Remove conditional code.
32078 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32079 <kernel-features.h>.
32080 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32081 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32082 132096]: Remove conditional code.
32083 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32084 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32085 <kernel-features.h>.
32086 [__ASSUME_32BITUIDS]: Make code unconditional.
32087 [!__ASSUME_32BITUIDS]: Remove conditional code.
32088 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32089 <kernel-features.h>.
32090 [__ASSUME_32BITUIDS]: Make code unconditional.
32091 [!__ASSUME_32BITUIDS]: Remove conditional code.
32092 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32093 <kernel-features.h>.
32094 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32095 unconditional.
32096 (__setresgid): Do not declare.
32097 [__ASSUME_32BITUIDS]: Make code unconditional.
32098 [!__ASSUME_32BITUIDS]: Remove conditional code.
32099 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32100 <kernel-features.h>.
32101 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32102 unconditional.
32103 (__setresuid): Do not declare.
32104 [__ASSUME_32BITUIDS]: Make code unconditional.
32105 [!__ASSUME_32BITUIDS]: Remove conditional code.
32106 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32107 <kernel-features.h>.
32108 [__ASSUME_32BITUIDS]: Make code unconditional.
32109 [!__ASSUME_32BITUIDS]: Remove conditional code.
32110 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32111 <kernel-features.h>.
32112 [__ASSUME_32BITUIDS]: Make code unconditional.
32113 [!__ASSUME_32BITUIDS]: Remove conditional code.
32114
a386f1cc
RH
321152012-05-25 Richard Henderson <rth@twiddle.net>
32116
32117 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32118 dl_hwcap to ifunc resolver.
32119 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32120 elf_ifunc_invoke.
32121 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32122 dl_hwcap to ifunc resolver.
32123 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32124
b6550497
JM
321252012-05-24 Joseph Myers <joseph@codesourcery.com>
32126
32127 [BZ #14153]
32128 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32129 for |x| <= 2**-26, not 2**-57.
32130 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32131 exception.
32132
b0bc23a1
JL
321332012-05-24 Jeff Law <law@redhat.com>
32134
32135 * stdio-common/Makefile (tests): Add bug25.
32136 * stdio-common/bug25.c: New test.
32137
347c92e9
L
321382012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32139
32140 [BZ #13576]
32141 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32142 multiple of MALLOC_ALIGNMENT in size.
32143 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32144
6bcc8b3f
JM
321452012-05-24 Joseph Myers <joseph@codesourcery.com>
32146
32147 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32148 Require >= 256.
32149 (FILENAME_MAX): Use macro-int-constant.
32150 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32151 (_IOFBF): Use macro-int-constant.
32152 (_IOLBF): Likewise.
32153 (_IONBF): Likewise.
32154 (SEEK_CUR): Likewise.
32155 (SEEK_END): Likewise.
32156 (SEEK_SET): Likewise.
32157 (TMP_MAX): Likewise.
32158 (EOF): Use macro-int-constant. Require < 0.
32159 (NULL): Use macro-constant. Require == 0.
32160 (stdin): Require type to be FILE *.
32161 (stdout): Likewise.
32162 (stderr): Likewise.
32163 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32164 macro-int-constant.
32165 (EXIT_SUCCESS): Likewise.
32166 (NULL): Use macro-constant. Require == 0.
32167 (RAND_MAX): Use macro-int-constant.
32168 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32169 [C99-based standards] (strtof): Require function.
32170 [C99-based standards] (strtold): Likewise.
32171 [C99-based standards] (strtoll): Likewise.
32172 [C99-based standards] (strtoull): Likewise.
32173 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32174 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32175 [ISO || ISO99 || ISO11] (math.h): Likewise.
32176 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32177 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32178 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32179
d18ea0c5
AS
321802012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32181
32182 [BZ #14132]
56d25bb8
AS
32183 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32184 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32185 * intl/dgettext.c (DCGETTEXT): Likewise.
32186 * intl/gettext.c (DCGETTEXT): Likewise.
32187 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32188 * posix/regex_internal.h (gettext): Likewise.
32189 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32190 Remove declaration.
32191 * include/argz.h (__argz_count_internal)
32192 (__argz_stringify_internal): Remove declaration.
32193 (__argz_count, __argz_stringify): Declare hidden proto.
32194 * intl/dcgettext.c: Remove use of INTDEF.
32195 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32196 * string/argz-stringify.c: Likewise.
32197 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32198 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32199 Declare hidden proto.
d18ea0c5
AS
32200 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32201 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32202 Declare hidden proto.
32203 * include/stdio.h (__asprintf_internal): Don't declare.
32204 (__asprintf): Don't define as macro. Declare hidden proto.
32205 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32206 (__fsetlocking): Declare hidden proto.
32207 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32208 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32209 hidden proto.
32210 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32211 (_IO_setlinebuf): Remove use of INTUSE.
32212 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32213 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32214 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32215 Remove declaration.
32216 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32217 (_IO_do_flush): Remove use of INTUSE.
32218 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32219 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32220 (_IO_adjust_column, _IO_least_wmarker)
32221 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32222 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32223 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32224 (_IO_default_doallocate, _IO_wdefault_doallocate)
32225 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32226 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32227 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32228 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32229 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32230 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32231 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32232 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32233 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32234 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32235 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32236 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32237 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32238 proto.
32239 (_IO_flush_all_internal, _IO_adjust_column_internal)
32240 (_IO_default_uflow_internal, _IO_default_finish_internal)
32241 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32242 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32243 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32244 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32245 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32246 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32247 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32248 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32249 (_IO_file_close_internal, _IO_file_close_it_internal)
32250 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32251 (_IO_file_init_internal, _IO_file_attach_internal)
32252 (_IO_file_fopen_internal, _IO_file_read_internal)
32253 (_IO_file_sync_internal, _IO_file_seek_internal)
32254 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32255 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32256 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32257 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32258 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32259 (_IO_list_all_internal, _IO_link_in_internal)
32260 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32261 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32262 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32263 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32264 (_IO_do_write_internal, _IO_padn_internal)
32265 (_IO_getline_info_internal, _IO_getline_internal)
32266 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32267 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32268 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32269 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32270 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32271 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32272 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32273 with libc_hidden_ver, remove use of INTUSE.
32274 * libio/genops.c: Likewise.
32275 * libio/freopen.c: Likewise.
32276 * libio/freopen64.c: Likewise.
32277 * libio/iofclose.c: Likewise.
32278 * libio/iofdopen.c: Likewise.
32279 * libio/iofflush.c: Likewise.
32280 * libio/iofflush_u.c: Likewise.
32281 * libio/iofgets.c: Likewise.
32282 * libio/iofgets_u.c: Likewise.
32283 * libio/iofopen.c: Likewise.
32284 * libio/iofopncook.c: Likewise.
32285 * libio/iofread.c: Likewise.
32286 * libio/iofread_u.c: Likewise.
32287 * libio/ioftell.c: Likewise.
32288 * libio/iofwrite.c: Likewise.
32289 * libio/iogetline.c: Likewise.
32290 * libio/iogets.c: Likewise.
32291 * libio/iogetwline.c: Likewise.
32292 * libio/iopadn.c: Likewise.
32293 * libio/iopopen.c: Likewise.
32294 * libio/ioseekoff.c: Likewise.
32295 * libio/ioseekpos.c: Likewise.
32296 * libio/iosetbuffer.c: Likewise.
32297 * libio/iosetvbuf.c: Likewise.
32298 * libio/ioungetc.c: Likewise.
32299 * libio/ioungetwc.c: Likewise.
32300 * libio/iovdprintf.c: Likewise.
32301 * libio/iovsprintf.c: Likewise.
32302 * libio/iovsscanf.c: Likewise.
32303 * libio/memstream.c: Likewise.
32304 * libio/obprintf.c: Likewise.
32305 * libio/oldfileops.c: Likewise.
32306 * libio/oldiofclose.c: Likewise.
32307 * libio/oldiofdopen.c: Likewise.
32308 * libio/oldiofopen.c: Likewise.
32309 * libio/oldiopopen.c: Likewise.
32310 * libio/oldstdfiles.c: Likewise.
32311 * libio/putc.c: Likewise.
32312 * libio/setbuf.c: Likewise.
32313 * libio/setlinebuf.c: Likewise.
32314 * libio/stdfiles.c: Likewise.
32315 * libio/strops.c: Likewise.
32316 * libio/vasprintf.c: Likewise.
32317 * libio/vscanf.c: Likewise.
32318 * libio/vsnprintf.c: Likewise.
32319 * libio/vswprintf.c: Likewise.
32320 * libio/wfiledoalloc.c: Likewise.
32321 * libio/wfileops.c: Likewise.
32322 * libio/wgenops.c: Likewise.
32323 * libio/wmemstream.c: Likewise.
32324 * libio/wstrops.c: Likewise.
32325 * libio/__fpurge.c: Likewise.
32326 * libio/__fsetlocking.c: Likewise.
32327 * assert/assert.c: Likewise.
32328 * debug/fgets_chk.c: Likewise.
32329 * debug/fgets_u_chk.c: Likewise.
32330 * debug/fread_chk.c: Likewise.
32331 * debug/fread_u_chk.c: Likewise.
32332 * debug/gets_chk.c: Likewise.
32333 * debug/obprintf_chk.c: Likewise.
32334 * debug/vasprintf_chk.c: Likewise.
32335 * debug/vdprintf_chk.c: Likewise.
32336 * debug/vsnprintf_chk.c: Likewise.
32337 * debug/vsprintf_chk.c: Likewise.
32338 * malloc/mtrace.c: Likewise.
32339 * misc/error.c: Likewise.
32340 * misc/syslog.c: Likewise.
32341 * stdio-common/asprintf.c: Likewise.
32342 * stdio-common/fxprintf.c: Likewise.
32343 * stdio-common/getw.c: Likewise.
32344 * stdio-common/isoc99_fscanf.c: Likewise.
32345 * stdio-common/isoc99_scanf.c: Likewise.
32346 * stdio-common/isoc99_vfscanf.c: Likewise.
32347 * stdio-common/isoc99_vscanf.c: Likewise.
32348 * stdio-common/isoc99_vsscanf.c: Likewise.
32349 * stdio-common/printf-prs.c: Likewise.
32350 * stdio-common/printf_fp.c: Likewise.
32351 * stdio-common/printf_fphex.c: Likewise.
32352 * stdio-common/printf_size.c: Likewise.
32353 * stdio-common/putw.c: Likewise.
32354 * stdio-common/scanf.c: Likewise.
32355 * stdio-common/sprintf.c: Likewise.
32356 * stdio-common/tmpfile.c: Likewise.
32357 * stdio-common/vfprintf.c: Likewise.
32358 * stdio-common/vfscanf.c: Likewise.
32359 * stdlib/strfmon_l.c: Likewise.
32360 * sunrpc/openchild.c: Likewise.
32361 * sunrpc/xdr_stdio.c: Likewise.
32362 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32363 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32364
d6c33fda
RM
323652012-05-24 Roland McGrath <roland@hack.frob.com>
32366
c1487492
RM
32367 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32368
32369 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32370 in the third column, to generate for the shared library an IFUNC
32371 that uses _dl_vdso_vsym.
32372 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32373 * Makeconfig (object-suffixes-noshared): New variable.
32374
32375 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32376 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32377 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32378 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32379
d6c33fda
RM
32380 [BZ #14132]
32381 * include/sys/time.h (__gettimeofday): Remove macro.
32382 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32383 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32384 Remove INTDEF.
32385 (__gettimeofday): Add libc_hidden_def.
32386 (gettimeofday): Add libc_hidden_weak.
32387 * sysdeps/mach/gettimeofday.c: Likewise.
32388 * sysdeps/posix/gettimeofday.c: Likewise.
32389 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32390 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32392 (__gettimeofday_internal): Remove strong_alias.
32393 (__gettimeofday): Add libc_hidden_def.
32394 (gettimeofday): Add libc_hidden_weak.
32395 * sysdeps/unix/syscalls.list (gettimeofday):
32396 Remove __gettimeofday_internal alias.
32397
b5a2bbe6
L
323982012-05-24 Daniel Jacobowitz <drow@false.org>
32399 H.J. Lu <hongjiu.lu@intel.com>
32400
32401 [BZ #12495]
32402 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32403 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32404 (largebin_index_32_big): New.
32405 (largebin_index): Use it for 16-byte alignment.
32406 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32407 correction with front_misalign.
32408
cfba4fda
L
324092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32410
7f907421
L
32411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32413 Likewise.
32414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32415 Likewise.
32416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32417 Likewise.
32418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32419 Likewise.
32420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32421 Likewise.
32422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32423 Likewise.
32424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32425 Likewise.
32426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32427 Likewise.
32428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32429 Likewise.
32430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32431 Likewise.
32432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32433 Likewise.
32434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32435 Likewise.
32436
cfba4fda
L
32437 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32438 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32439
80bad0cc
JM
324402012-05-24 Joseph Myers <joseph@codesourcery.com>
32441
7a25eb06
JM
32442 [BZ #10846]
32443 [BZ #14036]
32444 * math/libm-test.inc (exp_test): Add test from bug 14036.
32445 (pow_test): Add test from bug 10846.
32446
795405f9
JM
32447 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32448 and other flags.
32449 (special_function): Do not include flags in test name.
32450 (parse_args): Likewise.
32451 * sysdeps/i386/fpu/libm-test-ulps: Update.
32452 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32453 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32454 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32456
80bad0cc
JM
32457 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32458 exceptions.
32459 * math/libm-test.inc ("Philosophy"): Update comment about
32460 exception testing.
32461 (UNDERFLOW_EXCEPTION): New macro.
32462 (UNDERFLOW_EXCEPTION_OK): Likewise.
32463 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32464 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32465 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32466 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32467 (INVALID_EXCEPTION_OK): Update value.
32468 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32469 (OVERFLOW_EXCEPTION_OK): Likewise.
32470 (IGNORE_ZERO_INF_SIGN): Likewise.
32471 (test_exceptions): Handle underflow exceptions.
32472 (acos_test): Update for underflow exception expectations.
32473 (cexp_test): Likewise.
32474 (clog_test): Likewise.
32475 (clog10_test): Likewise.
32476 (csqrt_test): Likewise.
32477 (ctan_test): Likewise.
32478 (ctanh_test): Likewise.
32479 (exp_test): Likewise.
32480 (exp10_test): Likewise.
32481 (exp2_test): Likewise.
32482 (expm1_test): Likewise.
32483 (fma_test): Likewise.
32484 (j0_test): Likewise.
32485 (jn_test): Likewise.
32486 (nexttoward_test): Likewise.
32487 (pow_test): Likewise.
32488 (scalbn_test): Likewise.
32489 (scalbln_test): Likewise.
32490 (tan_test): Likewise.
32491 (y1_test): Likewise.
32492 * sysdeps/i386/fpu/libm-test-ulps: Update.
32493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32494
9e0e3d0b
DM
324952012-05-23 David S. Miller <davem@davemloft.net>
32496
32497 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32498 (__libc_sigaction): Remove unused local variables.
32499
ccd0a08f
L
325002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32501
32502 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32503
62bdf9a6
PE
325042012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32505
f8591f80
PE
32506 mktime: avoid signed integer overflow
32507 * time/mktime.c (__mktime_internal): Do not mishandle the case
32508 where diff == INT_MIN.
32509
94c7d826
PE
32510 mktime: simplify computation of average
32511 * time/mktime.c (ranged_convert): Use new time_t_avg function
32512 instead of rolling our own (probably-slower) code.
32513
ce73d683
PE
32514 mktime: do not assume signed right shift propagates sign bit
32515 * time/mktime.c (isdst_differ): New static function.
32516 (__mktime_internal): No need to normalize tm_isdst now.
32517 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32518 tm_isdst values.
32519
72a22e59
PE
32520 mktime: merge another wrapv change from gnulib
32521 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32522 from some compilers.
32523
68605433
PE
32524 mktime: remove incorrect attempt at unusual arithmetics
32525 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32526 The code didn't really work on such machines anyway.
32527 (TYPE_MINIMUM): Assume two's complement.
32528 (twos_complement_arithmetic): Verify that long_int and time_t
32529 are two's complement (or unsigned, in the latter case).
32530
03cf7fe3
PE
32531 mktime: check signed shifts on long_int and time_t, too
32532 * time/mktime.c (SHR): Check that shifts work as desired
32533 on the types long_int and time_t too, as SHR is used on
32534 such types.
32535
f04dfbc2
PE
32536 mktime: do not assume 'long' is wide enough
32537 * time/mktime.c (verify): Move decl up.
32538 (long_int): New type.
32539 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32540 to remove assumption in the code that 'long' is wide enough to
32541 store year values. This assumption is not true on x32 and on
32542 some non-glibc platforms.
32543
62bdf9a6
PE
32544 mktime: merge wrapv change from gnulib
32545 * time/mktime.c (WRAPV): New macro.
32546 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32547 (guess_time_tm, __mktime_internal): Do not assume that signed
32548 integer overflow wraps around; modern compilers generate code
32549 where this assumption is no longer valid.
32550
5e292e4f
L
325512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32552
32553 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32554 Replace "jmp L(pseudo_end)" with "ret".
32555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32556 Likewise.
32557
8caf8c87
AJ
325582012-05-23 Andreas Jaeger <aj@suse.de>
32559
32560 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32561 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32562
1a09dc56
AJ
325632012-05-23 Andreas Jaeger <aj@suse.de>
32564 Maximilian Attems <max@stro.at>
32565
32566 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32567 New macros.
32568
1c87aba0
L
325692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32570
32571 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32572 code so that pseudo_end is just ret and the stack pointer is
32573 correct also for static library in error case.
32574
40e45bd5
JM
325752012-05-23 Joseph Myers <joseph@codesourcery.com>
32576
c2670533
JM
32577 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32578 move to syscalls.list.
32579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32583
40e45bd5
JM
32584 * manual/install.texi (Running make install): Do not mention Linux
32585 kernel version for which pt_chown is not needed.
32586 (Linux): Do not mention problems with nscd with 2.0 kernels.
32587 * INSTALL: Regenerated.
32588
be08eda5
AJ
325892012-05-23 Andreas Jaeger <aj@suse.de>
32590
32591 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32592 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32593 macro.
32594 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32595 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32596 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32597 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32598 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32599 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32600 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32601 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32602 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32603 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32604 * sysdeps/unix/sysv/linux/bits/in.h
32605 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32606
a6a056bb
RM
326072012-05-22 Roland McGrath <roland@hack.frob.com>
32608
32609 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32610 (PREPARE_VERSION): Just use assert instead, it will be elided
32611 under [NDEBUG] anyway.
32612
c9009328
L
326132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32614
32615 * sysdeps/unix/sysv/linux/Makefile: Include
32616 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 32617 (sysdep_routines): Remove sysctl.
c9009328
L
32618 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32619 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32620 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32621 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32622 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32623
73338355
AJ
326242012-05-22 Andreas Jaeger <aj@suse.de>
32625
32626 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32627 that pseudo_end is just ret and the stack pointer is correct also
32628 for static library in error case.
32629
d44638b0
PP
326302012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32631
32632 [BZ #14122]
32633 * nss/nsswitch.c (defconfig_entries): New variable.
32634 (__nss_database_lookup): Don't leak defconfig entries.
32635 (nss_parse_service_list): Don't leak on error paths.
32636 (free_database_entries): New function.
32637 (free_defconfig): New function.
32638 (free_mem): Move common code to free_database_entries.
32639
31a39bd8
L
326402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32641
da0331a8
L
32642 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32643 Add arch_prctl.
32644 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32645
31a39bd8
L
32646 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32647 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32649 New macro.
32650 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32651 (INTERNAL_SYSCALL_TYPES): Likewise.
32652 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32653 (LOAD_REGS_TYPES_[1-6]): Likewise.
32654 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32655 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32656
45470df3
AZ
326572012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32658
32659 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32660 copysignl for GLIBC_2_0.
32661 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32662 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32663 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32664 logbl for GLIBC_2_0.
32665 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32666 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32667
98a61bcb
L
326682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32669
a4f6e481
L
32670 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32671 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32672
f63d5db6
L
32673 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32674 Use "neg %eax".
32675
98a61bcb
L
32676 * time/mktime.c: Update copyright years.
32677
95770f14
PE
326782012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32679
6226efbd
PE
32680 mktime: merge comment-quoting-style change from gnulib
32681 * time/mktime.c: Quote 'like this' in comments.
32682 The GNU coding standards suggest that we no longer quote `like this',
32683 as "`" and "'" are typically rendered asymmetrically nowadays.
32684 The typical gnulib style is to quote 'like this' when quoting
32685 code, and "like this" when quoting English.
32686
b99e4f78
PE
32687 * time/mktime.c (compile-command): Add "-I.".
32688
643e01e6
PE
32689 mktime: merge mktime-internal.h change from gnulib
32690 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32691
2554247d
PE
32692 mktime: merge time_r change from gnulib
32693 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32694
826dd0ab
PE
32695 mktime: merge DEBUG change from gnulib
32696 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32697 case system <time.h> has a #define.
32698
bd83aabe
PE
32699 mktime: merge <sys/types.h> change from gnulib
32700 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32701 since <time.t> is now guaranteed to define time_t.
32702
95770f14
PE
32703 mktime: merge HAVE_CONFIG_H change from gnulib
32704 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32705
5e1a27a9
L
327062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32707
0e44a77e
L
32708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32709 Use "neg %eax".
32710
5e1a27a9
L
32711 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32712 __rlim_t cast.
32713 (struct rusage): Use anonymous union to pad each field to
32714 __syscall_slong_t.
32715
46259bec
DM
327162012-05-21 David S. Miller <davem@davemloft.net>
32717
32718 * Makefules (o-iterator): Remove .s cases.
32719 (compile-command.s): Delete.
32720 (COMPILE.s): Delete.
32721 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32722
59f0c22e
JM
327232012-05-21 Joseph Myers <joseph@codesourcery.com>
32724
32725 * configure.in (libc_cv_predef_stack_protector): Only consider
32726 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32727 * configure: Regenerated.
32728
20c07380
L
327292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32730
bbb3154b
L
32731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32732 New macro. Use R*LP on int and pointer.
32733 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
32734 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32735 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
32736 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32737
20c07380
L
32738 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32739 [__WORDSIZE_TIME64_COMPAT32] instead of
32740 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32741 (struct utmp): Likewise.
32742 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32743 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32744 Renamed to ...
32745 (__WORDSIZE_TIME64_COMPAT32): This.
32746 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32747 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32748 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32749 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32750 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32751 (__WORDSIZE_TIME64_COMPAT32): New macro.
32752
d8d1017e
AJ
327532012-05-21 Andreas Jaeger <aj@suse.de>
32754
32755 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32756 only if [SHARED]. Add prototype for __wcschr_ia32.
32757
6c7fb145
RM
327582012-05-21 Roland McGrath <roland@hack.frob.com>
32759
32760 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32761 of %rbp unmolested in the jmp_buf while mangling the low bits.
32762 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32763 unmolested high bits of %rbp while demangling the low bits.
32764 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32765
66274218
AJ
327662012-05-21 Andreas Jaeger <aj@suse.de>
32767
07c58f8f
AJ
32768 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32769 * sunrpc/svc_simple.c: Use it for registerrpc.
32770 * sunrpc/xcrypt.c: Use it for passwd2des.
32771
66274218
AJ
32772 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32773
61f65140
L
327742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32775
32776 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32777 Don't define if [__SYSCALL_WORDSIZE != 32].
32778 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32779 New macro.
32780
5fefb436
AJ
327812012-05-21 Bruno Haible <bruno@clisp.org>
32782 Andreas Jaeger <aj@suse.de>
32783
32784 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32785 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32786 inptr and inend for must_buffer_ch.
32787 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32788 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32789 * stdio-common/Makefile (tests): Remove bug15.
32790 (bug15-ENV): Remove macro.
32791 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32792 anymore.
32793
d8e272ab
AJ
327942012-05-19 Andreas Jaeger <aj@suse.de>
32795 Roland McGrath <roland@hack.frob.com>
32796
32797 * manual/contrib.texi: Completely rewritten. It contains now an
32798 alphabetical list of contributors and their contributions.
32799
4a56a162
RH
328002012-05-21 Richard Henderson <rth@twiddle.net>
32801
32802 * misc/getauxval.c (__getauxval): Use unsigned long int.
32803 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32804 (getauxval): Use unsigned long int.
32805
d024d23c
L
328062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32807
32808 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32809
cbc00a03
RM
328102012-05-21 Roland McGrath <roland@hack.frob.com>
32811
32812 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32813 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32814 __alignof__ (long double).
32815
478143fa
AZ
328162012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32817
32818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32819
c7683a6d
RH
328202012-05-20 Richard Henderson <rth@twiddle.net>
32821
32822 * misc/getauxval.c: New file.
32823 * misc/sys/auxv.h: New file.
32824 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32825 (routines): Add getauxval.
32826 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32827 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32828 * elf/dl-sysdep.c (_dl_auxv): Remove.
32829 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32830 * elf/dl-support.c (_dl_auxv): New variable.
32831 (_dl_aux_init): Initialize it.
32832 * manual/startup.texi (Auxiliary Vector): New node.
32833 * sysdeps/generic/bits/hwcap.h: New file.
32834 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32835 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32836 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32837 * sysdeps/sparc/sysdep.h: ... here. Include it.
32838 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32839 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
32840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32841 Update.
c7683a6d
RH
32842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32845 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32850
a6f1845d
AZ
328512012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32852
32853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32854
cbcbe830
DM
328552012-05-19 David S. Miller <davem@davemloft.net>
32856
32857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32858
e0b16cc2
JM
328592012-05-19 Joseph Myers <joseph@codesourcery.com>
32860
32861 [BZ #14123]
32862 * math/s_ccosh.c: Include <float.h>
32863 (__ccosh): Avoid internal overflow calculating sinh and cosh
32864 values before multiplying by sin and cos values.
32865 * math/s_ccoshf.c: Likewise.
32866 * math/s_ccoshl.c: Likewise.
32867 * math/s_csin.c: Likewise.
32868 * math/s_csinf.c: Likewise.
32869 * math/s_csinl.c: Likewise.
32870 * math/s_csinh.c: Likewise.
32871 * math/s_csinhf.c: Likewise.
32872 * math/s_csinhl.c: Likewise.
32873 * math/libm-test.inc (ccos_test): Add more tests.
32874 (ccosh_test): Likewise.
32875 (csin_test): Likewise.
32876 (csinh_test): Likewise.
32877 * sysdeps/i386/fpu/libm-test-ulps: Update.
32878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32879
6ad13e08
L
328802012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32881
f66f0ce8
L
32882 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32883 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32884
6ad13e08
L
32885 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32886
b1d072a7
JM
328872012-05-19 Joseph Myers <joseph@codesourcery.com>
32888
32889 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32890 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32891 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32892 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32893 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32894 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32895 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32896 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32897 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32898 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32899 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32900 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32901 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32902 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32903 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32904 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32905 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32906 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32907 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32908 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32909 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32910 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32911 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32912 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32913 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32914 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32915 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32916 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32917 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32918 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32919 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32920
9eae47cb
AJ
329212012-05-18 Andreas Jaeger <aj@suse.de>
32922
32923 * csu/.gitignore: Delete.
32924
bb07f69f
L
329252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32926
32927 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32928 (timex): Use __syscall_slong_t.
32929
e6bdb741
AJ
329302012-05-18 Andreas Jaeger <aj@suse.de>
32931 Carlos O'Donell <carlos_odonell@mentor.com>
32932
32933 * manual/install.texi (Configuring and compiling): Update
32934 description about files modified in the source directory.
d6c33fda 32935 * INSTALL: Regenerated.
e6bdb741 32936
1b74487e
L
329372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32938
32939 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32940 value. Use "or" to set return value to -1.
32941 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32942 negate return value.
32943
a88b64b9
TMQMF
329442012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32945
57f41c40
AS
32946 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32947 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
32948 failure if the compiler has Graphite support disabled.
32949 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32950 Likewise.
57f41c40
AS
32951 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32952 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
32953 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32954 Likewise.
32955
3707636e
L
329562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32957
610b8622
L
32958 * sysdeps/x86_64/x32/_itoa.h: New file.
32959
7cd195df
L
32960 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32961 getdents system call only if kernel and user dirents have the
32962 same d_ino and d_off.
32963
94b07d20
L
32964 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32965 LLONG_MAX != LONG_MAX.
32966 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32967 (_fitoa_word): Likewise.
32968
18298070
L
32969 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32970 years.
32971 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32972 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32973 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32974
553c7ea4
L
32975 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32976 include <bits/wordsize.h>. Check __x86_64__ instead of
32977 __WORDSIZE.
32978 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32979 if __x86_64__ is defined. Use anonymous union on fpstate.
32980
3707636e
L
32981 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32982 anonymous union.
32983
b53ef01a
AS
329842012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32985
37fb1dc0
AS
32986 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32987 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32988 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32989 Refer to _rtld_local_ro instead of _rtld_global_ro.
32990 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32991 Likewise.
32992 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32993 Likewise.
32994 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32995 Likewise.
32996 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32997 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32998 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32999
b53ef01a
AS
33000 * sysdeps/powerpc/powerpc32/dl-machine.c
33001 (__elf_machine_runtime_setup) [PROF]: Don't reference
33002 _dl_prof_resolve.
33003
7a185db2
AJ
330042012-05-18 Andreas Jaeger <aj@suse.de>
33005
33006 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33007 function only available for GCCs before 3.4 since GCC 3.4
33008 introduced a builtin.
33009 (lrint): Likewise.
33010 (llrintf): Likewise.
33011 (llrint): Likewise.
33012 (fmaxf): Likewise.
33013 (fmax): Likewise.
33014 (fminf): Likewise.
33015 (fmin): Likewise.
33016 (rint): Likewise.
33017 (rintf): Likewise.
33018 (nearbyint): Likewise.
33019 (nearbyintf): Likewise.
33020 (ceil): Likewise.
33021 (ceilf): Likewise.
33022 (floor): Likewise.
33023 (floorf): Likewise.
33024
3e5aef87
L
330252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33026
428bd707
L
33027 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33028 on both fields and cast pointer to __syscall_ulong_t.
33029
3e5aef87
L
33030 * bits/types.h (__fsword_t): New type.
33031 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33032 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33033 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33034 (__FSWORD_T_TYPE): Likewise.
33035 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33036 (__FSWORD_T_TYPE): Likewise.
33037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33038 (__FSWORD_T_TYPE): Likewise.
33039 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33040 (__FSWORD_T_TYPE): Likewise.
33041 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33042 __SWORD_TYPE with __fsword_t.
33043 (statfs64): Likewise.
33044
1ba7c3dc
DM
330452012-05-17 David S. Miller <davem@davemloft.net>
33046
33047 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33048
59910343
AJ
330492012-05-17 Andreas Jaeger <aj@suse.de>
33050
33051 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33052 warning.
33053
2e4c1e9e
L
330542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33055
33056 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33057
de7f5ce7
AJ
330582012-05-17 Andreas Jaeger <aj@suse.de>
33059
33060 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33061 when it is used.
33062
286abc3d
CM
330632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33064
33065 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33066
477cc68e
L
330672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33068
33069 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33070 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33071
1a0994f5
CD
330722012-05-17 Andreas Jaeger <aj@suse.de>
33073 Carlos O'Donell <carlos_odonell@mentor.com>
33074
33075 [BZ #14059]
33076 * sysdeps/x86_64/multiarch/init-arch.h
33077 (bit_YMM_Usable): Rename to...
33078 (bit_AVX_Usable): ... this.
33079 (bit_FMA4_Usable): New macro.
33080 (bit_XMM_state): New macro.
33081 (bit_YMM_state): New macro.
33082 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33083 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33084 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33085 (CPUID_OSXSAVE): New macro.
33086 (CPUID_AVX): New macro.
33087 (CPUID_FMA4): New macro.
33088 (index_YMM_Usable): Rename to...
33089 (index_AVX_Usable): ... this.
33090 (HAS_AVX): Use HAS_ARCH_FEATURE.
33091 (HAS_FMA4): Likewise.
33092 (HAS_YMM_USABLE): Remove.
33093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33094 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33095 are present.
33096 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33097 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33098 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33099 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33100 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33101
0af797de
CM
331022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33103
33104 * math/libm-test.c: Support platforms without multiple rounding modes.
33105 * math/bug-nextafter.c: Support platforms without FP exceptions.
33106 * math/bug-nexttoward.c: Likewise.
33107 * math/test-fenv.c: Likewise.
33108 * math/test-misc.c: Likewise.
33109 * stdlib/bug-getcontext.c: Likewise.
33110
e39745ff
AJ
331112012-05-17 Andreas Jaeger <aj@suse.de>
33112
33113 * manual/examples/search.c (critter_cmp): Change signature to
33114 avoid warnings.
33115 * manual/string.texi (Collation Functions): Likewise.
33116
48970aba
L
331172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33118
33119 * bits/types.h: Fold copyright years.
33120 * bits/typesizes.h: Likewise.
33121 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33124 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33125 * time/time.h: Likewise.
33126
bedee953
PP
331272012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33128
33129 [BZ #208]
33130 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33131 in instead of returning them. Return void.
33132 (__libc_mallinfo): Accumulate over all arenas.
33133 (__malloc_stats): Adjust for change in int_mallinfo interface.
33134
61653dfb
RM
331352012-05-16 Roland McGrath <roland@hack.frob.com>
33136
30b99d79
RM
33137 [BZ #10375]
33138 * configure.in (NM): Add AC_CHECK_TOOL for it.
33139 (libc_extra_cflags): New substituted variable.
33140 Check for -fstack-protector being used implicitly.
33141 * configure: Regenerated.
33142 * config.make.in (config-extra-cflags): New variable,
33143 gets @libc_extra_cflags@.
33144 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33145
61653dfb
RM
33146 [BZ #10375]
33147 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33148 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33149 * configure: Regenerated.
33150 * config.make.in (CPPUNDEFS): New substituted variable.
33151 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33152 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33153 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33154
661768bb
L
331552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33156
33157 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33158 (mq_attr): Use __syscall_slong_t.
33159
d4261567
L
331602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33161
33162 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33163 Check __x86_64__ instead of __WORDSIZE.
33164 (_STAT_VER_LINUX): Likewise.
33165 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33166 __syscall_ulong_t and __syscall_slong_t.
33167 (stat64): Likewise.
33168
cf3ff365
L
331692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33170
33171 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33172
76cf3e4d
L
331732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33174
33175 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33176
a637753a
L
331772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33178
33179 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33180 __syscall_ulong_t.
33181
d5e05119
L
33182 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33183 include <bits/wordsize.h>. Check __x86_64__ instead of
33184 __WORDSIZE.
33185 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33186 defined.
33187 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33188
f62ee380
L
33189 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33190 include <bits/wordsize.h>. Check __x86_64__ instead of
33191 __WORDSIZE.
33192 (user_regs_struct): Use "__extension__ unsigned long long"
33193 instead of "unsigned long" if __x86_64__ is defined.
33194 (user): Likewise. Pad after pointer field if __ILP32__ is
33195 defined.
33196
4e124ced
JM
331972012-05-16 Joseph Myers <joseph@codesourcery.com>
33198
6a3951a0
JM
33199 * configure.in (makeinfo): Require version 4.5 or later. Allow
33200 versions 5 to 9.
33201 * configure: Regenerated.
33202 * manual/install.texi (texinfo): Increase version requirement to
33203 4.5 or later.
33204 * INSTALL: Regenerated.
33205
4e124ced
JM
33206 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33207
953ca31a
L
332082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33209
33210 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33211
617aca05
L
33212 * sysdeps/x86_64/x32/ffs.c: New file.
33213
5762f7ae
L
33214 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33215 __syscall_ulong_t.
33216 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33217 defined. Use __syscall_ulong_t.
33218 (shminfo): Use __syscall_ulong_t.
33219 (shm_info): Likewise.
33220
a26b6856
L
33221 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33222 __syscall_ulong_t.
33223
cb2b9ef7
L
33224 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33225 <bits/wordsize.h>.
33226 (msgqnum_t): Use __syscall_ulong_t.
33227 (msglen_t): Likewise.
33228 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33229 __syscall_ulong_t.
33230
34683bb0
L
33231 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33232 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33233
84a68786
L
33234 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33235
48baa5f1
L
33236 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33237 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33238
180be88b
L
33239 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33240 __syscall_slong_t.
33241
5e90c8ad
L
33242 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33243 include <bits/wordsize.h>. Check __x86_64__ instead of
33244 __WORDSIZE.
33245
23dfb58b
L
33246 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33247 "unsigned long long int" if __x86_64__ is defined.
33248 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33249
ce5d54b0
L
33250 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33251 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33252 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33253
13dc9eac
L
33254 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33255 <stdint.h>.
33256 (GET_PC): Cast to uintptr_t first.
33257 (GET_FRAME): Likewise.
33258 (GET_STACK): Likewise.
33259
a7895d15
L
33260 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33261 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33262 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33263 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33264 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33265 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33266 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33267 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33268 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33269 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33270 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33271 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33272 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33273 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33274 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33275 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33276 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33277 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33278 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33279 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33280 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33281 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33282 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33283 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33284 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33285 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33286 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33287 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33288 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33289
656416c9
AS
332902012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33291
5bd66283
AS
33292 * Makerules (+depfiles): Also collect depfiles from .oS in
33293 $(extra-objs).
33294 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33295 .oS, $(libnldbl-routines)).
33296
656416c9
AS
33297 * Makerules (native-compile-mkdep-flags): Define.
33298 * sunrpc/Makefile (extra-objs): Add $(addprefix
33299 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33300 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33301 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33302 calling $(make-target-directory).
33303
a46f2169
L
333042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33305
33306 * bits/types.h (__snseconds_t): Removed.
33307 * time/time.h (struct timespec): Replace __snseconds_t with
33308 __syscall_slong_t.
33309 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33310 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33311 Likewise.
33312 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33313 (__SNSECONDS_T_TYPE): Likewise.
33314 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33315 (__SNSECONDS_T_TYPE): Likewise.
33316 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33317 (__SNSECONDS_T_TYPE): Likewise.
33318
6af6528b
L
333192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33320
33321 * sysdeps/mach/hurd/bits/typesizes.h
33322 (__SYSCALL_SLONG_TYPE): New macro.
33323 (__SYSCALL_ULONG_TYPE): Likewise.
33324
de986b56
L
333252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33326
33327 * bits/types.h (__syscall_slong_t): New type.
33328 (__syscall_ulong_t): Likewise.
33329
33330 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33331 (__SYSCALL_ULONG_TYPE): Likewise.
33332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33333 (__SYSCALL_SLONG_TYPE): Likewise.
33334 (__SYSCALL_ULONG_TYPE): Likewise.
33335 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33336 (__SYSCALL_SLONG_TYPE): Likewise.
33337 (__SYSCALL_ULONG_TYPE): Likewise.
33338 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33339 (__SYSCALL_SLONG_TYPE): Likewise.
33340 (__SYSCALL_ULONG_TYPE): Likewise.
33341
85736dc7
L
333422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33343
33344 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33345 Add sigaltstack-offsets.sym.
33346 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33347 <sigaltstack-offsets.h>.
33348 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33349 longjmp_msg pointer.
33350 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33351 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33352 signal stack.
33353 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33354
cc03b296
JM
333552012-05-15 Joseph Myers <joseph@codesourcery.com>
33356
a9538892
JM
33357 * elf/stackguard-macros.h: Remove file.
33358 * sysdeps/generic/stackguard-macros.h: New file.
33359 * sysdeps/i386/stackguard-macros.h: Likewise.
33360 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33361 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33362 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33363 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33364 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33365 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33366 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33367 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33368 <elf/stackguard-macros.h>.
33369
cc03b296
JM
33370 [BZ #14109]
33371 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33372 __aligned__ in attribute.
33373 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33374 (gregset_t): Likewise.
33375
93171016
L
333762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33377
33378 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33379 * sysdeps/x86_64/64/Implies-after: Here. New file.
33380 * sysdeps/x86_64/x32/Implies-after: New file.
33381
d86813a0
L
333822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33383
33384 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33385 and access return value for _dl_profile_fixup. Use R10_LP to
33386 load frame size.
33387
2953ec75
L
333882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33389
33390 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33391
3b550e9e
L
333922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33393
33394 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33395 * sysdeps/x86_64/x32/sysdep.h: New file.
33396
eda41706
L
333972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33398
33399 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33400 * sysdeps/x86_64/setjmp.S: Likewise.
33401
9ea01d93
AZ
334022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33403
33404 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33405 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33406 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33407 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33408 remove unused global constant.
33409
02a91938
CM
334102012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33411
33412 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33413 include of <not-cancel.h>.
33414
6540185f
RM
334152012-05-15 Roland McGrath <roland@hack.frob.com>
33416
33417 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33418
509072a0
AJ
334192012-05-15 Jeff Law <law@redhat.com>
33420 Andreas Jaeger <aj@suse.de>
33421
33422 [BZ #13594]
33423 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33424 out from...
33425 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33426 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33427 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33428 code changing __hst_map_handle.map.
33429
ba75122d
RM
334302012-05-15 Roland McGrath <roland@hack.frob.com>
33431
33432 * configure.in (sysnames): Look for Implies-before and Implies-after
33433 files.
33434 * configure: Regenerated.
33435
890d8bd8
L
334362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33437
33438 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33439 8-byte data alignment with LP_SIZE alignment.
33440
f6ee6623
L
334412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33442
33443 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33444 into R10_LP.
33445
ea2626f6
L
334462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33447
33448 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33449
085f715e
L
334502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33451
33452 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33453 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33454 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33455 Likewise.
33456 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33457
be8498fc
L
334582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33459
33460 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33461 (stackinfo_sub_sp): Likewise.
33462
70bc83b9
L
334632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33464
33465 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33466 RAX_LP.
33467
9bc0b730
L
334682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33469
33470 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33471 into R*_LP.
33472
6d2850e7
L
334732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33474
33475 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33476 sizes into R*_LP.
33477
3cb84561
L
334782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33479
33480 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33481
54e2ed81
L
334822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33483
33484 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33485 into R11_LP and load __x86_64_shared_cache_size_half into
33486 R8_LP.
33487
8a17f349
L
334882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33489
33490 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33491 R8_LP.
33492
777b1eea
AZ
334932012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33494
33495 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33496 logb for POWER7.
33497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33498 logbf for POWER7.
33499 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33500 logbl for POWER7.
33501 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33502 powerpc32/power7/fpu/s_logb.c via #include.
33503 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33504 powerpc32/power7/fpu/s_logbf.c via #include.
33505 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33506 powerpc32/power7/fpu/s_logbl.c via #include.
33507
d20d4ac2
JM
335082012-05-15 Joseph Myers <joseph@codesourcery.com>
33509
33510 * README.libm: Remove file.
33511
6cdef1ab
L
335122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33513
33514 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33515 count for x32. Use R*_LP and omit operand-size suffix.
33516
0b254d8f
L
335172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33518
33519 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33520 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33521 * sysdeps/x86_64/x32/shlib-versions: New file.
33522
ceb809dc
RM
335232012-05-14 Roland McGrath <roland@hack.frob.com>
33524
33525 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33526 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33527 Use _dl_fatal_printf instead.
33528
37f1abd4
JM
335292012-05-14 Joseph Myers <joseph@codesourcery.com>
33530
33531 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33532 set if not set by the user. Do not allow for being unset.
33533 * sysdeps/unix/sysv/linux/configure: Regenerated.
33534
11de3a33
L
335352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33536
33537 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33538 the `q' suffix from lea and replace .quad with ASM_ADDR.
33539
e02f153a
L
335402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33541
33542 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33543 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33544 instead of $17.
33545 (PTR_DEMANGLE): Likewise.
33546
520ae0fd
L
335472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33548
33549 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33550 (LP_OP): Likewise.
33551 (ASM_ADDR): Likewise.
33552 (RAX_LP): Likewise.
33553 (RBP_LP): Likewise.
33554 (RBX_LP): Likewise.
33555 (RCX_LP): Likewise.
33556 (RDI_LP): Likewise.
33557 (RSI_LP): Likewise.
33558 (RSP_LP): Likewise.
33559 (R8_LP): Likewise.
33560 (R9_LP): Likewise.
33561 (R10_LP): Likewise.
33562 (R10_LP): Likewise.
33563 (R11_LP): Likewise.
33564 (R12_LP): Likewise.
33565 (R13_LP): Likewise.
33566 (R14_LP): Likewise.
33567 (R15_LP): Likewise.
33568
b985be81
L
335692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33570
33571 * sysdeps/x86_64/x32/dl-machine.h: New file.
33572
6a4888ff
AJ
335732012-05-14 Andreas Jaeger <aj@suse.de>
33574
33575 * manual/Makefile (subdir): Remove export of subdir.
33576 (all): Remove target.
33577 (.PHONY): Remove all from list.
33578 (mkinstalldirs): Remove.
33579 (.PHONY): Remove installdirs from list.
33580 ($(inst_infodir)/libc.info): Use make-target-directory.
33581 (installdirs): Remove.
33582 (subdir_%): Remove.
33583 (glibc-targets): Remove.
33584 (lib): Remove.
33585 (stubs): Remove.
33586 ($(objpfx)stubs ../po/manual.pot): Remove.
33587 ($(objpfx)stamp%): Remove.
33588 (make-target-directory): Remove.
33589 (subdir_install): Remove.
33590 (routines): Remove.
33591 (aux): Remove.
33592 (sources): Remove.
33593 (objects): Remove.
33594 (headers): Remove.
33595
33596 [BZ #13750]
33597 * manual/.gitignore: Remove, it's not needed anymore.
33598 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33599 all files in it.
33600 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33601 directory.
33602 (texis): Renamed to $(objpfx)texis.
33603 (texis-path): New, contains path to generated files.
33604 (chapters.%): Use texis-path for complete path, add extra argument
33605 libc-texinfo.sh.
33606 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33607 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33608 (summary,texi, stamp-summary): Use complete path of
33609 files. Generate files in build dir.
33610 (dir-add.texi): Build in build dir.
33611 (libm-err.texi,stamp-libm-err): Likewise.
33612 (version.texi, stamp-version): Likewise.
33613 (.%c.texi): Likewise.
33614 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33615 (mostlyclean): Remove target.
33616 (realclean): Remove target.
33617 (generated): Add new variable with contents from mostlyclean and
33618 realclean, remove entries duplicated in common-mostlyclean, add
33619 stamp-libm-err and stamp-version.
33620 (generated-dirs): Add libc directory.
33621 ($(inst_infodir)/libc.info): Install files from build dir.
33622
33623 * manual/install.texi (Configuring and compiling): Adjust since
33624 the info files are not part of the tar ball anymore.
33625
7ac77294
AJ
336262012-05-14 Andreas Jaeger <aj@suse.de>
33627
33628 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33629 variable.
33630
ffb7875d
JM
336312012-05-14 Joseph Myers <joseph@codesourcery.com>
33632
33633 [BZ #13717]
33634 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33635 to 2.2.0 where earlier.
33636 * sysdeps/unix/sysv/linux/configure: Regenerated.
33637 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33638 Remove conditional code.
33639 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33640 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33641 Remove conditional code.
33642 [!__NR_lchown]: Likewise.
33643 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33644 [__NR_lchown]: Likewise.
33645 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33646 comment referencing __ASSUME_LCHOWN_SYSCALL.
33647 * sysdeps/unix/sysv/linux/i386/sigaction.c
33648 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33649 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33650 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33651 Remove conditional code.
33652 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33653 (__protocol_available): Remove #if 0 code.
33654 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33655 conditional code.
33656 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33657 * sysdeps/unix/sysv/linux/kernel-features.h
33658 (__ASSUME_GETCWD_SYSCALL): Don't define.
33659 (__ASSUME_REALTIME_SIGNALS): Likewise.
33660 (__ASSUME_PREAD_SYSCALL): Likewise.
33661 (__ASSUME_PWRITE_SYSCALL): Likewise.
33662 (__ASSUME_POLL_SYSCALL): Likewise.
33663 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33664 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33665 non-SPARC.
33666 (__ASSUME_SIOCGIFNAME): Don't define.
33667 (__ASSUME_MSG_NOSIGNAL): Likewise.
33668 (__ASSUME_SENDFILE): Define unconditionally.
33669 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33670 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33671 conditional code.
33672 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33673 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33674 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33675 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33676 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33677 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33678 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33680 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33683 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33684 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33686 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33689 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33690 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33692 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33693 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33695 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33696 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33698 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33701 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33702 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33703 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33704 Remove conditional code.
33705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33706 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33707 Remove conditional code.
33708 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33709 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33710 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33711 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33712 Remove conditional code.
33713 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33714 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33715 Remove conditional code.
33716 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33717 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33718 Remove conditional code.
33719 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33720 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33721 Remove conditional code.
33722 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33723 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33724 Remove conditional code.
33725 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33726 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33727 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33728 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33729 * sysdeps/unix/sysv/linux/sigaction.c
33730 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33731 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33732 * sysdeps/unix/sysv/linux/sigpending.c
33733 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33734 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33735 * sysdeps/unix/sysv/linux/sigprocmask.c
33736 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33737 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33738 * sysdeps/unix/sysv/linux/sigsuspend.c
33739 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33740 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33741 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33742 (__libc_missing_rt_sigs): Remove.
33743 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33744 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33745 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33746 Remove conditional code.
33747 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33748 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33749 return 1.
33750 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33751 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33752 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33753 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33754
1bfb7291
AJ
337552012-05-14 Andreas Jaeger <aj@suse.de>
33756
caae5a81
AJ
33757 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33758 it's not used in glibc.
33759 (__coshm1): Likewise.
33760 (__acosh1p): Likewise.
33761 (__sgn): Likewise.
33762
1bfb7291
AJ
33763 * manual/string.texi (Copying and Concatenation): Add missing
33764 variable in concat example.
33765 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33766
c044d724
L
337672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33768
144c5467 33769 [BZ #14103]
c044d724
L
33770 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33771 __builtin_clzl with __builtin_clzll.
33772
2523c62b
L
337732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33774
33775 [BZ #14104]
33776 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33777 libc_freeres_ptr.
33778
d7bb4c42
LD
337792012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33780
33781 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33782 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33783 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33784 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33785
9dc4e1fb
MF
337862012-05-14 Mike Frysinger <vapier@gentoo.org>
33787
33788 * NEWS: Update ia64 info.
33789
c7df0112
AS
337902012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33791
33792 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33793 used as bcopy.
33794
dc70356c
TS
337952012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33796
33797 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33798 * sysdeps/unix/syscalls.list (dup3): Likewise.
33799 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33800 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33801
9fb1a21f
L
338022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33803
33804 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33805 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33806
4822a2a5
L
338072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33808
33809 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33810 thread pointer.
33811 (TLS_IE): Use mov/add instead of movq/addq to load thread
33812 pointer.
33813 (TLS_GD_PREFIX): New.
33814 (TLS_GD): Use it.
33815
842b81d6
DM
338162012-05-11 David S. Miller <davem@davemloft.net>
33817
33818 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33819 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33820 (_FPU_SETCW): Likewise.
33821
1cf463cd
L
338222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33823
33824 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33825 is 32-byte aligned.
33826
60cc4a18
AS
338272012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33828
33829 [BZ #11837]
33830 * iconvdata/gb18030.c: Update tables.
33831 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33832 characters specially.
33833 (BODY for TO_LOOP): Add encoding of missing ranges.
33834
febb44a4
TS
338352012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33836
33837 [BZ #13673]
33838 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33839 * sysdeps/mach/hurd/dup3.c: Likewise.
33840 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33841 * sysdeps/powerpc/memmove.c:: Likewise.
33842
0a10fb9e
L
338432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33844
33845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33846 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33847
df8a552f
L
338482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33849
33850 * elf/elf.h (R_X86_64_RELATIVE64): New.
33851 (R_X86_64_NUM): Updated.
33852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33853 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33854 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33855 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33856 tst-quad1pie tst-quad2pie
33857 (modules-names): Add tst-quadmod1 tst-quadmod2.
33858 ($(objpfx)tst-quad1): New dependency.
33859 ($(objpfx)tst-quad2): Likewise.
33860 ($(objpfx)tst-quad1pie): Likewise.
33861 ($(objpfx)tst-quad2pie): Likewise.
33862 * sysdeps/x86_64/tst-quad1.c: New file.
33863 * sysdeps/x86_64/tst-quad1pie.c: New file.
33864 * sysdeps/x86_64/tst-quad2.c: Likewise.
33865 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33866 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33867 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33868 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33869 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33870
f34d6f84
ST
338712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33872
f42d41d1
ST
33873 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33874 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33875 * streams/stropts.h (t_scalar_t): Define type.
33876
3c3571fc
ST
33877 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33878 (_PATH_PRESERVE): Set to "/var/lib".
33879 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33880
61f06bd3
ST
33881 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33882 instead of int.
33883
918d4d71
ST
33884 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33885 if __dir_mkfile succeeded.
33886
f34d6f84
ST
33887 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33888 checking for _hurd_dtablesize. Unlock it right after having
33889 finished _hurd_dtable allocation.
33890
10589b4a
TS
338912012-05-10 Thomas Schwinge <thomas@schwinge.name>
33892
674cdbc7
TS
33893 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33894 * sysdeps/mach/hurd/configure: Regenerated.
33895 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33896 special-casing to...
33897 * sysdeps/gnu/configure.in: ... this new file.
33898 * sysdeps/unix/sysv/linux/configure: Regenerated.
33899 * sysdeps/gnu/configure: New generated file.
33900
8e41b99f
TS
33901 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33902 for Linux: use nsec instead of usec, as well as:
33903 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33904 members of type struct timespec.
33905 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33906 New macros.
33907 (struct stat64): Likewise.
33908 (_STATBUF_ST_NSEC): New macro.
33909 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33910
10589b4a
TS
33911 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33912 __strtoul_internal rather than strtoul.
33913
63643c85
PT
339142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33915
33916 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33917 and reject them.
33918
3faebe6a
ST
339192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33920
33921 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33922 which preserves existing values.
33923 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33924
c6474b07
PT
339252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33926
33927 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33928 TIMEOUT values. Return EINVAL for NFDS values either negative or
33929 greater than FD_SETSIZE.
33930
1043890b
ST
339312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33932
33933 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33934 allocated, call __vm_protect to finish enabling the existing space, and
33935 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33936 allocate the remainder.
33937
37ed8b9b
PT
339382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33939
33940 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33941 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33942
db653660
ST
339432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33944
37ed8b9b
PT
33945 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33946 sysdeps/mach/hurd/readlink.c.
b29d4053 33947
db653660
ST
33948 * posix/tst-sysconf.c (posix_options): Only use
33949 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33950 _POSIX_SYNCHRONIZED_IO when they are defined
33951 * sysdeps/mach/hurd/bits/posix_opt.h:
33952 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33953 (_XOPEN_REALTIME): Undefine macro.
33954 (_XOPEN_REALTIME_THREADS): Undefine macro.
33955 (_XOPEN_SHM): Undefine macro.
33956 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33957 macro to -1.
33958 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33959 macro to -1.
33960 (_POSIX_ASYNC_IO): Undefine macro.
33961 (_POSIX_PRIORITIZED_IO): Undefine macro.
33962 (_POSIX_SPIN_LOCKS): Define macro to -1.
33963
ee16e894
ST
33964 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33965 SA_NODEFER, SA_RESETHAND.
33966 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33967 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33968 F_DUPFD_CLOEXEC.
33969
6103ae3b
TS
339702012-05-10 Thomas Schwinge <thomas@schwinge.name>
33971
33972 * elf/Makefile (pldd-modules): Define unconditionally.
33973
80b4e5f3
TS
339742012-05-10 Thomas Schwinge <thomas@schwinge.name>
33975
33976 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33977
edadcbd6
ST
339782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33979
33980 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33981 Return ENOENT when name is empty.
33982 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33983
80694780
TS
339842012-05-10 Thomas Schwinge <thomas@schwinge.name>
33985
1792c087
TS
33986 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33987
80694780
TS
33988 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33989
6b645f0d
ST
339902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33991
80694780
TS
33992 Fix mlock in all cases except non-readable pages.
33993 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33994 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 33995
6b645f0d
ST
33996 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33997 (__mkdir): When path is `/', just fail with EEXIST.
33998 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33999
e468f8a3
TS
340002012-05-10 Thomas Schwinge <thomas@schwinge.name>
34001
34002 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34003 <sys/uio.h> (for writev).
34004 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34005 and <sys/param.h> (for MIN).
34006
a4186cff
PT
340072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34008
34009 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34010 REQUESTED_TIME. Properly set the remaining time and return EINTR
34011 if interrupted.
34012
510bbf14
TS
340132012-05-10 Thomas Schwinge <thomas@schwinge.name>
34014
34015 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34016 Depend on against $(link-rpcuserlibs).
34017
5d5722e8
ST
340182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34019
a4186cff
PT
34020 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34021 (__libc_stack_end): Do not use attribute_relro.
34022 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34023 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 34024 to libthread-provided value.
a4186cff
PT
34025 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34026 attribute_relro.
5d5722e8 34027
37233df9
TS
340282012-05-10 Thomas Schwinge <thomas@schwinge.name>
34029
be971a2b
TS
34030 [BZ #3748]
34031 * bits/libc-lock.h (__libc_once_get): New macro.
34032 * sysdeps/mach/bits/libc-lock.h: Likewise.
34033 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34034 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34035 instead of using implementation details.
34036
37233df9
TS
34037 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34038 * libio/freopen.c: Likewise.
34039 * libio/freopen64.c: Likewise.
34040 * misc/syslog.c: Likewise.
34041 * nscd/connections.c: Likewise.
34042 * nscd/netgroupcache.c: Likewise.
34043 * sysdeps/posix/getcwd.c: Likewise.
34044
38de94a5
RM
340452012-05-10 Roland McGrath <roland@hack.frob.com>
34046
34047 * math/w_ilogbf.c: Add #include <limits.h>.
34048
67530489
ST
340492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34050
a4186cff 34051 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
34052 path instead of returning without unlocking.
34053
67530489
ST
34054 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34055 immediate-write ioctls.
34056 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34057
5aa3a74a
TS
340582012-05-10 Thomas Schwinge <thomas@schwinge.name>
34059
18bad2ae
TS
34060 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34061 __builtin_frame_address instead of making assumptions about the
34062 location of the return address relative to DATA. Force early load of
34063 the return address.
34064 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34065 __builtin_frame_address.
34066
5aa3a74a
TS
34067 dup3 for GNU Hurd.
34068 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34069 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34070 implement dup3 and do some further code clean-ups.
34071 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34072 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34073
ecd0de9a
ST
340742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34075
cd9fa985
ST
34076 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34077
a4186cff
PT
34078 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34079 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34080 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34081 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34082 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34083 d->port.lock.
802ca5a5 34084
a4186cff
PT
34085 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34086 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34087 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 34088
bcf55240
TS
340892012-05-10 Thomas Schwinge <thomas@schwinge.name>
34090
6960eb42
TS
34091 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34092 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34093 definitions.
34094
eb43375f
TS
34095 accept4 for GNU Hurd.
34096 * include/sys/socket.h (__libc_accept4): New prototype.
34097 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34098 to implement __libc_accept4.
34099 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34100 __libc_accept4.
34101 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34102
bcf55240
TS
34103 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34104 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34105 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34106 signal-defines.sym.
34107
6178c55b
ST
341082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34109
a4186cff 34110 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 34111
6f080c2f
TS
341122012-05-10 Thomas Schwinge <thomas@schwinge.name>
34113
34114 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34115 assertion on O_CLOEXEC flag.
34116 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34117 * hurd/intern-fd.c: Likewise.
34118 * hurd/port2fd.c: Likewise.
34119
bcfe3a54
ST
341202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34121
34122 [BZ #3906]
34123 * bits/in.h (IPV6_PKTINFO): Define new macro.
34124 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34125
89c9aa49
AZ
341262012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34127
34128 [BZ #13954]
34129 [BZ #13955]
34130 [BZ #13956]
34131 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34133 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34134 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34135 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34136 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34137 * math/libm-test.inc (logb_test) : Additional logb tests.
34138
021db4be
AJ
341392012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34140 Andreas Jaeger <aj@suse.de>
34141
34142 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34143 * configure: Regenerated.
34144 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34145 * config.make.in (link-obsolete-rpc): New substituted variable.
34146 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34147 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34148 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34149 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34150 so that libc.a contains the symbols.
34151 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34152 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34153 * sunrpc/auth_none.c: Likewise.
34154 * sunrpc/auth_unix.c: Likewise.
34155 * sunrpc/authdes_prot.c: Likewise.
34156 * sunrpc/authuxprot.c: Likewise.
34157 * sunrpc/clnt_gen.c: Likewise.
34158 * sunrpc/clnt_perr.c: Likewise.
34159 * sunrpc/clnt_raw.c: Likewise.
34160 * sunrpc/clnt_simp.c: Likewise.
34161 * sunrpc/clnt_tcp.c: Likewise.
34162 * sunrpc/clnt_udp.c: Likewise.
34163 * sunrpc/clnt_unix.c: Likewise.
34164 * sunrpc/des_crypt.c: Likewise.
34165 * sunrpc/des_soft.c: Likewise.
34166 * sunrpc/get_myaddr.c: Likewise.
34167 * sunrpc/key_call.c: Likewise.
34168 * sunrpc/key_prot.c: Likewise.
34169 * sunrpc/netname.c: Likewise.
34170 * sunrpc/pm_getmaps.c: Likewise.
34171 * sunrpc/pm_getport.c: Likewise.
34172 * sunrpc/pmap_clnt.c: Likewise.
34173 * sunrpc/pmap_prot.c: Likewise.
34174 * sunrpc/pmap_prot2.c: Likewise.
34175 * sunrpc/pmap_rmt.c: Likewise.
34176 * sunrpc/publickey.c: Likewise.
34177 * sunrpc/rpc_cmsg.c: Likewise.
34178 * sunrpc/rpc_common.c: Likewise.
34179 * sunrpc/rpc_dtable.c: Likewise.
34180 * sunrpc/rpc_prot.c: Likewise.
34181 * sunrpc/rpc_thread.c: Likewise.
34182 * sunrpc/rtime.c: Likewise.
34183 * sunrpc/svc.c: Likewise.
34184 * sunrpc/svc_auth.c: Likewise.
34185 * sunrpc/svc_raw.c: Likewise.
34186 * sunrpc/svc_run.c: Likewise.
34187 * sunrpc/svc_tcp.c: Likewise.
34188 * sunrpc/svc_udp.c: Likewise.
34189 * sunrpc/svc_unix.c: Likewise.
34190 * sunrpc/svcauth_des.c: Likewise.
34191 * sunrpc/xcrypt.c: Likewise.
34192 * sunrpc/xdr.c: Likewise.
34193 * sunrpc/xdr_array.c: Likewise.
34194 * sunrpc/xdr_float.c: Likewise.
34195 * sunrpc/xdr_intXX_t.c: Likewise.
34196 * sunrpc/xdr_mem.c: Likewise.
34197 * sunrpc/xdr_rec.c: Likewise.
34198 * sunrpc/xdr_ref.c: Likewise.
34199 * sunrpc/xdr_sizeof.c: Likewise.
34200 * sunrpc/xdr_stdio.c: Likewise.
34201
b5c086a2
RM
342022012-05-10 Roland McGrath <roland@hack.frob.com>
34203
34204 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34205 change. Update copyright years.
34206
6d74dd09
JM
342072012-05-10 Joseph Myers <joseph@codesourcery.com>
34208
34209 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34210
28e72501
MK
342112012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34212 Joseph Myers <joseph@codesourcery.com>
34213 Paul Pluzhnikov <ppluzhnikov@google.com>
34214
34215 [BZ #14012]
34216 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34217 requiring rpcgen.
34218 [cross-compiling] (extra-libs): Likewise.
34219 [cross-compiling] (extra-libs-others): Likewise.
34220 [cross-compiling] (librpcsvc-routines): Likewise.
34221 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34222 [cross-compiling] (omit-deps): Likewise.
34223 (sunrpc-CPPFLAGS): New variable.
34224 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34225 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34226 (cross-rpcgen-objs): New variable.
34227 (extra-objs): Append $(cross-rpcgen-objs).
34228 ($(cross-rpcgen-objs)): New rule.
34229 ($(objpfx)cross-rpcgen): Likewise.
34230 (rpcgen-cmd): Define to use $(built-program-file). Expand
34231 comment.
34232 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34233 ($(objpfx)x%.stmp): Likewise.
34234 * sunrpc/proto.h [IS_IN_build] (_): Define.
34235 [IS_IN_build] (_libc_intl_domainname): Likewise.
34236
c8c59454
L
342372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34238
34239 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34240 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34241 and R_X86_64_TPOFF64.
34242
6f27cd16
JM
342432012-05-10 Joseph Myers <joseph@codesourcery.com>
34244
34245 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34246 sysdeps/unix/sysv/syscalls.list.
34247 (stime): Likewise.
34248 (utime): Likewise.
34249 * sysdeps/unix/sysv/syscalls.list: Remove file.
34250
02467e1c
PE
342512012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34252
34253 [BZ #3440]
34254 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34255 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34256 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34257 (__LC_IDENTIFICATION): Make these macros useful in #if
34258 expressions, as required by C99.
34259
da392631
AS
342602012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34261
34262 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34263 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34264 after this.
34265
8115f29b
L
342662012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34267
34268 * stdlib/longlong.h: Updated from GCC.
34269
bdd74070
AJ
342702012-05-09 Andreas Jaeger <aj@suse.de>
34271
edfe0dbe
AJ
34272 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34273 default is first entry.
34274 (run_mode): Set type.
34275 (main): Remove informal message about syslog.
34276 (options): Fix typo.
34277
bcfe3a54
ST
34278 [BZ #14053]
34279 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 34280 to asm.
bcfe3a54
ST
34281 (lrint): Likewise.
34282 (llrintf): Likewise.
34283 (llrint): Likewise.
34284 (rint): Likewise.
34285 (rintf): Likewise.
34286 (nearbyint): Likewise.
34287 (nearbyintf): Likewise.
bdd74070 34288
91d8d69e
AJ
342892012-05-09 Andreas Jaeger <aj@suse.de>
34290 Pedro Alves <palves@redhat.com>
34291
34292 * nscd/nscd.c (run_mode): Use enum.
34293 (main): Cleanup coding style issue.
34294
bb90b80b
AJ
342952012-05-09 Alexandre Oliva <aoliva@redhat.com>
34296 Andreas Jaeger <aj@suse.de>
34297
bcfe3a54
ST
34298 * nscd/nscd.c (go_background): Replaced with...
34299 (run_mode): ... this.
bb90b80b 34300 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
34301 (options): Add -F --foreground.
34302 (main): Implement it.
34303 (parse_opt): Parse it.
bb90b80b 34304
1a4b75a1
AJ
343052012-05-09 Andreas Jaeger <aj@suse.de>
34306
34307 [BZ #14083]
34308 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34309 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34310 -Wconversion warning.
34311 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34312 Likewise.
34313
b1cc2472
JM
343142012-05-09 Joseph Myers <joseph@codesourcery.com>
34315
34316 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34317 == 0.
34318 (LC_ALL): Use macro-int-constant.
34319 (LC_COLLATE): Likewise.
34320 (LC_CTYPE): Likewise.
34321 (LC_MESSAGES): Likewise.
34322 (LC_MONETARY): Likewise.
34323 (LC_NUMERIC): Likewise.
34324 (LC_TIME): Likewise.
34325 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34326 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34327 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34328 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34329 Specify type.
34330 [C99-based standards] (float_t): Expect type.
34331 [C99-based standards] (double_t): Expect type.
34332 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34333 type.
34334 [C99-based standards] (HUGE_VALL): Likewise.
34335 [C99-based standards] (INFINITY): Likewise.
34336 [C99-based standards] (NAN): Likewise.
34337 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34338 [C99-based standards] (FP_NAN): Likewise.
34339 [C99-based standards] (FP_NORMAL): Likewise.
34340 [C99-based standards] (FP_SUBNORMAL): Likewise.
34341 [C99-based standards] (FP_ZERO): Likewise.
34342 [C99-based standards] (FP_FAST_FMA): Use
34343 optional-macro-int-constant. Specify type. Require == 1.
34344 [C99-based standards] (FP_FAST_FMAF): Likewise.
34345 [C99-based standards] (FP_FAST_FMAL): Likewise.
34346 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34347 [C99-based standards] (FP_ILOGBNAN): Likewise.
34348 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34349 Specify type.
34350 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34351 [C99-based standards] (math_errhandling): Specify type.
34352 [ISO99 || ISO11] (signgam): Do not allow.
34353 [non-C99-based standards] (copysignf): Do not allow.
34354 [non-C99-based standards] (exp2f): Likewise.
34355 [non-C99-based standards] (log2f): Likewise.
34356 [non-C99-based standards] (modff): Allow.
34357 [non-C99-based standards] (erff): Do not allow.
34358 [non-C99-based standards] (erfcf): Likewise.
34359 [non-C99-based standards] (gammaf): Likewise.
34360 [non-C99-based standards] (hypotf): Likewise.
34361 [non-C99-based standards] (j0f): Likewise.
34362 [non-C99-based standards] (j1f): Likewise.
34363 [non-C99-based standards] (jnf): Likewise.
34364 [non-C99-based standards] (lgammaf): Likewise.
34365 [non-C99-based standards] (tgammaf): Likewise.
34366 [non-C99-based standards] (y0f): Likewise.
34367 [non-C99-based standards] (y1f): Likewise.
34368 [non-C99-based standards] (ynf): Likewise.
34369 [non-C99-based standards] (isnanf): Likewise.
34370 [non-C99-based standards] (acoshf): Likewise.
34371 [non-C99-based standards] (asinhf): Likewise.
34372 [non-C99-based standards] (atanhf): Likewise.
34373 [non-C99-based standards] (cbrtf): Likewise.
34374 [non-C99-based standards] (expm1f): Likewise.
34375 [non-C99-based standards] (ilogbf): Likewise.
34376 [non-C99-based standards] (log1pf): Likewise.
34377 [non-C99-based standards] (logbf): Likewise.
34378 [non-C99-based standards] (nextafterf): Likewise.
34379 [non-C99-based standards] (remainderf): Likewise.
34380 [non-C99-based standards] (rintf): Likewise.
34381 [non-C99-based standards] (scalbf): Likewise.
34382 [non-C99-based standards] (copysignl): Likewise.
34383 [non-C99-based standards] (exp2l): Likewise.
34384 [non-C99-based standards] (log2l): Likewise.
34385 [non-C99-based standards] (modfl): Allow.
34386 [non-C99-based standards] (erfl): Do not allow.
34387 [non-C99-based standards] (erfcl): Likewise.
34388 [non-C99-based standards] (gammal): Likewise.
34389 [non-C99-based standards] (hypotl): Likewise.
34390 [non-C99-based standards] (j0l): Likewise.
34391 [non-C99-based standards] (j1l): Likewise.
34392 [non-C99-based standards] (jnl): Likewise.
34393 [non-C99-based standards] (lgammal): Likewise.
34394 [non-C99-based standards] (tgammal): Likewise.
34395 [non-C99-based standards] (y0l): Likewise.
34396 [non-C99-based standards] (y1l): Likewise.
34397 [non-C99-based standards] (ynl): Likewise.
34398 [non-C99-based standards] (isnanl): Likewise.
34399 [non-C99-based standards] (acoshl): Likewise.
34400 [non-C99-based standards] (asinhl): Likewise.
34401 [non-C99-based standards] (atanhl): Likewise.
34402 [non-C99-based standards] (cbrtl): Likewise.
34403 [non-C99-based standards] (expm1l): Likewise.
34404 [non-C99-based standards] (ilogbl): Likewise.
34405 [non-C99-based standards] (log1pl): Likewise.
34406 [non-C99-based standards] (logbl): Likewise.
34407 [non-C99-based standards] (nextafterl): Likewise.
34408 [non-C99-based standards] (remainderl): Likewise.
34409 [non-C99-based standards] (rintl): Likewise.
34410 [non-C99-based standards] (scalbl): Likewise.
34411 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34412 [non-C99-based standards] (FP_*): Do not allow.
34413 [C99-based standards] (FP_*): Change to
34414 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34415 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34416 allow.
34417 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34418 (SIG_ERR): Likewise.
34419 [X/Open-based standards] (SIG_HOLD): Likewise.
34420 (SIG_IGN): Likewise.
34421 (SIGABRT): Use macro-int-constant. Specify type. Require
34422 positive value.
34423 (SIGFPE): Likewise.
34424 (SIGILL): Likewise.
34425 (SIGINT): Likewise.
34426 (SIGSEGV): Likewise.
34427 (SIGTER): Likewise.
34428 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34429 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34430 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34431 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34432 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34433 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34434 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34435 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34436 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34437 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34438 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34439 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34440 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34441 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34442 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34443 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34444 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34445 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34446 [X/Open-based standards] (SIGTRAP): Likewise.
34447 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34448 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34449 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34450 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34451 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34452 allow.
34453
b9f1922d
IW
344542012-05-08 Ian Wienand <ianw@vmware.com>
34455
34456 [BZ #14080]
34457 * time/tzset.c (__tzset_parse_tz): Update default rules for
34458 daylight time changes in the Energy Policy Act of 2005.
34459
1db86e88
AJ
344602012-05-09 Andreas Jaeger <aj@suse.de>
34461
34462 [BZ #13983]
34463 * elf/ldconfig.c (parse_conf): Change string to make clear that
34464 ldconfig only issued a warning if ld.so.conf does not exist.
34465
dee4a4e3
DM
344662012-05-08 David S. Miller <davem@davemloft.net>
34467
ee0db190
DM
34468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34469 movxtod instead of popping the value on the stack.
34470
dee4a4e3
DM
34471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34472
6a43ec98
CD
344732012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34474
34475 * config.h.in: Add HAVE_ARM_PCS_VFP.
34476
05c2c961
RMG
344772012-05-08 Roland Mc Grath <roland@hack.frob.com>
34478
bcfe3a54
ST
34479 [BZ #13979]
34480 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34481 checking but the checks are disabled for any reason.
05c2c961 34482
4b30f61a
L
344832012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34484
34485 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34486 and ELF64_R_TYPE with ELFW(R_TYPE).
34487
eee2bc67
JM
344882012-05-08 Joseph Myers <joseph@codesourcery.com>
34489
7ea5391a
JM
34490 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34491 (ulimit): Likewise.
34492
eee2bc67
JM
34493 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34494 (settimeofday): Likewise.
34495
abb66a67
MF
344962012-05-08 Mike Frysinger <vapier@gentoo.org>
34497
34498 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34499 a struct th_u2 inside the union, and move tu_block/tu_code into
34500 a new th_u3 union of tu_block/tu_code inside of that. Move
34501 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34502 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34503 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34504 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34505 (th_stuff): Change to th_u1.tu_stuff.
34506 (th_data): Define.
34507 (th_msg): Change to th_u1.th_u2.tu_data.
34508
7f18b530
DM
345092012-05-07 David S. Miller <davem@davemloft.net>
34510
05760585
DM
34511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34512
7f18b530
DM
34513 [BZ #14074]
34514 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34515 (SETUP_PIC_REG): Use it.
34516 (SETUP_PIC_REG_LEAF): Use it.
34517
495fd99f
JM
345182012-05-07 Joseph Myers <joseph@codesourcery.com>
34519
34520 [BZ #13885]
34521 [BZ #13923]
34522 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34523 USE_AS_EXPM1L.
34524 (EXPL_FINITE): Likewise.
34525 (FLDLOG): Likewise.
34526 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34527 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34528 e_expl.S.
34529 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34530 USE_AS_EXPM1L.
34531 (EXPL_FINITE): Likewise.
34532 (FLDLOG): Likewise.
34533 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34534 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34535 e_expl.S.
34536 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34537 test of -max_value argument for long double.
34538 * sysdeps/i386/fpu/libm-test-ulps: Update.
34539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34540
6693d694
DM
345412012-05-06 David S. Miller <davem@davemloft.net>
34542
34543 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34544 quad soft-float symbols whose references which are compiler
34545 generated.
34546 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34547
6c23e11c
JM
345482012-05-06 Joseph Myers <joseph@codesourcery.com>
34549
d8b82cad
JM
34550 [BZ #13884]
34551 [BZ #13914]
34552 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34553 USE_AS_EXP10L.
34554 (EXPL_FINITE): Likewise.
34555 (FLDLOG): Likewise.
34556 (c0): Likewise.
34557 (c1): Likewise.
34558 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34559 Adjust comments for base varying.
34560 (__expl_finite): Change alias to EXPL_FINITE.
34561 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34562 e_expl.S.
34563 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34564 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34565 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34566 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34567 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34568 USE_AS_EXP10L.
34569 (EXPL_FINITE): Likewise.
34570 (FLDLOG): Likewise.
34571 (c0): Likewise.
34572 (c1): Likewise.
34573 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34574 Adjust comments for base varying.
34575 (__expl_finite): Change alias to EXPL_FINITE.
34576 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34577 tests for bugs.
34578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34579
6c23e11c
JM
34580 [BZ #14064]
34581 * math/libm-test.inc (check_float_internal): Correct ulp
34582 calculation for subnormal expected results.
34583
29ba805c
AJ
345842012-05-06 Andreas Jaeger <aj@suse.de>
34585
34586 * Makeconfig (+math-flags): New, set to -frounding-math.
34587 (+cflags): Add +math-flags so that all of glibc gets compiled with
34588 it.
34589
34590 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34591
7b17aeda
JM
345922012-05-05 Joseph Myers <joseph@codesourcery.com>
34593
5779f134
JM
34594 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34595 Disable one test.
34596
41498f4d
JM
34597 [BZ #13787]
34598 [BZ #13922]
34599 [BZ #14036]
34600 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34601 (__ieee754_expl): Allow for and saturate large arguments.
34602 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34603 (u_threshold): Likewise.
34604 (__exp): Call __ieee754_exp before checking for overflow and
34605 underflow.
34606 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34607 (u_threshold): Likewise.
34608 (__expf): Call __ieee754_expf before checking for overflow and
34609 underflow.
34610 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34611 (u_threshold): Likewise.
34612 (__expl): Call __ieee754_expl before checking for overflow and
34613 underflow.
34614 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34615 (__ieee754_expl): Allow for and saturate large arguments.
34616 * math/libm-test.inc (exp_test): Add another test. Do not allow
34617 missing overflow exception on overflow.
34618 (expm1_test): Do not allow missing overflow exception on overflow.
34619
6698b8bf
JM
34620 * sysdeps/i386/fpu/e_expl.c: Move to ...
34621 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34622 rather than using inline asm.
34623 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34624 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34625 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34626
7b17aeda
JM
34627 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34628 (nice): Likewise.
34629 (poll): Likewise.
34630 (signal): Likewise.
34631 (time): Likewise.
34632 (times): Likewise.
34633
f7c85819
JM
346342012-05-04 Joseph Myers <joseph@codesourcery.com>
34635
34636 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34637 sysdeps/unix/common/syscalls.list.
34638 (fchmod): Likewise.
34639 (fchown): Likewise.
34640 (ftruncate): Likewise.
34641 (getrusage): Likewise.
34642 (gettimeofday): Likewise.
34643 (setpgid): Likewise.
34644 (setregid): Likewise.
34645 (setreuid): Likewise.
34646 (sigaction): Likewise.
34647 (truncate): Likewise.
34648 (vhangup): Likewise.
34649 * sysdeps/unix/common/syscalls.list: Remove file.
34650 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34651 * sysdeps/unix/sysv/linux/Implies: Likewise.
34652
336270d0
L
346532012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34654
34655 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34657 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34658 Moved to ...
34659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34660 Here.
34661 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34662 to ...
34663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34664 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34665 to ...
34666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34667 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34668 to ...
34669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34670 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34671 to ...
34672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34673 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34674 to ...
34675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34676 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34677 to ...
34678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34679 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34680 to ...
34681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34682 Here.
34683 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34684 to ...
34685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34686 Here.
34687 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34688 to ...
34689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34690 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34691 Moved to ...
34692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34693 Here.
34694 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34695 to ...
34696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34697
d128e450
JM
346982012-05-04 Joseph Myers <joseph@codesourcery.com>
34699
fa8ee516
JM
34700 * sysdeps/unix/common/bits/dirent.h: Remove file.
34701 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34702
d128e450
JM
34703 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34704 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34705 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34706 * sysdeps/unix/bsd/isatty.c: Likewise.
34707 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34708 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34709 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34710
ff8faaf0 347112012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 34712
62881be4 34713 [BZ #13563]
31dc8730
AZ
34714 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34715 long double comparison inaccuracies.
34716 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34718
6fef930c
AS
347192012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34720
34721 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34722 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34723
8f203e6c
JM
347242012-05-04 Joseph Myers <joseph@codesourcery.com>
34725
34726 [BZ #14049]
34727 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34728 nonzero digits before rounding a hex value.
34729 * stdlib/tst-strtod.c (tests): Add another test.
34730
5197d9c2
AK
347312012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34732
34733 * sysdeps/s390/fpu/libm-test-ulps: Update.
34734
f0c1dedf
AJ
347352012-05-03 Andreas Jaeger <aj@suse.de>
34736
34737 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34738 does not get optimized out.
34739 (malloc_opt_barrier): New.
34740
a65ef2ae 347412012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 34742 Roland McGrath <roland@hack.frob.com>
a65ef2ae 34743
2b942cb7 34744 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 34745 intermediate file deletion.
2b942cb7 34746 (generated): Add .symlist files.
a65ef2ae 34747
54b71e02
JM
347482012-05-03 Joseph Myers <joseph@codesourcery.com>
34749
34750 [BZ #13775]
34751 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34752 Redirect under this condition.
34753 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34754 [__USE_GNU] (__dprintf_chk): Not under this condition.
34755 [__USE_GNU] (__vdprintf_chk): Likewise.
34756 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34757 under this condition.
34758 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34759 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34760 [__USE_XOPEN2K8] (vdprintf): Likewise.
34761 [__USE_GNU] (__dprintf_chk): Not under this condition.
34762 [__USE_GNU] (__vdprintf_chk): Likewise.
34763 [__USE_GNU] (dprintf): Likewise.
34764 [__USE_GNU] (vdprintf): Likewise.
34765
d3dfcc41
RM
347662012-05-03 Roland McGrath <roland@hack.frob.com>
34767
34768 * elf/Makefile (common-generated): Set this instead of generated for
34769 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34770 $(all-built-dso)-derived lists.
34771
7ac30cc5
AJ
347722012-05-03 Andreas Jaeger <aj@suse.de>
34773
0c51e550
AJ
34774 * sysdeps/i386/fpu/libm-test-ulps: Update.
34775
7ac30cc5
AJ
34776 * FAQ: Removed.
34777 * FAQ.in: Likewise.
34778 * scripts/gen-FAQ.pl: Likewise.
34779 * manual/install.texi (Installation): Point to online location of
34780 FAQ.
34781 * Makefile (files-for-dist): Remove FAQ.
34782 (FAQ): Remove.
34783
d4c2917f
AM
347842012-05-02 Allan McRae <allan@archlinux.org>
34785
34786 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34787 (LDFLAGS-reldepmod5.so): Likewise.
34788 (LDFLAGS-reldep6mod1.so): Likewise.
34789 (LDFLAGS-reldep6mod4.so): Likewise.
34790 (LDFLAGS-reldep8mod3.so): Likewise.
34791 (LDFLAGS-unload4mod1.so): Likewise.
34792 (LDFLAGS-unload4mod2.so): Likewise.
34793 (LDFLAGS-tst-initorder): Likewise.
34794 (LDFLAGS-tst-initordera2.so): Likewise.
34795 (LDFLAGS-tst-initordera3.so): Likewise.
34796 (LDFLAGS-tst-initordera4.so): Likewise.
34797 (LDFLAGS-tst-initorderb2.so): Likewise.
34798 (LDFLAGS-noload): Likewise.
34799 (LDFLAGS-next): Likewise.
34800 (LDFLAGS-order2mod1.so): Likewise.
34801 (LDFLAGS-order2mod2.so): Likewise.
34802 (LDFLAGS-tst-initorder2): Likewise.
34803 (LDFLAGS-tst-initorder2a.so): Likewise.
34804 (LDFLAGS-tst-initorder2b.so): Likewise.
34805 (LDFLAGS-tst-initorder2c.so): Likewise.
34806 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34807
d77f993f
DM
348082012-05-02 David S. Miller <davem@davemloft.net>
34809
34810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34811
171a70b4
PP
348122012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34813
34814 [BZ #14055]
34815 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34816
0be196ad
AJ
348172012-05-02 Andreas Jaeger <aj@suse.de>
34818
34819 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34820 since we manipulate rounding mode.
34821 (CPPFLAGS-test-idouble.c): Likewise.
34822 (CPPFLAGS-test-ifloat.c): Likewise.
34823 (CFLAGS-test-ldouble.c): Likewise.
34824 (CFLAGS-test-double.c): Likewise.
34825 (CFLAGS-test-float.c): Likewise.
34826 (CFLAGS-test-misc.c): Likewise.
34827 (CFLAGS-test-test-fenv.c): Likewise.
34828
4f9d04aa
AZ
348292012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34830
2b942cb7
RM
34831 [BZ #2550]
34832 [BZ #2570]
34833 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34834 comparisons to determine direction to adjust input.
4f9d04aa 34835
82a79e7d
RM
348362012-05-01 Roland McGrath <roland@hack.frob.com>
34837
f5a01ca9
RM
34838 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34839 output to the target.
34840
90fe4186
RM
34841 * scripts/localplt.awk: New file.
34842 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34843 (check-localplt-CFLAGS): Variable removed.
34844 ($(all-built-dso:=.jmprel)): New static pattern rule.
34845 (generated): Add those targets.
34846 (localplt-built-dso): New variable.
34847 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34848
34849 * elf/check-localplt.c: File removed.
34850
82397ed6
RM
34851 * scripts/check-execstack.awk: New file.
34852 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34853 (check-execstack-CFLAGS): Variable removed.
34854 ($(objpfx)check-execstack.h): Target removed.
34855 ($(objpfx)execstack-default): New target.
34856 (generated): Add that instead of check-execstack.h.
34857 ($(all-built-dso:=.phdr)): New static pattern rule.
34858 (generated): Add those targets.
34859 * elf/check-execstack.c: File removed.
34860
82a79e7d
RM
34861 * scripts/check-textrel.awk: New file.
34862 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34863 (check-textrel-CFLAGS): Variable removed.
34864 (all-built-dso): Use := to define.o
34865 ($(all-built-dso:=.dyn)): New static pattern rule.
34866 (generated): Add those targets.
34867 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34868 * config.make.in (READELF): New substituted variable.
34869 * elf/check-textrel.c: File removed.
34870
62fde54f 348712012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 34872
615605c9
JM
34873 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34874 allow.
34875 * conform/data/ctype.h-data [C99-based standards] (isblank):
34876 Expect function.
34877 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34878 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34879 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34880 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34881 Specify type. Require positive value.
34882 (EILSEQ): Likewise.
34883 (ERANGE): Likewise.
34884 [ISO || POSIX] (EILSEQ): Do not expect.
34885 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34886 Specify type. Require positive value.
34887 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34888 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34889 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34890 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34891 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34892 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34893 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34894 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34895 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34896 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34897 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34898 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34899 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34900 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34901 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34902 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34903 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34904 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34905 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34906 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34907 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34908 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34909 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34910 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34911 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34912 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34913 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34914 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34915 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34916 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34917 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34918 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34919 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34920 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34921 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34922 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34923 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34924 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34925 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34926 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34927 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34928 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34929 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34930 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34931 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34932 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34933 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34934 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34935 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34936 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34937 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34938 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34939 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34940 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34941 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34942 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34943 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34944 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34945 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34946 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34947 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34948 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34949 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34950 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34951 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34952 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34953 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34954 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34955 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34956 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34957 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34958 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34959 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34960 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34961 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34962 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34963 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34964 Require >= 2.
34965 (FLT_ROUNDS): Expect as macro, not constant.
34966 (FLT_MANT_DIG): Use macro-int-constant.
34967 (DBL_MANT_DIG): Likewise.
34968 (LDBL_MANT_DIG): Likewise.
34969 (FLT_DIG): Likewise.
34970 (DBL_DIG): Likewise.
34971 (LDBL_DIG): Likewise.
34972 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34973 (DBL_MIN_EXP): Likewise.
34974 (LDBL_MIN_EXP): Likewise.
34975 (FLT_MAX_EXP): Use macro-int-constant.
34976 (DBL_MAX_EXP): Likewise.
34977 (LDBL_MAX_EXP): Likewise.
34978 (FLT_MAX_10_EXP): Likewise.
34979 (DBL_MAX_10_EXP): Likewise.
34980 (LDBL_MAX_10_EXP): Likewise.
34981 (FLT_MAX): Use macro-constant.
34982 (DBL_MAX): Likewise.
34983 (LDBL_MAX): Likewise.
34984 (FLT_EPSILON): Use macro-constant. Give upper bound.
34985 (DBL_EPSILON): Likewise.
34986 (LDBL_EPSILON): Likewise.
34987 (FLT_MIN): Likewise.
34988 (DBL_MIN): Likewise.
34989 (LDBL_MIN): Likewise.
34990 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34991 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34992 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34993 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34994 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34995 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34996 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34997 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34998 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34999 [ISO11] (FLT_TRUE_MIN): Likewise.
35000 [ISO11] (LDBL_TRUE_MIN): Likewise.
35001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35002 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35003 (SCHAR_MIN): Use macro-int-constant. Specify type.
35004 (SCHAR_MAX): Likewise.
35005 (UCHAR_MAX): Likewise.
35006 (CHAR_MIN): Likewise.
35007 (CHAR_MAX): Likewise.
35008 (MB_LEN_MAX): Use macro-int-constant.
35009 (SHRT_MIN): Use macro-int-constant. Specify type.
35010 (SHRT_MAX): Likewise.
35011 (USHRT_MAX): Likewise.
35012 (INT_MAX): Likewise.
35013 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35014 bound negative.
35015 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35016 bound with "U".
35017 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35018 bound with "L".
35019 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35020 bound negative. Suffix upper bound with "L".
35021 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35022 bound with "UL".
35023 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35024 Specify type.
35025 [C99-based standards] (LLONG_MAX): Likewise.
35026 [C99-based standards] (ULLONG_MAX): Likewise.
35027 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35028 == 0.
35029 [ISO11] (max_align_t): Require type.
35030 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35031
c9140a62
JM
35032 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35033 from $CFLAGS, without defining away __attribute__ calls.
35034 (checknamespace): Use $CFLAGS_namespace.
35035
9af0bf29
JM
35036 * conform/conformtest.pl (@keywords): Only include C99 keywords
35037 for standards based on C99 or C11.
35038
343222a2
JM
35039 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35040 Disable tests.
35041 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35042 UNIX98]: Likewise.
35043
661f8cf0
JM
35044 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35045 usability of symbols in #if.
35046
ee74b9cb
JM
35047 * conform/conformtest.pl: If macro or constant types start
35048 "promoted:", expect the symbol to be of the following type
35049 promoted by the integer promotions.
62fde54f 35050
aafc49b3
JM
35051 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35052 in one place. Also handle "macro-constant".
35053
fefdf574
JM
35054 * conform/conformtest.pl: Only accept expected macro values with
35055 "==". Parse all "macro" lines in one place.
35056 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35057
f2d922fe
JM
35058 * conform/conformtest.pl: Handle braced types on "constant" lines
35059 instead of handling "typed-constant".
35060 * conform/data/signal.h-data: Use "constant" instead of
35061 "typed-constant".
35062
d22956c9
JM
35063 * conform/conformtest.pl: Handle "optional-" at start of lines in
35064 one place rather than duplicating several cases. Handle each
35065 format of "macro" line with initial "optional-".
35066
028e2e38
JM
35067 * conform/conformtest.pl: Only accept expected constant or
35068 optional-constant values with "==". Parse all "constant" lines in
35069 one place. Parse all "optional-constant" lines in one place.
35070 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35071 * conform/data/fmtmsg.h-data: Likewise.
35072 * conform/data/netinet/in.h-data: Likewise.
35073 * conform/data/tar.h-data: Likewise.
35074 * conform/data/limits.h-data: Use "==" form on "constant" and
35075 "optional-constant" lines.
35076
1b8f2850
JM
35077 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35078 Use -std=c99 for XOPEN2K.
35079 (@knownproblems): Remove.
35080 (newtoken): Don't check %isknown.
35081
a05a144b
JM
35082 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35083 Do not expect macro.
35084 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35085 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35086 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35087 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35088 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35089 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35090 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35091 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35092 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35093 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35094 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35095 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35096 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35097 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35098 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35099 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35100 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35101 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35102 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35103 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35104 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35105 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35106 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35107 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35108 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35109 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35110 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35111 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35112 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35113 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35114 [XPG3] (acosh): Likewise.
35115 [XPG3] (asinh): Likewise.
35116 [XPG3] (atanh): Likewise.
35117 [XPG3] (cbrt): Likewise.
35118 [XPG3] (expm1): Likewise.
35119 [XPG3] (ilogb): Likewise.
35120 [XPG3] (log1p): Likewise.
35121 [XPG3] (logb): Likewise.
35122 [XPG3] (nextafter): Likewise.
35123 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35124 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35125 [XPG3] (remainder): Likewise.
35126 [XPG3] (rint): Likewise.
35127 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35128 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35129 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35130 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35131 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35132 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35133 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35134 [UNIX98 || XOPEN2K] (scalb): Expect.
35135 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35136 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35137 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35138 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35139 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35140 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35141 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35142 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35143 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35144 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35145 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35146 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35147 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35148 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35149 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35150 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35151 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35152 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35153 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35154 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35155 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35156 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35157 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35158 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35159 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35160 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35161 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35162 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35163 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35164 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35165 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35166 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35167 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35168 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35169 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35170 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35171 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35172 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35173 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35174 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35175 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35176 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35177 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35178 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35179 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35180 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35181 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35182 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35183 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35184 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35185 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35186 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35187 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35188 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35189 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35190 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35191 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35192 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35193 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35194 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35195 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35196 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35197 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35198 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35199 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35200 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35201 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35202 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35203 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35204 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35205 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35206 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35207 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35208 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35209 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35210 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35211 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35212 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35213 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35214 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35215 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35216 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35217 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35218 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35219 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35220 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35221 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35222 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35223 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35224 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35225 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35226 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35227 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35228 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35229 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35230 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35231 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35232 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35233 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35234 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35235 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35236 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35237 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35238 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35239 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35240 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35241 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35242 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35243 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35244 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35245 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35246 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35247 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35248 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35249 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35250 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35251 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35252 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35253 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35254 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35255 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35256 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35257 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35258 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35259 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35260 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35261 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35262 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35263 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35264 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35265 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35266 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35267 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35268 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35269 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35270 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35271 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35272
73c5ebe3
JM
35273 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35274 _XOPEN_SOURCE_EXTENDED for XPG4.
35275
39c33b6c
JM
35276 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35277
62fde54f
JM
35278 * Makeconfig (localtime): Remove variable.
35279 (inst_localtime-file): Likewise.
35280
0741d64c
AS
352812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35282
35283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35284 Update.
35285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35286 Update.
35287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35288 Update.
35289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35290 Update.
35291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35292 Update.
35293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35294 Update.
35295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35296 Update.
35297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35298 Update.
35299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35300 Update.
35301
7cb029ee
JM
353022012-05-01 Joseph Myers <joseph@codesourcery.com>
35303
35304 [BZ #2550]
35305 [BZ #2570]
35306 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35307 comparisons to determine direction to adjust input.
35308 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35309 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35310 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35311 Likewise.
35312 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35313 Likewise.
35314 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35315 Likewise.
35316 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35317 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35318 Likewise.
35319 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35320 Likewise.
35321 * math/libm-test.inc (nexttoward_test): Add more tests.
35322
412bd966
AS
353232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35324
35325 [BZ #14040]
35326 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35327 in version GLIBC_2.1, not GLIBC_2.0.
35328 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35329 Likewise.
35330
9568c0c2
JM
353312012-04-30 Joseph Myers <joseph@codesourcery.com>
35332
adfbc8ac
JM
35333 [BZ #13942]
35334 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35335 (1 - x) * (1 + x).
35336 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35337 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35338 * math/libm-test.inc (acos_test): Add more tests.
35339 (asin_test): Likewise.
35340 * sysdeps/i386/fpu/libm-test-ulps: Update.
35341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35342
5ba3cc69
JM
35343 [BZ #14034]
35344 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35345 of square root.
35346 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35347 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35348 * math/libm-test.inc (acos_test_tonearest): New function.
35349 (acos_test_towardzero): Likewise.
35350 (acos_test_downward): Likewise.
35351 (acos_test_upward): Likewise.
35352 (asin_test_tonearest): Likewise.
35353 (asin_test_towardzero): Likewise.
35354 (asin_test_downward): Likewise.
35355 (asin_test_upward): Likewise.
35356 (main): Call the new functions.
35357 * sysdeps/i386/fpu/libm-test-ulps: Update.
35358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35359
9568c0c2
JM
35360 [BZ #13884]
35361 [BZ #13924]
35362 * math/e_exp10.c: Include <float.h>.
35363 (__ieee754_exp10): Handle underflow here rather than multiplying
35364 large negative argument by M_LN10.
35365 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35366 of __ieee754_expf.
35367 * math/e_exp10l.c: Include <float.h>.
35368 (__ieee754_exp10l): Handle underflow here rather than multiplying
35369 large negative argument by M_LN10l.
35370 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35371 spurious overflow exception on underflow.
35372
5ac3ea17
MP
353732012-04-29 Marek Polacek <polacek@redhat.com>
35374
35375 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35376 (__fortify_function): New macro.
35377 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35378 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35379 __extern_always_inline.
35380 * libio/bits/stdio2.h: Likewise.
35381 * libio/bits/stdio.h: Likewise.
35382 * string/string.h: Likewise.
35383 * string/bits/string3.h: Likewise.
35384 * include/stdio.h: Likewise.
35385 * stdlib/bits/stdlib.h: Likewise.
35386 * stdlib/stdlib.h: Likewise.
35387 * rt/bits/mqueue2.h: Likewise.
35388 * rt/mqueue.h: Likewise.
35389 * posix/bits/unistd.h: Likewise.
35390 * posix/unistd.h: Likewise.
35391 * io/bits/poll2.h: Likewise.
35392 * io/bits/fcntl2.h: Likewise.
35393 * io/fcntl.h: Likewise.
35394 * io/sys/poll.h: Likewise.
35395 * misc/bits/syslog.h: Likewise.
35396 * misc/bits/syslog-ldbl.h: Likewise.
35397 * misc/sys/syslog.h: Likewise.
35398 * socket/bits/socket2.h: Likewise.
35399 * socket/sys/socket.h: Likewise.
35400 * debug/tst-chk1.c: Likewise.
35401 * wcsmbs/bits/wchar2.h: Likewise.
35402 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35403 * wcsmbs/wchar.h: Likewise.
35404
ecf0ebfb
AJ
354052012-04-29 Andreas Jaeger <aj@suse.de>
35406
35407 * Makerules (tests): Remove enable-check-abi protection.
35408 (check-abi-warn): Remove.
35409 (check-abi-%): Remove check-abi-warn usage.
35410
35411 * configure.in: Remove check-abi configure option.
35412 * configure: Regenerated.
35413 * config.make.in (enable-check-abi): Remove.
35414
6d5c57fa
AS
354152012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35416
24c5d07e 35417 [BZ #14033]
ded5180a
AS
35418 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35419 double functions to double *_finite functions.
35420
7e0d315d
AS
35421 [BZ #13941]
35422 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35423 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35424 LDBL_MIN_EXP.
35425 * stdio-common/Makefile (tests): Add tst-sprintf3.
35426 * stdio-common/tst-sprintf3.c: New file.
35427
6d5c57fa
AS
35428 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35429 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35430
0749ff8b
JM
354312012-04-28 Joseph Myers <joseph@codesourcery.com>
35432
35433 * conform/conformtest.pl: Remove duplicate typed-constant
35434 handling.
35435
8dbd5d7b
DM
354362012-04-28 David S. Miller <davem@davemloft.net>
35437
35438 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35439 (check-abi-%): Remove AWK script prerequisite and explicit
35440 abilist directory.
35441 (check-abi): Rewrite to just diff the symlist with the abilist.
35442 (config-tls, config-abi-config): Delete, no longer used.
35443 (update-abi-%): Remove AWK script and explicit abilist directory.
35444 (update-abi): Rewrite to simply compare and conditionally copy the
35445 symlist and the sysdep abilist file. Remove update-abi-config
35446 checks.
35447 * abilist/ld.abilist: Remove.
35448 * abilist/libBrokenLocale.abilist: Remove.
35449 * abilist/libanl.abilist: Remove.
35450 * abilist/libcrypt.abilist: Remove.
35451 * abilist/libdl.abilist: Remove.
35452 * abilist/librt.abilist: Remove.
35453 * abilist/libthread_db.abilist: Remove.
35454 * abilist/libutil.abilist: Remove.
35455 * scripts/extract-abilist.awk: Remove.
35456 * scripts/merge-abilist.awk: Remove.
35457 * sysdeps/generic/libcidn.abilist: New file.
35458 * sysdeps/generic/libnss_compat.abilist: New file.
35459 * sysdeps/generic/libnss_db.abilist: New file.
35460 * sysdeps/generic/libnss_dns.abilist: New file.
35461 * sysdeps/generic/libnss_files.abilist: New file.
35462 * sysdeps/generic/libnss_hesiod.abilist: New file.
35463 * sysdeps/generic/libnss_nis.abilist: New file.
35464 * sysdeps/generic/libnss_nisplus.abilist: New file.
35465 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35466 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35467 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35468 file.
35469 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35470 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35471 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35472 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35473 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35474 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35475 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35476 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35477 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35478 file.
35479 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35480 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35481 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35482 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35483 file.
35484 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35485 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35486 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35487 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35488 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35489 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35490 file.
35491 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35492 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35493 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35494 file.
35495 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35497 New file.
35498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35499 New file.
35500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35501 New file.
35502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35503 New file.
35504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35505 New file.
35506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35507 New file.
35508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35509 New file.
35510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35511 New file.
35512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35513 New file.
35514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35515 New file.
35516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35517 New file.
35518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35519 New file.
35520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35521 New file.
35522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35523 file.
35524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35525 New file.
35526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35527 New file.
35528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35529 file.
35530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35531 New file.
35532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35533 New file.
35534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35535 file.
35536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35537 New file.
35538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35539 New file.
35540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35541 New file.
35542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35543 New file.
35544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35545 New file.
35546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35547 New file.
35548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35550 file.
35551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35552 New file.
35553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35554 file.
35555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35556 file.
35557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35558 file.
35559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35560 file.
35561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35562 file.
35563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35564 New file.
35565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35566 file.
35567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35568 file.
35569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35570 New file.
35571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35572 file.
35573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35575 file.
35576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35577 New file.
35578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35579 file.
35580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35581 file.
35582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35583 file.
35584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35585 file.
35586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35587 file.
35588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35589 New file.
35590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35591 file.
35592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35593 file.
35594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35595 New file.
35596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35597 file.
35598 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35599 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35600 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35601 file.
35602 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35603 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35604 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35605 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35606 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35607 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35608 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35609 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35610 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35611 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35614 file.
35615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35616 New file.
35617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35618 file.
35619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35620 file.
35621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35622 file.
35623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35624 file.
35625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35626 file.
35627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35628 New file.
35629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35630 New file.
35631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35632 file.
35633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35634 New file.
35635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35636 file.
35637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35639 file.
35640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35641 New file.
35642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35643 file.
35644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35645 file.
35646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35647 file.
35648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35649 file.
35650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35651 file.
35652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35653 New file.
35654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35655 New file.
35656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35657 file.
35658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35659 New file.
35660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35661 file.
35662
41d73a1b
JM
356632012-04-28 Joseph Myers <joseph@codesourcery.com>
35664
35665 * conform/conformtest.pl: Fix typo in handling typed-constant from
35666 allow-header.
35667
28aeeda4
JM
356682012-04-27 Joseph Myers <joseph@codesourcery.com>
35669
adae8f5e
JM
35670 * README: Cut down references to pre-2.6 Linux kernels and
35671 Linuxthreads. Update lists of configurations in libc and ports
35672 and sort alphabetically. Say "or newer" with Linux kernel version
35673 requirements.
35674
28aeeda4
JM
35675 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35676
a462cb63
RA
356772012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35678
35679 [BZ #887]
35680 * math/libm-test.inc (logb_test_downward): New test to expose
35681 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35682 rounding mode.
35683
6ad3493e
JM
356842012-04-27 Joseph Myers <joseph@codesourcery.com>
35685
35686 [BZ #14027]
35687 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35688 to be done.
35689 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35690 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35691
2ce4f015
JM
356922012-04-26 Joseph Myers <joseph@codesourcery.com>
35693
5aeb141a
JM
35694 * sysdeps/unix/i386/brk.S: Remove file.
35695 * sysdeps/unix/i386/dl-brk.S: Likewise.
35696 * sysdeps/unix/i386/pipe.S: Likewise.
35697 * sysdeps/unix/i386/sigreturn.S: Likewise.
35698 * sysdeps/unix/i386/syscall.S: Likewise.
35699 * sysdeps/unix/i386/vfork.S: Likewise.
35700 * sysdeps/unix/i386/wait.S: Likewise.
35701
7143acae
JM
35702 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35703 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35704
2ce4f015
JM
35705 * configure.in (arm*-none*): Do not allow without
35706 --enable-hacker-mode.
35707 (netbsd*): Remove case setting base_os.
35708 (386bsd*): Likewise.
35709 (freebsd*): Likewise.
35710 (bsdi*): Likewise.
35711 (osf*): Likewise.
35712 (sunos*): Likewise.
35713 (ultrix*): Likewise.
35714 (newsos*): Likewise.
35715 (dynix*): Likewise.
35716 (*bsd*): Likewise.
35717 (sysv*): Likewise.
35718 (isc*): Likewise.
35719 (esix*): Likewise.
35720 (sco*): Likewise.
35721 (minix*): Likewise.
35722 (irix4*): Likewise.
35723 (irix6*): Likewise.
35724 (solaris[2-9]*): Likewise.
35725 (none): Likewise.
35726 * configure: Regenerated.
35727
0ac229c8
AZ
357282012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35729
35730 [BZ #11521]
35731 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35732 overflow or cancellation in calculating denominator.
35733 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35734 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35735 down expression to avoid unexpected rounding in newer GCCs.
35736 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35737
33f244f4
DM
357382012-04-26 David S. Miller <davem@davemloft.net>
35739
35740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35741 long-double compat symbols.
35742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35755
cfa1f3e8
DM
357562012-04-25 David S. Miller <davem@davemloft.net>
35757
35758 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35759 HWCAP_* values only after the memory barriers have been defined.
35760 (atomic_full_barrier): Define.
35761 (atomic_read_barrier): Define.
35762 (atomic_write_barrier): Define.
35763
6e236b92
SP
357642012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35765
35766 * shlib-versions: Add libgcc_s version information.
35767 * sysdeps/generic/libgcc_s.h: Remove.
35768 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35769 libgcc_s.h.
35770 * sysdeps/gnu/unwind-resume.c: Likewise.
35771 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35772
aab39a09
DM
357732012-04-25 David S. Miller <davem@davemloft.net>
35774
35775 * sysdeps/unix/sparc/brk.S: Delete.
35776 * sysdeps/unix/sparc/dl-brk.S: Delete.
35777 * sysdeps/unix/sparc/pipe.S: Delete.
35778 * sysdeps/unix/sparc/sysdep.S: Delete.
35779 * sysdeps/unix/sparc/sysdep.h: Delete.
35780 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
35781 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35782 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35783 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35784 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
35785 (JUMPTARGET): Remove.
35786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35787 sysdeps/unix/sparc/sysdep.h
35788 (ENTRY, END): Remove.
35789 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35790
a3cc4f48
JM
357912012-04-25 Joseph Myers <joseph@codesourcery.com>
35792
2ed8cda2
JM
35793 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35794 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35795 -DIS_IN_build.
35796
35d76d59
JM
35797 * timezone/README: Update upstream location and email address for
35798 tzcode and tzdata.
35799 * timezone/zdump.c: Update from tzcode 2012b.
35800 * timezone/zic.c: Likewise.
35801
a3cc4f48
JM
35802 * configure.in (libc_cv_as_needed): Remove test.
35803 * configure: Regenerated.
35804 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35805 conditional definition.
35806 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35807 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35808 * config.make.in (have-as-needed): Remove variable.
35809
ceab42c3
SP
358102012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35811 Paul Pluzhnikov <ppluzhnikov@google.com>
35812
35813 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35814 strings correctly.
35815
3ce2865f
CLT
358162012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35817
35818 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35819 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35820 * sysdeps/sh/strlen.S: Likewise.
35821
f37e0d68
JM
358222012-04-24 Joseph Myers <joseph@codesourcery.com>
35823
ae186e9a
JM
35824 * sysdeps/unix/fork.S: Remove file.
35825 * sysdeps/unix/i386/fork.S: Likewise.
35826 * sysdeps/unix/sparc/fork.S: Likewise.
35827
b96914af
JM
35828 * sysdeps/unix/system.c: Remove file.
35829 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35830
f37e0d68
JM
35831 * sysdeps/unix/getegid.S: Remove file.
35832 * sysdeps/unix/geteuid.S: Likewise.
35833
87ef29ca
RM
358342012-04-24 Roland McGrath <roland@hack.frob.com>
35835
83bcd236
RM
35836 * scripts/check-localplt.awk: New file.
35837 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35838 of diff.
35839 * scripts/data/localplt-generic.data: Add a comment.
35840
87ef29ca
RM
35841 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35842 NODE when __dir_mkfile failed.
35843 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35844 Reported by Ludovic Courtès <ludo@gnu.org>.
35845
e5a6e567
AJ
358462012-04-24 Andreas Jaeger <aj@suse.de>
35847
35848 * Makerules (common-clean): Also remove gen-as-const-headers
35849 files.
35850
c1820385
JM
358512012-04-24 Joseph Myers <joseph@codesourcery.com>
35852
35853 * Makerules (native-compile): Do not change working directory for
35854 build. Use $(OUTPUT_OPTION) in command.
35855 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35856
94e02fc4
AZ
358572012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35858
35859 [BZ #13886]
35860 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35861 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35862 * math/libm-test.inc (floor_test): Add more tests.
35863 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35864
3a533ca3
JM
358652012-04-24 Joseph Myers <joseph@codesourcery.com>
35866
940ab4b3
JM
35867 * sysdeps/unix/getdents.c: Remove file.
35868 * sysdeps/unix/sysv/getdents.c: Likewise.
35869 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35870
90e037bd
JM
35871 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35872 sysdeps/unix/mman/syscalls.list.
35873 (mmap): Likewise.
35874 (mprotect): Likewise.
35875 (msync): Likewise.
35876 (munmap): Likewise.
35877 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35878 * sysdeps/unix/mman/syscalls.list: Remove.
35879 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35880
3a533ca3
JM
35881 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35882 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35883 * configure: Regenerated.
35884 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35885 $(libgcc_s_suffix).
35886 * config.make.in (libgcc_s_suffix): Remove variable.
35887
1ad743de
JM
358882012-04-23 Joseph Myers <joseph@codesourcery.com>
35889
4ad451e2
JM
35890 * sysdeps/unix/sysv/gethostname.c: Move to ...
35891 * sysdeps/posix/gethostname.c: ... here.
35892
5e37ce39
JM
35893 * sysdeps/unix/execve.S: Remove file.
35894
1ad743de
JM
35895 * sysdeps/unix/_exit.S: Remove file.
35896
4e681b5b
AJ
358972012-04-23 Andreas Jaeger <aj@suse.de>
35898
35899 [BZ #13739]
35900 * manual/Makefile: Remove make dist support, there's no
35901 need for a stand-alone documentation tar ball.
35902 (TEXI2DVI): Define always, it's not in Makeconfig.
35903 (dist): Removed.
35904 (tar-it): Removed.
35905 (edition): Removed.
35906 (glibc-doc-$(edition).tar): Removed
35907 (%.Z): Removed.
35908 (%.gz): Removed.
35909 (%.uu): Removed.
35910 (ETAGS): Remove, it's in Makeconfig.
35911 (move-if-change): Remove, it's in Makeconfig.
35912
38686a03 359132012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
35914
35915 [BZ #13970]
35916 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35917 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35918 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35919 (strtod_l, strtof_l, strtold_l): Remove __wur.
35920 It is not necessarily an error to ignore strtol's return value.
35921 One can reliably look at the stored endptr to decide whether
35922 the number had valid syntax.
35923
7c0616fa
AJ
359242012-04-21 Andreas Jaeger <aj@suse.de>
35925
803cb6b7 35926 [BZ #13739]
7c0616fa
AJ
35927 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35928
b0fe253f
JM
359292012-04-21 Joseph Myers <joseph@codesourcery.com>
35930
35931 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35932 * sysdeps/unix/sysv/Versions: Remove file.
35933
8280f22d
MT
359342012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35935
35936 [BZ #13927]
35937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35938
75ce411f 359392012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
35940
35941 [BZ #7064]
35942 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35943 version from __vm86.
35944
097d59fa
JM
359452012-04-20 Joseph Myers <joseph@codesourcery.com>
35946
a90f3bcb
JM
35947 * sysdeps/unix/common/lxstat.c: Remove file.
35948 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35949
edc7ea78
JM
35950 * sysdeps/unix/sysv/Makefile: Remove file.
35951
cb78c221
JM
35952 * sysdeps/unix/sysv/direct.h: Remove file.
35953
efa6a45f
JM
35954 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35955 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35956 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35957 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35958 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35959 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35960 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35961
9c9f2d0c
JM
35962 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35963
4541c83b
JM
35964 * sysdeps/unix/xmknod.c: Remove file.
35965 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35966
f5d153a0
JM
35967 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35968
aa746595
JM
35969 * sysdeps/unix/sysv/i386/time.S: Remove file.
35970
cce5905e
JM
35971 * sysdeps/unix/fxstat.c: Remove file.
35972 * sysdeps/unix/xstat.c: Likewise.
35973 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35974
37fa3841
JM
35975 * sysdeps/unix/sysv/sigaction.c: Remove file.
35976
ff1962a3
JM
35977 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35978 (sysdep_headers): Remove variable.
35979 [termio.h not in sysdep_headers] (generated): Likewise.
35980 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35981 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35982 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35983 * sysdeps/unix/sysv/tcflow.c: Likewise.
35984 * sysdeps/unix/sysv/tcflush.c: Likewise.
35985 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35986 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35987 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35988 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35989 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35990
e7740d31
JM
35991 * sysdeps/unix/siglist.c: Remove file.
35992
ee06f18b
JM
35993 * sysdeps/unix/getppid.S: Remove file.
35994
097d59fa
JM
35995 * sysdeps/unix/mkdir.c: Remove file.
35996 * sysdeps/unix/rmdir.c: Likewise.
35997
ff3d51ec
AS
359982012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35999
36000 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36001 ERR_MAX value.
36002 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36003 errlist-compat value.
36004
50f81fd7
DM
360052012-04-18 David S. Miller <davem@davemloft.net>
36006
36007 * sysdeps/generic/memcopy.h (reg_char): Delete.
36008 * debug/strcat_chk.c: Use char, not reg_char.
36009 * debug/strcpy_chk.c: Likewise.
36010 * debug/strncat_chk.c: Likewise.
36011 * debug/strncpy_chk.c: Likewise.
36012 * string/memchr.c: Likewise.
36013 * string/memrchr.c: Likewise.
36014 * string/rawmemchr.c: Likewise.
36015 * string/strcat.c: Likewise.
36016 * string/strchr.c: Likewise.
36017 * string/strchrnul.c: Likewise.
36018 * string/strcmp.c: Likewise.
36019 * string/strcpy.c: Likewise.
36020 * string/strncat.c: Likewise.
36021 * string/strncmp.c: Likewise.
36022 * string/strncpy.c: Likewise.
36023
8ff41c46
WS
360242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36025
36026 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36027 __builtin_memcopy is called when src and dest ranges are known to not
36028 overlap.
36029
6b652f46
WS
360302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36031
36032 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36033 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36034 fwd_align_merge macro call.
36035 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36036 bwd_align_merge macro call.
36037 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36038
b282631e
WS
360392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36040
36041 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36042 bwd_align_merge macros.
36043 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36044 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36045 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36046
95aa737c
DM
360472012-04-18 David S. Miller <davem@davemloft.net>
36048
36049 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36050
7a99a614
AJ
360512012-04-18 Andreas Jaeger <aj@suse.de>
36052
36053 [BZ# 6794]
36054 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36055 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36056 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36057
36058 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36059 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36060 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36061
36062 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36063 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36064 Adjust for changed ldbl-128 files.
36065
36066 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36067 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36068 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36069
e5270c23
DM
360702012-04-17 David S. Miller <davem@davemloft.net>
36071
36072 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36073
fb5e92c9
AS
360742012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36075
36076 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36077 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36078 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36079 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36080 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36081 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36082
76da7265
AZ
360832012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36084
36085 [BZ #6794]
36086 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36087 * math/libm-test.inc: Add ilogb errno and exception tests.
36088 * math/w_ilogb.c: New file: ilogb wrapper.
36089 * math/w_ilogbf.c: New file: ilogbf wrapper.
36090 * math/w_ilogbl.c: New file: ilogbl wrapper.
36091 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36092 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36093 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36094 exception being thrown with 0.0 as argument.
36095 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36096 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36097 exception being thrown with 0.0 as argument.
36098 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36099 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36100 exception being thrown with 0.0 as argument.
36101 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36102 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36103 exception being thrown with 0.0 as argument.
36104 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36105 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 36106 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
36107 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36108 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36109 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36110 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36111 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36112 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36113
0396e69d
PB
361142012-04-17 Petr Baudis <pasky@ucw.cz>
36115
36116 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36117 with altivec.
36118
750b5926
MP
361192012-04-16 Marek Polacek <polacek@redhat.com>
36120
36121 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36122
751728a1
MP
361232012-04-16 Marek Polacek <polacek@redhat.com>
36124
36125 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36126 operands of fdivp instruction.
36127
34a27407
L
361282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36129
36130 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36131 * elf/tst-auditmod3b.c: Likewise.
36132 * elf/tst-auditmod4b.c: Likewise.
36133 * elf/tst-auditmod5b.c: Likewise.
36134 * elf/tst-auditmod6b.c: Likewise.
36135 * elf/tst-auditmod6c.c: Likewise.
36136 * elf/tst-auditmod7b.c: Likewise.
36137 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36138 * sysdeps/x86_64/preconfigure.in: Likewise.
36139 * sysdeps/x86_64/preconfigure: Regenerated.
36140
7e73e17d
L
361412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36142
36143 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36144 __ILP32__.
36145
c7a6ab72
AB
361462012-04-13 Antoine Balestrat <merkil33@gmail.com>
36147
36148 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36149 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36150
a9e8e0e0
CL
361512012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36152
36153 [BZ #13973]
36154 * locale/iso-639.def: Fix gl language name. Spotted by
36155 Yaron Shahrabani.
36156
ec98af7d
RM
361572012-04-12 Roland McGrath <roland@hack.frob.com>
36158
36159 [BZ #2074]
36160 * libio/libio.h (__io_write_fn): Update comment.
36161
247c3ede
PB
361622012-04-12 Petr Baudis <pasky@ucw.cz>
36163
36164 [BZ #2074]
36165 * stdio.texi (Hook Functions): The user provided writer function
36166 is not allowed to return -1.
36167
55939d6d
DM
361682012-04-11 David S. Miller <davem@davemloft.net>
36169
36170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36171
90020f5a
MF
361722012-04-11 Mike Frysinger <vapier@gentoo.org>
36173
36174 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36175 Add a leading slash to rtkaio.
36176
288f9098
JM
361772012-04-11 Jim Meyering <meyering@redhat.com>
36178
90020f5a
MF
36179 [BZ #11959]
36180 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36181 It is not necessarily an error to ignore fwrite's return
36182 value. One can reliably use ferror to test for errors after
36183 the fact.
288f9098 36184
4be2b570
L
361852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36186
36187 * bits/types.h (__snseconds_t): New type.
36188 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36189
36190 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36191 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36192 (__SNSECONDS_T_TYPE): Likewise.
36193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36194 (__SNSECONDS_T_TYPE): Likewise.
36195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36196 (__SNSECONDS_T_TYPE): Likewise.
36197
288f9098 361982012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
36199
36200 [BZ #2636]
36201 * manual/time.texi (Processor Time): Return type of times is
36202 elapsed real time since an arbitrary point in the past.
36203 (CPU Time): Move CLK_TCK from here...
36204 (Processor Time): ...to here. Correct description.
36205 * manual/conf.texi (Constants for Sysconf): Correct description of
36206 _SC_CLK_TCK.
36207
d7dd4413
DM
362082012-04-10 David S. Miller <davem@davemloft.net>
36209
36210 [BZ #13967]
36211 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36212 where the is a gap between DT_REL(A) and DT_JMPREL.
36213
b46068fc
L
362142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36215
36216 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36217 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36218 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36219
73d65cc3
SP
362202012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36221
36222 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36223 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36224 (dl_main): Handle --inhibit-cache.
36225 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36226 _dl_inhibit_cache.
36227 * elf/dl-load.c (_dl_map_object): Use it.
36228 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36229
bcc8d661
JM
362302012-04-09 Joseph Myers <joseph@codesourcery.com>
36231
8f9a2fae
JM
36232 [BZ #13872]
36233 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36234 (__ieee754_powl): Saturate large exponents rather than testing for
36235 overflow of y*log2(x).
36236 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36237 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36238 exceptions.
36239
bcc8d661
JM
36240 [BZ #11521]
36241 * math/s_ctan.c: Include <float.h>.
36242 (__ctan): Avoid internal overflow or cancellation in calculating
36243 denominator.
36244 * math/s_ctanf.c: Likewise.
36245 * math/s_ctanl.c: Likewise.
36246 * math/s_ctanh.c: Likewise.
36247 * math/s_ctanhf.c: Likewise.
36248 * math/s_ctanhl.c: Likewise.
36249 * math/libm-test.inc (ctan_test): Add more tests.
36250 (ctanh_test): Likewise.
36251 * sysdeps/i386/fpu/libm-test-ulps: Update.
36252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36253
823fbbb4
AJ
362542012-04-09 Andreas Jaeger <aj@suse.de>
36255
03879793
AJ
36256 [BZ #6894]
36257 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36258 is an optional BSD extension.
36259
823fbbb4
AJ
36260 [BZ #10254]
36261 * manual/stdio.texi (Opening Streams): Document additional fopen
36262 parameters.
36263
8de131cb
RM
362642012-04-09 Roland McGrath <roland@hack.frob.com>
36265
36266 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36267 %eax without telling the compiler.
36268
c0ed9d7d
CD
362692012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36270
36271 [BZ # 13963]
36272 * manual/install.texi: Use sourceware.org.
36273
c483f6b4
JM
362742012-04-09 Joseph Myers <joseph@codesourcery.com>
36275
d7dd9453
JM
36276 [BZ #13873]
36277 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36278 (__ieee754_pow): Generate overflow and underflow using huge*huge
36279 and tiny*tiny rather than just returning constant infinity or zero
36280 for large exponents.
36281 * math/libm-test.inc (pow_test): Require overflow exceptions for
36282 applicable cases of large exponents.
36283
c483f6b4
JM
36284 [BZ #706]
36285 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36286 (__ieee754_pow): Use iterative multiplication algorithm only for
36287 integer exponents with absolute value below 1024. Check for odd
36288 integer exponents when using algorithm for real exponents.
36289 * math/libm-test.inc (pow_test): Add more tests.
36290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36291
d2de7579
JM
362922012-04-08 Joseph Myers <joseph@codesourcery.com>
36293
36294 [BZ #13705]
36295 * math/libm-test.inc (exp_test): Do not allow overflow exception
36296 on underflow test.
36297
f77f1232
AJ
362982012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36299
36300 [BZ #13705]
36301 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36302 instead of __kernel_standard_f.
36303
3884932b
MF
363042012-04-08 Mike Frysinger <vapier@gentoo.org>
36305
36306 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36307 * sysdeps/x86_64/memset_chk.S: Likewise.
36308
54472e9c
AJ
363092012-04-08 Andreas Jaeger <aj@suse.de>
36310
6ab0fbfc
AJ
36311 [BZ #10153]
36312 * manual/startup.texi (Environment Access): Describe return value
36313 for putenv and setenv.
36314
61efba8c
AJ
36315 [BZ #6895]
36316 * manual/filesys.texi (Directory Entries): Add description for
36317 DT_LNK.
36318
95c3f29a
AJ
36319 [BZ #6890]
36320 * manual/filesys.texi (Directory Entries): Clarify that it's file
36321 system not operating system in the description of DT_UNKNOWN.
36322
54472e9c
AJ
36323 [BZ #6578]
36324 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36325
624254b1
SC
363262012-04-08 Stephen Compall <s11@member.fsf.org>
36327
36328 [BZ #6649]
36329 * manual/llio.texi (Opening and Closing Files): Add cross
36330 reference to explain mode argument.
36331
1e4920e0
MF
363322012-04-07 Mike Frysinger <vapier@gentoo.org>
36333
36334 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36335 * sysdeps/x86_64/memset_chk.S: Likewise.
36336
5ed848f3
DM
363372012-04-07 David S. Miller <davem@davemloft.net>
36338
36339 * elf/elf.h (R_SPARC_WDISP10): Define.
36340 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36341 R_SPARC_SIZE32.
36342 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36343 R_SPARC_SIZE64 and R_SPARC_H34.
36344
96154cd8
CD
363452012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36346
36347 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36348 conditions and remove no longer applicable assertion.
36349
9904dc47
L
363502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36351
36352 * bits/byteswap.h: Include <features.h>.
36353 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36354 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36355
f8887d0a
L
363562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36357
36358 * bits/byteswap.h (__bswap_16): Removed.
36359 Include <bits/byteswap-16.h> to get __bswap_16.
36360 * sysdeps/i386/bits/byteswap.h: Likewise.
36361 * sysdeps/s390/bits/byteswap.h: Likewise.
36362 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36363 * bits/byteswap-16.h: New file.
36364 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36365 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36366 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36367 * string/Makefile (headers): Add bits/byteswap-16.h.
36368
62470f60
PP
363692012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36370
36371 [BZ #13895]
36372 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36373 extra indirection.
36374 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36375 * nss/tst-nss-static.c: New.
36376
4dad7bab
RM
363772012-04-06 Robert Millan <rmh@gnu.org>
36378
36379 [BZ #6486]
36380 * manual/llio.texi (File Position Primitive): lseek
36381 refers to WHENCE when it really means OFFSET.
36382
e9142a17
AJ
363832012-04-06 Andreas Jaeger <aj@suse.de>
36384
2c040eff
AJ
36385 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36386 strncmp declarations.
36387
e9142a17
AJ
36388 * abilist/libc.abilist: Add __poll and __ppoll.
36389
ff9f1c5f
DM
363902012-04-05 David S. Miller <davem@davemloft.net>
36391
dcd2ae90
DM
36392 * scripts/check-local-headers.sh: Accept a host triplet in the
36393 path matched by the exclude regexp.
36394
993eb054
DM
36395 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36396 definition.
36397 * sysdeps/powerpc/powerpc32/dl-machine.h
36398 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36399 * sysdeps/s390/s390-32/dl-machine.h
36400 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36401 * sysdeps/sparc/sparc32/dl-machine.h
36402 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36403 * sysdeps/sparc/sparc64/dl-machine.h
36404 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36405
ff9f1c5f
DM
36406 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36407 lazy binding.
48e2e132 36408 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
36409 undefined symbol errors.
36410
48e2e132 36411 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
36412 DT_NEEDED entries.
36413
e80d6f94
MM
364142012-04-05 Michael Matz <matz@suse.de>
36415
36416 [BZ #13592]
36417 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36418
349fa79f
AJ
364192012-04-05 Andreas Jaeger <aj@suse.de>
36420
36421 [BZ #13908]
36422 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36423 comment.
36424
f402708f
KK
364252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36426
36427 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36428 which ROUND is no valid rounding mode.
36429
2ecccfc9
KK
364302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36431
36432 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36433 read again.
36434 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36435
8a53f50f
KK
364362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36437
36438 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36439 an exception using FPU order intentionally.
36440
364412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36442
36443 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36444 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36445 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36446 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36447
d653abb7
SJ
364482012-04-05 Simon Josefsson <simon@josefsson.org>
36449
36450 [BZ #12340]
36451 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36452 EINVAL when BUFLEN is too smal.
36453
c3b1bf7d
TS
364542012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36455
36456 [BZ #13553]
36457 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36458 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36459
b1aa60f3
AJ
364602012-04-03 Andreas Jaeger <aj@suse.de>
36461
c3b1bf7d 36462 [BZ #13938]
67f60a26
AJ
36463 * manual/setjmp.texi (System V contexts): Fix sentence.
36464
b1aa60f3
AJ
36465 [BZ #13926]
36466 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36467 New macro for this case.
36468 [!__GNUC__] (__bswap_64): New inline function for this case.
36469 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36470 * bits/byteswap.h: Likewise.
36471 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36472 ull, guard with __GLIBC_HAVE_LONG_LONG.
36473
36474 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36475 __GLIBC_HAVE_LONG_LONG.
36476
36477 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36478 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36479
39c59c35
TMQMF
364802012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36481
36482 [BZ #13691]
36483 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36484 inptr and inend, rather than using last_ch.
36485
135ffda8
DM
364862012-04-02 David S. Miller <davem@davemloft.net>
36487
36488 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36489 * stdio-common/printf-parse.h (read_int): Change return type to
36490 'int', return -1 on INT_MAX overflow.
36491 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36492 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36493 overflows INT_MAX. Check for overflow of in-format-string precision
36494 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36495 SIZE_MAX not INT_MAX for integer overflow test.
36496 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36497 skip the construct in the format string but do not record anything.
36498 * stdio-common/bug22.c: Adjust to test both width/prevision
36499 INT_MAX overflow as well as total length INT_MAX overflow. Check
36500 explicitly for proper errno values.
36501
228c019e
TS
365022012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36503
302cadd3
TS
36504 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36505 CHAR_MAX.
36506 * string/test-strcmp.c [! WIDE]: Likewise.
36507 * time/tst-mktime2.c: Likewise for INT_MAX.
36508 * string/test-string.h: #include <sys/param.h> for MIN.
36509
228c019e
TS
36510 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36511 * sysdeps/i386/init-first.c (init): Likewise.
36512 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36513 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36514 * sysdeps/sh/init-first.c (init): Likewise.
36515
cfa633f5
UD
365162012-04-01 Ulrich Drepper <drepper@gmail.com>
36517
36518 * po/ru.po: Update from translation team.
d1635ef8 36519 * po/vi.po: Likewise.
cfa633f5 36520
6cd0a5ea
SP
365212012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36522
36523 * resolv/nss_dns/dns-host.c: Merge copyright years.
36524
4b43400f
LD
365252012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36526
36527 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36528 Optimize memcpy with prefetch if
36529 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36530 src, dst pointers have unequal 16 byte alignments.
36531
48c41d04
SP
365322012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36533
36534 [BZ #13928]
36535 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36536 from a CNAME entry and return the minimum ttl for the query.
36537 (gaih_getanswer_slice): Likewise.
36538
b8dc394d
JL
365392012-03-30 Jeff Law <law@redhat.com>
36540
36541 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36542 due to long keys.
36543 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36544 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36545
2f5a5ed0
JL
36546 * resolv/nss_dns/dns-host.c: Update copyright year.
36547
1d39e359
UD
365482012-03-30 Ulrich Drepper <drepper@gmail.com>
36549
c030f70c 36550 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 36551 requests to save a system call. Fix check that all bytes are sent.
c030f70c 36552
1d39e359
UD
36553 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36554 comments for sendmmsg.
36555
365562012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
36557
36558 [BZ #13691]
36559 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36560 with only 1 character between 0x0041 and 0x01b0.
36561 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36562 * wcsmbs/tst-mbsnrtowcs.c: New file.
36563
20fde227
DM
365642012-03-29 David S. Miller <davem@davemloft.net>
36565
36566 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36567 small copies by hand.
36568
984a4237
JL
365692012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36570
36571 [BZ #13761]
57f41c40
AS
36572 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36573 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36574 group memberships.
984a4237 36575
18c9d62b
DM
365762012-03-28 David S. Miller <davem@davemloft.net>
36577
88d85d4f
DM
36578 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36579 that branches into memcpy.
36580 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36581 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36582 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36583 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36584 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36585 bits.
36586 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36587 implementation too.
36588 * sysdeps/sparc/mempcpy.S: New file.
36589
e5aa83e1
DM
36590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36591 the IFUNC routine in the libc case.
36592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36593
88570753
DM
36594 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36595 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36596 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36597 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36598 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36599 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36600 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36601 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36602
249d7567
DM
36603 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36604 loop to 256 bytes instead of 64 bytes and fix test signedness.
36605
18c9d62b
DM
36606 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36607 * sysdeps/sparc/sparc32/Makefile: rather than here...
36608 * sysdeps/sparc/sparc64/Makefile: and here.
36609
05f3d1f6
UD
366102012-03-28 Ulrich Drepper <drepper@gmail.com>
36611
36612 * malloc/mallocbug.c: Avoid warnings about unused variables.
36613
86ae07a8
JL
366142012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36615
36616 [BZ #13760]
36617 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36618 in the right place. Discard and retry query if response is
36619 larger than input buffer size.
36620
41bf21a1
JM
366212012-03-28 Joseph Myers <joseph@codesourcery.com>
36622
d6270972
JM
36623 [BZ #369]
36624 [BZ #2678]
36625 [BZ #3866]
36626 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36627 x for large integer exponent.
36628 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36629 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36630 sign of result as needed afterwards.
36631 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36632 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36633 result for underflowing pow the same as for overflow.
36634 (__kernel_standard_l): Handle powl overflow and underflow here
36635 rather than calling __kernel_standard.
36636 * math/libm-test.inc (pow_test): Add more tests.
36637
414fca03 36638 [BZ #3868]
41bf21a1
JM
36639 [BZ #13879]
36640 [BZ #13910]
36641 [BZ #13911]
36642 [BZ #13912]
36643 [BZ #13913]
36644 [BZ #13915]
36645 [BZ #13916]
36646 [BZ #13917]
36647 [BZ #13918]
36648 [BZ #13919]
36649 [BZ #13920]
36650 [BZ #13921]
36651 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36652 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36653 (__kernel_standard_l): New function.
36654 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36655 __kernel_standard.
36656 * math/w_acosl.c (__acosl): Likewise.
36657 * math/w_asinl.c (__asinl): Likewise.
36658 * math/w_atan2l.c (__atan2l): Likewise.
36659 * math/w_atanhl.c (__atanhl): Likewise.
36660 * math/w_coshl.c (__coshl): Likewise.
36661 * math/w_exp10l.c (__exp10l): Likewise.
36662 * math/w_exp2l.c (__exp2l): Likewise.
36663 * math/w_fmodl.c (__fmodl): Likewise.
36664 * math/w_hypotl.c (__hypotl): Likewise.
36665 * math/w_j0l.c (__j0l, __y0l): Likewise.
36666 * math/w_j1l.c (__j1l, __y1l): Likewise.
36667 * math/w_jnl.c (__jnl, __ynl): Likewise.
36668 * math/w_lgammal.c (__lgammal): Likewise.
36669 * math/w_log10l.c (__log10l): Likewise.
36670 * math/w_log2l.c (__log2l): Likewise.
36671 * math/w_logl.c (__logl): Likewise.
36672 * math/w_powl.c (__powl): Likewise.
36673 * math/w_remainderl.c (__remainderl): Likewise.
36674 * math/w_scalbl.c (sysv_scalbl): Likewise.
36675 * math/w_sinhl.c (__sinhl): Likewise.
36676 * math/w_sqrtl.c (__sqrtl): Likewise.
36677 * math/w_tgammal.c (__tgammal): Likewise.
36678 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36679 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36680 * math/libm-test.inc (acos_test): Add more tests.
36681 (acosh_test): Likewise.
36682 (asin_test): Likewise.
36683 (atanh_test): Likewise.
36684 (exp_test): Likewise.
36685 (exp10_test): Likewise.
36686 (exp2_test): Likewise.
36687 (expm1_test): Likewise.
36688 (lgamma_test): Likewise.
36689 (log_test): Likewise.
36690 (log10_test): Likewise.
36691 (log1p_test): Likewise.
36692 (log2_test): Likewise.
36693 (pow_test): Do not allow some spurious overflow exceptions.
36694 (sqrt_test): Add more tests.
36695 (tgamma_test): Likewise.
36696 (y0_test): Likewise.
36697 (y1_test): Likewise.
36698 (yn_test): Likewise.
36699
dd62fda6
AB
367002012-03-27 Anton Blanchard <anton@samba.org>
36701
36702 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36703 MAP_HUGETLB.
36704 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36705 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36706 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36707
1e3cdfda
AJ
367082012-03-27 David S. Miller <davem@davemloft.net>
36709
b855ab85
DM
36710 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36711
1e3cdfda
AJ
36712 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36713 have-as-vis3 check.
36714
367152012-03-27 Andreas Jaeger <aj@suse.de>
36716
36717 * sysdeps/x86_64/elf/configure.in: Moved to ...
36718 * sysdeps/x86_64/configure.in: ... here.
36719 * sysdeps/x86_64/elf/start.S: Moved to ...
36720 * sysdeps/x86_64/start.S: ... here.
36721 * sysdeps/x86_64/elf/configure: Delete.
36722
36723 * sysdeps/x86_64/configure.in: Merge contents from
36724 sysdeps/i386/configure.in (without i686 check).
36725
36726 * sysdeps/i386/elf/Versions: Merge into ...
36727 * sysdeps/i386/Versions: ... this.
36728 * sysdeps/i386/elf/Versions: Delete file.
36729 * sysdeps/i386/elf/start.S: Moved to ...
36730 * sysdeps/i386/start.S: ...here.
36731 * sysdeps/i386/elf/configure.in: Merge into...
36732 * sysdeps/i386/configure.in: ...here.
36733 * sysdeps/i386/elf/configure.in: Delete file.
36734 * sysdeps/i386/elf/configure: Delete file.
36735
36736 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36737 * debug/backtracesyms.c: ... here.
36738 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36739 * debug/backtracesymsfd.c: ... here.
36740 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36741 * sysdeps/generic/ifunc-sel.h: ... here.
36742
36743 * sysdeps/unix/i386/start.c: Delete file.
36744 * sysdeps/unix/sparc/start.c: Delete file.
36745 * sysdeps/unix/start.c: Delete file.
36746
36747 * sysdeps/sh/elf/configure.in: Moved to ...
36748 * sysdeps/sh/configure.in: ... here.
36749 * sysdeps/sh/elf/start.S: Moved to ...
36750 * sysdeps/sh/start.S: ... here.
36751 * sysdeps/sh/elf/configure: Delete file.
36752
36753 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36754 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36755 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36756 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36757 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36758 * sysdeps/powerpc/powerpc64/start.S: here.
36759 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36760 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36761 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36762 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36763 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36764
36765 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36766 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36767 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36768 * sysdeps/powerpc/powerpc32/start.S: ... here.
36769 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36770 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36771 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36772
36773 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36774 * sysdeps/powerpc/ifunc-sel.h: ... here.
36775 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36776 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36777
36778 * sysdeps/sparc/elf/configure.in: Moved to ...
36779 * sysdeps/sparc/configure.in: ... here.
36780 * sysdeps/sparc/elf/configure: Delete file.
36781 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36782 * sysdeps/sparc/sparc32/start.S: ... here.
36783 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36784 * sysdeps/sparc/sparc64/start.S: ... here.
36785 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36786 * sysdeps/sparc/sparc32/Makefile: ... this.
36787 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36788 * sysdeps/sparc/sparc64/Makefile: ... this.
36789
36790 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36791 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36792 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36793 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36794 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36795 * sysdeps/s390/s390-32/setjmp.S: ... here.
36796 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36797 * sysdeps/s390/s390-32/configure.in: ... here.
36798 * sysdeps/s390/s390-32/elf/configure: Delete file.
36799 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36800 * sysdeps/s390/s390-32/start.S: ... here.
36801
36802 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36803 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36804 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36805 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36806 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36807 * sysdeps/s390/s390-64/setjmp.S: ... here.
36808 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36809 * sysdeps/s390/s390-64/configure.in: ... here
36810 * sysdeps/s390/s390-64/elf/configure: Delete file.
36811 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36812 * sysdeps/s390/s390-64/start.S: ... here.
36813 * sysdeps/s390/s390-64/elf/configure: Delete.
36814
36815 * configure.in: Remove support for elf directories in sysdeps.
36816
36817 * configure: Regenerated.
36818 * sysdeps/i386/configure: Regenerated.
36819 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36820 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36821 * sysdeps/s390/s390-32/configure: Regenerated.
36822 * sysdeps/s390/s390-64/configure: Regenerated.
36823 * sysdeps/sh/configure: Regenerated.
36824 * sysdeps/sparc/configure: Regenerated.
36825 * sysdeps/x86_64/configure: Regenerated.
36826
a3f61311
AS
368272012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36828
c876e002
AS
36829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36830
a3f61311
AS
36831 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36832 denormal result into account.
36833
ac4c54f0
RM
368342012-03-25 Roland McGrath <roland@hack.frob.com>
36835
36836 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36837 Reported by Allan McRae <allan@archlinux.org>.
36838
6a9b9c02
JL
368392012-03-23 Jeff Law <law@redhat.com>
36840
36841 * nss/getnssent.c (__nss_getent): Fix typo.
36842
4c42a0c1
DM
368432012-03-23 David S. Miller <davem@davemloft.net>
36844
36845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36846
1532c7ac
L
368472012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36848
36849 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36850 to pad to uint64_t for each field.
36851 (dl_tls_index): Replace unsigned long with uint64_t.
36852
3ff42526
PP
368532012-03-23 Daniel Jacobowitz <dmj@google.com>
36854 Paul Pluzhnikov <ppluzhnikov@google.com>
36855
36856 [BZ #6528]
36857 * grp/Makefile (otherlibs): Don't set it.
36858 * inet/Makefile (otherlibs): Likewise.
36859 * login/Makefile (otherlibs): Likewise.
36860 * nscd/Makefile (otherlibs): Likewise.
36861 * posix/Makefile (otherlibs): Likewise.
36862 * pwd/Makefile (otherlibs): Likewise.
36863 * rt/Makefile (otherlibs): Likewise.
36864 * sunrpc/Makefile (otherlibs): Likewise.
36865 * nss/Makefile (otherlibs): Likewise.
36866 Add libnss_files to routines and static-only-routines.
36867 ($(objpfx)getent): Remove rule.
36868 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36869 static-only-routines.
36870
7c69cd14
JM
368712012-03-22 Joseph Myers <joseph@codesourcery.com>
36872
36873 [BZ #13892]
36874 * math/s_cexp.c: Include <float.h>.
36875 (__cexp): Handle exp result overflowing not necessarily
36876 overflowing both real and imaginary parts of result.
36877 * math/s_cexpf.c: Likewise.
36878 * math/s_cexpl.c: Likewise.
36879 * math/libm-test.inc (cexp_test): Add more tests.
36880 * sysdeps/i386/fpu/libm-test-ulps: Update.
36881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36882
81b035fe
L
368832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36884
36885 * include/link.h (ELFW): New macro.
36886 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36887 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36888
1da7940c
L
368892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36890
36891 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36892 with uint64_t.
36893
b749dbb9
L
368942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36895
36896 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36897 declaration.
36898 (struct La_x32_retval): Likewise.
36899
2ff87f3f
L
369002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36901
36902 * sysdeps/x86_64/preconfigure.in: New file.
36903 * sysdeps/x86_64/preconfigure: New generated file.
36904
c0df8e69
JM
369052012-03-22 Joseph Myers <joseph@codesourcery.com>
36906
48e44791
JM
36907 [BZ #13824]
36908 * math/e_exp2l.c: Include <float.h>.
36909 (__ieee754_exp2l): Handle overflow and underflow cases
36910 separately. Only pass fractional part of argument to
36911 __ieee754_expl.
36912 * math/libm-test.inc (exp2_test): Add more tests.
36913
c0df8e69
JM
36914 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36915 negating x to take absolute value.
36916 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36917 Likewise.
36918 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36919 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36920 Likewise.
36921 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36922 computing low part if x was negated.
36923 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36924
c8e43ba7
L
369252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36926
36927 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36928 la_x32_gnu_pltexit.
36929 (pltexit): Cast int_retval to ptrdiff_t.
36930 * elf/tst-auditmod3b.c: Likewise.
36931 * elf/tst-auditmod4b.c: Likewise.
36932 * elf/tst-auditmod5b.c: Likewise.
36933 * elf/tst-auditmod6b.c: Likewise.
36934 * elf/tst-auditmod6c.c: Likewise.
36935 * elf/tst-auditmod7b.c: Likewise.
36936
36937 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36938 and x32_gnu_pltexit.
36939
36940 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36941 __ELF_NATIVE_CLASS.
36942 (La_x32_regs): New macro.
36943 (La_x32_retval): Likewise.
36944 (la_x32_gnu_pltenter): New function prototype.
36945 (la_x32_gnu_pltexit): Likewise.
36946
7998fa78
AS
369472012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36948
dcb33988
AS
36949 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36950 exponent.
36951
233fc563
AS
36952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36953
7998fa78
AS
36954 * configure.in (libc_cv_cc_nofma): Check for option to disable
36955 generation of FMA instructions.
36956 * configure: Regenerate.
36957 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36958 * sysdeps/ieee754/dbl-64/Makefile: New file.
36959 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36960 Remove brandred-fma4.
36961 (CFLAGS-brandred-fma4.c): Remove.
36962 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36963 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36964 define.
36965 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36966 define.
36967
8e95c99a
L
369682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36969
36970 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36971 LLONG_MAX != LONG_MAX.
36972 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36973 (_fitoa_word): Likewise.
36974 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36975 LLONG_MAX != LONG_MAX.
36976 * stdio-common/_itowa.h: Include <_itoa.h>.
36977 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36978 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36979 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36980 only if not defined.
36981 (_ITOA_WORD_TYPE): Likewise.
36982 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36983 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36984
6f4db457
DM
369852012-03-21 David S. Miller <davem@davemloft.net>
36986
36987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36988
7785fe5a
L
369892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36990
36991 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36992 of x86_64 when setting libc_cv_slibdir, libdir and
36993 libc_cv_localedir.
36994 * sysdeps/unix/sysv/linux/configure: Regenerated.
36995
4535cd55
JM
369962012-03-21 Joseph Myers <joseph@codesourcery.com>
36997
36998 * manual/lang.texi (Old Varargs): Remove section.
36999 (How Variadic): Update menu.
37000 (va_start): Do not mention varargs.h.
37001
17228132
TS
370022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37003 Joseph Myers <joseph@codesourcery.com>
37004
37005 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37006 link test.
37007 * configure: Regenerated.
37008
8149f976
TS
370092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37010
05f3d1f6
UD
37011 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37012 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37013 conformtest.pl
8149f976 37014
1a4ac776
JM
370152012-03-21 Joseph Myers <joseph@codesourcery.com>
37016
be22ce65
JM
37017 * NOTES: Remove.
37018 * Makefile (files-for-dist): Remove NOTES.
37019 (NOTES): Remove rule.
37020 * README: Don't refer to NOTES.
37021 * manual/creature.texi: Don't include macros.texi.
37022 * manual/intro.texi (creature.texi): Remove comment referring to
37023 NOTES.
37024
40b601fb
JM
37025 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37026 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37027 * configure: Regenerated.
37028 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37029 LIBC_TRY_CC_OPTION.
37030 (libc_cv_as_i686): Likewise.
37031 (libc_cv_cc_avx): Likewise.
37032 (libc_cv_cc_sse2avx): Likewise.
37033 (libc_cv_cc_fma4): Likewise.
37034 (libc_cv_cc_novzeroupper): Likewise.
37035 * sysdeps/i386/configure: Regenerated.
37036
1a4ac776
JM
37037 [BZ #13883]
37038 * sysdeps/i386/fpu/s_cexp.S: Remove.
37039 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37040 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37041 * math/libm-test.inc (cexp_test): Add more tests.
37042 * sysdeps/i386/fpu/libm-test-ulps: Update.
37043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37044
a458e7fe
AM
370452012-03-21 Allan McRae <allan@archlinux.org>
37046
37047 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37048
0cb7efc5
JM
370492012-03-21 Joseph Myers <joseph@codesourcery.com>
37050
37051 [BZ #13871]
37052 * math/w_exp2.c: Do not include <float.h>.
37053 (o_threshold, u_threshold): Remove.
37054 (__exp2): Calculate result before checking finiteness and calling
37055 __kernel_standard.
37056 * math/w_exp2f.c: Likewise.
37057 * math/w_exp2l.c: Likewise.
37058 * math/libm-test.inc (exp2_test): Require overflow exception for
37059 1e6 input.
2460d3aa
JM
37060
37061 [BZ #3866]
37062 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37063 range of signed 64-bit integers before using fistpll. Remove
37064 checks for whether integers fit in mantissa bits.
37065 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37066 the range of signed 32-bit integers before using fistpl. Remove
37067 checks for whether integers fit in mantissa bits.
37068 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37069 (__ieee754_powl): Test for y outside the range of signed 64-bit
37070 integers before using fistpll. Reduce 64-bit values to 63-bit
37071 ones as needed.
37072 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37073 divide-by-zero is raised for zero to large negative powers.
37074 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37075 (__ieee754_powl): Test for y outside the range of signed 64-bit
37076 integers before using fistpll. Reduce 64-bit values to 63-bit
37077 ones as needed.
37078 * math/libm-test.inc (pow_test): Add more tests.
37079
eb96ffb0
L
370802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37081
37082 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37083 <stdio-common/_itoa.h>.
37084 * debug/segfault.c: Likewise.
37085 * elf/dl-cache.c: Likewise.
37086 * elf/dl-minimal.c: Likewise.
37087 * elf/dl-misc.c: Likewise.
37088 * elf/dl-sysdep.c: Likewise.
37089 * elf/dl-version.c: Likewise.
37090 * elf/rtld.c: Likewise.
37091 * hurd/hurdsock.c: Likewise.
37092 * hurd/lookup-retry.c: Likewise.
37093 * malloc/malloc.c: Likewise.
37094 * malloc/mtrace.c: Likewise.
37095 * nscd/nscd_getgr_r.c: Likewise.
37096 * nscd/nscd_getpw_r.c: Likewise.
37097 * nscd/nscd_getserv_r.c: Likewise.
37098 * posix/getopt_init.c: Likewise.
37099 * posix/wordexp.c: Likewise.
37100 * stdio-common/_itoa.c: Likewise.
37101 * stdio-common/printf_fphex.c: Likewise.
37102 * stdio-common/vfprintf.c: Likewise.
37103 * string/_strerror.c: Likewise.
37104 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37105 * sysdeps/i386/i686/hp-timing.h: Likewise.
37106 * sysdeps/mach/_strerror.c: Likewise.
37107 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37108 * sysdeps/mach/hurd/sethostid.c: Likewise.
37109 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37110 * sysdeps/mach/xpg-strerror.c: Likewise.
37111 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37112 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37113 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37114 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37115 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37116 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37117 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37118 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37119 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37120 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37121 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37122 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37123 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37124 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37125 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37126 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37127 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37128 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37129 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37130 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37131 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37132
37133 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37134
37135 * stdio-common/_itoa.h: Moved to ...
37136 * sysdeps/generic/_itoa.h: Here.
37137
37138 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37139
37140 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37141 instead of "_itoa.h" and "_itowa.h".
37142 * stdio-common/vfprintf.: Likewise.
37143
d1af992d
L
371442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37145
37146 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37147 <bits/wordsize.h>.
37148 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37149 (__signbit): Likwise.
37150 (llrintf): Likwise.
37151 (llrint): Likwise.
37152
114883e0
L
371532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37154
37155 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37156 __WORDSIZE != 64.
37157
c135cc1b
JM
371582012-03-20 Joseph Myers <joseph@codesourcery.com>
37159
37160 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37161 OVERFLOW_EXCEPTION_OK.
37162 * math/libm-test.inc ("Philosophy"): Update comment about
37163 exception testing.
37164 (OVERFLOW_EXCEPTION): Define.
37165 (OVERFLOW_EXCEPTION_OK): Likewise.
37166 (INVALID_EXCEPTION_OK): Renumber.
37167 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37168 (IGNORE_ZERO_INF_SIGN): Likewise.
37169 (test_exceptions): Handle FE_OVERFLOW.
37170 (exp10_test): Expect overflow exceptions.
37171 (exp2_test): Likewise.
37172 (expm1_test): Likewise.
37173 (nextafter_test): Likewise.
37174 (pow_test): Likewise.
37175 (scalbn_test): Likewise.
37176 (scalbln_test): Likewise.
37177
95443d88
L
371782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37179
37180 * sysdeps/x86_64/bits/atomic.h
37181 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37182 64bit integer.
37183 (atomic_exchange_acq): Likewise.
37184 (__arch_exchange_and_add_body): Likewise.
37185 (__arch_add_body): Likewise.
37186 (atomic_add_negative): Likewise.
37187 (atomic_add_zero): Likewise.
37188
490df6c4
L
371892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37190
c2722551 37191 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
37192 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37193
5e52b189
L
371942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37195
37196 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37197 Check __x86_64__ instead of __WORDSIZE.
37198
a9879d4c
L
371992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37200
37201 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37202
5df98260
DM
372032012-03-19 David S. Miller <davem@davemloft.net>
37204
e1497744
DM
37205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37206
5df98260
DM
37207 * sysdeps/sparc/fpu/fenv_private.h: New file.
37208 * sysdeps/sparc/fpu/math_private.h: Use it.
37209 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37210 Remove.
57f41c40 37211 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
37212 (libc_feholdexcept_setroundl): Remove.
37213 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37214 Remove.
37215 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37216 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37217
b4c35121
L
372182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37219
37220 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37221 int64_t instead of long int.
37222 (INSERT_WORDS64): Likwise.
37223
56965fd7
L
372242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37225
37226 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37227 _Unwind_GetCFA return to _Unwind_Ptr first.
37228
83d1aec8
JM
372292012-03-19 Joseph Myers <joseph@codesourcery.com>
37230
1897ad44
JM
37231 [BZ #13629]
37232 * math/s_clog.c: Include <float.h>.
37233 (__clog): Scale large or subnormal inputs.
37234 * math/s_clogf.c: Likewise.
37235 * math/s_clogl.c: Likewise.
37236 * math/s_clog10.c: Include <float.h>.
37237 (M_LOG10_2): Define.
37238 (__clog10): Scale large or subnormal inputs.
37239 * math/s_clog10f.c: Likewise.
37240 * math/s_clog10l.c: Likewise.
37241 * math/libm-test.inc (clog_test): Add more tests.
37242 (clog10_test): Likewise.
37243 * sysdeps/i386/fpu/libm-test-ulps: Update.
37244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37245
7726d6a9
JM
37246 [BZ #11451]
37247 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37248 x and y.
37249 * math/libm-test.inc (atan2_test): Add another test.
37250
83d1aec8
JM
37251 * Makerules (common-objdir-compile): Remove.
37252 * sysdeps/unix/Makefile (config-generated): Do not add
37253 $(unix-generated) to variable.
37254 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37255 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37256 Remove rule.
37257 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37258 Likewise.
37259 [generic bits/local_lim.h] (before-compile): Do not append to
37260 variable.
37261 [generic bits/local_lim.h] (common-generated): Likewise.
37262 [generic sys/param.h] (before-compile): Do not append to variable.
37263 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37264 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37265 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37266 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37267 include.
37268 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37269 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37270 [generic sys/param.h] ($(addprefix
37271 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37272 [generic sys/param.h] (common-generated): Do not append to
37273 variable.
37274 [generic sys/param.h] (sysdep_headers): Likewise.
37275 [generic bits/errno.h] (before-compile): Do not append to
37276 variable.
37277 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37278 rule.
37279 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37280 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37281 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37282 [generic bits/errno.h] (common-generated): Do not append to
37283 variable.
37284 [generic bits/ioctls.h] (before-compile): Do not append to
37285 variable.
37286 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37287 rule.
37288 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37289 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37290 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37291 rule.
37292 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37293 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37294 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37295 [generic bits/ioctls.h] (common-generated): Do not append to
37296 variable.
37297 [generic sys/syscall.h] (syscall.h): Remove variable.
37298 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37299 rule.
37300 [generic sys/syscall.h] (before-compile): Do not append to
37301 variable.
37302 [generic sys/syscall.h] (common-generated): Likewise.
37303 * sysdeps/unix/errnos-tmpl.c: Remove file.
37304 * sysdeps/unix/errnos.awk: Likewise.
37305 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37306 * sysdeps/unix/ioctls.awk: Likewise.
37307 * sysdeps/unix/mk-local_lim.c: Likewise.
37308 * sysdeps/unix/snarf-ioctls: Likewise.
37309
4851a949
RH
373102012-03-19 Richard Henderson <rth@twiddle.net>
37311
bd37f2ee
RH
37312 * sysdeps/i386/fpu/fenv_private.h: New file.
37313 * sysdeps/i386/fpu/math_private.h: Use it.
37314 (math_opt_barrier, math_force_eval): Remove.
37315 (libc_feholdexcept_setround_53bit): Remove.
37316 (libc_feupdateenv_53bit): Remove.
37317 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37318 (math_opt_barrier, math_force_eval): Remove.
37319 (libc_feholdexcept): Remove.
37320 (libc_feholdexcept_setround): Remove.
37321 (libc_fetestexcept, libc_fesetenv): Remove.
37322 (libc_feupdateenv_test): Remove.
37323 (libc_feupdateenv, libc_feholdsetround): Remove.
37324 (libc_feresetround): Remove.
37325
d0adc922
RH
37326 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37327 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37328
0fe0f1f8
RH
37329 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37330 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37331 (libc_feupdateenv_testl): New.
37332 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37333 (libc_feupdateenv_testf): New.
37334 (libc_feupdateenv): Use libc_feupdateenv_test.
37335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37336 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37337
eb92c487
RH
37338 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37339 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37340 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37341 (libc_feresetround_noex): New.
37342 (libc_feresetround_noexf): New.
37343 (libc_feresetround_noexl): New.
37344 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37345 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37346 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37347 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37348 SET_RESTORE_ROUND.
37349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37350 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37351 (__cos): Likewise.
37352 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37353 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37354 SET_RESTORE_ROUND_NOEX.
37355 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37356 SET_RESTORE_ROUND_NOEXF.
37357 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37358 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37359 (libc_feholdsetroundf): New.
37360 (libc_feresetround, libc_feresetroundf): New.
37361
7d2e8012
RH
37362 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37363 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37364 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37365
b4dabbb4
RH
37366 * sysdeps/generic/math_private.h: Include <fenv.h>.
37367 (default_libc_feholdexcept): New.
37368 (default_libc_feholdexcept_setround): New.
37369 (default_libc_fesetenv, default_libc_feupdateenv): New.
37370 (libc_feholdexcept): Only define if undefined.
37371 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37372 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37373 (libc_feholdexcept_setroundl): Likewise.
37374 (libc_feholdexcept_setround_53bit): Likewise.
37375 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37376 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37377 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37378 (libc_feupdateenv_53bit): Likewise.
37379 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37380 (libc_feholdexcept): Convert from macro to inline function.
37381 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37382 (libc_fesetenv, libc_feupdateenv): Likewise.
37383
4851a949
RH
37384 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37385 not previously defined.
37386 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37387 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37388 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37389 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37390 * sysdeps/ieee754/flt-32/math_private.h: New file.
37391 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37392 math_private.h below SET_FLOAT_WORD.
37393 (__isnan, __isinf_ns, __finite): Remove.
37394 (__isnanf, __isinf_nsf, __finitef): Remove.
37395
e79d442e
AS
373962012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37397
37398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37399
90b80344
DM
374002012-03-17 David S. Miller <davem@davemloft.net>
37401
37402 [BZ #6471]
37403 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37404 for 2.16.
37405
edc21804
DM
374062012-03-16 David S. Miller <davem@davemloft.net>
37407
77e927af
DM
37408 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37409 warnings.
37410
374976dd
DM
37411 [BZ #6471]
37412 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37413 properly.
37414 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37415 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37416 sysdep_routines when subdir is sysvipc.
37417 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37418 __getshmlba helper.
37419
edc21804
DM
37420 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37421
473c3ef3
L
374222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37423
37424 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37425 [__LP64__].
37426
eb0f39b6
L
374272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37428
37429 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37430 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37431 (__lround): Renamed to ...
37432 (__llround): This. Replace long int with long long int.
37433 Define lround functions as aliases of llround functions.
37434 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37435
6b6cd74b
L
374362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37437
37438 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37439 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37440 adresses to uintptr_t. Replace "long int" and "unsigned long
37441 int" with "greg_t" on va_arg.
37442
f1a77b01
L
374432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37444
37445 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37446 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37447
37448 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37449 Move e_machine check before EI_CLASS check. Handle x32
37450 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37451 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37452 SKIP_EM_IA_64 and include
37453 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37454
37455 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37456 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37457 (add_system_dir): New macro.
37458
37459 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37460 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37461
11b90b9f
JM
374622012-03-16 Joseph Myers <joseph@codesourcery.com>
37463
c36e1d23
JM
37464 [BZ #2551]
37465 [BZ #2552]
37466 [BZ #2553]
37467 [BZ #2554]
37468 [BZ #2562]
37469 [BZ #2563]
37470 [BZ #2565]
37471 [BZ #2566]
37472 [BZ #2576]
37473 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37474 (y0): Likewise.
37475 * math/w_j0f.c (j0f): Likewise.
37476 (y0f): Likewise.
37477 * math/w_j0l.c (__j0l): Likewise.
37478 (__y0l): Likewise.
37479 * math/w_j1.c (j1): Likewise.
37480 (y1): Likewise.
37481 * math/w_j1f.c (j1f): Likewise.
37482 (y1f): Likewise.
37483 * math/w_j1l.c (__j1l): Likewise.
37484 (__y1l): Likewise.
37485 * math/w_jn.c (jn): Likewise.
37486 (yn): Likewise.
37487 * math/w_jnf.c (jnf): Likewise.
37488 (ynf): Likewise.
37489 * math/w_jnl.c (__jnl): Likewise.
37490 (__ynl): Likewise.
37491 * math/libm-test.inc (j0_test): Add more tests.
37492 (j1_test): Likewise.
37493 (jn_test): Likewise. Add trailing semicolon to existing test.
37494 (y0_test): Likewise.
37495 (y1_test): Likewise.
37496 * sysdeps/i386/fpu/libm-test-ulps: Update.
37497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37498
11b90b9f
JM
37499 [BZ #13851]
37500 [BZ #13854]
37501 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37502 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37503 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37504 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37505 (__tanl): Set errno for infinite argument.
37506 * sysdeps/i386/fpu/mptan.c: Remove.
37507 * sysdeps/i386/fpu/s_tan.S: Likewise.
37508 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37509 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37510 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37511 * math/libm-test.inc (tan_test): Add more tests and enable more
37512 tests for double and long double.
37513 * sysdeps/i386/fpu/libm-test-ulps: Update.
37514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37515
6a1bd2a1
JK
375162012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37517
37518 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37519 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37520
10a803e0
RM
375212012-03-16 Roland McGrath <roland@hack.frob.com>
37522
37523 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37524 * configure.in: Use it for both main tree and add-ons.
37525 * configure: Regenerated.
37526
f196c7f7
L
375272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37528
37529 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37530
8848d99d
JM
375312012-03-16 Joseph Myers <joseph@codesourcery.com>
37532
96cbe7f4
JM
37533 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37534 in comment.
37535
8848d99d
JM
37536 [BZ #13851]
37537 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37538 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37539 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37540 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37541 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37542 infinite argument.
37543 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37544 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37545 != 0 for prec == 2.
37546 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37547 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37548 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37549 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37550 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37551 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37552 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37553 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37554 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37555 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37556 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37557 * math/libm-test.inc (cos_test): Add more tests and enable more
37558 tests for long double.
37559 (sin_test): Likewise.
37560 (sincos_test): Likewise.
37561 * sysdeps/i386/fpu/libm-test-ulps: Update.
37562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37563
dd7f4703
DM
375642012-03-16 David S. Miller <davem@davemloft.net>
37565
37566 * sysdeps/sparc/fpu/math_private.h: New file.
37567
006f1daa
DM
375682012-03-15 David S. Miller <davem@davemloft.net>
37569
c0c83bc8
DM
37570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37571 file.
e6a62e18 37572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
37573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37574 file.
e6a62e18
DM
37575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37580 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37581 sysdep routines.
37582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37583
88cb87d9
DM
37584 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37585 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37586
006f1daa 37587 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
37588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37589 sparc-ifunc.h
006f1daa 37590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
37591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37592 Likewise.
37593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37594 Likewise.
006f1daa
DM
37595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
37598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37599 Likewise.
006f1daa
DM
37600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
37604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37605 Likewise.
37606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37607 Likewise.
006f1daa
DM
37608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37614 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37617 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37626 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37627 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37628 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37629 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37630 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37631 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37632
11e0098e
AS
376332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37634
37635 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37636 scaling.
37637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37638
e85b09d0
AJ
376392012-03-15 Andreas Jaeger <aj@suse.de>
37640
37641 [BZ #13852]
37642 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37643 ieee754/flt-32 implementation for sin, cos and sincos.
37644 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37645 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37646 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37647 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37648 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37649 ieee754/flt-32 implementation for tan.
37650
37651 * math/libm-test.inc (cos_test): Enable some large input tests for
37652 float as well
37653 (sin_test): Likewise.
37654 (sincos_test): Likewise.
37655 (tan_test): Add tests for large input.
37656
37657 * sysdeps/i386/fpu/libm-test-ulps: Update.
37658
81c64153
AJ
376592012-03-15 Andreas Jaeger <aj@suse.de>
37660
37661 [BZ #13658]
37662 * math/libm-test.inc (cos_test): Add more test cases.
37663 (sin_test): Likewise.
37664 (sincos_test): Likewise.
37665
7bbfa5c6
AJ
376662012-03-15 Andreas Jaeger <aj@suse.de>
37667
37668 [BZ #13837]
37669 * math/libm-test.inc (cos_test): Add a test case for large input
37670 value.
37671 (sin_test): Likewise.
37672 (sincos_test): Likewise.
37673
57f41c40
AS
376742012-03-15 Andreas Jaeger <aj@suse.de>
37675 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
37676
37677 [BZ #13658]
0671f479 37678 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
37679 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37680 * sysdeps/i386/fpu/branred.c: Likewise.
37681 * sysdeps/i386/fpu/dosincos.c: Likewise.
37682 * sysdeps/i386/fpu/mpa.c: Likewise.
37683 * sysdeps/i386/fpu/s_cos.S: Likewise.
37684 * sysdeps/i386/fpu/s_sin.S: Likewise.
37685 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37686 * sysdeps/i386/fpu/sincos32.c: Likewise.
37687
37688 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37689 Define.
37690 (libc_feupdateenv_53bit): Define.
37691 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37692 Define.
37693 (libc_feupdateenv_53bit): Define.
37694
37695 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37696 53 bit (without extend i386 double precision).
37697
37698 * math/libm-test.inc (sincos_test): Add tests for large input.
37699 (sin): Likewise.
37700 (cos): Likewise.
37701
37702 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37703
9cad04ea
AS
377042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37705
37706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37707
f7062b9a
DM
377082012-03-15 David S. Miller <davem@davemloft.net>
37709
37710 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37711 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37712 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37713 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
37725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37726 file.
f7062b9a 37727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
37728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37729 file.
f7062b9a 37730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
37731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37732 file.
f7062b9a 37733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
37734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37735 file.
f7062b9a
DM
37736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37738 fmin/fmax sysdep routines.
37739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37740
7bd951ff
DM
377412012-03-14 David S. Miller <davem@davemloft.net>
37742
559398ab
DM
37743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37748 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37749 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37766 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37767 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37768 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37769 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37770 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
37771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37772 routines.
37773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37774 file.
559398ab 37775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
37776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37777 file.
559398ab 37778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
37779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37780 file.
559398ab 37781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
37782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37783 file.
559398ab 37784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
37785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37786 file.
559398ab 37787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
37788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37789 file.
37790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37791 file.
37792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37793 file.
37794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37795 file.
37796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37797 New file.
37798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37799 file.
37800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37801 file.
559398ab 37802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
37803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37804 file.
559398ab 37805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
37806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37807 file.
559398ab 37808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
37809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37810 file.
559398ab 37811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
37812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37813 VIS3 routines.
559398ab
DM
37814
37815 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37816 New file.
37817
5a1c1e32
DM
37818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37819
eae47a36
DM
37820 * sysdeps/sparc/configure.in: New file.
37821 * sysdeps/sparc/configure: Generate.
37822 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37823 * configure: Regenerate.
37824 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37825 * config.make.in (have-as-vis3): New.
37826 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37827 available use -Av9d instead of -Av9a.
37828 * sysdeps/sparc/sparc64/Makefile: Likewise.
37829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
37830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37831 New file.
37832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37833 file.
37834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37835 New file.
37836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37837 file.
eae47a36
DM
37838 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37840 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37841 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37843
c0c83bc8
DM
37844 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37845 fzeros/fnegs to load 0x80000000 into a float register instead of
37846 using the stack.
7bd951ff
DM
37847 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37848
bd951ccb
JM
378492012-03-14 Joseph Myers <joseph@codesourcery.com>
37850
37851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37852 bits/syscall.h.
37853 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37854 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37855 ($(inst_includedir)/bits/syscall.h): Remove rule.
37856 ($(objpfx)bits/syscall.d): Include instead of
37857 $(objpfx)syscall-list.d.
37858 (generated): Change syscall-list.h and syscall-list.d to
37859 bits/syscall.h and bits/syscall.d.
37860
bb4e6db2
RM
378612012-03-14 Roland McGrath <roland@hack.frob.com>
37862
37863 [BZ #13846]
37864 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37865
aa4a2ae1
JM
378662012-03-14 Joseph Myers <joseph@codesourcery.com>
37867
e456826d
JM
37868 [BZ #13841]
37869 * math/s_csqrt.c: Include <float.h>.
37870 (__csqrt): Scale large or subnormal inputs.
37871 * math/s_csqrtf.c: Likewise.
37872 * math/s_csqrtl.c: Likewise.
37873 * math/libm-test.inc (csqrt_test): Add more tests.
37874 * sysdeps/i386/fpu/libm-test-ulps: Update.
37875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37876
aa4a2ae1
JM
37877 [BZ #13840]
37878 * math/libm-test.inc (hypot_test): Add more tests.
37879
7c10fd35
DM
378802012-03-13 David S. Miller <davem@davemloft.net>
37881
37882 [BZ #13840]
37883 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37884 double-precision for the calculation instead of scaling.
37885
f453b98b
JM
378862012-03-13 Joseph Myers <joseph@codesourcery.com>
37887
37888 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37889 manipulate bits before adding and subtracting TWO52[sx].
37890 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37891 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37892 Likewise.
37893 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37894
09a3453f
DM
378952012-03-13 David S. Miller <davem@davemloft.net>
37896
8e59da90
DM
37897 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37898 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37900 rtld-global-offsets.h
37901 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37902
2a8ab7f2
DM
37903 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37904 large parameters.
37905
10f62770
DM
37906 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37907
5f0bdb18
DM
37908 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37909 'err' in the ifdef scope in which it is actually used.
37910
09a3453f
DM
37911 * nss/nss_db/db-init.c: Include string.h
37912
b4b2eb5e
DM
379132012-03-12 David S. Miller <davem@davemloft.net>
37914
98bb2f1c
DM
37915 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37916 masking out of the most significant byte of random value used.
37917 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37918 Fix coding style in previous change.
37919
b4b2eb5e
DM
37920 * sysdeps/unix/sysv/linux/kernel-features.h
37921 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37922 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37923 expression.
37924 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37925 later.
37926
6e226b09
DM
379272012-03-11 David S. Miller <davem@davemloft.net>
37928
a1bcbd40
DM
37929 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37930 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37931 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37932 for 'resultvar' otherwise things get truncated on 64-bit.
37933
cb9d6174
DM
37934 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37935 Fix masking out of the most significant byte of random value used.
37936
6e226b09
DM
37937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37938
058c132d
AS
379392012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37940
37941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37942
2d2cd515
DM
379432012-03-09 David S. Miller <davem@davemloft.net>
37944
37945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37946 variables with appropriate CPP guards.
57f41c40
AS
37947 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37948 from the frame pointer, not the stack pointer. Correct layout
37949 comments. Fix test on resulting framesize and the management of
37950 the outregs buffer for pltexit. Preserve floating point return
37951 values across _dl_call_pltexit call.
2d2cd515
DM
37952 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37953 framesize and the management of the outregs buffer for pltexit.
37954 Preserve floating point return values across _dl_call_pltexit
37955 call.
57f41c40
AS
37956 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37957 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37958 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
37959 (print_exit): Fix format string for return register value.
37960
9a07f9d0
JM
379612012-03-10 Joseph Myers <joseph@codesourcery.com>
37962
37963 * sunrpc/Makefile (others): Add rpcgen.
37964 ($(objpfx)rpcgen): Remove special build rule and dependency on
37965 libc.
37966 * sunrpc/rpcgen.c: New file.
37967
547b5e30
PE
379682012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37969
c524201a
PE
37970 [BZ #13673]
37971 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37972 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37973 * sysdeps/i386/crti.S: Likewise.
37974 * sysdeps/i386/crtn.S: Likewise.
37975 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37976 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37977 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37978 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37979 * sysdeps/sh/crti.S: Likewise.
37980 * sysdeps/sh/crtn.S: Likewise.
37981 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37982
7b6235f2
PE
37983 [BZ #13673]
37984 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37985 with URL.
37986 * locale/programs/locfile-kw.gperf: Likewise.
37987 * locale/programs/charmap-kw.h: Regenerated.
37988 * locale/programs/locfile-kw.h: Likewise.
37989
547b5e30
PE
37990 [BZ #13673]
37991 * intl/plural.y: Replace FSF snail mail address with URL.
37992 * intl/plural.c: Regenerated.
37993
5f0a5dae
RH
379942012-03-09 Richard Henderson <rth@twiddle.net>
37995
37996 * include/math_private.h: Remove file.
37997 * math/math_private.h: Move file ...
37998 * sysdeps/generic/math_private.h: ... here.
37999
b8c03620
RH
38000 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38001 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38002 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38003
4e234f5d 38004 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
38005 and <math_private.h>.
38006 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38007 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38008 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38009 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38010 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38011 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38012 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38014 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38015 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38017 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38018 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38019 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38020 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38021 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38022 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38023 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38024 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38025 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38026 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38027 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38028 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38029 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38030 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38031 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38032 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38033 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38035 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38036 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38037 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38038 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38039 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38040 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38041 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38042 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38043 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38044 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38045 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38046 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38047 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38048 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38049 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38050 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38051 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38052 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38053 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38054 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38055 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38056 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38057 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38058 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38059 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38060 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38061 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38062 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38063 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38064 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38065 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38066 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38067 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38069 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38070 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38071 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38072 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38073 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38074 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38075 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38076 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38077 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38078 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38079 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38080 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38082 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38084 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38086 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38087 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38088 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38089 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38090 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38093 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38094 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38095 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38096 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38097 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38098 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38099 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38100 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38101 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38102 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38103 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38104 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38105 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38106 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38107 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38108 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38109 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38110 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38111 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38112 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38113 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38114 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38115 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38116 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38117 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38118 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38119 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38120 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38121 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38122 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38123 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38124 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38125 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38126 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38127 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38128 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38129 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38130 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38131 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38132 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38133 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38134 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38135 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38136 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38137 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38138 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38139 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38140 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38141 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38142 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38143 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38144 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38145 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38146 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38147 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38148 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38149 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38150 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38151 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38152 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38153 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38154 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38155 * sysdeps/ieee754/k_standard.c: Likewise.
38156 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38158 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38159 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38160 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38161 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38162 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38164 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38165 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38166 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38167 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38168 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38169 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38170 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38171 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38172 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38173 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38174 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38175 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38176 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38177 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38178 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38179 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38180 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38181 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38182 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38183 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38184 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38185 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38186 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38187 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38188 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38189 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38190 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38191 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38192 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38193 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38194 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38195 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38196 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38197 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38198 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38199 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38200 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38201 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38202 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38203 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38204 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38205 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38206 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38207 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38208 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38209 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38210 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38211 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38212 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38213 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38214 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38215 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38216 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38217 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38218 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38219 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38220 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38221 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38222 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38223 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38224 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38225 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38226 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38227 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38228 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38229 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38230 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38231 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38232 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38233 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38234 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38235 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38236 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38237 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38238 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38239 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38240 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38241 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38242 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38243 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38244 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38245 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38246 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38247 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38248 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38249 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38250 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38251 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38252 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38253 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38254 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38255 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38256 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38257 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38258 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38259 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38260 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38261 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38262 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38263 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38264 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38265 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38266 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38267 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38268 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38269 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38270 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38271 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38272 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38273 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38274 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38275 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38276 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38277 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38278 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38279 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38280 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38281 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38282 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38283 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38284 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38285 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38286 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38287 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38288 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38289 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38290 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38291 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38292 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38293 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38294 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38295 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38296 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38297 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38298 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38299 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38300 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38301 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38302 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38303 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38304 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38305 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38306 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38307 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38308 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38309 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38310 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38311 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38312 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38313 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38314 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38315 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38316 * sysdeps/ieee754/s_lib_version.c: Likewise.
38317 * sysdeps/ieee754/s_matherr.c: Likewise.
38318 * sysdeps/ieee754/s_signgam.c: Likewise.
38319 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38320 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38321 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38322 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38323 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38324 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38325 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38326 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38327 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38328 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38329 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38330 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38331 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38332 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38333 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38334 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38335 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38336 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38337 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38338 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38339 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 38340
1991fa03
JM
383412012-03-09 Joseph Myers <joseph@codesourcery.com>
38342
38343 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38344 * sunrpc/rpc_main.c: Likewise.
38345 * sunrpc/rpc_svcout.c: Likewise.
38346
60d6f5a6
DM
383472012-03-09 David S. Miller <davem@davemloft.net>
38348
38349 * include/math_private.h: New file.
38350
4962050e
JM
383512012-03-09 Joseph Myers <joseph@codesourcery.com>
38352
02a6f887
JM
38353 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38354 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38355 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38356 from <bits/socket_type.h>.
38357 (enum __socket_type): Don't define here.
38358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38360 bits/socket_type.h.
38361
c6e013c1
JM
38362 [BZ #13566]
38363 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38364 checking __USE_GNU.
38365
4962050e
JM
38366 * Makerules ($(inst_includedir)/%.h): New rule.
38367 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38368 (install-others): Remove variable setting.
38369 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38370
38842f45
RH
383712012-03-08 Richard Henderson <rth@twiddle.net>
38372
67bb6da6
RH
38373 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38374 from macro to inline function; merge with the
38375 !__LIBC_INTERNAL_MATH_INLINES version.
38376 (__ieee754_sqrtf): Likewise.
38377
15194b4b
RH
38378 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38379 to inline function.
38380 (__rintf, __floor, __floorf): Likewise.
38381
64e21ede
RH
38382 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38383 macro to inline function.
38384 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38385
38842f45
RH
38386 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38387 not <math/math_private.h>.
38388
c64bf5fe
DM
383892012-03-08 David S. Miller <davem@davemloft.net>
38390
38391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38392 copyright year.
38393 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38394
82d86f28
TS
383952012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38396
38397 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38398 normalization.
38399 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38400 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38401
aea5d727
UD
384022012-03-08 Ulrich Drepper <drepper@gmail.com>
38403
38404 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38405 be defined individually, they must be defined as a block. Define
38406 S for printing a string instead of hidint the different by using a
38407 macro for adding the 'l'.
38408 * stdio-common/tst-fphex-wide.c: Adjust.
38409
70bca0a3
MP
384102012-03-07 Marek Polacek <polacek@redhat.com>
38411
38412 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38413
65b81130
MP
384142012-03-08 Marek Polacek <polacek@redhat.com>
38415
38416 [BZ #13806]
38417 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38418 * stdio-common/tst-fphex.c: Define a few macros to make the
38419 test reusable. Use them.
38420 * stdio-common/tst-fphex-wide.c: New file.
38421
07037eeb
JM
384222012-03-08 Joseph Myers <joseph@codesourcery.com>
38423
a7a93d50
JM
38424 [BZ #6911]
38425 * manual/macros.texi (gnusystems): New macro.
38426 (nongnusystems): Likewise.
38427 (gnulinuxhurdsystems): Likewise.
38428 (gnuhurdsystems): Likewise..
38429 (gnulinuxsystems): Likewise.
38430 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38431 variants of the GNU system, not "GNU system".
38432 * manual/conf.texi: Likewise.
38433 * manual/errno.texi: Likewise. Update example of errno macro
38434 expansion.
38435 * manual/filesys.texi: Likewise.
38436 (getumask): Document as specific to GNU/Hurd.
38437 * manual/install.texi: Likewise. Reword some references to
38438 GNU/Linux.
38439 * manual/intro.texi: Likewise.
38440 * manual/io.texi: Likewise.
38441 (File Name Portability): Detail which constraints are inapplicable
38442 to all GNU systems and which are only inapplicable to GNU/Hurd.
38443 * manual/job.texi: Likewise.
38444 * manual/llio.texi: Likewise.
38445 (O_NOCTTY): Document as present on GNU/Linux.
38446 * manual/maint.texi: Likewise.
38447 * manual/memory.texi: Likewise.
38448 * manual/pattern.texi: Likewise.
38449 * manual/pipe.texi: Likewise.
38450 * manual/process.texi: Likewise.
38451 * manual/resource.texi: Likewise.
38452 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38453 child on GNU/Hurd.
38454 * manual/setjmp.texi: Likewise.
38455 * manual/signal.texi: Likewise.
38456 * manual/startup.texi: Likewise.
38457 * manual/stdio.texi: Likewise.
38458 * manual/terminal.texi: Likewise.
38459 (ONLCR): Document as POSIX.
38460 (OXTABS): Document availability on GNU/Linux as XTABS.
38461 (ONOEOT): Document availability separately from other bits.
38462 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38463 * manual/time.texi: Likewise.
38464 * manual/users.texi: Likewise.
38465 * INSTALL: Regenerated.
38466 * sysdeps/gnu/errlist.c: Regenerated.
38467
07037eeb
JM
38468 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38469 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38470 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38471 puts.
38472 * configure: Regenerated.
38473
d1d3431a
JM
384742012-03-07 Joseph Myers <joseph@codesourcery.com>
38475
af6a1e37
JM
38476 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38477 default includes instead of AC_HEADER_CHECK.
38478 * sysdeps/i386/configure: Regenerated.
38479
d1d3431a
JM
38480 [BZ #10716]
38481 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38482 * math/s_cacoshf.c (__cacoshf): Likewise.
38483 * math/s_cacoshl.c (__cacoshl): Likewise.
38484 * math/s_casinh.c (__casinh): Set signs of result from argument.
38485 * math/s_casinhf.c (__casinhf): Likewise.
38486 * math/s_casinhl.c (__casinhl): Likewise.
38487 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38488 (casinh_test): Add more tests.
38489 * sysdeps/i386/fpu/libm-test-ulps: Update.
38490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38491
482ff4da
UD
384922012-03-07 Ulrich Drepper <drepper@gmail.com>
38493
872fda05
UD
38494 * po/zh_TW.po: Update from translation team.
38495
a4300c7a
UD
38496 * login/Makefile (distribute): Remove variable.
38497 * catgets/Makefile: Likewise.
38498 * mach/Makefile: Likewise.
38499 * malloc/Makefile: Likewise.
38500 * misc/Makefile: Likewise.
38501 * iconv/Makefile: Likewise.
38502 * nscd/Makefile: Likewise.
38503 * hurd/Makefile: Likewise.
38504 * manual/Makefile: Likewise.
38505 * locale/Makefile: Likewise.
38506 * intl/Makefile: Likewise.
38507 * conform/Makefile: Likewise.
38508 * nss/Makefile: Likewise.
38509 * time/Makefile: Likewise.
38510 * soft-fp/Makefile: Likewise.
38511 * dirent/Makefile: Likewise.
38512 * gmon/Makefile: Likewise.
38513 * po/Makefile: Likewise.
38514 * rt/Makefile: Likewise.
38515 * socket/Makefile: Likewise.
38516 * math/Makefile: Likewise.
38517 * signal/Makefile: Likewise.
38518 * debug/Makefile: Likewise.
38519 * elf/Makefile: Likewise.
38520 * timezone/Makefile: Likewise.
38521 * stdlib/Makefile: Likewise.
38522 * iconvdata/Makefile: Likewise.
38523 * sunrpc/Makefile: Likewise.
38524 * io/Makefile: Likewise.
38525 * argp/Makefile: Likewise.
38526 * inet/Makefile: Likewise.
38527 * hesiod/Makefile: Likewise.
38528 * grp/Makefile: Likewise.
38529 * csu/Makefile: Likewise.
38530 * wctype/Makefile: Likewise.
38531 * crypt/Makefile: Likewise.
38532 * libio/Makefile: Likewise.
38533 * string/Makefile: Likewise.
38534 * nis/Makefile: Likewise.
38535 * resolv/Makefile: Likewise.
38536 * stdio-common/Makefile: Likewise.
38537 * wcsmbs/Makefile: Likewise.
38538 * dlfcn/Makefile: Likewise.
38539 * posix/Makefile: Likewise.
38540
3b7c4e74 38541 [BZ #6959]
482ff4da
UD
38542 * timezone/Makefile: Don't install timezone files, just the programs
38543 and scripts.
38544
f72ed77d
UD
385452012-03-06 Ulrich Drepper <drepper@gmail.com>
38546
a000466f
UD
38547 * nss/databases.def: Add missing gshadow entry.
38548
f72ed77d
UD
38549 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38550
a53b7a4e
MP
385512012-03-06 Marek Polacek <polacek@redhat.com>
38552
38553 [BZ #13726]
38554 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38555 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38556 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38557 * stdio-common/tst-long-dbl-fphex.c: New file.
38558
e9258400
DM
385592012-03-06 David S. Miller <davem@davemloft.net>
38560
38561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38562 (set_obp_int): New function.
38563 (get_obp_int): New function.
38564 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
38565 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38566 Avoid unused variable warnings on 'val' and use builtin_expect.
38567 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38568 __builtin_expect.
e9258400
DM
38569 (INLINE_CLONE_SYSCALL): Likewise.
38570
3bd2c723
DM
385712012-03-05 David S. Miller <davem@davemloft.net>
38572
38573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38574
bbb78d03
AS
385752012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38576
884c5db4
AS
38577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38578
bbb78d03
AS
38579 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38580 only for |x| >= 40.
38581 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38582
1c9f702a 385832012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
38584
38585 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38586 Replace gettimeofday with __vdso_gettimeofday.
38587
7be16f82
RM
38588 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38589 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38590 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
38591
38592 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38593 time with __vdso_time.
38594
ed58a00f
JM
385952012-03-05 Joseph Myers <joseph@codesourcery.com>
38596
38597 * manual/lang.texi (size_t): Note types to which size_t may be
38598 equivalent with the GNU C Library, but do not describe when
38599 differences between them are significant.
38600
30ee4ced
AJ
386012012-03-05 Andreas Jaeger <aj@suse.de>
38602
38603 * sysdeps/i386/fpu/libm-test-ulps: Update.
38604
b7cd39e8
JM
386052012-03-05 Joseph Myers <joseph@codesourcery.com>
38606
38607 [BZ #3976]
38608 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38609 (__ieee754_pow): Save and restore rounding mode and use
38610 round-to-nearest for main computations.
38611 * math/libm-test.inc (pow_test_tonearest): New function.
38612 (pow_test_towardzero): Likewise.
38613 (pow_test_downward): Likewise.
38614 (pow_test_upward): Likewise.
38615 (main): Call the new functions.
38616 * sysdeps/i386/fpu/libm-test-ulps: Update.
38617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
38618
38619 [BZ #3976]
38620 * math/libm-test.inc (cosh_test_tonearest): New function.
38621 (cosh_test_towardzero): Likewise.
38622 (cosh_test_downward): Likewise.
38623 (cosh_test_upward): Likewise.
38624 (sinh_test_tonearest): Likewise.
38625 (sinh_test_towardzero): Likewise.
38626 (sinh_test_downward): Likewise.
38627 (sinh_test_upward): Likewise.
38628 (main): Call the new functions.
38629 * sysdeps/i386/fpu/libm-test-ulps: Update.
38630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38631
6c6a98c9
TV
386322012-03-05 Tom de Vries <tom@codesourcery.com>
38633
38634 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38635 default stack guard is set in last bytes.
38636 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38637
21bb2d2e 386382012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 38639
21bb2d2e 38640 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 38641
21bb2d2e
AJ
38642 [BZ #13656]
38643 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38644 possibly allocate from heap instead of stack.
38645 * stdio-common/bug-vfprintf-nargs.c: New file.
38646 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 38647
c6922934
AS
386482012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38649
38650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38651
bc957d53
MP
386522012-03-03 Marek Polacek <polacek@redhat.com>
38653
38654 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38655 * math/math_private.h: Likewise.
38656 * stdlib/tst-strtod.c: Likewise.
38657 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38658 * sysdeps/x86_64/bits/atomic.h: Likewise.
38659
6358490d
DM
386602012-03-02 David S. Miller <davem@davemloft.net>
38661
38662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38666 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38667 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38668 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38669 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38670
01ae168d
RM
386712012-03-02 Roland McGrath <roland@hack.frob.com>
38672
d9a17c07
RM
38673 [BZ #13792]
38674 * manual/examples/README: New file, says the example source files
38675 can be used under GPL>=2.
38676 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38677 line containing just "*/".
38678 * manual/examples/add.c: Add copyright header (GPL>=2).
38679 * manual/examples/argp-ex1.c: Likewise.
38680 * manual/examples/argp-ex2.c: Likewise.
38681 * manual/examples/argp-ex3.c: Likewise.
38682 * manual/examples/argp-ex4.c: Likewise.
38683 * manual/examples/atexit.c: Likewise.
38684 * manual/examples/db.c: Likewise.
38685 * manual/examples/dir.c: Likewise.
38686 * manual/examples/dir2.c: Likewise.
38687 * manual/examples/execinfo.c: Likewise.
38688 * manual/examples/filecli.c: Likewise.
38689 * manual/examples/filesrv.c: Likewise.
38690 * manual/examples/fmtmsgexpl.c: Likewise.
38691 * manual/examples/genpass.c: Likewise.
38692 * manual/examples/inetcli.c: Likewise.
38693 * manual/examples/inetsrv.c: Likewise.
38694 * manual/examples/isockad.c: Likewise.
38695 * manual/examples/longopt.c: Likewise.
38696 * manual/examples/memopen.c: Likewise.
38697 * manual/examples/memstrm.c: Likewise.
38698 * manual/examples/mkfsock.c: Likewise.
38699 * manual/examples/mkisock.c: Likewise.
38700 * manual/examples/mygetpass.c: Likewise.
38701 * manual/examples/pipe.c: Likewise.
38702 * manual/examples/popen.c: Likewise.
38703 * manual/examples/rprintf.c: Likewise.
38704 * manual/examples/search.c: Likewise.
38705 * manual/examples/select.c: Likewise.
38706 * manual/examples/setjmp.c: Likewise.
38707 * manual/examples/sigh1.c: Likewise.
38708 * manual/examples/sigusr.c: Likewise.
38709 * manual/examples/stpcpy.c: Likewise.
38710 * manual/examples/strdupa.c: Likewise.
38711 * manual/examples/strftim.c: Likewise.
38712 * manual/examples/strncat.c: Likewise.
38713 * manual/examples/subopt.c: Likewise.
38714 * manual/examples/swapcontext.c: Likewise.
38715 * manual/examples/termios.c: Likewise.
38716 * manual/examples/testopt.c: Likewise.
38717 * manual/examples/testpass.c: Likewise.
38718 * manual/examples/timeval_subtract.c: Likewise.
38719
01ae168d
RM
38720 [BZ #13792]
38721 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38722 function to ...
38723 * manual/timeval_subtract.c.texi: ... here, new file.
38724
49efa33d
DM
387252012-03-02 David S. Miller <davem@davemloft.net>
38726
38727 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38728
28afd92d
JM
387292012-03-02 Joseph Myers <joseph@codesourcery.com>
38730
804360ed
JM
38731 [BZ #3976]
38732 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38733 (__sin): Save and restore rounding mode and use round-to-nearest
38734 for all computations.
38735 (__cos): Save and restore rounding mode and use round-to-nearest
38736 for all computations.
38737 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38738 <fenv.h>.
38739 (tan): Save and restore rounding mode and use round-to-nearest for
38740 all computations.
38741 * math/libm-test.inc (cos_test_tonearest): New function.
38742 (cos_test_towardzero): Likewise.
38743 (cos_test_downward): Likewise.
38744 (cos_test_upward): Likewise.
38745 (sin_test_tonearest): Likewise.
38746 (sin_test_towardzero): Likewise.
38747 (sin_test_downward): Likewise.
38748 (sin_test_upward): Likewise.
38749 (tan_test_tonearest): Likewise.
38750 (tan_test_towardzero): Likewise.
38751 (tan_test_downward): Likewise.
38752 (tan_test_upward): Likewise.
38753 (main): Call the new functions.
38754 * sysdeps/i386/fpu/libm-test-ulps: Update.
38755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38756
a6d06d7b
JM
38757 [BZ #10135]
38758 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38759 small n, then large n, before computing and testing k+n.
38760 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38761 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38762 Likewise.
38763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38764 Likewise.
38765 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38766 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38767 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38768 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38769 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38770 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38771 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38772 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38773 * math/libm-test.inc (scalbn_test): Add more tests.
38774 (scalbln_test): Likewise.
38775
07e12bb3
JM
38776 * manual/filesys.texi (mode_t): Describe constraints on size and
38777 signedness, not exact equivalence to a particular type.
38778 (ino_t): Likewise.
38779 (ino64_t): Likewise.
38780 (dev_t): Likewise.
38781 (nlink_t): Likewise.
38782 (blkcnt_t): Likewise.
38783 (blkcnt64_t): Likewise.
38784 * manual/llio.texi (off_t): Likewise.
38785
28afd92d
JM
38786 [BZ #3976]
38787 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38788 (__ieee754_exp): Save and restore rounding mode and use
38789 round-to-nearest for all computations.
38790 * math/libm-test.inc (exp_test_tonearest): New function.
38791 (exp_test_towardzero): Likewise.
38792 (exp_test_downward): Likewise.
38793 (exp_test_upward): Likewise.
38794 (main): Call the new functions.
38795 * sysdeps/i386/fpu/libm-test-ulps: Update.
38796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38797
b1eeb65d
CD
387982012-03-01 Chris Demetriou <cgd@google.com>
38799
38800 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38801 have predictable order.
38802
53362a4b
DM
388032012-03-01 David S. Miller <davem@davemloft.net>
38804
3c969083
DM
38805 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38806
759707de
DM
38807 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38808 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38809 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38810 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38811
dfdb8ff2
DM
38812 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38813 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38814 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38816 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38817 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38818 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38819 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38820 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38821
ead89f96
DM
38822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38823
7f66bd07
DM
38824 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38825 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38826 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38827
53362a4b
DM
38828 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38829 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38830 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38831 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38832 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38833 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38834 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38835 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38836 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38837 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38838 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38839 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38841 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38842 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38843 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38844 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38845 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38846 * sysdeps/sparc/elf/configure: Regenerated.
38847
7b1902cb
JM
388482012-03-01 Joseph Myers <joseph@codesourcery.com>
38849
bec039bc
JM
38850 * configure.in (AS, LD): Require binutils 2.20 or later.
38851 * configure: Regenerated.
38852 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38853 as required minimum version.
38854 * INSTALL: Regenerated.
38855
7b1902cb
JM
38856 [BZ #2541]
38857 [BZ #4108]
38858 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38859 before squaring exponent.
38860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38861 bottom long double and 27 bits of top long double before squaring
38862 exponent.
38863 * math/libm-test.inc (erfc_test): Add more tests.
38864 * sysdeps/i386/fpu/libm-test-ulps: Update.
38865 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38867
f775c276
KT
388682012-03-01 Kai Tietz <ktietz@redhat.com>
38869
38870 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38871 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38872 containing bit-fields.
38873 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38874 * soft-fp/single.h (_FP_UNION_S): Likewise.
38875 * soft-fp/double.h (_FP_UNION_D): Likewise.
38876
5b8a4d4a
JM
388772012-02-29 Joseph Myers <joseph@codesourcery.com>
38878
0bab47b6
JM
38879 [BZ #13786]
38880 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38881 not include ../strcmp.S.
38882 [USE_AS_STRNCASECMP_L]: Likewise.
38883 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38884 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38885 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38886 (__strncasecmp_l_ia32): Define as alias to
38887 __strncasecmp_l_nonascii.
38888
0fcad3e2
JM
38889 [BZ #5794]
38890 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38891 * sysdeps/i386/fpu/libm-test-ulps: Update.
38892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38893
5b8a4d4a
JM
38894 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38896
8fdceb2e
JL
388972012-02-29 Jeff Law <law@redhat.com>
38898
38899 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38900 out of bounds read.
38901
1f393a11
MP
389022012-02-29 Marek Polacek <polacek@redhat.com>
38903
38904 [BZ #13706]
38905 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38906 * elf/Makefile: Add rules to run tst-unused-dep.out.
38907
8847f037
DM
389082012-02-28 David S. Miller <davem@davemloft.net>
38909
38910 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38911 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38912 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38913 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38914 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38915 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38916
169d7f11
JM
389172012-02-29 Joseph Myers <joseph@codesourcery.com>
38918
38919 * math/libm-test.inc (llround_test): Move one test from
38920 lround_test. Use TEST_f_L in moved test.
38921 (lround_test): Move misplaced test to llround_test. Add testcase
38922 from bug 2561.
38923
39adf059
UD
389242012-02-28 Ulrich Drepper <drepper@gmail.com>
38925
38926 * sysdeps/x86_64/fpu/e_expf.S: New file.
38927 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38928
71b5d1c5
SB
389292012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38930
38931 [BZ #13637]
38932 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38933 of remain_len that may cause incomplete multi-byte character and
38934 false match.
38935 * posix/bug-regex33.c: New file.
38936 * posix/Makefile (tests): Add bug-regex33.
38937
1f77f049
JM
389382012-02-28 Joseph Myers <joseph@codesourcery.com>
38939
38940 * manual/macros.texi: New file.
38941 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38942 * manual/libc.texinfo: Include macros.texi.
38943 * manual/creatute.texi: Likewise.
38944 * manual/install.texi: Likewise.
38945 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38946 @glibcadj{} in references to the GNU C Library.
38947 * manual/charset.texi: Likewise.
38948 * manual/conf.texi: Likewise.
38949 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38950 when not using those macros.
38951 * manual/creature.texi: Likewise.
38952 * manual/crypt.texi: Likewise.
38953 * manual/errno.texi: Likewise.
38954 * manual/filesys.texi: Likewise.
38955 * manual/header.texi: Likewise.
38956 * manual/install.texi: Likewise.
38957 * manual/intro.texi: Likewise.
38958 * manual/io.texi: Likewise.
38959 * manual/job.texi: Likewise.
38960 * manual/lang.texi: Likewise.
38961 * manual/libc.texiinfo: Likewise.
38962 * manual/llio.texi: Likewise.
38963 * manual/locale.texi: Likewise.
38964 * manual/maint.texi: Likewise.
38965 * manual/math.texi: Likewise.
38966 * manual/memory.texi: Likewise.
38967 * manual/message.texi: Likewise.
38968 * manual/nss.texi: Likewise.
38969 * manual/pattern.texi: Likewise.
38970 * manual/process.texi: Likewise.
38971 * manual/resource.texi: Likewise.
38972 * manual/search.texi: Likewise.
38973 * manual/setjmp.texi: Likewise.
38974 * manual/signal.texi: Likewise.
38975 * manual/socket.texi: Likewise.
38976 * manual/startup.texi: Likewise.
38977 * manual/stdio.texi: Likewise.
38978 * manual/string.texi: Likewise.
38979 * manual/sysinfo.texi: Likewise.
38980 * manual/syslog.texi: Likewise.
38981 * manual/terminal.texi: Likewise.
38982 * manual/time.texi: Likewise.
38983 * manual/users.texi: Likewise.
38984 * INSTALL: Regenerated.
38985 * NOTES: Regenerated.
d40c5d54 38986 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 38987
450bf206
AS
389882012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38989
38990 * include/dirent.h: Include <dirstream.h> before
38991 <dirent/dirent.h>.
38992
741a235b
DM
389932012-02-28 David S. Miller <davem@davemloft.net>
38994
38995 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38996 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38997 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38998 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38999
d6b5aa58
DM
390002012-02-27 David S. Miller <davem@davemloft.net>
39001
1aff59a3
DM
39002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39004 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39005 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39006
d6b5aa58
DM
39007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39008 frame pointer instead of stack pointer relative arg slot.
39009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39010 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39011 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39012
433f48bf
CD
390132012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39014
39015 [BZ #3992]
39016 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39017
d674b76d
DM
390182012-02-27 David S. Miller <davem@davemloft.net>
39019
39020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39024 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39025 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39026 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39027 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39028
0e7727f7
JM
390292012-02-27 Joseph Myers <joseph@codesourcery.com>
39030
39031 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39032 later. Allow versions 5-9.
43be4ca2 39033 * configure: Regenerated.
0e7727f7
JM
39034 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39035 required minimum version and 4.6 as recommended version. Do not
39036 mention bugs in GCC 2.7 and 2.8.
43be4ca2 39037 * INSTALL: Regenerated.
0e7727f7 39038
a78bc654
DM
390392012-02-27 David S. Miller <davem@davemloft.net>
39040
428d5830
DM
39041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39045 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39046 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39047 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39048 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39049
a78bc654
DM
39050 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39051 manipulate bits before adding and subtracting TWO112[sx].
39052 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39053
4579f81c
RM
390542012-02-27 Roland McGrath <roland@hack.frob.com>
39055
36c8acb4
RM
39056 [BZ #13775]
39057 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39058 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39059 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39060 being in POSIX, because they are in 1003.1-2008.
39061
84ad622b
RM
39062 * rt/tst-aio.c: Include <fcntl.h>.
39063 * rt/tst-aio7.c: Likewise.
39064 * rt/tst-aio64.c: Likewise.
39065
4579f81c
RM
39066 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39067
abd923db
JM
390682012-02-27 Joseph Myers <joseph@codesourcery.com>
39069
39070 * manual/install.texi (--with-headers): Describe headers as
39071 interface headers, not private headers.
39072 (Specific advice for GNU/Linux systems): Describe use of headers
39073 from "make headers_install", not private headers from older
39074 kernels.
43be4ca2 39075 * INSTALL: Regenerated.
abd923db
JM
39076 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39077 Change to 2.6.19.
39078 * sysdeps/unix/sysv/linux/configure: Regenerated.
39079
6664049b
JM
39080 * manual/llio.texi (fclean): Remove documentation.
39081
bb8b6697
JM
39082 * manual/Makefile (libc-texi-generated): New variable. Include
39083 version.texi.
39084 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39085 $(libc-texi-generated), not duplicated list of files.
39086 (version.texi, stamp-version): New rules.
39087 (realclean): Remove $(libc-texi-generated), not individual files
39088 from that list. Do not remove dir-add.texinfo.
39089 * manual/libc.texinfo: Comment out uses of edition numbers and
39090 references to printed manual. Remove last-updated dates.
39091 (EDITION): Comment out.
39092 (ISBN): Likewise.
39093 (VERSION, UPDATED): Remove.
39094 (version.texi): Include.
39095
12e5c3b9
AS
390962012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39097
39098 * sysdeps/posix/spawni.c: Include <signal.h>.
39099 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39100 * sysdeps/pthread/aio_fsync.c: Likewise.
39101
4efeffc1 391022012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 39103
ba63ba08
UD
39104 * conform/Makefile (tests): Run only when not cross-compiling and
39105 when fast-check is not defined.
39106
d94a4670
UD
39107 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39108 * conform/data/limits.h-data: Fixes for POSIX2008.
39109 * conform/run-conformtest.sh: Run all tests.
39110 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39111 headers.
39112 * include/bits/dlfcn.h: Likewise.
39113 * include/langinfo.h: Likewise.
39114 * include/monetary.h: Likewise.
39115 * include/sys/poll.h: Likewise.
39116
39117 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39118 for __USE_GNU.
39119 * posix/spawn.h: Define __need_sigset_t.
39120 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39121 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39122 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39123 to get sigevent_t only.
39124 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39125 only for __USE_GNU.
39126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39127 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39128 process_vm_writev only for __USE_GNU.
39129 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
39130
39131 * conform/Makefile: For now ignore errors from run-conformtest.
39132 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39133 POSIX to avoid namespace pollution. Don't prepend headers.
39134 * conform/data/aio.h-data: Fixes for POSIX testing.
39135 * conform/data/fcntl.h-data: Likewise.
39136 * conform/data/glob.h-data: Likewise.
39137 * conform/data/grp.h-data: Likewise.
39138 * conform/data/pthread.h-data: Likewise.
39139 * conform/data/pwd.h-data: Likewise.
39140 * conform/data/signal.h-data: Likewise.
39141 * conform/data/spawn.h-data: Likewise.
39142 * conform/data/stdio.h-data: Likewise.
39143 * conform/data/stdlib.h-data: Likewise.
39144 * conform/data/stropts.h-data: Likewise.
39145 * conform/data/sys/mman.h-data: Likewise.
39146 * conform/data/sys/stat.h-data: Likewise.
39147 * conform/data/sys/types.h-data: Likewise.
39148 * conform/data/sys/wait.h-data: Likewise.
39149 * conform/data/time.h-data: Likewise.
39150 * conform/data/unistd.h-data: Likewise.
39151 * conform/data/utime.h-data: Likewise.
39152
39153 * io/sys/stat.h: fchmod was always in POSIX.
39154 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39155 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39156 * rt/aio.h: Define __need_timespec before including <time.h>.
39157 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39158 struct. Add forward declaration of pthread_attr_t and use it in
39159 sigevent.
39160 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39161 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39162 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39163 always remove CLK_TCK definition.
39164
c20105c3
AS
391652012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39166
39167 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39168
7a270350
UD
391692012-02-25 Ulrich Drepper <drepper@gmail.com>
39170
31341567
UD
39171 * conform/run-conformtest.sh: New file.
39172 * conform/Makefile: Run run-conformtest for tests.
39173 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39174 support.
39175
39176 * conform/data/uchar.h-data: New file.
39177 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39178 * conform/data/arpa/inet.h-data: Likewise.
39179 * conform/data/assert.h-data: Likewise.
39180 * conform/data/complex.h-data: Likewise.
39181 * conform/data/cpio.h-data: Likewise.
39182 * conform/data/ctype.h-data: Likewise.
39183 * conform/data/dirent.h-data: Likewise.
39184 * conform/data/dlfcn.h-data: Likewise.
39185 * conform/data/errno.h-data: Likewise.
39186 * conform/data/fcntl.h-data: Likewise.
39187 * conform/data/float.h-data: Likewise.
39188 * conform/data/fmtmsg.h-data: Likewise.
39189 * conform/data/fnmatch.h-data: Likewise.
39190 * conform/data/ftw.h-data: Likewise.
39191 * conform/data/glob.h-data: Likewise.
39192 * conform/data/grp.h-data: Likewise.
39193 * conform/data/iconv.h-data: Likewise.
39194 * conform/data/inttypes.h-data: Likewise.
39195 * conform/data/langinfo.h-data: Likewise.
39196 * conform/data/libgen.h-data: Likewise.
39197 * conform/data/limits.h-data: Likewise.
39198 * conform/data/locale.h-data: Likewise.
39199 * conform/data/math.h-data: Likewise.
39200 * conform/data/monetary.h-data: Likewise.
39201 * conform/data/mqueue.h-data: Likewise.
39202 * conform/data/ndbm.h-data: Likewise.
39203 * conform/data/net/if.h-data: Likewise.
39204 * conform/data/netdb.h-data: Likewise.
39205 * conform/data/netinet/in.h-data: Likewise.
39206 * conform/data/nl_types.h-data: Likewise.
39207 * conform/data/poll.h-data: Likewise.
39208 * conform/data/pthread.h-data: Likewise.
39209 * conform/data/pwd.h-data: Likewise.
39210 * conform/data/regex.h-data: Likewise.
39211 * conform/data/sched.h-data: Likewise.
39212 * conform/data/search.h-data: Likewise.
39213 * conform/data/semaphore.h-data: Likewise.
39214 * conform/data/setjmp.h-data: Likewise.
39215 * conform/data/signal.h-data: Likewise.
39216 * conform/data/spawn.h-data: Likewise.
39217 * conform/data/stdarg.h-data: Likewise.
39218 * conform/data/stdio.h-data: Likewise.
39219 * conform/data/stdlib.h-data: Likewise.
39220 * conform/data/string.h-data: Likewise.
39221 * conform/data/strings.h-data: Likewise.
39222 * conform/data/stropts.h-data: Likewise.
39223 * conform/data/sys/ipc.h-data: Likewise.
39224 * conform/data/sys/mman.h-data: Likewise.
39225 * conform/data/sys/msg.h-data: Likewise.
39226 * conform/data/sys/resource.h-data: Likewise.
39227 * conform/data/sys/select.h-data: Likewise.
39228 * conform/data/sys/sem.h-data: Likewise.
39229 * conform/data/sys/shm.h-data: Likewise.
39230 * conform/data/sys/socket.h-data: Likewise.
39231 * conform/data/sys/stat.h-data: Likewise.
39232 * conform/data/sys/statvfs.h-data: Likewise.
39233 * conform/data/sys/time.h-data: Likewise.
39234 * conform/data/sys/timeb.h-data: Likewise.
39235 * conform/data/sys/times.h-data: Likewise.
39236 * conform/data/sys/types.h-data: Likewise.
39237 * conform/data/sys/uio.h-data: Likewise.
39238 * conform/data/sys/un.h-data: Likewise.
39239 * conform/data/sys/utsname.h-data: Likewise.
39240 * conform/data/sys/wait.h-data: Likewise.
39241 * conform/data/syslog.h-data: Likewise.
39242 * conform/data/tar.h-data: Likewise.
39243 * conform/data/termios.h-data: Likewise.
39244 * conform/data/utime.h-data: Likewise.
39245 * conform/data/utmpx.h-data: Likewise.
39246 * conform/data/varargs.h-data: Likewise.
39247 * conform/data/wchar.h-data: Likewise.
39248 * conform/data/wctype.h-data: Likewise.
39249 * conform/data/wordexp.h-data: Likewise.
39250
39251 * include/stropts.h: New file.
39252 * include/uchar.h: New file.
39253 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39254 * include/assert.h: Likewise.
39255 * include/ctype.h: Likewise.
39256 * include/dirent.h: Likewise.
39257 * include/dlfcn.h: Likewise.
39258 * include/fcntl.h: Likewise.
39259 * include/fnmatch.h: Likewise.
39260 * include/glob.h: Likewise.
39261 * include/grp.h: Likewise.
39262 * include/libio.h: Likewise.
39263 * include/locale.h: Likewise.
39264 * include/math.h: Likewise.
39265 * include/net/if.h: Likewise.
39266 * include/netdb.h: Likewise.
39267 * include/netinet/in.h: Likewise.
39268 * include/pthread.h: Likewise.
39269 * include/pwd.h: Likewise.
39270 * include/regex.h: Likewise.
39271 * include/sched.h: Likewise.
39272 * include/search.h: Likewise.
39273 * include/setjmp.h: Likewise.
39274 * include/signal.h: Likewise.
39275 * include/stdio.h: Likewise.
39276 * include/stdlib.h: Likewise.
39277 * include/string.h: Likewise.
39278 * include/sys/cdefs.h: Likewise.
39279 * include/sys/mman.h: Likewise.
39280 * include/sys/msg.h: Likewise.
39281 * include/sys/resource.h: Likewise.
39282 * include/sys/select.h: Likewise.
39283 * include/sys/socket.h: Likewise.
39284 * include/sys/stat.h: Likewise.
39285 * include/sys/statvfs.h: Likewise.
39286 * include/sys/time.h: Likewise.
39287 * include/sys/times.h: Likewise.
39288 * include/sys/uio.h: Likewise.
39289 * include/sys/utsname.h: Likewise.
39290 * include/sys/wait.h: Likewise.
39291 * include/termios.h: Likewise.
39292 * include/time.h: Likewise.
39293 * include/ulimit.h: Likewise.
39294 * include/unistd.h: Likewise.
39295 * include/utime.h: Likewise.
39296 * include/wchar.h: Likewise.
39297 * include/wctype.h: Likewise.
39298 * include/wordexp.h: Likewise.
39299
39300 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39301
7a270350
UD
39302 * time/time.h: TIME_UTC must be a macro.
39303 Make timespec_get available for ISO C11 only as well.
39304
7724defc
UD
393052012-02-24 Ulrich Drepper <drepper@gmail.com>
39306
39307 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39308 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39309
6b1d1d46
JM
393102012-02-24 Joseph Myers <joseph@codesourcery.com>
39311
39312 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 39313
0f8bbd69
JM
393142012-02-24 Joseph Myers <joseph@codesourcery.com>
39315
39316 * manual/texinfo.tex: Update to version 2012-01-19.16.
39317
66ab80bc
JM
393182012-02-24 Joseph Myers <joseph@codesourcery.com>
39319
39320 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39321
74981cc5
RM
393222012-02-24 Roland McGrath <roland@hack.frob.com>
39323
ee968201
RM
39324 [BZ #13738]
39325 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39326 * manual/fdl-1.3.texi: New file.
39327 * manual/fdl-1.1.texi: File removed.
39328
74981cc5
RM
39329 [BZ #13738]
39330 * manual/libc.texinfo (FDL_VERSION): New @set.
39331 Use it for mention of FDL in cover text.
39332 (Documentation License): Use it in @include file name.
39333
7bb764bc
JM
393342012-02-22 Joseph Myers <joseph@codesourcery.com>
39335 Roland McGrath <roland@hack.frob.com>
39336
39337 [BZ #5461]
57f41c40
AS
39338 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39339 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
39340 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39341 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39342 name.
39343 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39344
6cbeae47
JM
393452012-02-22 Joseph Myers <joseph@codesourcery.com>
39346
39347 [BZ #2547]
39348 [BZ #11365]
39349 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39350 manipulate bits before adding and subtracting TWO23[sx].
39351 * math/libm-test.inc (nearbyint_test): Add more tests.
39352
fe45ce09
JM
393532012-02-22 Joseph Myers <joseph@codesourcery.com>
39354
39355 [BZ #2548]
39356 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39357 bits before adding and subtracting TWO23[sx].
39358 * math/libm-test.inc (rint_test): Add more tests.
39359 (rint_test_tonearest): Likewise.
39360 (rint_test_towardzero): Likewise.
39361 (rint_test_downward): Likewise.
39362 (rint_test_upward: Likewise.
39363
ff3b3d82
JM
393642012-02-22 Joseph Myers <joseph@codesourcery.com>
39365
39366 [BZ #10110]
39367 * include/stdc-predef.h: New file. Extracted from features.h.
39368 * include/features.h: Include stdc-predef.h.
39369 * Makefile (headers): Add stdc-predef.h.
39370 * CONFORMANCE (Compiler limitations): Update.
39371
ef0aab35
JM
393722012-02-22 Joseph Myers <joseph@codesourcery.com>
39373
39374 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39375
58639409
DM
393762012-02-21 David S. Miller <davem@davemloft.net>
39377
39378 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39379 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39380
c0e70b25
DM
393812012-02-20 David S. Miller <davem@davemloft.net>
39382
39383 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39384 using a normal save/restore sequence, rather than allocating a
39385 dummy stack frame just to store a frame pointer and restore.
39386 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39387
fb06851d
JM
393882012-02-21 Joseph Myers <joseph@codesourcery.com>
39389
39390 * manual/install.texi: Fix stray word in line-wrapped comment.
39391
7a8b71c3
DM
393922012-02-20 David S. Miller <davem@davemloft.net>
39393
d510c123
DM
39394 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39395 both binutils and gcc support GOTDATA.
39396
0722d7c2
DM
39397 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39398 "rd %pc" in the PIC register setup sequences.
39399
3d2b3019
DM
39400 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39401 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39402 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39403 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39404 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39406 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39407 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39408 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39409 (SYSCALL_ERROR_HANDLER): Likewise.
39410 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39411 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39412 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39413 (SYSCALL_ERROR_HANDLER): Likewise.
39414
c80098a9
DM
39415 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39416 (HAVE_GCC_GOTDATA): New.
39417 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39418 relocation support in both binutils and gcc.
39419 * sysdeps/sparc/elf/configure: Regenerate.
39420
3a2545a0
DM
39421 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39422 * sysdeps/sparc/sparc32/elf/configure: Delete.
39423 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39424 * sysdeps/sparc/sparc64/elf/configure: Delete.
39425 * sysdeps/sparc/elf/configure.in: New file.
39426 * sysdeps/sparc/elf/configure: Generate.
39427
7a8b71c3
DM
39428 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39429 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39430 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39431 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39432 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39433
f1e86fca
JM
394342012-02-21 Joseph Myers <joseph@codesourcery.com>
39435
39436 * manual/install.texi: Do not mention specific glibc version
39437 numbers.
39438 * manual/libc.texinfo (VERSION, UPDATED): Update.
39439 (@copying): Use @copyright{} and range of years.
39440
0e7dfaef
JM
394412012-02-21 Joseph Myers <joseph@codesourcery.com>
39442
39443 [BZ #13695]
39444 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39445 [crti.S not in sysdirs] (generated): Do not append.
39446 [crti.S not in sysdirs] (omit-deps): Likewise.
39447 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39448 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39449 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39450 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39451 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39452 Likewise.
39453 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39454 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39455 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39456 * csu/defs.awk: Remove file.
39457 * sysdeps/generic/initfini.c: Likewise.
39458 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39459 variable.
39460 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39461 Likewise.
39462
599af3ca
JM
394632012-02-20 Joseph Myers <joseph@codesourcery.com>
39464
39465 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39466 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39467 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39468 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39469 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39470 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39471 <bits/epoll.h>.
39472 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39473 (__EPOLL_PACKED): Define to empty if not defined by
39474 <bits/epoll.h>.
39475 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39476 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39477 bits/epoll.h.
39478
0e499750
JM
394792012-02-20 Joseph Myers <joseph@codesourcery.com>
39480
39481 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39482 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39483 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39484 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39485 <bits/timerfd.h>.
39486 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39488 bits/timerfd.h.
39489
5ad91f6e
JM
394902012-02-20 Joseph Myers <joseph@codesourcery.com>
39491
39492 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39493 in C locale.
39494 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39495 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39496 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39498
06b99b02
AJ
394992012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39500
39501 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39502 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39503
7638c0fd
AS
395042012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39505
39506 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39507 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39508 defined.
39509 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39510 Likewise.
39511 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39512 entry for 2.16.
39513
92221550
AJ
395142012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39515
39516 * math/w_acos.c: Use non-signaling floating-point comparisons.
39517 * math/w_acosf.c: Likewise.
39518 * math/w_acosh.c: Likewise.
39519 * math/w_acoshf.c: Likewise.
39520 * math/w_acoshl.c: Likewise.
39521 * math/w_acosl.c: Likewise.
39522 * math/w_asin.c: Likewise.
39523 * math/w_asinf.c: Likewise.
39524 * math/w_asinl.c: Likewise.
39525 * math/w_atanh.c: Likewise.
39526 * math/w_atanhf.c: Likewise.
39527 * math/w_atanhl.c: Likewise.
39528 * math/w_exp2.c: Likewise.
39529 * math/w_exp2f.c: Likewise.
39530 * math/w_exp2l.c: Likewise.
39531 * math/w_j0.c: Likewise.
39532 * math/w_j0f.c: Likewise.
39533 * math/w_j0l.c: Likewise.
39534 * math/w_j1.c: Likewise.
39535 * math/w_j1f.c: Likewise.
39536 * math/w_j1l.c: Likewise.
39537 * math/w_jn.c: Likewise.
39538 * math/w_jnf.c: Likewise.
39539 * math/w_log.c: Likewise.
39540 * math/w_log10.c: Likewise.
39541 * math/w_log10f.c: Likewise.
39542 * math/w_log10l.c: Likewise.
39543 * math/w_log2.c: Likewise.
39544 * math/w_log2f.c: Likewise.
39545 * math/w_log2l.c: Likewise.
39546 * math/w_logf.c: Likewise.
39547 * math/w_logl.c: Likewise.
39548 * math/w_sqrt.c: Likewise.
39549 * math/w_sqrtf.c: Likewise.
39550 * math/w_sqrtl.c: Likewise.
39551 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39552 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39553 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39554 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39555 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39556
ebaf36eb
JM
395572012-02-19 Joseph Myers <joseph@codesourcery.com>
39558
39559 [BZ #9739]
39560 * manual/string.texi (strnlen): Use correct parameter name in
39561 equivalent expression.
39562
71c254a6
JM
395632012-02-19 Joseph Myers <joseph@codesourcery.com>
39564
39565 [BZ #11174]
39566 * manual/users.texi (seteuid): Consistently use neweuid for
39567 argument name.
39568
16d2c631
JM
395692012-02-19 Joseph Myers <joseph@codesourcery.com>
39570
39571 [BZ #13704]
39572 * manual/nss.texi (Services in the NSS configuration): Correct
39573 list of services in example configuration file.
39574
cd837b09
NB
395752012-02-19 Nick Bowler <nbowler@draconx.ca>
39576
39577 [BZ #11322]
39578 * manual/arith.texi: Remove statements about negative zero
39579 behaving identically to zero.
39580
02c4bbad
JM
395812012-02-18 Joseph Myers <joseph@codesourcery.com>
39582
39583 [BZ #5993]
39584 * manual/install.texi: Do not document upgrading from libc5.
39585
366842e7
JM
395862012-02-18 Joseph Myers <joseph@codesourcery.com>
39587
39588 [BZ #4596]
39589 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39590
dd54084d
DM
395912012-02-18 David S. Miller <davem@davemloft.net>
39592
39593 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39594 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39595 %o7 across the call.
39596 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39597 instead.
39598 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39599 SETUP_PIC_REG_LEAF.
39600 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39601 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39602 * sysdeps/sparc/crtn.S: Likewise.
39603
2bcc53a3
UD
396042012-02-17 Ulrich Drepper <drepper@gmail.com>
39605
39606 * aout/Makefile: Remove.
39607
09c093b5
RK
396082012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39609
39610 [BZ #13058]
39611 * manual/examples/argp-ex1.c (main): Format definition in GNU
39612 style.
39613 * manual/examples/argp-ex2.c (main): Likewise.
39614 * manual/examples/argp-ex3.c (main): Likewise.
39615 * manual/examples/argp-ex4.c (main): Likewise.
39616 * manual/examples/longopt.c (main): Use new-style prototype
39617 definition.
39618 * manual/examples/strncat.c (main): Specify return type and use
39619 (void) for arguments.
39620 * manual/examples/subopt.c (main): Use char **argv argument.
39621
2ee633a2
JM
396222012-02-17 Joseph Myers <joseph@codesourcery.com>
39623
39624 [BZ #5077]
39625 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39626 rounding modes.
39627
0520adde
FB
396282012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39629
39630 [BZ #6907]
39631 * manual/string.texi (strchr): Change when strchrnul is
39632 recommended.
39633
3f4081cd
DGM
396342012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39635
39636 [BZ #174]
39637 * manual/locale.texi (setlocale): Document LOCPATH.
39638
d1b10e78
JM
396392012-02-17 Joseph Myers <joseph@codesourcery.com>
39640
39641 [BZ #10210]
39642 * manual/process.texi (execle): Move @dots{} before last argument.
39643
79c6869c
PB
396442012-02-17 Paul Bolle <pebolle@tiscali.nl>
39645
39646 [BZ #12047]
39647 * manual/charset.texi (Generic Charset Conversion): Fix typo
39648 (LC_TYPE -> LC_CTYPE).
39649
cc6e48bc
NB
396502012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39651
39652 [BZ #5805]
39653 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39654 (scalbnf): Likewise.
39655 (scalbnl): Likewise.
39656 (scalbln): Likewise.
39657 (scalblnf): Likewise.
39658 (scalblnl): Likewise.
39659 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39660 (vwarnx): Likewise.
39661 (verr): Likewise.
39662 (verrx): Likewise.
39663 * manual/filesys.texi (telldir): Use braces around return type.
39664 * manual/llio.texi (mmap): Add space after comma.
39665 (mmap64): Likewise.
39666 * manual/math.texi (jn): Use @var{} on parameter names.
39667 (jnf): Likewise.
39668 (jnl): Likewise.
39669 (yn): Likewise.
39670 (ynf): Likewise.
39671 (ynl): Likewise.
39672 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39673 line.
39674 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39675 "...".
39676 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39677 (sched_get_priority_max): Likewise.
39678 * manual/signal.texi (sigvec): Add space after comma.
39679 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39680 names.
39681 (if_indextoname): Likewise.
39682 (if_freenameindex): Likewise.
39683 (sendto): Use ',' instead of '.' in prototype.
39684 * manual/startup.texi (syscall): Use @dots{} instead of literal
39685 "...".
39686 * manual/stdio.texi (__fpending): Separate initial words of
39687 paragraph from @deftypefun line.
39688 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39689 "...".
39690 (vsyslog): Use @var{} on parameter names.
39691 * manual/terminal.texi (stty): Use @var{} on parameter names.
39692 * manual/users.texi (getutmp): Use @var{} on parameter names.
39693 (getutmpx): Likewise.
39694
5b23062f
JM
396952012-02-17 Joseph Myers <joseph@codesourcery.com>
39696
39697 [BZ #6884]
39698 * manual/stdio.texi (fopen): Fix typos in description of
39699 ",ccs=STRING".
39700
8dee4833
AJ
397012012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39702
39703 [BZ #4026]
39704 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39705 get clock_id definition.
39706
9078ce93
TS
397072012-02-17 Thomas Schwinge <thomas@schwinge.name>
39708
39709 [BZ #4822]
39710 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39711 (madvise): Cast every argument to void on its own.
39712
3835c55f
JM
397132012-02-17 Joseph Myers <joseph@codesourcery.com>
39714
39715 [BZ #9902]
39716 * manual/startup.texi (Exit Status): Fix typo.
39717
35c47e37
JM
397182012-02-17 Joseph Myers <joseph@codesourcery.com>
39719
39720 [BZ #10140]
39721 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39722 * manual/examples/argp-ex2.c: Likewise.
39723 * manual/examples/argp-ex3.c: Likewise.
39724
e3b69ca7
RH
397252012-02-16 Richard Henderson <rth@redhat.com>
39726
39727 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39728 * sysdeps/s390/s390-32/initfini.c: Remove.
39729 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39730 * sysdeps/s390/s390-64/initfini.c: Remove.
39731
df83af67
KK
397322012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39733
39734 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39735 compiler output for sysdeps/generic/initfini.c.
39736 * sysdeps/sh/elf/initfini.c: Remove file.
39737
f63f3380
DM
397382012-02-16 David S. Miller <davem@davemloft.net>
39739
fb59b3a4
DM
39740 [BZ #11494]
39741 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39742
f63f3380
DM
39743 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39744 * sysdeps/sparc/crti.S: New file.
39745 * sysdeps/sparc/crtn.S: New file.
39746 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39747 * sysdeps/sparc/sparc64/Makefile: Likewise.
39748
df6a4a4a
MF
397492012-02-15 Mike Frysinger <vapier@gentoo.org>
39750
6dd8f3dc 39751 [BZ #3335]
df6a4a4a
MF
39752 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39753
1cac7236
RM
397542012-02-15 Roland McGrath <roland@hack.frob.com>
39755
d2c736f8
RM
39756 [BZ #4822]
39757 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39758
1cac7236
RM
39759 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39760 (write, read, close): Likewise.
39761 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39762
8e475601
JM
397632012-02-15 Joseph Myers <joseph@codesourcery.com>
39764
39765 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39766 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39767 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39768 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39769 <bits/signalfd.h>.
39770 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39772 bits/signalfd.h.
39773
ed656b40
MP
397742012-02-14 Marek Polacek <polacek@redhat.com>
39775
39776 * sysdeps/x86_64/crti.S: New file.
39777 * sysdeps/x86_64/crtn.S: New file.
39778 * sysdeps/x86_64/elf/initfini.c: Remove file.
39779
2a979d3a
JM
397802012-02-13 Joseph Myers <joseph@codesourcery.com>
39781
39782 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39783 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39784 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39785 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39786 <bits/inotify.h>.
39787 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39789 bits/inotify.h.
39790
2a418ac3
JM
397912012-02-13 Joseph Myers <joseph@codesourcery.com>
39792
39793 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39794 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39795 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39796 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39797 <bits/eventfd.h>.
39798 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39800 bits/eventfd.h.
39801
fb779be7
TS
398022012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39803
e19e83c5
RM
39804 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39805 __feraiseexcept instead of feraiseexcept.
7c35ffed 39806
fb779be7
TS
39807 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39808 nanosleep invocations.
39809 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39810 strings, and add error checking for a nanosleep invocations.
39811
59ba27a6
PE
398122012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39813
39814 Replace FSF snail mail address with URLs, as per GNU coding standards.
39815 Most of the snail mail addresses were wrong anyway, and omitting
39816 them makes the source code easier to maintain. Almost all of the
39817 changes are to license notices and to locale LC_IDENTIFICATION
39818 addresses, except for this one:
39819 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39820 not its snail mail address.
39821
57b957eb
RH
398222012-02-09 Richard Henderson <rth@twiddle.net>
39823
af850b1c
RH
39824 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39825 of kernel-features.h.
39826
57b957eb
RH
39827 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39828
6b73181a
MP
398292012-02-08 Marek Polacek <polacek@redhat.com>
39830
39831 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39832 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39833 * sysdeps/gnu/_G_config.h: Likewise.
39834 * sysdeps/generic/_G_config.h: Likewise.
39835
26ecc33a
AS
398362012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39837
6c6dbc63
AS
39838 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39839 tests.
39840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39841
e216c012
AS
39842 * sysdeps/powerpc/powerpc32/crti.S: New file.
39843 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39844 * sysdeps/powerpc/powerpc64/crti.S: New file.
39845 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39846
26ecc33a
AS
39847 * Makeconfig (have-initfini): Don't set.
39848 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39849 * configure.in (nopic_initfini): Don't substitute.
39850 * config.h.in (HAVE_INITFINI): Don't #undef.
39851 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39852 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39853
3add8e13
JM
398542012-02-08 Joseph Myers <joseph@codesourcery.com>
39855
39856 Support crti.S and crtn.S provided directly by architectures.
39857 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39858 [crti.S in sysdirs] (omit-deps): Likewise.
39859 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39860 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39861 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39862 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39863 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39864 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39865 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39866 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39867 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39868 compiler output for sysdeps/generic/initfini.c.
39869 * sysdeps/i386/elf/Makefile: Remove file.
39870 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39871
a22f12b4
MP
398722012-02-07 Marek Polacek <polacek@redhat.com>
39873
39874 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39875 * sysdeps/gnu/_G_config.h: Likewise.
39876 * sysdeps/mach/hurd/_G_config.h: Likewise.
39877
148cf100
MP
398782012-02-07 Marek Polacek <polacek@redhat.com>
39879
39880 * math/Makefile (tests): Add tst-CMPLX2.
39881 * math/tst-CMPLX2.c: New file.
39882
cfdc0dd7
AS
398832012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39884
84ba42c4
AS
39885 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39886
cfdc0dd7
AS
39887 * math/libm-test.inc (jn_test): Add missing L suffix.
39888
622c86f4
MP
398892012-02-06 Marek Polacek <polacek@redhat.com>
39890
39891 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39892 * sysdeps/i386/fpu/e_powf.S: Likewise.
39893 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39894 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39895 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39896 * sysdeps/i386/fpu/e_pow.S: Likewise.
39897 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39898 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39899 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39900 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39901 * sysdeps/i386/fpu/e_log2.S: Likewise.
39902 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39903 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39904 * sysdeps/i386/fpu/e_powl.S: Likewise.
39905 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39906 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39907 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39908 * sysdeps/i386/fpu/e_logl.S: Likewise.
39909 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39910 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39911 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39912 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39913 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39914 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39915 * sysdeps/i386/fpu/e_log.S: Likewise.
39916 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39917 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39918 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39919 * sysdeps/i386/fpu/e_logf.S: Likewise.
39920 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39921 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39922 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39923 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39924 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39925 * sysdeps/i386/fpu/e_log10.S: Likewise.
39926 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39927 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39928 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39929 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39930 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39931 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39932 * sysdeps/i386/asm-syntax.h: Likewise.
39933 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39934 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39935 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39936 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39937 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39938 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39939 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39940 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39941 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39942 * sysdeps/powerpc/sysdep.h: Likewise.
39943 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39944 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39945
d4a54ac6
JM
399462012-02-06 Joseph Myers <joseph@codesourcery.com>
39947
39948 [BZ #411]
39949 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39950
314054ea
JM
399512012-02-06 Joseph Myers <joseph@codesourcery.com>
39952
39953 * sysdeps/i386/sysdep.h: Include <features.h>.
39954 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39955 version.
39956
d8e0ca50
JM
399572012-02-05 Joseph Myers <joseph@codesourcery.com>
39958
39959 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39960 Define.
39961 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39962 LOAD_PIC_REG_STR.
39963
b1da7dd9
JM
399642012-02-03 Joseph Myers <joseph@codesourcery.com>
39965
39966 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39967 (SETUP_PIC_REG): Use GET_PC_THUNK.
39968 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39969 macro.
39970
9a1d9254
JM
399712012-02-03 Joseph Myers <joseph@codesourcery.com>
39972
39973 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39974 for non-PIC compilation.
39975 (SETUP_PIC_REG): Add .p2align directive.
39976 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39977 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39978 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39979 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39980 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39981 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39982 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39983 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39984 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39985 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39986 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39987 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39988 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39989 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39990 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39991 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39992 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39993 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39994 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39995 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39996 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39997 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39998 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39999 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40000 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40002 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40003 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40004 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40005 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40006 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40007 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40008 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40009 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40010 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40011 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40012 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40013 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40014 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40015 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40016 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40017
65dc3b75
JM
400182012-02-03 Joseph Myers <joseph@codesourcery.com>
40019
40020 * math/tst-CMPLX.c: Include <stdio.h>.
40021
d55bf177
JM
400222012-01-31 Joseph Myers <joseph@codesourcery.com>
40023
40024 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40025 float.
40026 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40027 * sysdeps/sparc/bits/mathdef.h: Likewise.
40028
69db4f8f
MP
400292012-01-31 Marek Polacek <polacek@redhat.com>
40030
40031 * libio/libio.h: Don't define _PARAMS.
40032 * locale/programs/config.h: Don't define PARAMS.
40033 * stdlib/strtol_l.c: Likewise.
40034 (__strtol_l): Remove PARAMS from the prototype.
40035
41b81892
UD
400362012-01-31 Ulrich Drepper <drepper@gmail.com>
40037
3b49edc0
UD
40038 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40039 names. Just use the correct names. Remove unnecessary wrapper
40040 functions.
40041 * malloc/arena.c: Likewise.
40042 * malloc/hooks.c: Likewise.
40043
41b81892
UD
40044 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40045 ARENA_TEST says not to. Simplify test for creation of a new arena.
40046 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40047
27a25b6e
UD
400482012-01-30 Ulrich Drepper <drepper@gmail.com>
40049
40050 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40051 into tail calls.
40052 (update_get_addr): New function.
40053 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40054 GET_ADDR_MODULE parameter.
40055
c8a89e7d
JM
400562012-01-30 Joseph Myers <joseph@codesourcery.com>
40057
40058 * crypt/cert.c: Remove __STDC__ conditionals.
40059 * crypt/crypt-entry.c: Likewise.
40060 * crypt/crypt_util.c: Likewise.
40061 * libio/filedoalloc.c: Likewise.
40062 * libio/fileops.c: Likewise.
40063 * libio/genops.c: Likewise.
40064 * libio/iofclose.c: Likewise.
40065 * libio/iofdopen.c: Likewise.
40066 * libio/iofopen.c: Likewise.
40067 * libio/iofopen64.c: Likewise.
40068 * libio/iogetdelim.c: Likewise.
40069 * libio/iopopen.c: Likewise.
40070 * libio/obprintf.c: Likewise.
40071 * libio/oldfileops.c: Likewise.
40072 * libio/oldiofclose.c: Likewise.
40073 * libio/oldiofdopen.c: Likewise.
40074 * libio/oldiofopen.c: Likewise.
40075 * libio/oldiopopen.c: Likewise.
40076 * libio/wfiledoalloc.c: Likewise.
40077 * libio/wgenops.c: Likewise.
40078 * locale/programs/xmalloc.c: Likewise.
40079 * misc/syslog.c: Likewise.
40080 * stdio-common/xbug.c: Likewise.
40081 * string/memchr.c: Likewise.
40082 * string/memcmp.c: Likewise.
40083 * string/memrchr.c: Likewise.
40084 * string/rawmemchr.c: Likewise.
40085 * sysdeps/posix/getcwd.c: Likewise.
40086 * time/strftime_l.c: Likewise.
40087
3b100462
JM
400882012-01-30 Joseph Myers <joseph@codesourcery.com>
40089
40090 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
40091 * config.make.in (config-cflags-sse2avx): Define.
40092 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40093 Fix typo.
40094
607998af
CM
400952012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40096
40097 * scripts/config.guess: Update from upstream config git repository.
40098 * scripts/config.sub: Likewise.
40099
3601428f
CM
401002012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40101
3ac8b282
CM
40102 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40103 (EM_NUM): Update.
40104 (R_TILEPRO_*, R_TILEGX_*): New macros.
40105
e034841e
CM
40106 * scripts/firstversions.awk: Fix bug in version range handling.
40107
540d7568
CM
40108 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40109
3601428f
CM
40110 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40111
463de862
CM
40112 * include/sys/epoll.h: New file.
40113 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40114 libc_hidden_def.
40115
73139a76
UD
401162012-01-28 Ulrich Drepper <drepper@gmail.com>
40117
96bc5b45
UD
40118 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40119 Avoid unnecessary __WORDSIZE == 64 test.
40120 (fmaxf): Use VEX format if possible.
40121 (fmax): Likewise.
40122 (fminf): Likewise.
40123 (fmin): Likewise.
40124
56f6f6a2
UD
40125 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40126 * math/math_private.h: Remove libc_fegetround* and
40127 libc_fesetround*.
40128 * sysdeps/i386/configure.in: Check for -msse2avx.
40129 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40130 also if SSE2AVX is defined.
40131 Remove libc_fegetround* and libc_fesetround*.
40132 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40133 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40134 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40135 of HAS_YMM_USABLE.
40136 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40137 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40138 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40139 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40140 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40141
73139a76
UD
40142 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40143
d73f93a4
AZ
401442012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40145
40146 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40147 size is not set.
40148 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40149
6ee65ed6
UD
401502012-01-27 Ulrich Drepper <drepper@gmail.com>
40151
40152 [BZ #13618]
40153 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40154 relocation.
40155 * Makeconfig (libm): Define.
40156 * elf/Makefile: Add rules to build and run tst-relsort1.
40157 * elf/tst-relsort1.c: New file.
40158 * elf/tst-relsort1mod1.c: New file.
40159 * elf/tst-relsort1mod2.c: New file.
40160
8db21882
JM
401612012-01-27 Joseph Myers <joseph@codesourcery.com>
40162
40163 * math/s_ldexp.c: Remove __STDC__ conditionals.
40164 * math/s_ldexpf.c: Likewise.
40165 * math/s_ldexpl.c: Likewise.
40166 * math/s_nextafter.c: Likewise.
40167 * math/s_nexttowardf.c: Likewise.
40168 * math/s_significand.c: Likewise.
40169 * math/s_significandf.c: Likewise.
40170 * math/s_significandl.c: Likewise.
40171 * math/w_jnl.c: Likewise.
40172 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40173 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40174 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40175 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40176 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40177 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40178 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40179 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40180 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40181 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40182 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40183 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40184 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40185 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40186 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40187 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40188 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40189 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40190 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40191 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40192 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40193 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40194 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40195 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40196 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40197 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40198 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40199 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40200 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40201 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40202 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40203 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40204 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40205 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40206 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40207 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40208 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40209 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40210 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40211 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40212 * sysdeps/ieee754/k_standard.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40226 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40229 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40231 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40232 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40233 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40234 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40235 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40236 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40237 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40238 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40240 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40242 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40243 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40245 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40246 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40248 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40249 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40250 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40251 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40252 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40253 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40254 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40255 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40256 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40257 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40258 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40259 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40260 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40261 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40262 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40263 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40265 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40266 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40267 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40268 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40269 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40270 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40271 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40272 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40273 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40274 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40275 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40276 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40277 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40278 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40279 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40280 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40281 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40282 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40283 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40284 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40286 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40287 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40288 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40289 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40290 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40291 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40292 * sysdeps/ieee754/s_matherr.c: Likewise.
40293 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40294 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40295 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40296 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40297
965a54a4
JM
402982012-01-26 Joseph Myers <joseph@codesourcery.com>
40299
40300 * crypt/md5.h: Remove __STDC__ conditionals.
40301 * libio/libioP.h: Likewise.
40302 * locale/programs/config.h: Likewise.
40303 * sysdeps/generic/sysdep.h: Likewise.
40304 * sysdeps/i386/asm-syntax.h: Likewise.
40305 * sysdeps/s390/asm-syntax.h: Likewise.
40306 * sysdeps/unix/sysdep.h: Likewise.
40307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40309
7071ad79
JM
403102012-01-26 Joseph Myers <joseph@codesourcery.com>
40311
40312 * libio/libio.h: Remove __STDC__ conditionals.
40313 * malloc/obstack.h: Likewise.
40314 * math/complex.h: Likewise.
40315 * math/math.h: Likewise.
40316 * sysdeps/generic/_G_config.h: Likewise.
40317 * sysdeps/gnu/_G_config.h: Likewise.
40318 * sysdeps/mach/hurd/_G_config.h: Likewise.
40319 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40320 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40321 * sysdeps/sparc/bits/mathdef.h: Likewise.
40322
afc5ed09
UD
403232012-01-26 Ulrich Drepper <drepper@gmail.com>
40324
40325 [BZ #13583]
40326 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 40327 Clean up HAS_* macros.
afc5ed09 40328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
40329 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40330 possible.
40331 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40332 HAS_AVX.
40333 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40334 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40335 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40336 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40337 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 40338
bdb6de1d
JM
403392012-01-25 Joseph Myers <joseph@codesourcery.com>
40340
40341 * elf/tst-unique3.cc (gets): Remove declaration.
40342 * elf/tst-unique3lib.cc (gets): Likewise.
40343 * elf/tst-unique3lib2.cc (gets): Likewise.
40344 * elf/tst-unique4.cc (gets): Likewise.
40345
b15549e6
UD
403462012-01-24 Ulrich Drepper <drepper@gmail.com>
40347
40348 * include/stdio.h: Add C++ protection. Add gets declarations and
40349 definitions.
40350 * debug/tst-chk1.c: Don't declare gets here.
40351 * stdio-common/tst-gets.c: Likewise.
40352
a037381f
JM
403532012-01-24 Joseph Myers <joseph@codesourcery.com>
40354
40355 * posix/glob: Remove directory.
40356
f1d4aa75
JM
403572012-01-24 Joseph Myers <joseph@codesourcery.com>
40358
40359 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40360
81c0c964
PT
403612012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40362
40363 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40364 of the non-standard EPFNOSUPPORT.
40365
0ea698ae
ST
403662011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40367
40368 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40369 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40370 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40371
d220b117
UD
403722012-01-21 Ulrich Drepper <drepper@gmail.com>
40373
40374 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40375
3e1aa84e
UD
403762012-01-20 Ulrich Drepper <drepper@gmail.com>
40377
40378 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40379 transient errors.
40380 * nscd/grpcache.c (cache_addgr): Likewise.
40381 * nscd/hstcache.c (cache_addhst): Likewise.
40382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40383 * nscd/pwdcache.c (cache_addpw): Likewise.
40384 * nscd/servicescache.c (cache_addserv): Likewise.
40385
400aa020
UD
403862012-01-16 Ulrich Drepper <drepper@gmail.com>
40387
d77e7869
UD
40388 * malloc/malloc.c: Various cleanups.
40389 * malloc/hooks.c: Likewise.
40390
400aa020
UD
40391 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40392 * stdlib/bug-fmtmsg1.c: New file.
40393
40394 * stdlib/fmtmsg.c (init): Add missing unlock.
40395 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40396
e0a309cf
MP
403972012-01-12 Marek Polacek <polacek@redhat.com>
40398
40399 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40400 and _GNU_SOURCE.
40401
929d11c7
WS
404022012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40403
40404 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40405 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40406 macro to ensure uniqueness of label name.
40407 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40408 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40409
41d0e869
UD
404102012-01-11 Ulrich Drepper <drepper@gmail.com>
40411
0cc5ed3b
UD
40412 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40413
41d0e869
UD
40414 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40415 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40416 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40418
a47a831a
UD
404192012-01-10 Ulrich Drepper <drepper@gmail.com>
40420
daa891c0
UD
40421 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40422
40423 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40424 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40425 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40426
e58ef0f2
UD
40427 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40428
a47a831a 40429 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
40430 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40431 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 40432 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
40433
40434 * math/bits/math-finite.h: Add ldexp support.
40435
a0bfc9c7
MP
404362012-01-10 Marek Polacek <polacek@redhat.com>
40437
40438 * locale/programs/localedef.h (show_archive_content): Add noreturn
40439 attribute.
40440
d6e97a1d
UD
404412012-01-09 Ulrich Drepper <drepper@gmail.com>
40442
40443 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40444
d5835c26
UD
404452012-01-08 Ulrich Drepper <drepper@gmail.com>
40446
e5f484c6
UD
40447 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40448
d5835c26
UD
40449 * io/Makefile (headers): Add bits/poll2.h.
40450
d1f741e9
WS
404512011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40452
40453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40454 typo #include statement.
40455
ec09c1c4
UD
404562012-01-08 Ulrich Drepper <drepper@gmail.com>
40457
40458 * include/sys/cdefs.h: Define __attribute_alloc_size.
40459 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40460 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40461 * elf/pldd.c: Likewise.
40462 * iconv/iconv_charmap.c: Likewise.
40463 * iconv/iconvconfig.c: Likewise.
40464 * iconv/strtab.c: Likewise.
40465 * locale/programs/locale.c: Likewise.
40466 * locale/programs/localedef.h: Likewise.
40467 * locale/programs/simple-hash.c: Likewise.
40468 * nscd/nscd.h: Likewise.
40469 * nss/makedb.c: Likewise.
40470 * sysdeps/generic/ldconfig.h: Likewise.
40471 * locale/programs/localedef.c: Remove xmalloc prototype.
40472 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40473
20b38e03
PP
404742012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40475
40476 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40477 appropriate.
40478
a0da5fe1
UD
404792012-01-08 Ulrich Drepper <drepper@gmail.com>
40480
1d5a644a 40481 * math/Makefile (tests): Add tst-CMPLX.
669704fd 40482 * math/tst-CMPLX.c: New file.
1d5a644a 40483
8784a6db
UD
40484 * math/complex.h (CMPLXL): Fix typo.
40485
d9a216c0
UD
40486 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40487 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40488 GLIBC_2.16.
40489 * debug/tst-chk1.c: Add poll and ppoll tests.
40490 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40491 * include/sys/poll.h: Add hidden proto for ppoll.
40492 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40493 * sysdeps/mach/hurd/ppoll.c: Likewise.
40494 * io/ppoll.c: Likewise.
40495 * debug/poll_chk.c: New file.
40496 * debug/ppoll_chk.c: New file.
40497 * include/bits/poll2.h: New file.
40498 * io/bits/poll2.h: New file.
40499
ac097f5c
UD
40500 [BZ #1350]
40501 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40502
2119dcfa
UD
40503 * configure.in: static is always set to yes. Remove.
40504 * config.make.in: Don't set build-static.
40505 * Makeconfig: Remove use of build-static.
40506 * dlfcn/Makefile: Likewise.
40507 * elf/Makefile: Likewise.
40508 * math/Makefile: Likewise.
40509 * misc/Makefile: Likewise.
40510 * nptl/Makefile: Likewise.
40511 * sysdeps/mach/hurd/Makefile: Likewise.
40512
121766a9
UD
40513 * configure.in: PWD_P is not used anymore.
40514 * config.make.in: Remove PWD_P entry.
40515
51a1d39c 40516 * configure.in: Remove last remnants of RANLIB.
8720d066 40517 No need to check for signed size_t anymore.
215f4bdc
UD
40518 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40519 and IA-64.
3857022a 40520 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
40521 * aclocal.m4: Likewise.
40522
d3ed7225
UD
40523 * wcsmbs/mbrtoc16.c: Implement using towc function.
40524 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40525 * wcsmbs/wcsmbsload.c: Likewise.
40526 * iconv/gconv_simple.c: Likewise.
40527 * iconv/gconv_int.h: Likewise.
40528 * iconv/gconv_builtin.h: Likewise.
40529 * iconv/iconv_prog.c: Remove CHAR16 handling.
40530
40531 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40532
40533 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40534
a0da5fe1
UD
40535 * configure.in: Remove --with-elf and --enable-bounded options.
40536 Dont set base_machine for ia64. More non-ELF conditions removed.
40537 Remove testing and setting of leading underscore information.
40538 * config.make.in (build-bounded): Set to no.
40539 * config.h.in: Remove NO_UNDERSCORES entry.
40540 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40541 them.
40542 * csu/start.c: Remove !NO_UNDERSCORE code.
40543 * locale/localeinfo.h: Likewise.
40544 * sysdeps/generic/machine-gmon.h: Likewise.
40545 * sysdeps/generic/sysdep.h: Likewise.
40546 * sysdeps/i386/sysdep.h: Likewise.
40547 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40548 * sysdeps/mach/sysdep.h: Likewise.
40549 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40550 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40551 * sysdeps/sh/sysdep.h: Likewise.
40552 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40553 * sysdeps/unix/i386/sysdep.S: Likewise.
40554 * sysdeps/unix/sparc/start.c: Likewise.
40555 * sysdeps/unix/sparc/sysdep.S: Likewise.
40556 * sysdeps/unix/sparc/sysdep.h: Likewise.
40557 * sysdeps/unix/start.c: Likewise.
40558 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40559 * sysdeps/x86_64/sysdep.h: Likewise.
40560
df78418a
UD
405612012-01-07 Ulrich Drepper <drepper@gmail.com>
40562
a784e502
UD
40563 [BZ #13553]
40564 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40565 for non-gcc.
40566 * argp/argp-fmtstream.h: Use const instead __const.
40567 * argp/argp.h: Likewise.
40568 * assert/assert.h: Likewise.
40569 * bits/fenv.h: Likewise.
40570 * bits/sched.h: Likewise.
40571 * bits/sigset.h: Likewise.
40572 * bits/sigthread.h: Likewise.
40573 * catgets/nl_types.h: Likewise.
40574 * conform/data/pthread.h-data: Likewise.
40575 * crypt/crypt-private.h: Likewise.
40576 * crypt/crypt.h: Likewise.
40577 * crypt/crypt_util.c: Likewise.
40578 * ctype/ctype.h: Likewise.
40579 * debug/execinfo.h: Likewise.
40580 * debug/mbsnrtowcs_chk.c: Likewise.
40581 * debug/mbsrtowcs_chk.c: Likewise.
40582 * debug/wcsnrtombs_chk.c: Likewise.
40583 * debug/wcsrtombs_chk.c: Likewise.
40584 * debug/wcstombs_chk.c: Likewise.
40585 * dirent/dirent.h: Likewise.
40586 * dlfcn/dlfcn.h: Likewise.
40587 * elf/neededtest4.c: Likewise.
40588 * grp/grp.h: Likewise.
40589 * gshadow/gshadow.h: Likewise.
40590 * iconv/gconv.h: Likewise.
40591 * iconv/gconv_int.h: Likewise.
40592 * iconv/gconv_simple.c: Likewise.
40593 * iconv/iconv.h: Likewise.
40594 * iconv/loop.c: Likewise.
40595 * iconv/skeleton.c: Likewise.
40596 * include/aio.h: Likewise.
40597 * include/aliases.h: Likewise.
40598 * include/argz.h: Likewise.
40599 * include/arpa/inet.h: Likewise.
40600 * include/assert.h: Likewise.
40601 * include/dirent.h: Likewise.
40602 * include/dlfcn.h: Likewise.
40603 * include/execinfo.h: Likewise.
40604 * include/fcntl.h: Likewise.
40605 * include/fenv.h: Likewise.
40606 * include/glob.h: Likewise.
40607 * include/grp.h: Likewise.
40608 * include/libintl.h: Likewise.
40609 * include/mntent.h: Likewise.
40610 * include/netdb.h: Likewise.
40611 * include/pwd.h: Likewise.
40612 * include/rpc/netdb.h: Likewise.
40613 * include/sched.h: Likewise.
40614 * include/search.h: Likewise.
40615 * include/shadow.h: Likewise.
40616 * include/signal.h: Likewise.
40617 * include/stdio.h: Likewise.
40618 * include/stdlib.h: Likewise.
40619 * include/string.h: Likewise.
40620 * include/sys/socket.h: Likewise.
40621 * include/sys/stat.h: Likewise.
40622 * include/sys/statfs.h: Likewise.
40623 * include/sys/statvfs.h: Likewise.
40624 * include/sys/syslog.h: Likewise.
40625 * include/sys/time.h: Likewise.
40626 * include/sys/uio.h: Likewise.
40627 * include/time.h: Likewise.
40628 * include/unistd.h: Likewise.
40629 * include/utmp.h: Likewise.
40630 * include/wchar.h: Likewise.
40631 * include/wctype.h: Likewise.
40632 * inet/aliases.h: Likewise.
40633 * inet/arpa/inet.h: Likewise.
40634 * inet/netinet/ether.h: Likewise.
40635 * inet/netinet/in.h: Likewise.
40636 * intl/libintl.h: Likewise.
40637 * io/bits/fcntl2.h: Likewise.
40638 * io/fcntl.h: Likewise.
40639 * io/ftw.h: Likewise.
40640 * io/sys/poll.h: Likewise.
40641 * io/sys/stat.h: Likewise.
40642 * io/sys/statfs.h: Likewise.
40643 * io/sys/statvfs.h: Likewise.
40644 * io/utime.h: Likewise.
40645 * libio/bits/stdio.h: Likewise.
40646 * libio/bits/stdio2.h: Likewise.
40647 * libio/libio.h: Likewise.
40648 * libio/libioP.h: Likewise.
40649 * libio/stdio.h: Likewise.
40650 * locale/lc-ctype.c: Likewise.
40651 * locale/locale.h: Likewise.
40652 * login/utmp.h: Likewise.
40653 * malloc/arena.c: Likewise.
40654 * malloc/malloc.c: Likewise.
40655 * malloc/malloc.h: Likewise.
40656 * malloc/mcheck.c: Likewise.
40657 * malloc/mtrace.c: Likewise.
40658 * math/bits/mathcalls.h: Likewise.
40659 * math/fenv.h: Likewise.
40660 * math/math_private.h: Likewise.
40661 * misc/bits/error.h: Likewise.
40662 * misc/bits/syslog.h: Likewise.
40663 * misc/err.h: Likewise.
40664 * misc/error.h: Likewise.
40665 * misc/fstab.h: Likewise.
40666 * misc/mntent.h: Likewise.
40667 * misc/regexp.h: Likewise.
40668 * misc/search.h: Likewise.
40669 * misc/sgtty.h: Likewise.
40670 * misc/sys/mman.h: Likewise.
40671 * misc/sys/syslog.h: Likewise.
40672 * misc/sys/uio.h: Likewise.
40673 * misc/sys/xattr.h: Likewise.
40674 * misc/ttyent.h: Likewise.
40675 * nis/rpcsvc/ypclnt.h: Likewise.
40676 * nss/nss.h: Likewise.
40677 * posix/bits/unistd.h: Likewise.
40678 * posix/fnmatch.h: Likewise.
40679 * posix/glob.h: Likewise.
40680 * posix/sched.h: Likewise.
40681 * posix/spawn.h: Likewise.
40682 * posix/sys/wait.h: Likewise.
40683 * posix/unistd.h: Likewise.
40684 * posix/wordexp.h: Likewise.
40685 * pwd/pwd.h: Likewise.
40686 * resolv/netdb.h: Likewise.
40687 * resource/sys/resource.h: Likewise.
40688 * rt/aio.h: Likewise.
40689 * rt/bits/mqueue2.h: Likewise.
40690 * rt/mqueue.h: Likewise.
40691 * shadow/shadow.h: Likewise.
40692 * signal/signal.h: Likewise.
40693 * socket/send.c: Likewise.
40694 * socket/sendto.c: Likewise.
40695 * socket/sys/socket.h: Likewise.
40696 * stdio-common/printf.h: Likewise.
40697 * stdlib/bits/stdlib.h: Likewise.
40698 * stdlib/fmtmsg.h: Likewise.
40699 * stdlib/monetary.h: Likewise.
40700 * stdlib/stdlib.h: Likewise.
40701 * stdlib/ucontext.h: Likewise.
40702 * streams/stropts.h: Likewise.
40703 * string/argz.h: Likewise.
40704 * string/bits/string2.h: Likewise.
40705 * string/string.h: Likewise.
40706 * string/strings.h: Likewise.
40707 * sunrpc/rpc/auth.h: Likewise.
40708 * sunrpc/rpc/auth_des.h: Likewise.
40709 * sunrpc/rpc/clnt.h: Likewise.
40710 * sunrpc/rpc/netdb.h: Likewise.
40711 * sunrpc/rpc/pmap_clnt.h: Likewise.
40712 * sunrpc/rpc/xdr.h: Likewise.
40713 * sysdeps/generic/inttypes.h: Likewise.
40714 * sysdeps/generic/net/if.h: Likewise.
40715 * sysdeps/generic/sys/swap.h: Likewise.
40716 * sysdeps/gnu/net/if.h: Likewise.
40717 * sysdeps/gnu/utmpx.h: Likewise.
40718 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40719 * sysdeps/i386/i486/bits/string.h: Likewise.
40720 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40721 * sysdeps/s390/bits/string.h: Likewise.
40722 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40723 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40724 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40725 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40726 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40727 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40728 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40729 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40730 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40731 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40732 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40733 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40734 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40735 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40736 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40737 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40738 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40740 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40741 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40742 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40743 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40744 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40745 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40746 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40747 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40748 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40749 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40750 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40751 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40752 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40753 * sysvipc/sys/ipc.h: Likewise.
40754 * sysvipc/sys/msg.h: Likewise.
40755 * sysvipc/sys/sem.h: Likewise.
40756 * sysvipc/sys/shm.h: Likewise.
40757 * termios/termios.h: Likewise.
40758 * time/sys/time.h: Likewise.
40759 * time/time.h: Likewise.
40760 * wcsmbs/bits/wchar2.h: Likewise.
40761 * wcsmbs/uchar.h: Likewise.
40762 * wcsmbs/wchar.h: Likewise.
40763 * wctype/wctype.h: Likewise.
40764
0269750c
UD
40765 [BZ #13551]
40766 * Makeconfig: Remove all but ELF support including AIX support.
40767 * Makerules: Likewise.
40768 * config.h.in: Likewise.
40769 * config.make.in: Likewise.
40770 * configure: Likewise.
40771 * configure.in: Likewise.
40772 * csu/Makefile: Likewise.
40773 * csu/version.c: Likewise.
40774 * debug/Makefile: Likewise.
40775 * dlfcn/Makefile: Likewise.
40776 * elf/Makefile: Likewise.
40777 * extra-lib.mk: Likewise.
40778 * iconv/Makefile: Likewise.
40779 * include/libc-symbols.h: Likewise.
40780 * include/shlib-compat.h: Likewise.
40781 * resolv/Makefile: Likewise.
40782 * resolv/res_libc.c: Likewise.
40783 * rt/Makefile: Likewise.
40784 * sysdeps/i386/asm-syntax.h: Likewise.
40785 * sysdeps/i386/sysdep.h: Likewise.
40786 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40787 * sysdeps/mach/sysdep.h: Likewise.
40788 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40789 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40790 * sysdeps/s390/asm-syntax.h: Likewise.
40791 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40792 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40793 * sysdeps/sh/sysdep.h: Likewise.
40794 * sysdeps/unix/sparc/sysdep.h: Likewise.
40795 * sysdeps/wordsize-32/divdi3.c: Likewise.
40796 * sysdeps/x86_64/sysdep.h: Likewise.
40797
00bbd29b
UD
40798 * argp/Versions: Remove _argp_unlock_xxx.
40799
40800 [BZ #13559]
40801 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40802 * abilist/libBrokenLocale.abilist: Likewise.
40803 * abilist/libanl.abilist: Likewise.
40804 * abilist/libc.abilist: Likewise.
40805 * abilist/libcrypt.abilist: Likewise.
40806 * abilist/libdl.abilist: Likewise.
40807 * abilist/libm.abilist: Likewise.
40808 * abilist/libnsl.abilist: Likewise.
40809 * abilist/libpthread.abilist: Likewise.
40810 * abilist/libresolv.abilist: Likewise.
40811 * abilist/librt.abilist: Likewise.
40812 * abilist/libthread_db.abilist: Likewise.
40813 * abilist/libutil.abilist: Likewise.
40814 * abilist/libnss_db.abilist: New file.
40815
40816 * scripts/abilist.awk: Add support for indirect functions.
40817
a2693a0e
UD
40818 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40819
3f05895f
UD
40820 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40821
ecb6fb48
UD
40822 * shlib-versions: Remove entries for ports architectures.
40823
664f8cb9
UD
40824 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40825 files in ports.
40826 * elf/stackguard-macros.h: Remove support for IA-64.
40827 * elf/tst-auditmod1.c: Likewise.
40828 * sysdeps/generic/ldsodefs.h: Likewise.
40829
7ae81d88
UD
40830 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40831 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40832 configure files.
40833
bdeba135
UD
40834 [BZ #13552]
40835 * configure.in: Remove --enable-omitfp support.
40836 * FAQ.in: Adjust.
40837 * config.make.in: Likewise.
40838 * Makeconfig: Likewise.
40839 * manual/install.texi: Likewise.
40840
d75a0a62
UD
40841 In case anyone cares, the IA-64 architecture could move to ports.
40842 * sysdeps/ia64/*: Removed.
40843 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 40844 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 40845
dcc9756b
UD
40846 [BZ #13555]
40847 * configure.in: Remove entries for unsupported architectures.
40848
d3761ebc 40849 [BZ #13533]
9954432e
UD
40850 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40851 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40852 routines.
40853 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40854 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40855 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40856 fall back to using wcrtomb.
40857 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40858 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40859 renaming.
40860 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40861 * wcsmbs/tst-c16c32-1.c: New file.
40862
40863 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40864 local variable.
40865
c3a87236
UD
40866 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40867
28926a1b
UD
40868 * elf/tst-unique3.cc: Add explicit declaration of gets.
40869 * elf/tst-unique3lib.cc: Likewise.
40870 * elf/tst-unique3lib2.cc: Likewise.
40871 * elf/tst-unique4.cc: Likewise.
40872
df78418a
UD
40873 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40874
8ecd6b2a
JM
408752012-01-06 Joseph Myers <joseph@codesourcery.com>
40876
40877 [BZ #13566]
40878 * assert/assert.h (static_assert): Don't define for C++.
40879 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40880 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40881
9f115170
UD
408822012-01-03 Ulrich Drepper <drepper@gmail.com>
40883
5e0d0300
UD
40884 * iconv/loop.c (single loop): Fix assertion in storing of
40885 remaining bytes.
40886
9f115170
UD
40887 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40888
81fb02b0
UD
408892012-01-01 Ulrich Drepper <drepper@gmail.com>
40890
40891 * posix/getconf.c: Update copyright year.
40892 * nss/getent.c: Likewise.
a316c1f6 40893 * nss/makedb.c: Likewise.
81fb02b0
UD
40894 * iconv/iconvconfig.c: Likewise.
40895 * iconv/iconv_prog.c: Likewise.
40896 * elf/ldconfig.c: Likewise.
a316c1f6
UD
40897 * elf/pldd.c: Likewise.
40898 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
40899 * catgets/gencat.c: Likewise.
40900 * csu/version.c: Likewise.
40901 * elf/ldd.bash.in: Likewise.
40902 * elf/sprof.c (print_version): Likewise.
40903 * locale/programs/locale.c: Likewise.
40904 * locale/programs/localedef.c: Likewise.
a316c1f6 40905 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
40906 * nscd/nscd.c (print_version): Likewise.
40907 * debug/xtrace.sh: Likewise.
40908 * malloc/memusage.sh: Likewise.
40909 * malloc/mtrace.pl: Likewise.
40910 * debug/catchsegv.sh: Likewise.
40911
2ba92745
JJ
409122011-12-30 Jakub Jelinek <jakub@redhat.com>
40913
40914 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40915 pure attribute.
40916
dadebdae
UD
409172011-12-24 Ulrich Drepper <drepper@gmail.com>
40918
d3761ebc 40919 [BZ #13533]
db6af3eb
UD
40920 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40921 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40922 transformations.
40923 * iconv/gconv_int.h: Likewise.
40924 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40925 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40926 from libc for GLIBC_2.16.
40927 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40928 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40929 * wcsmbs/uchar.h: Really define mbstate_t.
40930 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40931 * wcsmbs/c16rtomb.c: New file.
40932 * wcsmbs/mbrtoc16.c: New file.
40933 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40934 for C/POSIX locale.
40935 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40936 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40937
dadebdae
UD
40938 * wcsmbs/wchar.h: Add missing __restrict.
40939
67371b56
UD
409402011-12-23 Ulrich Drepper <drepper@gmail.com>
40941
74033a25
UD
40942 [BZ #13532]
40943 * time/Makefile (routines): Add timespec_get.
40944 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40945 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40946 timespec for ISO C11.
40947 * time/timespec_get.c: New file.
40948 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40949 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40950
380d7e87
UD
40951 [BZ #13531]
40952 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40953 * stdlib/stdlib.h: Declare aligned_alloc.
40954 * Versions.def: Add GLIBC_2.16 for libc.
40955 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40956
4e9e7a35
UD
40957 [BZ 13527]
40958 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40959 ISO C11.
40960
380d7e87 40961 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
40962 code.
40963
03a71829
UD
40964 [BZ #13528]
40965 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40966
839e283e
UD
40967 [BZ #13529]
40968 * assert/assert.h (static_assert): Define.
40969
ce5294e2 40970 * version.h: Update for 2.16 development version.
90fa7312 40971
8d44e150 40972 [BZ #13526]
d7809905
UD
40973 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40974 _ISOC11_SOURCE.
40975
c0da14cd
UD
40976 * version.h (RELEASE): Bump for 2.15 release.
40977 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40978
530a3249
MP
40979 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40980 Patch by Marek Polacek <mpolacek@redhat.com>.
40981
67371b56
UD
40982 * bits/byteswap.h: Protect long long constants with __extension__.
40983 * sysdeps/i386/bits/byteswap.h: Likewise.
40984 * sysdeps/ia64/bits/byteswap.h: Likewise.
40985 * sysdeps/s390/bits/byteswap.h: Likewise.
40986 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40987
15db4de1
LD
409882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40989
40990 [BZ #13540]
bbe315ea
LD
40991 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40992 destination buffer.
15db4de1
LD
40993 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40994
2b2596b1
MP
409952011-12-23 Marek Polacek <polacek@redhat.com>
40996
40997 * elf/dl-addr.c (determine_info): Add inline keyword.
40998 * elf/tst-auditmod4b.c (check_avx): Likewise.
40999 * elf/tst-auditmod6b.c (check_avx): Likewise.
41000 * elf/tst-auditmod6c.c (check_avx): Likewise.
41001 * elf/tst-auditmod7b.c (check_avx): Likewise.
41002
70c6c246
UD
410032011-12-23 Ulrich Drepper <drepper@gmail.com>
41004
41005 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41006 !__SSE_MATH__.
41007
c044cf14
LD
410082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41009
15db4de1 41010 [BZ #13540]
c044cf14
LD
41011 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41012 processing for last bytes.
41013
6b13d9d9
BH
410142011-08-06 Bruno Haible <bruno@clisp.org>
41015
d455f537
BH
41016 [BZ #13061]
41017 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41018 U+0385, not to U+1FEE.
41019
6b13d9d9
BH
41020 [BZ #13062]
41021 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41022 entry for U+00A5 U+0301.
41023
db910efd
UD
410242011-12-22 Ulrich Drepper <drepper@gmail.com>
41025
27deeafc
UD
41026 [BZ #13166]
41027 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41028 buffer for the output is too small.
41029
aed9d171
UD
41030 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41031 optimization.
41032
db910efd
UD
41033 [BZ #13185]
41034 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41035 SSE flags if possible.
41036
2bd779ae
LD
410372011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41038
e7f9dac3 41039 [BZ #13540]
2bd779ae
LD
41040 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41041 processing for last bytes.
41042
154bfc16
JM
410432011-12-22 Joseph Myers <joseph@codesourcery.com>
41044
41045 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41046 (syscall-list-default-options, syscall-list-default-condition)
41047 (syscall-list-includes): Define.
41048 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41049 list of ABIs and options and #if conditions for each ABI. Do not
41050 handle common syscalls between ABIs specially.
41051 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41052 Remove.
41053 (syscall-list-variants, syscall-list-32bit-options)
41054 (syscall-list-32bit-condition, syscall-list-64bit-options)
41055 (syscall-list-64bit-condition): Define.
41056 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41057 (syscall-list-variants, syscall-list-32bit-options)
41058 (syscall-list-32bit-condition, syscall-list-64bit-options)
41059 (syscall-list-64bit-condition): Define.
41060 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41061 Remove.
41062 (syscall-list-variants, syscall-list-32bit-options)
41063 (syscall-list-32bit-condition, syscall-list-64bit-options)
41064 (syscall-list-64bit-condition): Define.
41065 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41066 Remove.
41067 (syscall-list-variants, syscall-list-32bit-options)
41068 (syscall-list-32bit-condition, syscall-list-64bit-options)
41069 (syscall-list-64bit-condition): Define.
41070
21eaf3a5
UD
410712011-12-22 Ulrich Drepper <drepper@gmail.com>
41072
16c6f992
UD
41073 * locale/iso-639.def: Add brx entry.
41074
41043168
UD
41075 [BZ #13328]
41076 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41077 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41078
21eaf3a5
UD
41079 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41080 __feraiseexcept_renamed.
41081
e3a851a2
UD
410822011-12-21 Ulrich Drepper <drepper@gmail.com>
41083
4920765e
UD
41084 [BZ #13538]
41085 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41086 EPOLLET with unsigned values.
41087 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41088 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41089
e3a851a2
UD
41090 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41091 to large cancellation.
41092 * math/s_cacoshf.c: Likewise.
41093 * math/s_cacoshl.c: Likewise.
41094
b27e24b8
RK
410952011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41096
41097 [BZ #13305]
aebefeee 41098 [BZ #12786]
b27e24b8
RK
41099 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41100 * math/s_cacoshf.c: Likewise.
41101 * math/s_cacoshl.c: Likewise.
41102
ee190f67
UD
411032011-12-21 Ulrich Drepper <drepper@gmail.com>
41104
41105 [BZ #13439]
41106 * iconv/gconv.h: Define __GCONV_SWAP.
41107 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41108 * iconvdata/utf-16.c: Likewise.
41109 * iconvdata/utf-32.c: Likewise.
41110
707f25df
AS
411112011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41112
41113 [BZ #13524]
41114 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41115 numerator after shifting it by one limb.
41116
d2daaa1e
RÁE
411172011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41118
41119 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41120 under [__USE_EXTERN_INLINES].
41121
a4647e72
UD
411222011-12-17 Ulrich Drepper <drepper@gmail.com>
41123
41124 [BZ #13446]
41125 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41126
f0b264f1
AZ
411272011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41128
41129 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41130 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41131 optimized code.
41132 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41133 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41134 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41135 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41136 for strncasecmp/strncasecmp_l compilation.
41137 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41138 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41139
8ef4f244
MP
411402011-12-08 Marek Polacek <mpolacek@redhat.com>
41141
41142 [BZ #13484]
41143 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41144 of __asm__.
41145
97ac2654
UD
411462011-12-17 Ulrich Drepper <drepper@gmail.com>
41147
41148 [BZ #13506]
41149 * time/tzfile.c (__tzfile_read): Check values from file header.
41150
91d2a845
WS
411512011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41152
41153 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41154 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41155 * powerpc/powerpc32/dl-start.S: Likewise.
41156 * powerpc/powerpc32/elf/start.S: Likewise.
41157 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41158 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41159 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41160 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41161 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41162 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41163 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41164 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41165 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41166 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41167 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41168 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41169 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41170 * powerpc/powerpc32/memset.S: Likewise.
41171 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41172 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41173 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41174 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41175 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41176 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41177 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41178 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41179 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41180 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41181 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41182 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41183 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41184
a1267ba1
AZ
411852011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41186
41187 * math/libm-test.inc: Added more nearbyint tests.
41188 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41189 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41190 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41191 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41192
ad8ac1bd
RL
411932011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41194
41195 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41196 FD_CLOEXEC.
41197
1d3e4b61
UD
411982011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41199
41200 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41201 Add wcscpy-ssse3 wcscpy-c.
41202 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41203 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41204 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41205 * sysdeps/x86_64/wcschr.S: New file.
41206 * sysdeps/x86_64/wcsrchr.S: New file.
41207 * string/test-strcmp.c: Remove checking of wcscmp function for
41208 wrong alignments.
41209 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41210 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41211 wcsrchr-sse2 wcsrchr-c.
41212 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41213 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41214 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41215 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41216 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41217 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41218 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41219 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41220 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41221 * wcsmbc/wcschr.c (WCSCHR): New macro.
41222
5b330a2d
UD
412232011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41224
41225 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41226 * wcsmbs/test-wcsrchr.c: New file.
41227 * string/test-strrchr.c: Add wcsrchr support.
41228 (WIDE): New macro.
41229 * wcsmbs/test-wcscpy.c: New file.
41230 * string/test-strcpy.c: Add wcscpy support.
41231 (WIDE): New macro.
26428b7c 41232
f039c043
UD
412332011-12-10 Ulrich Drepper <drepper@gmail.com>
41234
41235 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41236 the inner loop.
41237
850fb039
AS
412382011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41239
41240 [BZ #13472]
41241 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41242
4efbd5cb
UD
412432011-12-04 Ulrich Drepper <drepper@gmail.com>
41244
52ff5dd0 41245 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 41246 Minor optimizations.
52ff5dd0 41247
4efbd5cb
UD
41248 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41249 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41250 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41251
8a426e12
UD
412522011-12-03 Ulrich Drepper <drepper@gmail.com>
41253
aff2453d
UD
41254 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41255 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41256 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41257 for gcc to avoid warnings.
41258 * inet/Makefile (tests): Add tst-checks.
41259 * inet/tst-checks.c: New file.
41260
41261 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41262 warning.
41263
41264 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41265 __wmemcmp_sse2.
41266
41267 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41268 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41269
8a426e12
UD
41270 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41271
9bea3473
UD
412722011-12-02 Ulrich Drepper <drepper@gmail.com>
41273
3a965496
UD
41274 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41275 problem.
41276
9bea3473
UD
41277 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41278
f101631b
UD
412792011-11-29 Joseph Myers <joseph@codesourcery.com>
41280
41281 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41282 conditional on GCC version.
41283 (__arch_compare_and_exchange_val_8_acq)
41284 (__arch_compare_and_exchange_val_16_acq)
41285 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41286 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41287 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41288
a98275aa
UD
412892011-12-02 Joseph Myers <joseph@codesourcery.com>
41290
41291 * sysdeps/sh/backtrace.c: New file.
41292
d4cc29a2
AS
412932011-12-02 Andreas Schwab <schwab@redhat.com>
41294
41295 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41296 parenthesis.
41297
6257af2d
AS
412982011-12-01 Andreas Schwab <schwab@redhat.com>
41299
41300 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41301 falling back to utime.
41302
b5f44c1a
AS
413032011-11-30 Andreas Schwab <schwab@redhat.com>
41304
41305 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41306 expectations for float.
41307
f3a6cc0a
AS
413082011-11-29 Andreas Schwab <schwab@redhat.com>
41309
41310 * locale/weight.h (findidx): Add parameter len.
41311 * locale/weightwc.h (findidx): Likewise.
41312 * posix/fnmatch_loop.c (FCT): Adjust caller.
41313 * posix/regcomp.c (build_equiv_class): Likewise.
41314 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41315 * posix/regexec.c (check_node_accept_bytes): Likewise.
41316 * string/strcoll_l.c (STRCOLL): Likewise.
41317 * string/strxfrm_l.c (STRXFRM): Likewise.
41318
9d65ea3a
UD
413192011-11-17 Ulrich Drepper <drepper@gmail.com>
41320
41321 * Makefile.in: Remove CVSOPT handling.
41322 * configure.in: Remove use of AC_REVISION.
41323 * iconvdata/Makefile (distribute): No need to filter out CVS.
41324 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41325 handling.
41326
5583a086
AS
413272011-11-16 Andreas Schwab <schwab@redhat.com>
41328
41329 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41330 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41331 [USE_AS_STRNCASECMP_L]: Likewise.
41332 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41333 NO_TLS_DIRECT_SEG_REFS.
41334 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41335 Fix argument offsets for non-PIC.
41336 [USE_AS_STRNCASECMP_L]: Likewise.
41337 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41338 NO_TLS_DIRECT_SEG_REFS.
41339
d62a8200
UD
413402011-11-15 Ulrich Drepper <drepper@gmail.com>
41341
9d65ea3a 41342 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
41343 O_CLOEXEC.
41344 * locale/loadlocale.c (_nl_load_locale): Likewise.
41345
09f93bd3
AS
413462011-11-15 Andreas Schwab <schwab@redhat.com>
41347
446514f9
AS
41348 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41349 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41350 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41351 (SYSCALL_GETTIME): Set errno on error.
41352
09f93bd3
AS
41353 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41354 count references to noai6ai_cached.
41355
312be3f9
UD
413562011-11-15 Ulrich Drepper <drepper@gmail.com>
41357
41358 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41359
41360 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41361 FD_CLOEXEC for /proc/self/maps.
41362
41363 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41364 FD_CLOEXEC for /proc/meminfo.
41365
41366 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41367 gai.conf.
41368
41369 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41370 FD_CLOEXEC for given file.
41371
41372 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41373
41374 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41375 FD_CLOEXEC for /etc/hosts.
41376 (_gethtent): Likewise.
41377
41378 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41379
41380 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41381 cancellation and set FD_CLOEXEC for /etc/netgroup.
41382
41383 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41384 reading /etc/publickey.
41385
41386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41387 allow cancellation when reading /etc/group.
41388
41389 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41390 cancellation.
41391 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41392
41393 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41394 when using data file.
41395
41396 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41397
41398 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41399 (write_nis_obj): Use "c" and "e" in fopen.
41400
41401 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41402
41403 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41404
41405 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41406
41407 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41408
41409 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41410 locale.alias.
41411
41412 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41413
41414 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41415
41416 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41417
41418 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41419 file parsing and set FD_CLOEXEC.
41420
82af0fa8
UD
414212011-11-14 Ulrich Drepper <drepper@gmail.com>
41422
41423 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41424
a5fb313c
AS
414252011-11-14 Andreas Schwab <schwab@redhat.com>
41426
41427 * malloc/arena.c (arena_get2): Don't call reused_arena when
41428 _int_new_arena failed.
41429
6abf3465
UD
414302011-11-14 Ulrich Drepper <drepper@gmail.com>
41431
41432 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41433 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41434 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41435 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41436 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41437 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41438 to compile strcasecmp and strncasecmp.
41439 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41440 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41441
41442 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41443
76e3966e
UD
414442011-11-13 Ulrich Drepper <drepper@gmail.com>
41445
41446 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41447 locale-defines.sym to gen-as-const-headers.
41448 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41449 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41450 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41451 to compile strcasecmp and strncasecmp.
41452 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41453 strcasecmp_l and strncasecmp_l.
41454 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41455 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41456 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41457 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41458 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41459 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41460 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41461 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41462 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41463 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41464 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41465
ab26144e
UD
414662011-11-12 Ulrich Drepper <drepper@gmail.com>
41467
7edb22ef
UD
41468 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41469 result of SYSDEP_GETTIME_CPU to retval.
41470 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41471 parameter list to macro. Remove trailing semicolon. Adjust users.
41472
9694fc44
UD
41473 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41474 variable.
41475
8ad89ef8
UD
41476 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41477 mantissa words.
41478 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41479
0c822ef9
UD
41480 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41481 from unused variable.
41482
874e0564
UD
41483 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41484 DWARF definitions.
41485 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41486 for assembling.
41487
3a2edc79
UD
41488 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41489 over namespaces.
41490
f3c2577f
UD
41491 * sunrpc/rpc_prot.c (rejected): Fix case value.
41492
294ce126
UD
41493 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41494 unsigned long long int to avoid warnings in shift.
41495
5e2b63c6
UD
41496 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41497 of use of trans.
41498 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41499 variable tmp.
41500
e7f4b08e
UD
41501 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41502 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41503 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41504
ab26144e
UD
41505 * nis/nis_table.c (nis_list): Use variable of correct type for
41506 result of __follow_path call.
41507
8a6d5255
AZ
415082011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41509
41510 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41511 of math functions ceil, trunc, floor, round, and sqrt, when
41512 avaliable on the platform.
41513 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41514 name clash.
41515 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41516 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41517 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41518
aaddc98c
MP
415192011-10-30 Marek Polacek <mpolacek@redhat.com>
41520
41521 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41522 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41523
95b7042b
RM
415242011-11-11 Roland McGrath <roland@hack.frob.com>
41525
41526 * include/unistd.h: Fix __readlink return type.
41527 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41528
57769839
UD
415292011-11-11 Ulrich Drepper <drepper@gmail.com>
41530
41531 * stdlib/ucontext.h: Undo last change for makecontext.
41532
edc5984d
AS
415332011-11-11 Andreas Schwab <schwab@redhat.com>
41534
98591e58
AS
41535 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41536
edc5984d
AS
41537 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41538 * setjmp/setjmp.h: Mark functions as non-leaf.
41539 * setjmp/bits/setjmp2.h: Likewise.
41540 * stdlib/ucontext.h: Likewise.
41541
77cdc054
AS
415422011-11-10 Andreas Schwab <schwab@redhat.com>
41543
41544 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41545 (reused_arena): Don't check arena limit.
41546 (arena_get2): Atomically check arena limit.
41547
fe72eebd
UD
415482011-11-08 Ulrich Drepper <drepper@gmail.com>
41549
5f078c32
UD
41550 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41551 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41552
fe72eebd
UD
41553 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41554 instructions.
41555
ae1bc2fa
AS
415562011-11-07 Andreas Schwab <schwab@redhat.com>
41557
7583a88d
AS
41558 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41559 handler when locking.
41560
ae1bc2fa
AS
41561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41562 Fix size of allocated buffer.
41563
10fb0bfa
AS
415642011-11-04 Andreas Schwab <schwab@redhat.com>
41565
998832a4
AS
41566 [BZ #10103]
41567 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41568 declarations for long double functions.
41569 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41570
10fb0bfa
AS
41571 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41572
3d7ba52b
AS
415732011-11-03 Andreas Schwab <schwab@redhat.com>
41574
a9ae54a1
AS
41575 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41576 installed.
41577
3d7ba52b
AS
41578 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41579 is disabled.
41580
bc8db248
ST
415812011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41582
41583 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41584
45b96dd6
AS
415852011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41586
647776f6
AS
41587 * include/alloca.h (stackinfo_alloca_round): Define.
41588 (extend_alloca): Use it.
41589 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41590 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41591 here.
41592
d91a8b93
AS
41593 * scripts/check-local-headers.sh: Ignore libaudit.h.
41594
45b96dd6
AS
41595 * nscd/Makefile (extra-objs): Make recursively expanded.
41596
432d41ce
UD
415972011-11-01 Ulrich Drepper <drepper@gmail.com>
41598
34372fc6
UD
41599 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41600 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41601
fadb59f8
UD
41602 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41603 * posix/tst-rfc3484-2.c: Likewise.
41604 * posix/tst-rfc3484-3.c: Likewise.
41605
78239589
UD
41606 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41607 process_vm_writev.
41608 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41609 process_vm_writev.
41610 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41611 process_vm_writev from libc using GLIBC_2.15 version.
41612
432d41ce
UD
41613 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41614
02f9c6cf
PP
416152011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41616
41617 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41618 stack usage.
41619
3a2c0242
UD
416202011-10-31 Ulrich Drepper <drepper@gmail.com>
41621
f4ec4833
UD
41622 [BZ #13367]
41623 * nss/getent.c (initgroups_keys): Show error message in case no group
41624 names are given.
41625
3a2c0242
UD
41626 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41627 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41628 __bump_nl_timestamp.
41629 * nscd/connections (nscd_init): When host database is served open
41630 netlink socket and request notification about configuration changes.
41631 (main_loop_poll): Track netlink file descriptor and bump timestamp
41632 in case data becomes available.
41633 (main_loop_epoll): Likewise.
41634 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41635 (database_pers_head): Add extra_data fileds.
41636 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41637 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41638 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41639 Adjust caller.
41640 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41641 in6ai data, call __free_in6ai.
41642 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41643 Add -DHAVE_NETLINK.
41644 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41645 interface information. Reuse previous data if netlink timestamp
41646 is not changed.
41647 (__bump_nl_timestamp): New function.
41648 (__free_in6ai): New function.
41649
636064eb
UD
416502011-10-30 Ulrich Drepper <drepper@gmail.com>
41651
41652 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41653 close_not_cancel_no_status here.
41654 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41655
9beb2334
UD
416562011-10-29 Ulrich Drepper <drepper@gmail.com>
41657
6ef76f3b
UD
41658 [BZ #13276]
41659 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41660 return value.
41661
0ffc4f3e 41662 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
41663 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41664 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41665
cb95113e
UD
416662011-07-03 Andreas Jaeger <aj@suse.de>
41667
41668 [BZ #10709]
41669 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41670 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41671 * math/libm-test.inc (sin_test): Add test case.
41672
a1b560ff
UD
416732011-10-29 Ulrich Drepper <drepper@gmail.com>
41674
c9aaface
UD
41675 [BZ #13337]
41676 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41677 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41678
d272e7f1
UD
41679 * elf/chroot_canon.c (chroot_canon): Cleanups.
41680
1bc33071
UD
41681 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41682
1760874d
TJ
41683 [BZ #13335]
41684 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41685 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41686
51d91b18
UD
41687 * string/test-strchr.c: Make usable for strchrnul testing.
41688 * string/test-strchrnul.c: New file.
41689 * string/Makefile (strop-tests): Add strchrnul.
41690
a1b560ff 41691 * po/it.po: Update from translation team.
b611fb81 41692 * po/es.po: Likewise.
a1b560ff 41693
a5b81e1f
UD
416942011-10-28 Ulrich Drepper <drepper@gmail.com>
41695
fd52bc6d
UD
41696 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41697 the three constants needed as parameters. Drop the others.
41698 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41699 __m128i_strloadu_tolower.
52e4b9eb
UD
41700 Create and initialize variable zero and use it in all the places
41701 where _mm_setzero_si128 was used.
fd52bc6d 41702
a5b81e1f
UD
41703 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41704 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41705 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41706 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41707 anymore.
41708 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41709 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41710 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41711 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41712 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41713 __mpranred, __mptan.
41714 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41715 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41716 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41717 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41718 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41719 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41720 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41721 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41722 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41723
b4343346
AS
417242011-10-28 Andreas Schwab <schwab@redhat.com>
41725
0c92d8a8
AS
41726 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41727 redefine if SHARED.
41728 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41729
b4343346
AS
41730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41731 wide char related routines to wcsmbs subdir.
41732
3871f58f
AS
417332011-10-27 Andreas Schwab <schwab@redhat.com>
41734
41735 [BZ #13344]
41736 * misc/sys/cdefs.h (__THROWNL): Define.
41737 * posix/unistd.h: Use __THREADNL instead of __THREAD
41738 for memory synchronization functions.
41739
94d44d9f
RM
417402011-10-26 Roland McGrath <roland@hack.frob.com>
41741
21b64b15 41742 [BZ #13349]
94d44d9f
RM
41743 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41744 doesn't exist.
41745 * manual/stdio.texi (Obstack Streams): Node removed.
41746
f6ce9294
AS
417472011-10-26 Andreas Schwab <schwab@redhat.com>
41748
80479147
AS
41749 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41750 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41751 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41752
f6ce9294
AS
41753 * math/math_private.h (math_force_eval): Allow non-addressable
41754 arguments.
41755 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41756
618280a1
UD
417572011-10-25 Ulrich Drepper <drepper@gmail.com>
41758
e0016b11
UD
41759 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41760 file is not needed.
41761
41762 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41763 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41764 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41765 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41766 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41767 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41768 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41769 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41770 Add AVX variants.
41771 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41772 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41773 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41774 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41775 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41776 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41777 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41778 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41779 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41780 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41781 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41782 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41783 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41784 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41785 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41786 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41787 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41788 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41789 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41790
41791 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41792 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41793
618280a1
UD
41794 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41795 place. Use VEX encoding when compiling for AVX.
41796
37822576
AS
417972011-10-25 Andreas Schwab <schwab@redhat.com>
41798
1f1e1947
AS
41799 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41800 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41801
37822576
AS
41802 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41803
31ea014d
UD
418042011-10-25 Ulrich Drepper <drepper@gmail.com>
41805
d7826aa1 41806 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 41807 useless if() expression.
d7826aa1
UD
41808 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41809 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41810 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41811 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41812 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41813 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41814 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41816 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41817 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41818 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41819 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41820 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41821 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41822 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41823 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41824 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41825 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41826 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41827
31ea014d
UD
41828 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41829
16437fec
AS
418302011-10-25 Andreas Schwab <schwab@redhat.com>
41831
41832 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41833 condition.
41834 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41835
31d3cc00
UD
418362011-10-25 Ulrich Drepper <drepper@gmail.com>
41837
41838 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41839 .text section. Avoid duplicate constants.
41840 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41841 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41842 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41843 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41844 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41847 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41848 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41849 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41850 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41851 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41852 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41853 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41854 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41855 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41856 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41857 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41858 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41859 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41860 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41861 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41862 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41863 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41864 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41865 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41866 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41867 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41868 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41869 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41870 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41871 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41872 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41873 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41874 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41875 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41876 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41877 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41878 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41879 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41880 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41881 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41882 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41883 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41884 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41885
58985aa9
UD
418862011-10-24 Ulrich Drepper <drepper@gmail.com>
41887
202c9deb
UD
41888 * sysdeps/x86_64/dla.h: Move to ...
41889 * sysdeps/x86_64/fpu/dla.h: ...here.
41890 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41891 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 41892
af968f62
UD
41893 * config.make.in: Add have-mfma4 entry.
41894 * configure.in: Substitute libc_cv_cc_fma4.
41895 * math/Makefile (dbl-only-routines): Add sincostab.
41896 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41897 Use __sincostab not sincos.
41898 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41899 name is a macro.
41900 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41904 using __copysign.
41905 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41906 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41907 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41908 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41909 and __inv.
41910 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41911 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41912 __copysign.
41913 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41914 define aliases when function name is a macro.
41915 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41916 sysdeps/ieee754/dbl-64/sincos.tbl.
41917 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41918 fma4-enabled routines.
41919 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41920 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41921 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41922 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41923 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41924 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41925 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41926 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41927 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41928 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41929 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41930 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41931 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41932 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41933 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41934 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41935 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41936 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41937 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41938 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41939 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41940 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41941 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41942 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41943 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41944 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41945 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41946 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41947 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41948 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41949
58985aa9
UD
41950 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41951 rename.
41952 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41953 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41957 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41958 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41959 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41960
a201fbcf
AS
419612011-10-24 Andreas Schwab <schwab@redhat.com>
41962
41963 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41964
fc2ee42a
LD
419652011-10-23 Ulrich Drepper <drepper@gmail.com>
41966
bb3129bd
UD
41967 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41968
0275fff8
UD
41969 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41970 prediction.
41971 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41972
2fa2ae85
UD
41973 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41974 Remove unused variable magic_bits.
41975 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41976
fc2ee42a
LD
41977 * string/strnlen.c: Define and use STRNLEN macro.
41978 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41979 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41980 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41981 * wcsmbs/wcslen.c: Define and use WCSLEN.
41982 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41983 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41984 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41985 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41986 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41987 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41988 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41989
ce7dd29f
LD
419902011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41991
41992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41993 strnlen-sse2-no-bsf.
41994 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41995 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41996 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41997 Add strnlen support.
41998 (USE_AS_STRNLEN): New macro.
41999 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42000 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42001 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42002 * sysdeps/x86_64/wcslen.S: New file.
42003
979c70a3
MZ
420042011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42005
42006 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42007 XMM-moves are used for copying on small sizes.
42008
2d09f82f
LD
420092011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42010
42011 * wcsmbs/Makefile (strop-tests): Add wcschr.
42012 * wcsmbs/test-wcschr.c: New file.
42013 * string/test-strchr.c: Update.
42014 Add wcschr support.
42015 (WIDE): New macro.
42016
619fccca
LD
420172011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42018
2d09f82f 42019 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
42020 * wcsmbs/test-wcslen.c: New file.
42021 * string/test-strlen.c: Update.
42022 Add wcslen support.
42023 (WIDE): New macro.
42024
09f699ea
UD
420252011-10-23 Ulrich Drepper <drepper@gmail.com>
42026
42027 * po/it.po: Update from translation team.
42028
95584d3b
LD
420292011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42030
42031 * sysdeps/x86_64/wcscmp.S: Update.
42032 Fix wrong comparison semantics.
42033 wcscmp shall use signed comparison not unsigned.
42034 Don't use substraction to avoid overflow bug.
42035 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42036 * wcsmbc/wcscmp.c: Likewise.
42037 * string/test-strcmp.c: Likewise.
42038 Add new tests to check cases with negative values.
42039
c8b3296b
UD
420402011-10-23 Ulrich Drepper <drepper@gmail.com>
42041
42042 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42043 * sysdeps/x86_64/dla.h: ...here. New file.
42044 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42045 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42046 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42047 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42048 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42049 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42053
246ad57a
AS
420542011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42055
42056 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42057 __ynl_finite aliases.
42058
a1a87169
UD
420592011-10-22 Ulrich Drepper <drepper@gmail.com>
42060
0d355eb7
UD
42061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42062
a1a87169
UD
42063 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42064 define DLA_FMA.
42065 [DLA_FMA] (EMULV): Use DLA_FMA.
42066 [DLA_FMA] (MUL12): Use EMULV.
42067 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42068 that are not needed.
42069 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42071 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42073 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42074 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42075 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42076
ee2aafe0
AS
420772011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42078
42079 * math/s_nan.c: Undef __nan.
42080 * math/s_nanf.c: Undef __nanf.
42081 * math/s_nanl.c: Undef __nanl.
42082 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42083 "math_private.h".
42084
bc62c2fb
UD
420852011-10-22 Ulrich Drepper <drepper@gmail.com>
42086
77425c63
UD
42087 * math/s_catan.c: Add branch predictions.
42088 * math/s_catanf.c: Likewise.
42089 * math/s_catanh.c: Likewise.
42090 * math/s_catanhf.c: Likewise.
42091 * math/s_catanhl.c: Likewise.
42092 * math/s_catanl.c: Likewise.
42093 * math/s_cexp.c: Likewise.
42094 * math/s_cexpf.c: Likewise.
42095 * math/s_cexpl.c: Likewise.
42096 * math/s_clog.c: Likewise.
42097 * math/s_clog10.c: Likewise.
42098 * math/s_clog10f.c: Likewise.
42099 * math/s_clog10l.c: Likewise.
42100 * math/s_clogf.c: Likewise.
42101 * math/s_clogl.c: Likewise.
42102 * math/s_csqrt.c: Likewise.
42103 * math/s_csqrtf.c: Likewise.
42104 * math/s_csqrtl.c: Likewise.
42105 * math/s_ctanf.c: Likewise.
42106 * math/s_ctanh.c: Likewise.
42107 * math/s_ctanhf.c: Likewise.
42108 * math/s_ctanhl.c: Likewise.
42109 * math/s_ctanl.c: Likewise.
42110
bc62c2fb
UD
42111 * math/math_private.h: Define __nan, __nanf, __nanl.
42112 * math/s_cacosh.c: Include <math_private.h>.
42113 * math/s_cacoshl.c: Likewise.
42114 * math/s_casinh.c: Likewise.
42115 * math/s_casinhf.c: Likewise.
42116 * math/s_casinhl.c: Likewise.
42117 * math/s_ccos.c: Rely entire on ccosh.
42118 * math/s_ccosf.c: Rely entire on ccoshf.
42119 * math/s_ccosl.c: Rely entirely on ccoshl.
42120 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42121 Remove tests for FE_INVALID.
42122 * math/s_ccoshf.c: Likewise.
42123 * math/s_ccoshl.c: Likewise.
42124 * math/s_csin.c: Likewise.
42125 * math/s_csinf.c: Likewise.
42126 * math/s_csinh.c Likewise.
42127 * math/s_csinhf.c: Likewise.
42128 * math/s_csinhl.c: Likewise.
42129 * math/s_csinl.c: Likewise.
42130 * math/s_ctan.c: Likewise.
42131 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42132 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42133 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42134
8ec250a4
UD
421352011-10-21 Ulrich Drepper <drepper@gmail.com>
42136
c196fed8
UD
42137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42138 compilation problems.
42139
8ec250a4
UD
42140 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42141 __builtin_expect.
42142
8d4f46c6
UD
421432011-10-20 Ulrich Drepper <drepper@gmail.com>
42144
ed72b654
UD
42145 * sysdeps/i386/configure.in: Test for -mfma4 option.
42146 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42147 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42148 COMMON_CPUID_INDEX_80000001.
42149 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42150 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42151 use it if FMA3 is not supported.
42152 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42153
8d4f46c6
UD
42154 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42155 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42156
d45c60c2
AS
421572011-10-20 Andreas Schwab <schwab@redhat.com>
42158
42159 [BZ #12892]
42160 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42161 it would create a cycle with a link time dependency.
42162
d9a4d2ab
UD
421632011-10-19 Ulrich Drepper <drepper@gmail.com>
42164
855d1560
UD
42165 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42166 instruction.
42167 * string/Makefile (strop-tests): Add rawmemchr.
42168 * string/test-rawmemchr.c: New file.
42169
d9a4d2ab
UD
42170 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42171 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42172 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42173 when compiling str{,n}casecmp and when AVX is available. Hook up
42174 new optimized code in initializers.
42175
8f3b1ffe
AS
421762011-10-19 Andreas Schwab <schwab@redhat.com>
42177
42178 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42179 __feraiseexcept instead of feraiseexcept.
42180
d38f1dba
UD
421812011-10-18 Ulrich Drepper <drepper@gmail.com>
42182
d9a8d0ab
UD
42183 * math/math_private.h: Define defaults for libc_fetestexcept and
42184 libc_feupdateenv.
42185 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42186 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42187 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42188 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42189 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42190 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42191 libc_fetestexcept and libc_feupdateenv.
42192
4855e3dd
UD
42193 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42194 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42195 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42196 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42197 libc_feholdexcept_setround.
42198
581d30e3
UD
42199 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42200 Add s_nearbyint-c and s_nearbyintf-c.
42201 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42202 nearbyintf inlines.
42203 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42204 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42205 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42206 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42207
d38f1dba
UD
42208 * math/math_private.h: Define defaults for libc_fegetround,
42209 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42210 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42211 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42212 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42213 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42214 standard functions.
42215 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42216 Remove comments and hacks for old compiler versions.
42217 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42218 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42219 libc_feholdexceptl.
42220
caa6c9d8
AS
422212011-10-18 Andreas Schwab <schwab@redhat.com>
42222
42223 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
42224 (__feraiseexcept_renamed): Add __NTH.
42225 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
42226 namespace violations.
42227
97c066e6
UD
422282011-10-17 Ulrich Drepper <drepper@gmail.com>
42229
99ce7b04
UD
42230 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42231
1004d182
UD
42232 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42233
228a984d
UD
42234 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42235 recently added interfaces.
42236 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42237
c8553a6a
UD
42238 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42239 about macro parameter expansion.
42240
ed22dcf6
UD
42241 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42242 __NO_MATH_INLINES is defined. Cleanups.
42243
42244 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42245 and __floorf is target has SSE4.1.
42246 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42247 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42248 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42249 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42250
b171c137
UD
42251 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42252 name.
42253 (floorf): Likewise.
42254
97c066e6
UD
42255 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42256
629f62ef
AS
422572011-10-17 Andreas Schwab <schwab@redhat.com>
42258
49a43d80
AS
42259 * misc/sys/cdefs.h: Fix last change.
42260
629f62ef
AS
42261 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42262 database lookup.
42263
e453f6cd
UD
422642011-10-16 Ulrich Drepper <drepper@gmail.com>
42265
aa78043a
UD
42266 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42267
ad0f5cad
UD
42268 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42269 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42270 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42271 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42272 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42273 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42274 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42275 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42276 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42277 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42278 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42279 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42280 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42281 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42282 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42283 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42284 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42285 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42286 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42287 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42288 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42289 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42290
42291 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42292 ceil, ceilf, floor, floorf.
42293
42294 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42295 Perform IRELATIVE relocations last.
42296
e453f6cd
UD
42297 * elf/do-rel.h: Add another parameter nrelative, replacing the
42298 local variable with the same name. Change name of the function
42299 to end in Rel or Rela (uppercase).
42300 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42301 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42302 elf_dynamic_do_##reloc function.
42303
fd5bdc09
UD
423042011-10-15 Ulrich Drepper <drepper@gmail.com>
42305
79b195b5
UD
42306 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42307 is sufficient, at least on modern CPUs.
42308
d4a28569
UD
42309 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42310
b61099b5
UD
42311 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42312 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42313
bcf01e6d
UD
42314 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42315 __expl_finite.
42316 * math/bits/math-finite.h: Add entries for exp.
42317 * math/e_expl.c: Add __*_finite alias.
42318 * sysdeps/i386/fpu/e_exp.S: Likewise.
42319 * sysdeps/i386/fpu/e_expf.S: Likewise.
42320 * sysdeps/i386/fpu/e_expl.c: Likewise.
42321 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42322 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42323 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42325 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42326 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42327 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42328
ba1a0d59
UD
42329 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42330 is sufficient, at least on modern CPUs.
42331
fd5bdc09
UD
42332 * ctype/ctype-info.c (__ctype_init): Define.
42333 * include/ctype.h (__ctype_init): Declare.
42334 (__ctype_b_loc): The variable is always initialized.
42335 (__ctype_toupper_loc): Likewise.
42336 (__ctype_tolower_loc): Likewise.
42337 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42338 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42339
7872cfb0
AS
423402011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42341
b468825a
AS
42342 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42343
7872cfb0
AS
42344 * configure.in: Also look in $cxxmachine/include for C++ system
42345 headers.
42346
be13f7bf
LD
423472011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42348
42349 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42350 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42351 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42352 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42353 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42354 (USE_AS_WMEMCMP): New macro.
42355 Fixing indents.
42356 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42357 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42358 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42359 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42360 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42361 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42362 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42363 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42364 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42365 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42366 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42367 (USE_AS_WMEMCMP): New macro.
42368 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42369 * sysdeps/string/test-memcmp.c: Update.
42370 Fix simple_wmemcmp.
42371 Add new tests.
42372 * wcsmbs/wmemcmp.c: Update.
42373 (WMEMCMP): New macro.
42374 Fix overflow bug.
42375
556a2007
AJ
423762011-10-12 Andreas Jaeger <aj@suse.de>
42377
42378 [BZ #13268]
42379 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42380
538faaa7
UD
423812011-10-15 Ulrich Drepper <drepper@gmail.com>
42382
ab6737ff
UD
42383 * libio/iofwide.c (do_length): Avoid warning.
42384
538faaa7
UD
42385 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42386
396a21b1
UD
423872011-10-14 Ulrich Drepper <drepper@gmail.com>
42388
cdf2901f
UD
42389 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42390
38ad40ce
UD
42391 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42392 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42393 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42394 * sysdeps/i386/i686/fpu/e_log.S: New file.
42395 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42396 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42397
396a21b1
UD
42398 * ctype/ctype.h: Add support for inlined isXXX functions when
42399 compiling C++ code.
42400
6b1f68c9
AS
424012011-10-14 Andreas Schwab <schwab@redhat.com>
42402
349290c0
AS
42403 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42404
6b1f68c9
AS
42405 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42406
f2282d42
RM
424072011-10-13 Roland McGrath <roland@hack.frob.com>
42408
42409 [BZ #13291]
42410 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42411
5298ffa8
AS
424122011-10-13 Andreas Schwab <schwab@redhat.com>
42413
714fad23
AS
42414 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42415 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42416 feraiseexcept.
42417
81dcc7fb
AS
42418 * sysdeps/x86_64/memrchr.S: Check for zero size.
42419
5298ffa8
AS
42420 * string/stratcliff.c: Add memrchr tests.
42421
951fbcec
LD
424222011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42423
42424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42425 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42426 rawmemchr-sse2 rawmemchr-sse2-bsf.
42427 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42428 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42429 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42430 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42431 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42432 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42433 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42434 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42435 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42436 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42437 * string/memrchr.c (MEMRCHR): New macro.
42438
0ac5ae23
UD
424392011-10-12 Ulrich Drepper <drepper@gmail.com>
42440
42441 Add integration with gcc's -ffinite-math-only and optimize wrapper
42442 functions in libm.
42443 * Versions.def: Define GLIBC_2.15 version for libm.
42444 * math/Makefile (headers): Add bits/math-finite.h.
42445 * math/bits/math-finite.h: New file.
42446 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42447 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42448 * math/e_acoshl.c: Add __*_finite alias.
42449 * math/e_acosl.c: Likewise.
42450 * math/e_asinl.c: Likewise.
42451 * math/e_atan2l.c: Likewise.
42452 * math/e_atanhl.c: Likewise.
42453 * math/e_coshl.c: Likewise.
42454 * math/e_exp10.c: Likewise.
42455 * math/e_exp10f.c: Likewise.
42456 * math/e_exp10l.c: Likewise.
42457 * math/e_exp2l.c: Likewise.
42458 * math/e_fmodl.c: Likewise.
42459 * math/e_gammal_r.c: Likewise.
42460 * math/e_hypotl.c: Likewise.
42461 * math/e_j0l.c: Likewise.
42462 * math/e_j1l.c: Likewise.
42463 * math/e_jnl.c: Likewise.
42464 * math/e_lgammal_r.c: Likewise.
42465 * math/e_log10l.c: Likewise.
42466 * math/e_log2l.c: Likewise.
42467 * math/e_logl.c: Likewise.
42468 * math/e_powl.c: Likewise.
42469 * math/e_sinhl.c: Likewise.
42470 * math/e_sqrtl.c: Likewise.
42471 * math/e_scalb.c: Completely rewritten and optimized.
42472 * math/e_scalbf.c: Likewise.
42473 * math/e_scalbl.c: Likewise.
42474 * math/w_acos.c: Likewise.
42475 * math/w_acosf.c: Likewise.
42476 * math/w_acosl.c: Likewise.
42477 * math/w_acosh.c: Likewise.
42478 * math/w_acoshf.c: Likewise.
42479 * math/w_acoshl.c: Likewise.
42480 * math/w_asin.c: Likewise.
42481 * math/w_asinf.c: Likewise.
42482 * math/w_asinl.c: Likewise.
42483 * math/w_atan2.c: Likewise.
42484 * math/w_atan2f.c: Likewise.
42485 * math/w_atan2l.c: Likewise.
42486 * math/w_atanh.c: Likewise.
42487 * math/w_atanhf.c: Likewise.
42488 * math/w_atanhl.c: Likewise.
42489 * math/w_exp10.c: Likewise.
42490 * math/w_exp10f.c: Likewise.
42491 * math/w_exp10l.c: Likewise.
42492 * math/w_fmod.c: Likewise.
42493 * math/w_fmodf.c: Likewise.
42494 * math/w_fmodl.c: Likewise.
42495 * math/w_j0.c: Likewise.
42496 * math/w_j0f.c: Likewise.
42497 * math/w_j0l.c: Likewise.
42498 * math/w_j1.c: Likewise.
42499 * math/w_j1f.c: Likewise.
42500 * math/w_j1l.c: Likewise.
42501 * math/w_jn.c: Likewise.
42502 * math/w_jnf.c: Likewise.
42503 * math/w_log.c: Likewise.
42504 * math/w_logf.c: Likewise.
42505 * math/w_logl.c: Likewise.
42506 * math/w_log10.c: Likewise.
42507 * math/w_log10f.c: Likewise.
42508 * math/w_log10l.c: Likewise.
42509 * math/w_log2.c: Likewise.
42510 * math/w_log2f.c: Likewise.
42511 * math/w_log2l.c: Likewise.
42512 * math/w_pow.c: Likewise.
42513 * math/w_powf.c: Likewise.
42514 * math/w_powl.c: Likewise.
42515 * math/w_remainder.c: Likewise.
42516 * math/w_remainderf.c: Likewise.
42517 * math/w_remainderl.c: Likewise.
42518 * math/w_scalb.c: Likewise.
42519 * math/w_scalbf.c: Likewise.
42520 * math/w_scalbl.c: Likewise.
42521 * math/w_sqrt.c: Likewise.
42522 * math/w_sqrtf.c: Likewise.
42523 * math/w_sqrtl.c: Likewise.
42524 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42525 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42526 used.
42527 * math/math_private.h: Declare __kernel_standard_f.
42528 * math/w_cosh.c: Remove cruft and optimize a bit.
42529 * math/w_coshf.c: Likewise.
42530 * math/w_coshl.c: Likewise.
42531 * math/w_exp2.c: Likewise.
42532 * math/w_exp2f.c: Likewise.
42533 * math/w_exp2l.c: Likewise.
42534 * math/w_hypot.c: Likewise.
42535 * math/w_hypotf.c: Likewise.
42536 * math/w_hypotl.c: Likewise.
42537 * math/w_lgamma.c: Likewise.
42538 * math/w_lgamma_r.c: Likewise.
42539 * math/w_lgammaf.c: Likewise.
42540 * math/w_lgammaf_r.c: Likewise.
42541 * math/w_lgammal.c: Likewise.
42542 * math/w_lgammal_r.c: Likewise.
42543 * math/w_sinh.c: Likewise.
42544 * math/w_sinhf.c: Likewise.
42545 * math/w_sinhl.c: Likewise.
42546 * math/w_tgamma.c: Likewise.
42547 * math/w_tgammaf.c: Likewise.
42548 * math/w_tgammal.c: Likewise.
42549 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42550 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42551 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42552 Minor optimizations. Pretty printing. Remove cruft.
42553 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42554 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42555 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42556 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42557 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42558 * sysdeps/i386/fpu/e_asin.S: Likewise.
42559 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42560 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42561 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42562 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42563 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42564 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42565 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42566 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42567 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42568 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42569 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42570 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42571 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42572 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42573 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42574 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42575 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42576 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42577 * sysdeps/i386/fpu/e_log.S: Likewise.
42578 * sysdeps/i386/fpu/e_log10.S: Likewise.
42579 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42580 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42581 * sysdeps/i386/fpu/e_log2.S: Likewise.
42582 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42583 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42584 * sysdeps/i386/fpu/e_logf.S: Likewise.
42585 * sysdeps/i386/fpu/e_logl.S: Likewise.
42586 * sysdeps/i386/fpu/e_pow.S: Likewise.
42587 * sysdeps/i386/fpu/e_powf.S: Likewise.
42588 * sysdeps/i386/fpu/e_powl.S: Likewise.
42589 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42590 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42591 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42592 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42593 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42594 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42595 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42596 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42597 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42598 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42599 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42601 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42602 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42603 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42604 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42605 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42606 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42607 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42608 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42609 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42610 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42611 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42612 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42613 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42614 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42616 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42618 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42619 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42620 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42621 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42622 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42623 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42624 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42625 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42626 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42627 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42628 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42629 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42630 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42631 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42632 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42633 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42634 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42635 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42636 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42637 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42638 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42639 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42640 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42641 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42642 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42643 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42644 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42645 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42646 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42647 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42648 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42649 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42650 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42651 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42652 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42653 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42654 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42655 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42656 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42657 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42658 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42659 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42660 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42661 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42662 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42663 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42664 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42666 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42667 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42668 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42669 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42670 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42671 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42672 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42673 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42674 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42675 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42676 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42677 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42678 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42679 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42680 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42681 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42682 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42683 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42684 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42685 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42686 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42687 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42688 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42689 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42690 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42691 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42692 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42693 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42694 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42695 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42696 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42697 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42698 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42699 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42700 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42701 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42702 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42703 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42704 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42705 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42706 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42707 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42708 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42709 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42710 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42711 (__isnanf): Likewise.
42712 (__isinf_ns): Likewise.
42713 (__isinf_nsf): Likewise.
42714 (__finite): Likewise.
42715 (__finitef): Likewise.
42716 (__ieee754_sqrt): Define as macro.
42717 (__ieee754_sqrtf): Define as macro.
42718 (__ieee754_sqrtl): Define as macro.
42719 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42720 inlined copy.
42721 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42722 __FINITE_MATH_ONLY__ consistent.
42723 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42724
12cc2fcd
AS
427252011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42726
a843a204
AS
42727 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42728 of rawmemchr.
42729
12cc2fcd
AS
42730 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42731
c853acd5
UD
427322011-10-09 Ulrich Drepper <drepper@gmail.com>
42733
42734 * po/ja.po: Update from translation team.
42735
c658d255
RM
427362011-10-08 Roland McGrath <roland@hack.frob.com>
42737
110946e4
RM
42738 * locale/programs/locarchive.c (prepare_address_space): New function.
42739 (create_archive, enlarge_archive, open_archive): Use it.
42740
50604220
RM
42741 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42742 inside [SHARED], where it is used.
42743
c658d255
RM
42744 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42745
42746 * nss/getent.c (netgroup_keys): Remove unused variable.
42747 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42748
6a621eb7
UD
427492011-10-08 Ulrich Drepper <drepper@gmail.com>
42750
7edb55ce
UD
42751 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42752 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42753 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42754 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42755 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42756 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42757 * math/Makefile (libm-calls): Add s_isinf_ns.
42758 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42759 * math/multc3.c: Likewise.
42760 * math/s_casin.c: Likewise.
42761 * math/s_casinf.c: Likewise.
42762 * math/s_casinl.c: Likewise.
42763 * math/s_ccos.c: Likewise.
42764 * math/s_ccosf.c: Likewise.
42765 * math/s_ccosl.c: Likewise.
42766 * math/s_ctan.c: Likewise.
42767 * math/s_ctanf.c: Likewise.
42768 * math/s_ctanh.c: Likewise.
42769 * math/s_ctanhf.c: Likewise.
42770 * math/s_ctanhl.c: Likewise.
42771 * math/s_ctanl.c: Likewise.
42772 * math/w_fmod.c: Likewise.
42773 * math/w_fmodf.c: Likewise.
42774 * math/w_fmodl.c: Likewise.
42775 * math/w_remainder.c: Likewise.
42776 * math/w_remainderf.c: Likewise.
42777 * math/w_remainderl.c: Likewise.
42778 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42779 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42780 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42781 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42782 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42783 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42784 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42785 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42786
187da0ae
UD
42787 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42788 of the number.
42789 * stdio-common/printf_fphex.c: Likewise.
42790 * stdio-common/printf_size.c: Likewise.
42791
9277c064
UD
42792 * math/e_exp10.c: Include math_private.h using <...> not "...".
42793 * math/e_exp10f.c: Likewise.
42794 * math/e_exp10l.c: Likewise.
42795 * math/e_exp2l.c: Likewise.
42796 * math/e_j0l.c: Likewise.
42797 * math/e_j1l.c: Likewise.
42798 * math/e_jnl.c: Likewise.
42799 * math/e_lgammal_r.c: Likewise.
42800 * math/e_rem_pio2l.c: Likewise.
42801 * math/e_scalb.c: Likewise.
42802 * math/e_scalbf.c: Likewise.
42803 * math/e_scalbl.c: Likewise.
42804 * math/k_cosl.c: Likewise.
42805 * math/k_sinl.c: Likewise.
42806 * math/k_tanl.c: Likewise.
42807 * math/s_cacoshf.c: Likewise.
42808 * math/s_catan.c: Likewise.
42809 * math/s_catanf.c: Likewise.
42810 * math/s_catanh.c: Likewise.
42811 * math/s_catanhf.c: Likewise.
42812 * math/s_catanhl.c: Likewise.
42813 * math/s_catanl.c: Likewise.
42814 * math/s_ccosh.c: Likewise.
42815 * math/s_ccoshf.c: Likewise.
42816 * math/s_ccoshl.c: Likewise.
42817 * math/s_cexp.c: Likewise.
42818 * math/s_cexpf.c: Likewise.
42819 * math/s_cexpl.c: Likewise.
42820 * math/s_clog.c: Likewise.
42821 * math/s_clog10.c: Likewise.
42822 * math/s_clog10f.c: Likewise.
42823 * math/s_clog10l.c: Likewise.
42824 * math/s_clogf.c: Likewise.
42825 * math/s_clogl.c: Likewise.
42826 * math/s_csin.c: Likewise.
42827 * math/s_csinf.c: Likewise.
42828 * math/s_csinh.c: Likewise.
42829 * math/s_csinhf.c: Likewise.
42830 * math/s_csinhl.c: Likewise.
42831 * math/s_csinl.c: Likewise.
42832 * math/s_csqrt.c: Likewise.
42833 * math/s_csqrtf.c: Likewise.
42834 * math/s_csqrtl.c: Likewise.
42835 * math/s_ctan.c: Likewise.
42836 * math/s_ctanf.c: Likewise.
42837 * math/s_ctanh.c: Likewise.
42838 * math/s_ctanhf.c: Likewise.
42839 * math/s_ctanhl.c: Likewise.
42840 * math/s_ctanl.c: Likewise.
42841 * math/s_ldexp.c: Likewise.
42842 * math/s_ldexpf.c: Likewise.
42843 * math/s_ldexpl.c: Likewise.
42844 * math/s_significand.c: Likewise.
42845 * math/s_significandf.c: Likewise.
42846 * math/s_significandl.c: Likewise.
42847 * math/w_acos.c: Likewise.
42848 * math/w_acosf.c: Likewise.
42849 * math/w_acosh.c: Likewise.
42850 * math/w_acoshf.c: Likewise.
42851 * math/w_acoshl.c: Likewise.
42852 * math/w_acosl.c: Likewise.
42853 * math/w_asin.c: Likewise.
42854 * math/w_asinf.c: Likewise.
42855 * math/w_asinl.c: Likewise.
42856 * math/w_atan2.c: Likewise.
42857 * math/w_atan2f.c: Likewise.
42858 * math/w_atan2l.c: Likewise.
42859 * math/w_atanh.c: Likewise.
42860 * math/w_atanhf.c: Likewise.
42861 * math/w_atanhl.c: Likewise.
42862 * math/w_cosh.c: Likewise.
42863 * math/w_coshf.c: Likewise.
42864 * math/w_coshl.c: Likewise.
42865 * math/w_dremf.c: Likewise.
42866 * math/w_exp10.c: Likewise.
42867 * math/w_exp10f.c: Likewise.
42868 * math/w_exp10l.c: Likewise.
42869 * math/w_exp2.c: Likewise.
42870 * math/w_exp2f.c: Likewise.
42871 * math/w_fmod.c: Likewise.
42872 * math/w_fmodf.c: Likewise.
42873 * math/w_fmodl.c: Likewise.
42874 * math/w_hypot.c: Likewise.
42875 * math/w_hypotf.c: Likewise.
42876 * math/w_hypotl.c: Likewise.
42877 * math/w_j0.c: Likewise.
42878 * math/w_j0f.c: Likewise.
42879 * math/w_j0l.c: Likewise.
42880 * math/w_j1.c: Likewise.
42881 * math/w_j1f.c: Likewise.
42882 * math/w_j1l.c: Likewise.
42883 * math/w_jn.c: Likewise.
42884 * math/w_jnf.c: Likewise.
42885 * math/w_jnl.c: Likewise.
42886 * math/w_lgamma.c: Likewise.
42887 * math/w_lgamma_r.c: Likewise.
42888 * math/w_lgammaf.c: Likewise.
42889 * math/w_lgammaf_r.c: Likewise.
42890 * math/w_lgammal.c: Likewise.
42891 * math/w_lgammal_r.c: Likewise.
42892 * math/w_log.c: Likewise.
42893 * math/w_log10.c: Likewise.
42894 * math/w_log10f.c: Likewise.
42895 * math/w_log10l.c: Likewise.
42896 * math/w_log2.c: Likewise.
42897 * math/w_log2f.c: Likewise.
42898 * math/w_log2l.c: Likewise.
42899 * math/w_logf.c: Likewise.
42900 * math/w_logl.c: Likewise.
42901 * math/w_pow.c: Likewise.
42902 * math/w_powf.c: Likewise.
42903 * math/w_powl.c: Likewise.
42904 * math/w_remainder.c: Likewise.
42905 * math/w_remainderf.c: Likewise.
42906 * math/w_remainderl.c: Likewise.
42907 * math/w_scalb.c: Likewise.
42908 * math/w_scalbf.c: Likewise.
42909 * math/w_scalbl.c: Likewise.
42910 * math/w_sinh.c: Likewise.
42911 * math/w_sinhf.c: Likewise.
42912 * math/w_sinhl.c: Likewise.
42913 * math/w_sqrt.c: Likewise.
42914 * math/w_sqrtf.c: Likewise.
42915 * math/w_sqrtl.c: Likewise.
42916 * math/w_tgamma.c: Likewise.
42917 * math/w_tgammaf.c: Likewise.
42918 * math/w_tgammal.c: Likewise.
42919
6a621eb7
UD
42920 * po/ja.po: Update from translation team.
42921
bf582445
AJ
429222011-09-29 Andreas Jaeger <aj@suse.de>
42923
f9efbf3a
AJ
42924 [BZ #13179]
42925 * sunrpc/netname.c (netname2host): Fix logic.
42926
bf582445
AJ
42927 [BZ #6779]
42928 [BZ #6783]
42929 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42930 correctly.
42931 * math/w_remainder.c (__remainder): Likewise.
42932 * math/w_remainderf.c (__remainderf): Likewise.
42933 * math/libm-test.inc (remainder_test): Add test cases.
42934
48693bea
AK
429352011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42936
42937 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42938 sdiv_qrnnd.
42939
42622229
LD
429402011-10-07 Ulrich Drepper <drepper@gmail.com>
42941
42942 * string/test-memcmp.c: Avoid unncessary #defines.
42943 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42944
093ecf92
LD
429452011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42946
42947 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42948 Use new sse2 version for core i3 - i7 as it's faster
42949 than sse42 version.
42950 (bit_Prefer_PMINUB_for_stringop): New.
42951 * sysdeps/x86_64/rawmemchr.S: Update.
42952 Replace with faster SSE2 version.
42953 * sysdeps/x86_64/memrchr.S: New file.
42954 * sysdeps/x86_64/memchr.S: Update.
42955 Replace with faster SSE2 version.
42956
fde56e5c
MP
429572011-09-12 Marek Polacek <mpolacek@redhat.com>
42958
42959 * elf/dl-load.c (lose): Add cast to avoid warning.
42960
21fd49a9
UD
429612011-10-07 Ulrich Drepper <drepper@gmail.com>
42962
5a06e643
UD
42963 * po/ca.po: Update from translation team.
42964
684ae515
UD
42965 * inet/getnetgrent_r.c: Hook up nscd.
42966 * nscd/Makefile (routines): Add nscd_netgroup.
42967 (nscd-modules): Add netgroupcache.
42968 (CFLAGS-netgroupcache.c): Define.
42969 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42970 (cache_search): Add const to second parameter.
42971 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42972 INNETGR.
42973 (dbs): Add netgrdb entry.
42974 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42975 (verify_persistent_db): Handle netgrdb.
42976 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42977 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42978 GETFDNETGR.
42979 (netgroup_response_header): Define.
42980 (innetgroup_response_header): Define.
42981 (datahead): Add netgroup_response_header and innetgroup_response_header
42982 elements.
42983 * nscd/nscd.conf: Add entries for netgroup cache.
42984 * nscd/nscd.h (dbtype): Add netgrdb.
42985 (_PATH_NSCD_NETGROUP_DB): Define.
42986 (netgroup_iov_disabled): Declare.
42987 (xmalloc, xcalloc, xrealloc): Move declarations here.
42988 (cache_search): Adjust prototype.
42989 Add netgroup-related prototypes.
42990 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42991 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42992 (__nscd_innetgr): Declare.
42993 * nscd/selinux.c (perms): Use access_vector_t as element type and
42994 add netgroup-related initializers.
42995 * nscd/netgroupcache.c: New file.
42996 * nscd/nscd_netgroup.c: New file.
42997 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42998 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42999 For four parameters use innetgr.
43000 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43001 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43002 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43003 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43004
21fd49a9
UD
43005 * nscd/connections.c (register_traced_file): Don't register file
43006 for disabled databases.
43007
054c0457
UD
430082011-10-06 Ulrich Drepper <drepper@gmail.com>
43009
32b63198
UD
43010 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43011
054c0457
UD
43012 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43013 from tree and freeing node.
43014
64031225
JO
430152011-09-25 Jiri Olsa <jolsa@redhat.com>
43016
43017 * nss/nsswitch.c (__nss_database_lookup): Handle
43018 nss_parse_service_list out of memory case.
43019
0490345c
JO
430202011-09-15 Jiri Olsa <jolsa@redhat.com>
43021
43022 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43023 out of memory case.
43024
3a62d00d
AS
430252011-10-04 Andreas Schwab <schwab@redhat.com>
43026
43027 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43028 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43029 pass it down.
43030 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43031 elf_machine_rela, elf_machine_lazy_rel.
43032 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43033 (ELF_DYNAMIC_DO_REL): Likewise.
43034 (ELF_DYNAMIC_DO_RELA): Likewise.
43035 (ELF_DYNAMIC_RELOCATE): Likewise.
43036 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43037 to ELF_DYNAMIC_DO_REL.
43038 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43039 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43040 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43041 elf_machine_rela.
43042 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43043 skip_ifunc, don't call ifunc function if non-zero.
43044 (elf_machine_rela): Likewise.
43045 (elf_machine_lazy_rel): Likewise.
43046 (elf_machine_lazy_rela): Likewise.
43047 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43048 (elf_machine_lazy_rel): Likewise.
43049 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43050 Likewise.
43051 (elf_machine_lazy_rel): Likewise.
43052 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43053 Likewise.
43054 (elf_machine_lazy_rel): Likewise.
43055 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43056 (elf_machine_lazy_rel): Likewise.
43057 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43058 (elf_machine_lazy_rel): Likewise.
43059 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43060 (elf_machine_lazy_rel): Likewise.
43061 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43062 (elf_machine_lazy_rel): Likewise.
43063 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43064 (elf_machine_lazy_rel): Likewise.
43065 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43066 (elf_machine_lazy_rel): Likewise.
43067
68577918
UD
430682011-09-28 Ulrich Drepper <drepper@gmail.com>
43069
43070 * nss/nss_files/files-init.c (_nss_files_init): Use static
43071 initialization for all the *_traced_file variables.
43072
68822d74
AS
430732011-09-28 Andreas Schwab <schwab@redhat.com>
43074
43075 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43076
2056100b
RM
430772011-09-27 Roland McGrath <roland@hack.frob.com>
43078
43079 [BZ #13226]
43080 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43081
32c76b63
AS
430822011-09-27 Andreas Schwab <schwab@redhat.com>
43083
43084 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43085 Reread the line before reparsing it.
43086
bf972c9d
AS
430872011-09-26 Andreas Schwab <schwab@redhat.com>
43088
43089 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43090
e057a1b5
JM
430912011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43092 Maxim Kuvyrkov <maxim@codesourcery.com>
43093 Joseph Myers <joseph@codesourcery.com>
43094
43095 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43096 if needed for __stack_chk_guard.
43097
bc7e1c36
RM
430982011-09-19 Roland McGrath <roland@hack.frob.com>
43099
ecb1482f
RM
43100 * sysdeps/posix/spawni.c (script_execute): Always define it.
43101 It will be optimized away if unused.
43102 (maybe_script_execute): New function.
43103 (__spawni): Call it.
43104
bc7e1c36
RM
43105 * Makerules: Don't include tls.make.
43106 (config-tls): Always set to thread.
43107 * tls.make.c: File removed.
43108
1c3b002b
MF
431092011-09-19 Mike Frysinger <vapier@gentoo.org>
43110
43111 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43112 * config.make.in (CPPFLAGS-config): New substituted variable.
43113
2840865d
UD
431142011-09-15 Ulrich Drepper <drepper@gmail.com>
43115
88738eb6
UD
43116 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43117
cbf645a6 43118 [BZ #13192]
2840865d
UD
43119 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43120 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43121
b402e91a
RM
431222011-09-15 Roland McGrath <roland@hack.frob.com>
43123
43124 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43125 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43126 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43127 (CALL_FAIL): Likewise.
43128 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43129 (CALL_FAIL): Macro removed.
43130 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43131
4c1a1f71
UD
431322011-09-15 Ulrich Drepper <drepper@gmail.com>
43133
43134 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43135 for __FINITE_MATH_ONLY__ == 1.
43136
edc121be
AS
431372011-09-15 Andreas Schwab <schwab@redhat.com>
43138
43139 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43140 __ieee754_sqrt instead of sqrt.
43141 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43142 __ieee754_sqrtf instead of sqrtf.
43143 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43144 __floorf instead of floorf.
43145 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43146 __floorf, __truncf instead of floorf, truncf.
43147
cd205654
UD
431482011-09-14 Ulrich Drepper <drepper@gmail.com>
43149
ee4d0315
UD
43150 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43151
cd205654
UD
43152 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43153 __extern_always_inline.
43154 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43155 32-bit.
43156
48b67d71
AS
431572011-09-14 Andreas Schwab <schwab@redhat.com>
43158
43159 * elf/rtld.c (dl_main): Also relocate in dependency order when
43160 doing symbol dependency testing.
43161
1ae12c75
AS
431622011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43163
43164 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43165 Always define `refsym'.
43166
995a80df
AS
431672011-09-13 Andreas Schwab <schwab@redhat.com>
43168
e529793b
AS
43169 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43170 (__FD_ELT): Renamed from __FDELT.
43171 * misc/bits/select2.h (__FD_ELT): Likewise.
43172 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43173 __FD_MASK instead of __FDELT, __FDMASK.
43174 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43175 Likewise.
43176 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43177 Likewise.
43178
52d4fef8
AS
43179 * elf/Makefile (gen-ldd): Fix pattern.
43180
995a80df
AS
43181 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43182 (init_tls): Likewise.
43183
8682f8b0
UD
431842011-09-12 Ulrich Drepper <drepper@gmail.com>
43185
43186 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43187
de82006d
AS
431882011-09-12 Andreas Schwab <schwab@redhat.com>
43189
a7c8e6a1
AS
43190 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43191 `struct cmsghdr *' instead of `void *'.
43192 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43193 Likewise.
43194
0f31fe77
AS
431952011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43196
43197 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43198 if non-absolute.
43199 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43200 ldd_rewrite_script.
0f31fe77 43201
32b4c839
UD
432022011-09-11 Ulrich Drepper <drepper@gmail.com>
43203
83cd1420
UD
43204 * configure.in: Remove --with-tls option.
43205 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43206 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43207 out in case it is missing.
43208 * sysdeps/ia64/elf/configure.in: Likewise.
43209 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43210 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43211 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43212 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43213 * sysdeps/sh/elf/configure.in: Likewise.
43214 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43215 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43216 * sysdeps/x86_64/elf/configure.in: Likewise.
43217 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43218 * sysdeps/mach/hurd/tls.h: Likewise.
43219
633f745d
UD
43220 [BZ #13067]
43221 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43222
f318beb8
UD
43223 [BZ #13090]
43224 * configure.in: Fix use of AC_INIT.
43225
32b4c839
UD
43226 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43227
3ce1f295
UD
432282011-09-10 Ulrich Drepper <drepper@gmail.com>
43229
bb016596
UD
43230 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43231 __set_errno.
8e58439c
UD
43232 * malloc/hooks.c: Likewise.
43233
aebae053 43234 [BZ #11929]
02d46fc4
UD
43235 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43236 variables statically.
43237 (narenas): Initialize.
43238 (list_lock): Initialize.
bb016596
UD
43239 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43240 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
43241 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43242 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43243 Add initializers to main_arena and mp_.
43244 (malloc_state): Remove pagesize member. Change all users to use
43245 GLRO(dl_pagesize).
43246
43247 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43248 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43249 is always initialized.
43250
22a89187
UD
43251 * malloc/malloc.c: Removed unused configurations and dead code.
43252 * malloc/arena.c: Likewise.
43253 * malloc/hooks.c: Likewise.
02d46fc4 43254 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 43255
d063d164
UD
43256 * include/tls.h: Removed. USE___THREAD must always be defined.
43257 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43258 * elf/dl-libc.c: Likewise.
43259 * elf/dl-tsd.c: Likewise.
43260 * include/errno.h: Likewise.
43261 * include/netdb.h: Likewise.
43262 * include/resolv.h: Likewise.
43263 * inet/herrno-loc.c: Likewise.
43264 * inet/herrno.c: Likewise.
43265 * malloc/arena.c: Likewise.
43266 * malloc/hooks.c: Likewise.
43267 * malloc/malloc.c: Likewise.
43268 * resolv/res-state.c: Likewise.
43269 * resolv/res_libc.c: Likewise.
43270 * sysdeps/i386/dl-machine.h: Likewise.
43271 * sysdeps/ia64/dl-machine.h: Likewise.
43272 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43273 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43274 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43275 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43276 * sysdeps/sh/dl-machine.h: Likewise.
43277 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43278 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43279 * sysdeps/unix/i386/sysdep.S: Likewise.
43280 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43281 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43283 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43284 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43286 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43290 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43291 * sysdeps/x86_64/dl-machine.h: Likewise.
43292 * tls.make.c: Likewise.
43293
3ce1f295
UD
43294 * configure.in: Remove --with-__thread option. Make tests for
43295 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43296 tls_model attribute fail if no support is available. Remove
43297 USE_IN_LIBIO.
43298 * Makeconfig: Adjust for dropped configure option. All features are
43299 now mandatory.
43300 * Makerules: Likewise.
43301 * Versions.def: Likewise.
43302 * argp/argp-fmtstream.c: Likewise.
43303 * argp/argp-fmtstream.h: Likewise.
43304 * argp/argp-help.c: Likewise.
43305 * assert/assert.c: Likewise.
43306 * config.h.in: Likewise.
43307 * config.make.in: Likewise.
43308 * configure: Likewise.
43309 * configure.in: Likewise.
43310 * csu/Versions: Likewise.
43311 * csu/init.c: Likewise.
43312 * elf/tst-audit2.c: Likewise.
43313 * elf/tst-tls10.c: Likewise.
43314 * elf/tst-tls10.h: Likewise.
43315 * elf/tst-tls11.c: Likewise.
43316 * elf/tst-tls12.c: Likewise.
43317 * elf/tst-tls14.c: Likewise.
43318 * elf/tst-tlsmod11.c: Likewise.
43319 * elf/tst-tlsmod12.c: Likewise.
43320 * elf/tst-tlsmod13.c: Likewise.
43321 * elf/tst-tlsmod13a.c: Likewise.
43322 * elf/tst-tlsmod14a.c: Likewise.
43323 * elf/tst-tlsmod15b.c: Likewise.
43324 * elf/tst-tlsmod16a.c: Likewise.
43325 * elf/tst-tlsmod16b.c: Likewise.
43326 * elf/tst-tlsmod7.c: Likewise.
43327 * elf/tst-tlsmod8.c: Likewise.
43328 * elf/tst-tlsmod9.c: Likewise.
43329 * gmon/gmon.c: Likewise.
43330 * grp/fgetgrent_r.c: Likewise.
43331 * grp/putgrent.c: Likewise.
43332 * hurd/fopenport.c: Likewise.
43333 * include/libc-symbols.h: Likewise.
43334 * include/tls.h: Likewise.
43335 * intl/gettextP.h: Likewise.
43336 * intl/loadinfo.h: Likewise.
43337 * locale/global-locale.c: Likewise.
43338 * locale/localeinfo.h: Likewise.
43339 * mach/devstream.c: Likewise.
43340 * malloc/arena.c: Likewise.
43341 * malloc/set-freeres.c: Likewise.
43342 * misc/err.c: Likewise.
43343 * misc/getttyent.c: Likewise.
43344 * misc/mntent_r.c: Likewise.
43345 * posix/getopt.c: Likewise.
43346 * posix/wordexp.c: Likewise.
43347 * pwd/fgetpwent_r.c: Likewise.
43348 * resolv/Versions: Likewise.
43349 * resolv/res_hconf.c: Likewise.
43350 * shadow/fgetspent_r.c: Likewise.
43351 * shadow/putspent.c: Likewise.
43352 * stdio-common/printf_fphex.c: Likewise.
43353 * stdio-common/tmpfile.c: Likewise.
43354 * stdlib/abort.c: Likewise.
43355 * stdlib/fmtmsg.c: Likewise.
43356 * sunrpc/auth_unix.c: Likewise.
43357 * sunrpc/clnt_perr.c: Likewise.
43358 * sunrpc/clnt_tcp.c: Likewise.
43359 * sunrpc/clnt_udp.c: Likewise.
43360 * sunrpc/clnt_unix.c: Likewise.
43361 * sunrpc/openchild.c: Likewise.
43362 * sunrpc/svc_simple.c: Likewise.
43363 * sunrpc/svc_tcp.c: Likewise.
43364 * sunrpc/svc_udp.c: Likewise.
43365 * sunrpc/svc_unix.c: Likewise.
43366 * sunrpc/xdr.c: Likewise.
43367 * sunrpc/xdr_array.c: Likewise.
43368 * sunrpc/xdr_rec.c: Likewise.
43369 * sunrpc/xdr_ref.c: Likewise.
43370 * sunrpc/xdr_stdio.c: Likewise.
43371
1248c1c4
PB
433722011-09-09 Ulrich Drepper <drepper@gmail.com>
43373
43374 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43375
433762011-07-03 Andreas Jaeger <aj@suse.de>
43377
43378 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43379 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43380 regenerate with gen-libm-tests.pl.
43381
433822010-05-12 Petr Baudis <pasky@suse.cz>
43383
43384 [BZ #11589]
43385 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43386 around j0() zero points by switching to j1().
43387 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43388 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43389 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43390 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43391
f22e1074
UD
433922011-09-09 Ulrich Drepper <drepper@gmail.com>
43393
f19009c1
UD
43394 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43395 instead of 0.
43396 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 43397 instead of 0.
f19009c1
UD
43398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43399 Patch in part by Pavel Roskin <proski@gnu.org>.
43400
3f8cc204
UD
43401 [BZ #13138]
43402 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43403 realloc.
43404 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43405 Free memory block if necessary.
43406
f22e1074
UD
43407 [BZ #12847]
43408 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43409 be NULL. Don't lock in this case.
43410
0a2349f9
RM
434112011-09-09 Roland McGrath <roland@hack.frob.com>
43412
43413 * elf/elf.h (ELFOSABI_GNU): New macro.
43414 (ELFOSABI_LINUX): Define to that.
43415
f3cdd467
DZ
434162011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43417
43418 * string/strncat.c (strncat): Undef the symbol in case it has been
43419 defined in bits/string.h.
43420
74718d13
UD
434212011-09-09 Ulrich Drepper <drepper@gmail.com>
43422
633e9e0f
UD
43423 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43424
0a2349f9 43425 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
43426 link map.
43427
f9924780
AJ
434282011-08-17 Andreas Jaeger <aj@suse.de>
43429
43430 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43431
7f5517aa
PP
434322011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43433 Ian Lance Taylor <iant@google.com>
43434
43435 * math/libm-test.inc (lround_test): New testcase.
43436 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43437
762011fe
UD
434382011-09-08 Ulrich Drepper <drepper@gmail.com>
43439
92963737
UD
43440 * Makefile: Remove support for automatic cvs check-ins.
43441 * Makerules: Likewise.
43442 * config.make.in: Likewise.
43443 * configure.in: Likewise.
43444 * intl/Makefile: Likewise.
43445 * locale/Makefile: Likewise.
43446 * po/Makefile: Likewise.
43447 * posix/Makefile: Likewise.
43448 * sysdeps/gnu/Makefile: Likewise.
43449 * sysdeps/mach/hurd/Makefile: Likewise.
43450 * sysdeps/sparc/sparc32/Makefile: Likewise.
43451
b0727fd8
JS
43452 [BZ #13118]
43453 * posix/Makefile (bug-regex32-ENV): Define.
43454 Patch by John Stanley <jpsinthemix@verizon.net>.
43455
a0f33f99
UD
43456 * misc/Makefile (headers): Add bits/select2.h.
43457 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43458 * misc/bits/select2.h: New file.
43459 * include/bits/select2.h: New file.
43460 * debug/Makefile (routines): Add fdelt_chk.
43461 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43462 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43463 FD_ISSET.
43464 * debug/fdelt_chk.c: New file.
43465
762011fe
UD
43466 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43467 * wcsmbs/test-wmemcmp.c: Likewise.
43468 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 43469 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
43470
434712011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43472
43473 * string/Makefile (strop-tests): Add memcmp.
43474 * string/test-wmemcmp.c: New file.
43475 * string/test-memcmp.c: Add wmemcmp support.
43476
7f513ec8
RM
434772011-09-08 Roland McGrath <roland@hack.frob.com>
43478
0442afb4
RM
43479 [BZ #13153]
43480 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43481 2011-07-19 change.
43482
7f513ec8
RM
43483 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43484 garbage value in a __mach_port_mod_refs call in the cases of the
43485 task-self and thread-self ports.
43486
a12b2239
ST
434872011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43488
43489 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43490
610f9ab4
AS
434912011-09-08 Andreas Schwab <schwab@redhat.com>
43492
7f513ec8 43493 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 43494
48882a1a
LD
434952011-09-07 Ulrich Drepper <drepper@gmail.com>
43496
b49865be
UD
43497 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43498
fdc86bc9
UD
43499 * elf/dl-libc.c (dlerror_run): Pass back error code from
43500 dl_catch_error.
43501
c966526a
UD
43502 [BZ #13123]
43503 * elf/dl-load.c (lose): Free l_origin if it is valid.
43504
48882a1a
LD
43505 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43506 names.
43507 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43508 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43509 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43510 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43511 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43512 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43513
77a2a8b4
AZ
435142011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43515
43516 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43517 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43518 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43519 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43520 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43521 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43522 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43523 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43524 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43525 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43526
24f579d8
AM
435272011-08-15 Alan Modra <amodra@gmail.com>
43528
43529 [BZ #13092]
43530 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43531 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43532 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43533 ppc_mcount to static-only-routines.
43534 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43535 __mcount_internal.
43536 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43537 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43538
3d4837df
UD
435392011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43540
43541 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43542 for finite and infinity parameters.
43543
22700377
WS
435442011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43545
43546 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43547 and add nop instructions for throughput optimization.
43548 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43549
5025581e
WS
435502011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43551
43552 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43553 aligned copy for power7 with vector-scalar instructions.
43554 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43555
08a300c9
L
435562011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43557
43558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43559 AVX check.
43560
59178ef9
AS
435612011-09-07 Andreas Schwab <schwab@redhat.com>
43562
43563 [BZ #13144]
43564 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43565 last change.
43566
e38ba7ab
UD
435672011-09-07 Ulrich Drepper <drepper@gmail.com>
43568
43569 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43570 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43571 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43572 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43573 clock_gettime.
43574
d53a73ac
UD
435752011-09-06 Ulrich Drepper <drepper@gmail.com>
43576
fc8bffcc
UD
43577 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43578 Forgot to demangle the pointer.
43579
ceaa0c5d
UD
43580 * sysdeps/i386/sysdep.h: Define atom_text_section.
43581 * sysdeps/x86_64/sysdep.h: Likewise.
43582 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43583 section with atom_text_section.
43584 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43585 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43586 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43587 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43588 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43589
a77d3c17
UD
43590 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43591 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43592 already be defined. Change to take two parameters and don't assign
43593 result to variable. Adjust all users.
43594 Define INTERNAL_GETTIME if not already defined.
43595 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43596 call.
43597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43598 HAVE_CLOCK_GETTIME_VSYSCALL.
43599 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43600
d53a73ac
UD
43601 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43602 gettimeofday vsyscall, just use time.
43603
a8f84144
AS
436042011-09-06 Andreas Schwab <schwab@redhat.com>
43605
43606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43607 <errno.h>.
43608
ef606249
UD
436092011-09-06 Ulrich Drepper <drepper@gmail.com>
43610
43611 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43612 syscall on x86-64.
43613 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43614 syscall.
43615 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43616 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43617 syscall if possible.
43618
6585cb60
UD
436192011-09-05 Ulrich Drepper <drepper@gmail.com>
43620
43621 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43622 e_ident. Don't pass to find_mapsXX.
43623 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43624
a5f524e4
LD
436252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43626
43627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43628 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43629 * sysdeps/x86_64/multiarch/strchr.S: Update.
43630 Check bit_slow_BSF bit.
43631 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43632 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43633 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43634
554881ef
UD
436352011-09-05 Ulrich Drepper <drepper@gmail.com>
43636
d96de963
UD
43637 [BZ #13134]
43638 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43639 before glibc 2.15.
43640 (tryshell): Define.
43641 (__spawni): Change last parameter to be flag. Test
43642 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43643 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43644 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43645 * posix/spawni.c: Likewise.
43646 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43647 * posix/spawnp.c: Likewise. Change normal version to use
43648 SPAWN_XFLAGS_USE_PATH.
43649 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43650 SPAWN_XFLAGS_TRY_SHELL.
43651
d48e5868
UD
43652 [BZ #13150]
43653 * posix/glob.h: Remove gcc 1.x support.
43654
554881ef
UD
43655 [BZ #13068]
43656 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43657
693fb948
LD
436582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43659
43660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43661 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43662 strrchr-sse2-bsf
43663 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43664 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43665 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43666 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43667 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43668 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43669
1b48c537
UD
436702011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43671
49d42c37
UD
43672 * sysdeps/x86_64/wcscmp.S: New file.
43673
1b48c537
UD
43674 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43675 wcscmp-c wcscmp-sse2
43676 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43677 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43678 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43679 * wcsmbs/wcscmp.c: Allow renaming.
43680
15c95c5d
DM
436812011-09-05 David S. Miller <davem@davemloft.net>
43682
43683 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43684 stack slot, rather than the struct return pointer slot.
43685 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43686 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43688 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43689
2f0ad8f3
UD
436902011-09-05 Ulrich Drepper <drepper@gmail.com>
43691
d88ae418
UD
43692 * po/ja.po: Update from translation team.
43693
2f0ad8f3
UD
43694 [BZ #13144]
43695 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43696 kernel in 64-bit binaries.
43697
5f4318d1
DM
436982011-09-01 David S. Miller <davem@davemloft.net>
43699
43700 * elf/elf.h (HWCAP_SPARC_*): Move to..
43701 * sysdeps/sparc/sysdep.h: this new file and add new values.
43702 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43703 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43704 _DL_HWCAP_COUNT to 24.
43705 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43706 entries.
43707 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43708 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43709 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43711 instead of magic constants.
43712 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43713
3ba57516
DM
437142011-08-31 David S. Miller <davem@davemloft.net>
43715
43716 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43718 Reimplement to do errno handling inline.
43719 (SYSCALL_ERROR_HANDLER): New macro.
43720 (__SYSCALL_STRING): Do not do errno handling in asm.
43721 (__CLONE_SYSCALL_STRING): Delete.
43722 (__INTERNAL_SYSCALL_STRING): Delete.
43723 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43724 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43725 (PSEUDO): Reimplement to do errno handling inline.
43726 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43727 (SYSCALL_ERROR_HANDLER): New macro.
43728 (__SYSCALL_STRING): Do not do errno handling in asm.
43729 (__CLONE_SYSCALL_STRING): Delete.
43730 (__INTERNAL_SYSCALL_STRING): Delete.
43731 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43732 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43733 i386.
43734 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43735 (inline_syscall*): Add 'err' argument.
43736 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43737 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43738 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43739 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43740
43741 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43742 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43743
2bc17433
AS
437442011-08-30 Andreas Schwab <schwab@redhat.com>
43745
43746 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43747
fbeb5f4d
JO
437482011-08-29 Jiri Olsa <jolsa@redhat.com>
43749
43750 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43751 directive.
43752
ad69cc26
DM
437532011-08-24 David S. Miller <davem@davemloft.net>
43754
43755 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43756
39dd69df
AS
437572011-08-24 Andreas Schwab <schwab@redhat.com>
43758
43759 * elf/Makefile: Add rules to build and run unload8 test.
43760 * elf/unload8.c: New file.
43761 * elf/unload8mod1.c: New file.
43762 * elf/unload8mod1x.c: New file.
43763 * elf/unload8mod2.c: New file.
43764 * elf/unload8mod3.c: New file.
43765
43766 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43767 it wasn't used.
43768
2c0b250a
DM
437692011-08-23 David S. Miller <davem@davemloft.net>
43770
43771 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43772 subtract stack bias.
43773 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43774 %sp not %fp in calculations.
43775 (_JMPBUF_UNWINDS_ADJ): Likewise.
43776
22044b48
DM
43777 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43778 (aio_suspend): Call it to force an exception region around the
43779 AIO_MISC_WAIT() invocation.
43780
2cae4995
AS
437812011-08-23 Andreas Schwab <schwab@redhat.com>
43782
43783 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43784 backslash.
43785
873a772e
AJ
437862011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43787
43788 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43789 protection macro.
43790 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43791 and <dl-machine.h>.
43792 (Elf64_FuncDesc): Remove.
43793
25ad0df1
DM
437942011-08-22 David S. Miller <davem@davemloft.net>
43795
43796 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43797 sigaltstack check, add missing cfi directives.
43798 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43799 missing cfi directives, and sigaltstack handling.
43800
e888bcbe
AS
438012011-08-16 Andreas Schwab <schwab@redhat.com>
43802
43803 [BZ #11724]
43804 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43805 object is seen twice.
43806 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43807
43808 * elf/Makefile (distribute): Add tst-initorder2.c.
43809 (tests): Add tst-initorder2.
43810 (modules-names): Add tst-initorder2a tst-initorder2b
43811 tst-initorder2c tst-initorder2d. Add rules to build them.
43812 ($(objpfx)tst-initorder2.out): New rule.
43813 * elf/tst-initorder2.c: New file.
43814 * elf/tst-initorder2.exp: New file.
43815
87162f46
AS
438162011-08-22 Andreas Schwab <schwab@redhat.com>
43817
70538b7f
AS
43818 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43819
f55ffe58
AS
43820 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43821 dependencies back to end of function.
43822
87162f46
AS
43823 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43824 $(elfobjdir)/ld.so.
43825
91b392a4
UD
438262011-08-21 Ulrich Drepper <drepper@gmail.com>
43827
43828 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43829 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43830 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43831 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43832 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43833 of __vdso_gettimeofday.
43834 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43835 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43836 attribute_hidden.
43837 (_libc_vdso_platform_setup): Remove initialization of
43838 __vdso_gettimeofday and __vdso_time.
43839
5c43483f
UD
438402011-08-20 Ulrich Drepper <drepper@gmail.com>
43841
775a77e7
UD
43842 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43843 and fgetc_unlocked.
43844 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43845 getc_unlocked.
89f447ed 43846
49c74ba9
UD
43847 * elf/dl-open.c (add_to_global): Report additions to the global scope
43848 for LD_DEBUG=scopes.
43849 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 43850 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 43851
5c43483f
UD
43852 [BZ #13114]
43853 * stdio-common/Makefile (tests): Add bug24.
43854 * stdio-common/bug24.c: New file.
43855
a101b025
AJ
438562011-08-19 Andreas Jaeger <aj@suse.de>
43857
43858 [BZ #13114]
43859 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43860 non-existant file when using close-on-exec mode.
43861
c88f1766
UD
438622011-08-20 Ulrich Drepper <drepper@gmail.com>
43863
0276a718
UD
43864 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43865 the very first instruction.
43866
c88f1766
UD
43867 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43868 the CFI state in the end.
43869 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43870 inclusion of dl-trampoline.h.
43871 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43872
51ccffa0
AS
438732011-08-19 Andreas Schwab <schwab@redhat.com>
43874
94d7165f
AS
43875 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43876 expectations for long double.
43877
51ccffa0
AS
43878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43879 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43880
fd708658 438812011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
43882
43883 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43884 artificual limit depends upon the system page size.
43885
44f0a71e
UD
438862011-08-17 Ulrich Drepper <drepper@gmail.com>
43887
43888 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43889 * resolv/Makefile: Define CFLAGS-libresolv.
43890
8de79a24
AS
438912011-08-17 Andreas Schwab <schwab@redhat.com>
43892
43893 * nss/makedb.c (compute_tables): Make variables used in nested
43894 function static.
43895
27724598
UD
438962011-08-17 Ulrich Drepper <drepper@gmail.com>
43897
c5305d88
UD
43898 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43899 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43900 if buffer was too small.
43901
27724598
UD
43902 * elf/pldd.c (main): Attach to all threads in the process.
43903 Rewrite /proc handling to use *at functions.
43904
076fe015
UD
439052011-08-16 Ulrich Drepper <drepper@gmail.com>
43906
174baab3
UD
43907 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43908 specifies first scope to show.
43909 (dl_open_worker): Update callers. Move printing scope of new
43910 object to before the relocation.
44f0a71e 43911 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
43912 * sysdeps/generic/ldsodefs.h: Update declaration.
43913
076fe015
UD
43914 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43915 string for the scope number.
43916
a60df2c3
UD
439172011-08-14 Ulrich Drepper <drepper@gmail.com>
43918
43919 * nscd/servicescache.c (cache_addserv): Make sure written is always
43920 initialized.
43921
5e4287d1
RM
439222011-08-14 Roland McGrath <roland@hack.frob.com>
43923
85ae0589
RM
43924 * sysdeps/i386/i486/bits/atomic.h
43925 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43926 statement expression, so as to suppress "set but not used" warning.
43927 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43928
69f63097
RM
43929 * string/strncat.c (STRNCAT): Use prototype definition.
43930
675456ef
RM
43931 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43932 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43933 -Iprograms here.
43934 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43935 (localedef-modules): Add localedef.
43936 (locale-modules): Add locale.
43937
5e4287d1
RM
43938 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43939 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43940 to avoid a warning.
43941
9c96ff23
DM
439422011-08-14 David S. Miller <davem@davemloft.net>
43943
43944 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43945 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43946
f9ddf089
UD
439472011-08-13 Ulrich Drepper <drepper@gmail.com>
43948
44f0a71e 43949 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
43950 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43951 * elf/rtld.c (dl_main): Set l_name of vDSO.
43952 Call _dl_show_scope when DL_DEBUG_SCOPES.
43953 (process_dl_debug): Recognize scopes flag and also set it for all.
43954 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43955 Declare _dl_show_scope.
43956
1dc27704
UD
43957 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43958 (do_dlopen): Pass caller_dlopen to dl_open.
43959 (__libc_dlopen_mode): Initialize caller_dlopen.
43960
f9ddf089
UD
43961 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43962 of libc. Make tolower call locale-independent. Optimize a bit by
43963 using isdigit instead of isalnum.
43964 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43965
9ac533d3
UD
439662011-08-12 Ulrich Drepper <drepper@gmail.com>
43967
43968 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43969 was a dependency or dynamically loaded.
43970
89edf2e9
UD
439712011-08-11 Ulrich Drepper <drepper@gmail.com>
43972
8e999d29
UD
43973 * intl/l10nflist.c: Allow architecture-specific pop function.
43974 * sysdeps/x86_64/l10nflist.c: New file.
43975
89edf2e9
UD
43976 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43977 classification.
43978
14d96785
AS
439792011-08-10 Andreas Schwab <schwab@redhat.com>
43980
43981 * include/dirent.h: Add libc_hidden_proto for scandirat and
43982 scandirat64. Don't declare __scandirat64.
43983 * dirent/scandirat.c: Add libc_hidden_def.
43984 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43985 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43986
6761ac04
DM
439872011-08-10 David S. Miller <davem@davemloft.net>
43988
43989 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43990 enum.
43991 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43992 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43993 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43994
c55fbd1e
UD
439952011-08-09 Ulrich Drepper <drepper@gmail.com>
43996
43997 * Versions.def [libc]: Add GLIBC_2.15.
43998 * dirent/Makefile (routines): Add scandirat and scandirat64.
43999 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44000 GLIBC_2.15.
44001 * dirent/dirent.h: Declare scandirat and scandirat64.
44002 * dirent/scandirat.c: New file.
44003 * dirent/scandirat64.c: New file.
44004 * sysdeps/wordsize-64/scandirat.c: New file.
44005 * sysdeps/wordsize-64/scandirat64.c: New file.
44006 * dirent/opendir.c: Define opendirat.
44007 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44008 using scandirat.
44009 * dirent/scandir64.c: Adjust for scandir.c change.
44010 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44011 __scandirat64, and __scandir_cancel_handler.
44012 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44013 additional parameter and use openat instead of open (outside of ld.so).
44014 Add new __opendir as wrapper around __opendirat.
44015 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44016 here without requiring old scandirat implementation.
44017
879165f2
UD
440182011-08-08 Ulrich Drepper <drepper@gmail.com>
44019
44020 * dirent/scandir.c (cancel_handler): Renamed to
44021 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44022 defined. Adjust users.
44023 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44024 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44025
cb7e923b
UD
440262011-08-04 Ulrich Drepper <drepper@gmail.com>
44027
16292edd
UD
44028 * string/test-string.h (IMPL): Use __STRING to expand name and then
44029 stringify it.
44030
cb7e923b
UD
44031 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44032 of cleanups.
44033
cff82933
LD
440342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44035
44036 * string/Makefile: Update.
44037 (strop-tests): Append strncat.
44038 * string/test-wcscmp.c: New file.
44039 New comprehensive test for wcscmp.
44040 * string/test-strcmp.c: Update.
44041 (WIDE): New define.
44042
9be9bfcc
AS
440432011-07-22 Andreas Schwab <schwab@redhat.com>
44044
44045 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44046 line.
44047
2e96f1c7
AS
440482011-07-26 Andreas Schwab <schwab@redhat.com>
44049
44050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44051 encoding to ACE if AI_IDN.
44052
85188888
JJ
440532011-08-01 Jakub Jelinek <jakub@redhat.com>
44054
44055 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44056 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44057
5fa16e9b
LD
440582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44059
44060 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44061 Fix overflow bug in strncat.
44062 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44063
44064 * string/test-strncat.c: Update.
44065 Add new tests for checking overflow bugs.
44066
440672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44068
44069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44070 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44071 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44072 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44074 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44075 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44076 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44077 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44078
44079 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44080 (USE_AS_STRCAT): Define.
44081 Add strcat and strncat support.
44082 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44083
8c1a459f
AS
440842011-07-25 Andreas Schwab <schwab@redhat.com>
44085
44086 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44087 __n bigger than INT_MAX+1.
44088 (__strncmp_g): Likewise.
44089
bba33c28
UD
440902011-07-23 Ulrich Drepper <drepper@gmail.com>
44091
798be72d
UD
44092 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44093 * libio/stido.h: Likewise.
44094
8accd4dc
UD
44095 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44096 (AF_NFC): Define.
44097 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44098 (AF_NFC): Define.
44099
cbff0d96
UD
44100 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44101 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44102 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44103 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44104 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44105
9191c04a
UD
44106 [BZ #13021]
44107 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44108 installed.
44109
bba33c28
UD
44110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44111 typo.
44112 (_dl_x86_64_save_sse): Likewise.
44113
90f139dd
UD
441142011-07-22 Ulrich Drepper <drepper@gmail.com>
44115
1aae088a
UD
44116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44117 OSXSAVE.
44118 (_dl_x86_64_save_sse): Likewise.
44119
8e2045f5
UD
44120 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44121
90f139dd
UD
44122 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44123
1d002f25
AS
441242011-07-21 Andreas Schwab <schwab@redhat.com>
44125
44126 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44127 change.
44128 (_dl_x86_64_save_sse): Use correct AVX check.
44129
21137f89
UD
441302011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44131
44132 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44133 bug in strncpy/strncat.
44134 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44135
a65c0b7a
UD
441362011-07-21 Ulrich Drepper <drepper@gmail.com>
44137
44138 * string/tester.c (test_strcat): Add tests for different alignments
44139 of source and destination.
44140 (test_strncat): Likewise.
44141
6986b98a
UD
441422011-07-20 Ulrich Drepper <drepper@gmail.com>
44143
90bb2039
UD
44144 [BZ #12852]
44145 * posix/glob.c (glob): Check passed in values before using them in
44146 expressions to avoid some overflows.
44147 (glob_in_dir): Likewise.
44148
5644ef54
UD
44149 [BZ #13007]
44150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44151 check for AVX enablement so that we don't crash with old kernels and
44152 new hardware.
44153 * elf/tst-audit4.c: Add same checks here.
44154 * elf/tst-audit6.c: Likewise.
44155
44156 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 44157
bfc9dc9b
AS
441582011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44159
44160 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44161
702e64bb
UD
441622011-07-20 Ulrich Drepper <drepper@gmail.com>
44163
44164 * po/cs.po: Update from translation team.
44165 * po/bg.po: Likewise.
44166
295e904f
MP
441672011-07-12 Marek Polacek <mpolacek@redhat.com>
44168
44169 * misc/sys/cdefs.h: Add support for const attribute.
44170 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44171 to gnu_dev_{major,minor,makedev} functions.
44172
3ff94596
MP
441732011-07-20 Marek Polacek <mpolacek@redhat.com>
44174
44175 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44176
28b59fca
AS
441772011-07-20 Andreas Schwab <schwab@redhat.com>
44178
44179 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44180 strlen results.
44181
19df733e
AK
441822011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44183
44184 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44185 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44186 register in order to avoid conflicts with the soft frame pointer
44187 being held in r11 when necessary.
44188 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44189 (INTERNAL_VSYSCALL_NCS): Likewise.
44190
c8835729
MP
441912011-07-14 Marek Polacek <mpolacek@redhat.com>
44192
44193 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44194 * elf/dl-fini.c (_dl_fini): Adjust caller.
44195 * elf/dl-close.c (_dl_close_worker): Likewise.
44196 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44197
b902330c
MP
441982011-07-15 Marek Polacek <mpolacek@redhat.com>
44199
8991e135
MP
44200 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44201 "aux_cache->nlibs < 0".
44202
b902330c
MP
44203 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44204 in the reload-count case.
44205
99710781
LD
442062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44207
44208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44209 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44210 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44211 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44212 * sysdeps/x86_64/multiarch/strcat.S: New file.
44213 * sysdeps/x86_64/multiarch/strncat.S: New file.
44214 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44215 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44216 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44217 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44218 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44219 (USE_AS_STRCAT): Define.
44220 Add strcat and strncat support.
44221 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44222 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44223 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44224 * string/strncat.c: Update.
44225 (USE_AS_STRNCAT): Define.
44226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44227 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44228 and i7.
44229 * sysdeps/x86_64/multiarch/init-arch.h
44230 (bit_Prefer_PMINUB_for_stringop): New.
44231 (index_Prefer_PMINUB_for_stringop): Likewise.
44232 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44233 bit_Prefer_PMINUB_for_stringop.
44234
7dc6bd90
UD
442352011-07-19 Ulrich Drepper <drepper@gmail.com>
44236
44237 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44238 buffer64.
44239 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44240 of casting of buffer.
44241 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44242 buffer32 and buffer64.
44243 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44244 writes instead of casting of buffer.
44245 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44246 buffer32.
44247 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44248 casting of buffer.
44249
e0e72284
AS
442502011-07-19 Andreas Schwab <schwab@redhat.com>
44251
44252 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44253
feb1eb0b
UD
442542011-07-19 Ulrich Drepper <drepper@gmail.com>
44255
44256 * nscd/nscd.c (termination_handler): Don't do anything for a database
44257 if it has not yet been initialized.
44258
298711ff
UD
442592011-07-18 Ulrich Drepper <drepper@gmail.com>
44260
44261 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44262
442632011-07-15 Marek Polacek <mpolacek@redhat.com>
44264
44265 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44266
f9d68389
UD
442672011-07-18 Ulrich Drepper <drepper@gmail.com>
44268
44269 * po/nl.po: Update from translation team.
44270 * po/sv.po: Likewise.
44271
db290cf5
RM
442722011-07-16 Roland McGrath <roland@hack.frob.com>
44273
44274 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44275 now disallowed by GCC.
5c550700 44276
fd5e21c7
RM
44277 * configure.in (use-default-link): Default to yes if a test -shared
44278 link meets our qualifications.
44279 * configure: Regenerated.
44280
5c550700
RM
44281 * config.make.in (output-format): New variable.
44282 * configure.in: Check for ld --print-output-format support.
44283 * configure: Regenerated.
44284 * Makerules ($(common-objpfx)format.lds)
44285 [$(output-format) != unknown]: Just use $(output-format),
44286 instead of the linker-script munging.
44287
9fa2c032
RM
442882011-07-14 Roland McGrath <roland@hack.frob.com>
44289
a6928d51
RM
44290 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44291 of $(common-objpfx)shlib.lds.
44292 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44293
661607b3
RM
44294 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44295 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44296
9fa2c032
RM
44297 * configure.in (-z relro check): Adjust test code to add a large
44298 writable data section after it.
44299 * configure: Regenerated.
44300
defe9061
RM
443012011-07-11 Roland McGrath <roland@hack.frob.com>
44302
44303 * configure.in (-z relro check): Fix test code to make the variable
44304 truly const.
44305 * configure: Regenerated.
44306
319b9ad4
UD
443072011-07-11 Ulrich Drepper <drepper@gmail.com>
44308
44309 * nscd/nscd.h (struct traced_file): Define.
44310 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44311 elements. Add traced_files.
44312 (inotify_fd): Declare.
44313 (register_traced_file): Declare.
44314 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44315 (inotify_fd): Export.
44316 (resolv_conf_descr): Remove.
44317 (nscd_init): Move inotify descriptor creation to main.
44318 Don't register files for notification here.
44319 (register_traced_file): New function.
44320 (invalidate_cache): Don't use reset_res to determine whether to call
44321 res_init, go through the list of registered files.
44322 (main_loop_poll): The inotify descriptors are now stored in the
44323 structures for the traced files.
44324 (main_loop_epoll): Likewise
44325 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44326 to __nss_disable_nscd.
44327 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44328 for a database anymore. Check the records for all the registered
44329 files instead.
44330 * nss/Makefile (libnss_files-routines): Add files-init.
44331 (libnss_db-routines): Add db-init.
44332 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44333 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44334 * nss/nss_db/db-init.c: New file.
44335 * nss/nss_files/files-init.c: New file.
44336 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44337 __nss_lookup_function.
44338 (__nss_lookup_function): Call nss_load_library.
44339 (nss_load_all_libraries): New function.
44340 (__nss_disable_nscd): Take parameter with callback function for files
44341 to register. Set is_nscd. Load all the DSOs for the NSS modules
44342 used for the cached services.
44343 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44344 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44345 options for features to all the files in nscd.
44346
44347 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44348
23bee3e8
RM
443492011-07-10 Roland McGrath <roland@hack.frob.com>
44350
44351 * csu/elf-init.c (__libc_csu_init): Comment typo.
44352
46a5b7f0
UD
443532011-07-09 Ulrich Drepper <drepper@gmail.com>
44354
44355 * po/pl.po: Update from translation team.
44356 * po/ja.po: Likewise.
44357 * po/ru.po: Likewise.
44358 * po/ko.po: Likewise.
44359 * po/fr.po: Likewise.
44360
d30cf5bb
RM
443612011-07-09 Roland McGrath <roland@hack.frob.com>
44362
113ddea4
RM
44363 * configure.in (.ctors/.dtors header and trailer check):
44364 Use an empirical test on a built program.
44365 * configure: Regenerated.
44366
574920b4
RM
44367 * configure.in (-z relro check): Use an empirical test on a built DSO.
44368 Detect, but do not require, on ia64.
44369 * configure: Regenerated.
44370
d30cf5bb
RM
44371 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44372 Update tests that use readelf to use $READELF instead.
44373 * configure: Regenerated.
44374
8538fdb3
UD
443752011-07-08 Ulrich Drepper <drepper@gmail.com>
44376
44377 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44378 if the result is not used.
44379
04d08991
AJ
443802011-07-05 Andreas Jaeger <aj@suse.de>
44381
44382 [BZ#9696]
44383 * stdlib/tst-strtod.c: Add testcase.
44384
de283087
AD
443852011-07-07 Ulrich Drepper <drepper@gmail.com>
44386
4e5f31c8 44387 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 44388 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
44389 The latter has a higher limit. Take additional parameter to pass to
44390 the new function.
44391 (__pathconf): Pass file to __statfs_link_max.
44392 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44393 __statfs_link_max.
44394 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44395 __statfs_link_max.
44396
de283087
AD
44397 [BZ #12868]
44398 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44399 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44400 Handle Lustre.
44401 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44402 (__statfs_filesize_max): Likewise.
44403 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44404
c75fa153
AJ
444052011-07-05 Andreas Jaeger <aj@suse.de>
44406
44407 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44408
1a544854
UD
444092011-07-06 Marek Polacek <mpolacek@redhat.com>
44410
44411 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44412 `status' variable.
44413 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44414 Likewise.
44415
6f0eec67
UD
444162011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44417
44418 * Makefile (strop-tests): Add strncat.
44419 * string/test-strncat.c: New file.
44420
aae30307
UD
444212011-06-30 Marek Polacek <mpolacek@redhat.com>
44422
44423 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44424
c0cfb5eb
UD
444252011-06-21 Andreas Jaeger <aj@suse.de>
44426
44427 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44428 Copy rule from iconvdata/Makefile.
44429
01636b21
UD
444302011-07-06 Ulrich Drepper <drepper@gmail.com>
44431
44432 [BZ #12922]
44433 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44434 but no long options are defined, just return 'W'.
44435
9895c8bc
UD
444362011-06-22 Marek Polacek <mpolacek@redhat.com>
44437
44438 [BZ #9696]
44439 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44440
5d4cf042
UD
444412011-07-06 Ulrich Drepper <drepper@gmail.com>
44442
44443 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44444 netgroups to read.
960e5535 44445 (innetgr): Likewise.
5d4cf042 44446
751eb97e
RM
444472011-07-05 Roland McGrath <roland@hack.frob.com>
44448
44449 * config.make.in (install_root): Default to $(DESTDIR).
44450
f15f1e45
UD
444512011-07-05 Ulrich Drepper <drepper@gmail.com>
44452
44453 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44454
4e34ac6a
RM
444552011-07-02 Roland McGrath <roland@hack.frob.com>
44456
5e9b6af4
RM
44457 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44458
84f9ea0f
RM
44459 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44460 containing directory rather than embedding absolute directory names.
44461
ea5ee9f7
RM
44462 * scripts/check-local-headers.sh: Rewritten using awk.
44463 Match by word, not by line. Print error messages for matches.
44464 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44465
1b74661a
RM
44466 * Makerules [shlib-lds-flags empty]:
44467 ($(common-objpfx)libc_pic.opts): New target.
44468 ($(common-objpfx)libc_pic.os.clean): New target.
44469 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44470
44471 * config.make.in (OBJCOPY): New variable.
44472 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44473 * configure: Regenerated.
44474
f781ef40
RM
44475 * config.make.in (use-default-link): New variable.
44476 * configure.in (use_default_link): Grok --with-default-link to set it.
44477 * configure: Regenerated.
44478 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44479 (shlib-lds, shlib-lds-flags): Define to empty.
44480
2d4fa81e
RM
44481 * Makerules (shlib-lds): New variable.
44482 (shlib-lds-flags): New variable.
44483 (build-shlib, build-moduile, build-module-asneeded): Use it.
44484 ($(common-objpfx)libc.so): Use $(shlib-lds).
44485 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44486 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44487
31fffa6b
RM
44488 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44489 DT_FLAGS/DT_FLAGS_1 with zero flags.
44490
4e34ac6a
RM
44491 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44492 linker script munging.
44493
fcfc776b
UD
444942011-07-02 Ulrich Drepper <drepper@gmail.com>
44495
44496 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44497 as 128-bit value.
44498 * crypt/sha512.c (sha512_process_block): Perform total addition using
44499 128-bit if possible.
44500 (__sha512_finish_ctx): Likewise.
44501 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44502 as 64-bit value.
44503 * crypt/sha256.c (SWAP64): Define.
44504 (sha256_process_block): Perform total addition using 64-bit if
44505 possible.
44506 (__sha256_finish_ctx): Likewise.
44507
99231d9a
UD
445082011-07-01 Ulrich Drepper <drepper@gmail.com>
44509
44510 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44511 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44512 * nscd/hstcache.c (cache_addhst): Likewise.
44513 * nscd/grpcache.c (cache_addgr): Likewise.
44514 * nscd/aicache.c (addhstaiX): Likewise
44515 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44516
445b4a53
TK
445172011-07-01 Thorsten Kukuk <kukuk@suse.de>
44518
44519 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44520 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44521 * nscd/hstcache.c (cache_addhst): Likewise.
44522 * nscd/grpcache.c (cache_addgr): Likewise.
44523 * nscd/aicache.c (addhstaiX): Likewise
44524
6d4d8e8e
AS
445252011-07-01 Andreas Schwab <schwab@redhat.com>
44526
44527 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44528 domain only when needed.
44529
89f654c5
AS
445302011-06-30 Andreas Schwab <schwab@redhat.com>
44531
44532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44533 is always restored.
44534
cf3b23ff
UD
445352011-06-29 Ulrich Drepper <drepper@gmail.com>
44536
44537 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44538 are re-adding the entry.
44539 * nscd/servicescache.c (cache_addserv): Likewise.
44540
751626f9
AJ
445412011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44542
44543 * sysdeps/generic/dl-irel.h: fix protection against multiple
44544 inclusions.
44545 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44546
9113ea1f
UD
445472011-06-28 Ulrich Drepper <drepper@gmail.com>
44548
5c0b8d90
UD
44549 [BZ #12935]
44550 * malloc/memusage.sh: Fix quoting in message.
44551 * debug/xtrace.sh: Likewise.
44552
9113ea1f
UD
44553 * configure.in: Remove support for --experimental-malloc option, make
44554 it the default.
44555 * config.make.in: Likewise.
44556 * malloc/Makefile: Likewise.
44557
a4172181
AS
445582011-06-27 Andreas Schwab <schwab@redhat.com>
44559
44560 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44561 two-byte characters.
44562
78a7eee7
RM
445632011-06-27 Roland McGrath <roland@hack.frob.com>
44564
62bede13
RM
44565 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44566 AC_CACHE_CHECK invocation.
44567 * configure: Regenerated.
44568
78a7eee7
RM
44569 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44570
5ce33a62
UD
445712011-06-27 Ulrich Drepper <drepper@gmail.com>
44572
034807a9
UD
44573 [BZ #12350]
44574 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44575 bit from old_res_options.
44576
4902da17
UD
44577 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44578
5ce33a62
UD
44579 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44580 value type for setfct.
44581
c2344f56
L
445822011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44583
44584 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44585 __gettimeofday instead of gettimeofday.
44586
68468076
UD
445872011-06-26 Ulrich Drepper <drepper@gmail.com>
44588
44589 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44590
acb0d739
L
445912011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44592
44593 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44594
44595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44596 info.
44597
8912479f
L
445982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44599
44600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44601 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44602 strcpy-sse2-unaligned strncpy-sse2-unaligned
44603 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44604 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44605 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44606 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44607 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44608 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44609 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44610 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44611 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44612 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44613 (STRCPY): Support SSE2 and SSSE3 versions.
44614
d5495a11
UD
446152011-06-24 Ulrich Drepper <drepper@gmail.com>
44616
44617 [BZ #12874]
44618 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44619 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44620 kernels which artificially limit size of requests.
44621
0b1cbaae
L
446222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44623
44624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44625 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44626 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44627 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44628 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44629 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44630 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44631 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44632 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44633 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44634 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44635 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44636 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44637 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44638 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44640 Enable unaligned load optimization for Intel Core i3, i5 and i7
44641 processors.
44642 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44643 Define.
44644 (index_Fast_Unaligned_Load): Define.
44645 (HAS_FAST_UNALIGNED_LOAD): Define.
44646
07f494a0
MP
446472011-06-23 Marek Polacek <mpolacek@redhat.com>
44648
44649 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44650
fa3fc0fe
UD
446512011-06-22 Ulrich Drepper <drepper@gmail.com>
44652
44653 [BZ #12907]
44654 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44655 until it is clear that the information is realy needed.
44656 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44657
e12df166
AS
446582011-06-22 Andreas Schwab <schwab@redhat.com>
44659
44660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44661
852eb34d
UD
446622011-06-22 Ulrich Drepper <drepper@gmail.com>
44663
84e2a551
UD
44664 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44665 /sys/devices/system/cpu/online if it is usable.
44666
852eb34d
UD
44667 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44668 reading the information from the /proc filesystem to once a second.
44669
6e502e19
UD
446702011-06-21 Andreas Jaeger <aj@suse.de>
44671
44672 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44673 NULL after inclusion of kernel headers.
44674
75d39ff2
UD
446752011-06-21 Ulrich Drepper <drepper@gmail.com>
44676
51f9aa6a
UD
44677 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44678 calls to internal_setent.
44679
c0244a9d
UD
44680 [BZ #12885]
44681 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44682 addresses using gethostbyname4_r ignore IPv4 addresses.
44683
c5e3c2ae
UD
44684 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44685 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44686
75d39ff2
UD
44687 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44688
42675c6f
DM
446892011-06-20 David S. Miller <davem@davemloft.net>
44690
44691 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44692 inclusions.
44693 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44694
44695 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44696 (elf_irel): Use it.
44697 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44698 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44699 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44700 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44701 * sysdeps/x86_64/dl-irel.h: Likewise.
44702
44703 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44704 * elf/dl-sym.c: Likewise.
44705
57912a71
UD
447062011-06-15 Ulrich Drepper <drepper@gmail.com>
44707
44708 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44709 need to dereference resplen2.
44710
ee22793d
AS
447112011-06-14 Andreas Schwab <schwab@redhat.com>
44712
44713 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44714
a9e836b0
UD
447152011-06-15 Ulrich Drepper <drepper@gmail.com>
44716
77fb9117
UD
44717 * Makeconfig: Define vardbdir and inst_vardbdir.
44718 * nss/Makefile: Add rules to install db-Makefile.
44719
40c1b22c
UD
44720 * nss/nss_db/db-XXX.c: Cleanup.
44721
9f2da732
UD
44722 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44723 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44724 GLIBC_PRIVATE.
44725 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44726 * nss/makedb.c: Implement -g option to specify that value strings
44727 are generated and should not be added to table iterated over for
44728 get*ent calls.
44729 * nss/nss_db/db-initgroups.c: New file.
44730
82e9a1f7
UD
44731 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44732 interface.
44733
c41af17e
UD
44734 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44735 (internal_getgrouplist): Adjust to name change.
44736 Update use_initgroups_entry if this is not the first call.
44737 * nss/databases.def: Add initgroups entry.
44738
a9e836b0
UD
44739 * nss/makedb.c (compute_tables): Check result of multiple hash table
44740 sizes to minimize maximum chain length.
44741
2666d441
UD
447422011-06-14 Ulrich Drepper <drepper@gmail.com>
44743
44744 * Versions.def: Add entry for libnss_db.
44745 * shlib-versions: Likewise.
44746 * nss/Makefile: Add rules to build libnss_db.
44747 * nss/Versions: Add libnss_db information. Organize libnss_files
44748 entries better.
44749 * nss/db-Makefile: Add gshadow support. Change rules for the new
44750 makedb progra. Some minor improvements to generate smaller files.
44751 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44752 here from...
44753 * nss/makedb.c: ...here.
44754 Improve database format to be smaller and require less memory at
44755 runtime.
44756 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44757 db anymore.
44758 * nss/nss_db/db-netgrp.c: Likewise.
44759 * nss/nss_db/db-open.c: Likewise.
44760 * nss/nss_files/flies-XXX.x: Adjust comments.
44761 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44762 * nss/nss_files/files-grp.c: Likewise.
44763 * nss/nss_files/files-hosts.c: Likewise.
44764 * nss/nss_files/files-network.c: Likewise.
44765 * nss/nss_files/files-proto.c: Likewise.
44766 * nss/nss_files/files-pwd.c: Likewise.
44767 * nss/nss_files/files-rpc.c: Likewise.
44768 * nss/nss_files/files-service.c: Likewise.
44769 * nss/nss_files/files-sgrp.c: Likewise.
44770 * nss/nss_files/files-spwd.c: Likewise.
44771 * nss/nss_db/db-alias.c: Removed.
44772 * nss/nss_db/dummy-db.h: Removed.
44773
9ee76b5a
UD
447742011-06-02 Ulrich Drepper <drepper@gmail.com>
44775
44776 * nss/makedb.c: Rewritten to not use database library.
44777 * nss/Makefile: Update to build new makedb program.
44778
c71ca1f8
AJ
447792011-06-14 Andreas Jaeger <aj@suse.de>
44780
44781 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44782 memset declaration.
44783
3154bfb8
UD
447842011-06-10 Andreas Schwab <schwab@redhat.com>
44785
44786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44787 tmpbuf.
44788
b350afab
RM
447892011-06-10 Roland McGrath <roland@hack.frob.com>
44790
decd4e50
RM
44791 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44792 * elf/Makefile ($(objpfx)ld.so): Likewise.
44793
5615eaf2
RM
44794 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44795 Don't list ld.so twice in dependencies.
44796
44797 * posix/bug-regex31.c: Include <stdlib.h>.
44798
44799 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44800
44801 * nis/nss_compat/compat-spwd.c
44802 (getspent_next_nss_netgr): Remove unused variable.
44803 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44804
44805 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44806 nonmembers" output to use the right array.
44807
44808 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44809
44810 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44811
44812 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44813 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44814 * catgets/gencat.c (read_input_file): Likewise.
44815 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44816
44817 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44818 variable definition inside #if's controlling its use.
44819
44820 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44821
44822 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44823
44824 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44825
44826 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44827 unreachable code.
44828
44829 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44830
b68e08db
RM
44831 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44832 * configure: Regenerated.
44833
b350afab
RM
44834 * Makerules: Revert last change.
44835 * elf/Makefile: Likewise.
44836
28368601
RM
448372011-06-09 Roland McGrath <roland@hack.frob.com>
44838
44839 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44840 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44841 (reloc-link): Likewise.
44842
11988f8f
UD
448432011-06-09 Ulrich Drepper <drepper@gmail.com>
44844
44845 * elf/Makefile: Add rules to build pldd.
44846 * elf/pldd.c: New file.
44847 * elf/pldd-xx.c: New file.
44848
e80fab37
UD
448492011-06-07 Ulrich Drepper <drepper@gmail.com>
44850
44851 * version.h: Update for 2.15 development version.
44852
9b849836
DM
448532011-06-07 David S. Miller <davem@davemloft.net>
44854
44855 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44856 ifuncs.
44857 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44858 elf_machine_lazy_rel): Likewise.
44859 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44860 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44861 elf_machine_lazy_rel): Likewise.
44862 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44863 dl_hwcap via passed in argument.
44864 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44865 Likewise.
44866
5a31b283
AK
448672011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44868
44869 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44870
069e52f8
RM
448712011-06-06 Roland McGrath <roland@hack.frob.com>
44872
44873 [BZ #12849]
44874 * manual/fdl-1.1.texi: New file, verbatim from:
44875 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44876 * manual/lgpl-2.1.texi: New file, verbatim from:
44877 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44878 * manual/Makefile (licenses): New variable, list those new file names.
44879 (texis): Use it.
44880 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44881
44882 * manual/fdl.texi: File removed.
44883 * manual/lesser.texi: File removed.
44884 * manual/libc.texinfo (Copying, Documentation License):
44885 Use new @include file names, put @appendix directive before @include.
44886
f16846a5
JJ
448872011-06-04 Jakub Jelinek <jakub@redhat.com>
44888
44889 [BZ #12841]
44890 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44891 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44892 (mq_open): Add __NTH.
44893
3d29045b
L
448942011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44895
44896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44897 Assume Intel Core i3/i5/i7 processor if AVX is available.
44898
8c297311
UD
448992011-05-31 Ulrich Drepper <drepper@gmail.com>
44900
44901 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44902 typo.
44903
c8fc0c91
UD
449042011-05-31 Andreas Schwab <schwab@redhat.com>
44905
44906 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44907 memory. Use alloca_account. Fix memory leak when retrying.
44908
5b27a807
UD
449092011-05-31 Ulrich Drepper <drepper@gmail.com>
44910
356f8bc6
UD
44911 * version.h (RELEASE): Bump for 2.14 release.
44912 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44913
5b27a807
UD
44914 * config.make.in (RANLIB): Remove entry.
44915
01f16ab0
UD
449162011-05-30 Ulrich Drepper <drepper@gmail.com>
44917
41fce8bd
UD
44918 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44919 (libc.pot): Work around missing support for .ksh extension in xgettext.
44920
4769ae77
UD
44921 [BZ #12684]
44922 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44923 if both request failed.
44924 (send_dg): In case of server errors clear resplen or *resplen2.
44925
6b1e7d19
UD
44926 [BZ #12454]
44927 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44928 when there are multiple maps.
44929 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44930 (_dl_fini): Remove test here.
44931
01f16ab0
UD
44932 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44933
b1ebd700
UD
449342011-05-29 Ulrich Drepper <drepper@gmail.com>
44935
7ae22829
UD
44936 [BZ #12350]
44937 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44938 bit from old_res_options.
44939 (gaih_inet): Likewise.
44940
553149f6 44941 [BZ #11099]
18a84741 44942 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
44943 as signed.
44944
652ffab1
UD
44945 * resolv/res_init.c (res_setoptions): Make the code more compact.
44946
16985fd0
UD
44947 [BZ #11558]
44948 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44949 set RES_USEVC.
44950
0464f746
UD
44951 [BZ #11634]
44952 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44953
7d17596c
UD
44954 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44955
cf6bbbd7
UD
44956 [BZ #11781]
44957 * malloc/malloc.h: Declare malloc hook variables as volatile.
44958
13f1ab36
UD
44959 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44960 in last patch.
44961
b1ebd700
UD
44962 [BZ #11799]
44963 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 44964 raise in the comment.
80e2212d
UD
44965 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44966 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44967 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 44968
ce67228d
UD
449692011-05-28 Ulrich Drepper <drepper@gmail.com>
44970
8887a920
UD
44971 [BZ #12811]
44972 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44973 grow the buffers more if it already has to be sufficient.
44974 (build_wcs_upper_buffer): Likewise.
44975 * posix/regexec.c (check_matching): Likewise.
44976 (clean_state_log_if_needed): Likewise.
44977 (extend_buffers): Don't enlarge buffers beyond size of the input
44978 buffer.
44979 Patches mostly by Emil Wojak <emil@wojak.eu>.
44980 * posix/bug-regex32.c: New file.
44981 * posix/Makefile (tests): Add bug-regex32.
44982
4f031072
UD
44983 * locale/findlocale.c (_nl_find_locale): Return right away if
44984 _nl_explode_name failed.
44985 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44986
d0478f0c
UD
44987 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44988
de81b246
UD
44989 * debug/xtrace.sh: Unify messages.
44990 * malloc/memusage.sh: Likewise.
44991
c738465a
UD
44992 [BZ #12813]
44993 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44994 time symbol from vDSO. Substitute with vsyscall if not available.
44995 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44996 __vdso_time.
44997
f1f929d7
UD
44998 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44999 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45000 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45001 Add sendmmsg and internal_sendmmsg.
45002 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45003 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45004 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45005
ce67228d
UD
45006 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45007 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45008 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45009
e57420c6
UD
450102011-05-27 Ulrich Drepper <drepper@gmail.com>
45011
a8509ca5
UD
45012 [BZ #12813]
45013 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45014 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45015 available.
45016 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45017 __vdso_getcpu.
45018
e57420c6
UD
45019 [BZ #12814]
45020 * iconvdata/Makefile (tests): Add bug-iconv9.
45021 * iconvdata/bug-iconv9.c: New file.
45022
4d07db15
AS
450232011-05-27 Andreas Schwab <schwab@redhat.com>
45024
45025 [BZ #12814]
45026 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45027
ea486f69
JJ
450282011-05-25 Jakub Jelinek <jakub@redhat.com>
45029
45030 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45031 (struct user_regs_struct): Change intcs field back to cs.
45032
6f038433
UD
450332011-05-25 Ulrich Drepper <drepper@gmail.com>
45034
45035 * po/ja.po: Update from translation team.
45036
67f86a25
UD
450372011-05-23 Ulrich Drepper <drepper@gmail.com>
45038
45039 [BZ #12795]
45040 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45041 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45042
def7fbd6
AS
450432011-05-20 Andreas Schwab <schwab@redhat.com>
45044
45045 * stdlib/longlong.h: Update from GCC.
45046
f50ef8f1
AS
450472011-05-23 Andreas Schwab <schwab@redhat.com>
45048
45049 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45050 parameter name.
45051 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45052 Add parameter name.
45053 (__sysconf): Pass it down.
45054
de7ce8f1
UD
450552011-05-22 Ulrich Drepper <drepper@gmail.com>
45056
f2962a71
UD
45057 [BZ #12671]
45058 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45059 some situations.
45060 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45061 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45062 add in in __libc_use_alloca calls. Adjust callers.
45063 (glob): Use malloc in some situations.
45064
de7ce8f1
UD
45065 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45066 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45067 pltexit.
45068
aec84f53
UD
450692011-05-21 Ulrich Drepper <drepper@gmail.com>
45070
05bb4a68
UD
45071 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45072 and CLOCK_BOOTTIME_ALARM.
45073
7ea72f99
UD
45074 [BZ #12782]
45075 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45076 is returned.
45077
7e4afad5
UD
45078 * string/_strerror.c (__strerror_r): Print negative errors as signed
45079 numbers.
45080
8e211fec
UD
45081 [BZ #12777]
45082 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45083 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45084 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45085
f7d82dc9
UD
45086 * configure.in: Fix typo in redirection and correct removal of test
45087 files in two cases.
45088
cc9e536d
UD
45089 [BZ #12788]
45090 * locale/setlocale.c (new_composite_name): Fix test to check for
45091 identical name of all categories.
45092
aec84f53
UD
45093 [BZ #12792]
45094 * libio/filedoalloc.c (local_isatty): New function.
45095 (_IO_file_doallocate): Use local_isatty.
45096 * stdio-common/perror.c (perror): In case a new stream is used
45097 forward the stream error.
45098 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45099 error flag.
45100
78e64fdc
RT
451012011-05-20 Ulrich Drepper <drepper@gmail.com>
45102
34a9094f
UD
45103 [BZ #11869]
45104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45105 alloca.
45106 * include/alloca.h (extend_alloca_account): Define.
45107
78e64fdc
RT
45108 [BZ #11857]
45109 * posix/regex.h: Fix comments with documentation of user-accessible
45110 fields after compilation and describe correct free'ing of pattern
45111 after re_compile_pattern.
45112 Patch by Reuben Thomas <rrt@sc3d.org>.
45113
457bddfc
RA
451142011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45115
45116 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45117 and -mno-altivec to prevent the compiler from using Altivec and/or
45118 VSX instructions when the corresponding registers are not available.
45119
a4527b51
AS
451202011-05-19 Andreas Schwab <schwab@redhat.com>
45121
45122 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45123
ed690b2f
UD
451242011-05-19 Ulrich Drepper <drepper@gmail.com>
45125
45126 * libio/freopen.c (freopen): Use __dup2, not dup2.
45127 * libio/freopen64.c (freopen64): Likewise.
45128
8db73634
L
451292011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45130
45131 [BZ #12775]
45132 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45133 * math/Makefile (tests): Add test-powl.
45134 (CFLAGS-test-powl.c): Define.
45135 * math/test-powl.c: New file.
45136
0a197a9d
L
451372011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45138
45139 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45140
ee30c380
UD
451412011-05-17 Ulrich Drepper <drepper@gmail.com>
45142
45143 [BZ #11837]
45144 * iconvdata/gb18030.c: Update to GB18020-2005.
45145
6ce75379
UD
451462011-05-16 Ulrich Drepper <drepper@gmail.com>
45147
a4b89fd8
AR
45148 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45149 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45150 Patch by Aharon Robbins <arnold@skeeve.com>.
45151
ea389b12
UD
45152 [BZ #11892]
45153 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45154 on the stack.
45155
68a3f91f
UD
45156 [BZ #11895]
45157 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45158 through underflows.
45159
15cc7dd1
UD
45160 [BZ #12766]
45161 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45162 point to strings before performing equality test for error_one_per_line
45163 mode.
45164
f3799213
UD
45165 [BZ #11697]
45166 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45167
d79a9c94
UD
45168 [BZ #11820]
45169 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45170 (struct user_fpregs_struct): Avoid __uint*_t types.
45171
56e5eb46
UD
45172 [BZ #6420]
45173 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45174 symbol info. Use it instead of calling _dl_addr locally.
45175 (lock_and_info): New function.
45176 (tr_freehook): Call lock_and_info and pass symbol info as additional
45177 parameter to tr_where.
45178 (tr_mallochook): Likewise.
45179 (tr_reallochook): Likewise.
45180 (tr_memalignhook): Likewise.
45181
6ce75379
UD
45182 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45183 used and couldn't be at all thread-safe.
45184
f8a3b5bf
UD
451852011-05-15 Ulrich Drepper <drepper@gmail.com>
45186
94b7cc37
UD
45187 * libio/freopen.c (freopen): Don't close old file descriptor
45188 before the new one is opened. Instead dup the new file descriptor
45189 to the old one after the new stream is created.
45190 * libio/freopen64.c (freopen64): Likewise.
45191 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45192 * libio/fileops.c (_IO_new_file_close_it): Handle new
45193 _IO_FLAGS2_NOCLOSE flag.
45194 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45195 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45196 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45197 _IO_FLAGS2_NOCLOSE flag.
45198 * include/unistd.h: Add hidden_proto for dup3.
45199 Define __have_dup3.
45200 * io/dup3.c: Define hidden symbol.
45201 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45202
bd25564e
UD
45203 [BZ #7101]
45204 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45205 when an incomplete long option is used.
45206 * posix/tst-getopt_long1.c: New file.
45207 * posix/Makefile (tests): Add tst-getopt_long1.
45208
c84cfef4
UD
45209 [BZ #10138]
45210 * scripts/config.guess: Update from autoconf-2.68.
45211 * scripts/config.sub: Likewise.
45212
3b85df27
UD
45213 [BZ #10157]
45214 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45215 tests into ...
45216 (has_cpuclock): ...this. New function.
45217 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45218 macro here based on has_cpuclock code.
45219
15a856b1
UD
45220 [BZ #10149]
45221 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45222 First byte (not low byte) is now always NUL.
45223 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45224
05f399e6
UD
45225 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45226 Use non-cancelable interfaces.
45227
10a52685 45228 [BZ #9809]
94ecc67d
UD
45229 * locale/iso-639.def: Add entry for Sorani.
45230
f8a3b5bf
UD
45231 [BZ #11901]
45232 * include/stdlib.h: Move include protection to the right place.
45233 Define abort_msg_s. Declare __abort_msg with it.
45234 * stdlib/abort.c (__abort_msg): Adjust type.
45235 * assert/assert.c (__assert_fail_base): New function. Majority
45236 of code from __assert_fail. Allocate memory for __abort_msg with
45237 mmap.
45238 (__assert_fail): Now call __assert_fail_base.
45239 * assert/assert-perr.c: Remove bulk of implementation. Use
45240 __assert_fail_base.
45241 * include/assert.hL Declare __assert_fail_base.
45242 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45243 mmap.
45244 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45245
1af4e298
UD
452462011-05-14 Ulrich Drepper <drepper@gmail.com>
45247
f8a3b5bf 45248 [BZ #11952]
d26dfc60
MG
45249 [BZ #12453]
45250 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45251 until all modules are registered in the DTV.
45252 * elf/Makefile: Add rules to build and run tst-tls19.
45253 * elf/tst-tls19.c: New file.
45254 * elf/tst-tls19mod1.c: New file.
45255 * elf/tst-tls19mod2.c: New file.
45256 * elf/tst-tls19mod3.c: New file.
45257 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45258
2fc54d6f
UD
45259 [BZ #12083]
45260 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45261 correctly.
45262
98d76b46
UD
45263 [BZ #12601]
45264 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45265 two-byte sequence errors.
45266 * iconvdata/Makefile (tests): Add bug-iconv8.
45267 * iconvdata/bug-iconv8.c: New file.
45268
da3c19ef
UD
45269 [BZ #12626]
45270 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45271 buf2 definition.
45272
ca408c15
UD
45273 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45274
d6f67f7d
UD
45275 [BZ #12432]
45276 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45277 (dummy_getcfa): New function.
45278 (init): Get _Unwind_GetCFA address, use dummy if not found.
45279 (backtrace_helper): In recursion check, also check whether CFA changes.
45280 (__backtrace): Completely initialize arg.
45281
1af4e298 45282 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
45283 storing incomplete byte sequence in state object. Avoid testing for
45284 guaranteed too small input if we know there is enough data available.
1af4e298 45285
da62f81b
AS
452862011-05-11 Andreas Schwab <schwab@redhat.com>
45287
45288 * Makeconfig (+link-pie): Indent.
45289 * Rules (binaries-pie): Define if $(have-fpie) and
45290 $(build-shared).
45291 (binaries-shared): Also filter out $(binaries-pie).
45292 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45293 * nscd/Makefile (others-pie): Add nscd.
45294 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45295 ($(objpfx)nscd): Remove command override.
45296 * login/Makefile (others-pie): Add pt_chown.
45297 ($(objpfx)pt_chown): Remove command override.
45298 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45299 remove command overrides.
45300
fcabc0f8
UD
453012011-05-13 Ulrich Drepper <drepper@gmail.com>
45302
20030ae6
UD
45303 * libio/tst_putwc.c: Fix error messages.
45304
fcabc0f8
UD
45305 [BZ #12724]
45306 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45307 currently writing and seek to current position when not.
45308 * libio/Makefile (tests): Add bug-fclose1.
45309 * libio/bug-fclose1.c: New file.
45310
320a5dc0
PB
453112011-05-12 Ulrich Drepper <drepper@gmail.com>
45312
45313 [BZ #12511]
45314 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45315 don't set DF_1_NODELETE here.
45316 (do_lookup_x): When entering new entry test for copy relocation
45317 and if necessary set DF_1_NODELETE flag.
45318 * elf/tst-unique4.cc: New file.
45319 * elf/tst-unique4.h: New file.
45320 * elf/tst-unique4lib.cc: New file.
45321 * elf/Makefile: Add rules to build and run tst-unique4.
45322 Patch by Piotr Bury <pbury@goahead.com>.
45323
22836f52
UD
453242011-05-11 Ulrich Drepper <drepper@gmail.com>
45325
f574184a
UD
45326 [BZ #12052]
45327 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45328
e1fb097f
UD
45329 [BZ #12625]
45330 * misc/mntent_r.c (addmntent): Flush the stream after the output
45331
22836f52
UD
45332 [BZ #12393]
45333 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45334 (is_trusted_path_normalize): Skip initial colon. Append slash
45335 to empty buffer. Duplicate is_trusted_path code but allow
45336 constructed patch to be prefix.
45337 (is_dst): Allow $ORIGIN followed by /.
45338 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45339 Correct testing of result of is_trusted_path_normalize
45340 (decompose_rpath): Fix warning.
45341
7b3b0b2a
UD
453422011-05-10 Ulrich Drepper <drepper@gmail.com>
45343
45344 [BZ #11257]
45345 * grp/initgroups.c (internal_getgrouplist): When we found the service
45346 list through the initgroups entry in nsswitch.conf do not always
45347 continue on a successful lookup. Don't always use the
eac80ce2 45348 __nss_group_database value if it is set.
7b3b0b2a
UD
45349 * nss/nsswitch.conf (initgroups): Change action for successful db
45350 lookup to continue for compatibility.
45351
2a81eaa5
UD
453522011-05-09 Ulrich Drepper <drepper@gmail.com>
45353
be97a69e
UD
45354 [BZ #11532]
45355 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45356 and CP774 modules.
45357 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45358 and CP774 modules.
45359 * iconvdata/tst-tables.sh: Likewise.
45360 * iconvdata/cp770.c: New file.
45361 * iconvdata/cp771.c: New file.
45362 * iconvdata/cp772.c: New file.
45363 * iconvdata/cp773.c: New file.
45364 * iconvdata/cp774.c: New file.
45365 * iconvdata/testdata/CP770: New file.
45366 * iconvdata/testdata/CP770..UTF8: New file.
45367 * iconvdata/testdata/CP771: New file.
45368 * iconvdata/testdata/CP771..UTF8: New file.
45369 * iconvdata/testdata/CP772: New file.
45370 * iconvdata/testdata/CP772..UTF8: New file.
45371 * iconvdata/testdata/CP773: New file.
45372 * iconvdata/testdata/CP773..UTF8: New file.
45373 * iconvdata/testdata/CP774: New file.
45374 * iconvdata/testdata/CP774..UTF8: New file.
45375
45376 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45377 END CHARMAP line.
45378 * iconvdata/gen-8bit-gap.sh: Likewise.
45379 * iconvdata/gen-8bit.sh: Likewise.
45380
c1e9e399
UD
45381 * locale/iso-639.def: Add ary entry.
45382
24c55fb3 45383 [BZ #11258]
96b4b1b0
UD
45384 * locale/C-translit.h.in: Add U20A1 transliteration.
45385
bdc2f971
KB
45386 [BZ #12178]
45387 * locale/iso-639.def: Add wae entry.
45388 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45389
2952b117
UD
45390 [BZ #12545]
45391 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45392 for n.
45393
2a81eaa5
UD
45394 [BZ #12711]
45395 * locale/C-translit.h.in: Add entry for U20B9.
45396 Patch by pravin.d.s@gmail.com.
45397
28377d1b
UD
453982011-05-08 Ulrich Drepper <drepper@gmail.com>
45399
7fb90fb8
UD
45400 [BZ #12713]
45401 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45402 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
45403 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45404 in rtld. Use *stat64.
7fb90fb8 45405 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 45406 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 45407 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
45408 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45409 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45410 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45411 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45412 __fstatat64 macros.
7fb90fb8
UD
45413 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45414 * dirent/rewinddir.c: Add libc_hidden_def.
45415 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 45416 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 45417
28377d1b
UD
45418 * include/dirent.h (__alloc_dir): Add flags parameter.
45419 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45420 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45421 __alloc_dir.
45422 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45423 from fdopendir if O_CLOEXEC is already set.
45424
66bdbaa4
AM
454252011-03-15 Alan Modra <amodra@gmail.com>
45426
45427 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45428 l_tls_firstbyte_offset non-zero. Save padding offset in
45429 l_tls_firstbyte_offset for later use.
45430 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45431 freeing static tls block.
45432
95721191
JN
454332011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45434
45435 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45436 where #ifdef was intended. The intent is to prevent ARG_MAX from
45437 being defined by the kernel headers.
45438
f87dfb1f
UD
454392011-05-07 Ulrich Drepper <drepper@gmail.com>
45440
45441 [BZ #12734]
45442 * resolv/resolv.h: Define RES_NOTLDQUERY.
45443 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45444 no-tld-query and set RES_NOTLDQUERY.
45445 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45446 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45447 modern BIND to search name as TLD unless forbidden.
45448
47c3cd7a
UD
454492011-05-07 Petr Baudis <pasky@suse.cz>
45450 Ulrich Drepper <drepper@gmail.com>
45451
45452 [BZ #12393]
45453 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45454 (is_trusted_path): ...to here.
c1e9ea35 45455 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 45456 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 45457 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 45458
8a35c912
PP
454592011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45460
45461 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45462 __BEGIN/__END_DECLS.
45463
acd41f47
UD
454642011-05-06 Ulrich Drepper <drepper@gmail.com>
45465
45466 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45467 NSS_STATUS_NOTFOUND if no record was found.
45468
597df647
AS
454692011-05-05 Andreas Schwab <schwab@redhat.com>
45470
45471 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45472 (headers-not-in-tirpc): Remove rpc/netdb.h
45473 * resolv/netdb.h: Revert last change.
45474
b9af1301
PP
454752011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45476
45477 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45478 circular dependency between libgcc.a and libc.a.
45479
4e34d5f5
AS
454802011-05-05 Andreas Schwab <schwab@redhat.com>
45481
45482 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45483 * nis/Makefile: Don't install rpcsvc/*.
45484 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45485 instead of <rpc/types.h>.
45486 (MAXHOSTNAMELEN): Define.
45487
00ee369c
AS
454882011-05-03 Andreas Schwab <schwab@redhat.com>
45489
45490 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45491
0b592a30
MB
454922011-04-28 Maciej Babinski <mbabinski@google.com>
45493
45494 [BZ #12714]
45495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45496 gethostbyname4_r when IPv6 results are possible.
45497
6e04cbbe
UD
454982011-05-02 Ulrich Drepper <drepper@gmail.com>
45499
45500 [BZ #12723]
45501 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45502 _PC_PIPE_BUF handling.
45503
e4ecafe0
BH
455042011-04-30 Bruno Haible <bruno@clisp.org>
45505
45506 [BZ #12717]
45507 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45508 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45509 to 'int'.
45510 * inet/getnameinfo.c (getnameinfo): Likewise.
45511
125ee683
UD
455122011-04-29 Ulrich Drepper <drepper@gmail.com>
45513
45514 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45515 to groups setting in database lookup.
45516 * nss/nsswitch.conf: Add initgroups entry.
45517
b722481a
EB
455182011-04-22 Ulrich Drepper <drepper@gmail.com>
45519
45520 [BZ #12685]
45521 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45522 mode string.
45523 Patch by Eric Blake <eblake@redhat.com>.
45524
4df46dbd
L
455252011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45526
45527 * sunrpc/Makefile (need-export-routines): Add svc_run.
45528 (routines): Remove svc_run.
45529 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45530 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45531 * sunrpc/svc_run.c (svc_run): Likewise.
45532 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45533
e84142d2
UD
455342011-04-21 Ulrich Drepper <drepper@gmail.com>
45535
45536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45537 problem in reallocation in last patch.
45538
877175d8
UD
455392011-04-20 Ulrich Drepper <drepper@gmail.com>
45540
45541 * sunrpc/Makefile: Move inclusion of Rules.
45542
ab8eed78
UD
455432011-04-19 Ulrich Drepper <drepper@gmail.com>
45544
45545 * nss/nss_files/files-initgroups.c: New file.
45546 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45547 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45548 _nss_files_initgroups_dyn.
45549
e3d8f584
RS
455502011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45551
45552 * elf/elf.h (R_ARM_IRELATIVE): Define.
45553
af190f45
UD
455542011-04-19 Ulrich Drepper <drepper@gmail.com>
45555
45556 * po/ru.po: Update from translation team.
45557
53cf59ef
UD
455582011-04-17 Ulrich Drepper <drepper@gmail.com>
45559
45560 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45561 dependencies.
45562
4c559bcd
MF
455632011-02-06 Mike Frysinger <vapier@gentoo.org>
45564
45565 [BZ #12653]
45566 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45567 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45568 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45569 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45570 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45571
4420675c
AS
455722011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45573
45574 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45575 differing bytes.
45576 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45577 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45578 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45579
75ea32ab
UD
455802011-04-17 Ulrich Drepper <drepper@gmail.com>
45581
45582 [BZ #12420]
45583 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45584 storing it.
45585 * stdlib/bug-getcontext.c: New file.
45586 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45587
27390476
AK
455882011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45589
45590 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45591 instructions into .machine "z9-109".
45592 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45593 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45594
10442705
AK
455952011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45596
45597 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45598 between environment variables and auxiliary vector.
45599
7b57bfe5
UD
456002011-04-16 Ulrich Drepper <drepper@gmail.com>
45601
45602 * Makefile: Add rules to build linkobj/libc.so.
45603 * include/libc-symbols.h: Define libc_hidden_nolink.
45604 * include/rpc/auth.h: Mark functions which are to be hidden.
45605 * include/rpc/auth_des.h: Likewise.
45606 * include/rpc/auth_unix.h: Likewise.
45607 * include/rpc/clnt.h: Likewise.
45608 * include/rpc/des_crypt.h: Likewise.
45609 * include/rpc/key_prot.h: Likewise.
45610 * include/rpc/pmap_clnt.h: Likewise.
45611 * include/rpc/pmap_prot.h: Likewise.
45612 * include/rpc/pmap_rmt.h: Likewise.
45613 * include/rpc/rpc_msg.h: Likewise.
45614 * include/rpc/svc.h: Likewise.
45615 * include/rpc/svc_auth.h: Likewise.
45616 * include/rpc/xdr.h: Likewise.
45617 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45618 * nss/Makefile: Likewise.
45619 * sunrpc/Makefile: Don't install headers. Build library with normal
45620 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45621 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45622 for the compat linking library. Remove use of INTDEF/INTUSE.
45623 * sunrpc/auth_none.c: Likewise.
45624 * sunrpc/auth_unix.c: Likewise.
45625 * sunrpc/authdes_prot.c: Likewise.
45626 * sunrpc/authuxprot.c: Likewise.
45627 * sunrpc/clnt_gen.c: Likewise.
45628 * sunrpc/clnt_perr.c: Likewise.
45629 * sunrpc/clnt_raw.c: Likewise.
45630 * sunrpc/clnt_simp.c: Likewise.
45631 * sunrpc/clnt_tcp.c: Likewise.
45632 * sunrpc/clnt_udp.c: Likewise.
45633 * sunrpc/clnt_unix.c: Likewise.
45634 * sunrpc/des_crypt.c: Likewise.
45635 * sunrpc/des_soft.c: Likewise.
45636 * sunrpc/get_myaddr.c: Likewise.
45637 * sunrpc/key_call.c: Likewise.
45638 * sunrpc/key_prot.c: Likewise.
45639 * sunrpc/netname.c: Likewise.
45640 * sunrpc/pm_getmaps.c: Likewise.
45641 * sunrpc/pm_getport.c: Likewise.
45642 * sunrpc/pmap_clnt.c: Likewise.
45643 * sunrpc/pmap_prot.c: Likewise.
45644 * sunrpc/pmap_prot2.c: Likewise.
45645 * sunrpc/pmap_rmt.c: Likewise.
45646 * sunrpc/publickey.c: Likewise.
45647 * sunrpc/rpc_cmsg.c: Likewise.
45648 * sunrpc/rpc_common.c: Likewise.
45649 * sunrpc/rpc_dtable.c: Likewise.
45650 * sunrpc/rpc_prot.c: Likewise.
45651 * sunrpc/rpc_thread.c: Likewise.
45652 * sunrpc/rtime.c: Likewise.
45653 * sunrpc/svc.c: Likewise.
45654 * sunrpc/svc_auth.c: Likewise.
45655 * sunrpc/svc_authux.c: Likewise.
45656 * sunrpc/svc_raw.c: Likewise.
45657 * sunrpc/svc_run.c: Likewise.
45658 * sunrpc/svc_simple.c: Likewise.
45659 * sunrpc/svc_tcp.c: Likewise.
45660 * sunrpc/svc_udp.c: Likewise.
45661 * sunrpc/svc_unix.c: Likewise.
45662 * sunrpc/svcauth_des.c: Likewise.
45663 * sunrpc/xcrypt.c: Likewise.
45664 * sunrpc/xdr.c: Likewise.
45665 * sunrpc/xdr_array.c: Likewise.
45666 * sunrpc/xdr_float.c: Likewise.
45667 * sunrpc/xdr_intXX_t.c: Likewise.
45668 * sunrpc/xdr_mem.c: Likewise.
45669 * sunrpc/xdr_rec.c: Likewise.
45670 * sunrpc/xdr_ref.c: Likewise.
45671 * sunrpc/xdr_sizeof.c: Likewise.
45672 * sunrpc/xdr_stdio.c: Likewise.
45673
e6c61494
UD
456742011-04-10 Ulrich Drepper <drepper@gmail.com>
45675
45676 [BZ #12650]
45677 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45678 * sysdeps/ia64/dl-tls.h: Likewise.
45679 * sysdeps/powerpc/dl-tls.h: Likewise.
45680 * sysdeps/s390/dl-tls.h: Likewise.
45681 * sysdeps/sh/dl-tls.h: Likewise.
45682 * sysdeps/sparc/dl-tls.h: Likewise.
45683 * sysdeps/x86_64/dl-tls.h: Likewise.
45684 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45685
34fe483e
AS
456862011-03-14 Andreas Schwab <schwab@redhat.com>
45687
45688 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45689 rpath element also skip the following colon.
45690 (expand_dynamic_string_token): Add is_path parameter and pass
45691 down to DL_DST_REQUIRED and _dl_dst_substitute.
45692 (decompose_rpath): Call expand_dynamic_string_token with
45693 non-zero is_path. Ignore empty rpaths.
45694 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45695 with zero is_path.
45696
f12a32e6
AS
456972011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45698
45699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45700 Make cancelable.
45701
38a7d692
UD
457022011-04-09 Ulrich Drepper <drepper@gmail.com>
45703
45704 [BZ #12655]
45705 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45706 Patch by Filipe David Manana <fdmanana@apache.org>.
45707
e451d22b
AS
457082011-04-07 Andreas Schwab <schwab@redhat.com>
45709
45710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45711 Maintain aligned stack.
45712 (CHECK_RSP): Remove unused macro.
45713
dedc7c7b
UD
457142011-04-03 Ulrich Drepper <drepper@gmail.com>
45715
45716 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45717 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45718
94521213
UD
457192011-04-02 Ulrich Drepper <drepper@gmail.com>
45720
45721 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45722
8cb700c0 45723 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 45724
0354e355
L
457252011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45726
45727 [BZ #12518]
45728 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45729 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45730 * sysdeps/x86_64/memmove.c: New file.
45731 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45732 (memcpy): Renamed to ...
45733 (__new_memcpy): This.
45734 (memcpy): Provide GLIBC_2_14 memcpy.
45735 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45736 (memcpy): Provide GLIBC_2_2_5 memcpy.
45737
8593482f
UD
457382011-04-01 Ulrich Drepper <drepper@gmail.com>
45739
45740 [BZ #12631]
45741 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45742
81a5726b
AS
457432011-03-30 Andreas Schwab <schwab@redhat.com>
45744
45745 * misc/syncfs.c: New file.
45746 * misc/Makefile (routines): Add syncfs.
45747 * posix/unistd.h: Declare syncfs.
45748 * sysdeps/unix/syscalls.list: Add syncfs.
45749
00e5419f
AS
457502011-04-01 Andreas Schwab <schwab@redhat.com>
45751
45752 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45753 open_by_handle_at.
45754 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45755 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45756 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45757 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45758 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45759 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45760 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45761
748876bf
UD
457622011-04-01 Ulrich Drepper <drepper@gmail.com>
45763
658e451d
UD
45764 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45765 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45766 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45767 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45768 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45770 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45771
748876bf
UD
45772 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45773 sync_file_range.c with -fexceptions.
45774 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45775 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45776 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45777 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45778 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45779 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45780 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
45781 sync_file_range as cancellation point
45782 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45783 now a wrapper around __call_sync_file_range with cancellation handling.
45784 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45785 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45786 function name to __call_sync_file_range.
45787 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45788 Add call_sync_file_range.
748876bf 45789
6e63d5e1
AS
457902011-04-01 Andreas Schwab <schwab@redhat.com>
45791
45792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 45793 bits/timex.h.
6e63d5e1 45794
46998f74
UD
457952011-04-01 Ulrich Drepper <drepper@gmail.com>
45796
4c1423ed
UD
45797 * iconv/iconv.h: Fix typo in comment.
45798 * io/fcntl.h: Likewise.
45799 * libio/stdio.h: Likewise.
45800 * posix/spawn.h: Likewise.
45801 * posix/unistd.h: Likewise.
45802 * stdlib/stdlib.h: Likewise.
45803 * time/time.h: Likewise.
45804 * wcsmbs/wchar.h: Likewise.
45805
158648c0
UD
45806 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45807 open_by_handle): Add.
45808 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45809 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45810 Augment a few comments.
45811 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45813 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45815 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45816 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45817 open_by_handle.
45818
46998f74
UD
45819 * io/fcntl.h (AT_EMPTY_PATH): Define.
45820
83fe108b
UD
458212011-03-30 Ulrich Drepper <drepper@gmail.com>
45822
45823 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45824 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45825 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45826 to...
45827 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
45828 * Versions.def: Add GLIBC_2.14.
45829 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45830 Export.
83fe108b 45831
bb242059
UD
458322011-03-22 Ulrich Drepper <drepper@gmail.com>
45833
45834 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45835 round counter.
45836 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45837
c97a1282
L
458382011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45839
45840 [BZ #12597]
45841 * string/test-strncmp.c (do_page_test): New function.
45842 (check2): Likewise.
45843 (test_main): Call check2.
45844 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45845
2a115601
UD
458462011-03-20 Ulrich Drepper <drepper@gmail.com>
45847
45848 [BZ #12587]
45849 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45850 Handle cache information in CPU leaf 4.
45851 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45852
8126d904
UD
458532011-03-18 Ulrich Drepper <drepper@gmail.com>
45854
042c49c6 45855 [BZ #12583]
8126d904
UD
45856 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45857 character representation.
45858 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45859
ccfe366e
RA
458602011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45861
45862 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45863 END(__isnan) to END(__isnanf) to match function entry point/label
45864 EALIGN(__isnanf,...).
45865
c6e13027
JJ
458662011-03-10 Jakub Jelinek <jakub@redhat.com>
45867
45868 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45869
33f85a3f
UD
458702011-03-10 Ulrich Drepper <drepper@gmail.com>
45871
028478fa
UD
45872 [BZ #12510]
45873 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45874 copy from the symbol referenced in the relocation to initialize the
45875 used variable.
45876 Patch by Piotr Bury <pbury@goahead.com>.
45877 * elf/Makefile: Add rules to build and tst-unique3.
45878 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45879 * elf/tst-unique3.cc: New file.
45880 * elf/tst-unique3.h: New file.
45881 * elf/tst-unique3lib.cc: New file.
45882 * elf/tst-unique3lib2.cc: New file.
45883
33f85a3f
UD
45884 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45885
03592fc7
MF
458862011-03-10 Mike Frysinger <vapier@gentoo.org>
45887
45888 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45889 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45890 to _start.
03592fc7 45891
6a5ee102
UD
458922011-03-06 Ulrich Drepper <drepper@gmail.com>
45893
45894 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45895 to-be-loaded object along a path to loader is ld.so.
45896
7e4ba49c
HJ
458972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45898 Ulrich Drepper <drepper@gmail.com>
45899
45900 * sysdeps/x86_64/memset.S: After aligning destination, code
45901 branches to different locations depending on the value of
45902 misalignment, when multiarch is enabled. Fix this.
45903
459042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45905
45906 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45907 Set _x86_64_preferred_memory_instruction for AMD processsors.
45908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45909 Set bit_Prefer_SSE_for_memop for AMD processors.
45910
13a804de
UD
459112011-03-04 Ulrich Drepper <drepper@gmail.com>
45912
45913 * libio/fmemopen.c (fmemopen): Optimize a bit.
45914
9d25c392
AS
459152011-03-03 Andreas Schwab <schwab@redhat.com>
45916
45917 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45918
a5543c6a
RM
459192011-03-03 Roland McGrath <roland@redhat.com>
45920
45921 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45922
012d35f7
DM
459232011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45924
7e4ba49c 45925 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
45926 __bzero_ultra1 instead of __memset_ultra1.
45927
4bff6e01
AS
459282011-02-23 Andreas Schwab <schwab@redhat.com>
45929 Ulrich Drepper <drepper@gmail.com>
45930
45931 [BZ #12509]
45932 * include/link.h (struct link_map): Add l_orig_initfini.
45933 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45934 returning unsuccessfully.
45935 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45936 close of a file loaded at startup, restore the original l_initfini
45937 list.
45938 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45939 list, store the pointer.
45940 * elf/Makefile ($(objpfx)noload-mem): New rule.
45941 (noload-ENV): Define.
45942 (tests): Add $(objpfx)noload-mem.
45943 * elf/noload.c: Include <memcheck.h>.
45944 (main): Call mtrace. Close all opened handles.
45945
f2092faf
AS
459462011-02-17 Andreas Schwab <schwab@redhat.com>
45947
45948 [BZ #12454]
45949 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45950 dependencies are missing.
45951
6c8a2e88
ST
459522011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45953
f2092faf 45954 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
45955 Hurd needs munmap.
45956 * sysdeps/mach/hurd/ifreq.h: New file.
45957
84a42118
PB
459582011-01-27 Petr Baudis <pasky@suse.cz>
45959 Ulrich Drepper <drepper@gmail.com>
45960
071f805e 45961 [BZ 12445]#
84a42118
PB
45962 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45963 to extend_alloca().
45964 * stdio-common/bug23.c: New file.
45965 * stdio-common/Makefile (tests): Add bug23.
45966
e23fe25b
AS
459672010-09-28 Andreas Schwab <schwab@redhat.com>
45968 Ulrich Drepper <drepper@gmail.com>
45969
45970 [BZ #12489]
45971 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45972 before performing relro protection. At old place add assertion
45973 to make sure nothing changed.
45974
d3f02e10
NS
459752011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45976 Glauber de Oliveira Costa <glommer@gmail.com>
45977
45978 * elf/elf.h: Add new ARM TLS relocs.
45979
d55fd7a5
RA
459802011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45981
45982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45983 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45984 cast from r3.
45985 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45986 'tests' variable.
45987 * sysdeps/wordsize-64/tst-writev.c: New file.
45988
2206397e
RA
459892011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45990
45991 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45992 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45993 insns in _dl_start to prevent a TOC reference before relocs are
45994 resolved.
45995
e9433893
UD
459962011-02-15 Ulrich Drepper <drepper@gmail.com>
45997
45998 [BZ #12469]
45999 * Makeconfig: Remove RANLIB definition.
46000 * Makerules: Don't use RANLIB.
46001 * aclocal.m4: Remove ranlib test.
46002 * configure.in: No need to check for ranlib.
46003 * elf/rtld-Rules: Don't use RANLIB.
46004
f75286c6
ST
460052011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46006
8e31c82d
ST
46007 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46008 protection macro.
46009 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46010 inclusion protection macro.
46011
f75286c6
ST
46012 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46013 SIGRTMIN and SIGRTMAX and print information in that case only when
46014 SIGRTMIN is defined.
46015
c1d0e639
JJ
460162011-02-11 Jakub Jelinek <jakub@redhat.com>
46017
46018 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46019 arginfo fn returning -1.
46020
46021 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46022 and thousands string is zero terminated.
46023
edf9294e
AS
460242011-02-03 Andreas Schwab <schwab@redhat.com>
46025
46026 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46027 sysdeps/unix/sysv/linux/bits/socket.h.
46028
2b7e92df
ST
460292011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46030
edf9294e
AS
46031 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46032 (__CPU_COUNT): Remove old macros.
46033 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46034 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46035 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
46036 (__sched_cpualloc, __sched_cpufree): Add declarations.
46037
a4c7ea7b
UD
460382011-02-05 Ulrich Drepper <drepper@gmail.com>
46039
46040 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46041 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46042 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46043 (readdhstai): Return value of addhstaiX call.
46044 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46045 (addgrbyX): Return value returned by cache_addgr.
46046 (readdgrbyname): Return value returned by addgrbyX.
46047 (readdgrbygid): Likewise.
46048 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46049 (addpwbyX): Return value returned by cache_addpw.
46050 (readdpwbyname): Return value returned by addhstbyX.
46051 (readdpwbyuid): Likewise.
46052 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46053 (addservbyX): Return value returned by cache_addserv.
46054 (readdservbyname): Return value returned by addservbyX:
46055 (readdservbyport): Likewise.
46056 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46057 (addhstbyX): Return value returned by cache_addhst.
46058 (readdhstbyname): Return value returned by addhstbyX.
46059 (readdhstbyaddr): Likewise.
46060 (readdhstbynamev6): Likewise.
46061 (readdhstbyaddrv6): Likewise.
46062 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46063 (readdinitgroups): Return value returned by addinitgroupsX.
46064 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46065 (prune_cache): Keep track of timeout value of re-added entries.
46066 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46067 * nscd/nscd.h: Adjust prototypes of readd* functions.
46068
a0bf67cc
RM
460692011-02-04 Roland McGrath <roland@redhat.com>
46070
46071 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46072 (nis_stats): Likewise.
46073 * nis/nis_modify.c (nis_modify): Likewise.
46074 * nis/nis_remove.c (nis_remove): Likewise.
46075 * nis/nis_add.c (nis_add): Likewise.
46076
46077 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46078
46079 * posix/fnmatch_loop.c: Add some consts.
46080
46081 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46082
435b95eb
L
460832011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46084
46085 [BZ #12460]
46086 * config.make.in (config-cflags-novzeroupper): Define.
46087 * configure.in: Substitute libc_cv_cc_novzeroupper.
46088 * elf/Makefile (AVX-CFLAGS): Define.
46089 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46090 (CFLAGS-tst-auditmod4a.c): Likewise.
46091 (CFLAGS-tst-auditmod4b.c): Likewise.
46092 (CFLAGS-tst-auditmod6b.c): Likewise.
46093 (CFLAGS-tst-auditmod6c.c): Likewise.
46094 (CFLAGS-tst-auditmod7b.c): Likewise.
46095 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46096
8517b15e
UD
460972011-02-02 Ulrich Drepper <drepper@gmail.com>
46098
46099 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46100 function to the callback.
46101 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46102
10a656fe
AS
461032011-02-02 Andreas Schwab <schwab@redhat.com>
46104
46105 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46106 of errno.
46107
968dad0a
UD
461082011-01-19 Ulrich Drepper <drepper@gmail.com>
46109
9f94d2ea 46110 [BZ #11724]
968dad0a
UD
46111 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46112 of constructors.
46113 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46114 of destructors.
46115 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46116
46117 [BZ #11724]
46118 * elf/Makefile: Add rules to build and run new test.
46119 * elf/tst-initorder.c: New file.
46120 * elf/tst-initorder.exp: New file.
46121 * elf/tst-initordera1.c: New file.
46122 * elf/tst-initordera2.c: New file.
46123 * elf/tst-initordera3.c: New file.
46124 * elf/tst-initordera4.c: New file.
46125 * elf/tst-initorderb1.c: New file.
46126 * elf/tst-initorderb2.c: New file.
46127 * elf/tst-order-a1.c: New file.
46128 * elf/tst-order-a2.c: New file.
46129 * elf/tst-order-a3.c: New file.
46130 * elf/tst-order-a4.c: New file.
46131 * elf/tst-order-b1.c: New file.
46132 * elf/tst-order-b2.c: New file.
46133 * elf/tst-order-main.c: New file.
46134 New test case by George Gensure <werkt0@gmail.com>.
46135
86e92359
UD
461362010-10-01 Andreas Schwab <schwab@redhat.com>
46137
46138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46139 decoding ACE if AI_CANONIDN.
46140
5d5732b0
UD
461412011-01-18 Ulrich Drepper <drepper@gmail.com>
46142
46143 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46144
a77e8cbc
UD
461452011-01-17 Ulrich Drepper <drepper@gmail.com>
46146
6392473f
UD
46147 * version.h (RELEASE): Bump for 2.13 release.
46148 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46149
620a0529
UD
46150 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46151
18ba70a5
UD
46152 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46153 MADV_NOHUGEPAGE.
32465c3e
UD
46154 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46155 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46156 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46157 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46158 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46159 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46160
c0dafcf1
UD
46161 * posix/getconf.c: Update copyright year.
46162 * catgets/gencat.c: Likewise.
46163 * csu/version.c: Likewise.
46164 * debug/catchsegv.sh: Likewise.
46165 * debug/xtrace.sh: Likewise.
46166 * elf/ldconfig.c: Likewise.
46167 * elf/ldd.bash.in: Likewise.
46168 * elf/sprof.c (print_version): Likewise.
46169 * iconv/iconv_prog.c: Likewise.
46170 * iconv/iconvconfig.c: Likewise.
46171 * locale/programs/locale.c: Likewise.
46172 * locale/programs/localedef.c: Likewise.
46173 * malloc/memusage.sh: Likewise.
46174 * malloc/mtrace.pl: Likewise.
46175 * nscd/nscd.c (print_version): Likewise.
46176 * nss/getent.c: Likewise.
46177
a77e8cbc
UD
46178 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46179 PF_CAIF, and PF_ALG.
46180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46181
77e8bddf
AS
461822011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46183
1f20b93a
AS
46184 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46185 (modules-names): Use them.
46186 (ifunc-test-modules, ifunc-pie-tests): Define.
46187 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46188 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46189 (test-extras): Likewise.
46190 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46191 $(compile-command.c).
46192 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46193 (all-built-dso): Define.
46194 (check-textrel.out, check-execstack.out): Depend on it.
46195
77e8bddf
AS
46196 * configure.in: Don't override --enable-multi-arch.
46197
bc425b33
UD
461982011-01-15 Ulrich Drepper <drepper@gmail.com>
46199
46200 [BZ #6812]
46201 * nscd/hstcache.c (tryagain): Define.
46202 (cache_addhst): Return tryagain not notfound for temporary errors.
46203 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46204 failed.
46205
794c3ad3
UD
462062011-01-14 Ulrich Drepper <drepper@gmail.com>
46207
70181fdd
UD
46208 [BZ #10563]
46209 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46210 to make the syscall.
46211 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46212
794c3ad3
UD
46213 [BZ #12378]
46214 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46215 and fall back to matching as normal character if the string ends before
46216 the matching ']' is found. This is what POSIX requires.
46217 * posix/testfnm.c: Adjust test result.
46218 * posix/globtest.sh: Adjust test result. Add new test.
46219 * posix/tst-fnmatch.input: Likewise.
46220 * posix/tst-fnmatch2.c: Add new test.
46221
68dc9497
AS
462222010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46223
46224 * elf/Makefile (check-execstack): Revert last change. Depend on
46225 check-execstack.h.
46226 (check-execstack.h): New target.
46227 (generated): Add check-execstack.h.
46228 * elf/check-execstack.c: Include "check-execstack.h".
46229 (main): Revert last change.
46230 (handle_file): Return zero if GNU_STACK is absent and
46231 DEFAULT_STACK_PERMS doesn't include PF_X.
46232
451f001b
UD
462332011-01-13 Ulrich Drepper <drepper@gmail.com>
46234
cfa28e56
UD
46235 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46236 in child fails because the descriptor is already closed.
8cf8ce17
UD
46237 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46238 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46239 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 46240
1086d70d
UD
46241 [BZ #12397]
46242 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46243 syscall.
46244
451f001b
UD
46245 [BZ #10484]
46246 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46247 temporary buffer used to handle multi lookups locally.
a85b5cb4 46248 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 46249
08769175
UD
462502011-01-12 Ulrich Drepper <drepper@gmail.com>
46251
46252 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46253 loader is ld.so.
46254
5e49c52e
UD
462552011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46256
46257 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46258 alignment for SSE2.
46259
60522a5f
UD
462602011-01-12 Ulrich Drepper <drepper@gmail.com>
46261
46262 [BZ #12394]
46263 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46264 characters. When rounding increased number of integer digits recompute
46265 number of groups.
46266 * stdio-common/tst-grouping.c: New file.
46267 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46268
f257bbd7
UD
462692011-01-09 Ulrich Drepper <drepper@gmail.com>
46270
46271 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46272 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46273
46274 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46275 void.
46276 * bits/select.h: Likewise.
46277
fa9c15cb
UD
462782011-01-08 Ulrich Drepper <drepper@gmail.com>
46279
46280 * po/ja.po: Update from translation team.
46281
16c2895f
DM
462822011-01-04 David S. Miller <davem@sunset.davemloft.net>
46283
46284 [BZ #11155]
46285 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46286 implementation just like for lxstat, fxstatat, et al.
46287
2543fef2
JM
462882010-12-27 Jim Meyering <meyering@redhat.com>
46289
46290 [BZ #12348]
46291 * posix/regexec.c (build_trtable): Return failure indication upon
46292 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46293
98727dbe
UD
462942010-12-25 Ulrich Drepper <drepper@gmail.com>
46295
5bd6dc5c
UD
46296 [BZ #12201]
46297 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46298 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46299 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46300 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46301
97983464
UD
46302 [BZ #12207]
46303 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46304
98727dbe
UD
46305 [BZ #12204]
46306 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46307 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46308
4a531bb0
L
463092010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46310
46311 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46312 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46313 script has SORT_BY_INIT_PRIORITY.
46314 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46315 NO_CTORS_DTORS_SECTIONS is defined.
46316 * elf/soinit.c: Likewise.
46317 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46318 NO_CTORS_DTORS_SECTIONS is defined.
46319 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46320 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46321 * sysdeps/sh/init-first.c: Likewise.
46322 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46323
07eb4b71
UD
463242010-12-24 Ulrich Drepper <drepper@gmail.com>
46325
46326 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46327 always use the slow path.
46328
30950a5f
RA
463292010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46330
46331 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46332 similar rule which adds the sysdep directories to the header search in
46333 order to pick up the correct platform stackinfo.h.
46334 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46335 perform test if it is, otherwise return successfully without testing.
46336 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46337 DEFAULT_STACK_PERMS define in stackinfo.h.
46338 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46339 defined in stackinfo.h.
46340 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46341 DEFAULT_STACK_PERMS defined in stackinfo.h.
46342 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46343 * sysdeps/ia64/stackinfo.h: Likewise.
46344 * sysdeps/s390/stackinfo.h: Likewise.
46345 * sysdeps/sh/stackinfo.h: Likewise.
46346 * sysdeps/sparc/stackinfo.h: Likewise.
46347 * sysdeps/x86_64/stackinfo.h: Likewise.
46348 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46349 PF_X for powerpc64. Retain PF_X for powerpc32.
46350
db753e2c
UD
463512010-12-19 Ulrich Drepper <drepper@gmail.com>
46352
14b697f7
UD
46353 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46354 accurately.
db753e2c
UD
46355 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46356 GETDENTS_64BIT_ALIGNED.
46357
28300719
UD
463582010-12-14 Ulrich Drepper <dreper@gmail.com>
46359
14b697f7 46360 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 46361
4f197237
AS
463622010-12-10 Andreas Schwab <schwab@redhat.com>
46363
dbb0472f
AS
46364 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46365 _GNU_SOURCE.
46366
4f197237
AS
46367 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46368 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46369 Remove __restrict.
46370 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46371 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46372
fb88ac72
UD
463732010-12-09 Ulrich Drepper <drepper@gmail.com>
46374
46375 [BZ #11655]
46376 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46377 are initialized.
46378
42acbb92
JJ
463792010-12-09 Jakub Jelinek <jakub@redhat.com>
46380
46381 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46382
c038d98d
UD
463832010-12-03 Ulrich Drepper <drepper@gmail.com>
46384
46385 * po/it.po: Update from translation team.
46386
3a4a2499
L
463872010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46388
46389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46390 unused codes.
46391
1e24cf6e
UD
463922010-11-30 Ulrich Drepper <drepper@gmail.com>
46393
46394 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46395
a7690819
AS
463962010-11-24 Andreas Schwab <schwab@redhat.com>
46397
46398 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46399 specially.
46400 (gaih_getanswer_slice): Likewise.
46401
3bf8d1b1
JJ
464022010-10-20 Jakub Jelinek <jakub@redhat.com>
46403
46404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46405
6db52fbb
PB
464062010-05-31 Petr Baudis <pasky@suse.cz>
46407
46408 [BZ #11149]
46409 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46410 silently even in the chroot mode.
46411
eaca7569
UD
464122010-11-22 Ulrich Drepper <drepper@gmail.com>
46413
46414 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46415 last patch a bit. Pretty printing
46416
3056dcdb
UD
464172010-05-31 Petr Baudis <pasky@suse.cz>
46418
46419 [BZ #10085]
46420 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46421 initialization of skip_initgroups_dyn.
46422
cf7c9078
UD
464232010-11-19 Ulrich Drepper <drepper@gmail.com>
46424
46425 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46426 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46427
a1fb5e3e
UD
464282010-11-16 Ulrich Drepper <drepper@gmail.com>
46429
46430 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46431
3540d66b
AS
464322010-11-11 Andreas Schwab <schwab@redhat.com>
46433
46434 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46435 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46436 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46437 ($(objpfx)tst-fnmatch-mem): New rule.
46438 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46439 * posix/tst-fnmatch.c (main): Call mtrace.
46440
13b69574
L
464412010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46442
46443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46444 Support Intel processor model 6 and model 0x2c.
46445
da93d214
LM
464462010-11-10 Luis Machado <luisgpm@br.ibm.com>
46447
46448 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46449 signed comparison.
46450
8ca52c6e
L
464512010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46452
46453 [BZ #12205]
46454 * string/test-strncasecmp.c (check_result): New function.
46455 (do_one_test): Use it.
46456 (check1): New function.
46457 (test_main): Use it.
46458 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46459 Support strcasecmp and strncasecmp.
46460
69da074d
UD
464612010-11-08 Ulrich Drepper <drepper@gmail.com>
46462
46463 [BZ #12194]
46464 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46465 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46466
ff02d528
L
464672010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46468
46469 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46470 IFUNC support.
46471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46472 memset-x86-64.
46473 * sysdeps/x86_64/multiarch/bzero.S: New file.
46474 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46475 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46476 * sysdeps/x86_64/multiarch/memset.S: New file.
46477 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46479 Set bit_Prefer_SSE_for_memop for Intel processors.
46480 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46481 Define.
46482 (index_Prefer_SSE_for_memop): Define.
46483 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46484
344d0b54
LM
464852010-11-04 Luis Machado <luisgpm@br.ibm.com>
46486
46487 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46488 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46489
c0dde15b
UD
464902010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46491
46492 [BZ #12191]
46493 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46494 (__x86_64_raw_data_cache_size_half): Likewise.
46495 (__x86_64_raw_shared_cache_size): Likewise.
46496 (__x86_64_raw_shared_cache_size_half): Likewise.
46497
46498 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46499 (__x86_64_raw_data_cache_size_half): Likewise.
46500 (__x86_64_raw_shared_cache_size): Likewise.
46501 (__x86_64_raw_shared_cache_size_half): Likewise.
46502 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46503 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46504 and __x86_64_raw_shared_cache_size_half. Round
46505 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46506 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46507 to multiple of 256 bytes.
46508
0e516e0e
MS
465092010-11-03 Ulrich Drepper <drepper@gmail.com>
46510
46511 [BZ #12167]
46512 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46513 of inacessible symlinks. Verify result of symlink before returning it.
46514 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46515 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46516
0e012e87
ER
465172010-10-28 Erich Ritz <erichritz@gmail.com>
46518
46519 * math/math.h (isinf): Fix typo in comment.
46520
de0ff7bc
UD
465212010-11-01 Ulrich Drepper <drepper@gmail.com>
46522
46523 * po/da.po: Update from translation team.
46524
fa41c84d
UD
465252010-10-26 Ulrich Drepper <drepper@gmail.com>
46526
46527 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46528 is added to the list.
46529
f0967738
AK
465302010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46531 Ulrich Drepper <drepper@gmail.com>
46532
46533 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46534 the global list here. Move code to...
46535 (_dl_add_to_namespace_list): ...here. New function.
46536 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46537 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46538 * elf/dl-load.c (lose): Don't remove the element from the list.
46539 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46540 (_dl_map_object): Likewise.
46541
465422010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
46543
46544 [BZ #12159]
46545 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46546 into all bytes of SSE register.
46547 Patch by Richard Li <richardpku@gmail.com>.
46548
f0967738 465492010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
46550
46551 [BZ #12140]
46552 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46553 perturbing.
46554
d0b9e94f
MB
465552010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46556
46557 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46558 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46559 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46560 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46562 submachine.
46563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46564
8e9f92e9
AS
465652010-10-22 Andreas Schwab <schwab@redhat.com>
46566
46567 * include/dlfcn.h (__RTLD_SECURE): Define.
46568 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46569 mode & __RTLD_SECURE instead.
46570 (open_path): Rename preloaded parameter to secure.
46571 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46572 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46573 * elf/dl-deps.c (openaux): Likewise.
46574 * elf/rtld.c (struct map_args): Remove is_preloaded.
46575 (map_doit): Don't use it.
46576 (dl_main): Likewise.
46577 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46578 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46579
bc96fbda
AS
465802010-09-09 Andreas Schwab <schwab@redhat.com>
46581
46582 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46583 (sysd-rules-targets): Remove duplicates.
46584 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46585 rtld-%.$o dependency.
46586
22cd1c9b
AS
465872010-10-18 Andreas Schwab <schwab@redhat.com>
46588
46589 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46590 _dl_map_object do it.
46591
18edac48
UD
465922010-10-19 Ulrich Drepper <drepper@gmail.com>
46593
46594 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46595 fast fma builtins, define the macros in the C99 standard.
46596 (FP_FAST_FMAF): Likewise.
46597 (FP_FAST_FMAL): Likewise.
46598 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46599
46600 * bits/mathdef.h: Update copyright year.
46601 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46602
d2050124
MM
466032010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46604
46605 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46606 builtins, define the macros in the C99 standard.
46607 (FP_FAST_FMAF): Likewise.
46608 (FP_FAST_FMAL): Likewise.
46609 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46610 multiply/add.
46611 (FP_FAST_FMAF): Likewise.
46612
475facd1
JJ
466132010-10-15 Jakub Jelinek <jakub@redhat.com>
46614
46615 [BZ #3268]
46616 * math/libm-test.inc (fma_test): Some new testcases.
46617 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46618 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46619 y and infinite z. Do multiplication by C already in long double.
46620 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46622 y and infinite z. Do bitwise or of inexact bit into u.d.
46623 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46624 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46625 * sysdeps/i386/fpu/s_fma.S: Removed.
46626 * sysdeps/i386/fpu/s_fmal.S: Removed.
46627
7c08a05c
JJ
466282010-10-16 Jakub Jelinek <jakub@redhat.com>
46629
46630 [BZ #3268]
46631 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46633 computation is not scheduled after fetestexcept. Fix value
46634 of minimum denormal long double.
46635
f3f7372d
JJ
466362010-10-14 Jakub Jelinek <jakub@redhat.com>
46637
46638 [BZ #3268]
46639 * math/libm-test.inc (fma_test): Add some more tests.
46640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46641 correctly.
46642
14d43591
AS
466432010-10-15 Andreas Schwab <schwab@redhat.com>
46644
46645 * scripts/data/localplt-s390-linux-gnu.data: New file.
46646 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46647
5e908464
JJ
466482010-10-13 Jakub Jelinek <jakub@redhat.com>
46649
46650 [BZ #3268]
46651 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46652 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46653 instead of dbl-64.
46654 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46655 inlines.
46656 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46658 if one of x and y is very large and the other is subnormal.
46659 * sysdeps/s390/fpu/s_fmaf.c: New file.
46660 * sysdeps/s390/fpu/s_fma.c: New file.
46661 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46662 * sysdeps/powerpc/fpu/s_fma.S: New file.
46663 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46664 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46665 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46666
466672010-10-12 Jakub Jelinek <jakub@redhat.com>
46668
46669 [BZ #3268]
46670 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46671 fma tests.
46672 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46673 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46674 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46675 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46676 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46677 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46678 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46679
b833d51f
UD
466802010-10-12 Ulrich Drepper <drepper@redhat.com>
46681
46682 [BZ #12078]
46683 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46684 * posix/bug-regex31.input: Add test case.
46685
1751705d
UD
466862010-10-11 Ulrich Drepper <drepper@gmail.com>
46687
e9b9cbf5
UD
46688 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46689 * posix/bug-regex31.input: New file.
46690
46691 [BZ #12078]
46692 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46693 (parse_sub_exp): Fix last change, use postorder.
46694
ef06edbe
UD
46695 * posix/bug-regex31.c: New file.
46696 * posix/Makefile: Add rules to build and run bug-regex31.
46697
a129c80d
UD
46698 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46699
46700 [BZ #12078]
46701 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46702
b76b818e
UD
46703 [BZ #12108]
46704 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46705 to have entries in sys_siglist.
46706
1751705d
UD
46707 [BZ #12093]
46708 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46709 be NULL.
46710
9ff8d36f
JJ
467112010-10-07 Jakub Jelinek <jakub@redhat.com>
46712
46713 [BZ #3268]
46714 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46715 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46716 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46717 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46718 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46719 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46720 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46721 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46722 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46723 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46724 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46725 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46726 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46727 * math/ftestexcept.c (fetestexcept): Likewise.
46728 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46729 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46730 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46731 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46732 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46733 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46734 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46735
af325969
UD
467362010-10-11 Ulrich Drepper <drepper@gmail.com>
46737
c579b202 46738 [BZ #12107]
af325969
UD
46739 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46740 newline.
46741
67a67b95
UD
467422010-10-06 Ulrich Drepper <drepper@gmail.com>
46743
46744 * string/bug-strstr1.c: New file.
46745 * string/Makefile: Add rules to build and run bug-strstr1.
46746
5fb308bc
EB
467472010-10-05 Eric Blake <eblake@redhat.com>
46748
46749 [BZ #12092]
46750 * string/str-two-way.h (two_way_long_needle): Always clear memory
46751 when skipping input due to the shift table.
46752
45db99c7
UD
467532010-10-03 Ulrich Drepper <drepper@gmail.com>
46754
3b111893
UD
46755 [BZ #12005]
46756 * malloc/mcheck.c: Handle large requests.
46757
45db99c7
UD
46758 [BZ #12077]
46759 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46760 for strncmp and strncasecmp.
46761 * string/stratcliff.c: Add tests for strcmp and strncmp.
46762 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46763
cf7a1eb8
NI
467642010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46765
46766 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46767 __set_fpscr.
46768
6484ba5e
AJ
467692010-09-30 Andreas Jaeger <aj@suse.de>
46770
46771 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46772 (CGROUP_SUPER_MAGIC): Define.
46773 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46774 Handle btrfs and cgroup file systems.
46775 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46776 Likewise.
46777
91c42559
LM
467782010-09-27 Luis Machado <luisgpm@br.ibm.com>
46779
46780 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46781 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46782
87a97932
AK
467832010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46784
46785 [BZ #12067]
46786 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46787 trying to locate the ELF header.
46788
c21cc9bc
AS
467892010-09-27 Andreas Schwab <schwab@redhat.com>
46790
46791 [BZ #11611]
46792 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46793 Mask out sign-bit copies when constructing f_fsid.
46794
315970f6
PB
467952010-09-24 Petr Baudis <pasky@suse.cz>
46796
46797 * debug/stack_chk_fail_local.c: Add missing licence exception.
46798 * debug/warning-nop.c: Likewise.
46799
1ac7a2c7
JM
468002010-09-15 Joseph Myers <joseph@codesourcery.com>
46801
46802 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46803 implementing getdents64 using getdents syscall, set d_type if
46804 __ASSUME_GETDENTS32_D_TYPE.
46805
56801c50
AS
468062010-09-16 Andreas Schwab <schwab@redhat.com>
46807
46808 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46809 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46810
dda51327
UD
468112010-09-21 Ulrich Drepper <drepper@redhat.com>
46812
46813 [BZ #12037]
46814 * posix/unistd.h: Undo change of feature selection for ftruncate from
46815 2010-01-11.
46816
8ffcee4a
UD
468172010-09-20 Ulrich Drepper <drepper@redhat.com>
46818
a545ecd9 46819 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
46820 detection.
46821
e24f0a8b
AS
468222010-09-20 Andreas Schwab <schwab@redhat.com>
46823
46824 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46825 fanotify_mark.
46826 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46827
7291c56f
AS
468282010-09-14 Andreas Schwab <schwab@redhat.com>
46829
46830 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46831 variables after CHECK_SP call.
46832 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46833
bc5fb037
AS
468342010-09-13 Andreas Schwab <schwab@redhat.com>
46835 Ulrich Drepper <drepper@redhat.com>
46836
46837 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46838 re-relocationg ld.so.
46839 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46840 _dl_init_paths call.
46841 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46842 here anymore.
46843
e66e7419
UD
468442010-09-14 Ulrich Drepper <drepper@redhat.com>
46845
46846 * resolv/res_init.c (__res_vinit): Count the default server we added.
46847
c044aa75
CLT
468482010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46849 Ulrich Drepper <drepper@redhat.com>
46850
46851 [BZ #11968]
46852 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46853 (____longjmp_chk): Use %ebx for saving value across system call.
46854 Add unwind info.
46855
32cf4069
AS
468562010-09-06 Andreas Schwab <schwab@redhat.com>
46857
46858 * manual/Makefile: Don't mix pattern rules with normal rules.
46859
817328ee
AS
468602010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46861
46862 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46863 operation.
46864 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46865 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46866 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46867 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46869 Likewise.
46870
29fddf61
UD
468712010-09-04 Ulrich Drepper <drepper@redhat.com>
46872
46873 [BZ #11979]
46874 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46875 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46876
0959ffc9
UD
468772010-09-02 Ulrich Drepper <drepper@redhat.com>
46878
46879 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46880 * sysdeps/x86_64/addmul_1.S: Likewise.
46881 * sysdeps/x86_64/lshift.S: Likewise.
46882 * sysdeps/x86_64/mul_1.S: Likewise.
46883 * sysdeps/x86_64/rshift.S: Likewise.
46884 * sysdeps/x86_64/sub_n.S: Likewise.
46885 * sysdeps/x86_64/submul_1.S: Likewise.
46886
ece29840
ST
468872010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46888
0959ffc9
UD
46889 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46890 Define __sched_param instead of SCHED_* and sched_param when
ece29840 46891 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 46892 * bits/sched.h [__need_schedparam]
ece29840 46893 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
46894 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46895 (__defined_schedparam): Define to 1.
ece29840
ST
46896 (__sched_param): New structure, identical to sched_param.
46897 (__need_schedparam): Undefine.
46898
e53a31fe
MF
468992010-08-31 Mike Frysinger <vapier@gentoo.org>
46900
fdc0c10d
MF
46901 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46902 (epoll_create1): Declare.
46903
e53a31fe
MF
46904 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46905
a726d796
AS
469062010-08-31 Andreas Schwab <schwab@redhat.com>
46907
46908 [BZ #7066]
46909 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46910 shifting retval into place.
46911
2f3e3dc7
UD
469122010-09-01 Ulrich Drepper <drepper@redhat.com>
46913
f2933da9
UD
46914 * nis/rpcsvc/nis.h: Update copyright notice.
46915 * nis/rpcsvc/nis.x: Likewise.
46916 * nis/rpcsvc/nis_callback.h: Likewise.
46917 * nis/rpcsvc/nis_callback.x: Likewise.
46918 * nis/rpcsvc/nis_object.x: Likewise.
46919 * nis/rpcsvc/nis_tags.h: Likewise.
46920 * nis/rpcsvc/yp.h: Likewise.
46921 * nis/rpcsvc/yp.x: Likewise.
46922 * nis/rpcsvc/ypupd.h: Likewise.
46923 * nis/yp_xdr.c: Likewise.
46924 * nis/ypupdate_xdr.c: Likewise.
46925
2f3e3dc7
UD
46926 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46927 mainly the body of pmap_getport. Add parameters to specify timeouts.
46928 (pmap_getport): Use __libc_rpc_getport.
46929 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46930 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46931 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46932
f3dcc2f9
AS
469332010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46934
46935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46936 fanotify_mark.
46937
6d34eb5b
RM
469382010-08-27 Roland McGrath <roland@redhat.com>
46939
46940 * sysdeps/i386/i686/multiarch/Makefile
46941 (CFLAGS-varshift.c): New variable.
46942
9ea3de11
UD
469432010-08-27 Ulrich Drepper <drepper@redhat.com>
46944
c96d23fc
UD
46945 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46946 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46947
9ea3de11
UD
46948 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46949
46950 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46951
623aac7f
L
469522010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46953
46954 * sysdeps/x86_64/strlen.S: Unroll the loop.
46955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46956 strlen-sse2 strlen-sse2-bsf.
46957 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46958 __strlen_no_bsf if bit_Slow_BSF is set.
46959 (__strlen_sse42): Removed.
46960 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46961 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46962
8b2b7715
RM
469632010-08-25 Roland McGrath <roland@redhat.com>
46964
46965 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46966 * sysdeps/x86_64/multiarch/varshift.c: New file.
46967 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46968 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46969 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46970 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46971
e73015f2
L
469722010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46973
46974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46975 strlen-sse2 strlen-sse2-bsf.
46976 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46977 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46978 (__strlen_sse2): Removed.
46979 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46980 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46982 bit_Slow_BSF for Atom.
46983 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46984 (index_Slow_BSF): Define.
46985 (HAS_SLOW_BSF): Define.
46986
df24a73e
UD
469872010-08-25 Ulrich Drepper <drepper@redhat.com>
46988
46989 [BZ #10851]
46990 * resolv/res_init.c (__res_vinit): When no server address at all
46991 is given default to loopback.
46992
f2ac4868
RM
469932010-08-24 Roland McGrath <roland@redhat.com>
46994
09055553
RM
46995 * configure.in: Remove config-name.h generation.
46996 * configure: Regenerated.
46997 * config-name.in: File removed.
46998 * scripts/config-uname.sh: New file.
46999 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47000 ($(objdir)config-name.h): New target.
47001
f2ac4868
RM
47002 * sunrpc/rpc_parse.h: Avoid nested comment.
47003
73f27d5e
RH
470042010-08-24 Richard Henderson <rth@redhat.com>
47005 Ulrich Drepper <drepper@redhat.com>
47006 H.J. Lu <hongjiu.lu@intel.com>
47007
47008 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47010 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47011 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47012 _mm_alignr_epi8 with _mm_loadu_si128.
47013 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47014 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47015 (__m128i_shift_right): Removed.
47016 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47017 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47018 * sysdeps/x86_64/multiarch/varshift.h: New file.
47019 * sysdeps/x86_64/multiarch/varshift.S: New file.
47020
84b9230c
MF
470212010-08-21 Mike Frysinger <vapier@gentoo.org>
47022
47023 * configure.in: Move assembler checks to before sysdep dir checking.
47024
9bbd0ddc
PB
470252010-08-20 Petr Baudis <pasky@suse.cz>
47026
47027 * LICENSES: Sync the sunrpc license.
47028
9da4bb31
UD
470292010-08-19 Ulrich Drepper <drepper@redhat.com>
47030
a7ab6ec8
UD
47031 * sunrpc/auth_des.c: Update copyright notice once again.
47032 * sunrpc/auth_none.c: Likewise.
47033 * sunrpc/auth_unix.c: Likewise.
47034 * sunrpc/authdes_prot.c: Likewise.
47035 * sunrpc/authuxprot.c: Likewise.
47036 * sunrpc/bindrsvprt.c: Likewise.
47037 * sunrpc/clnt_gen.c: Likewise.
47038 * sunrpc/clnt_perr.c: Likewise.
47039 * sunrpc/clnt_raw.c: Likewise.
47040 * sunrpc/clnt_simp.c: Likewise.
47041 * sunrpc/clnt_tcp.c: Likewise.
47042 * sunrpc/clnt_udp.c: Likewise.
47043 * sunrpc/clnt_unix.c: Likewise.
47044 * sunrpc/des_crypt.c: Likewise.
47045 * sunrpc/des_soft.c: Likewise.
47046 * sunrpc/get_myaddr.c: Likewise.
47047 * sunrpc/getrpcport.c: Likewise.
47048 * sunrpc/key_call.c: Likewise.
47049 * sunrpc/key_prot.c: Likewise.
47050 * sunrpc/openchild.c: Likewise.
47051 * sunrpc/pm_getmaps.c: Likewise.
47052 * sunrpc/pm_getport.c: Likewise.
47053 * sunrpc/pmap_clnt.c: Likewise.
47054 * sunrpc/pmap_prot.c: Likewise.
47055 * sunrpc/pmap_prot2.c: Likewise.
47056 * sunrpc/pmap_rmt.c: Likewise.
47057 * sunrpc/rpc/auth.h: Likewise.
47058 * sunrpc/rpc/auth_unix.h: Likewise.
47059 * sunrpc/rpc/clnt.h: Likewise.
47060 * sunrpc/rpc/des_crypt.h: Likewise.
47061 * sunrpc/rpc/key_prot.h: Likewise.
47062 * sunrpc/rpc/netdb.h: Likewise.
47063 * sunrpc/rpc/pmap_clnt.h: Likewise.
47064 * sunrpc/rpc/pmap_prot.h: Likewise.
47065 * sunrpc/rpc/pmap_rmt.h: Likewise.
47066 * sunrpc/rpc/rpc.h: Likewise.
47067 * sunrpc/rpc/rpc_des.h: Likewise.
47068 * sunrpc/rpc/rpc_msg.h: Likewise.
47069 * sunrpc/rpc/svc.h: Likewise.
47070 * sunrpc/rpc/svc_auth.h: Likewise.
47071 * sunrpc/rpc/types.h: Likewise.
47072 * sunrpc/rpc/xdr.h: Likewise.
47073 * sunrpc/rpc_clntout.c: Likewise.
47074 * sunrpc/rpc_cmsg.c: Likewise.
47075 * sunrpc/rpc_common.c: Likewise.
47076 * sunrpc/rpc_cout.c: Likewise.
47077 * sunrpc/rpc_dtable.c: Likewise.
47078 * sunrpc/rpc_hout.c: Likewise.
47079 * sunrpc/rpc_main.c: Likewise.
47080 * sunrpc/rpc_parse.c: Likewise.
47081 * sunrpc/rpc_parse.h: Likewise.
47082 * sunrpc/rpc_prot.c: Likewise.
47083 * sunrpc/rpc_sample.c: Likewise.
47084 * sunrpc/rpc_scan.c: Likewise.
47085 * sunrpc/rpc_scan.h: Likewise.
47086 * sunrpc/rpc_svcout.c: Likewise.
47087 * sunrpc/rpc_tblout.c: Likewise.
47088 * sunrpc/rpc_util.c: Likewise.
47089 * sunrpc/rpc_util.h: Likewise.
47090 * sunrpc/rpcinfo.c: Likewise.
47091 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47092 * sunrpc/rpcsvc/key_prot.x: Likewise.
47093 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47094 * sunrpc/rpcsvc/mount.x: Likewise.
47095 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47096 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47097 * sunrpc/rpcsvc/rex.x: Likewise.
47098 * sunrpc/rpcsvc/rstat.x: Likewise.
47099 * sunrpc/rpcsvc/rusers.x: Likewise.
47100 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47101 * sunrpc/rpcsvc/spray.x: Likewise.
47102 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47103 * sunrpc/rtime.c: Likewise.
47104 * sunrpc/svc.c: Likewise.
47105 * sunrpc/svc_auth.c: Likewise.
47106 * sunrpc/svc_authux.c: Likewise.
47107 * sunrpc/svc_raw.c: Likewise.
47108 * sunrpc/svc_run.c: Likewise.
47109 * sunrpc/svc_simple.c: Likewise.
47110 * sunrpc/svc_tcp.c: Likewise.
47111 * sunrpc/svc_udp.c: Likewise.
47112 * sunrpc/svc_unix.c: Likewise.
47113 * sunrpc/svcauth_des.c: Likewise.
47114 * sunrpc/xcrypt.c: Likewise.
47115 * sunrpc/xdr.c: Likewise.
47116 * sunrpc/xdr_array.c: Likewise.
47117 * sunrpc/xdr_float.c: Likewise.
47118 * sunrpc/xdr_mem.c: Likewise.
47119 * sunrpc/xdr_rec.c: Likewise.
47120 * sunrpc/xdr_ref.c: Likewise.
47121 * sunrpc/xdr_sizeof.c: Likewise.
47122 * sunrpc/xdr_stdio.c: Likewise.
47123
9da4bb31
UD
47124 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47125 handling.
47126
bdaa77bc
AS
471272010-08-19 Andreas Schwab <schwab@redhat.com>
47128
47129 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47130
fe2f79db
LM
471312010-08-19 Luis Machado <luisgpm@br.ibm.com>
47132
47133 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47134 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47135 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47136 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47137 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47138 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47139 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47140 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47141 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47142 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47143 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47144 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47145 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47146 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47147
b9b42ee0
AB
471482010-07-26 Anton Blanchard <anton@samba.org>
47149
47150 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47151 * malloc/arena.c (heap_trim): Likewise.
47152
1c06ba31
UD
471532010-08-16 Ulrich Drepper <drepper@redhat.com>
47154
47155 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47156 here. Not...
47157 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47158 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47159
f8392f40
L
471602010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47161
47162 * sysdeps/i386/elf/Makefile: New file.
47163
3162f12e
AS
471642010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47165
47166 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47167 from fanotify_init.
47168 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47169 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47170
28c90b2c
UD
471712010-08-15 Ulrich Drepper <drepper@redhat.com>
47172
47173 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47174 of strncasecmp_l.
1feccb6c 47175 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 47176
ca6bb004
UD
471772010-08-14 Ulrich Drepper <drepper@redhat.com>
47178
e9f82e0d
UD
47179 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47180 strncase_l-nonascii.
47181 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47182 Add strncase_l-ssse3.
47183 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47184 * sysdeps/x86_64/strcmp.S: Likewise.
47185 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47186 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47187 * sysdeps/x86_64/strncase.S: New file.
47188 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47189 * sysdeps/x86_64/strncase_l.S: New file.
47190 * string/Makefile (strop-tests): Add strncasecmp.
47191 * string/test-strncasecmp.c: New file.
47192
47193 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47194 warning.
47195
ca6bb004
UD
47196 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47197 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47198
052fa7b3
AS
471992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47200
47201 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47202
962dba78
UD
472032010-08-12 Ulrich Drepper <drepper@redhat.com>
47204
47205 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47206 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47207 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47208
bebff237
AM
472092010-05-01 Alan Modra <amodra@gmail.com>
47210
47211 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47212 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47213 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47214 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47215 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47216 tidying. Don't tail-call __sigjmp_save for static lib.
47217 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47218 save location.
47219 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47220 (CALL_MCOUNT): Add eh info, and nop after bl.
47221 (TAIL_CALL_SYSCALL_ERROR): New macro.
47222 (PSEUDO_RET): Use it.
47223 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47224 Correct save location of integer regs and cr.
47225 (_dl_profile_resolve): Correct cr save location. Delete nops
47226 after bl when SHARED. Reduce cfi size a little by better
47227 placement of cfi directives.
47228 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47229 make a stack frame. Instead use parm save area as a temp.
47230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47231 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47233 Don't make a stack frame for parent, use parm save area.
47234 Increase child stack frame to 112 bytes. Don't save unused reg,
47235 and adjust reg usage. Set up cfi on error recovery and
47236 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47238 (__makecontext): Add dummy nop after jump to exit.
47239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47240 Use correct parm save area and cr save, reduce stack frame.
47241 Correct cfi for possible PSEUDO_RET frame setup.
47242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47243 Branch to local label emitted by PSEUDO_RET rather than
47244 __syscall_error.
47245
02637374
AS
472462010-08-12 Andreas Schwab <schwab@redhat.com>
47247
47248 [BZ #11904]
47249 * locale/programs/locale.c (print_assignment): New function.
47250 (show_locale_vars): Use it.
47251
c3e2f19b
UD
472522010-08-11 Ulrich Drepper <drepper@redhat.com>
47253
3cdaa6ad
UD
47254 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47255 field.
47256 (struct statfs64): Likewise.
47257 (_STATFS_F_FLAGS): Define.
47258 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47259 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47260 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47261 (ST_VALID): Define locally.
47262 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47263 __statvfs_getflags, use the provided value.
47264 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47265 __ASSUME_STATFS_F_FLAGS.
47266
754f7da3
UD
47267 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47268
10b3bedc
UD
47269 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47270 Add sys/fanotify.h.
47271 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47272 fanotify_mask for GLIBC_2.13.
47273 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47274 fanotify_init and fanotify_mark.
47275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47276 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47277
c08fb0d7
UD
47278 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47279 Add prlimit.
47280 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47281 prlimit64 for GLIBC_2.13.
47282 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47283 prlimit64.
47284 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47285 syscall.
47286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47287 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47288 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47289 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47291 add prlimit alias.
47292 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47293
15bac72b
UD
47294 [BZ #11903]
47295 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47296 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47297
c3e2f19b
UD
47298 * nss/Makefile: Add rules to build and run tst-nss-test1.
47299 * shlib-versions: Add entry for libnss_test1.
47300 * nss/nss_test1.c: New file.
47301 * nss/tst-nss-test1.c: New file.
47302
47303 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47304 (__nss_configure_lookup): Set appropriate entry in
47305 __nss_configure_lookup to true.
47306 * nss/nsswitch.h: Define enum with indeces of databases in
47307 databases and __nss_database_custom arrays. Declare
47308 __nss_database_custom.
47309 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47310 to avoid using nscd when custom rules are installed.
47311 * nss/getXXbyYY_r.c: Likewise.
47312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47313
47314 * nss/nss_files/files-parse.c: Whitespace fixes.
47315
f15ce4d8
UD
473162010-08-09 Ulrich Drepper <drepper@redhat.com>
47317
47318 [BZ #11883]
47319 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47320 * posix/fnmatch_loop.c: Likewise.
47321
d22e4cc9
AK
473222010-07-17 Andi Kleen <ak@linux.intel.com>
47323
47324 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47325 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47326 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47327 * Versions.def [GLIBC_2.13]: Add.
47328
805bc17d
UD
473292010-08-06 Ulrich Drepper <drepper@redhat.com>
47330
47331 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47332 Also fail if tpwd after pwuid call is NULL.
47333
5a42321d
ST
473342010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47335
47336 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47337 when converting to ms.
47338
fd3ebeda
ST
473392010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47340
47341 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47342 EOPNOTSUPP errors with ENOTTY.
47343 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47344 EOPNOTSUPP errors with ENOTTY.
47345
73507d3a
UD
473462010-07-31 Ulrich Drepper <drepper@redhat.com>
47347
47348 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47349 Add strcasecmp_l-ssse3.
47350 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47351 strcasecmp.
47352 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47353 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47354 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47355
fe36dd02
UD
473562010-07-30 Ulrich Drepper <drepper@redhat.com>
47357
66f6765a
UD
47358 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47359
42e08a54
UD
47360 * string/Makefile (strop-tests): Add strcasecmp.
47361 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47362 strcasecmp_l-nonascii.
47363 (gen-as-const-headers): Add locale-defines.sym.
47364 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47365 * sysdeps/x86_64/strcasecmp.S: New file.
47366 * sysdeps/x86_64/strcasecmp_l.S: New file.
47367 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47368 * sysdeps/x86_64/locale-defines.sym: New file.
47369 * string/test-strcasecmp.c: New file.
47370
fe36dd02
UD
47371 * string/test-strcasestr.c: Test both ends of the range of characters.
47372 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47373
48cbc0d6
RM
473742010-07-29 Roland McGrath <roland@redhat.com>
47375
76e6d6bc 47376 [BZ #11856]
48cbc0d6
RM
47377 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47378
880113d9
UD
473792010-07-27 Ulrich Drepper <drepper@redhat.com>
47380
47381 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47382 for ld.so.
47383
deb9cabb
AS
473842010-07-27 Andreas Schwab <schwab@redhat.com>
47385
47386 * manual/memory.texi (Malloc Tunable Parameters): Document
47387 M_PERTURB.
47388
1c7570ff
RM
473892010-07-26 Roland McGrath <roland@redhat.com>
47390
47391 [BZ #11840]
47392 * configure.in (-fgnu89-inline check): Set and substitute
47393 gnu89_inline, not libc_cv_gnu89_inline.
47394 * configure: Regenerated.
47395 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47396
24fb0f88
UD
473972010-07-26 Ulrich Drepper <drepper@redhat.com>
47398
47399 * string/test-strnlen.c: New file.
47400 * string/Makefile (strop-tests): Add strnlen.
47401 * string/tester.c (test_strnlen): Add a few more test cases.
47402 * string/tst-strlen.c: Better error reporting.
47403
47404 * sysdeps/x86_64/strnlen.S: New file.
47405
8e96b93a
UD
474062010-07-24 Ulrich Drepper <drepper@redhat.com>
47407
47408 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47409 lower-latency instructions.
47410
dbc676d4
UD
474112010-07-23 Ulrich Drepper <drepper@redhat.com>
47412
47413 * string/test-strcasestr.c: New file.
47414 * string/test-strstr.c: New file.
47415 * string/Makefile (strop-tests): Add strstr and strcasestr.
47416 * string/str-two-way.h: Don't undefine MAX.
47417 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47418
f6a31e0e
AS
474192010-07-21 Andreas Schwab <schwab@redhat.com>
47420
47421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47422 strcasestr-nonascii.
47423 (CFLAGS-strcasestr-nonascii.c): Define.
47424 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47425 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47426 Remove unused attribute.
47427
5dbc3b6c
RM
474282010-07-20 Roland McGrath <roland@redhat.com>
47429
47430 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47431 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47432 ld.so.cache was broken. With it, there is no way to disable dsocaps
47433 like LD_HWCAP_MASK can disable hwcaps.
47434
23d101d8
EPM
474352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47436
47437 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47438
cc9f2e47
UD
474392010-07-16 Ulrich Drepper <drepper@redhat.com>
47440
47441 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47442 call in strcasestr.
47443 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47444 __strcasestr_sse42_nonascii.
47445 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47446 strcasestr-nonascii.c.
47447 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47448
77c1b069
LM
474492010-06-15 Luis Machado <luisgpm@br.ibm.com>
47450
47451 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47452 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47453 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47454 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47455
440566c3
UD
474562010-07-09 Ulrich Drepper <drepper@redhat.com>
47457
47458 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47459 fcntl.
47460
5be9d05d
AS
474612010-07-06 Andreas Schwab <schwab@redhat.com>
47462
c30b7ee2 47463 [BZ #11577]
5be9d05d
AS
47464 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47465 dl_signal_cerror.
47466
8a492a67
UD
474672010-07-06 Ulrich Drepper <drepper@redhat.com>
47468
47469 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47470 _PC_PIPE_BUF using F_GETPIPE_SZ.
47471
713df3d5
RM
474722010-07-05 Roland McGrath <roland@redhat.com>
47473
47474 * manual/arith.texi (Rounding Functions): Fix rint description
47475 implicit in round description.
47476
702e8f14
UD
474772010-07-02 Ulrich Drepper <drepper@redhat.com>
47478
47479 * elf/Makefile: Fix linking for a few tests to make recent linker
47480 happy.
47481
52ed8be9
AS
474822010-06-30 Andreas Schwab <schwab@redhat.com>
47483
47484 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47485 $(common-objpfx)libc_nonshared.a.
47486
f47c9a11
LM
474872010-06-21 Luis Machado <luisgpm@br.ibm.com>
47488
47489 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47490 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47491 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47492 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47493 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47494 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47495 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47496 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47511 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47512 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47513 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47514 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47515 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47516 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47517 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47518 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47519 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47520 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47521 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47522 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47537
6fb8cbcb
L
475382010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47539
47540 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47541 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47542 * string/memmove.c (memmove): Renamed to ...
47543 (MEMMOVE): ...this. Default to memmove.
47544 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47545 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47546 (END_CHK): Define.
47547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47548 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47549 mempcpy-ssse3-back memmove-ssse3-back.
47550 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47551 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47552 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47553 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47554 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47555 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47556 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47557 * sysdeps/x86_64/multiarch/memmove.c: New file.
47558 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47559 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47560 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47561 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47562 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47563 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47564 Define.
47565 (index_Fast_Copy_Backward): Define.
47566 (HAS_ARCH_FEATURE): Define.
47567 (HAS_FAST_REP_STRING): Define.
47568 (HAS_FAST_COPY_BACKWARD): Define.
47569
4e733bac 475702010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
47571
47572 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47573 Restore proper fallback handling.
47574
63c4ed22
UD
475752010-06-19 Ulrich Drepper <drepper@redhat.com>
47576
ac2b484c
UD
47577 [BZ #11701]
47578 * posix/group_member.c (__group_member): Correct checking loop.
47579
63c4ed22
UD
47580 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47581 OOM in getpwuid_r correctly. Return error number when the caller
47582 should return, otherwise -1.
47583 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47584 call returning > 0 value.
47585 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47586
765ade4b
AS
475872010-06-07 Andreas Schwab <schwab@redhat.com>
47588
47589 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47590 libc_nonshared.a from targets in modules-names.
47591
80da2e09
KS
475922010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47593
47594 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47595 requires it.
47596
158db122
LM
475972010-06-10 Luis Machado <luisgpm@br.ibm.com>
47598
47599 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47600 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47601 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47602 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47603
caa78cf8
AS
476042010-06-02 Andreas Schwab <schwab@redhat.com>
47605
47606 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47607
b2ef2c01
UD
476082010-06-14 Ulrich Drepper <drepper@redhat.com>
47609
47610 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47611 and F_GETPIPE_SZ.
47612 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47613 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47614 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47616 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47617 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47618
fbd643b6
RM
476192010-06-14 Roland McGrath <roland@redhat.com>
47620
47621 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47622
f32f2869
JJ
476232010-06-07 Jakub Jelinek <jakub@redhat.com>
47624
47625 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47626 __REDIRECT followed by __THROW.
47627 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47628 * posix/getopt.h (getopt): Likewise.
47629
2a50c078
EPM
476302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47631
47632 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47633 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47634 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47635 in AT_FLAGS.
47636 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47637 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47638
eb5ad2eb
LM
476392010-05-28 Luis Machado <luisgpm@br.ibm.com>
47640
47641 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47642
3c88fe1e
L
476432010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47644
47645 [BZ #11640]
47646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47647 Properly check family and model.
47648
d2f73151
TY
476492010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47650
47651 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47652
ebd2e13d
LM
476532010-05-24 Luis Machado <luisgpm@br.ibm.com>
47654
47655 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47656
b32b8b45
UD
476572010-05-21 Ulrich Drepper <drepper@redhat.com>
47658
47659 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47660 symbol reference.
47661
9acbe24d
AS
476622010-05-19 Andreas Schwab <schwab@redhat.com>
47663
47664 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47665 symbol reference.
47666
f0ccf6ea
AS
476672010-05-21 Andreas Schwab <schwab@redhat.com>
47668
3d04ff3a
AS
47669 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47670 and internal_recvmmsg.
47671 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47672 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47673 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47674 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47675
f0ccf6ea
AS
47676 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47677 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47678 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47679
5b08ac57
AS
476802010-05-20 Andreas Schwab <schwab@redhat.com>
47681
47682 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47683
4828935d
LM
476842010-05-17 Luis Machado <luisgpm@br.ibm.com>
47685
47686 POWER7 optimizations.
47687 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47688 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47689
373d545e
UD
476902010-05-19 Ulrich Drepper <drepper@redhat.com>
47691
47692 * version.h: Update for 2.13 development version.
47693
21a2b1ae
AS
476942010-05-12 Andrew Stubbs <ams@codesourcery.com>
47695
47696 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47697 exceptions. Return 0.
47698
3f7dcb2b
RM
476992010-05-07 Roland McGrath <roland@redhat.com>
47700
47701 * elf/ldconfig.c (main): Add a const.
47702
5f24d53a 477032010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 47704
a160f8d8
UD
47705 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47706 (args_options): Add no-idn option.
47707 (ahosts_keys_int): Add idn_flags to ai_flags.
47708 (parse_option): Handle 'i' option to clear idn_flags.
47709
5f24d53a
UD
47710 * malloc/malloc.c (_int_free): Possible race in the most recently
47711 added check. Only act on the data if no current modification
47712 happened.
265bb1ce
UD
47713
47714See ChangeLog.17 for earlier changes.