]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
S390: Consolidate NPTL/non versions of vfork
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6ad2df0b
RM
12014-06-26 Roland McGrath <roland@hack.frob.com>
2
39507e4a
RM
3 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5 (__libc_vfork): Define the function under this name.
6 [!NOT_IN_libc] (__vfork): Make this an alias.
7 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10 (__libc_vfork): Define the function under this name.
11 [!NOT_IN_libc] (__vfork): Make this an alias.
12 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18
e549ee56
RM
19 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
20 code that was previously under [RESET_PID].
21 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24
6ad2df0b
RM
25 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
26 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
34 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
36 Moved ...
37 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
39 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
40 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
41 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
43 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
44 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
46 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
47 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
49 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
50 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
51 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
52 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
53 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
54 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
55 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
56 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
57 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
58 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
59 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
60 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
61 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
62 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
63 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
64 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
65 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
66
7c1c1d8e
RM
672014-06-25 Roland McGrath <roland@hack.frob.com>
68
69 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
70 that was previously under [RESET_PID].
71 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
72
3e239be6
JM
732014-06-25 Joseph Myers <joseph@codesourcery.com>
74
74385da5
JM
75 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
76 not undefine and redefine.
77 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
78 [O_CLOEXEC]: Make code unconditional.
79 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
80 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
81 <kernel-features.h>.
82 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
83 conditional variable definition.
84 (shm_open) [O_CLOEXEC]: Make code unconditional.
85 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
86 code.
87
c2570a0b
JM
88 * configure.ac (USE_REGPARMS): Don't define here.
89 * configure: Regenerated.
90 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
91 * sysdeps/i386/configure: Regenerated.
92
11b076bb
JM
93 * nptl/createthread.c: Don't include kernel-features.h.
94 * nptl/pthread_cancel.c: Likewise.
95 * nptl/pthread_condattr_setclock.c: Likewise.
96 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
97 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
98 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
99 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
100 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
101 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
102 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
103 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
104 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
105 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
106 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
107 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
108 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
109 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
110 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
111 * nscd/gai.c: Likewise.
112 * nss/nss_db/db-open.c: Likewise.
113 * sysdeps/generic/ldsodefs.h: Likewise.
114 * sysdeps/sh/nptl/tls.h: Likewise.
115 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
116 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
117 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
118 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
119 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
120 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
121 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
122 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
123 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
124 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
125 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
126 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
127 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
128 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
129 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
130 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
131 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
132 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
133 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
134 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
135 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
136 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
137 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
138 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
139 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
140 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
141 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
142 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
143 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
144 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
145 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
146 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
147 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
148 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
149 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
150 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
151 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
152 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
153 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
154 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
155 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
156 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
157 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
158 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
159 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
160 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
161 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
162 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
163 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
164 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
165 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
166 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
167 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
168 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
169 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
170 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
171 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
172 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
195 * sysdeps/unix/sysv/linux/pread.c: Likewise.
196 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
197 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
198 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
199 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
200 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
201 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
202 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
203 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
204 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
205 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
206 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
207 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
208 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
209 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
210 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
211 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
212 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
213 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
214 * sysdeps/unix/sysv/linux/system.c: Likewise.
215 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
216 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
217 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
218 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
219 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
220 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
221 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
222
92072d57
JM
223 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
224 * configure: Regenerated.
225 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
226
3e239be6
JM
227 * configure.ac (base_machine): Do not set specially for particular
228 machines here.
229 * configure: Regenerated.
230 * sysdeps/powerpc/preconfigure: Move machine and base_machine
231 settings from configure.ac.
232 * sysdeps/i386/preconfigure: New file.
233 * sysdeps/s390/preconfigure: Likewise.
234 * sysdeps/sh/preconfigure: Likewise.
235 * sysdeps/sparc/preconfigure: Likewise.
236
06d50baa
RM
2372014-06-25 Roland McGrath <roland@hack.frob.com>
238
74836003
RM
239 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
240 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
241 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
242 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
243 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
244 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
245 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
246 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
247 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
248 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
249 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
250 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
251 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
252 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
253 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
254 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
255 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
256 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
257 * sysdeps/sparc/sparc64/Makefile: ... appended here.
258
259 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
260 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
261 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
262 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
263 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
264 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
265 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
266 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
267 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
268 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
269 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
270 * sysdeps/sparc/sparc32/sem_post.c: ... here.
271 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
272 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
273 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
274 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
275 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
276 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
277 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
278 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
279 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
280 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
281 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
282 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
283 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
284 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
285 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
286 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
287 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
288 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
289 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
290 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
291 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
292 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
293 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
294 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
295 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
296 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
297
06d50baa
RM
298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
299 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
301 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
303 Moved ...
304 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
305 ... here.
306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
307 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
309 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
311 Moved ...
312 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
314 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
316 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
318 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
320 Moved ...
321 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
323 Moved ...
324 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
326 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
328 Moved ...
329 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
331 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
333 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
335 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
337 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
339 Moved ...
340 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
341 ... here.
342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
343 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
345 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
347 Moved ...
348 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
350 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
352 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
354 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
356 Moved ...
357 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
359 Moved ...
360 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
362 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
364 Moved ...
365 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
367 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
369 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
370
a4ccbc9b
JM
3712014-06-25 Joseph Myers <joseph@codesourcery.com>
372
0828edbf
JM
373 * timezone/checktab.awk: Update from tzcode 2014e.
374 * timezone/private.h: Likewise.
375 * timezone/tzfile.h: Likewise.
376 * timezone/zdump.c: Likewise.
377 * timezone/zic.c: Likewise.
378
a4ccbc9b
JM
379 * sysdeps/unix/sysv/linux/kernel-features.h
380 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
381 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
382 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
383 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
384 Remove conditional code.
385
9aea0cb8
WN
3862014-06-25 Will Newton <will.newton@linaro.org>
387
388 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
389 (_dl_arm_cap_flags): Add HWCAP2 values.
390 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
391 (_DL_HWCAP_COUNT): Increase to 37.
392 (_DL_HWCAP_LAST): New define.
393 (_DL_HWCAP2_LAST): New define.
394 (_dl_procinfo): Add support for printing
395 AT_HWCAP2 entries.
396 (_dl_string_hwcap): Use _dl_hwcap_string.
397
6eaa65ce
AZ
3982014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
399
400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
401
0f5b7185
JM
4022014-06-25 Joseph Myers <joseph@codesourcery.com>
403
cfd2ea50
JM
404 * README: Do not mention ports directory.
405
cecf2ed4
JM
406 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
407 Remove macro.
408 * sysdeps/unix/sysv/linux/futimes.c: Do not include
409 <kernel-features.h>.
410 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
411 conditional variable definition.
412 (__futimes): Update comment.
413 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
414 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
415
a638de82
JM
416 [BZ #16560]
417 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
418 arguments close to 0.
419 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
420 Likewise.
421 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
422 Likewise.
423 * math/auto-libm-test-in: Add more tests of exp10.
424 * math/auto-libm-test-out: Regenerated.
425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
426
0f5b7185
JM
427 * sysdeps/unix/sysv/linux/kernel-features.h
428 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
429 * sysdeps/unix/sysv/linux/readv.c: Do not include
430 <kernel-features.h>.
431 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
432 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
433 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
434 unconditional.
435 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
436 conditional code.
437 * sysdeps/unix/sysv/linux/writev.c: Do not include
438 <kernel-features.h>.
439 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
440 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
441 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
442 unconditional.
443 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
444 conditional code.
445
c7aec4be
WN
4462014-06-25 Will Newton <will.newton@linaro.org>
447
448 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
449 comment changes throughout the file. Remove checks
450 for HAVE_*_H definitions that are not required.
451 (__gen_tempname): Call abort if an unknown kind value is
452 passed.
453
c5241f95
AS
4542014-06-25 Andreas Schwab <schwab@suse.de>
455
456 [BZ #17086]
457 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
458 scalbln, scalblnf, scalblnl in libc.
459
911422da
SP
4602014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
461
462 [BZ #17086]
463 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
464 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
465 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
466
0d749bbe
RM
4672014-06-24 Roland McGrath <roland@hack.frob.com>
468
469 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
470 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
471 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
472 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
473 Update #include.
474 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
475 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
476 Update #include.
477 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
478 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
479 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
480 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
481 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
482 * sysdeps/x86/bits/pthreadtypes.h: ... here.
483 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
484 * sysdeps/x86/bits/semaphore.h: ... here.
485 * sysdeps/x86/nptl/elide.h: Moved ...
486 * sysdeps/x86/elide.h: ... here.
487 * sysdeps/x86_64/nptl/Implies: File removed.
488 * sysdeps/i386/nptl/Implies: File removed.
489
0ea5d373
JM
4902014-06-24 Joseph Myers <joseph@codesourcery.com>
491
4060283d
JM
492 [BZ #16539]
493 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
494 return the argument for normal arguments with exponent below -64.
495 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
496 Likewise.
497 * math/auto-libm-test-in: Add another test of expm1.
498 * math/auto-libm-test-out: Regenerated.
499
e7dd3c8c
JM
500 [BZ #16287]
501 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
502 calling __erfcl for arguments at least 16.
503 * math/auto-libm-test-in: Add more tests of erf.
504 * math/auto-libm-test-out: Regenerated.
505
0ea5d373
JM
506 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
507 individual architectures.
508 * sysdeps/unix/sysv/linux/configure: Regenerated.
509 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
510 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
511 * sysdeps/unix/sysv/linux/powerpc/configure.ac
512 (ldd_rewrite_script): Define variable.
513 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
515 file.
516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
517 generated file.
518 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
519 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
520 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
521 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
522 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
523 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
524 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
525 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
526
2307e126
SP
5272014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
528
529 [BZ #17084]
530 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
531 Rename member __data.d to __data.__elision_data.
532
c0a4ed77
W
5332014-06-24 Wilco <wdijkstr@arm.com>
534
535 * NEWS: Add 16918 to fixed bug list.
536
b8c00573
W
5372014-06-24 Wilco <wdijkstr@arm.com>
538
539 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
540
b5570d92
W
5412014-06-24 Wilco <wdijkstr@arm.com>
542
543 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
544 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
545 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
546 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
547 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
548 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
549 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
550 Use _FPU_MASK_RM.
551
947bdca2
W
5522014-06-24 Wilco <wdijkstr@arm.com>
553
554 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
555
00f669ed
W
5562014-06-24 Wilco <wdijkstr@arm.com>
557
558 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
559 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
560 * sysdeps/arm/fesetround.c (fesetround): Remove space.
561 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
562
db59bad3
W
5632014-06-24 Wilco <wdijkstr@arm.com>
564
565 [BZ #16918]
566 * sysdeps/arm/feupdateenv.c (feupdateenv):
567 Rewrite to reduce FPSCR accesses and fix return value.
568
001f7b77
W
5692014-06-24 Wilco <wdijkstr@arm.com>
570
571 * sysdeps/arm/fclrexcpt.c (feclearexcept):
572 Optimize to avoid unnecessary FPSCR writes.
573 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
574 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
575 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
576 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
577
4841e6a6
W
5782014-06-24 Wilco <wdijkstr@arm.com>
579
580 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
581 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
582 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
583 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
584 Call libc_fetestexcept_vfp.
585 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
586 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
587 __SOFTFP__ ifdef so that they can be built for softfp.
588
0813022c
SP
5892014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
590
08e5862f
SP
591 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
592 argument type signed char.
593
0813022c
SP
594 * Makerules (check-abi): Dump diff of symlist if the test
595 fails.
596
3fc7236a
RM
5972014-06-23 Roland McGrath <roland@hack.frob.com>
598
aba8ef95
RM
599 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
600 using abort.
601
3fc7236a
RM
602 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
603 Remove unused variable ST.
604
4da6db51
JM
6052014-06-23 Joseph Myers <joseph@codesourcery.com>
606
4648909d
JM
607 [BZ #16354]
608 [BZ #17061]
609 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
610 small arguments before calling __expm1.
611 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
612 small arguments before calling __expm1f.
613 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
614 small arguments before calling __expm1l.
615 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
616 Likewise.
617 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
618 * math/auto-libm-test-in: Add more cosh tests. Do not allow
619 spurious underflow for some cosh tests.
620 * math/auto-libm-test-out: Regenerated.
621 * sysdeps/i386/fpu/libm-test-ulps: Update.
622
46a3d3c7
JM
623 [BZ #17050]
624 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
625 (__ieee754_y1): Set errno if return value overflows.
626 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
627 (__ieee754_y1f): Set errno if return value overflows.
628 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
629 (__ieee754_y1l): Set errno if return value overflows.
630 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
631 (__ieee754_y1l): Set errno if return value overflows.
632 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
633 * math/auto-libm-test-out: Regenerated.
634
863893ec
JM
635 * math/gen-auto-libm-tests.c: Document use of
636 ignore-zero-inf-sign.
637 (input_flag_type): Add value flag_ignore_zero_inf_sign.
638 (input_flags): Add ignore-zero-inf-sign.
639 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
640 * math/gen-libm-test.pl (generate_testfile): Handle
641 ignore-zero-inf-sign.
642 * math/auto-libm-test-in: Mark some cpow tests with
643 ignore-zero-inf-sign and some with xfail-rounding.
644 * math/auto-libm-test-out: Regenerated.
645 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
646 * sysdeps/i386/fpu/libm-test-ulps: Update.
647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
648
4da6db51
JM
649 [BZ #16315]
650 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
651 overflowing or underflowing operations take place with sign of
652 result.
653 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
654 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
655 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
656 (__ieee754_pow): Recompute overflowing and underflowing results in
657 original rounding mode.
658 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
659 (__powl_helper): Allow negative argument X and scale negated value
660 as needed. Avoid passing value outside [-1, 1] to f2xm1.
661 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
662 overflowing or underflowing operations take place with sign of
663 result.
664 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
665 Include <math.h>.
666 * math/auto-libm-test-in: Add more tests of pow.
667 * math/auto-libm-test-out: Regenerated.
668 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
669 (pow_tonearest_test_data): Remove.
670 (pow_test_tonearest): Likewise.
671 (pow_towardzero_test_data): Likewise.
672 (pow_test_towardzero): Likewise.
673 (pow_downward_test_data): Likewise.
674 (pow_test_downward): Likewise.
675 (pow_upward_test_data): Likewise.
676 (pow_test_upward): Likewise.
677 (main): Don't call removed functions.
678 * sysdeps/i386/fpu/libm-test-ulps: Update.
679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
680
5686b236
RM
6812014-06-23 Roland McGrath <roland@hack.frob.com>
682
683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
684 Moved ...
685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
687 Moved ...
688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
690 Moved ...
691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
693 Moved ...
694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
696 File removed.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
698 File removed.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
700 File removed.
701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
702 File removed.
703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
704 File removed.
705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
706 File removed.
707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
708 File removed.
709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
710 File removed.
711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
712 File removed.
713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
714 File removed.
715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
716 File removed.
717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
718 File removed.
719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
720 Moved ...
721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
723 Moved ...
724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
725 ... here.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
727 Moved ...
728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
730 Moved ...
731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
733 Moved ...
734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
736 Moved ...
737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
739 Moved ...
740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
742 Moved ...
743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
745 Moved ...
746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
749 ... here.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
751 Moved ...
752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
754 Moved ...
755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
756 ... here.
757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
758 Moved ...
759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
760 ... here.
761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
762 Moved ...
763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
764 ... here.
765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
766 Moved ...
767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
769 Moved ...
770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
774 Moved ...
775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
776 ... here.
777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
778 Moved ...
779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
780 ... here.
781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
782 Moved ...
783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
785 Moved ...
786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
788 Moved ...
789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
791 Moved ...
792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
794 Moved ...
795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
796 ... here.
797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
798 Moved ...
799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
801 Moved ...
802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
804 Moved ...
805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
807 Moved ...
808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
812 Moved ...
813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
815 Moved ...
816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
818 Moved ...
819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
820 ... here.
821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
822 Moved ...
823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
824 ... here.
825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
826 Moved ...
827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
828 ... here.
829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
830 Moved ...
831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
833 Moved ...
834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
836 Moved ...
837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
839 Moved ...
840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
841 ... here.
842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
843 Moved ...
844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
845 ... here.
846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
847 Moved ...
848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
849 ... here.
850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
851 Moved ...
852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
854 Moved ...
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
856
e6d90d67
WD
8572014-06-23 Will Newton <will.newton@linaro.org>
858 Wilco <wdijkstr@arm.com>
859
860 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
861 implementation. Include get-rounding-mode.h.
862 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
863 [!libc_feholdsetround_noex_ctx]: Define
864 libc_feholdsetround_noex_ctx.
865 [!libc_feholdsetround_noexf_ctx]: Define
866 libc_feholdsetround_noexf_ctx.
867 [!libc_feholdsetround_noexl_ctx]: Define
868 libc_feholdsetround_noexl_ctx.
869 (libc_feholdsetround_ctx): New function.
870 (libc_feresetround_ctx): New function.
871 (libc_feholdsetround_noex_ctx): New function.
872 (libc_feresetround_noex_ctx): New function.
873
d42df555
RM
8742014-06-23 Roland McGrath <roland@hack.frob.com>
875
88a46474
RM
876 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
877 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
878 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
879 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
880 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
881 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
882
15bed472
RM
883 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
884 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
885 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
886 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
887 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
888 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
889 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
890 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
891 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
892 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
893 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
894 Moved ...
895 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
896 ... here.
897 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
898 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
899 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
900 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
901 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
902 Moved ...
903 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
904 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
905 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
906 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
907 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
908 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
909 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
910 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
911 Moved ...
912 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
913 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
914 Moved ...
915 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
916 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
917 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
918 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
919 Moved ...
920 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
922 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
923 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
924 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
925 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
926 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
927 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
928 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
929 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
930 Moved ...
931 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
932 ... here.
933 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
934 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
935 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
936 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
937 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
938 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
939 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
940 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
941 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
942 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
943 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
944 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
945 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
946 Moved ...
947 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
948 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
949 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
950 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
951 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
952 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
953 Moved ...
954 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
955 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
956 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
957 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
958 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
959
d42df555
RM
960 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
961 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
962 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
963 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
964 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
965 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
966 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
967 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
969 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
970 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
971 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
972 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
973 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
974 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
975 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
976 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
977 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
978 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
979 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
980 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
981 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
982 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
984 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
985 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
986 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
987 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
988
76e5216e
JM
9892014-06-23 Joseph Myers <joseph@codesourcery.com>
990
991 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
992 (FALLOC_FL_COLLAPSE_RANGE): New macro.
993 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
994 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
995 (IPV6_PMTUDISC_INTERFACE): Likewise.
996 (IPV6_PMTUDISC_OMIT): Likewise.
997
7a81cbcc
AS
9982014-06-23 Andreas Schwab <schwab@suse.de>
999
1000 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1001 Remove unused errout label.
1002
db224009
AZ
10032014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1004
1005 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1006 macro: hardware supports Vector Crypto instructions.
1007
f393b4aa
WN
10082014-06-23 Will Newton <will.newton@linaro.org>
1009
cc7d0447
WN
1010 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1011 rather than __builtin_expect.
1012
d6d06225
WN
1013 * elf/dl-lookup.c (undefined_msg): Remove variable.
1014 (_dl_lookup_symbol_x): Replace undefined_msg with string
1015 literal.
1016
f393b4aa
WN
1017 * elf/dl-lookup.c (do_lookup_unique): New function.
1018 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1019 to a separate function.
1020
ac60763e
AS
10212014-06-23 Andreas Schwab <schwab@suse.de>
1022
1023 [BZ #17079]
1024 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1025 before reading the next line.
1026
c5c13355
WN
10272014-06-23 Will Newton <will.newton@linaro.org>
1028
1029 * test-skeleton.c (signal_handler): Use printf and %m
1030 rather than perror. Use printf rather than fprintf to
1031 stderr. Use puts rather than fputs to stderr.
1032 (main): Likewise.
1033
bd3675f9
LC
10342014-06-22 Ludovic Courtès <ludo@gnu.org>
1035
1036 * nscd/nscd.c (thread_info_t): Remove typedef.
1037 (thread_info): Remove variable.
1038
d03efb2f
AM
10392014-06-21 Allan McRae <allan@archlinux.org>
1040
1041 * NEWS: Mention CVE-2014-4043.
1042
bc4a86fa
RM
10432014-06-20 Roland McGrath <roland@hack.frob.com>
1044
dc9a54f8
RM
1045 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1046 * nptl/smp.h: ... here.
1047
bd7022c4
RM
1048 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1049
26ffd5e6
RM
1050 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1051 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1052 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1053 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1054
93a6d082
RM
1055 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1056 * nptl/stack-aliasing.h: New file.
1057 * sysdeps/i386/i686/stack-aliasing.h: New file.
1058 * sysdeps/i386/i686/nptl/Makefile: File removed.
1059 * sysdeps/x86_64/stack-aliasing.h: New file.
1060 * sysdeps/x86_64/nptl/Makefile
1061 (CFLAGS-pthread_create.c): Variable removed.
1062
bc4a86fa
RM
1063 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1064 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1065 old file.
1066 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1067 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1068 old file.
1069
2272ffc1
JM
10702014-06-21 Joseph Myers <joseph@codesourcery.com>
1071
1072 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1073 (__ASSUME_SIGFRAME_V2): Remove macro.
1074 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1075 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1076 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1077 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1078 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1079 Declare as function. Remove conditional macro definitions.
1080 (__default_rt_sa_restorer): Likewise.
1081 (__default_sa_restorer_v1): Remove declaration.
1082 (__default_sa_restorer_v2): Likewise.
1083 (__default_rt_sa_restorer_v1): Likewise.
1084 (__default_rt_sa_restorer_v2): Likewise.
1085 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1086 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1087 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1088
4b88139b
RM
10892014-06-20 Roland McGrath <roland@hack.frob.com>
1090
1091 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1092 (libpthread-routines): Add sysdep.
1093 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1094 * sysdeps/unix/sysv/linux/sparc/Versions
1095 (libpthread: GLIBC_2.3.3): New version set.
1096 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1097 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1098 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1100 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1101 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1102 Moved ...
1103 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1104 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1105 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1106 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1107 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1108 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1109 * sysdeps/sparc/nptl/sem_init.c: ... here.
1110 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1111 * sysdeps/sparc/nptl/sem_post.c: ... here.
1112 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1113 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1114 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1115 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1116 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1117 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1118 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1119 (libpthread-routines): Add cpu_relax.
1120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1121 File removed.
1122 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1123 (librt: GLIBC_2.3.3): New version set.
1124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1125 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1126 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1127 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1130 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1132 Moved ...
1133 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1135 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1137 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1139 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1141 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1143 Moved ...
1144 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1145 Update #include.
1146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1147 Moved ...
1148 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1149 Update #include.
1150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1151 Moved ...
1152 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1153 Update #include.
1154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1155 Moved ...
1156 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1157 Update #include.
1158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1159 Moved ...
1160 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1161 Update #include.
1162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1163 Moved ...
1164 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1165 Update #include.
1166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1167 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1169 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1171 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1173 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1175 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1177 Moved ...
1178 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1180 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1182 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1183
d7109027
JM
11842014-06-20 Joseph Myers <joseph@codesourcery.com>
1185
9bc6103d
JM
1186 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1187 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1188 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1189 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1190 * nscd/nscd.c: Likewise.
1191 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1192 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1193 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1194 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1195
d7109027
JM
1196 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1197 <kernel-features.h>.
1198 (init_mq_netlink): Remove conditional have_sock_cloexec
1199 definitions. Remove code conditional on have_sock_cloexec < 0.
1200 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1201 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1202 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1203 <kernel-features.h>.
1204 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1205 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1206
d92d8f8a
L
12072014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1208
1209 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1210 Add tests for memset_chk and memset.
1211
1212 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1213 with AVX2_Usable.
1214
4e6d2347
MR
12152014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1216
257ce712
MR
1217 [BZ #16046]
1218 * elf/tst-dl-iter-static.c: New file.
1219 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1220
4e6d2347
MR
1221 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1222 error.
1223
a2a76afe
JM
12242014-06-20 Joseph Myers <joseph@codesourcery.com>
1225
7fd00f99
JM
1226 * sysdeps/unix/sysv/linux/kernel-features.h
1227 (__ASSUME_F_GETOWN_EX): Remove macro.
1228 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1229 <kernel-features.h>.
1230 (miss_F_GETOWN_EX): Remove variable or macro.
1231 (do_fcntl): Do not check miss_F_GETOWN_EX.
1232 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1233
4a103975
JM
1234 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1235 Remove macro.
1236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1237 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1238 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1239
a2a76afe
JM
1240 * sysdeps/unix/sysv/linux/kernel-features.h
1241 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1242 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1243 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1244 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1245
90e5dd48
MR
12462014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1247
1248 [BZ #17075]
1249 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1250 Fix calculation of the symbol's value.
1251 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1252 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1253 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1254 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1255 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1256 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1257 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1258 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1259 (modules-names): Add `tst-armtlsdescmod',
1260 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1261 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1262 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1263 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1264 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1265 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1266 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1267 ($(objpfx)tst-armtlsdescloc): New dependency.
1268 ($(objpfx)tst-armtlsdescextnow): Likewise.
1269 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1270 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1271 TLS scheme support.
1272 * sysdeps/arm/configure: Regenerate.
1273
809fdf0d
JM
12742014-06-20 Joseph Myers <joseph@codesourcery.com>
1275
1276 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1277 (__atfct_seterrno_2): Likewise.
1278 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1279 <kernel-features.h>.
1280 (__ASSUME_ATFCTS): Do not undefine and redefine.
1281 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1282 (__have_atfcts): Remove conditional definition.
1283 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1284 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1285 unreachable if [__ASSUME_ATFCTS].
1286 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1287 not undefine and redefine.
1288 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1289 <kernel-features.h>.
1290 (faccessat) [__NR_faccessat]: Make code unconditional.
1291 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1292 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1293 <kernel-features.h>.
1294 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1295 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1296 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1297 <kernel-features.h>.
1298 (fchownat) [__NR_fchownat]: Make code unconditional.
1299 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1300 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1301 <kernel-features.h>.
1302 (futimesat) [__NR_futimesat]: Make code unconditional.
1303 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1304 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1305 <kernel-features.h>.
1306 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1307 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1308 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1309 <kernel-features.h>.
1310 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1311 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1312 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1313 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1314 <kernel-features.h>.
1315 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1316 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1317 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1318 <kernel-features.h>.
1319 (linkat) [__NR_linkat]: Make code unconditional.
1320 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1321 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1322 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1323 <kernel-features.h>.
1324 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1325 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1326 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1327 <kernel-features.h>.
1328 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1329 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1330 * sysdeps/unix/sysv/linux/openat.c: Do not include
1331 <kernel-features.h>.
1332 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1333 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1334 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1335 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1336 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1337 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1338 <kernel-features.h>.
1339 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1340 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1341 result of INLINE_SYSCALL directly, not via int variable.
1342 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1343 <kernel-features.h>.
1344 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1345 (renameat) [__NR_renameat]: Make code unconditional.
1346 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1347 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1348 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1349 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1350 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1351 (__ASSUME_ATFCTS): Do not undefine and redefine.
1352 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1353 <kernel-features.h>.
1354 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1355 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1356 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1357 <kernel-features.h>.
1358 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1359 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1360 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1361 (__ASSUME_ATFCTS): Do not undefine and redefine.
1362 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1363 <kernel-features.h>.
1364 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1365 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1366 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1367 <kernel-features.h>.
1368 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1369 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1370
224c6c51
L
13712014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1372
1373 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1374
aa6ec754
AS
13752014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1376
1377 [BZ #17069]
1378 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1379 constructed tree before returning error.
1380 * posix/bug-regexp36.c: Expand test case.
1381
d8c2869d
SL
13822014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1383
3ef6b850
SL
1384 [BZ #6803]
1385 * math/libm-test.inc (scalbln_test_date):
1386 Add errno expectations.
1387 * math/w_scalblnf.c: New File.
1388 Add wrapper which checks for setting errno to ERANGE.
1389 Add weak_alias for corresponding scalbln function.
1390 * math/w_scalbln.c: Likewise.
1391 * math/w_scalblnl.c: Likewise.
1392 * math/Makefile (libm-calls): Add w_scalbln.
1393 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1394 Remove weak_alias for corresponding scalbln function.
1395 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1397 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1398 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1399 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1400 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1401 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1402 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1403 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1404 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1405 Remove long_double_symbol for scalblnl function in libm, libc.
1406 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1407 Add wrapper which checks for setting errno to ERANGE.
1408 Add long_double_symbol for scalblnl function in libm, libc.
1409 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1410 Remove long_double_symbol for scalblnl in libm.
1411 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1412 Add wrapper which checks for setting errno to ERANGE.
1413 Add long_double_symbol for scalblnl function in libm.
1414 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1415 Do not use wrapper because of own implementation.
1416
c8daec5c
L
14172014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1418
1419 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1420 3 bytes for __pad1 for x32.
1421 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1422
5c74e47c
LM
14232014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1424 H.J. Lu <hongjiu.lu@intel.com>
1425
1426 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1427 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1428 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1429 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1430 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1431
4d43ef1e
AS
14322014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1433
1434 [BZ #17069]
1435 * posix/regcomp.c (parse_expression): Deallocate partially
1436 constructed tree before returning error.
1437 * posix/Makefile.c (tests): Add bug-regex36.
1438 (generated): Add bug-regex36.mtrace.
1439 (tests-special): Add $(objpfx)bug-regex36-mem.out
1440 (bug-regex36-ENV): New variable.
1441 ($(objpfx)bug-regex36-mem.out): New rule.
1442 * posix/bug-regex36.c: New file.
1443
51a7380b
WN
14442014-06-19 Will Newton <will.newton@linaro.org>
1445
1446 * malloc/malloc.c (systrim): If extra is zero then return
1447 early.
1448
91b84fe5
SP
14492014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1450
1451 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1452
f940b965
RE
14532014-06-19 Richard Earnshaw <rearnsha@arm.com>
1454
1455 * sysdeps/aarch64/strchr.S: New file.
1456
4ba7a00f
JM
14572014-06-18 Joseph Myers <joseph@codesourcery.com>
1458
1459 [BZ #17022]
1460 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1461 from arguments -2 or below.
1462 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1463 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1464
b3a9f56b
AS
14652014-06-18 Andreas Schwab <schwab@suse.de>
1466
1467 [BZ #17062]
1468 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1469 of a bracket expr not to run off the end of the string.
1470 * posix/Makefile (tests): Add tst-fnmatch3.
1471 * posix/tst-fnmatch3.c: New file.
1472
85d89278
JM
14732014-06-18 Joseph Myers <joseph@codesourcery.com>
1474
1475 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1476 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1477 [$(cross-compiling) = no]: Likewise.
1478 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1479 [$(cross-compiling) = no]: Likewise.
1480
754c5a08
RS
14812014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1482
1483 [BZ #17031]
1484 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1485 double, adjusted for any remainder from the high double.
1486 * math/libm-test.inc (nearbyint): Add tests.
1487 (rint): Likewise.
1488
556f529d
AZ
14892014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1490
1491 * nptl/sysdeps/powerpc/Makefile: Moved ...
1492 * sysdeps/powerpc/nptl/Makefile: ... here.
1493 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1494 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1495 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1496 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1497 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1498 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1499 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1500 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1501 * nptl/sysdeps/powerpc/tls.h: Moved ...
1502 * sysdeps/powerpc/nptl/tls.h: ... here.
1503
91c03c53
JM
15042014-06-16 Joseph Myers <joseph@codesourcery.com>
1505
1506 [BZ #16681]
1507 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1508 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1509 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1510 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1511 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1512 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1513 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1514 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1515 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1516
a76e63c5
AS
15172014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1518
1519 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1520
f2f6d82f
AS
15212014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1522
ea8a15f6
AS
1523 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1524 defined operator.
1525
f2f6d82f
AS
1526 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1527 $TIMEOUTFACTOR.
1528
a7291117
FW
15292014-06-16 Florian Weimer <fweimer@redhat.com>
1530
1531 [BZ #17058]
1532 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1533 non-executed part of the test.
1534
3d7c00e3
AS
15352014-06-16 Andreas Schwab <schwab@suse.de>
1536
1537 * string/bits/string2.h (strdup, strndup): Update feature guard.
1538
6957fb31
DM
15392014-06-14 David S. Miller <davem@davemloft.net>
1540
1541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1542
11b9e55b
AS
15432014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1544
1d2a0492
AS
1545 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1546 that was previously under [RESET_PID].
1547 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1548
11b9e55b
AS
1549 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1550 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1551 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1552 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1553 (__libc_vfork): New strong alias.
1554 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1555
0f6901d0
AK
15562014-06-14 Andi Kleen <ak@linux.intel.com>
1557
1558 * sysdeps/generic/elide.h: New file.
1559
38bbbb9f
SL
15602014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1561
1562 * Makefile (installed-headers): Adjust path of pthread.h header.
1563
45193bb8
RM
15642014-06-13 Roland McGrath <roland@hack.frob.com>
1565
9a25fd1e
RM
1566 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1567 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1568 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1569 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1570
4004f7e4
RM
1571 * nptl/sysdeps/s390/Makefile: Moved ...
1572 * sysdeps/s390/nptl/Makefile: ... here.
1573 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1574 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1575 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1576 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1577 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1578 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1579 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1580 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1581 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1582 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1583 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1584 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1585 * nptl/sysdeps/s390/tls.h: Moved ...
1586 * sysdeps/s390/nptl/tls.h: ... here.
1587
45193bb8
RM
1588 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1589 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1590
f6fdf533
DM
15912014-06-13 David S. Miller <davem@davemloft.net>
1592
1593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1596 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1600 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1601 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1602 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1603 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1604 Remove RESET_PID cpp guards.
1605 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1606 Remove RESET_PID cpp guards.
1607 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1608
f5d71e14
AS
16092014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1610
1611 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1612 __sp to uintptr_t.
1613
b7aa8caa
AK
16142014-06-13 Andi Kleen <ak@linux.intel.com>
1615
4b266200
AZ
1616 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1617 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1618 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1619 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1620 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1621 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1622 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1623 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1624 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1626 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1627 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1628 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1629 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1630 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1631 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1632 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1633 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1634 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1635 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
1636
1637 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
1638 (pthread_rwlock_rdlock): Add elision.
1639 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1640 (pthread_rwlock_wrlock): Add elision.
1641 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1642 (pthread_rwlock_trywrlock): Add elision.
1643 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1644 (pthread_rwlock_tryrdlock): Add elision.
1645 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1646 (pthread_rwlock_tryrdlock): Add elision unlock.
1647 * nptl/sysdeps/pthread/pthread.h:
1648 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1649 (PTHREAD_RWLOCK_INITIALIZER,
1650 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1651 Handle new elision field.
1652 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1653 * sysdeps/arm/nptl/bits/pthreadtypes.h
1654 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1655 * sysdeps/sh/nptl/bits/pthreadtypes.h
1656 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1657 * sysdeps/tile/nptl/bits/pthreadtypes.h
1658 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1659 * sysdeps/a/nptl/bits/pthreadtypes.h
1660 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1661 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1662 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1663 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1664 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1665 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1666 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1667 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1668 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1669 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1670 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1671 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1672 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1673 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1674 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1675 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1676 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1677 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1678 (elision_init): Set try_xbegin to zero when no RTM.
1679 * sysdeps/x86/nptl/bits/pthreadtypes.h
1680 (pthread_rwlock_t): Change __pad1 to __rwelision.
1681 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 1682
a832bdd3
AK
16832014-06-13 Andi Kleen <ak@linux.intel.com>
1684
1685 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1686 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1687 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1688 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1689
995a46bb
MI
16902014-06-13 Meador Inge <meadori@codesourcery.com>
1691
1692 [BZ #16996]
03ed7738 1693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
1694 that the cached result has been set before returning it.
1695
45262aee
RM
16962014-06-12 Roland McGrath <roland@hack.frob.com>
1697
febf6cc5
RM
1698 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1699 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1701 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1703 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1704
e2682246
RM
1705 * nptl/sysdeps/sparc/Makefile: Moved ...
1706 * sysdeps/sparc/nptl/Makefile: ... here.
1707 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1708 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1709 * nptl/sysdeps/sparc/tls.h: Moved ...
1710 * sysdeps/sparc/nptl/tls.h: ... here.
1711 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1712 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1713 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1714 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1715 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1716 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1717 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1718 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1719 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1720 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1721 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1722 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1723 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1724 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1725 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1726 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1727 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1728 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1729 Update #include.
1730 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1731 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1732 Update #include.
1733 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1734 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1735 Update #include.
1736 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1737 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1738 Update #include.
1739
b0725f43
RM
1740 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1741
b14368b8
RM
1742 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1743 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1744
c5620eb3
RM
1745 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1746 (struct list_links): Type removed.
1747 (struct thread_node, struct timer_node): Replace struct list_links
1748 with struct list_head.
1749 (list_unlink_ip): Likewise.
1750 * sysdeps/pthread/timer_routines.c
1751 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1752 (list_append, list_insbefore): Likewise.
1753 (list_init): Function removed.
1754 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
1755 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1756 * sysdeps/pthread/Makefile: ... here, new file.
1757
1758 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1759 * sysdeps/nptl/Implies: ... here.
1760 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1761 * nptl/sysdeps/pthread/list.h: Moved ...
1762 * include/list.h: ... here.
1763 * nptl/sysdeps/pthread/createthread.c: Moved ...
1764 * nptl/createthread.c: ... here.
1765 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1766 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1767 * nptl/pt-longjmp.c: ... here.
1768 * nptl/sysdeps/pthread/Makefile: Moved ...
1769 * sysdeps/nptl/Makefile: ... here.
1770 * nptl/sysdeps/pthread/Subdirs: Moved ...
1771 * sysdeps/nptl/Subdirs: ... here.
1772 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1773 * sysdeps/nptl/aio_misc.h: ... here.
1774 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1775 * sysdeps/nptl/bits/libc-lock.h: ... here.
1776 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1777 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1778 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1779 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1780 * nptl/sysdeps/pthread/configure: Moved ...
1781 * sysdeps/nptl/configure: ... here.
1782 * nptl/sysdeps/pthread/configure.ac: Moved ...
1783 * sysdeps/nptl/configure.ac: ... here.
1784 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1785 * sysdeps/nptl/gai_misc.h: ... here.
1786 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1787 * sysdeps/nptl/librt-cancellation.c: ... here.
1788 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1789 * sysdeps/nptl/malloc-machine.h: ... here.
1790 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1791 * sysdeps/nptl/pthread-functions.h: ... here.
1792 * nptl/sysdeps/pthread/pthread.h: Moved ...
1793 * sysdeps/nptl/pthread.h: ... here.
1794 * nptl/sysdeps/pthread/setxid.h: Moved ...
1795 * sysdeps/nptl/setxid.h: ... here.
1796 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1797 * sysdeps/nptl/sigfillset.c: ... here.
1798 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1799 * sysdeps/nptl/tcb-offsets.h: ... here.
1800 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1801 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1802 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1803 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1804 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1805 * sysdeps/pthread/allocalim.h: ... here.
1806 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1807 * sysdeps/pthread/bits/sigthread.h: ... here.
1808 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1809 * sysdeps/pthread/flockfile.c: ... here.
1810 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1811 * sysdeps/pthread/ftrylockfile.c: ... here.
1812 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1813 * sysdeps/pthread/funlockfile.c: ... here.
1814 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1815 * sysdeps/pthread/posix-timer.h: ... here.
1816 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1817 * sysdeps/pthread/timer_create.c: ... here.
1818 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1819 * sysdeps/pthread/timer_delete.c: ... here.
1820 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1821 * sysdeps/pthread/timer_getoverr.c: ... here.
1822 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1823 * sysdeps/pthread/timer_gettime.c: ... here.
1824 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1825 * sysdeps/pthread/timer_routines.c: ... here.
1826 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1827 * sysdeps/pthread/timer_settime.c: ... here.
1828 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1829 * sysdeps/pthread/tst-timer.c: ... here.
1830 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1831 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1832
e876b090
RM
1833 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1834 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1835
f6b07b3d
RM
1836 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1837 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1838 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1839 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1840 Update #include target.
1841 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1842 * sysdeps/i386/i686/nptl/Makefile: ... here.
1843 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1844 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1845 Update #include target.
1846 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1847 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1848 * nptl/sysdeps/i386/Makefile: Moved ...
1849 * sysdeps/i386/nptl/Makefile: ... here.
1850 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1851 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1852 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1853 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1854 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1855 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1856 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1857 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1858 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1859 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1860 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1861 * nptl/sysdeps/i386/tls.h: Moved ...
1862 * sysdeps/i386/nptl/tls.h: ... here.
1863
45262aee
RM
1864 * sysdeps/sh/Makefile [$(subdir) = csu]
1865 (gen-as-const-headers): Add tcb-offsets.sym.
1866 * nptl/sysdeps/sh/Makefile: File removed.
1867 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1868 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1869 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1870 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1871 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1872 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1873 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1874 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1875 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1876 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1877 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1878 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1879 * nptl/sysdeps/sh/tls.h: Moved ...
1880 * sysdeps/sh/nptl/tls.h: ... here.
1881 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1882 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1883 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1884 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1885 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1886 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1887 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1888 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1889 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1890 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1891 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1892 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1893 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1894 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1895 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1896 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1897 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1898 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1900 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1902 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1904 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1906 Moved ...
1907 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1908 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1909 Moved ...
1910 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1912 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1914 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1916 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1918 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1919 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1920 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1921 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1922 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1923 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1924 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1925 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1926 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1927 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1928 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1929
35a5e3e3
SL
19302014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1931
1932 * posix/spawn_faction_addopen.c: Include string.h.
1933
14642b85
RM
19342014-06-11 Roland McGrath <roland@hack.frob.com>
1935
1936 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1937 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1938 * nptl/sysdeps/x86_64/Makefile: Moved ...
1939 * sysdeps/x86_64/nptl/Makefile: ... here.
1940 * nptl/sysdeps/x86_64/configure: Moved ...
1941 * sysdeps/x86_64/nptl/configure: ... here.
1942 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1943 * sysdeps/x86_64/nptl/configure.ac: ... here.
1944 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1945 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1946 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1947 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1948 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1949 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1950 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1951 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1952 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1953 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1954 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1955 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1956 * nptl/sysdeps/x86_64/tls.h: Moved ...
1957 * sysdeps/x86_64/nptl/tls.h: ... here.
1958 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1959 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1960 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1961 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1962
1963 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1964
31c44fea
AZ
19652014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1966
1967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1968
e81a4f9a
JM
19692014-06-11 Joseph Myers <joseph@codesourcery.com>
1970
1971 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1972 type.
1973 [POSIX] (off_t): Likewise.
1974 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1975 [POSIX] (S_ISBLK): Require macro.
1976 [POSIX] (S_ISCHR): Likewise.
1977 [POSIX] (S_ISDIR): Likewise.
1978 [POSIX] (S_ISFIFO): Likewise.
1979 [POSIX] (S_ISREG): Likewise.
1980 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1981 optional-macro.
1982 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1983 type.
1984 [POSIX] (time_t): Likewise.
1985 [POSIX] (timer_t): Likewise.
1986
89e435f3
FW
19872014-06-11 Florian Weimer <fweimer@redhat.com>
1988
1989 [BZ #17048]
1990 * posix/spawn_int.h (struct __spawn_action): Make the path string
1991 non-const to support deallocation.
1992 * posix/spawn_faction_addopen.c
1993 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1994 * posix/spawn_faction_destroy.c
1995 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1996 path in all spawn_do_open actions.
1997 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1998 posix_spawn_file_actions_addopen.
1999
c3a2ebe1
CM
20002014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2001
2002 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2003 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2004 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2005 conditional code always true.
2006 (__libc_vfork): New alias.
2007
9503784a
RM
20082014-06-11 Roland McGrath <roland@hack.frob.com>
2009
c9cab3d2
RM
2010 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2011 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2012
d3996c79
RM
2013 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2014
ba5ec611
RM
2015 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2016 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2017
f12b4814
RM
2018 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2019 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2020
9503784a
RM
2021 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2022 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2023
e23d3d26
VR
20242014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2025
2026 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2027 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2028 multiarch strcmp for PPC64.
2029 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2030 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2032 multiarch optimizations.
2033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2034 (__libc_ifunc_impl_list): Likewise.
2035
42b1161e
SP
20362014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2037
2038 * benchtests/scripts/validate_benchout.py: New script.
2039 * benchtests/Makefile (bench-func): Call it.
2040 * benchtests/scripts/benchout.schema.json: New file.
2041
2d0fc4dc
CM
20422014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2043
4a594c34
AZ
2044 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2045 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2046 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2047 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2048 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2049 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2050 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2051 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2052 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2053 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2054 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2055 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2056 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2057 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2058 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2059 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 2061 Moved ...
4a594c34 2062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 2063 ... here.
4a594c34 2064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 2065 Moved ...
4a594c34
AZ
2066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 2068 Moved ...
4a594c34 2069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 2070 ... here.
4a594c34 2071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 2072 Moved ...
4a594c34 2073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 2074 ... here.
4a594c34 2075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 2076 Moved ...
4a594c34
AZ
2077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 2079 Moved ...
4a594c34 2080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 2081 ... here.
4a594c34 2082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 2083 Moved ...
4a594c34 2084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 2085 ... here.
4a594c34 2086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 2087 Moved ...
4a594c34
AZ
2088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 2090 Moved ...
4a594c34 2091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 2092 ... here.
4a594c34 2093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 2094 Moved ...
4a594c34 2095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 2096 ... here.
4a594c34 2097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 2098 Moved ...
4a594c34 2099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 2100 ... here.
4a594c34 2101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 2102 Moved ...
4a594c34
AZ
2103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 2105 Moved ...
4a594c34 2106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 2107 ... here.
4a594c34 2108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 2109 Moved ...
4a594c34 2110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 2111 ... here.
4a594c34 2112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 2113 Moved ...
4a594c34 2114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 2115 ... here.
4a594c34 2116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 2117 Moved ...
4a594c34
AZ
2118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 2120 Moved ...
4a594c34 2121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 2122 ... here.
4a594c34 2123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 2124 Moved ...
4a594c34 2125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 2126 ... here.
4a594c34 2127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 2128 Moved ...
4a594c34
AZ
2129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 2131 Moved ...
4a594c34 2132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 2133 ... here.
4a594c34 2134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 2135 Moved ...
4a594c34
AZ
2136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 2138 Moved ...
4a594c34
AZ
2139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 2141 Moved ...
4a594c34 2142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 2143 ... here.
4a594c34 2144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 2145 Moved ...
4a594c34 2146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 2147 ... here.
4a594c34 2148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 2149 Moved ...
4a594c34 2150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 2151 ... here.
4a594c34 2152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 2153 Moved ...
4a594c34
AZ
2154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 2156 Moved ...
4a594c34 2157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 2158 ... here.
4a594c34 2159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 2160 Moved ...
4a594c34 2161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 2162 ... here.
4a594c34
AZ
2163 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2164 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2165 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2166 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2167 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 2168 Moved ...
4a594c34 2169 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 2170 ... here.
4a594c34
AZ
2171 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2172 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2173 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2174 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2175 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2176 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2177 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2178 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2180 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2181 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2182 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2183 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 2184 Moved ...
4a594c34
AZ
2185 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2186 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 2187 Moved ...
4a594c34
AZ
2188 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2190 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2191 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 2192 Moved ...
4a594c34
AZ
2193 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2194 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2195 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2196 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2197 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2198 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2199 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 2200
0570cfed
W
22012014-06-10 Wilco <wdijkstr@arm.com>
2202
2203 * math/test-fenv-return.c: New file.
2204 * math/Makefile: Add new test test-fenv-return.
2205
f8ba1b56
JM
22062014-06-10 Joseph Myers <joseph@codesourcery.com>
2207
2208 [BZ #17042]
2209 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2210 when x - 1 is zero.
2211 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2212 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2213 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2214 0.0L for an argument of 1.0L.
2215 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2216 Likewise.
2217 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2218 value when x - 1 is zero.
2219 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2220 * sysdeps/i386/fpu/libm-test-ulps: Update.
2221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2222
2c3520d9
BO
22232014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2224
2225 [BZ #15119]
2226 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2227
acaa4d24
RM
22282014-06-09 Roland McGrath <roland@hack.frob.com>
2229
2230 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2231 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2232
962b744d
RM
22332014-06-09 Roland McGrath <roland@hack.frob.com>
2234
d752f0cc
RM
2235 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2236 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2237
34eda6d1
RM
2238 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2239 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2240
50f0a637
RM
2241 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2242 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2243
08f41f04
RM
2244 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2245 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2246
962b744d
RM
2247 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2248 if not already defined.
2249 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2250 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2251 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2252 (TLS_INIT_TP): Use it.
2253 (TLS_DEFINE_INIT_TP): New macro.
2254 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2255
09f19b05
JM
22562014-06-09 Joseph Myers <joseph@codesourcery.com>
2257
2258 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2259 constant.
2260 [POSIX] (IXANY): Likewise.
2261 [POSIX] (OLCUC): Likewise.
2262 [POSIX || POSIX2008] (CBAUD): Do not allow.
2263 [POSIX || POSIX2008] (DEFECHO): Likewise.
2264 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2265 [POSIX || POSIX2008] (ECHOKE): Likewise.
2266 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2267 [POSIX || POSIX2008] (EXTA): Likewise.
2268 [POSIX || POSIX2008] (EXTB): Likewise.
2269 [POSIX || POSIX2008] (FLUSHO): Likewise.
2270 [POSIX || POSIX2008] (LOBLK): Likewise.
2271 [POSIX || POSIX2008] (PENDIN): Likewise.
2272 [POSIX || POSIX2008] (SWTCH): Likewise.
2273 [POSIX || POSIX2008] (VDISCARD): Likewise.
2274 [POSIX || POSIX2008] (VDSUSP): Likewise.
2275 [POSIX || POSIX2008] (VLNEXT): Likewise.
2276 [POSIX || POSIX2008] (VREPRINT): Likewise.
2277 [POSIX || POSIX2008] (VSTATUS): Likewise.
2278 [POSIX || POSIX2008] (VWERASE): Likewise.
2279 (B*): Change to B[0123456789]*.
2280 * conform/data/time.h-data [POSIX || UNIX98]
2281 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2282 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2283 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2284 [POSIX] (tm_*): Do not allow.
2285
686554bf
JM
22862014-06-07 Joseph Myers <joseph@codesourcery.com>
2287
2288 * Makefile (install): Don't set LANGUAGE.
2289 * Makefile.in (install): Likewise.
2290 * assert/Makefile (test-assert-ENV): Remove variable.
2291 (test-assert-perr-ENV): Likewise.
2292 * elf/Makefile (neededtest4-ENV): Likewise.
2293 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2294 [$(cross-compiling) = no]: Don't set LANGUAGE.
2295 * io/ftwtest-sh (LANG): Remove variable.
2296 * libio/Makefile (tst-widetext-ENV): Likewise.
2297 * manual/install.texi (Running make install): Don't refer to
2298 environment settings for make install.
2299 * INSTALL: Regenerated.
2300 * nptl/tst-tls6.sh: Don't set LANG.
2301 * posix/globtest.sh (LANG): Remove variable.
2302 * string/Makefile (tester-ENV): Likewise.
2303 (inl-tester-ENV): Likewise.
2304 (noinl-tester-ENV): Likewise.
2305 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2306 [$(cross-compiling) = no]: Don't set LANGUAGE.
2307 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2308 without explicit environment settings.
2309
68e6b6b1
RM
23102014-06-06 Roland McGrath <roland@hack.frob.com>
2311
2312 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2313 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2314 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2315 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2316
4d3ae034
CM
23172014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2318
2319 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2320 other files in the crypt directory.
2321 * crypt/crypt.c: Remove duplicate includes.
2322 * crypt/crypt-entry.c: Likewise.
2323 * crypt/crypt_util.c: Likewise.
2324
8540f6d2
JM
23252014-06-06 Joseph Myers <joseph@codesourcery.com>
2326
2327 * Makeconfig (run-program-env): New variable.
2328 (run-program-prefix-before-env): Likewise.
2329 (run-program-prefix-after-env): Likewise.
2330 (run-program-prefix): Define in terms of new variables.
2331 (built-program-cmd-before-env): New variable.
2332 (built-program-cmd-after-env): Likewise.
2333 (built-program-cmd): Define in terms of new variables.
2334 (test-program-prefix-before-env): New variable.
2335 (test-program-prefix-after-env): Likewise.
2336 (test-program-prefix): Define in terms of new variables.
2337 (test-program-cmd-before-env): New variable.
2338 (test-program-cmd-after-env): Likewise.
2339 (test-program-cmd): Define in terms of new variables.
2340 * Rules (make-test-out): Use $(run-program-env).
2341 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2342 (help): Do not mention environment variables. Mention
2343 --timeoutfactor option.
2344 (timeoutfactor): New variable.
2345 (blacklist_exports): Remove function.
2346 (exports): Remove variable.
2347 (command): Do not include ${exports}.
2348 * manual/install.texi (Configuring and compiling): Do not mention
2349 test wrappers preserving environment variables. Mention that last
2350 assignment to a variable must take precedence.
2351 * INSTALL: Regenerated.
2352 * benchtests/Makefile (run-bench): Use $(run-program-env).
2353 * catgets/Makefile ($(objpfx)test1.cat): Use
2354 $(built-program-cmd-before-env), $(run-program-env) and
2355 $(built-program-cmd-after-env).
2356 ($(objpfx)test2.cat): Do not specify environment variables
2357 explicitly.
2358 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2359 $(run-program-env) and $(built-program-cmd-after-env).
2360 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2361 $(run-program-env) and $(test-program-cmd-after-env).
2362 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2363 explicitly.
2364 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2365 run_program_env and test_program_cmd_after_env arguments.
2366 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2367 * elf/tst-pathopt.sh: Use run_program_env argument.
2368 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2369 $(test-wrapper-env) and $(run-program-env).
2370 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2371 run_program_env arguments.
2372 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2373 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2374 $(test-program-prefix-before-env), $(run-program-env) and
2375 $(test-program-prefix-after-env).
2376 ($(objpfx)tst-gettext2.out): Likewise.
2377 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2378 run_program_env and test_program_prefix_after_env arguments.
2379 * intl/tst-gettext2.sh: Likewise.
2380 * intl/tst-gettext4.sh: Do not set environment variables
2381 explicitly.
2382 * intl/tst-gettext6.sh: Likewise.
2383 * intl/tst-translit.sh: Likewise.
2384 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2385 $(test-program-prefix-before-env), $(run-program-env) and
2386 $(test-program-prefix-after-env).
2387 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2388 run_program_env and test_program_prefix_after_env arguments.
2389 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2390 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2391 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2392 explicitly with each use of ${test_wrapper_env}.
2393 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2394 $(test-program-prefix-before-env), $(run-program-env) and
2395 $(test-program-prefix-after-env).
2396 * posix/tst-getconf.sh: Do not set environment variables
2397 explicitly.
2398 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2399 run_program_env and test_program_prefix_after_env arguments.
2400 * stdio-common/tst-printf.sh: Do not set environment variables
2401 explicitly.
2402 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2403 $(test-program-prefix-before-env), $(run-program-env) and
2404 $(test-program-prefix-after-env).
2405 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2406 run_program_env and test_program_prefix_after_env arguments.
2407 Split $test calls into $test_pre and $test.
2408 * timezone/Makefile (build-testdata): Use
2409 $(built-program-cmd-before-env), $(run-program-env) and
2410 $(built-program-cmd-after-env).
2411
ed36bfa1
AZ
24122014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2413
2414 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2415 strlen for non SHARED builds.
2416
fc75bf46
SP
24172014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2418
2419 * nptl/allocatestack.c (check_list): Inlined function...
2420 (__reclaim_stacks): ... here.
2421
d89b3d80
OB
24222014-06-05 Ondřej Bílka <neleai@seznam.cz>
2423
2424 [BZ #15698]
2425 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2426 memory overrun.
2427
2bf18041
JM
24282014-06-05 Joseph Myers <joseph@codesourcery.com>
2429
2430 * Rules (make-test-out): Include
2431 LOCPATH=$(common-objpfx)localedata in default environment.
2432 * debug/Makefile (tst-chk1-ENV): Remove variable.
2433 (tst-chk2-ENV): Likewise.
2434 (tst-chk3-ENV): Likewise.
2435 (tst-chk4-ENV): Likewise.
2436 (tst-chk5-ENV): Likewise.
2437 (tst-chk6-ENV): Likewise.
2438 (tst-lfschk1-ENV): Likewise.
2439 (tst-lfschk2-ENV): Likewise.
2440 (tst-lfschk3-ENV): Likewise.
2441 (tst-lfschk4-ENV): Likewise.
2442 (tst-lfschk5-ENV): Likewise.
2443 (tst-lfschk6-ENV): Likewise.
2444 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2445 (tst-iconv7-ENV): Likewise.
2446 * intl/Makefile (LOCPATH-ENV): Likewise.
2447 (tst-codeset-ENV): Likewise.
2448 (tst-gettext3-ENV): Likewise.
2449 (tst-gettext5-ENV): Likewise.
2450 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2451 (tst-fopenloc-ENV): Likewise.
2452 (tst-fgetws-ENV): Remove variable.
2453 (tst-ungetwc1-ENV): Likewise.
2454 (tst-ungetwc2-ENV): Likewise.
2455 (bug-ungetwc2-ENV): Likewise.
2456 (tst-swscanf-ENV): Likewise.
2457 (bug-ftell-ENV): Likewise.
2458 (tst-fgetwc-ENV): Likewise.
2459 (tst-fseek-ENV): Likewise.
2460 (tst-ftell-partial-wide-ENV): Likewise.
2461 (tst-ftell-active-handler-ENV): Likewise.
2462 (tst-ftell-append-ENV): Likewise.
2463 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2464 (tst-regexloc-ENV): Likewise.
2465 (bug-regex1-ENV): Likewise.
2466 (tst-regex-ENV): Likewise.
2467 (tst-regex2-ENV): Likewise.
2468 (bug-regex5-ENV): Likewise.
2469 (bug-regex6-ENV): Likewise.
2470 (bug-regex17-ENV): Likewise.
2471 (bug-regex18-ENV): Likewise.
2472 (bug-regex19-ENV): Likewise.
2473 (bug-regex20-ENV): Likewise.
2474 (bug-regex22-ENV): Likewise.
2475 (bug-regex23-ENV): Likewise.
2476 (bug-regex25-ENV): Likewise.
2477 (bug-regex26-ENV): Likewise.
2478 (bug-regex30-ENV): Likewise.
2479 (bug-regex32-ENV): Likewise.
2480 (bug-regex33-ENV): Likewise.
2481 (bug-regex34-ENV): Likewise.
2482 (bug-regex35-ENV): Likewise.
2483 (tst-rxspencer-ENV): Likewise.
2484 (tst-rxspencer-no-utf8-ENV): Likewise.
2485 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2486 (tst-sscanf-ENV): Likewise.
2487 (tst-swprintf-ENV): Likewise.
2488 (tst-swscanf-ENV): Likewise.
2489 (test-vfprintf-ENV): Likewise.
2490 (scanf13-ENV): Likewise.
2491 (bug14-ENV): Likewise.
2492 (tst-grouping-ENV): Likewise.
2493 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2494 (tst-strtod3-ENV): Likewise.
2495 (tst-strtod4-ENV): Likewise.
2496 (tst-strtod5-ENV): Likewise.
2497 (testmb2-ENV): Likewise./
2498 * string/Makefile (tst-strxfrm-ENV): Likewise.
2499 (tst-strxfrm2-ENV): Likewise.
2500 (bug-strcoll1-ENV): Likewise.
2501 (test-strcasecmp-ENV): Likewise.
2502 (test-strncasecmp-ENV): Likewise.
2503 * time/Makefile (tst-strptime-ENV): Likewise.
2504 (tst-ftime_l-ENV): Likewise.
2505 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2506 (tst-mbrtowc-ENV): Likewise.
2507 (tst-wcrtomb-ENV): Likewise.
2508 (tst-mbrtowc2-ENV): Likewise.
2509 (tst-c16c32-1-ENV): Likewise.
2510 (tst-mbsnrtowcs-ENV): Likewise.
2511
cd1fb604
OB
25122014-06-05 Ondřej Bílka <neleai@seznam.cz>
2513
2514 * manual/resource.texi (How to get information about the memory
2515 subsystem?): Fix typo.
2516 Reported by Peon de la Parra Ivan <peon@keba.com>
2517
b42eca7d
GY
25182014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2519
2520 [BZ #16882]
2521 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2522 (pthread_spin_lock): Branch out of spin loop to proper location.
2523 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2524 (pthread_spin_lock): Likewise.
2525
902b71f9
DM
2526 * nptl/tst-spin4.c: New test.
2527 * nptl/Makefile (tests): Add tst-spin4.
2528
f9d2d032
AS
25292014-06-03 Andreas Schwab <schwab@suse.de>
2530
2531 [BZ #15946]
2532 * resolv/res_send.c (send_dg): Reload file descriptor after
2533 calling reopen.
2534
cf7bfd28
SL
25352014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2536
2537 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2538
111cc714
RH
25392014-06-03 Richard Henderson <rth@redhat.com>
2540
89b4bd6b
RH
2541 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2542 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2543 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2544 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2545 in the SAVE_PID block.
2546 (__libc_vfork): New alias.
71840409 2547 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 2548
111cc714
RH
2549 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2550 child in registers, not on the stack. Remove RESET_PID conditionals.
2551 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2552
ccc39911
MS
25532014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2554
2555 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2556
693096cc
W
25572014-06-03 Wilco <wdijkstr@arm.com>
2558
2559 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2560 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2561 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2562 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2563 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2564 Likewise.
2565
0b4366bc
W
25662014-06-03 Wilco <wdijkstr@arm.com>
2567
2568 * sysdeps/aarch64/fpu/math_private.h
2569 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2570 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2571 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2572 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2573 Fix declarations.
2574
8747cd03
KS
25752014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2576
2577 * crypt/crypt-private.h: Include ufc-crypt.h.
2578 (__b64_from_24bit): Declare extern.
2579 * crypt/crypt_util.c(__b64_from_24bit): New function.
2580 (b64t): New static const variable.
2581 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2582 (b64t): Remove variable.
2583 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2584 * crypt/sha256-crypt.c: Include crypt-private.h.
2585 (b64t): Remove variable.
2586 (__sha256_crypt_r): Remove b64_from_24bit and replace
2587 with __b64_from_24bit.
2588 * crypt/sha512-crypt.c: Likewise.
2589
d936d379
RM
25902014-06-02 Roland McGrath <roland@hack.frob.com>
2591
2592 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2593 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2594 Label the code __libc_vfork rather than __vfork.
2595 [!NOT_IN_libc] (vfork): Define as weak alias.
2596 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2597 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2598 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2599
9fa76613
SP
26002014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2601
2602 * malloc/malloc.c (malloc_info): Fix format specifier for
2603 n_mmaps.
2604
a88dadbe
W
26052014-06-02 Wilco <wdijkstr@arm.com>
2606
2607 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2608 FPCR write.
2609
c95b3011
W
26102014-06-02 Wilco <wdijkstr@arm.com>
2611
2612 [BZ #17009]
2613 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2614 Rewrite to reduce FPCR/FPSR accesses.
2615
6b4d7a90
DM
26162014-06-01 David S. Miller <davem@davemloft.net>
2617
2618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2619
30f3d07c
DM
26202014-05-31 David S. Miller <davem@davemloft.net>
2621
2622 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2623 to occur in round to nearest mode when |x| >= 2.0
2624
74f31c18
RH
26252014-05-30 Richard Henderson <rth@twiddle.net>
2626
f0712b54
RH
2627 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2628 (PSEUDO_RET_NOERRNO): Remove.
2629 (ret): Don't redefine.
2630 (ret_NOERRNO): Define in terms of ret.
2631 (ret_ERRVAL): Likewise.
2632
74f31c18
RH
2633 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2634 use of PSEUDO_RET; perform the error check directly.
2635
30477995
MM
26362014-05-30 Marko Myllynen <myllynen@redhat.com>
2637
2638 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2639 with __int128_t.
2640
62a58816
SP
26412014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2642
2643 * malloc/malloc (malloc_info): Fix formatting.
2644
4d653a59
SP
26452014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2646 Roland McGrath <roland@hack.frob.com>
2647
2648 * malloc/malloc (malloc_info): Also print mmapped statistics.
2649
5190c17f
RM
26502014-05-30 Roland McGrath <roland@hack.frob.com>
2651
2652 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2653 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2654
987c0269
OB
26552014-05-30 Ondřej Bílka <neleai@seznam.cz>
2656
2657 * malloc/malloc.c (malloc_info): Inline mi_arena.
2658
af4e8ef9
RH
26592014-05-29 Richard Henderson <rth@twiddle.net>
2660
1670e207
RH
2661 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2662 Remove comma before expanding ASM_ARGS_##nr.
2663 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2664 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2665 of ASM_ARGS_##nr.
2666 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2667 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2668 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2669 (ASM_ARGS_1): Add leading comma.
2670
11a28aee
RH
2671 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2672 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2673 to __errno_location.
2674 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2675 Remove the expected plt for __errno_location.
2676
a17e5ffb 2677 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 2678 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
2679 call to __read_tp.
2680
b5be4597
RH
2681 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2682 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2683 it and break it down.
2684 (DOCARGS_0, DOCARGS_1): Do nothing.
2685 (DOCARGS_2): Update to store into the new stack frame.
2686 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2687 (UNDOCARGS_1): Update to restore from the new stack frame.
2688 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2689 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2690
645d44ab
RH
2691 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2692 (SINGLE_THREAD_P): New parameter for result regno.
2693 (PSEUDO): Update to match; use cbz instead of beq.
2694
a8b4f04a
RH
2695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2696 Use ENTRY to define the _nocancel entry point. Share the syscall
2697 and syscall error check paths with the cancel path.
2698 (PSEUDO_END): New.
2699
af4e8ef9
RH
2700 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2701 whitespace; tabs before and after asm mnemonics.
2702
26b0d2e1
EW
27032014-05-29 Eric Wong <normalperson@yhbt.net>
2704
2705 [BZ #15132]
2706 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2707 Call fstat64 or stat64 internally, depending on arguments passed.
2708 Replace stat buffer argument with file descriptor argument.
2709 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2710 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2711 Pass fd to __internal_statvfs instead of calling fstat64.
2712 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2713 Pass fd to __internal_statvfs64 instead of calling fstat64.
2714 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2715 Pass -1 to __internal_statvfs instead of calling stat64.
2716 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2717 Pass -1 to __internal_statvfs64 instead of calling stat64.
2718
1efe2bd9
RM
27192014-05-28 Roland McGrath <roland@hack.frob.com>
2720
0d3b7a19
RM
2721 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2722 that was previously under [RESET_PID].
2723 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2724
1efe2bd9
RM
2725 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2726 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2727
a6bea3ca
RM
27282014-05-27 Roland McGrath <roland@hack.frob.com>
2729
30b6629e
RM
2730 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2731
a6bea3ca
RM
2732 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2733 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2734
3dfb9a5c
OB
27352014-05-27 Ondřej Bílka <neleai@seznam.cz>
2736
2737 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2738
774f9285
AS
27392014-05-27 Andreas Schwab <schwab@suse.de>
2740
2741 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2742 TLS_INIT_TP macro.
2743 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2744 * elf/rtld.c (init_tls, dl_main): Likewise.
2745 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2746 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2747 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2748 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2749 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2750 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2751 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2752 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2753 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2754 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2755 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2756 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2757 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2758 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2759 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2760 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2761 * sysdeps/generic/tls.h: Update description.
2762
36ffe739
WN
27632014-05-27 Will Newton <will.newton@linaro.org>
2764
2765 [BZ #16990]
2766 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2767 and restore r2 rather than just restoring.
2768
2482ae43
SP
27692014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2770
2771 [BZ #16724]
2772 * libio/tst-ftell-append.c: New test case.
2773 * libio/Makefile (tests): Add test case.
2774 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2775 append mode.
2776 * libio/wfileops.c (do_ftell_wide): Likewise.
2777
3d1024e8
AZ
27782014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2779
bab90016
AZ
2780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2781
c7a8d667
AZ
2782 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2783 ...
2784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2786 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2787 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2788 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2789 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2790 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2791 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2792 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2793 Moved ...
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2795 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2796 Moved ...
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2798 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2799 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2800 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2801 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2802 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2803 ...
2804 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2805 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2806 Moved ...
2807 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2808 here.
2809 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2810 ...
2811 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2812 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2813 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2814
daee7851
AZ
2815 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2816 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2817 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2818 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2819
50a40819
AZ
2820 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2821 merge into ...
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2824 ...
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2827 ...
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2829 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2830 Moved ...
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2832 here.
2833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2834 Moved ...
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2837 Moved ...
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2839
8464c2a1
AZ
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2841 conditional [RESET_PID].
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2844 removed.
2845 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2846 removed.
2847
3d1024e8
AZ
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2849 <tcb-offsets.h>.
2850 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2851 (__libc_vfork): New strong alias.
2852 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2853 removed.
2854 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2855 Removed.
2856
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2858 <tcb-offsets.h>.
2859 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2860 (__libc_vfork): New strong alias.
2861 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2862 removed.
2863 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2864 removed.
2865
fdfd175d
CD
28662014-05-26 Carlos O'Donell <carlos@redhat.com>
2867
2868 * malloc/malloc.c (mi_arena): New function.
2869 (malloc_info): Remove nested function mi_arena. Call non-nosted
2870 function mi_arena.
2871
d298c416
AZ
28722014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2873
2874 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2875 by insrwi.
2876 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2877 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2878 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2879 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2880 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2881 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2882 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2883
b60ea6ff
AS
28842014-05-26 Andreas Schwab <schwab@suse.de>
2885
2886 [BZ #16984]
2887 * locale/programs/repertoire.c (repertoire_read): Add slash
2888 between I18NPATH element and file name.
2889 * locale/programs/locfile.c (locfile_read): Likewise.
2890
67365926
SL
28912014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2892
2893 * nptl/pthread_mutexattr_settype.c
2894 (__pthread_mutexattr_settype):
2895 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2896
f8bdf1f0
SL
28972014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2898
2899 * nptl/tst-mutex5 (do_test):
2900 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2901
15eaf6ff
SP
29022014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2903
2904 * benchtests/README: Document 'init' directive.
2905 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2906 BENCH_INIT.
2907 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2908 (parse_file): Recognize 'init' directive.
2909
75f11331
KM
29102014-05-26 Kyle McMartin <kyle@redhat.com>
2911
2912 [BZ #16796]
2913 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2914 alignment of struct pthread.
2915
c3ec475c
SP
29162014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2917
2918 [BZ #16878]
2919 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2920 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2921 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2922 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2923
82aab97c
RH
29242014-05-25 Richard Henderson <rth@twiddle.net>
2925
aa2f176d
RH
2926 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2927 (SINGLE_THREAD_P_PIC): Remove.
2928 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2929 (SINGLE_THREAD_P_PIC): Remove.
2930
ca3cfa40
RH
2931 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2932 branch to syscall error ...
2933 (PSEUDO): ... here.
2934 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2935 from __local_syscall_error to .Lsyscall_error.
2936 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2937 (SYSCALL_ERROR): Update label name.
2938
6e6c2d01
RH
2939 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2940 Do not use DOARGS/UNDOARGS.
2941 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2942 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2943 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2944 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2945 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2946
c69abcee
RH
2947 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2948 block comment.
2949
82aab97c
RH
2950 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2951 define if !NOT_IN_libc.
2952 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2953 define with non-default symbol versions.
2954
8820e3ac
RH
29552014-05-23 Richard Henderson <rth@twiddle.net>
2956
900e445f
RH
2957 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2958 (vfork, __vfork): Define via compat_symbol.
2959
8820e3ac
RH
2960 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2961 [!HAVE_IFUNC] (vfork_compat): Remove.
2962 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2963
e59252a5
JM
29642014-05-23 Joseph Myers <joseph@codesourcery.com>
2965
2966 [BZ #16978]
2967 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2968 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2969 variable.
2970
132c7f5f
RH
29712014-05-23 Richard Henderson <rth@twiddle.net>
2972
bc89e962
RH
2973 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2974 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2975 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2976 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2977
2978 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2979 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2980 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2981 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2982 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2983 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2984 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2985 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2986 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2987 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2988 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2989 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2990 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2993 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2995 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2996 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2997 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2998 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2999 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3000 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3001 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3002 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3003 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3004 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3005 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3006 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3007 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3008 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3009 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3010 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3011 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3012 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3013 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3014 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3015 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3016 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3017 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3018 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3019 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3020 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3021 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3022 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3023 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3024 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3025 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3026 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3027 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3028 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3029 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3030 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3031 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3032 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3033 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3034
e2fa4bc2
RH
3035 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3036 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3037 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3038 before exiting on error.
3039 (__libc_vfork): New strong alias.
3040 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3041 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3042
279b24e2
RH
3043 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3044 that was previously under [RESET_PID].
3045 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3046
132c7f5f
RH
3047 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3048
b72592e7
JM
30492014-05-23 Joseph Myers <joseph@codesourcery.com>
3050
3051 [BZ #16977]
3052 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3053 value when x - 1 is zero.
3054 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3055 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3056 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3057 0.0L for an argument of 1.0L.
3058 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3059 Likewise.
3060 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3061 value when x - 1 is zero.
3062 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3063 * sysdeps/i386/fpu/libm-test-ulps: Update.
3064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3065
2302d679
RV
30662014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3067
3068 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3069 alphasort and versionsort.
3070
32999d63
AZ
30712014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3072
3073 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3074 macro.
3075 [copysignf]: Likewise.
3076
019324d0
SP
30772014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3078
3079 * crypt/md5-crypt.c: Fix formatting.
3080
34fff5c2
KS
30812014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3082
3083 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3084 (b64_from_24bit): New function.
3085
3d2badac
AZ
30862014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3087
3088 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3089 libc_hidden_builtin_def to ifunc.
3090 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3091 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3092
f7bb179f 30932014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
3094
3095 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3096 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3097
4134b50d
JM
30982014-05-21 Joseph Myers <joseph@codesourcery.com>
3099
bb7d0337
JM
3100 * nscd/Depend (linuxthreads): Remove.
3101 (nptl): Add.
3102 * resolv/Depend (linuxthreads): Remove.
3103 * rt/Depend (linuxthreads): Remove.
3104
4134b50d
JM
3105 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3106 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3107 $(common-objpfx)elf/.
3108 (link-libc-before-gnulib): Likewise.
3109 (elfobjdir): Remove variable.
3110 * Makefile (install): Use $(elf-objpfx) instead of
3111 $(common-objpfx)elf/.
3112 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3113 $(elfobjdir)/.
3114 (link-libc-deps): Likewise.
3115 ($(common-objpfx)libc.so): Likewise.
3116 ($(common-objpfx)linkobj/libc.so): Likewise.
3117 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3118 instead of $(common-objpfx)elf/.
3119 (symbolic-link-list): Likewise.
3120 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3121 [$(cross-compiling) = no]: Likewise.
3122 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3123 $(elfobjdir)/.
3124 (static-gnulib-arch): Likewise.
3125 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3126 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3127 $(common-objpfx)elf/.
3128
3612eb8f
RH
31292014-05-21 Richard Henderson <rth@redhat.com>
3130
a6b3657b
RH
3131 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3132 (SINGLE_THREAD_P): Use the correct width load. Fold
3133 into the ldr offset.
3134
3612eb8f
RH
3135 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3136 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3137
175cef41
JM
31382014-05-20 Joseph Myers <joseph@codesourcery.com>
3139
3140 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3141 (libgcc_s_resume): Use __attribute_used__.
3142 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3143 Likewise.
3144
e13bccd3
AZ
31452014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3146
3147 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3148 optimization when used with float constants.
3149
7c112a38
AZ
3150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3151
ae75a883
AJ
31522014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3153
3154 [BZ #16915]
3155 * locale/nl_langinfo_l.c: Make direct reference to every
3156 _nl_current_CATEGORY symbol.
3157 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3158 (tests-static): Add tst-langinfo-static.
3159 (tests-special): Add tst-langinfo-static.out.
3160 ($(objpfx)tst-langinfo.out): Redirect output.
3161 ($(objpfx)tst-langinfo-static.out): New.
3162 * localedata/tst-langinfo.sh: Send output to stdout.
3163 * localedata/tst-langinfo-static.c: New file.
3164
4406c41c
AJ
3165 [BZ #16965]
3166 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3167 when the shift amount is modulo the limb size.
3168
4c0a1e63
RH
31692014-05-20 Richard Henderson <rth@redhat.com>
3170
de9d8f20
RH
3171 [BZ #16967]
3172 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3173 Change type of sa_flags from unsigned int to int.
3174
4c0a1e63
RH
3175 [BZ #16966]
3176 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
3177
3178 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3179
a60339aa
WN
31802014-05-20 Will Newton <will.newton@linaro.org>
3181
3182 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3183 Test the return value of the system call in the nocancel case.
3184
7d05a816
YR
31852014-05-20 Will Newton <will.newton@linaro.org>
3186 Yvan Roux <yvan.roux@linaro.org>
3187
3188 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3189 #include of asm/ptrace.h.
3190 (PTRACE_GET_THREAD_AREA): Remove #undef.
3191 (PTRACE_GETHBPREGS): Likewise.
3192 (PTRACE_SETHBPREGS): Likewise.
3193 (struct user_regs_struct): New structure.
3194 (struct user_fpsimd_struct): New structure.
3195 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3196 #include of asm/ptrace.h and second #include of sys/user.h.
3197 (PTRACE_GET_THREAD_AREA): Remove #undef.
3198 (PTRACE_GETHBPREGS): Likewise.
3199 (PTRACE_SETHBPREGS): Likewise.
3200 (ELF_NGREG): Use new struct user_regs_struct.
3201 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3202
af121e37
AZ
32032014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3204
3205 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3207
834caf06
JM
32082014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3209
3210 [BZ #16958]
3211 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3212 membar to avoid block loads/stores to overlap previous stores.
3213
e184a918
RH
32142014-05-17 Richard Henderson <rth@redhat.com>
3215
3216 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3217 Create the __##syscall_name##_nocancel entry point.
3218 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3219 Remove; let the sysdep-cancel.h code create it.
3220
f56c7a6a
DM
32212014-05-17 David S. Miller <davem@davemloft.net>
3222
3223 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3224 Protect with __USE_GNU.
3225 (TIOCSET_TEMPT): Likewise.
3226 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3227 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3228 these are already provided in bits/ioctl-types.h
3229
f75616b2
RM
32302014-05-16 Roland McGrath <roland@hack.frob.com>
3231
3edeca86
RM
3232 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3233 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3234
f75616b2
RM
3235 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3236 Use wait4 regardless of [__NR_waitpid].
3237
deb0f7f6
MR
32382014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3239
3240 PR libgcc/60166
3241 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3242 (_FP_NANSIGN_Q): Set the quiet bit.
3243
79520f4b
JM
32442014-05-16 Joseph Myers <joseph@codesourcery.com>
3245
3246 * benchtests/Makefile
3247 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3248 not $(common-objpfx)math/libm.so.
3249 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3250 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3251 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3252 $(common-objpfx)dlfcn/libdl.so.
3253 ($(objpfx)tst-audit8): Depend on $(libm), not
3254 $(common-objpfx)math/libm.so.
3255 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3256 not $(common-objpfx)dlfcn/libdl.so.
3257 * math/Makefile
3258 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3259 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3260 [$(build-shared) = yes].
3261 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3262 $(common-objpfx)nptl/libpthread.so.
3263 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3264 $(common-objpfx)math/libm.so$(libm.so-version) or
3265 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3266 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3267 $(common-objpfx)dlfcn/libdl.so.
3268 * setjmp/Makefile (link-libm): Remove variable.
3269 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3270 * stdio-common/Makefile (link-libm): Remove variable.
3271 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3272 * stdlib/Makefile (link-libm): Remove variable.
3273 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3274 ($(objpfx)tst-strtod-round): Likewise.
3275 ($(objpfx)tst-tininess): Likewise.
3276 ($(objpfx)tst-strtod-underflow): Likewise.
3277 ($(objpfx)tst-strtod6): Likewise.
3278 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3279 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3280 $(common-objpfx)dlfcn/libdl.so.
3281
026b0fe4
AZ
32822014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3283
3284 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3285 BSD terminal modes definitions.
3286
def4bcb2
RM
32872014-05-16 Roland McGrath <roland@hack.frob.com>
3288
fe39b021
RM
3289 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3290 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3291
1d1fc46e 3292 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
3293 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3294 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3295 Don't do #include_next.
3296 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3297 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3298 Don't do #include_next.
3299 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3300 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3301 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3302 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3303
c72399fb
AM
33042014-05-16 Allan McRae <allan@archlinux.org>
3305
d51d659d
AM
3306 * po/sv.po: Update Swedish translation from translation project.
3307
c72399fb
AM
3308 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3309 in sed expression.
3310
d0583c40
AJ
33112014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3312
3313 [BZ #16917]
3314 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3315 errno if the TIOCGPTN ioctl fails with an error different than
3316 EINVAL.
3317 * login/tst-ptsname.c: New file.
3318 * login/Makefile (tests): Add tst-ptsname.
3319
d16e6ec7
AJ
3320 [BZ #16943]
3321 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3322 and prlimit64.
3323
cf26a0cb
SP
33242014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3325
3326 [BZ #16849]
3327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3328 herrno to return EAI_AGAIN.
3329
5675da1e
RM
33302014-05-14 Roland McGrath <roland@hack.frob.com>
3331
a5d87b3d
RM
3332 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3333 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3334 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3335 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3336 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3337 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3338 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3339 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3340 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3341 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3342 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3343 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3344 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3345 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3346 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3347 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3348 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3349 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3350 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3351 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3352 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3353 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3354 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3355 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3356 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3357 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3358 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3359 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3360 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3361 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3363 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3365 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3367 Moved ...
3368 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3370 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3372 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3374 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3376 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3378 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3380 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3382 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3384 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3386 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3388 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3390 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3392 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3394 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3396 Moved ...
3397 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3399 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3401 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3403 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3405 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3407 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3409 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3411 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3413 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3415 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3417 Moved ...
3418 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3420 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3421
039890a6
RM
3422 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3423 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3424 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3425 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3426 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3427 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3428 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3429 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3430 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3431 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3432 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3433 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3434 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3435 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3436 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3437 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3438 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3439 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3440 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3441 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3442 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3443 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3444 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3445 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3446 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3447 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3448 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3449 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3450 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3451 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3452 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3453
65c89320
RM
3454 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3455 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3456
348f8e8c
RM
3457 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3458 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3459 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3460 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3461 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3462 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3463 Moved ...
3464 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3465 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3466 Moved ...
3467 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3468 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3469 Moved ...
3470 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3471 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3472 Moved ...
3473 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3474 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3475 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3476 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3477 Moved ...
3478 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3479 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3480 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3481 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3482 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3483 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3484 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3486 Moved ...
3487 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3488 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3489 Moved ...
3490 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3491 ... here.
3492 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3493 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3494 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3495 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3496 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3497 Moved ...
3498 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3499 ... here.
3500 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3501 Moved ...
3502 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3503 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3504 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3505 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3506 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3507 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3508 Moved ...
3509 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3510 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3511 Moved ...
3512 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3513 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3514 Moved ...
3515 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3516 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3517 Moved ...
3518 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3519 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3520 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3521 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3522 Moved ...
3523 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3524 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3525 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3526 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3527 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3528 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3529 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3530 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3531 Moved ...
3532 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3533 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3534 Moved ...
3535 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3536 ... here.
3537 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3538 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3539 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3540 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3541 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3542 Moved ...
3543 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3544 ... here.
3545 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3546 Moved ...
3547 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3548 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3549 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3550 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3551 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3552 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3553 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3554 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3555 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3556 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3557 Moved ...
3558 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3559 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3560 Moved ...
3561 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3562 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3563 Moved ...
3564 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3565 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3566 Moved ...
3567 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3568 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3569 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3570 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3571 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3572 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3573 Moved ...
3574 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3575 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3576 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3577 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3578 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3579 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3580 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3581 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3582 Moved ...
3583 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3584 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3585 Moved ...
3586 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3587 ... here.
3588 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3589 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3590 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3591 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3592 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3593 Moved ...
3594 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3595 ... here.
3596 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3597 Moved ...
3598 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3599 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3600 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3601 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3602 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3603 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3604 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3605 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3606 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3608 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3609
5085af05
RM
3610 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3611 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3612
708f0813
RM
3613 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3614 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3615
c96067bc
RM
3616 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3617 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3618 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3619 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3620 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3621 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3622 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3623 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3624 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3625 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3626 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3627 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3628 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3629 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3630 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3632 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3633 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3634 Moved ...
3635 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3637 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3638 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3639 Moved ...
3640 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3642 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3644 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3646 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3647 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3648 Moved ...
3649 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3651 Moved ...
3652 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3653 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3654 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3655 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3656 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3657 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3658 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3659 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3660 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3661 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3662 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3663 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3664 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3665 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3666 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3667 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3668 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3669
ec136444
RM
3670 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3671 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3672 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3673 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3674 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3675
2fbdf533
RM
3676 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3677 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3678 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3679 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3680 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3681 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3682 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3683 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3684 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3685 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3686
4c68138b
RM
3687 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3688 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3689
4eaae765
RM
3690 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3691 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
3692 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3693 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3694 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3695 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3696 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3697 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3698 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3699 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3700 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3701 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3702 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3703 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3705 Update #include.
3706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3707 Likewise.
3708 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3709 Likewise.
3710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3711 Likewise.
3712 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3713 Likewise.
3714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3715 Likewise.
3716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3717 Likewise.
3718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3719 Likewise.
3720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3721 Likewise.
3722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3723 Likewise.
4ef6befa
RM
3724 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3726 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3727 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3728 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
3729 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3730 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3731 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3732 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3733 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3734 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3735 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3736 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3737 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3738 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 3739
941d7dfd
RM
3740 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3741 that was previously under [RESET_PID].
3742 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3743 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3744 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3745
1b731c35
RM
3746 * sysdeps/i386/nptl/Implies: New file.
3747 * sysdeps/x86_64/nptl/Implies: New file.
3748 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3749 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3751 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3752
e2787137
RM
3753 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3754 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3755 (__libc_vfork): New strong alias.
3756 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3757 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3758
3759 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3760 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3761 (__libc_vfork): New strong alias.
3762 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3763 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3764
5675da1e
RM
3765 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3766 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3767 (__libc_vfork): New strong alias.
3768 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3769 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3770 * nptl/pt-vfork.c: New file.
3771 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3772 (libpthread: GLIBC_2.20): New version set (empty).
3773
4f02e2b8
WN
37742014-05-14 Will Newton <will.newton@linaro.org>
3775
3776 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3777 rather than #if.
3778
0bf061d3
JM
37792014-05-14 Joseph Myers <joseph@codesourcery.com>
3780
1a84c3d6
JM
3781 [BZ #16564]
3782 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3783 arguments with exponent 65 or above.
3784 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3785 arguments 0x1p113L or above.
3786 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3787 to arguments 0x1p107L or above.
3788 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3789 positive arguments with exponent 65 or above.
3790 * math/auto-libm-test-in: Add more tests of log1p.
3791 * math/auto-libm-test-out: Regenerated.
3792
01dbacd2
JM
3793 [BZ #16928]
3794 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3795 non-finite arguments is +0.
3796 * math/s_cacosf.c (__cacosf): Likewise.
3797 * math/s_cacosl.c (__cacosl): Likewise.
3798 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3799 * sysdeps/i386/fpu/libm-test-ulps: Update.
3800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3801
913d03c8
JM
3802 [BZ #16927]
3803 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3804 value.
3805 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3806 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3807 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3808 for explicit high bit of mantissa when testing for argument equal
3809 to 1.
3810 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3811 * sysdeps/i386/fpu/libm-test-ulps: Update.
3812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3813
0bf061d3
JM
3814 [BZ #16516]
3815 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3816 (__erf): Scale by 16 instead of 8 in potentially underflowing
3817 case. Ensure exception if result actually underflows.
3818 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3819 (__erff): Scale by 16 instead of 8 in potentially underflowing
3820 case. Ensure exception if result actually underflows.
3821 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3822 (efx8): Remove variable.
3823 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3824 case. Ensure exception if result actually underflows.
3825 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3826 (efx8): Remove variable.
3827 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3828 case. Ensure exception if result actually underflows.
3829 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3830 (efx8): Remove variable.
3831 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3832 case. Ensure exception if result actually underflows.
3833 * math/auto-libm-test-in: Add more tests of erf.
3834 * math/auto-libm-test-out: Regenerated.
3835
73ba67cb
AS
38362014-05-14 Andreas Schwab <schwab@suse.de>
3837
3d8c8bff
AS
3838 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3839 Remove code conditionalized on USE___THREAD.
3840
73ba67cb
AS
3841 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3842 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3843 not definedness.
3844
5c521ecd
JM
38452014-05-14 Joseph Myers <joseph@codesourcery.com>
3846
5e7698c6
JM
3847 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3848 Define unconditionally.
3849 (__ASSUME_O_CLOEXEC): Likewise.
3850 (__ASSUME_SOCK_CLOEXEC): Likewise.
3851 (__ASSUME_IN_NONBLOCK): Likewise.
3852 (__ASSUME_PIPE2): Likewise.
3853 (__ASSUME_EVENTFD2): Likewise.
3854 (__ASSUME_SIGNALFD4): Likewise.
3855 (__ASSUME_DUP3): Likewise.
3856 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3857 (__ASSUME_DUP3): Do not define.
3858 (__ASSUME_EVENTFD2): Likewise.
3859 (__ASSUME_IN_NONBLOCK): Likewise.
3860 (__ASSUME_O_CLOEXEC): Likewise.
3861 (__ASSUME_PIPE2): Likewise.
3862 (__ASSUME_SIGNALFD4): Likewise.
3863 (__ASSUME_SOCK_CLOEXEC): Likewise.
3864 (__ASSUME_UTIMES): Undefine.
3865 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3866 (__ASSUME_UTIMES): Do not define.
3867 (__ASSUME_O_CLOEXEC): Likewise.
3868 (__ASSUME_SOCK_CLOEXEC): Likewise.
3869 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3870 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3871 0x020621].
3872 (__ASSUME_PIPE2): Likewise.
3873 (__ASSUME_EVENTFD2): Likewise.
3874 (__ASSUME_SIGNALFD4): Likewise.
3875 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3876 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3877 Do not define.
3878 (__ASSUME_EVENTFD2): Likewise.
3879 (__ASSUME_SIGNALFD4): Likewise.
3880 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3881 (__ASSUME_32BITUIDS): Likewise.
3882 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3883 (__ASSUME_IPC64): Likewise.
3884 (__ASSUME_ST_INO_64_BIT): Likewise.
3885 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3886 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3887 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3888 (__ASSUME_UTIMES): Do not define.
3889 (__ASSUME_PSELECT): Likewise.
3890 (__ASSUME_PPOLL): Likewise.
3891 (__ASSUME_O_CLOEXEC): Likewise.
3892 (__ASSUME_SOCK_CLOEXEC): Likewise.
3893 (__ASSUME_IN_NONBLOCK): Likewise.
3894 (__ASSUME_PIPE2): Likewise.
3895 (__ASSUME_EVENTFD2): Likewise.
3896 (__ASSUME_SIGNALFD4): Likewise.
3897 (__ASSUME_DUP3): Likewise.
3898 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3899 (__ASSUME_UTIMES): Likewise.
3900 (__ASSUME_O_CLOEXEC): Likewise.
3901 (__ASSUME_SOCK_CLOEXEC): Likewise.
3902 (__ASSUME_IN_NONBLOCK): Likewise.
3903 (__ASSUME_PIPE2): Likewise.
3904 (__ASSUME_EVENTFD2): Likewise.
3905 (__ASSUME_SIGNALFD4): Likewise.
3906 (__ASSUME_DUP3): Likewise.
3907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3908 (__ASSUME_UTIMES): Likewise.
3909 (__ASSUME_O_CLOEXEC): Likewise.
3910 (__ASSUME_SOCK_CLOEXEC): Likewise.
3911 (__ASSUME_IN_NONBLOCK): Likewise.
3912 (__ASSUME_PIPE2): Likewise.
3913 (__ASSUME_EVENTFD2): Likewise.
3914 (__ASSUME_SIGNALFD4): Likewise.
3915 (__ASSUME_DUP3): Likewise.
3916 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3917 Likewise.
3918 (__ASSUME_UTIMES): Likewise.
3919 (__ASSUME_EVENTFD2): Likewise.
3920 (__ASSUME_SIGNALFD4): Likewise.
3921 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3922 (__ASSUME_O_CLOEXEC): Likewise.
3923 (__ASSUME_SOCK_CLOEXEC): Likewise.
3924 (__ASSUME_IN_NONBLOCK): Likewise.
3925 (__ASSUME_PIPE2): Likewise.
3926 (__ASSUME_EVENTFD2): Likewise.
3927 (__ASSUME_SIGNALFD4): Likewise.
3928 (__ASSUME_DUP3): Likewise.
3929 (__ASSUME_UTIMES): Undefine.
3930
5c521ecd
JM
3931 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3932 feclearexcept. Remove symbol versioning code.
3933 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3934 symbol versioning code.
3935 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3936 symbol versioning code.
3937 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3938 feupdateenv. Remove symbol versioning code.
3939 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3940 fegetexceptflag. Remove symbol versioning code.
3941 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3942 fesetexceptflag. Remove symbol versioning code.
3943 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3944 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3945 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3946 (__posix_fadvise64_l32): Remove prototype.
3947 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3948 code.
3949
5da9dfad
RM
39502014-05-13 Roland McGrath <roland@hack.frob.com>
3951
3952 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3953 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3954 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3955 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3956
893b4f37
SK
39572014-05-13 Sami Kerola <kerolasa@iki.fi>
3958
3959 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3960 current working directory
3961
e0db6517
RM
39622014-05-13 Roland McGrath <roland@hack.frob.com>
3963
58aa195d
RM
3964 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3965 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3966 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3967 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3968 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3969 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3970 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3971 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3972 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3973 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3974 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3975 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3976 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3977 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3978 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3979 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3980 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3981 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3982 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3983 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3984 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3985 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3986 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3987 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3988 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3989 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3990 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3991 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3992 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3993 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3994 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3995 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3996 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3997 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3998 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3999 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4000 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4001 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4002 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4003 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4004 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4005 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4006
8c6d01f0
RM
4007 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4008 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4009
4010 * sysdeps/unix/sysv/linux/arm/Makefile
4011 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4012 Add rt-aeabi_unwind_cpp_pr1.
4013 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4014 Add nptl-aeabi_unwind_cpp_pr1.
4015 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4016 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4017 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4018 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4019 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4020 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4021
4022 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4023 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4024 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4025 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4026
bba6da4e
RM
4027 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4028 Deconditionalize the code that was previously under [RESET_PID].
4029 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4030
e0db6517
RM
4031 * sysdeps/generic/exit-thread.h: New file.
4032 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4033 * include/unistd.h (__exit_thread): Remove declaration.
4034 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4035 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4036 * csu/libc-start.c: Include <exit-thread.h>.
4037 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4038 * nptl/pthread_create.c: Include <exit-thread.h>.
4039 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4040 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4041 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4042 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4043 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4044 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4045 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4046 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4047 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4048 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4049 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4050 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4051 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4052 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4053 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4054 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4055 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4056
01eb16fd
AS
40572014-05-13 Andreas Schwab <schwab@suse.de>
4058
4059 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4060
637461d9
JM
40612014-05-12 Joseph Myers <joseph@codesourcery.com>
4062
4063 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4064 (__ASSUME_UTIMES): Do not condition on kernel version.
4065 (__ASSUME_PSELECT): Define unconditionally.
4066 (__ASSUME_PPOLL): Likewise.
4067 (__ASSUME_ATFCTS): Likewise.
4068 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4069 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4070 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4071 (__ASSUME_UTIMENSAT): Define unconditionally.
4072 (__ASSUME_PRIVATE_FUTEX): Likewise.
4073 (__ASSUME_FALLOCATE): Likewise.
4074 (__ASSUME_O_CLOEXEC): Likewise.
4075 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4076 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4077 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4078 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4079 (__ASSUME_IN_NONBLOCK): Likewise.
4080 (__ASSUME_PIPE2): Likewise.
4081 (__ASSUME_EVENTFD2): Likewise.
4082 (__ASSUME_SIGNALFD4): Likewise.
4083 (__ASSUME_DUP3): Likewise.
4084 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4085 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4086 (__ASSUME_AT_RANDOM): Likewise.
4087 (__ASSUME_PREADV): Likewise.
4088 (__ASSUME_PWRITEV): Likewise.
4089 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4090 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4091 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4092 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4093 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4094 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4095 (__ASSUME_O_CLOEXEC): Define unconditionally.
4096 (__ASSUME_PSELECT): Do not undefine conditionally.
4097 (__ASSUME_PPOLL): Likewise.
4098 (__ASSUME_ATFCTS): Likewise.
4099 (__ASSUME_SET_ROBUST_LIST): Likewise.
4100 (__ASSUME_UTIMENSAT): Likewise.
4101 (__ASSUME_FDATASYNC): Define unconditionally.
4102 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4103 (__ASSUME_SIGFRAME_V2): Likewise.
4104 )__ASSUME_EVENTFD2): Likewise.
4105 (__ASSUME_SIGNALFD4): Likewise.
4106 (__ASSUME_PSELECT): Do not undefine conditionally.
4107 (__ASSUME_PPOLL): Likewise.
4108 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4109 (__ASSUME_PSELECT): Define unconditionally.
4110 (__ASSUME_PPOLL): Likewise.
4111 (__ASSUME_O_CLOEXEC): Likewise.
4112 (__ASSUME_SOCK_CLOEXEC): Likewise.
4113 (__ASSUME_IN_NONBLOCK): Likewise.
4114 (__ASSUME_PIPE2): Likewise.
4115 (__ASSUME_EVENTFD2): Likewise.
4116 (__ASSUME_SIGNALFD4): Likewise.
4117 (__ASSUME_DUP3): Likewise.
4118 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4119 (__ASSUME_O_CLOEXEC): Likewise.
4120 (__ASSUME_SOCK_CLOEXEC): Likewise.
4121 (__ASSUME_IN_NONBLOCK): Likewise.
4122 (__ASSUME_PIPE2): Likewise.
4123 (__ASSUME_EVENTFD2): Likewise.
4124 (__ASSUME_SIGNALFD4): Likewise.
4125 (__ASSUME_DUP3): Likewise.
4126 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4127 (__ASSUME_EVENTFD2): Likewise.
4128 (__ASSUME_SIGNALFD4): Likewise.
4129 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4130
315eb1d8
AS
41312014-05-12 Andreas Schwab <schwab@suse.de>
4132
4133 [BZ #16932]
4134 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4135 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4136 than maximum RPC packet size.
4137 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4138 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4139 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4140 (_nss_nis_getservbyport_r): Likewise.
4141
91df99f7
WN
41422014-05-12 Will Newton <will.newton@linaro.org>
4143
4144 * malloc/Makefile (tests): Add tst-mallopt.
4145 * malloc/tst-mallopt.c: New file.
4146
0a982a29
RM
41472014-05-09 Roland McGrath <roland@hack.frob.com>
4148
4149 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4150 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4151
0ded08a5
AZ
41522014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4153
4154 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4155 (tst-tlsmod6.so): Likewise.
4156
55d4d550
RM
41572014-05-09 Roland McGrath <roland@hack.frob.com>
4158
4159 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4160
77d08aca
JM
41612014-05-09 Joseph Myers <joseph@codesourcery.com>
4162
4163 [BZ #16064]
4164 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4165 and <dl-procinfo.h>.
4166 (__fegetenv): Save SSE state in envp->__eip if supported.
4167 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4168 envp->__eip if supported.
4169 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4170 and <dl-procinfo.h>.
4171 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4172 __data_offset and __data_selector in environment to 0. Set SSE
4173 state if supported.
4174 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4175 test-fenv-sse.
4176 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4177 -mfpmath=sse.
4178 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4179
28162f4d
WN
41802014-05-09 Will Newton <will.newton@linaro.org>
4181
4182 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4183 and libc_relro_required for ARM.
4184 * sysdeps/arm/preconfigure: Regenerate.
4185
5a414ff7
DV
41862014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4187 Stefan Liebler <stli@linux.vnet.ibm.com>
4188
4189 * config.make.in (enable-lock-elision): New Makefile variable.
4190 * configure.ac: Likewise.
4191 * configure: Regenerate.
4192 * sysdeps/s390/configure.ac:
4193 Add check for gcc transactions support.
4194 * sysdeps/s390/configure: Regenerate.
4195 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4196 Build elision files if enabled.
4197 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4198 Add lock elision support for s390.
4199 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4200 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4201 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4202 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4203 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4204 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4205 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4206 Likewise.
4207 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4208 Likewise.
4209 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4210 Likewise.
4211 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4212 Likewise.
4213 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4214 (__lll_timedlock_elision, __lll_lock_elision)
4215 (__lll_unlock_elision, __lll_trylock_elision)
4216 (lll_timedlock_elision, lll_lock_elision)
4217 (lll_unlock_elision, lll_trylock_elision): Add.
4218 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4219 (pthread_mutex_t): Add lock elision support for s390.
4220
1a2f40e5
W
42212014-05-14 Wilco <wdijkstr@arm.com>
4222
4223 * sysdeps/arm/fclrexcpt.c: Cleanup.
4224 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4225 * sysdeps/arm/feenablxcpt.c: Cleanup.
4226 * sysdeps/arm/fegetenv.c: Cleanup.
4227 * sysdeps/arm/fegetexcept.c: Cleanup.
4228 * sysdeps/arm/fegetround.c: Cleanup.
4229 * sysdeps/arm/feholdexcpt.c: Cleanup.
4230 * sysdeps/arm/fesetenv.c: Cleanup.
4231 * sysdeps/arm/fesetround.c: Cleanup.
4232 * sysdeps/arm/feupdateenv.c: Cleanup.
4233 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4234 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4235 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4236 * sysdeps/arm/ftestexcept.c: Cleanup.
4237 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4238 * sysdeps/arm/setfpucw.c: Cleanup.
4239
f63c86fe
WN
42402014-05-09 Will Newton <will.newton@linaro.org>
4241
4242 * sysdeps/arm/armv7/strcmp.S: New file.
4243 * NEWS: Mention addition of ARMv7 optimized strcmp.
4244
7a1a51b5
RM
42452014-05-08 Roland McGrath <roland@hack.frob.com>
4246
95afbbe5
RM
4247 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4248 look for %.ac rather than %.in.
4249
4250 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4251 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4252 * sysdeps/mach/hurd/configure: Regenerated.
4253 * sysdeps/unix/sysv/linux/configure: Regenerated.
4254
7a1a51b5
RM
4255 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4256
5057ad3b
SE
42572014-05-07 Steve Ellcey <sellcey@mips.com>
4258
4259 [BZ# 16922]
4260 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4261 (LONG_SUB): Ditto.
4262 (PTR_SUB): Ditto.
4263
8dc97517
AS
42642014-05-07 Andreas Schwab <schwab@suse.de>
4265
4266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4267 when skipping over non-matching result from nscd.
4268
ce0c5b8f
OB
42692014-05-07 Ondřej Bílka <neleai@seznam.cz>
4270
4271 [BZ #16876]
4272 * nptl/sockperf.c (client): Check socket return value.
8dc97517 4273
a1189263
OB
4274 [BZ #16877]
4275 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4276 nscd security class.
ce0c5b8f 4277
0f58d252
RM
42782014-05-06 Roland McGrath <roland@hack.frob.com>
4279
4280 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4281 * sysdeps/arm/unwind.h: ... here.
4282
83df9ad0
AJ
42832014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4284
ce0c5b8f
OB
4285 [BZ# 16916]
4286 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4287 Define.
83df9ad0 4288
f360f94a
VR
42892014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4290
4291 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4292 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4293 multiarch strncpy for PPC64.
4294 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4295 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4297 multiarch optimizations.
4298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4299 (__libc_ifunc_impl_list): Likewise.
4300 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4301 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4302 multiarch stpncpy for PPC64.
4303 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4304 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4305
978a41c3
AS
43062014-05-06 Andreas Schwab <schwab@suse.de>
4307
4308 [BZ #16912]
4309 * gmon/mcount.c (_MCOUNT_DECL): Use
4310 atomic_compare_and_exchange_bool_acq instead of
4311 catomic_compare_and_exchange_bool_acq.
4312
eb1ed03d
RM
43132014-05-05 Roland McGrath <roland@hack.frob.com>
4314
fe658845
RM
4315 * elf/Makefile (others, install-bin): Remove pldd.
4316 (pldd-modules): Variable removed.
4317 ($(objpfx)pldd): Target removed.
4318 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4319 (others, install-bin): Append pldd here.
4320 ($(objpfx)pldd): New target.
4321
eb1ed03d
RM
4322 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4323 to 0, so the first #if test emitted later doesn't see it undefined.
4324 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4325 * sysdeps/gnu/errlist.c: Regenerated.
4326
19c4bec0
AZ
43272014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4328
4329 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4330 [libc_hidden_builtin_def]: Define to empty value.
4331 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4332 [libc_hidden_builtin_def]: Likewise.
4333 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4334 [libc_hidden_builtin_def]: Likewise.
4335 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4336 [libc_hidden_builtin_def]: Likewise.
4337 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4338 __redirect_memcpy and define ifunc as default hidden symbol.
4339 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4340 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4341
7776e669
AC
43422014-05-04 Adam Conrad <adconrad@0c3.net>
4343
4344 * locale/iso-4217.def: Reintroduce XDR currency.
4345
d69aeb12
AM
43462014-05-04 Allan McRae <allan@archlinux.org>
4347
4348 * po/eo.po: Update Esperanto translation from translation project.
4349
8f1df5cf
CD
43502014-05-02 Carlos O'Donell <carlos@redhat.com>
4351
4352 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4353 and FEATURE_INDEX_MAX to 1.
4354 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4355
13e402e7
SE
43562014-05-01 Steve Ellcey <sellcey@mips.com>
4357
4358 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4359 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4360 * iconvdata/big5.c (ONE_DIRECTION): Define.
4361 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4362 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4363 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4364 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4365 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4366 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4367 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4368 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4369 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4370 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4371 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4372 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4373 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4374 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4375 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4376 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4377 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4378 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4379 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4380 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4381 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4382 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4383 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4384 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4385 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4386 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4387 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4388 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4389 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4390 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4391 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4392 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4393 * iconvdata/johab.c (ONE_DIRECTION): Define.
4394 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4395 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4396 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4397 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4398 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4399 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4400 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4401 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4402 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4403 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4404
c727f032
RM
44052014-05-01 Roland McGrath <roland@hack.frob.com>
4406
8f2f08d0
RM
4407 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4408 (_IO_JUMPS_OFFSET): Define to 0.
4409
c727f032
RM
4410 * nptl/sysdeps/pthread/bits/libc-lock.h
4411 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4412 (__libc_lock_define_initialized_recursive): Always define using
4413 initializer. Modern compilers treat uninitialized (implicit zero) and
4414 explicit zero initializers the same (i.e. put the datum in bss).
4415
a849e800
AS
44162014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4417
4418 * nscd/nscd-client.h: Include <string.h>.
4419
5331255b
DM
44202014-05-01 David S. Miller <davem@davemloft.net>
4421
4422 [BZ #16885]
4423 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4424 multiple zero bytes exist at the end of a string.
4425 Reported by Aurelien Jarno <aurelien@aurel32.net>
4426
4427 * string/test-strcmp.c (check): Add explicit test for situations where
4428 there are multiple zero bytes after the first.
4429
4fdfe821
AS
44302014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4431
4432 [BZ #16890]
4433 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4434 when compiling wprintf.
4435 * stdio-common/tstdiomisc.c (t3): New function.
4436 (main): Call it.
4437
0cdddc25
SE
44382014-05-01 Steve Ellcey <sellcey@mips.com>
4439
4440 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4441 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4442 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4443 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4444
6426d77e
SE
44452014-05-01 Steve Ellcey <sellcey@mips.com>
4446
4447 * stdlib/longlong.h: Updated from GCC.
4448
6d96f5e4
WN
44492014-05-01 Will Newton <will.newton@linaro.org>
4450 Bernard Ogden <bernie.ogden@linaro.org>
4451
7470db0c
WN
4452 * NEWS: Update fixed bug list.
4453
6d96f5e4
WN
4454 [BZ #15119]
4455 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4456
211d653c
DM
44572014-04-30 David S. Miller <davem@davemloft.net>
4458
4fa262fa
DM
4459 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4460 (libc_feholdexcept_setround_sparc_ctx): New function.
4461 (libc_fesetenv_sparc_ctx): Likewise.
4462 (libc_feupdateenv_sparc_ctx): Likewise.
4463 (libc_feholdsetround_sparc_ctx): Likewise.
4464 (libc_feholdexcept_setround_ctx): Define.
4465 (libc_feholdexcept_setroundf_ctx): Likewise.
4466 (libc_feholdexcept_setroundl_ctx): Likewise.
4467 (libc_fesetenv_ctx): Likewise.
4468 (libc_fesetenvf_ctx): Likewise.
4469 (libc_fesetenvl_ctx): Likewise.
4470 (libc_feupdateenv_ctx): Likewise.
4471 (libc_feupdateenvf_ctx): Likewise.
4472 (libc_feupdateenvl_ctx): Likewise.
4473 (libc_feresetround_ctx): Likewise.
4474 (libc_feresetroundf_ctx): Likewise.
4475 (libc_feresetroundl_ctx): Likewise.
4476 (libc_feholdsetround_ctx): Likewise.
4477 (libc_feholdsetroundf_ctx): Likewise.
4478 (libc_feholdsetroundl_ctx): Likewise.
4479
1d3d93ef
DM
4480 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4481 with __USE_GNU instead of XOPEN cpp guards.
4482
8aa583c3
DM
4483 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4484 0.
4485
211d653c
DM
4486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4487 with XOPEN cpp guards.
4488
60c8f1f6
JB
44892014-04-30 Julian Brown <julian@codesourcery.com>
4490
4491 [BZ #16888]
4492 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4493 handling.
4494
9a461d46
JM
44952014-04-30 Joseph Myers <joseph@codesourcery.com>
4496
d0f5b3f8
JM
4497 [BZ #9894]
4498 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4499 Change to 2.6.32.
4500 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4501 * sysdeps/unix/sysv/linux/configure: Regenerated.
4502 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4503 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4504 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4505 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4506 * README: Update reference to required Linux kernel version.
4507 * manual/install.texi (Linux): Update reference to required Linux
4508 kernel headers version.
4509 * INSTALL: Regenerated.
4510
9a461d46
JM
4511 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4512 header inclusion.
4513 [POSIX] (limits.h): Likewise.
4514 [POSIX] (math.h): Likewise.
4515 [POSIX] (sys/wait.h): Likewise.
4516 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4517 function.
4518 [POSIX] (stddef.h): Do not allow header inclusion.
4519
1775babf
AZ
45202014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4521
57f41c40 4522 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 4523
8f630cca
YY
45242014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4525
4526 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4527 Return immediately after lll_futex_wake.
4528
1cdeb237
SP
45292014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4530
bc8f194c
SP
4531 [BZ #16791]
4532 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4533 structure.
4534 (datahead_init_pos): Call datahead_init_common early.
4535 (datahead_init_neg): Likewise.
4536
1cdeb237
SP
4537 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4538 datahead_init_neg): New functions.
4539 * nscd/aicache.c (addhstaiX): Use them.
4540 * nscd/grpcache.c (cache_addgr): Likewise.
4541 * nscd/hstcache.c (cache_addhst): Likewise.
4542 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4543 * nscd/netgroupcache.c (do_notfound): Likewise.
4544 (addgetnetgrentX): Likewise.
4545 (addinnetgrX): Likewise.
4546 * nscd/pwdcache.c (cache_addpw): Likewise.
4547 * nscd/servicescache.c (cache_addserv): Likewise.
4548
16b293a7
SP
45492014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4550 Atsushi Onoe <atsushi@onoe.org>
4551
4552 [BZ #14308]
4553 [BZ #12994]
4554 [BZ #13651]
4555 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4556 one response is valid.
4557 * resolv/res_send.c (send_dg): Check for validity of other
4558 response if the current response is a referral.
4559
a28a9b94
SE
45602014-04-29 Steve Ellcey <sellcey@mips.com>
4561
4562 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4563
2ca180e9
SL
45642014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4565
4566 [BZ #16823]
4567 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4568 Always divide by positive zero when computing -Inf result.
4569 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4570 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4571
18f2945a
AZ
45722014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4573
4574 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4575 FPSCR if value do not change.
4576 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4577 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4578 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4579 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4580 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4581 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4582 function.
4583
5abebba4
CD
45842014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4585
4586 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4587 * sysdeps/unix/sysv/linux/hppa: Move directory from
4588 ports/systeps/unix/sysv/linux/hppa.
4589 * README: Update listing for hppa-*-linux-gnu.
4590
f7ed60c2
OB
45912014-04-28 Ondřej Bílka <neleai@seznam.cz>
4592
fff763a5
OB
4593 [BZ #16754]
4594 * manual/stdio.texi (Hook functions): Fix types of stream hook
4595 functions.
f7ed60c2
OB
4596 [BZ #16854]
4597 * socket/sys/socket.h: Fix typo in comment.
4598
df639d73
WD
45992014-04-28 Wilco <wdijkstr@arm.com>
4600
f7ed60c2 4601 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
4602 * sysdeps/arm/math_private.h: New file.
4603 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4604
48332d82
L
46052014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4606
4607 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4608 with __int128_t.
4609 (La_x86_64_retval): Likewise.
4610
e5e0d9a4
IB
46112014-04-24 Ian Bolton <ian.bolton@arm.com>
4612
4613 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4614 fpsr if value didn't change.
4615 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4616 to fpcr if value didn't change.
4617 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4618 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4619 fpsr or fpcr if value didn't change.
4620 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4621 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4622 fpcr if value didn't change.
4623 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4624 to fpsr if value didn't change.
4625
bacc75f7
SP
46262014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4627
4628 * nptl/tst-sem3.c: Use test-skeleton.c
4629 (main): Rename to do_test. Use return instead of
4630 exit.
4631 * nptl/tst-sem4.c: Use test-skeleton.c
4632 (main): Rename to do_test.
4633
a059d359
DM
46342014-04-22 David S. Miller <davem@davemloft.net>
4635
4636 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4637 (struct sigaction): New struct member __glibc_reserved0, change
4638 type of sa_flags to int.
4639
ea6c92f3
YZ
46402014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4641
4642 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4643 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4644
766c4a36
SP
46452014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4646
4647 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4648 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4649
140cc7ab
VK
46502014-04-22 Will Newton <will.newton@linaro.org>
4651 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4652
4653 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4654 (__longjmp): Add longjmp and longjmp_target SystemTap
4655 probes.
4656 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4657 (__sigsetjmp): Add setjmp SystemTap probe.
4658
c54e5cf7
CD
46592014-04-17 Carlos O'Donell <carlos@redhat.com>
4660
4661 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4662 match manual order.
4663
75ffb047
AZ
46642014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4665
4666 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4667
2cd925f7
AZ
4668 * sysdeps/powerpc/fpu/fenv_private.h
4669 (libc_feholdexcept_setroundl_ctx): Define to
4670 libc_feholdexcept_setround_ppc_ctx.
4671 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4672 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4673 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4674 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4675
39e6cd8d
IB
46762014-04-17 Ian Bolton <ian.bolton@arm.com>
4677
4678 * sysdeps/aarch64/math-tests.h: New file.
4679
f9281df9
SY
46802014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4681
4682 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4683 New.
4684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4685 Check and set bit_AVX2_Usable.
4686 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4687 macro.
4688 (bit_AVX2): Likewise.
4689 (index_AVX2_Usable): Likewise.
4690 (CPUID_AVX2): Likewise.
4691 (HAS_AVX2): Likewise.
4692
37d35007
WN
46932014-04-17 Will Newton <will.newton@linaro.org>
4694
7c677662
WN
4695 * manual/setjmp.texi (System V contexts): Add note that
4696 calling setcontext on a context created by a call to a
4697 signal handler is undefined. Update text to note that
4698 setcontext from a signal handler is possible but not
4699 recommended.
4700
37d35007 4701 [BZ #16629]
e04a4e9d
WN
4702 * stdlib/tst-setcontext.c: Include signal.h.
4703 (main): Check that the signal stack before and
4704 after swapcontext is the same.
4705
37d35007
WN
4706 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4707 Re-implement to restore registers in user code and avoid
4708 rt_sigreturn system call.
4709
423a7160
W
47102014-04-17 Wilco <wdijkstr@arm.com>
4711
4712 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4713 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4714 * math/test-fenv.c: Skip exception trap tests on targets which only
4715 support non-stop mode.
4716
bc93ab29
IB
47172014-04-17 Ian Bolton <ian.bolton@arm.com>
4718 Wilco Dijkstra <wilco.dijkstra@arm.com>
4719
4720 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4721 (libc_feholdsetround_aarch64_ctx)
4722 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4723 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4724 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4725 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4726 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4727 (libc_feresetround_noexl_ctx): Define.
4728
95fc5fa3
RH
47292014-04-16 Richard Henderson <rth@redhat.com>
4730
ddb04724
RH
4731 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4732
d77c0899
RH
4733 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4734 unwind tables.
4735
a3df56fc
RH
4736 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4737 const from the non-libc, non-ldso copy.
4738
95fc5fa3
RH
4739 * sysdeps/alpha/libm-test-ulps: Regenerate.
4740
7e0b6763
IB
47412014-04-16 Ian Bolton <ian.bolton@arm.com>
4742 Wilco Dijkstra <wilco.dijkstra@arm.com>
4743
4744 * sysdeps/aarch64/fpu/math_private.h: New file.
4745
a9ea2e0c
MS
47462014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4747
4748 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4749
ea8ba7cd
IZ
47502014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4751
4752 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4753 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4755 Intel MPX bound registers before _dl_profile_fixup.
4756 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4757 registers after _dl_profile_fixup. Save and restore bound
4758 registers bnd0/bnd1 when calling _dl_call_pltexit.
4759 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4760 (LR_BND_OFFSET): Likewise.
4761 (LRV_BND0_OFFSET): Likewise.
4762 (LRV_BND1_OFFSET): Likewise.
4763
9f2a4fbc
ST
47642014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4765
4766 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4767 to...
4768 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
4769 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4770 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4771 fields.
9f2a4fbc 4772
fd15a59b
ST
47732014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4774
4775 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4776
f19dfa0a
SL
47772014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4778
4779 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4780
4fa8bc3b
SL
47812014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4782
4783 [BZ #14770]
4784 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4785 * sysdeps/s390/configure: Regenerate.
4786
8ea587db
SL
4787 [BZ #16824]
4788 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4789 Set round-to-nearest internally to reduce error accumulation.
4790
aa5f0ff1
AM
47912014-04-16 Alan Modra <amodra@gmail.com>
4792
4793 [BZ #16740]
4794 [BZ #16619]
4795 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4796 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 4797 * NEWS: Update fixed bug list.
aa5f0ff1 4798
bb9c256f
SP
47992014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4800
4801 * benchtests/Makefile: Depend on libraries in build directory.
4802 (bench-math): Separate out math tests.
4803 (bench-pthread): Separate out pthread tests.
4804 (bench): Include math and pthread tests.
4805
f737dfd0
CD
48062014-04-14 Carlos O'Donell <carlos@redhat.com>
4807
4808 [BZ #16831]
4809 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4810 _dl_debug_initialize.
4811
0699f766
CD
4812 * configure.ac: Remove SELinux header check.
4813 * configure: Regenerate.
4814 * nscd/selinux.c (perms): Array of const char* to permission names.
4815 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4816 default policy. Call string_to_security_class and string_to_av_perm to
4817 translate strings. Enforce default policy and call avs_has_perm with
4818 results of translated strings.
4819
809bd45f
DM
48202014-04-13 David S. Miller <davem@davemloft.net>
4821
4822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4823
89e691f2
AM
48242014-04-12 Allan McRae <allan@archlinux.org>
4825
4826 [BZ #16838]
4827 * manual/string.texi (Collation Functions): Fix qsort argument
4828 order in example.
4829 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4830
9c9daaeb
CM
48312014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4832
4833 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4834 Make the test a no-op if there are no exceptions defined.
4835
95561fb9
PP
48362014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4837
fe8d072c 4838 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
4839 enable-hardcoded-path-in-tests
4840
970c602a
WN
48412014-04-11 Will Newton <will.newton@linaro.org>
4842
4843 * benchtests/Makefile (extra-objs): Add json-lib.o.
4844 (bench-func): Tidy up JSON output.
4845 * benchtests/bench-skeleton.c: Include json-lib.h.
4846 (main): Use JSON library functions to do output of
4847 benchmark results.
4848 * benchtests/bench-timing-type.c (main): Output the
4849 timing type simply, leaving formatting to the user.
4850 * benchtests/json-lib.c: New file.
4851 * benchtests/json-lib.h: Likewise.
4852
36875b06
TR
48532014-04-11 Torvald Riegel <triegel@redhat.com>
4854
4855 [BZ #15215]
4856 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4857 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4858 memory barriers. Add comments.
4859 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4860 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4861 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4862 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4863 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4864 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4865
579db35a
SL
48662014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4867
4868 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4869 * sysdeps/s390/s390-64/configure.ac: ... this ...
4870 * sysdeps/s390/configure.ac: ... to here.
4871 * sysdeps/s390/s390-32/configure: Delete file.
4872 * sysdeps/s390/s390-64/configure: Delete file.
4873 * sysdeps/s390/configure: Regenerate.
4874
c12e9f37
JAPH
48752014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4876
4877 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4878
439bda32
WN
48792014-04-11 Will Newton <will.newton@linaro.org>
4880
4881 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4882 to zero if it is not defined elsewhere. (mtrim): Test
4883 the value of MALLOC_DEBUG with #if rather than #ifdef.
4884
6a5d6ea1
TR
48852014-04-10 Torvald Riegel <triegel@redhat.com>
4886
4887 * benchtests/pthread_once-inputs: New file.
4888 * benchtests/pthread_once-source.c: New file.
4889 * benchtests/README: Update documentation.
4890
a4c75cfd
IZ
48912014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4892 H.J. Lu <hongjiu.lu@intel.com>
4893
4894 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4895 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4896 * sysdeps/x86_64/configure: Regenerated.
4897 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4898 macro.
4899 (REGISTER_SAVE_RAX): Likewise.
4900 (REGISTER_SAVE_RCX): Likewise.
4901 (REGISTER_SAVE_RDX): Likewise.
4902 (REGISTER_SAVE_RSI): Likewise.
4903 (REGISTER_SAVE_RDI): Likewise.
4904 (REGISTER_SAVE_R8): Likewise.
4905 (REGISTER_SAVE_R9): Likewise.
4906 (REGISTER_SAVE_BND0): Likewise.
4907 (REGISTER_SAVE_BND1): Likewise.
4908 (REGISTER_SAVE_BND2): Likewise.
4909 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4910 bound registers when calling _dl_fixup.
4911
27822ce6
AZ
49122014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4913
4914 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
4915 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4916 of its definition.
27822ce6
AZ
4917 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4918 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4919 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4920 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4921 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4922 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4923 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4924
a88ddc90
PTB
49252014-04-09 Peter Brett <peter@peter-b.co.uk>
4926
4927 [BZ #15514]
4928 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4929 pathconf(_PC_NAME_MAX).
4930
01f8eac2
AZ
49312014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4932
4933 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4934 Remove macro usage.
4935 (__PTHREAD_SPINS): Move definition to ...
4936 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4937 (__PTHREAD_SPINS): ... here.
4938 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4939 (__PTHREAD_SPIN): Likewise.
4940 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4941 (__PTHREAD_SPIN): Likewise.
4942 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4943 (__PTHREAD_SPIN): Likewise.
4944 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4945 (__PTHREAD_SPIN): Likewise.
4946 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4947 (__PTHREAD_SPIN): Likewise.
4948 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4949 (__PTHREAD_SPIN): Likewise.
4950 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4951 (__PTHREAD_SPIN): Likewise.
4952 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4953 (__PTHREAD_SPIN): Likewise.
4954 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4955 (__PTHREAD_SPIN): Likewise.
4956 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4957 (__PTHREAD_SPIN): Likewise.
4958 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4959 (__PTHREAD_SPIN): Likewise.
4960 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4961 (__PTHREAD_SPIN): Likewise.
4962
de21c33c
AZ
4963 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4964 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4965 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4966 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4967 imply folder.
4968 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4969 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4970 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4971 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4972 correct imply path.
4973 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4974 strlen symbol for non multi-arch builds.
4975 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4976 missing hidden_def and weak_alias.
4977
862c472e
CD
49782014-04-08 Carlos O'Donell <carlos@redhat.com>
4979
4980 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4981
8667f90e
WN
49822014-04-07 Will Newton <will.newton@linaro.org>
4983
4984 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4985 and contents. [!_LIBC] Remove #ifndef and contents.
4986 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4987 * string/memccpy.c (__memccpy): Use ANSI prototype.
4988 * string/memfrob.c (memfrob): Likewise.
4989 * string/strcoll.c (STRCOLL): Likewise.
4990 * string/strlen.c (strlen): Likewise.
4991 * string/strtok.c (STRTOK): Likewise.
4992 * string/strcat.c: Remove unused #include of memcopy.h.
4993 (strcat): Use ANSI prototype.
4994 * string/strchr.c: Remove unused #include of memcopy.h.
4995 (strchr): Use ANSI prototype.
4996 * string/strcmp.c: Remove unused #include of memcopy.h.
4997 (strcmp): Use ANSI prototype.
4998 * string/strcpy.c: Remove unused #include of memcopy.h.
4999 (strcpy): Use ANSI prototype.
5000
7ffa9423
AZ
50012014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5002
5003 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5004 * config.make.in (config-extra-cppflags): Set it from
5005 libc_extra_cppflags.
5006 * configure.ac (libc_extra_cflags): Make it accumulate over
5007 configure fragments.
5008 (libc_extra_cppflags): New flag.
5009 * configure. Regenerate.
5010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
5011 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5012 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
5013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5014
8bd70862
AZ
5015 [BZ #16815]
5016 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5017 result for FE_DOWNWARD rounding mode.
5018 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5019 Likewise.
5020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5021
d42f3448
CM
50222014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5023
5024 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5025 in function argument name.
5026
1c21d115
DS
50272014-04-03 David Svoboda <svoboda@cert.org>
5028
5029 [BZ #5666]
5030 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5031 explicitly.
5032
fcccd512
RM
50332014-04-03 Roland McGrath <roland@hack.frob.com>
5034
5035 * elf/dl-unmap-segments.h: New file.
5036 * sysdeps/generic/ldsodefs.h
5037 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5038 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5039 * elf/dl-fptr.c: Likewise.
5040 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5041 * sysdeps/aarch64/tlsdesc.c: Likewise.
5042 * sysdeps/arm/tlsdesc.c: Likewise.
5043 * sysdeps/i386/tlsdesc.c: Likewise.
5044 * sysdeps/tile/dl-runtime.c: Likewise.
5045 * sysdeps/x86_64/tlsdesc.c: Likewise.
5046 * elf/dl-load.h: New file.
5047 * elf/dl-load.c: Include it.
5048 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5049 Macros moved to dl-load.h.
5050 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5051 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5052 Use _dl_unmap_segments in place of __munmap.
5053 Break out segment-mapping loop into ...
5054 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5055
f6488e2b
WN
50562014-04-03 Will Newton <will.newton@linaro.org>
5057
5058 * elf/dl-lookup.c (do_lookup_x): Remove comment
5059 referring to nested function and move variable
5060 declarations down to before first use.
5061
6f05bafe
JM
50622014-04-02 Joseph Myers <joseph@codesourcery.com>
5063
a84e78c8
JM
5064 [BZ #16799]
5065 [BZ #16800]
5066 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5067 with 0 numerator.
5068 * math/s_catanf.c (__catanf): Likewise.
5069 * math/s_catanh.c (__catanh): Likewise.
5070 * math/s_catanhf.c (__catanhf): Likewise.
5071 * math/s_catanhl.c (__catanhl): Likewise.
5072 * math/s_catanl.c (__catanl): Likewise.
5073 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5074 by positive zero when computing -Inf result.
5075 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5076 (catanh_test): Likewise.
5077 * sysdeps/i386/fpu/libm-test-ulps: Update.
5078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5079
6f05bafe
JM
5080 [BZ #16789]
5081 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5082 instead of using underflowing value in computing result.
5083 * math/s_clog10.c (__clog10): Likewise.
5084 * math/s_clog10f.c (__clog10f): Likewise.
5085 * math/s_clog10l.c (__clog10l): Likewise.
5086 * math/s_clogf.c (__clogf): Likewise.
5087 * math/s_clogl.c (__clogl): Likewise.
5088 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5089 (clog10_test): Likewise.
5090 * sysdeps/i386/fpu/libm-test-ulps: Update.
5091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5092
b0abbc21
AM
50932014-04-02 Alan Modra <amodra@gmail.com>
5094
5095 [BZ #16739]
5096 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5097 output when value is near a power of two. Use int64_t for lx and
5098 remove casts. Use decimal rather than hex exponent constants.
5099 Don't use long double multiplication when double will suffice.
5100 * math/libm-test.inc (nextafter_test_data): Add tests.
5101 * NEWS: Add 16739 and 16786 to bug list.
5102
af6b1797
AM
5103 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5104
483818d7
AM
5105 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5106
f6c55796
WN
51072014-04-01 Will Newton <will.newton@linaro.org>
5108
5109 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5110 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5111
13f7fe35
FW
51122014-04-01 Florian Weimer <fweimer@redhat.com>
5113
5114 [BZ #13347]
5115 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5116 * nptl/tst-setuid2.c: New file.
5117 * nptl/Makefile (xtests): Add tst-setuid2.
5118
c859b32e
AM
51192014-04-01 Alan Modra <amodra@gmail.com>
5120
5121 [BZ #16786]
5122 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5123
54fa2475
JM
51242014-03-31 Joseph Myers <joseph@codesourcery.com>
5125
8795b4a4
JM
5126 [BZ #6803]
5127 [BZ #6804]
5128 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5129 set errno as appropriate.
5130 * math/w_scalbf.c (__scalbf): Likewise.
5131 * math/w_scalbl.c (__scalbl): Likewise.
5132 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5133 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5134 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5135 Add more NaN tests.
5136
54fa2475
JM
5137 [BZ #16349]
5138 * math/w_atan2.c: Include <errno.h>.
5139 (__atan2): Set errno for result underflowing to zero.
5140 * math/w_atan2f.c: Include <errno.h>.
5141 (__atan2f): Set errno for result underflowing to zero.
5142 * math/w_atan2l.c: Include <errno.h>.
5143 (__atan2l): Set errno for result underflowing to zero.
5144 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5145 tests.
5146 * math/auto-libm-test-out: Regenerated.
5147
757d9dd5
AZ
51482014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5149
5150 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5151 Encode instruction correctly in little endian.
5152 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5153 Likewise.
5154 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5155 Likewise.
5156 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5157 Likewise.
5158 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5159 Likewise.
5160
d7a68734
JM
51612014-03-31 Joseph Myers <joseph@codesourcery.com>
5162
47c5adeb
JM
5163 [BZ #9894]
5164 * sysdeps/unix/sysv/linux/kernel-features.h
5165 [__sparc__ && !__arch64__ && !__sparc_v9__]
5166 (__ASSUME_SET_ROBUST_LIST): Do not define.
5167 [__sparc__ && !__arch64__ && !__sparc_v9__]
5168 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5169 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5170 Likewise.
5171 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5172 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5173 (__ASSUME_REQUEUE_PI): Likewise.
5174 (__ASSUME_SET_ROBUST_LIST): Likewise.
5175 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5176 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5177 Undefine.
5178 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5179 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5180 Likewise.
5181 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5182 Likewise.
5183 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5184 Likewise.
5185 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5186 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5187 Undefine.
5188 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5189 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5190 Likewise.
5191
d7a68734
JM
5192 [BZ #16648]
5193 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5194 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5195 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5196
c760f5c2
WN
51972014-03-31 Will Newton <will.newton@linaro.org>
5198
5199 * benchtests/Makefile (bench): Add ffs and ffsll to list
5200 of tests.
5201 * benchtests/ffs-inputs: New file.
5202 * benchtests/ffsll-inputs: Likewise.
5203
ea6029b1
JM
52042014-03-29 Joseph Myers <joseph@codesourcery.com>
5205
5206 [BZ #16770]
5207 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5208 too large before casting to int.
5209 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5210 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5211 * math/libm-test.inc (scalb_test_data): Add more tests.
5212
cf806aff
SP
52132014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5214
56737508
SP
5215 * benchtests/Makefile (DETAILED_OPT): New make option.
5216 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5217 set.
5218 * benchtests/bench-skeleton.c: Include stdbool.h.
5219 (main): Store and print timings per input.
5220 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5221 member to each argument value.
5222 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5223 (_print_arg_data): Initialize per-input timing to 0.
5224
cb5e4aad
SP
5225 * benchtests/Makefile (timing-type): New binary.
5226 (bench-clean): Also remove bench-timing-type.
5227 (bench): New target for timing-type.
5228 (bench-func): Print output in JSON format.
5229 * benchtests/bench-skeleton.c (main): Print output in JSON
5230 format.
5231 * benchtests/bench-timing-type.c: New file.
5232 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5233 (TIMING_PRINT_STATS): Remove.
5234 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5235 name separately.
5236
cf806aff
SP
5237 * benchtests/bench-modf.c: Remove.
5238 * benchtests/modf-inputs: New inputs file.
5239
289e0779
JM
52402014-03-28 Joseph Myers <joseph@codesourcery.com>
5241
5242 [BZ #16362]
5243 * math/s_clog10.c (M_PI_LOG10E): New macro.
5244 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5245 imaginary parts are 0.
5246 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5247 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5248 imaginary parts are 0.
5249 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5250 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5251 imaginary parts are 0.
5252 * math/libm-test.inc (clog10_test_data): Update expected results
5253 for when real and imaginary parts are 0.
5254
277ae3f1
PP
52552014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5256
5257 * elf/dl-load.c: Finish conversion of __builtin_expect into
5258 __glibc_{un}likely.
5259
03a7091f
JM
52602014-03-27 Joseph Myers <joseph@codesourcery.com>
5261
5262 [BZ #16348]
5263 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5264 1+x for argument with exponent below -67.
5265 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5266 Likewise.
5267 * math/auto-libm-test-in: Add more tests of exp.
5268 * math/auto-libm-test-out: Regenerated.
5269
ea7d8b95
SP
52702014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5271
dd3022d7
SP
5272 [BZ #16759]
5273 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5274 (nscd_getnetgrent): Use it.
5275
ea7d8b95
SP
5276 [BZ #16760]
5277 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5278 of stpcpy.
5279
df5b85da
AK
52802014-03-27 Andi Kleen <ak@linux.intel.com>
5281
57f41c40
AS
5282 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5283 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5284 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5285 (lll_robust_unlock): Remove out of line section. Use cfi
5286 intrinsics.
df5b85da 5287 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
5288 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5289 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5290 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5291 (lll_robust_unlock): Remove out of line section. Use cfi
5292 intrinsics.
df5b85da
AK
5293 (LLL_STUB_UNWIND_INFO*): Remove.
5294
fbd6b5a4
SP
52952014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5296
5297 [BZ #16758]
5298 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5299 blank values.
5300
1b26b855
PP
53012014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5302
5303 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5304
9be36fb8
JM
53052014-03-26 Joseph Myers <joseph@codesourcery.com>
5306
5307 [BZ #16198]
5308 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5309 fnstenv.
5310 * math/test-fenv-preserve.c: New file.
5311 * math/Makefile (tests): Add test-fenv-preserve.
5312
60a2f3c1
WN
53132014-03-26 Will Newton <will.newton@linaro.org>
5314
5315 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5316
a5e5f1e2
RM
53172014-03-25 Roland McGrath <roland@hack.frob.com>
5318
5319 * scripts/versionlist.awk: Partition the version sets and emit all
5320 GLIBC_* (sorted) before all others (sorted).
5321
00f4012a
JM
53222014-03-25 Joseph Myers <joseph@codesourcery.com>
5323
5324 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5325 GLIBC_2.2.5 version.
5326
7bc5a741
AZ
53272014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5328
5329 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5330 calls.
5331
7578473b
AZ
5332 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5333 previous change.
5334
f3f1dab3
AZ
5335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5336
6da36183
AS
53372014-03-25 Andreas Schwab <schwab@suse.de>
5338
5339 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5340 label to be used after in6ailist is initialized.
5341
f3f1dab3 53422014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 5343
7578473b 5344 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
5345 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5346
046651c1
JM
53472014-03-25 Joseph Myers <joseph@codesourcery.com>
5348
5349 [BZ #16357]
5350 [BZ #16599]
5351 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5352 min_plus_half.
5353 (fp_formats): Update initializers.
5354 (init_fp_formats): Initialize new field.
5355 (output_for_one_input_case): Allow underflow for results up to
5356 min_plus_half.
5357 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5358 * math/auto-libm-test-in: Don't mark some underflows from asin and
5359 atanh as spurious.
5360 * math/auto-libm-test-out: Regenerated.
5361 * sysdeps/i386/fpu/libm-test-ulps: Update.
5362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5363
003e49ed
AS
53642014-03-25 Andreas Schwab <schwab@suse.de>
5365
5366 * libio/Makefile (tst-ftell-partial-wide-ENV)
5367 (tst-ftell-active-handler-ENV): Define.
5368
de031874
SL
53692014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5370
5371 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5372
55a81e3b
PP
53732014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5374
5375 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5376
f3426898
JM
53772014-03-24 Joseph Myers <joseph@codesourcery.com>
5378
5379 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5380 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5381 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5382
a42faf59
PP
53832014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5384
5385 [BZ #16634]
a42faf59 5386 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
5387 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5388 (open_path): Change from boolean 'secure' to complete flag 'mode'
5389 (_dl_map_object): Adjust.
a42faf59
PP
5390 * elf/Makefile (tests): Add tst-dlopen-aout.
5391 * elf/tst-dlopen-aout.c: New test.
5392
50936127
SL
53932014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5394
5395 [BZ #16714]
5396 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5397 (struct stat): Rename member pad0 to __glibc_reserved0.
5398
26011b5c
SL
5399 [BZ #16712]
5400 * sysdeps/s390/s390-32/bits/wordsize.h
5401 (__WORDSIZE32_SIZE_ULONG): New define.
5402 * sysdeps/s390/s390-64/bits/wordsize.h
5403 (__WORDSIZE32_SIZE_ULONG): Likewise.
5404 * sysdeps/generic/stdint.h (SIZE_MAX):
5405 Define as UL if __WORDSIZE32_SIZE_ULONG.
5406
a2d86bf1
SL
5407 [BZ #16713]
5408 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5409 (__glibc_reserved0): New variable.
5410 (sa_flags): Change type to int.
5411
78b6eebc
SL
5412 * posix/Makefile (before-compile): Use += before-compile instead
5413 of a :=.
5414
f1399b5a
SL
5415 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5416 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5417
a071766e
AS
54182014-03-20 Andreas Schwab <schwab@suse.de>
5419
5420 [BZ #16743]
5421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5422 non-matching result from nscd.
5423
27c673b8
SP
54242014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5425
5426 * scripts/bench.py: Moved to ...
5427 * benchtests/scripts/bench.py: ... here.
5428 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5429
44152e4b
AS
54302014-03-24 Andreas Schwab <schwab@suse.de>
5431
5432 [BZ #16002]
5433 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5434 alloca_account and account alloca use for struct in6ailist.
5435
b376a11a
JM
54362014-03-24 Joseph Myers <joseph@codesourcery.com>
5437
5438 [BZ #16284]
5439 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5440 rounding mode to recompute results that overflow to infinity or
5441 underflow to zero.
5442 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5443 bug 16284.
5444 * math/auto-libm-test-out: Regenerated.
5445 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5446 (ccosh_test): Likewise.
5447 (csin_test_data): Use plus_oflow.
5448 (csin_test): Use ALL_RM_TEST.
5449 (csinh_test_data): Use plus_oflow.
5450 (csinh_test): Use ALL_RM_TEST.
5451 * sysdeps/i386/fpu/libm-test-ulps: Update.
5452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5453
f7be7376
JM
54542014-03-21 Joseph Myers <joseph@codesourcery.com>
5455
1ca2d03e
JM
5456 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5457 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5458 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5459
f7be7376
JM
5460 [BZ #16731]
5461 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5462 when x - 1 is zero.
5463 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5464 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5465 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5466 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5467 argument is 1.
5468 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5469 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5470 zero.
5471 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5472 * sysdeps/i386/fpu/libm-test-ulps: Update.
5473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5474
fdf4534d
SP
54752014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5476
df26ea53
SP
5477 * scripts/bench.pl: Remove file.
5478 * scripts/bench.py: New benchmark script.
5479 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5480 * benchtests/README: Mention python dependency.
5481 * scripts/pylintrc: New file.
5482 * scripts/pylint: New file.
5483
fdf4534d
SP
5484 * bits/mathdef.h: Use #ifdef instead of #if.
5485 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5486 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5487 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5488 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5489 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5490 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5491
6f23d093
AZ
54922014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5493 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5494
5495 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5497 and strpbrk-ppc64 objects.
5498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5499 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5500 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5501 multiarch strpbrk for POWER7.
5502 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5503 multiarch strpbrk for PPC64.
5504 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5505 ifunc selector.
5506 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5507 strpbrk for POWER7.
5508
8c92dfff
JM
55092014-03-20 Joseph Myers <joseph@codesourcery.com>
5510
5511 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5512 (atan_test): Likewise.
5513 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5514 (atanh_test): Use ALL_RM_TEST.
5515 (atan2_test_data): Likewise.
5516 (cabs_test): Likewise.
5517 (cacosh_test): Likewise.
5518 (carg_test): Likewise.
5519 (casin_test): Likewise.
5520 (casinh_test): Likewise.
5521 (cbrt_test): Likewise.
5522 (csqrt_test): Likewise.
5523 (erf_test): Likewise.
5524 (erfc_test): Likewise.
5525 (pow10_test): Likewise.
5526 (exp2_test): Likewise.
5527 (hypot_test): Likewise.
5528 (j0_test): Likewise.
5529 (j1_test): Likewise.
5530 (lgamma_test): Likewise.
5531 (gamma_test): Likewise.
5532 (sincos_test): Likewise.
5533 (tanh_test): Likewise.
5534 (y0_test): Likewise.
5535 (y1_test): Likewise.
5536 * sysdeps/i386/fpu/libm-test-ulps: Update.
5537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5538
6eaf95cb
AZ
55392014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5540
a387428c
SP
5541 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
5543 and strcspn-ppc64 objects.
5544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5545 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5546 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5547 multiarch strcspn for POWER7.
5548 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5549 multiarch strcspn for PPC64.
5550 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5551 ifunc selector.
5552 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5553 strcspn for POWER7.
5554
ae3a5dff
JM
55552014-03-20 Joseph Myers <joseph@codesourcery.com>
5556
5557 * math/gen-libm-test.pl (generate_testfile): Expect only function
5558 name as argument to AUTO_TESTS_* and pass results for all rounding
5559 modes to parse_args.
5560 (parse_auto_input): Separate inputs of automatic tests from
5561 outputs before storing in %auto_tests.
5562 * math/libm-test.inc (acos_test_data): Update call to
5563 AUTO_TESTS_f_f.
5564 (acos_test): Use ALL_RM_TEST.
5565 (acos_tonearest_test_data): Remove.
5566 (acos_test_tonearest): Likewise.
5567 (acos_towardzero_test_data): Likewise.
5568 (acos_test_towardzero): Likewise.
5569 (acos_downward_test_data): Likewise.
5570 (acos_test_downward): Likewise.
5571 (acos_upward_test_data): Likewise.
5572 (acos_test_upward): Likewise.
5573 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5574 (asin_test_data): Likewise.
5575 (asin_test): Use ALL_RM_TEST.
5576 (asin_tonearest_test_data): Remove.
5577 (asin_test_tonearest): Likewise.
5578 (asin_towardzero_test_data): Likewise.
5579 (asin_test_towardzero): Likewise.
5580 (asin_downward_test_data): Likewise.
5581 (asin_test_downward): Likewise.
5582 (asin_upward_test_data): Likewise.
5583 (asin_test_upward): Likewise.
5584 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5585 (atan_test_data): Likewise.
5586 (atanh_test_data): Likewise.
5587 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5588 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5589 (carg_test_data): Likewise.
5590 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5591 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5592 (ccosh_test_data): Likewise.
5593 (cexp_test_data): Likewise.
5594 (clog_test_data): Likewise.
5595 (clog10_test_data): Likewise.
5596 (cos_test_data): Update call to AUTO_TESTS_f_f.
5597 (cos_test): Use ALL_RM_TEST.
5598 (cos_tonearest_test_data): Remove.
5599 (cos_test_tonearest): Likewise.
5600 (cos_towardzero_test_data): Likewise.
5601 (cos_test_towardzero): Likewise.
5602 (cos_downward_test_data): Likewise.
5603 (cos_test_downward): Likewise.
5604 (cos_upward_test_data): Likewise.
5605 (cos_test_upward): Likewise.
5606 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5607 (cosh_test): Use ALL_RM_TEST.
5608 (cosh_tonearest_test_data): Remove.
5609 (cosh_test_tonearest): Likewise.
5610 (cosh_towardzero_test_data): Likewise.
5611 (cosh_test_towardzero): Likewise.
5612 (cosh_downward_test_data): Likewise.
5613 (cosh_test_downward): Likewise.
5614 (cosh_upward_test_data): Likewise.
5615 (cosh_test_upward): Likewise.
5616 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5617 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5618 (ctan_test_data): Likewise.
5619 (ctan_test): Use ALL_RM_TEST.
5620 (ctan_tonearest_test_data): Remove.
5621 (ctan_test_tonearest): Likewise.
5622 (ctan_towardzero_test_data): Likewise.
5623 (ctan_test_towardzero): Likewise.
5624 (ctan_downward_test_data): Likewise.
5625 (ctan_test_downward): Likewise.
5626 (ctan_upward_test_data): Likewise.
5627 (ctan_test_upward): Likewise.
5628 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5629 (ctanh_test): Use ALL_RM_TEST.
5630 (ctanh_tonearest_test_data): Remove.
5631 (ctanh_test_tonearest): Likewise.
5632 (ctanh_towardzero_test_data): Likewise.
5633 (ctanh_test_towardzero): Likewise.
5634 (ctanh_downward_test_data): Likewise.
5635 (ctanh_test_downward): Likewise.
5636 (ctanh_upward_test_data): Likewise.
5637 (ctanh_test_upward): Likewise.
5638 (erf_test_data): Update call to AUTO_TESTS_f_f.
5639 (erfc_test_data): Likewise.
5640 (exp_test_data): Likewise.
5641 (exp_test): Use ALL_RM_TEST.
5642 (exp_tonearest_test_data): Remove.
5643 (exp_test_tonearest): Likewise.
5644 (exp_towardzero_test_data): Likewise.
5645 (exp_test_towardzero): Likewise.
5646 (exp_downward_test_data): Likewise.
5647 (exp_test_downward): Likewise.
5648 (exp_upward_test_data): Likewise.
5649 (exp_test_upward): Likewise.
5650 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5651 (exp10_test): Use ALL_RM_TEST.
5652 (exp10_tonearest_test_data): Remove.
5653 (exp10_test_tonearest): Likewise.
5654 (exp10_towardzero_test_data): Likewise.
5655 (exp10_test_towardzero): Likewise.
5656 (exp10_downward_test_data): Likewise.
5657 (exp10_test_downward): Likewise.
5658 (exp10_upward_test_data): Likewise.
5659 (exp10_test_upward): Likewise.
5660 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5661 (expm1_test_data): Likewise.
5662 (expm1_test): Use ALL_RM_TEST.
5663 (expm1_tonearest_test_data): Remove.
5664 (expm1_test_tonearest): Likewise.
5665 (expm1_towardzero_test_data): Likewise.
5666 (expm1_test_towardzero): Likewise.
5667 (expm1_downward_test_data): Likewise.
5668 (expm1_test_downward): Likewise.
5669 (expm1_upward_test_data): Likewise.
5670 (expm1_test_upward): Likewise.
5671 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5672 (fma_test): Use ALL_RM_TEST.
5673 (fma_towardzero_test_data): Remove.
5674 (fma_test_towardzero): Likewise.
5675 (fma_downward_test_data): Likewise.
5676 (fma_test_downward): Likewise.
5677 (fma_upward_test_data): Likewise.
5678 (fma_test_upward): Likewise.
5679 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5680 (j0_test_data): Update call to AUTO_TESTS_f_f.
5681 (j1_test_data): Likewise.
5682 (jn_test_data): Update call to AUTO_TESTS_if_f.
5683 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5684 (log_test_data): Update call to AUTO_TESTS_f_f.
5685 (log10_test_data): Likewise.
5686 (log1p_test_data): Likewise.
5687 (log2_test_data): Likewise.
5688 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5689 (pow_tonearest_test_data): Likewise.
5690 (sin_test_data): Update call to AUTO_TESTS_f_f.
5691 (sin_test): Use ALL_RM_TEST.
5692 (sin_tonearest_test_data): Remove.
5693 (sin_test_tonearest): Likewise.
5694 (sin_towardzero_test_data): Likewise.
5695 (sin_test_towardzero): Likewise.
5696 (sin_downward_test_data): Likewise.
5697 (sin_test_downward): Likewise.
5698 (sin_upward_test_data): Likewise.
5699 (sin_test_upward): Likewise.
5700 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5701 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5702 (sinh_test): Use ALL_RM_TEST.
5703 (sinh_tonearest_test_data): Remove.
5704 (sinh_test_tonearest): Likewise.
5705 (sinh_towardzero_test_data): Likewise.
5706 (sinh_test_towardzero): Likewise.
5707 (sinh_downward_test_data): Likewise.
5708 (sinh_test_downward): Likewise.
5709 (sinh_upward_test_data): Likewise.
5710 (sinh_test_upward): Likewise.
5711 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5712 (sqrt_test): Use ALL_RM_TEST.
5713 (sqrt_tonearest_test_data): Remove.
5714 (sqrt_test_tonearest): Likewise.
5715 (sqrt_towardzero_test_data): Likewise.
5716 (sqrt_test_towardzero): Likewise.
5717 (sqrt_downward_test_data): Likewise.
5718 (sqrt_test_downward): Likewise.
5719 (sqrt_upward_test_data): Likewise.
5720 (sqrt_test_upward): Likewise.
5721 (tan_test_data): Update call to AUTO_TESTS_f_f.
5722 (tan_test): Use ALL_RM_TEST.
5723 (tan_tonearest_test_data): Remove.
5724 (tan_test_tonearest): Likewise.
5725 (tan_towardzero_test_data): Likewise.
5726 (tan_test_towardzero): Likewise.
5727 (tan_downward_test_data): Likewise.
5728 (tan_test_downward): Likewise.
5729 (tan_upward_test_data): Likewise.
5730 (tan_test_upward): Likewise.
5731 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5732 (tgamma_test_data): Likewise.
5733 (y0_test_data): Likewise.
5734 (y1_test_data): Likewise.
5735 (yn_test_data): Update call to AUTO_TESTS_if_f.
5736 (main): Do not call removed functions.
5737
d71aeee8
JM
57382014-03-19 Joseph Myers <joseph@codesourcery.com>
5739
5740 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5741 (ldexp_test_data): Remove.
5742 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5743 scalbn_test_data.
5744 (scalb_test): Use ALL_RM_TEST.
5745
baaf1ded
AS
57462014-03-19 Andreas Schwab <schwab@suse.de>
5747
5748 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5749
b1115e91
JM
57502014-03-19 Joseph Myers <joseph@codesourcery.com>
5751
5752 [BZ #16649]
5753 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5754 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5755 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5756 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5757 (__ASSUME_PREADV): Undefine.
5758 (__ASSUME_PWRITEV): Likewise.
5759
0283ecca
RM
57602014-03-18 Roland McGrath <roland@hack.frob.com>
5761
7d375303
RM
5762 * bits/mman-linux.h: Add comment about non-Linux use.
5763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5764 bits/mman-linux.h resting place.
5765
0283ecca
RM
5766 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5767 * bits/mman-linux.h: ... here.
5768
aebe1003
AZ
57692014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5770
5771 * conform/conformtest.pl: Add standard definition when calling C
5772 preprocessor on data files.
5773 (checknamespace): Remove unused variable.
5774
b29b6bb8
JM
57752014-03-18 Joseph Myers <joseph@codesourcery.com>
5776
5777 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5778 minus_oflow, plus_uflow and minus_uflow in expected results.
5779 * math/libm-test.inc (scalbn_test_data): Add more tests of
5780 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5781 minus_uflow.
5782 (scalbn_test): Use ALL_RM_TEST.
5783 (scalbln_test_data): Add more tests of negative arguments. Use
5784 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5785 (scalbln_test): Use ALL_RM_TEST.
5786
c8f8fa15
RM
57872014-03-18 Roland McGrath <roland@hack.frob.com>
5788
5789 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5790
fede7a5f
WN
57912014-03-18 Will Newton <will.newton@linaro.org>
5792
5793 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5794 inaccurate comment.
5795
80cf0a58
JM
57962014-03-18 Joseph Myers <joseph@codesourcery.com>
5797
5798 * Makerules [!subdir] (check-abi): Exit with error status if a
5799 test failed.
5800
b3620862
JM
58012014-03-17 Joseph Myers <joseph@codesourcery.com>
5802
5803 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5804 for rint. Include results for all rounding modes.
5805 (nearbyint_test): Use ALL_RM_TEST.
5806 (rint_test_data): Include all tests used for nearbyint.
5807
788bba36
WN
58082014-03-17 Will Newton <will.newton@linaro.org>
5809
04ec140a
WN
5810 * nptl/sysdeps/pthread/pthread.h: Revert previous
5811 change.
5812
7579d8d5
WN
5813 * sysdeps/generic/ldsodefs.h: Revert previous
5814 change.
5815
c15cf13a
WN
5816 * libio/genops.c: Revert previous change.
5817 * libio/libioP.h: Likewise.
5818 * stdio-common/vfprintf.c: Likewise.
5819
d0ac1324
WN
5820 * sysdeps/generic/math_private.h: Revert previous
5821 change.
5822
9290130a
WN
5823 * sysdeps/generic/math_private.h: Check whether
5824 HAVE_RM_CTX is defined with #ifdef rather
5825 than #if.
5826
afb466fc
WN
5827 * argp/argp-fmtstream.h: Check whether
5828 __STRICT_ANSI__ is defined with #ifdef rather
5829 than #if.
5830 * argp/argp.h: Likewise.
5831
f7efd7c3
WN
5832 * libio/genops.c: Check whether
5833 _IO_JUMPS_OFFSET is defined with #ifdef rather
5834 than #if.
5835 * libio/libioP.h: Likewise.
5836 * stdio-common/vfprintf.c: Likewise.
5837
53f1bed3
WN
5838 * sysdeps/generic/ldsodefs.h: Check whether
5839 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5840 than #if.
5841
788bba36
WN
5842 * nptl/sysdeps/pthread/pthread.h: Check
5843 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5844 its value.
5845
fcd89ebe
SP
58462014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5847
ae42bbc5
SP
5848 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5849 setting O_APPEND.
5850 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5851 test case.
5852
ea33158c
SP
5853 [BZ #16680]
5854 * libio/fileops.c (_IO_file_open): Seek to end of file but
5855 don't cache the offset.
5856 (get_file_offset): Remove function.
5857 (do_ftell): Use cached offset when available.
5858 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5859 don't cache the offset.
5860 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5861 case.
5862 (do_one_test): Call it.
5863 (do_ftell_test): Fix up expected old offset for a+ mode.
5864 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5865 available.
5866
b1dbb426
SP
5867 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5868 up test status with function return status.
5869 (do_write_test): Likewise.
5870 (do_append_test): Likewise.
5871
fcd89ebe
SP
5872 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5873 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5874 Remove.
5875
9962a2d3
JM
58762014-03-17 Joseph Myers <joseph@codesourcery.com>
5877
5878 * math/gen-libm-test.pl (parse_args): Handle results specified for
5879 each rounding mode separately.
5880 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5881 tests and results from lrint_tonearest_test_data,
5882 lrint_towardzero_test_data, lrint_downward_test_data and
5883 lrint_upward_test_data.
5884 (lrint_test): Use ALL_RM_TEST.
5885 (lrint_tonearest_test_data): Remove.
5886 (lrint_test_tonearest): Likewise.
5887 (lrint_towardzero_test_data): Likewise.
5888 (lrint_test_towardzero): Likewise.
5889 (lrint_downward_test_data): Likewise.
5890 (lrint_test_downward): Likewise.
5891 (lrint_upward_test_data): Likewise.
5892 (lrint_test_upward): Likewise.
5893 (llrint_test_data): Merge in per-rounding-mode tests and results
5894 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5895 llrint_downward_test_data and llrint_upward_test_data.
5896 (llrint_test): Use ALL_RM_TEST.
5897 (llrint_tonearest_test_data): Remove.
5898 (llrint_test_tonearest): Likewise.
5899 (llrint_towardzero_test_data): Likewise.
5900 (llrint_test_towardzero): Likewise.
5901 (llrint_downward_test_data): Likewise.
5902 (llrint_test_downward): Likewise.
5903 (llrint_upward_test_data): Likewise.
5904 (llrint_test_upward): Likewise.
5905 (rint_test_data): Merge in per-rounding-mode tests and results
5906 from rint_tonearest_test_data, rint_towardzero_test_data,
5907 rint_downward_test_data and rint_upward_test_data. Add
5908 per-rounding-mode results for tests not in those arrays.
5909 (rint_test): Use ALL_RM_TEST.
5910 (rint_tonearest_test_data): Remove.
5911 (rint_test_tonearest): Likewise.
5912 (rint_towardzero_test_data): Likewise.
5913 (rint_test_towardzero): Likewise.
5914 (rint_downward_test_data): Likewise.
5915 (rint_test_downward): Likewise.
5916 (rint_upward_test_data): Likewise.
5917 (rint_test_upward): Likewise.
5918 (main): Don't call removed functions.
5919
5006148e
RM
59202014-03-14 Roland McGrath <roland@hack.frob.com>
5921
5922 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5923 "Compiled on ..." crapola. It is anti-useful.
5924
d6fe5e58
JM
59252014-03-14 Joseph Myers <joseph@codesourcery.com>
5926
5927 * scripts/evaluate-test.sh: Handle fourth argument to determine
5928 whether test run should stop on failure.
5929 * Makeconfig (stop-on-test-failure): New variable.
5930 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5931 $(stop-on-test-failure).
5932 * Makefile (tests): Give a summary of results from testing and
5933 exit with failure status if they include an ERROR or FAIL.
5934 (xtests): Likewise.
5935 * manual/install.texi (Configuring and compiling): Mention
5936 stop-on-test-failure=y.
5937 * INSTALL: Regenerated.
5938
498a2233
RM
59392014-03-14 Roland McGrath <roland@hack.frob.com>
5940
22dbc19d
RM
5941 * scripts/versionlist.awk: New file.
5942 * Makerules [$(build-shared) = yes]
5943 (postclean-generated): Add Versions.def, not Versions.def.v and
5944 Versions.def.v.i.
5945 ($(common-objpfx)Versions.def.v.i): Target removed.
5946 ($(common-objpfx)Versions.def): New target.
5947 ($(common-objpfx)Versions.all): Depend on that rather that
5948 $(common-objpfx)Versions.def.v.
5949 * Versions.def: File removed.
5950
498a2233
RM
5951 * Makeconfig (+gccwarn): Add -Wundef.
5952 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5953 a dl-sysdep.h breaking its contract.
5954 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5955 * include/stackinfo.h: New file.
5956 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5957 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5958 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5959 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5960 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5961 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5962 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5963 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5964 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5965 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5966 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5967 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5968 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5969 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5970 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5971
c7de5025
AZ
59722014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5973
5974 [BZ #16707]
5975 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5976 implementation.
5977 * math/libm-test.inc (round_test_data): Add more tests.
5978
98fb27a3
AZ
5979 [BZ #16706]
5980 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5981 implementation.
5982 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5983
374f7f61
AZ
5984 [BZ #16701]
5985 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5986 implementation.
5987 * math/libm-test.inc (ceil_test_data): Add more tests.
5988
4655c291
AZ
5989 * math/libm-test.inc (trunc_test_data): Add more tests related to
5990 BZ#16414.
5991
d7329d4b
RM
59922014-03-14 Roland McGrath <roland@hack.frob.com>
5993
5994 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5995 with #if rather than #ifdef.
5996 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5997
aa4de9ce
L
59982014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5999
6000 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6001 first. Disable AVX-512 GCC support if assembler doesn't support
6002 it.
6003 * sysdeps/x86_64/configure: Regenerated.
6004
2e03fae7
CD
60052014-03-13 Carlos O'Donell <carlos@redhat.com>
6006
6007 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6008 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6009 (__old_pthread_attr_setstack): Likewise.
6010 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6011 [!_STACK_GROWS_DOWN]: Likewise.
6012
43ca83ec
MF
60132014-03-13 Mike Frysinger <vapier@gentoo.org>
6014
6015 * config.make.in (have-bash2): Delete.
6016 * configure.ac (libc_cv_have_bash2): Delete.
6017 * configure: Regenerate.
6018 * elf/Makefile (common-ldd-rewrite): Rename to ...
6019 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6020 (sh-ldd-rewrite): Delete.
6021 (bash-ldd-rewrite): Delete.
6022 (have-bash2): Delete checks.
57f41c40
AS
6023 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6024 ldd-rewrite.
c66e48b4
MF
6025
6026 * config.make.in (have-ksh): Delete.
6027 (KSH): Delete.
6028 * configure.ac (libc_cv_have_ksh): Delete.
6029 * configure: Regenerate.
6030
b93834ef
MF
6031 * elf/Makefile: Delete $(have-ksh) check.
6032 ($(objpfx)sotruss): Change KSH to BASH.
6033 * elf/sotruss.ksh: Rename to ...
6034 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6035 function style to match POSIX. Drop ksh vim mode setting.
6036
f3a4632a
MF
6037 * manual/time.texi (Specifying the Time Zone with TZ): Change
6038 Tuesday to Thursday.
6039
5896c8bd
MF
6040 * debug/tst-longjmp_chk2.c: Update header comment.
6041 (stackoverflow_handler): Add comment. Call assert on pass value.
6042
2d63a517
IZ
60432014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6044
6045 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6046 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6047 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6048 (La_x86_64_vector): Add zmm.
6049 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6050 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6051 ($(objpfx)tst-audit10): New target.
6052 ($(objpfx)tst-audit10.out): Likewise.
6053 (tst-audit10-ENV): New.
6054 (AVX512-CFLAGS): Likewise.
6055 (CFLAGS-tst-audit10.c): Likewise.
6056 (CFLAGS-tst-auditmod10a.c): Likewise.
6057 (CFLAGS-tst-auditmod10b.c): Likewise.
6058 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6059 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6060 * sysdeps/x86_64/configure: Regenerated.
6061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6062 AVX-512 zmm register support.
6063 (_dl_x86_64_save_sse): Likewise.
6064 (_dl_x86_64_restore_sse): Likewise.
6065 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6066 size vector registers.
6067 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6068 (ZMM_SIZE): Likewise.
6069 * sysdeps/x86_64/tst-audit10.c: New file.
6070 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6071 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6072
44c4e5d5
RM
60732014-03-13 Roland McGrath <roland@hack.frob.com>
6074
6075 * configure.ac (HAVE_EHDR_START): New check.
6076 * configure: Regenerated.
6077 * config.h.in (HAVE_EHDR_START): New #undef.
6078 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6079 assuming the lowest-addressed segment maps the start of the file.
6080
acd6e389
JM
60812014-03-13 Joseph Myers <joseph@codesourcery.com>
6082
6083 * INSTALL: Regenerated.
6084
6f918f36
WN
60852014-03-13 Will Newton <will.newton@linaro.org>
6086
6087 * manual/setjmp.texi (System V contexts): Improve
6088 clarity and grammar of documentation.
6089
798212a0
PP
60902014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6091
6092 [BZ #16381]
798212a0 6093 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 6094 (tests-pie): Add tst-pie2.
798212a0
PP
6095 * elf/tst-pie2.c: New file.
6096 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6097 for ET_EXEC.
6098 * elf/rtld.c (map_doit): Load executable as lt_executable.
6099 (dl_main): Likewise.
6100
abe6d90c
JM
61012014-03-12 Joseph Myers <joseph@codesourcery.com>
6102
6103 [BZ #16642]
6104 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6105 (__ASSUME_PSELECT): Undefine.
6106
dd3946c6
AZ
61072014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6108
6109 [BZ #16689]
6110 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6111 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6112 static build.
6113 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6114 selector for static builds.
6115
c44496df
SP
61162014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6117
6118 [BZ #16695]
6119 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6120 key in the buffer.
6121
27c7220a
AZ
61222014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6123
57f41c40
AS
6124 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6125 IFUNC selector for static builds.
27c7220a 6126
600fa361
JM
61272014-03-11 Joseph Myers <joseph@codesourcery.com>
6128
76c96cf7
JM
6129 * sysdeps/mips/math_private.h [__mips_hard_float]
6130 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6131 libc_feresetround_mips_ctx.
6132 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6133 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6134 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6135
600fa361
JM
6136 [BZ #16677]
6137 * math/s_nextafter.c (__nextafter): Do not return value from
6138 overflowing computation.
6139 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6140 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6141 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6142 Likewise.
6143 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6144 Likewise.
6145 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6146 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6147
d7706c32
RM
61482014-03-11 Roland McGrath <roland@hack.frob.com>
6149
6150 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6151 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6152 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6153 the new mov targetting sp.
6154
4facea47
AZ
61552014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6156
6157 [BZ #16683]
6158 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6159 Define it for static builds as well.
6160 (NO_BZERO_IMPL): Likewise.
6161
e65caf1f
VR
61622014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6163
6164 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6165 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6166 multiarch strspn for PPC64.
6167 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6168 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6170 (__libc_ifunc_impl_list): Likewise.
6171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6172 multiarch optimizations
6173 * string/strspn.c (strspn): Using macro to redefine symbol name.
6174
ba9cc071
AZ
61752014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6176 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6177
6178 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6179 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6180 multiarch strncat for PPC64.
6181 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6182 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6184 (__libc_ifunc_impl_list): Likewise.
6185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6186 multiarch optimizations
6187
8b4ff974
SP
61882014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6189
6190 [BZ #16639]
6191 * nscd/nscd.service: Make service type forking.
6192
54b46a4b
AZ
61932014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6194
6195 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6196 sign in non default rounding modes.
6197 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6198
e9996ef7
JM
61992014-03-08 Joseph Myers <joseph@codesourcery.com>
6200
6201 * math/libm-test.inc (ALL_RM_TEST): New macro.
6202 (ceil_test): Use ALL_RM_TEST.
6203 (cimag_test): Likewise.
6204 (conj_test): Likewise.
6205 (copysign_test): Likewise.
6206 (cproj_test): Likewise.
6207 (creal_test): Likewise.
6208 (fabs_test): Likewise.
6209 (floor_test): Likewise.
6210 (fmax_test): Likewise.
6211 (fmin_test): Likewise.
6212 (fmod_test): Likewise.
6213 (fpclassify_test): Likewise.
6214 (frexp_test): Likewise.
6215 (ilogb_test): Likewise.
6216 (isfinite_test): Likewise.
6217 (finite_test): Likewise.
6218 (isgreater_test): Likewise.
6219 (isgreaterequal_test): Likewise.
6220 (isinf_test): Likewise.
6221 (isless_test): Likewise.
6222 (islessequal_test): Likewise.
6223 (islessgreater_test): Likewise.
6224 (isnan_test): Likewise.
6225 (isnormal_test): Likewise.
6226 (issignaling_test): Likewise.
6227 (isunordered_test): Likewise.
6228 (logb_test): Likewise.
6229 (logb_downward_test_data): Remove.
6230 (logb_test_downward): Likewise.
6231 (lround_test): Use ALL_RM_TEST.
6232 (llround_test): Likewise.
6233 (modf_test): Likewise.
6234 (nexttoward_test): Likewise.
6235 (remainder_test): Likewise.
6236 (drem_test): Likewise.
6237 (remainder_tonearest_test_data): Likewise.
6238 (remainder_test_tonearest): Likewise.
6239 (drem_test_tonearest): Likewise.
6240 (remainder_towardzero_test_data): Likewise.
6241 (remainder_test_towardzero): Likewise.
6242 (drem_test_towardzero): Likewise.
6243 (remainder_downward_test_data): Likewise.
6244 (remainder_test_downward): Likewise.
6245 (drem_test_downward): Likewise.
6246 (remainder_upward_test_data): Likewise.
6247 (remainder_test_upward): Likewise.
6248 (drem_test_upward): Likewise.
6249 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6250 (round_test): Use ALL_RM_TEST.
6251 (signbit_test): Likewise.
6252 (trunc_test): Likewise.
6253 (significand_test): Likewise.
6254 (main): Don't call removed functions.
6255
bc61d27c
JM
62562014-03-07 Joseph Myers <joseph@codesourcery.com>
6257
5c780849
JM
6258 [BZ #16674]
6259 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6260 || __USE_XOPEN2K8].
6261 (ILL_ILLOPN): Likewise.
6262 (ILL_ILLADR): Likewise.
6263 (ILL_ILLTRP): Likewise.
6264 (ILL_PRVOPC): Likewise.
6265 (ILL_PRVREG): Likewise.
6266 (ILL_COPROC): Likewise.
6267 (ILL_BADSTK): Likewise.
6268 (FPE_INTDIV): Likewise.
6269 (FPE_INTOVF): Likewise.
6270 (FPE_FLTDIV): Likewise.
6271 (FPE_FLTOVF): Likewise.
6272 (FPE_FLTUND): Likewise.
6273 (FPE_FLTRES): Likewise.
6274 (FPE_FLTINV): Likewise.
6275 (FPE_FLTSUB): Likewise.
6276 (SEGV_MAPERR): Likewise.
6277 (SEGV_ACCERR): Likewise.
6278 (BUS_ADRALN): Likewise.
6279 (BUS_ADRERR): Likewise.
6280 (BUS_OBJERR): Likewise.
6281 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6282 (TRAP_TRACE): Likewise.
6283 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6284 __USE_XOPEN2K8].
6285 (CLD_KILLED): Likewise.
6286 (CLD_DUMPED): Likewise.
6287 (CLD_TRAPPED): Likewise.
6288 (CLD_STOPPED): Likewise.
6289 (CLD_CONTINUED): Likewise.
6290 (POLL_IN): Likewise.
6291 (POLL_OUT): Likewise.
6292 (POLL_MSG): Likewise.
6293 (POLL_ERR): Likewise.
6294 (POLL_PRI): Likewise.
6295 (POLL_HUP): Likewise.
6296 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6297 Likewise.
6298 (ILL_ILLOPN): Likewise.
6299 (ILL_ILLADR): Likewise.
6300 (ILL_ILLTRP): Likewise.
6301 (ILL_PRVOPC): Likewise.
6302 (ILL_PRVREG): Likewise.
6303 (ILL_COPROC): Likewise.
6304 (ILL_BADSTK): Likewise.
6305 (FPE_INTDIV): Likewise.
6306 (FPE_INTOVF): Likewise.
6307 (FPE_FLTDIV): Likewise.
6308 (FPE_FLTOVF): Likewise.
6309 (FPE_FLTUND): Likewise.
6310 (FPE_FLTRES): Likewise.
6311 (FPE_FLTINV): Likewise.
6312 (FPE_FLTSUB): Likewise.
6313 (SEGV_MAPERR): Likewise.
6314 (SEGV_ACCERR): Likewise.
6315 (BUS_ADRALN): Likewise.
6316 (BUS_ADRERR): Likewise.
6317 (BUS_OBJERR): Likewise.
6318 (BUS_MCEERR_AR): Likewise.
6319 (BUS_MCEERR_AO): Likewise.
6320 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6321 (TRAP_TRACE): Likewise.
6322 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6323 __USE_XOPEN2K8].
6324 (CLD_KILLED): Likewise.
6325 (CLD_DUMPED): Likewise.
6326 (CLD_TRAPPED): Likewise.
6327 (CLD_STOPPED): Likewise.
6328 (CLD_CONTINUED): Likewise.
6329 (POLL_IN): Likewise.
6330 (POLL_OUT): Likewise.
6331 (POLL_MSG): Likewise.
6332 (POLL_ERR): Likewise.
6333 (POLL_PRI): Likewise.
6334 (POLL_HUP): Likewise.
6335 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6336 (ILL_ILLOPN): Likewise.
6337 (ILL_ILLADR): Likewise.
6338 (ILL_ILLTRP): Likewise.
6339 (ILL_PRVOPC): Likewise.
6340 (ILL_PRVREG): Likewise.
6341 (ILL_COPROC): Likewise.
6342 (ILL_BADSTK): Likewise.
6343 (FPE_INTDIV): Likewise.
6344 (FPE_INTOVF): Likewise.
6345 (FPE_FLTDIV): Likewise.
6346 (FPE_FLTOVF): Likewise.
6347 (FPE_FLTUND): Likewise.
6348 (FPE_FLTRES): Likewise.
6349 (FPE_FLTINV): Likewise.
6350 (FPE_FLTSUB): Likewise.
6351 (SEGV_MAPERR): Likewise.
6352 (SEGV_ACCERR): Likewise.
6353 (BUS_ADRALN): Likewise.
6354 (BUS_ADRERR): Likewise.
6355 (BUS_OBJERR): Likewise.
6356 (BUS_MCEERR_AR): Likewise.
6357 (BUS_MCEERR_AO): Likewise.
6358 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6359 (TRAP_TRACE): Likewise.
6360 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6361 __USE_XOPEN2K8].
6362 (CLD_KILLED): Likewise.
6363 (CLD_DUMPED): Likewise.
6364 (CLD_TRAPPED): Likewise.
6365 (CLD_STOPPED): Likewise.
6366 (CLD_CONTINUED): Likewise.
6367 (POLL_IN): Likewise.
6368 (POLL_OUT): Likewise.
6369 (POLL_MSG): Likewise.
6370 (POLL_ERR): Likewise.
6371 (POLL_PRI): Likewise.
6372 (POLL_HUP): Likewise.
6373 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6374 Likewise.
6375 (ILL_ILLOPN): Likewise.
6376 (ILL_ILLADR): Likewise.
6377 (ILL_ILLTRP): Likewise.
6378 (ILL_PRVOPC): Likewise.
6379 (ILL_PRVREG): Likewise.
6380 (ILL_COPROC): Likewise.
6381 (ILL_BADSTK): Likewise.
6382 (ILL_BADIADDR): Likewise.
6383 (ILL_BREAK): Likewise.
6384 (FPE_INTDIV): Likewise.
6385 (FPE_INTOVF): Likewise.
6386 (FPE_FLTDIV): Likewise.
6387 (FPE_FLTOVF): Likewise.
6388 (FPE_FLTUND): Likewise.
6389 (FPE_FLTRES): Likewise.
6390 (FPE_FLTINV): Likewise.
6391 (FPE_FLTSUB): Likewise.
6392 (FPE_DECOVF): Likewise.
6393 (FPE_DECDIV): Likewise.
6394 (FPE_DECERR): Likewise.
6395 (FPE_INVASC): Likewise.
6396 (FPE_INVDEC): Likewise.
6397 (SEGV_MAPERR): Likewise.
6398 (SEGV_ACCERR): Likewise.
6399 (SEGV_PSTKOVF): Likewise.
6400 (BUS_ADRALN): Likewise.
6401 (BUS_ADRERR): Likewise.
6402 (BUS_OBJERR): Likewise.
6403 (BUS_MCEERR_AR): Likewise.
6404 (BUS_MCEERR_AO): Likewise.
6405 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6406 (TRAP_TRACE): Likewise.
6407 (TRAP_BRANCH): Likewise.
6408 (TRAP_HWBKPT): Likewise.
6409 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6410 __USE_XOPEN2K8].
6411 (CLD_KILLED): Likewise.
6412 (CLD_DUMPED): Likewise.
6413 (CLD_TRAPPED): Likewise.
6414 (CLD_STOPPED): Likewise.
6415 (CLD_CONTINUED): Likewise.
6416 (POLL_IN): Likewise.
6417 (POLL_OUT): Likewise.
6418 (POLL_MSG): Likewise.
6419 (POLL_ERR): Likewise.
6420 (POLL_PRI): Likewise.
6421 (POLL_HUP): Likewise.
6422 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6423 (ILL_ILLOPN): Likewise.
6424 (ILL_ILLADR): Likewise.
6425 (ILL_ILLTRP): Likewise.
6426 (ILL_PRVOPC): Likewise.
6427 (ILL_PRVREG): Likewise.
6428 (ILL_COPROC): Likewise.
6429 (ILL_BADSTK): Likewise.
6430 (FPE_INTDIV): Likewise.
6431 (FPE_INTOVF): Likewise.
6432 (FPE_FLTDIV): Likewise.
6433 (FPE_FLTOVF): Likewise.
6434 (FPE_FLTUND): Likewise.
6435 (FPE_FLTRES): Likewise.
6436 (FPE_FLTINV): Likewise.
6437 (FPE_FLTSUB): Likewise.
6438 (SEGV_MAPERR): Likewise.
6439 (SEGV_ACCERR): Likewise.
6440 (BUS_ADRALN): Likewise.
6441 (BUS_ADRERR): Likewise.
6442 (BUS_OBJERR): Likewise.
6443 (BUS_MCEERR_AR): Likewise.
6444 (BUS_MCEERR_AO): Likewise.
6445 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6446 (TRAP_TRACE): Likewise.
6447 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6448 __USE_XOPEN2K8].
6449 (CLD_KILLED): Likewise.
6450 (CLD_DUMPED): Likewise.
6451 (CLD_TRAPPED): Likewise.
6452 (CLD_STOPPED): Likewise.
6453 (CLD_CONTINUED): Likewise.
6454 (POLL_IN): Likewise.
6455 (POLL_OUT): Likewise.
6456 (POLL_MSG): Likewise.
6457 (POLL_ERR): Likewise.
6458 (POLL_PRI): Likewise.
6459 (POLL_HUP): Likewise.
6460 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6461 (ILL_ILLOPN): Likewise.
6462 (ILL_ILLADR): Likewise.
6463 (ILL_ILLTRP): Likewise.
6464 (ILL_PRVOPC): Likewise.
6465 (ILL_PRVREG): Likewise.
6466 (ILL_COPROC): Likewise.
6467 (ILL_BADSTK): Likewise.
6468 (FPE_INTDIV): Likewise.
6469 (FPE_INTOVF): Likewise.
6470 (FPE_FLTDIV): Likewise.
6471 (FPE_FLTOVF): Likewise.
6472 (FPE_FLTUND): Likewise.
6473 (FPE_FLTRES): Likewise.
6474 (FPE_FLTINV): Likewise.
6475 (FPE_FLTSUB): Likewise.
6476 (SEGV_MAPERR): Likewise.
6477 (SEGV_ACCERR): Likewise.
6478 (BUS_ADRALN): Likewise.
6479 (BUS_ADRERR): Likewise.
6480 (BUS_OBJERR): Likewise.
6481 (BUS_MCEERR_AR): Likewise.
6482 (BUS_MCEERR_AO): Likewise.
6483 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6484 (TRAP_TRACE): Likewise.
6485 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6486 __USE_XOPEN2K8].
6487 (CLD_KILLED): Likewise.
6488 (CLD_DUMPED): Likewise.
6489 (CLD_TRAPPED): Likewise.
6490 (CLD_STOPPED): Likewise.
6491 (CLD_CONTINUED): Likewise.
6492 (POLL_IN): Likewise.
6493 (POLL_OUT): Likewise.
6494 (POLL_MSG): Likewise.
6495 (POLL_ERR): Likewise.
6496 (POLL_PRI): Likewise.
6497 (POLL_HUP): Likewise.
6498 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6499 (ILL_ILLOPN): Likewise.
6500 (ILL_ILLADR): Likewise.
6501 (ILL_ILLTRP): Likewise.
6502 (ILL_PRVOPC): Likewise.
6503 (ILL_PRVREG): Likewise.
6504 (ILL_COPROC): Likewise.
6505 (ILL_BADSTK): Likewise.
6506 (FPE_INTDIV): Likewise.
6507 (FPE_INTOVF): Likewise.
6508 (FPE_FLTDIV): Likewise.
6509 (FPE_FLTOVF): Likewise.
6510 (FPE_FLTUND): Likewise.
6511 (FPE_FLTRES): Likewise.
6512 (FPE_FLTINV): Likewise.
6513 (FPE_FLTSUB): Likewise.
6514 (SEGV_MAPERR): Likewise.
6515 (SEGV_ACCERR): Likewise.
6516 (BUS_ADRALN): Likewise.
6517 (BUS_ADRERR): Likewise.
6518 (BUS_OBJERR): Likewise.
6519 (BUS_MCEERR_AR): Likewise.
6520 (BUS_MCEERR_AO): Likewise.
6521 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6522 (TRAP_TRACE): Likewise.
6523 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6524 __USE_XOPEN2K8].
6525 (CLD_KILLED): Likewise.
6526 (CLD_DUMPED): Likewise.
6527 (CLD_TRAPPED): Likewise.
6528 (CLD_STOPPED): Likewise.
6529 (CLD_CONTINUED): Likewise.
6530 (POLL_IN): Likewise.
6531 (POLL_OUT): Likewise.
6532 (POLL_MSG): Likewise.
6533 (POLL_ERR): Likewise.
6534 (POLL_PRI): Likewise.
6535 (POLL_HUP): Likewise.
6536 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6537 (ILL_ILLOPN): Likewise.
6538 (ILL_ILLADR): Likewise.
6539 (ILL_ILLTRP): Likewise.
6540 (ILL_PRVOPC): Likewise.
6541 (ILL_PRVREG): Likewise.
6542 (ILL_COPROC): Likewise.
6543 (ILL_BADSTK): Likewise.
6544 (ILL_DBLFLT): Likewise.
6545 (ILL_HARDWALL): Likewise.
6546 (FPE_INTDIV): Likewise.
6547 (FPE_INTOVF): Likewise.
6548 (FPE_FLTDIV): Likewise.
6549 (FPE_FLTOVF): Likewise.
6550 (FPE_FLTUND): Likewise.
6551 (FPE_FLTRES): Likewise.
6552 (FPE_FLTINV): Likewise.
6553 (FPE_FLTSUB): Likewise.
6554 (SEGV_MAPERR): Likewise.
6555 (SEGV_ACCERR): Likewise.
6556 (BUS_ADRALN): Likewise.
6557 (BUS_ADRERR): Likewise.
6558 (BUS_OBJERR): Likewise.
6559 (BUS_MCEERR_AR): Likewise.
6560 (BUS_MCEERR_AO): Likewise.
6561 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6562 (TRAP_TRACE): Likewise.
6563 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6564 __USE_XOPEN2K8].
6565 (CLD_KILLED): Likewise.
6566 (CLD_DUMPED): Likewise.
6567 (CLD_TRAPPED): Likewise.
6568 (CLD_STOPPED): Likewise.
6569 (CLD_CONTINUED): Likewise.
6570 (POLL_IN): Likewise.
6571 (POLL_OUT): Likewise.
6572 (POLL_MSG): Likewise.
6573 (POLL_ERR): Likewise.
6574 (POLL_PRI): Likewise.
6575 (POLL_HUP): Likewise.
6576 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6577 (ILL_ILLOPN): Likewise.
6578 (ILL_ILLADR): Likewise.
6579 (ILL_ILLTRP): Likewise.
6580 (ILL_PRVOPC): Likewise.
6581 (ILL_PRVREG): Likewise.
6582 (ILL_COPROC): Likewise.
6583 (ILL_BADSTK): Likewise.
6584 (FPE_INTDIV): Likewise.
6585 (FPE_INTOVF): Likewise.
6586 (FPE_FLTDIV): Likewise.
6587 (FPE_FLTOVF): Likewise.
6588 (FPE_FLTUND): Likewise.
6589 (FPE_FLTRES): Likewise.
6590 (FPE_FLTINV): Likewise.
6591 (FPE_FLTSUB): Likewise.
6592 (SEGV_MAPERR): Likewise.
6593 (SEGV_ACCERR): Likewise.
6594 (BUS_ADRALN): Likewise.
6595 (BUS_ADRERR): Likewise.
6596 (BUS_OBJERR): Likewise.
6597 (BUS_MCEERR_AR): Likewise.
6598 (BUS_MCEERR_AO): Likewise.
6599 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6600 (TRAP_TRACE): Likewise.
6601 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6602 __USE_XOPEN2K8].
6603 (CLD_KILLED): Likewise.
6604 (CLD_DUMPED): Likewise.
6605 (CLD_TRAPPED): Likewise.
6606 (CLD_STOPPED): Likewise.
6607 (CLD_CONTINUED): Likewise.
6608 (POLL_IN): Likewise.
6609 (POLL_OUT): Likewise.
6610 (POLL_MSG): Likewise.
6611 (POLL_ERR): Likewise.
6612 (POLL_PRI): Likewise.
6613 (POLL_HUP): Likewise.
6614 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6615 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6616
bc61d27c
JM
6617 [BZ #16670]
6618 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6619 before #include of <time.h>.
6620 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6621 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6622 (test-xfail-UNIX98/sched.h/conform): Likewise.
6623
302949e2
MS
66242014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6625
6626 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6627 error absence of trapping exception support.
6628 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6629
a00f522a
JM
66302014-03-07 Joseph Myers <joseph@codesourcery.com>
6631
6f99f280
JM
6632 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6633 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6634 * timezone/Makefile (testdata): Move definition above include of
6635 Rules.
6636 (test-zones): New variable.
6637 (tests-special): Add zone files.
6638 (build-testdata): Use $(evaluate-test).
6639
0b20a9e8
JM
6640 * elf/Makefile (tests-special): Rename tests to end with .out.
6641 ($(objpfx)noload-mem): Likewise.
6642 ($(objpfx)tst-leaks1-mem): Likewise.
6643 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6644 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6645 $(objpfx)test-iconvconfig.out.
6646 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6647 set -e inside subshell and redirect output to file.
6648 * iconvdata/Makefile (generated): Rename tests to end with .out.
6649 Correct type.
6650 (tests-special): Rename tests to end with .out.
6651 ($(objpfx)mtrace-tst-loading): Likewise.
6652 * intl/Makefile (generated): Likewise.
6653 (tests-special): Likewise.
6654 ($(objpfx)mtrace-tst-gettext): Likewise.
6655 * misc/Makefile (generated): Likewise.
6656 (tests-special): Likewise.
6657 ($(objpfx)tst-error1-mem): Likewise.
6658 * nptl/Makefile (tests-special): Likewise.
6659 ($(objpfx)tst-stack3-mem): Likewise.
6660 (generated): Likewise.
6661 * posix/Makefile (generated): Likewise.
6662 (tests-special): Likewise.
6663 (xtests-special): Likewise.
6664 ($(objpfx)tst-fnmatch-mem): Likewise.
6665 ($(objpfx)bug-regex2-mem): Likewise.
6666 ($(objpfx)bug-regex14-mem): Likewise.
6667 ($(objpfx)bug-regex21-mem): Likewise.
6668 ($(objpfx)bug-regex31-mem): Likewise.
6669 ($(objpfx)tst-vfork3-mem): Likewise.
6670 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6671 ($(objpfx)tst-pcre-mem): Likewise.
6672 ($(objpfx)tst-boost-mem): Likewise.
6673 ($(objpfx)bug-ga2-mem): Likewise.
6674 ($(objpfx)bug-glob2-mem): Likewise.
6675 * resolv/Makefile (generate): Likewise.
6676 (tests-special): Likewise.
6677 (xtests-special): Likewise.
6678 (generated): Likewise.
6679 ($(objpfx)mtrace-tst-leaks): Likewise.
6680 ($(objpfx)mtrace-tst-leaks2): Likewise.
6681
265d52ab
JM
6682 * scripts/merge-test-results.sh: New file.
6683 * Makefile (tests-special-notdir): New variable.
6684 (tests): Run merge-test-results.sh.
6685 (xtests): Likewise.
6686 * Rules (tests-special-notdir): New variable.
6687 (xtests-special-notdir): Likewise.
6688 (tests): Run merge-test-results.sh
6689 (xtests): Likewise.
6690
54ee292d
JM
6691 * Makeconfig (test-xfail-name): New variable.
6692 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6693 compute variable name for expected failures.
6694 * conform/Makefile (conformtest-headers-data): New variable.
6695 (conformtest-standards): Likewise.
6696 (conformtest-headers-ISO): Likewise.
6697 (conformtest-headers-ISO99): Likewise.
6698 (conformtest-headers-ISO11): Likewise.
6699 (conformtest-headers-POSIX): Likewise.
6700 (conformtest-headers-XPG3): Likewise.
6701 (conformtest-headers-XPG4): Likewise.
6702 (conformtest-headers-UNIX98): Likewise.
6703 (conformtest-headers-XOPEN2K): Likewise.
6704 (conformtest-headers-POSIX2008): Likewise.
6705 (conformtest-headers-XOPEN2K8): Likewise.
6706 (conformtest-header-list-base): Likewise.
6707 (conformtest-header-list-tests): Likewise.
6708 (conformtest-header-base): Likewise.
6709 (conformtest-header-tests): Likewise.
6710 (tests-special): Add $(conformtest-header-list-tests). If
6711 [$(fast-check) && !$(cross-compiling)], add
6712 $(conformtest-header-tests) instead of
6713 $(objpfx)run-conformtest.out.
6714 (generated): Add $(conformtest-header-list-base). If
6715 [$(fast-check) && !$(cross-compiling)], add
6716 $(conformtest-header-base). Remove previous setting.
6717 ($(conformtest-header-list-tests)): New target.
6718 (test-xfail-run-conformtest): Remove variable.
6719 ($(objpfx)run-conformtest.out): Remove target.
6720 (test-xfail-ISO11/complex.h/conform): New variable.
6721 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6722 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6723 (test-xfail-XPG3/varargs.h/conform): Likewise.
6724 (test-xfail-XPG4/varargs.h/conform): Likewise.
6725 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6726 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6727 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6728 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6729 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6730 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6731 (test-xfail-XPG3/ftw.h/conform): Likewise.
6732 (test-xfail-XPG3/grp.h/conform): Likewise.
6733 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6734 (test-xfail-XPG3/limits.h/conform): Likewise.
6735 (test-xfail-XPG3/pwd.h/conform): Likewise.
6736 (test-xfail-XPG3/search.h/conform): Likewise.
6737 (test-xfail-XPG3/signal.h/conform): Likewise.
6738 (test-xfail-XPG3/stdio.h/conform): Likewise.
6739 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6740 (test-xfail-XPG3/string.h/conform): Likewise.
6741 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6742 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6743 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6744 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6745 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6746 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6747 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6748 (test-xfail-XPG3/termios.h/conform): Likewise.
6749 (test-xfail-XPG3/time.h/conform): Likewise.
6750 (test-xfail-XPG3/unistd.h/conform): Likewise.
6751 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6752 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6753 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6754 (test-xfail-XPG4/netdb.h/conform): Likewise.
6755 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6756 (test-xfail-XPG4/signal.h/conform): Likewise.
6757 (test-xfail-XPG4/stdio.h/conform): Likewise.
6758 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6759 (test-xfail-XPG4/stropts.h/conform): Likewise.
6760 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6761 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6762 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6763 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6764 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6765 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6766 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6767 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6768 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6769 (test-xfail-XPG4/termios.h/conform): Likewise.
6770 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6771 (test-xfail-XPG4/unistd.h/conform): Likewise.
6772 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6773 (test-xfail-POSIX/sched.h/conform): Likewise.
6774 (test-xfail-POSIX/signal.h/conform): Likewise.
6775 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6776 (test-xfail-POSIX/tar.h/conform): Likewise.
6777 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6778 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6779 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6780 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6781 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6782 (test-xfail-UNIX98/sched.h/conform): Likewise.
6783 (test-xfail-UNIX98/signal.h/conform): Likewise.
6784 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6785 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6786 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6787 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6788 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6789 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6790 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6791 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6792 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6793 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6794 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6795 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6796 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6797 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6798 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6799 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6800 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6801 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6802 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6803 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6804 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6805 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6806 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6807 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6808 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6809 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6810 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6811 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6812 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6813 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6814 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6815 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6816 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6817 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6818 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6819 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6820 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6821 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6822 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6823 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6824 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6825 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6826 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6827 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6828 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6829 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6830 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6831 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6832 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6833 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6834 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6835 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6836 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6837 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6838 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6839 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6840 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6841 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6842 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6843 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6844 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6845 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6846 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6847 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6848 (conformtest-cc-flags): Likewise.
6849 ($(conformtest-header-tests): New target.
6850 * conform/check-header-lists.sh: New file.
6851 * conform/run-conformtest.sh: Remove.
6852
a00f522a
JM
6853 * conform/conformtest.pl: Allow ' and \ in values given for
6854 constants.
6855 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6856 inclusion.
6857 [POSIX] (sys/types.h): Likewise.
6858 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6859 inclusion.
6860 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6861 inclusion.
6862 * conform/data/signal.h-data (SIGIO): Remove expectation.
6863 [XPG3] (SIGBUS): Do not expect.
6864 [POSIX || XPG3] (SIGPOLL): Likewise.
6865 [POSIX || XPG3] (SIGPROF): Likewise.
6866 [POSIX || XPG3] (SIGSYS): Likewise.
6867 [XPG3] (SIGTRAP): Likewise.
6868 [POSIX || XPG3] (SIGURG): Likewise.
6869 [POSIX || XPG3] (SIGVTALRM): Likewise.
6870 [POSIX || XPG3] (SIGXCPU): Likewise.
6871 [POSIX || XPG3] (SIGXFSZ): Likewise.
6872 [POSIX] (SA_SIGINFO): Expect.
6873 [XPG3] (siginfo_t): Do not expect type or contents.
6874 [POSIX] (si_pid): Do not expect element.
6875 [POSIX] (si_uid): Likewise.
6876 [POSIX] (si_addr): Likewise.
6877 [POSIX] (si_status): Likewise.
6878 [POSIX] (si_band): Likewise.
6879 [XPG4] (si_value): Likewise.
6880 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6881 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6882 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6883 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6884 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6885 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6886 [POSIX || XPG3] (ILL_COPROC): Likewise.
6887 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6888 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6889 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6890 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6891 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6892 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6893 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6894 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6895 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6896 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6897 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6898 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6899 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6900 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6901 [POSIX || XPG3] (CLD_EXITED): Likewise.
6902 [POSIX || XPG3] (CLD_KILLED): Likewise.
6903 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6904 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6905 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6906 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6907 [POSIX || XPG3] (POLL_IN): Likewise.
6908 [POSIX || XPG3] (POLL_OUT): Likewise.
6909 [POSIX || XPG3] (POLL_MSG): Likewise.
6910 [POSIX || XPG3] (POLL_ERR): Likewise.
6911 [POSIX || XPG3] (POLL_PRI): Likewise.
6912 [POSIX || XPG3] (POLL_HUP): Likewise.
6913 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6914 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6915 (SIG*): Do not allow.
6916 [XPG3] (si_*): Likewise.
6917 [XPG3] (SI_*): Likewise.
6918 [XPG3 || XPG4] (sigev_*): Likewise.
6919 [XPG3 || XPG4] (SIGEV_*): Likewise.
6920 [XPG3 || XPG4] (sival_*): Likewise.
6921 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6922 [POSIX || XPG3] (BUS_*): Likewise.
6923 [POSIX || XPG3] (CLD_*): Likewise.
6924 [POSIX || XPG3] (FPE_*): Likewise.
6925 [POSIX || XPG3] (ILL_*): Likewise.
6926 [POSIX || XPG3] (POLL_*): Likewise.
6927 [POSIX || XPG3] (SEGV_*): Likewise.
6928 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6929 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6930 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6931 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6932 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6933 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6934 Specify type and value.
6935 (TVERSLEN): Likewise.
6936 (REGTYPE): Likewise.
6937 (AREGTYPE): Likewise.
6938 (LNKTYPE): Likewise.
6939 (SYMTYPE): Likewise.
6940 (CHRTYPE): Likewise.
6941 (BLKTYPE): Likewise.
6942 (DIRTYPE): Likewise.
6943 (FIFOTYPE): Likewise.
6944 (CONTTYPE): Likewise.
6945 (TSUID): Likewise.
6946 (TSGID): Likewise.
6947 (TSVTX): Likewise.
6948 (TUREAD): Likewise.
6949 (TUWRITE): Likewise.
6950 (TUEXEC): Likewise.
6951 (TGREAD): Likewise.
6952 (TGWRITE): Likewise.
6953 (TGEXEC): Likewise.
6954 (TOREAD): Likewise.
6955 (TOWRITE): Likewise.
6956 (TOEXEC): Likewise.
6957 [POSIX] (TSVTX): Expect constant.
6958
aa97dee1
JM
69592014-03-06 Joseph Myers <joseph@codesourcery.com>
6960
f214606a
JM
6961 * Makefile (tests): Change dependencies to ....
6962 (tests-special): ... additions to this variable.
6963 (tests): Depend on $(tests-special).
6964 * Makerules (check-abi-list): New variable.
6965 (check-abi): Depend on $(check-abi-list).
6966 [$(subdir) = elf] (tests-special): Add
6967 $(objpfx)check-abi-libc.out.
6968 [$(build-shared) = yes && subdir] (tests-special): Add
6969 $(check-abi-list).
6970 [$(build-shared) = yes && subdir] (tests): Do not depend on
6971 check-abi.
6972 * Rules (tests): Depend on $(tests-special).
6973 (xtests): Depend on $(xtests-special).
6974 * catgets/Makefile (tests): Change dependencies to ....
6975 (tests-special): ... additions to this variable.
6976 * conform/Makefile (tests): Change dependencies to ....
6977 (tests-special): ... additions to this variable.
6978 * elf/Makefile (tests): Change dependencies to ....
6979 (tests-special): ... additions to this variable.
6980 * grp/Makefile (tests): Change dependencies to ....
6981 (tests-special): ... additions to this variable.
6982 * iconv/Makefile (xtests): Change dependencies to ....
6983 (xtests-special): ... additions to this variable.
6984 * iconvdata/Makefile (tests): Change dependencies to ....
6985 (tests-special): ... additions to this variable.
6986 * intl/Makefile (tests): Change dependencies to ....
6987 (tests-special): ... additions to this variable. Also add
6988 $(objpfx)tst-gettext.out.
6989 * io/Makefile (tests): Change dependencies to ....
6990 (tests-special): ... additions to this variable.
6991 * libio/Makefile (tests): Change dependencies to ....
6992 (tests-special): ... additions to this variable.
6993 * malloc/Makefile (tests): Change dependencies to ....
6994 (tests-special): ... additions to this variable.
6995 * misc/Makefile (tests): Change dependencies to ....
6996 (tests-special): ... additions to this variable.
6997 * nptl/Makefile (tests): Change dependencies to ....
6998 (tests-special): ... additions to this variable.
6999 * nptl_db/Makefile (tests): Change dependencies to ....
7000 (tests-special): ... additions to this variable.
7001 * posix/Makefile (tests): Change dependencies to ....
7002 (tests-special): ... additions to this variable.
7003 (xtests): Change dependencies to ....
7004 (xtests-special): ... additions to this variable.
7005 * resolv/Makefile (tests): Change dependencies to ....
7006 (tests-special): ... additions to this variable.
7007 (xtests): Change dependencies to ....
7008 (xtests-special): ... additions to this variable.
7009 * stdio-common/Makefile (tests): Change dependencies to ....
7010 (tests-special): ... additions to this variable.
7011 (do-tst-unbputc): Remove target.
7012 (do-tst-printf): Likewise.
7013 * stdlib/Makefile (tests): Change dependencies to ....
7014 (tests-special): ... additions to this variable.
7015 * string/Makefile (tests): Change dependencies to ....
7016 (tests-special): ... additions to this variable.
7017 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7018 (tests-special): ... additions to this variable.
7019
81700b53
JM
7020 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7021 whole file.
7022 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7023 whole file.
7024 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7025 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7026
2ea18461
JM
7027 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7028 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7029 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7030 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7031 * conform/data/libgen.h-data [XPG3]: Likewise.
7032 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7033 * conform/data/ndbm.h-data [XPG3]: Likewise.
7034 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7035 * conform/data/netdb.h-data [XPG3]: Likewise.
7036 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7037 * conform/data/poll.h-data [XPG3]: Likewise.
7038 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7039 * conform/data/strings.h-data [XPG3]: Likewise.
7040 * conform/data/stropts.h-data [XPG3]: Likewise.
7041 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7042 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7043 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7044 Likewise.
7045 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7046 * conform/data/sys/time.h-data [XPG3]: Likewise.
7047 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7048 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7049 * conform/data/sys/un.h-data [XPG3]: Likewise.
7050 * conform/data/syslog.h-data [XPG3]: Likewise.
7051 * conform/data/ucontext.h-data [XPG3]: Likewise.
7052 * conform/data/utmpx.h-data [XPG3]: Likewise.
7053 * conform/data/varargs.h-data [UNIX98]: Enable file.
7054
355bc986
JM
7055 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7056
215db402
JM
7057 * math/libm-test.inc (struct test_f_f_data): Move expected results
7058 into structure for each rounding mode.
7059 (struct test_ff_f_data): Likewise.
7060 (struct test_ff_f_data_nexttoward): Likewise.
7061 (struct test_fi_f_data): Likewise.
7062 (struct test_fl_f_data): Likewise.
7063 (struct test_if_f_data): Likewise.
7064 (struct test_fff_f_data): Likewise.
7065 (struct test_c_f_data): Likewise.
7066 (struct test_f_f1_data): Likewise.
7067 (struct test_fF_f1_data): Likewise.
7068 (struct test_ffI_f1_data): Likewise.
7069 (struct test_c_c_data): Likewise.
7070 (struct test_cc_c_data): Likewise.
7071 (struct test_f_i_data): Likewise.
7072 (struct test_ff_i_data): Likewise.
7073 (struct test_f_l_data): Likewise.
7074 (struct test_f_L_data): Likewise.
7075 (struct test_fFF_11_data): Likewise.
7076 (RM_): New macro.
7077 (RM_FE_DOWNWARD): Likewise.
7078 (RM_FE_TONEAREST): Likewise.
7079 (RM_FE_TOWARDZERO): Likewise.
7080 (RM_FE_UPWARD): Likewise.
7081 (RUN_TEST_LOOP_f_f): Update references to expected results.
7082 (RUN_TEST_LOOP_2_f): Likewise.
7083 (RUN_TEST_LOOP_fff_f): Likewise.
7084 (RUN_TEST_LOOP_c_f): Likewise.
7085 (RUN_TEST_LOOP_f_f1): Likewise.
7086 (RUN_TEST_LOOP_fF_f1): Likewise.
7087 (RUN_TEST_LOOP_fI_f1): Likewise.
7088 (RUN_TEST_LOOP_ffI_f1): Likewise.
7089 (RUN_TEST_LOOP_c_c): Likewise.
7090 (RUN_TEST_LOOP_cc_c): Likewise.
7091 (RUN_TEST_LOOP_f_i): Likewise.
7092 (RUN_TEST_LOOP_f_i_tg): Likewise.
7093 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7094 (RUN_TEST_LOOP_f_b): Likewise.
7095 (RUN_TEST_LOOP_f_b_tg): Likewise.
7096 (RUN_TEST_LOOP_f_l): Likewise.
7097 (RUN_TEST_LOOP_f_L): Likewise.
7098 (RUN_TEST_LOOP_fFF_11): Likewise.
7099 * math/gen-libm-test.pl (parse_args): Output four copies of
7100 expected results for each test.
7101
67737b8f
JM
7102 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7103 (__ASSUME_UTIMES): Remove.
7104 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7105 (__ASSUME_UTIMES): Likewise.
7106
aa97dee1
JM
7107 * math/gen-auto-libm-tests.c: Update comment on output format.
7108 (output_for_one_input_case): Generate before-rounding and
7109 after-rounding information as conditions on output flags not
7110 floating-point format.
7111 * math/auto-libm-test-out: Regenerated.
7112 * math/gen-libm-test.pl (cond_value): New function.
7113 (or_cond_value): Use cond_value.
7114 (generate_testfile): Handle conditional exceptions.
7115
e6b6a857
JM
71162014-03-05 Joseph Myers <joseph@codesourcery.com>
7117
2f0a0f44
JM
7118 * math/libm-test.inc (max_valid_error): New variable.
7119 (init_max_error): Take new argument specifying whether function
7120 results are exactly determined. Set max_valid_error and bound
7121 other variables for errors based on this argument.
7122 (set_max_error): Do not record results above max_valid_error.
7123 (check_float_internal): Only accept errors of up to 0.5ulps if
7124 also at most max_valid_error.
7125 (START): Take new argument EXACT and pass it to init_max_error.
7126 (acos_test): Update call to START.
7127 (acos_test_tonearest): Likewise.
7128 (acos_test_towardzero): Likewise.
7129 (acos_test_downward): Likewise.
7130 (acos_test_upward): Likewise.
7131 (acosh_test): Likewise.
7132 (asin_test): Likewise.
7133 (asin_test_tonearest): Likewise.
7134 (asin_test_towardzero): Likewise.
7135 (asin_test_downward): Likewise.
7136 (asin_test_upward): Likewise.
7137 (asinh_test): Likewise.
7138 (atan_test): Likewise.
7139 (atanh_test): Likewise.
7140 (atan2_test): Likewise.
7141 (cabs_test): Likewise.
7142 (cacos_test): Likewise.
7143 (cacosh_test): Likewise.
7144 (carg_test): Likewise.
7145 (casin_test): Likewise.
7146 (casinh_test): Likewise.
7147 (catan_test): Likewise.
7148 (catanh_test): Likewise.
7149 (cbrt_test): Likewise.
7150 (ccos_test): Likewise.
7151 (ccosh_test): Likewise.
7152 (ceil_test): Likewise.
7153 (cexp_test): Likewise.
7154 (cimag_test): Likewise.
7155 (clog_test): Likewise.
7156 (clog10_test): Likewise.
7157 (conj_test): Likewise.
7158 (copysign_test): Likewise.
7159 (cos_test): Likewise.
7160 (cos_test_tonearest): Likewise.
7161 (cos_test_towardzero): Likewise.
7162 (cos_test_downward): Likewise.
7163 (cos_test_upward): Likewise.
7164 (cosh_test): Likewise.
7165 (cosh_test_tonearest): Likewise.
7166 (cosh_test_towardzero): Likewise.
7167 (cosh_test_downward): Likewise.
7168 (cosh_test_upward): Likewise.
7169 (cpow_test): Likewise.
7170 (cproj_test): Likewise.
7171 (creal_test): Likewise.
7172 (csin_test): Likewise.
7173 (csinh_test): Likewise.
7174 (csqrt_test): Likewise.
7175 (ctan_test): Likewise.
7176 (ctan_test_tonearest): Likewise.
7177 (ctan_test_towardzero): Likewise.
7178 (ctan_test_downward): Likewise.
7179 (ctan_test_upward): Likewise.
7180 (ctanh_test): Likewise.
7181 (ctanh_test_tonearest): Likewise.
7182 (ctanh_test_towardzero): Likewise.
7183 (ctanh_test_downward): Likewise.
7184 (ctanh_test_upward): Likewise.
7185 (erf_test): Likewise.
7186 (erfc_test): Likewise.
7187 (exp_test): Likewise.
7188 (exp_test_tonearest): Likewise.
7189 (exp_test_towardzero): Likewise.
7190 (exp_test_downward): Likewise.
7191 (exp_test_upward): Likewise.
7192 (exp10_test): Likewise.
7193 (exp10_test_tonearest): Likewise.
7194 (exp10_test_towardzero): Likewise.
7195 (exp10_test_downward): Likewise.
7196 (exp10_test_upward): Likewise.
7197 (pow10_test): Likewise.
7198 (exp2_test): Likewise.
7199 (expm1_test): Likewise.
7200 (expm1_test_tonearest): Likewise.
7201 (expm1_test_towardzero): Likewise.
7202 (expm1_test_downward): Likewise.
7203 (expm1_test_upward): Likewise.
7204 (fabs_test): Likewise.
7205 (fdim_test): Likewise.
7206 (floor_test): Likewise.
7207 (fma_test): Likewise.
7208 (fma_test_towardzero): Likewise.
7209 (fma_test_downward): Likewise.
7210 (fma_test_upward): Likewise.
7211 (fmax_test): Likewise.
7212 (fmin_test): Likewise.
7213 (fmod_test): Likewise.
7214 (fpclassify_test): Likewise.
7215 (frexp_test): Likewise.
7216 (hypot_test): Likewise.
7217 (ilogb_test): Likewise.
7218 (isfinite_test): Likewise.
7219 (finite_test): Likewise.
7220 (isgreater_test): Likewise.
7221 (isgreaterequal_test): Likewise.
7222 (isinf_test): Likewise.
7223 (isless_test): Likewise.
7224 (islessequal_test): Likewise.
7225 (islessgreater_test): Likewise.
7226 (isnan_test): Likewise.
7227 (isnormal_test): Likewise.
7228 (issignaling_test): Likewise.
7229 (isunordered_test): Likewise.
7230 (j0_test): Likewise.
7231 (j1_test): Likewise.
7232 (jn_test): Likewise.
7233 (ldexp_test): Likewise.
7234 (lgamma_test): Likewise.
7235 (gamma_test): Likewise.
7236 (lrint_test): Likewise.
7237 (lrint_test_tonearest): Likewise.
7238 (lrint_test_towardzero): Likewise.
7239 (lrint_test_downward): Likewise.
7240 (lrint_test_upward): Likewise.
7241 (llrint_test): Likewise.
7242 (llrint_test_tonearest): Likewise.
7243 (llrint_test_towardzero): Likewise.
7244 (llrint_test_downward): Likewise.
7245 (llrint_test_upward): Likewise.
7246 (log_test): Likewise.
7247 (log10_test): Likewise.
7248 (log1p_test): Likewise.
7249 (log2_test): Likewise.
7250 (logb_test): Likewise.
7251 (logb_test_downward): Likewise.
7252 (lround_test): Likewise.
7253 (llround_test): Likewise.
7254 (modf_test): Likewise.
7255 (nearbyint_test): Likewise.
7256 (nextafter_test): Likewise.
7257 (nexttoward_test): Likewise.
7258 (pow_test): Likewise.
7259 (pow_test_tonearest): Likewise.
7260 (pow_test_towardzero): Likewise.
7261 (pow_test_downward): Likewise.
7262 (pow_test_upward): Likewise.
7263 (remainder_test): Likewise.
7264 (drem_test): Likewise.
7265 (remainder_test_tonearest): Likewise.
7266 (drem_test_tonearest): Likewise.
7267 (remainder_test_towardzero): Likewise.
7268 (drem_test_towardzero): Likewise.
7269 (remainder_test_downward): Likewise.
7270 (drem_test_downward): Likewise.
7271 (remainder_test_upward): Likewise.
7272 (drem_test_upward): Likewise.
7273 (remquo_test): Likewise.
7274 (rint_test): Likewise.
7275 (rint_test_tonearest): Likewise.
7276 (rint_test_towardzero): Likewise.
7277 (rint_test_downward): Likewise.
7278 (rint_test_upward): Likewise.
7279 (round_test): Likewise.
7280 (scalb_test): Likewise.
7281 (scalbn_test): Likewise.
7282 (scalbln_test): Likewise.
7283 (signbit_test): Likewise.
7284 (sin_test): Likewise.
7285 (sin_test_tonearest): Likewise.
7286 (sin_test_towardzero): Likewise.
7287 (sin_test_downward): Likewise.
7288 (sin_test_upward): Likewise.
7289 (sincos_test): Likewise.
7290 (sinh_test): Likewise.
7291 (sinh_test_tonearest): Likewise.
7292 (sinh_test_towardzero): Likewise.
7293 (sinh_test_downward): Likewise.
7294 (sinh_test_upward): Likewise.
7295 (sqrt_test): Likewise.
7296 (sqrt_test_tonearest): Likewise.
7297 (sqrt_test_towardzero): Likewise.
7298 (sqrt_test_downward): Likewise.
7299 (sqrt_test_upward): Likewise.
7300 (tan_test): Likewise.
7301 (tan_test_tonearest): Likewise.
7302 (tan_test_towardzero): Likewise.
7303 (tan_test_downward): Likewise.
7304 (tan_test_upward): Likewise.
7305 (tanh_test): Likewise.
7306 (tgamma_test): Likewise.
7307 (trunc_test): Likewise.
7308 (y0_test): Likewise.
7309 (y1_test): Likewise.
7310 (yn_test): Likewise.
7311 (significand_test): Likewise.
7312
e6b6a857
JM
7313 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7314 individual tests in comment.
7315 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7316 (prev_max_error): New variable.
7317 (prev_real_max_error): Likewise.
7318 (prev_imag_max_error): Likewise.
7319 (compare_ulp_data): Don't refer to test names in comment.
7320 (find_test_ulps): Remove function.
7321 (find_function_ulps): Likewise.
7322 (find_complex_function_ulps): Likewise.
7323 (init_max_error): Take function name as argument. Look up ulps
7324 for that function.
7325 (print_ulps): Remove function.
7326 (print_max_error): Use prev_max_error instead of calling
7327 find_function_ulps.
7328 (print_complex_max_error): Use prev_real_max_error and
7329 prev_imag_max_error instead of calling find_complex_function_ulps.
7330 (check_float_internal): Take max_ulp parameter instead of calling
7331 find_test_ulps. Don't call print_ulps.
7332 (check_float): Update call to check_float_internal.
7333 (check_complex): Update calls to check_float_internal.
7334 (START): Pass argument to init_max_error.
7335 * math/gen-libm-test.pl (%results): Don't include "kind"
7336 information.
7337 (parse_ulps): Don't handle ulps of individual tests.
7338 (print_ulps_file): Likewise.
7339 (output_ulps): Likewise.
7340 * math/README.libm-test: Update.
7341 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7342 individual tests.
7343 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7344 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7345 * sysdeps/arm/libm-test-ulps: Likewise.
7346 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7347 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7348 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7349 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7350 * sysdeps/microblaze/libm-test-ulps: Likewise.
7351 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7352 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7354 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7355 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7356 * sysdeps/sh/libm-test-ulps: Likewise.
7357 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7358 * sysdeps/tile/libm-test-ulps: Likewise.
7359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7360
45adef3c
JM
73612014-03-04 Joseph Myers <joseph@codesourcery.com>
7362
7363 * math/libm-test.inc (print_complex_max_error): Check separately
7364 whether real and imaginary errors are within allowed range and
7365 pass 0 to print_complex_function_ulps instead of value within
7366 allowed range.
7367
000232b9
SP
73682014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7369
d4b17258
SP
7370 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7371 formatting.
7372 (get_handles_fopen): Likewise.
7373 (do_write_test): Likewise.
7374
091eff71
SP
7375 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7376
fa3cd248
SP
7377 * libio/fileops.c (do_ftell): Use cached offset when
7378 available.
7379 * libio/iofwide.c (do_ftell_wide): Likewise.
7380 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7381 _IO_file_attach.
7382 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7383
000232b9
SP
7384 [BZ #16532]
7385 * libio/libioP.h (get_file_offset): New function.
7386 * libio/fileops.c (get_file_offset): Likewise.
7387 (do_ftell): Likewise.
7388 (_IO_new_file_seekoff): Split out ftell logic.
7389 * libio/wfileops.c (do_ftell_wide): Likewise.
7390 (_IO_wfile_seekoff): Split out ftell logic.
7391 * libio/tst-ftell-active-handler.c: New test case.
7392 * libio/Makefile (tests): Add it.
7393
116f4d1a
RM
73942014-03-03 Roland McGrath <roland@hack.frob.com>
7395
7396 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7397 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7398
532a6035
SP
73992014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7400
7401 [BZ #16639]
7402 * nscd/connections.c (nscd_init): Call do_exit.
7403 (start_threads): Call do_exit and notify_parent.
7404 (begin_drop_privileges): Call do_exit.
7405 (finish_drop_privileges): Likewise.
7406 * nscd/selinux.c (preserve_capabilities): Likewise.
7407 (install_real_capabilities): Likewise.
7408 (nscd_selinux_enabled): Likewise.
7409 (avc_create_thread): Likewise.
7410 (avc_alloc_lock): Likewise.
7411 (nscd_avc_init): Likewise.
7412 * nscd/nscd.c (parent_fd): New static variable.
7413 (main): Create a pipe between parent and child processes.
7414 Skip closing parent_fd.
7415 (monitor_child): New function.
7416 (do_exit): Likewise.
7417 (notify_parent): Likewise.
7418 * nscd/nscd.h (notify_parent): Likewise.
7419 (do_exit): Likewise.
7420
d6285c9f
CD
74212014-03-03 Carlos O'Donell <carlos@redhat.com>
7422
7423 * malloc/malloc.c (__libc_calloc): Revert last change.
7424
2b85d2a0
AZ
74252014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7426
7427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7428
c7debbdf
RS
74292014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7430
7431 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7433 implementation.
7434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7435 (__libc_ifunc_impl_list): Likewise.
7436 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7437 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7438 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7439 * string/strrchr.c: Define STRRCHR.
7440
235eed86
OB
74412014-02-28 Ondřej Bílka <neleai@seznam.cz>
7442
7443 * benchtest/bench-strtok.c (simple_strtok): Delete.
7444 (strtok_string): Use as benchmark.
7445 * string/strtok (STRTOK): New macro.
7446
8e25d1e7
CD
74472014-02-28 Carlos O'Donell <carlos@redhat.com>
7448
ef563f92
CD
7449 * manual/threads.texi: Add header and standard comments to all
7450 functions.
7451
8e25d1e7
CD
7452 * elf/dl-lookup.c (check_match): New function.
7453 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7454 (do_lookup_x): Remove nested function check_match. Use non-nested
7455 function check_match.
7456
ff71cc37
RM
74572014-02-28 Roland McGrath <roland@hack.frob.com>
7458
f08e9a26
RM
7459 * csu/Makefile (generated, before-compile): Use += rather than =.
7460 * catgets/Makefile (generated, generated-dirs): Likewise.
7461 * debug/Makefile (generated): Likewise.
7462 * dlfcn/Makefile (generated): Likewise.
7463 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7464 * iconvdata/Makefile (before-compile, generated): Likewise.
7465 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7466 * libio/Makefile (generated): Likewise.
7467 * malloc/Makefile (generated): Likewise.
7468 * manual/Makefile (generated, generated-dirs): Likewise.
7469 * misc/Makefile (generated): Likewise.
7470 * posix/Makefile (generated): Likewise.
7471 * resolv/Makefile (generated): Likewise.
7472 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7473 * timezone/Makefile (generated, generated-dirs): Likewise.
7474
ff71cc37
RM
7475 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7476
fe13a20c
AZ
74772014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7478
57f41c40
AS
7479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7480 power8 implementation.
7481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7482 file: POWER8 llround ifunc implementation.
7483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7484 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
7485 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7486 POWER8 llround implementation.
7487
57f41c40
AS
7488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7489 power8 implementation.
7490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7491 file: POWER8 llrint ifunc implementation.
7492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7493 Add POWER8 implementation.
1ad8950a
AZ
7494 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7495 POWER8 llrint implementation.
7496
57f41c40
AS
7497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7498 power8 implementation.
7499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7500 file: POWER8 finite ifunc implementation.
7501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7502 Add POWER8 implementation.
cac626d6
AZ
7503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7504 Likewise.
7505 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7506 POWER8 finite implementation.
7507 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7508
57f41c40
AS
7509 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7510 power8 implementation.
7511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7512 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
7513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7514 POWER8 implementation.
7515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7516 Likewise.
57f41c40
AS
7517 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7518 isinf implementation.
4393fc11
AZ
7519 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7520
57f41c40
AS
7521 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7522 (INIT_ARCH): Add hwcap2 initialization.
7523 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7524 power8 implementation.
7525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7526 file: POWER8 isnan ifunc implementation.
487972ae
AZ
7527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7528 POWER8 implementation.
7529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7530 Likewise.
57f41c40
AS
7531 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7532 isnan implementation.
487972ae
AZ
7533 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7534
7d92b787
JY
75352014-02-27 Joey Ye <joey.ye@arm.com>
7536
7537 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7538 (_FP_NANFRAC_Q): Set to zero.
7539
1cadc858
SP
75402014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7541
7542 [BZ #16623]
7543 * math/auto-libm-test-in: New test inputs.
7544 * math/auto-libm-test-out: Regenerate.
7545 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7546 and DA.
7547 (__cos): Likewise.
7548 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7549
f8c17e79
JM
75502014-02-27 Joseph Myers <joseph@codesourcery.com>
7551
7552 * scripts/evaluate-test.sh: Take new argument indicating whether
7553 failure is expected.
7554 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7555 indicating whether failure is expected.
7556 * conform/Makefile (test-xfail-run-conformtest): New variable.
7557 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7558 level.
7559 * posix/Makefile (test-xfail-annexc): New variable.
7560 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7561
a5f891ac
JM
75622014-02-26 Joseph Myers <joseph@codesourcery.com>
7563
7564 * argp/Makefile: Include Makeconfig immediately after defining
7565 subdir.
7566 * assert/Makefile: Likewise.
7567 * benchtests/Makefile: Likewise.
7568 * catgets/Makefile: Likewise.
7569 * conform/Makefile: Likewise.
7570 * crypt/Makefile: Likewise.
7571 * csu/Makefile: Likewise.
7572 (all): Remove target.
7573 * ctype/Makefile: Include Makeconfig immediately after defining
7574 subdir.
7575 * debug/Makefile: Likewise.
7576 * dirent/Makefile: Likewise.
7577 * dlfcn/Makefile: Likewise.
7578 * gmon/Makefile: Likewise.
7579 * gnulib/Makefile: Likewise.
7580 * grp/Makefile: Likewise.
7581 * gshadow/Makefile: Likewise.
7582 * hesiod/Makefile: Likewise.
7583 * hurd/Makefile: Likewise.
7584 (all): Remove target.
7585 * iconvdata/Makefile: Include Makeconfig immediately after
7586 defining subdir.
7587 * inet/Makefile: Likewise.
7588 * intl/Makefile: Likewise.
7589 * io/Makefile: Likewise.
7590 * libio/Makefile: Likewise.
7591 (all): Remove target.
7592 * locale/Makefile: Include Makeconfig immediately after defining
7593 subdir.
7594 * login/Makefile: Likewise.
7595 * mach/Makefile: Likewise.
7596 (all): Remove target.
7597 * malloc/Makefile: Include Makeconfig immediately after defining
7598 subdir.
7599 (all): Remove target.
7600 * manual/Makefile: Include Makeconfig immediately after defining
7601 subdir.
7602 * math/Makefile: Likewise.
7603 * misc/Makefile: Likewise.
7604 * nis/Makefile: Likewise.
7605 * nss/Makefile: Likewise.
7606 * po/Makefile: Likewise.
7607 (all): Remove target.
7608 * posix/Makefile: Include Makeconfig immediately after defining
7609 subdir.
7610 * pwd/Makefile: Likewise.
7611 * resolv/Makefile: Likewise.
7612 * resource/Makefile: Likewise.
7613 * rt/Makefile: Likewise.
7614 * setjmp/Makefile: Likewise.
7615 * shadow/Makefile: Likewise.
7616 * signal/Makefile: Likewise.
7617 * socket/Makefile: Likewise.
7618 * soft-fp/Makefile: Likewise.
7619 * stdio-common/Makefile: Likewise.
7620 * stdlib/Makefile: Likewise.
7621 * streams/Makefile: Likewise.
7622 * string/Makefile: Likewise.
7623 * sunrpc/Makefile: Likewise.
7624 (all): Remove target.
7625 * sysvipc/Makefile: Include Makeconfig immediately after defining
7626 subdir.
7627 * termios/Makefile: Likewise.
7628 * time/Makefile: Likewise.
7629 * timezone/Makefile: Likewise.
7630 (all): Remove target.
7631 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7632 subdir.
7633 * wctype/Makefile: Likewise.
7634
5b456e9d
SE
76352014-02-26 Steve Ellcey <sellcey@mips.com>
7636
7637 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7638 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7639 (libc_feholdexcept_setround_mips): Ditto.
7640 (libc_feholdsetround): New.
7641 (libc_feholdsetroundf): New.
7642 (libc_feholdsetroundl): New.
7643 (libc_feupdateenv_test_mips): New.
7644 (libc_feupdateenv_test): New.
7645 (libc_feupdateenv_testf): New.
7646 (libc_feupdateenv_testl): New.
7647 (libc_feresetround): New.
7648 (libc_feresetroundf): New.
7649 (libc_feresetroundl): New.
7650 (libc_fetestexcept_mips): New.
7651 (libc_fetestexcept): New.
7652 (libc_fetestexceptf): New.
7653 (libc_fetestexceptl): New.
7654 (HAVE_RM_CTX): New.
7655 (libc_feholdexcept_setround_mips_ctx): New.
7656 (libc_feholdexcept_setround_ctx): New.
7657 (libc_feholdexcept_setroundf_ctx): New.
7658 (libc_feholdexcept_setroundl_ctx): New.
7659 (libc_fesetenv_mips_ctx): New.
7660 (libc_fesetenv_ctx): New.
7661 (libc_fesetenv_ctxf): New.
7662 (libc_fesetenv_ctxl): New.
7663 (libc_feupdateenv_mips_ctx): New.
7664 (libc_feupdateenv_ctx): New.
7665 (libc_feupdateenvf_ctx): New.
7666 (libc_feupdateenvl_ctx): New.
7667 (libc_feholdsetround_mips_ctx): New.
7668 (libc_feholdsetround_ctx): New.
7669 (libc_feholdsetroundf_ctx): New.
7670 (libc_feholdsetroundl_ctx): New.
7671 (libc_feresetround_mips_ctx): New.
7672 (libc_feresetround_ctx): New.
7673 (libc_feresetroundf_ctx): New.
7674 (libc_feresetroundl_ctx): New.
7675
085d0e35
CD
76762014-02-26 Carlos O'Donell <carlos@redhat.com>
7677
f067bf1f
CD
7678 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7679
085d0e35
CD
7680 * manual/ipc.texi: New file.
7681 * manual/Makefile (chapters): Add ipc.
7682 * manual/job.texi: Add "Inter-Process Communication" to next.
7683 * manual/process.texi: Add "Inter-Process Communication" to prev.
7684
86e58c08
AZ
76852014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7686
7687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7688
4248f0da
OB
76892014-02-26 Ondřej Bílka <neleai@seznam.cz>
7690
7691 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7692
cf822e3c
OB
7693 * manual/arith.texi: Fix spaces after sentences.
7694 * manual/charset.texi: Likewise.
7695 * manual/errno.texi: Likewise.
7696 * manual/install.texi: Likewise.
7697 * manual/llio.texi: Likewise.
7698 * manual/locale.texi: Likewise.
7699 * manual/maint.texi: Likewise.
7700 * manual/math.texi: Likewise.
7701 * manual/memory.texi: Likewise.
7702 * manual/message.texi: Likewise.
7703 * manual/probes.texi: Likewise.
7704 * manual/resource.texi: Likewise.
7705 * manual/signal.texi: Likewise.
7706 * manual/socket.texi: Likewise.
7707 * manual/stdio.texi: Likewise.
7708 * manual/string.texi: Likewise.
7709 * manual/time.texi: Likewise.
7710 * manual/users.texi: Likewise.
7711
ade40b10
CD
77122014-02-25 Carlos O'Donell <carlos@redhat.com>
7713
7714 [BZ #16632]
7715 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7716 _DEFAULT_SOURCE is defined.
7717
d0503676
CD
77182014-02-25 Ulrich Drepper <drepper@gmail.com>
7719 Carlos O'Donell <carlos@redhat.com>
7720
7721 [BZ #16613]
7722 * elf/dl-tls.c (_dl_count_modids): New function.
7723 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7724 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7725 audit library and increment generation counter.
7726 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7727 * elf/tst-audit9.c: New file.
7728 * elf/tst-auditmod9a.c: New file.
7729 * elf/tst-auditmod9b.c: New file.
7730 * elf/Makefile: Add rules to build and run tst-audit9.
7731
4cbf380c
FW
77322014-02-25 Florian Weimer <fweimer@redhat.com>
7733
7734 [BZ #15347]
7735 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7736
80a56cc3
WN
77372014-02-25 Will Newton <will.newton@linaro.org>
7738
7739 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7740 (__longjmp): Restore sp and lr before restoring callee
7741 saved registers. Add longjmp and longjmp_target
7742 SystemTap probe point.
7743 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7744 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7745 Define to zero to match jmpbuf layout.
7746 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7747 (__sigsetjmp): Save sp and lr before saving callee
7748 saved registers. Add setjmp SystemTap probe point.
7749
3ea0f74e
SL
77502014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7751
7752 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7753
b04acb26
AS
77542014-02-24 Andreas Schwab <schwab@suse.de>
7755
7756 [BZ #15804]
7757 * elf/pldd.c (wait_for_ptrace_stop): New function.
7758 (main): Call it after attaching.
7759
098ad55c
RM
77602014-02-22 Roland McGrath <roland@hack.frob.com>
7761
d4ec6ae1
RM
7762 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7763 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7764 Versions files is now verboten.
7765 * hurd/Versions (libc: GLIBC_2.0):
7766 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7767 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7768 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7769 * mach/Versions: Likewise.
7770
098ad55c
RM
7771 * csu/Versions: Remove unused %include.
7772 * resolv/Versions: Likewise.
7773
acd7f096
JM
77742014-02-21 Joseph Myers <joseph@codesourcery.com>
7775
f0881698
JM
7776 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7777 ($(objpfx)check-local-headers.out): Likewise.
7778 ($(objpfx)begin-end-check.out): Likewise.
7779 * Makerules (check-abi-%.out): Likewise.
7780 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7781 ($(objpfx)test2.cat): Likewise.
7782 ($(objpfx)de/libc.cat): Likewise.
7783 ($(objpfx)test-gencat.out): Likewise.
7784 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7785 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7786 ($(objpfx)noload-mem): Likewise.
7787 ($(objpfx)tst-pathopt.out): Likewise.
7788 ($(objpfx)tst-rtld-load-self.out): Likewise.
7789 ($(objpfx)tst-array1-cmp.out): Likewise.
7790 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7791 ($(objpfx)tst-array2-cmp.out): Likewise.
7792 ($(objpfx)tst-array3-cmp.out): Likewise.
7793 ($(objpfx)tst-array4-cmp.out): Likewise.
7794 ($(objpfx)tst-array5-cmp.out): Likewise.
7795 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7796 ($(objpfx)check-textrel.out): Likewise.
7797 ($(objpfx)check-execstack.out): Likewise.
7798 ($(objpfx)check-localplt.out): Likewise.
7799 ($(objpfx)order2-cmp.out): Likewise.
7800 ($(objpfx)tst-leaks1-mem): Likewise.
7801 ($(objpfx)tst-leaks1-static-mem): Likewise.
7802 ($(objpfx)tst-initorder-cmp.out): Likewise.
7803 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7804 ($(objpfx)tst-unused-dep.out): Likewise.
7805 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7806 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7807 * iconv/Makefile (test-iconvconfig): Likewise.
7808 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7809 ($(objpfx)iconv-test.out): Likewise.
7810 ($(objpfx)tst-tables.out): Likewise.
7811 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7812 ($(objpfx)tst-gettext.out): Likewise.
7813 ($(objpfx)tst-translit.out): Likewise.
7814 ($(objpfx)tst-gettext2.out): Likewise.
7815 ($(objpfx)tst-gettext4.out): Likewise.
7816 ($(objpfx)tst-gettext6.out): Likewise.
7817 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7818 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7819 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7820 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7821 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7822 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7823 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7824 ($(objpfx)wordexp-tst.out): Likewise.
7825 ($(objpfx)annexc.out): Likewise.
7826 ($(objpfx)tst-fnmatch-mem): Likewise.
7827 ($(objpfx)bug-regex2-mem): Likewise.
7828 ($(objpfx)bug-regex14-mem): Likewise.
7829 ($(objpfx)bug-regex21-mem): Likewise.
7830 ($(objpfx)bug-regex31-mem): Likewise.
7831 ($(objpfx)tst-vfork3-mem): Likewise.
7832 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7833 ($(objpfx)tst-pcre-mem): Likewise.
7834 ($(objpfx)tst-boost-mem): Likewise.
7835 ($(objpfx)tst-getconf.out): Likewise.
7836 ($(objpfx)bug-ga2-mem): Likewise.
7837 ($(objpfx)bug-glob2-mem): Likewise.
7838 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7839 ($(objpfx)mtrace-tst-leaks2): Likewise.
7840 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7841 ($(objpfx)tst-printf.out): Likewise.
7842 ($(objpfx)tst-setvbuf1.out): Likewise.
7843 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7844 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7845 ($(objpfx)tst-fmtmsg.out): Likewise.
7846 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7847 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7848
acd7f096
JM
7849 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7850 * bits/sigaction.h [__USE_MISC]: Likewise.
7851 * bits/waitstatus.h: Update #endif comments.
7852 * ctype/ctype.h: Likewise.
7853 * dirent/dirent.h: Likewise.
7854 [__USE_MISC]: Remove redundant conditionals.
7855 * grp/grp.h: Update #endif comments.
7856 [__USE_GNU]: Remove redundant conditionals.
7857 [__USE_MISC]: Likewise.
7858 * inet/netinet/in.h [__USE_GNU]: Likewise.
7859 * io/sys/stat.h [__USE_MISC]: Likewise.
7860 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7861 * libio/bits/stdio.h: Update #endif comments.
7862 [__USE_MISC]: Remove redundant conditionals.
7863 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7864 * libio/stdio.h: Update #endif comments.
7865 [__USE_MISC]: Remove redundant conditionals.
7866 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7867 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7868 * math/math.h: Update #else and #endif comments.
7869 [__USE_MISC]: Remove redundant conditionals.
7870 * misc/sys/uio.h: Update #endif comments.
7871 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7872 * posix/glob.h [__USE_MISC]: Likewise.
7873 * posix/sys/types.h: Update #endif comments.
7874 [__USE_MISC]: Remove redundant conditionals.
7875 * posix/sys/wait.h: Update #endif comments.
7876 [__USE_MISC]: Remove redundant conditionals.
7877 * posix/unistd.h: Update #endif comments.
7878 [__USE_MISC]: Remove redundant conditionals.
7879 * pwd/pwd.h [__USE_GNU]: Likewise.
7880 [__USE_MISC]: Likewise.
7881 * resolv/netdb.h [__USE_GNU]: Likewise.
7882 * signal/signal.h: Update #endif comments.
7883 [__USE_MISC]: Remove redundant conditionals.
7884 * stdlib/stdlib.h: Update #else and #endif comments.
7885 [__USE_MISC]: Remove redundant conditionals.
7886 [__USE_GNU]: Likewise.
7887 * string/bits/string2.h [__USE_MISC]: Likewise.
7888 * string/string.h: Update #endif comments.
7889 [__USE_MISC]: Remove redundant conditionals.
7890 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7891 Likewise.
7892 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7893 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7894 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7895 Likewise.
7896 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7897 Likewise.
7898 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7899 comments.
7900 [__USE_MISC]: Remove redundant conditionals.
7901 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7902 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7903 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7904 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7905 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7906 Likewise.
7907 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7908 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7909 Likewise.
7910 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7911 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7912 Likewise.
7913 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7914 Likewise.
7915 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7916 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7917 Likewise.
7918 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7919 Likewise.
7920 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7921 * sysdeps/x86/bits/string.h: Update #endif comments.
7922 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7923 conditionals.
7924 * time/sys/time.h: Update #endif comments.
7925 * time/time.h: Likewise.
7926 [__USE_MISC]: Remove redundant conditionals.
7927
a5d82e4e
YG
79282014-02-21 Yury Gribov <y.gribov@samsung.com>
7929
7930 [BZ #16600]
7931 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7932
9a80491d
AS
79332014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7934
7935 * Versions.def (librt): Add GLIBC_2.17.
7936
105fa381
AC
79372014-02-21 Adam Conrad <adconrad@0c3.net>
7938
7939 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7940 synonym for _SYS_AUXV_H to allow direct inclusion.
7941 * sysdeps/sparc/bits/hwcap.h: Likewise.
7942 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7943 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7944 * sysdeps/sparc/sysdep.h: Likewise.
7945
b8cd1c4e
SP
79462014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7947
7948 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7949
bd939d23
RS
79502014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7951
7952 * benchtests/bench-strrchr.c: Print length instead of position.
7953
5d7b57ca
JM
79542014-02-20 Joseph Myers <joseph@codesourcery.com>
7955
bc688c10
JM
7956 [BZ #16611]
7957 * sysdeps/unix/sysv/linux/kernel-features.h
7958 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7959 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7960 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7961 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7962 Likewise.
7963 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7964 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7965 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7966 (__ASSUME_SENDMMSG): Define instead of using previous
7967 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7968 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7969 (__ASSUME_SENDMMSG_SYSCALL): Define.
7970 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7971 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7972 Likewise.
7973 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7974 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7975 Likewise.
7976 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7977 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7978 Likewise.
7979 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7980 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7981 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7982 [__ASSUME_SENDMMSG]: Change conditionals to
7983 [__ASSUME_SENDMMSG_SOCKETCALL].
7984 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7985 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7986 Define.
7987 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7988 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7989 Likewise.
7990 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7991 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7992 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7993 [!__ASSUME_SENDMMSG]: Change conditional to
7994 [!__ASSUME_SENDMMSG_SOCKETCALL].
7995 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7996 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7997 Define.
7998
0e31b18c
JM
7999 [BZ #16610]
8000 * sysdeps/unix/sysv/linux/kernel-features.h
8001 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8002 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8003 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8004 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8005 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8006 [__i386__ || __sparc__]
8007 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8008 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8009 (__ASSUME_RECVMMSG): Define instead of using previous
8010 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8011 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8012 (__ASSUME_RECVMMSG_SYSCALL): Define.
8013 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8014 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8015 Likewise.
8016 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8017 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8018 Likewise.
8019 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8020 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8021 Likewise.
8022 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8023 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8024 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8025 [__ASSUME_RECVMMSG]: Change condition to
8026 [__ASSUME_RECVMMSG_SOCKETCALL].
8027 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8028 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8029 Define.
8030 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8031 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8032 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8033 Likewise.
8034 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8035 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8036 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8037 [!__ASSUME_RECVMMSG]: Change condition to
8038 [!__ASSUME_RECVMMSG_SOCKETCALL].
8039 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8040 (__ASSUME_RECVMMSG_SYSCALL): Define.
8041
dd481ccf
JM
8042 [BZ #16609]
8043 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8044 __powerpc__ || __s390__ || __sh__ || __sparc__]
8045 (__ASSUME_SOCKETCALL): Define.
8046 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8047 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8048 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8049 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8050 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8051 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8052 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8053 (__ASSUME_ACCEPT4): Define instead of using previous
8054 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8055 __powerpc__ || __sparc__ || __s390__)] condition.
8056 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8057 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8058 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8059 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8060 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8061 [!__ASSUME_ACCEPT4]: Change condition to
8062 [!__ASSUME_ACCEPT4_SOCKETCALL].
8063 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8064 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8065 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8066 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8067 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8068 __ASSUME_ACCEPT4_SYSCALL.
8069 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8070 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8071 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8072 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8073 __ASSUME_ACCEPT4_SYSCALL.
8074 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8075 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8076 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8077 [__ASSUME_ACCEPT4]: Change condition to
8078 [__ASSUME_ACCEPT4_SOCKETCALL].
8079 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8080 (__ASSUME_SOCKETCALL): Define.
8081 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8082 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8083 (__ASSUME_SOCKETCALL): Define.
8084 (__ASSUME_ACCEPT4): Remove.
8085 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8086 Define.
8087 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8088 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8089 Likewise.
8090 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8091 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8092
5d7b57ca
JM
8093 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8094 macro.
8095 (HWCAP_ARM_LPAE): Likewise.
8096 (HWCAP_ARM_EVTSTRM): Likewise.
8097 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8098 Add vpfd32, lpae and evtstrm.
8099 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8100 Increase to 22.
8101
63689d61
JM
81022014-02-19 Joseph Myers <joseph@codesourcery.com>
8103
8104 * math/auto-libm-test-in: Add tests of clog10.
8105 * math/auto-libm-test-out: Regenerated.
8106 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8107 * sysdeps/i386/fpu/libm-test-ulps: Update.
8108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8109
ab09bf61
AS
81102014-02-18 Andreas Schwab <schwab@suse.de>
8111
8112 [BZ #16574]
8113 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8114 Store non-zero if the second buffer was newly allocated.
8115 (send_dg): Likewise.
8116 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8117 to send_vc and send_dg.
8118 (res_nsend): Pass NULL for ansp2_malloced.
8119 * resolv/res_query.c (__libc_res_nquery): Add parameter
8120 answerp2_malloced and pass it down to __libc_res_nsend.
8121 (res_nquery): Pass additional NULL to __libc_res_nquery.
8122 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8123 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8124 second answer buffer if answerp2_malloced was set.
8125 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8126 (__libc_res_nquerydomain): Add parameter
8127 answerp2_malloced and pass it down to __libc_res_nquery.
8128 (res_nquerydomain): Pass additional NULL to
8129 __libc_res_nquerydomain.
8130 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8131 additional NULL to __libc_res_nsend and __libc_res_nquery.
8132 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8133 additional NULL to __libc_res_nsearch.
8134 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8135 parameter of __libc_res_nsearch to check for separately allocated
8136 second buffer.
8137 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8138 __libc_res_nquery.
8139 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8140 additional NULL to __libc_res_nquery.
8141 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8142 __libc_res_nsearch.
8143 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8144 * include/resolv.h: Update prototypes of __libc_res_nquery,
8145 __libc_res_nsearch, __libc_res_nsend.
8146
a4fb7861
JM
81472014-02-18 Joseph Myers <joseph@codesourcery.com>
8148
c6af2d89
JM
8149 * math/auto-libm-test-in: Add tests of fma.
8150 * math/auto-libm-test-out: Regenerated.
8151 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8152 (fma_towardzero_test_data): Likewise.
8153 (fma_downward_test_data): Likewise.
8154 (fma_upward_test_data): Likewise.
8155 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8156 mpc_mode.
8157 (rounding_modes): Add values for new field.
8158 (func_calc_method): Add value mpfr_fff_f.
8159 (func_calc_desc): Add mpfr_fff_f union field.
8160 (test_function): Add field exact_args.
8161 (FUNC): Add macro argument EXACT_ARGS.
8162 (FUNC_mpfr_f_f): Update call to FUNC.
8163 (FUNC_mpfr_f_f): Likewise.
8164 (FUNC_mpfr_ff_f): Likewise.
8165 (FUNC_mpfr_if_f): Likewise.
8166 (FUNC_mpc_c_f): Likewise.
8167 (FUNC_mpc_c_c): Likewise.
8168 (test_functions): Add fma. Update calls to FUNC.
8169 (handle_input_arg): Add argument exact_args.
8170 (add_test): Update call to handle_input_arg.
8171 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8172 (output_for_one_input_case): Update call to calc_generic_results.
8173 Recalculate exact zero results in each rounding mode.
8174
a4fb7861
JM
8175 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8176 non-negative before setting low bit.
8177 * math/auto-libm-test-in: Mark one asin test possibly having
8178 spurious underflow.
8179 * math/auto-libm-test-out: Regenerated.
8180 * sysdeps/i386/fpu/libm-test-ulps: Update.
8181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8182
ef114eaf
DH
81832014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8184
2b7f4f2c
SP
8185 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8186 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8187 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
8188 * README: Add missing listing for microblaze*-*-linux-gnu.
8189
c70a4b1d
MF
81902014-02-16 Mike Frysinger <vapier@gentoo.org>
8191
8192 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8193 * sysdeps/unix/sysv/linux/ia64: Move directory from
8194 ports/sysdeps/unix/sysv/linux/ia64.
8195 * README: Update listing for ia64-*-linux-gnu.
8196
591aeaf7
TD
81972014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8198 Joseph Myers <joseph@codesourcery.com>
8199
8200 * Makeconfig (test-name): New variable.
8201 (evaluate-test): Likewise.
8202 * Makerules (do-test-clean): Remove .test-result files.
8203 (common-mostlyclean): Likewise.
8204 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8205 * scripts/evaluate-test.sh: New file.
8206
6e89caf1
JM
82072014-02-14 Joseph Myers <joseph@codesourcery.com>
8208
7f98f180
JM
8209 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8210 separate $(objpfx)tst-fopenloc-cmp.out and
8211 $(objpfx)tst-fopenloc-mem.out targets.
8212 (tests): Update dependencies.
8213 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8214 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8215 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8216 (tst-rxspencer-no-utf8-ARGS): New variable.
8217 (tst-rxspencer-no-utf8-ENV): Likewise.
8218 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8219 instead of $(objpfx)tst-rxspencer-mem.
8220 ($(objpfx)tst-rxspencer-mem): Change target to
8221 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8222 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8223 * posix/tst-rxspencer-no-utf8.c: New file.
8224
6e89caf1
JM
8225 * elf/Makefile ($(objpfx)order.out): Remove rule.
8226 [$(run-built-tests) = yes] (tests): Depend on
8227 $(objpfx)order-cmp.out.
8228 ($(objpfx)order-cmp.out): New rule.
8229 [$(run-built-tests) = yes] (tests): Depend on
8230 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8231 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8232 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8233 $(objpfx)tst-array5-static-cmp.out.
8234 ($(objpfx)tst-array1.out): Remove rule.
8235 ($(objpfx)tst-array1-cmp.out): New rule.
8236 ($(objpfx)tst-array1-static.out): Remove rule.
8237 ($(objpfx)tst-array1-static-cmp.out): New rule.
8238 ($(objpfx)tst-array2.out): Remove rule.
8239 ($(objpfx)tst-array2-cmp.out): New rule.
8240 ($(objpfx)tst-array3.out): Remove rule.
8241 ($(objpfx)tst-array3-cmp.out): New rule.
8242 ($(objpfx)tst-array4.out): Remove rule.
8243 ($(objpfx)tst-array4-cmp.out): New rule.
8244 ($(objpfx)tst-array5.out): Remove rule.
8245 ($(objpfx)tst-array5-cmp.out): New rule.
8246 ($(objpfx)tst-array5-static.out): Remove rule.
8247 ($(objpfx)tst-array5-static-cmp.out): New rule.
8248 [$(run-built-tests) = yes] (tests): Depend on
8249 $(objpfx)order2-cmp.out.
8250 ($(objpfx)order2.out): Remove rule.
8251 ($(objpfx)order2-cmp.out): New rule.
8252 ($(objpfx)tst-initorder.out): Remove rule.
8253 [$(run-built-tests) = yes] (tests): Depend on
8254 $(objpfx)tst-initorder-cmp.out.
8255 ($(objpfx)tst-initorder-cmp.out): New rule.
8256 ($(objpfx)tst-initorder2.out): Remove rule.
8257 [$(run-built-tests) = yes] (tests): Depend on
8258 $(objpfx)tst-initorder2-cmp.out.
8259 ($(objpfx)tst-initorder2-cmp.out): New rule.
8260 [$(run-built-tests) = yes] (tests): Depend on
8261 $(objpfx)tst-unused-dep-cmp.out.
8262 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8263 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8264 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8265 on $(objpfx)tst-setvbuf1-cmp.out.
8266 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8267 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8268 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8269 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8270 ($(objpfx)tst-svc.out): Remove rule.
8271 ($(objpfx)tst-svc-cmp.out): New rule.
8272
ed9a38e2
JM
82732014-02-13 Joseph Myers <joseph@codesourcery.com>
8274
8275 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8276 * ctype/ctype.h [__USE_MISC]: Likewise.
8277 * dirent/dirent.h [__USE_MISC]: Likewise.
8278 * grp/grp.h [__USE_MISC]: Likewise.
8279 * io/fcntl.h [__USE_MISC]: Likewise.
8280 * io/sys/stat.h [__USE_MISC]: Likewise.
8281 * libio/stdio.h [__USE_MISC]: Likewise.
8282 * posix/unistd.h [__USE_MISC]: Likewise.
8283 * pwd/pwd.h [__USE_MISC]: Likewise.
8284 * stdlib.h [__USE_MISC]: Likewise.
8285 * string/bits/string2.h [__USE_MISC]: Likewise.
8286 * string/string.h [__USE_MISC]: Likewise.
8287 * time/time.h [__USE_MISC]: Likewise.
8288
d6680619
AS
82892014-02-13 Andreas Schwab <schwab@suse.de>
8290
8291 [BZ #16574]
8292 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8293 second answer buffer if it was separately allocated.
8294
ace614b8
JM
82952014-02-12 Joseph Myers <joseph@codesourcery.com>
8296
743151ae
JM
8297 * sysdeps/mips/math-tests.h: Include <features.h>.
8298 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8299 (ROUNDING_TESTS_long_double): Do not define.
8300 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8301 (EXCEPTION_TESTS_long_double): Likewise.
8302 * sysdeps/mips/mips64/libm-test-ulps: Update.
8303
498afc54
JM
8304 * include/features.h (__USE_BSD): Remove macro definitions.
8305 (__USE_SVID): Likewise.
8306 (_BSD_SOURCE): Likewise.
8307 (_SVID_SOURCE): Likewise.
8308 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8309 from definition of _DEFAULT_SOURCE.
8310 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8311 [_DEFAULT_SOURCE].
8312 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8313 * bits/mman.h [__USE_BSD]: Likewise.
8314 * bits/termios.h [__USE_BSD]: Likewise.
8315 * bits/waitstatus.h [__USE_BSD]: Likewise.
8316 * ctype/ctype.h [__USE_SVID]: Likewise.
8317 * dirent/dirent.h [__USE_BSD]: Likewise.
8318 * grp/grp.h [__USE_SVID]: Likewise.
8319 [__USE_BSD]: Likewise.
8320 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8321 * io/fcntl.h [__USE_BSD]: Likewise.
8322 * io/ftw.h [__USE_BSD]: Likewise.
8323 * io/sys/stat.h [__USE_BSD]: Likewise.
8324 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8325 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8326 * libio/stdio.h [__USE_SVID]: Likewise.
8327 [__USE_BSD]: Likewise.
8328 * math/math.h [__USE_SVID]: Likewise.
8329 [__USE_BSD]: Likewise.
8330 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8331 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8332 * misc/search.h [__USE_SVID]: Likewise.
8333 * misc/sys/mman.h [__USE_BSD]: Likewise.
8334 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8335 * misc/sys/uio.h [__USE_BSD]: Likewise.
8336 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8337 * posix/glob.h [__USE_BSD]: Likewise.
8338 * posix/regex.h [__USE_BSD]: Likewise.
8339 * posix/sys/types.h [__USE_BSD]: Likewise.
8340 [__USE_SVID]: Likewise.
8341 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8342 * posix/sys/wait.h [__USE_BSD]: Likewise.
8343 [__USE_SVID]: Likewise.
8344 * posix/unistd.h [__USE_BSD]: Likewise.
8345 [__USE_SVID]: Likewise.
8346 * pwd/pwd.h [__USE_SVID]: Likewise.
8347 * resolv/netdb.h [__USE_BSD]: Likewise.
8348 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8349 * signal/signal.h [__USE_BSD]: Likewise.
8350 [__USE_SVID]: Likewise.
8351 * socket/sys/socket.h [__USE_BSD]: Likewise.
8352 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8353 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8354 [__USE_SVID]: Likewise.
8355 * string/bits/string2.h [__USE_BSD]: Likewise.
8356 [__USE_SVID]: Likewise.
8357 * string/bits/string3.h [__USE_BSD]: Likewise.
8358 * string/endian.h [__USE_BSD]: Likewise.
8359 * string/string.h [__USE_SVID]: Likewise.
8360 [__USE_BSD]: Likewise.
8361 * string/strings.h [__USE_BSD]: Likewise.
8362 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8363 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8364 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8365 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8366 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8367 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8368 Likewise.
8369 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8370 Likewise.
8371 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8372 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8373 Likewise.
8374 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8375 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8376 Likewise.
8377 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8378 Likewise.
8379 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8380 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8381 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8382 Likewise.
8383 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8384 Likewise.
8385 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8386 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8387 * termios/termios.h [__USE_BSD]: Likewise.
8388 * time/sys/time.h [__USE_BSD]: Likewise.
8389 * time/time.h [__USE_BSD]: Likewise.
8390 [__USE_SVID]: Likewise.
8391
dd7b064c
JM
8392 * Makefile (subdir_targets): Remove subdir_lint.out.
8393
a2c4c199
JM
8394 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8395 (do-tst-printf): Likewise.
8396 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8397 $(objpfx)tst-printf.out.
8398
8756f740
JM
8399 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8400
1b6dd3f1
JM
8401 * Makerules (check-abi-%): Change target to
8402 $(objpfx)check-abi-%.out.
8403 (check-abi target): Update dependencies.
8404 (check-abi-pattern variable): Redirect output of diff to $@.
8405 (check-abi variable): Likewise.
8406 * elf/Makefile (check-abi): Update dependencies.
8407
ace614b8
JM
8408 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8409 unused.
8410 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8411 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8412 subnormal range.
8413 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8414 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8415 value has largest subnormal exponent.
8416 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8417 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8418 * sysdeps/aarch64/soft-fp/sfp-machine.h
8419 (_FP_TININESS_AFTER_ROUNDING): New macro.
8420 * sysdeps/alpha/soft-fp/sfp-machine.h
8421 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8422 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8423 Likewise.
8424 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8425 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8426 * sysdeps/mips/soft-fp/sfp-machine.h
8427 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8428 * sysdeps/powerpc/soft-fp/sfp-machine.h
8429 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8430 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8431 Likewise.
8432 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8433 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8434 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8435 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8436 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8437 Likewise.
8438
fbfdf9cb
DAS
84392014-02-12 Dylan Alex Simon <dylan@dylex.net>
8440
8441 [BZ #16545]
8442 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8443 model 1.
8444
68b7efaa
RH
84452014-02-12 Richard Henderson <rth@redhat.com>
8446
c70a4b1d 8447 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
8448 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8449 * sysdeps/unix/sysv/linux/alpha: Move directory from
8450 ports/sysdeps/unix/sysv/linux/alpha.
8451 * README: Update listing for alpha-*-linux-gnu.
8452
cb4a2928
JM
84532014-02-11 Joseph Myers <joseph@codesourcery.com>
8454
c941736c
JM
8455 * include/features.h: Update comment documenting feature test
8456 macros.
8457 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8458 _DEFAULT_SOURCE.
8459 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8460 (_SVID_SOURCE): Likewise.
8461 (_DEFAULT_SOURCE): Update description of default features.
8462 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8463 with _GNU_SOURCE.
8464 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8465 (S_ISVTX): Likewise.
8466 * manual/math.texi (Mathematical Constants): Likewise.
8467 * manual/signal.texi (Interrupted Primitives): Likewise.
8468 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8469 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8470 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8471 Don't refer to _SVID_SOURCE in warning text.
8472
e8d8d7ec
JM
8473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8474
cb4a2928
JM
8475 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8476 already defined.
8477 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8478 * sysdeps/mips/dl-lookup.c: Remove.
8479 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8480
7e6424e3
AK
84812014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8482
8483 [BZ #16447]
8484 * math/auto-libm-test-in: Add testcase for expl.
8485 * math/auto-libm-test-out: Regenerate.
8486 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8487 calculation of unsafe.
8488 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8489
75eff3fe
MS
84902014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8491
8492 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8493 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8494 ports/sysdeps/unix/sysv/linux/aarch64.
8495 * README: Update listing for aarch64*-*-linux-gnu.
8496
d35f1e80
WN
84972014-02-11 Will Newton <will.newton@linaro.org>
8498
8499 * manual/probes.texi (Mathematical Function Probes): Use
8500 "triggered" instead of "hit".
8501
7b3436d4
WN
8502 * manual/probes.texi (Internal Probes): Add documentation
8503 of setjmp, longjmp and longjmp_target probes.
8504
b4f12ca3
WN
8505 * include/stap-probe.h: Add comment about probe argument
8506 format.
8507
c13a72b7
WN
8508 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8509 definition. (tr_where, tr_freehook, tr_mallochook,
8510 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8511
195b8165
DM
85122014-02-11 David S. Miller <davem@davemloft.net>
8513
8514 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8515 processing int_tests.
8516
2ad7600b
JM
85172014-02-10 Joseph Myers <joseph@codesourcery.com>
8518
8519 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8520 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8521 * sysdeps/unix/sysv/linux/mips: Move directory from
8522 ports/sysdeps/unix/sysv/linux/mips.
8523 * README: Update listing for mips-*-linux-gnu and
8524 mips64-*-linux-gnu.
8525
73588a72
AS
85262014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8527
8528 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8529 * sysdeps/unix/sysv/linux/m68k: Move directory from
8530 ports/sysdeps/unix/sysv/linux/m68k.
8531 * README: Update listing for m68k-*-linux-gnu.
8532
4372980f
CM
85332014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8534
8535 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8536 * sysdeps/unix/sysv/linux/generic: Move directory from
8537 ports/sysdeps/unix/sysv/linux/generic.
8538 * sysdeps/unix/sysv/linux/tile: Move directory from
8539 ports/sysdeps/unix/sysv/linux/tile.
8540 * README: Update listing for tile*-*-linux-gnu.
8541
a1ffb40e
OB
85422014-02-10 Ondřej Bílka <neleai@seznam.cz>
8543
57f41c40
AS
8544 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8545 __builtin_expect.
a1ffb40e
OB
8546 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8547 * catgets/open_catalog.c (__open_catalog): Likewise.
8548 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8549 * debug/confstr_chk.c: Likewise.
8550 * debug/fread_chk.c (__fread_chk): Likewise.
8551 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8552 * debug/getgroups_chk.c: Likewise.
8553 * debug/mbsnrtowcs_chk.c: Likewise.
8554 * debug/mbsrtowcs_chk.c: Likewise.
8555 * debug/mbstowcs_chk.c: Likewise.
8556 * debug/memcpy_chk.c: Likewise.
8557 * debug/memmove_chk.c: Likewise.
8558 * debug/mempcpy_chk.c: Likewise.
8559 * debug/memset_chk.c: Likewise.
8560 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8561 * debug/strcat_chk.c (__strcat_chk): Likewise.
8562 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8563 * debug/strncat_chk.c (__strncat_chk): Likewise.
8564 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8565 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8566 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8567 * debug/wcpncpy_chk.c: Likewise.
8568 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8569 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8570 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8571 * debug/wcsncpy_chk.c: Likewise.
8572 * debug/wcsnrtombs_chk.c: Likewise.
8573 * debug/wcsrtombs_chk.c: Likewise.
8574 * debug/wcstombs_chk.c: Likewise.
8575 * debug/wmemcpy_chk.c: Likewise.
8576 * debug/wmemmove_chk.c: Likewise.
8577 * debug/wmempcpy_chk.c: Likewise.
8578 * debug/wmemset_chk.c: Likewise.
8579 * dirent/scandirat.c (SCANDIRAT): Likewise.
8580 * dlfcn/dladdr1.c (dladdr1): Likewise.
8581 * dlfcn/dladdr.c (dladdr): Likewise.
8582 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8583 * dlfcn/dlerror.c (__dlerror): Likewise.
8584 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8585 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8586 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8587 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8588 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8589 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8590 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8591 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8592 Likewise.
8593 * elf/dl-conflict.c: Likewise.
8594 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8595 * elf/dl-dst.h: Likewise.
8596 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8597 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8598 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8599 * elf/dl-init.c (call_init, _dl_init): Likewise.
8600 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
8601 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8602 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8603 Likewise.
a1ffb40e
OB
8604 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8605 Likewise.
8606 * elf/dl-minimal.c (__libc_memalign): Likewise.
8607 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8608 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8609 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8610 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
8611 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8612 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
8613 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8614 * elf/dl-writev.h (_dl_writev): Likewise.
8615 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
8616 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8617 (dl_main): Likewise.
a1ffb40e
OB
8618 * elf/setup-vdso.h (setup_vdso): Likewise.
8619 * grp/compat-initgroups.c (compat_call): Likewise.
8620 * grp/fgetgrent.c (fgetgrent): Likewise.
8621 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8622 * grp/putgrent.c (putgrent): Likewise.
8623 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8624 Likewise.
8625 * hurd/hurdinit.c: Likewise.
8626 * iconvdata/8bit-gap.c (struct): Likewise.
8627 * iconvdata/ansi_x3.110.c : Likewise.
8628 * iconvdata/big5.c : Likewise.
8629 * iconvdata/big5hkscs.c : Likewise.
8630 * iconvdata/cp1255.c: Likewise.
8631 * iconvdata/cp1258.c : Likewise.
8632 * iconvdata/cp932.c : Likewise.
8633 * iconvdata/euc-cn.c: Likewise.
8634 * iconvdata/euc-jisx0213.c : Likewise.
8635 * iconvdata/euc-jp.c: Likewise.
8636 * iconvdata/euc-jp-ms.c : Likewise.
8637 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8638 * iconvdata/gb18030.c : Likewise.
8639 * iconvdata/gbbig5.c (const): Likewise.
8640 * iconvdata/gbgbk.c: Likewise.
8641 * iconvdata/gbk.c : Likewise.
8642 * iconvdata/ibm1364.c : Likewise.
8643 * iconvdata/ibm930.c : Likewise.
8644 * iconvdata/ibm932.c: Likewise.
8645 * iconvdata/ibm933.c : Likewise.
8646 * iconvdata/ibm935.c : Likewise.
8647 * iconvdata/ibm937.c : Likewise.
8648 * iconvdata/ibm939.c : Likewise.
8649 * iconvdata/ibm943.c: Likewise.
8650 * iconvdata/iso_11548-1.c: Likewise.
8651 * iconvdata/iso-2022-cn.c : Likewise.
8652 * iconvdata/iso-2022-cn-ext.c : Likewise.
8653 * iconvdata/iso-2022-jp-3.c: Likewise.
8654 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8655 * iconvdata/iso-2022-kr.c : Likewise.
8656 * iconvdata/iso646.c (gconv_end): Likewise.
8657 * iconvdata/iso_6937-2.c : Likewise.
8658 * iconvdata/iso_6937.c : Likewise.
8659 * iconvdata/iso8859-1.c: Likewise.
8660 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8661 * iconvdata/shift_jisx0213.c : Likewise.
8662 * iconvdata/sjis.c : Likewise.
8663 * iconvdata/t.61.c : Likewise.
8664 * iconvdata/tcvn5712-1.c : Likewise.
8665 * iconvdata/tscii.c: Likewise.
8666 * iconvdata/uhc.c : Likewise.
8667 * iconvdata/unicode.c (gconv_end): Likewise.
8668 * iconvdata/utf-16.c (gconv_end): Likewise.
8669 * iconvdata/utf-32.c (gconv_end): Likewise.
8670 * iconvdata/utf-7.c (base64): Likewise.
8671 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8672 * iconv/gconv_close.c (__gconv_close): Likewise.
8673 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
8674 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8675 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8676 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8677 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8678 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
8679 * iconv/iconv.c (iconv): Likewise.
8680 * iconv/iconv_close.c: Likewise.
8681 * iconv/loop.c (SINGLE): Likewise.
8682 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8683 * include/atomic.h: Likewise.
8684 * inet/inet6_option.c (option_alloc): Likewise.
8685 * intl/bindtextdom.c (set_binding_values): Likewise.
8686 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8687 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8688 * intl/localealias.c (read_alias_file): Likewise.
8689 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
8690 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8691 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
8692 * libio/fmemopen.c (fmemopen): Likewise.
8693 * libio/iofgets.c (_IO_fgets): Likewise.
8694 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8695 * libio/iofgetws.c (fgetws): Likewise.
8696 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8697 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
8698 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8699 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
8700 * locale/findlocale.c (_nl_find_locale): Likewise.
8701 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8702 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8703 Likewise.
8704 * locale/setlocale.c (setlocale): Likewise.
8705 * login/programs/pt_chown.c (main): Likewise.
8706 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8707 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
8708 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8709 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
8710 * math/e_exp2l.c: Likewise.
8711 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8712 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8713 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8714 * math/s_catan.c (__catan): Likewise.
8715 * math/s_catanf.c (__catanf): Likewise.
8716 * math/s_catanh.c (__catanh): Likewise.
8717 * math/s_catanhf.c (__catanhf): Likewise.
8718 * math/s_catanhl.c (__catanhl): Likewise.
8719 * math/s_catanl.c (__catanl): Likewise.
8720 * math/s_ccosh.c (__ccosh): Likewise.
8721 * math/s_ccoshf.c (__ccoshf): Likewise.
8722 * math/s_ccoshl.c (__ccoshl): Likewise.
8723 * math/s_cexp.c (__cexp): Likewise.
8724 * math/s_cexpf.c (__cexpf): Likewise.
8725 * math/s_cexpl.c (__cexpl): Likewise.
8726 * math/s_clog10.c (__clog10): Likewise.
8727 * math/s_clog10f.c (__clog10f): Likewise.
8728 * math/s_clog10l.c (__clog10l): Likewise.
8729 * math/s_clog.c (__clog): Likewise.
8730 * math/s_clogf.c (__clogf): Likewise.
8731 * math/s_clogl.c (__clogl): Likewise.
8732 * math/s_csin.c (__csin): Likewise.
8733 * math/s_csinf.c (__csinf): Likewise.
8734 * math/s_csinh.c (__csinh): Likewise.
8735 * math/s_csinhf.c (__csinhf): Likewise.
8736 * math/s_csinhl.c (__csinhl): Likewise.
8737 * math/s_csinl.c (__csinl): Likewise.
8738 * math/s_csqrt.c (__csqrt): Likewise.
8739 * math/s_csqrtf.c (__csqrtf): Likewise.
8740 * math/s_csqrtl.c (__csqrtl): Likewise.
8741 * math/s_ctan.c (__ctan): Likewise.
8742 * math/s_ctanf.c (__ctanf): Likewise.
8743 * math/s_ctanh.c (__ctanh): Likewise.
8744 * math/s_ctanhf.c (__ctanhf): Likewise.
8745 * math/s_ctanhl.c (__ctanhl): Likewise.
8746 * math/s_ctanl.c (__ctanl): Likewise.
8747 * math/w_pow.c: Likewise.
8748 * math/w_powf.c: Likewise.
8749 * math/w_powl.c: Likewise.
8750 * math/w_scalb.c (sysv_scalb): Likewise.
8751 * math/w_scalbf.c (sysv_scalbf): Likewise.
8752 * math/w_scalbl.c (sysv_scalbl): Likewise.
8753 * misc/error.c (error_tail): Likewise.
8754 * misc/pselect.c (__pselect): Likewise.
8755 * nis/nis_callback.c (__nis_create_callback): Likewise.
8756 * nis/nis_call.c (__nisfind_server): Likewise.
8757 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8758 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8759 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8760 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8761 * nis/nis_lookup.c (nis_lookup): Likewise.
8762 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
8763 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8764 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 8765 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
8766 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8767 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8768 * nis/nss_compat/compat-initgroups.c (add_group)
8769 (internal_getgrent_r): Likewise.
8770 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8771 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8772 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8773 (internal_getspnam_r): Likewise.
8774 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8775 (_nss_nis_getaliasbyname_r): Likewise.
8776 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8777 (_nss_nis_getntohost_r): Likewise.
8778 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8779 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8780 (_nss_nis_getgrgid_r): Likewise.
8781 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8782 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8783 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8784 (_nss_nis_gethostbyname4_r): Likewise.
8785 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8786 (initgroups_netid): Likewise.
a1ffb40e 8787 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
8788 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8789 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8790 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8791 (_nss_nis_getprotobynumber_r): Likewise.
8792 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8793 (_nss_nis_getsecretkey): Likewise.
8794 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8795 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8796 (_nss_nis_getpwuid_r): Likewise.
8797 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8798 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8799 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8800 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8801 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8802 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
8803 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8804 Likewise.
57f41c40
AS
8805 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8806 (_nss_nisplus_getntohost_r): Likewise.
8807 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8808 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8809 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8810 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 8811 Likewise.
57f41c40
AS
8812 * nis/nss_nisplus/nisplus-initgroups.c
8813 (_nss_nisplus_initgroups_dyn): Likewise.
8814 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8815 (_nss_nisplus_getnetbyaddr_r): Likewise.
8816 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8817 (_nss_nisplus_getprotobynumber_r): Likewise.
8818 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8819 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
8820 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8821 Likewise.
57f41c40
AS
8822 * nis/nss_nisplus/nisplus-service.c
8823 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8824 (_nss_nisplus_getservbyport_r): Likewise.
8825 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8826 (_nss_nisplus_getspnam_r): Likewise.
8827 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8828 Likewise.
a1ffb40e
OB
8829 * nscd/aicache.c (addhstaiX): Likewise.
8830 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
8831 * nscd/connections.c (register_traced_file, send_ro_fd)
8832 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8833 (main_loop_epoll): Likewise.
a1ffb40e
OB
8834 * nscd/grpcache.c (addgrbyX): Likewise.
8835 * nscd/hstcache.c (addhstbyX): Likewise.
8836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8837 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
8838 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8839 (addinnetgrX): Likewise.
8840 * nscd/nscd-client.h (__nscd_acquire_maplock)
8841 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
8842 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8843 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8844 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8845 Likewise.
8846 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8847 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
8848 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8849 (__nscd_get_map_ref): Likewise.
a1ffb40e 8850 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
8851 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8852 Likewise.
a1ffb40e
OB
8853 * nscd/pwdcache.c (addpwbyX): Likewise.
8854 * nscd/selinux.c (preserve_capabilities): Likewise.
8855 * nscd/servicescache.c (addservbyX): Likewise.
8856 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8857 * posix/fnmatch.c (fnmatch): Likewise.
8858 * posix/getopt.c (_getopt_internal_r): Likewise.
8859 * posix/glob.c (glob, glob_in_dir): Likewise.
8860 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
8861 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8862 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
8863 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8864 * resolv/res_init.c: Likewise.
8865 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8866 * resolv/res_query.c (__libc_res_nquery): Likewise.
8867 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8868 Likewise.
8869 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8870 * stdio-common/perror.c (perror): Likewise.
8871 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8872 * stdio-common/tmpnam.c (tmpnam): Likewise.
8873 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8874 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
8875 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8876 Likewise.
a1ffb40e
OB
8877 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8878 * stdlib/putenv.c (putenv): Likewise.
8879 * stdlib/setenv.c (__add_to_environ): Likewise.
8880 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8881 * stdlib/strtol_l.c (INTERNAL): Likewise.
8882 * string/memmem.c (memmem): Likewise.
8883 * string/strerror.c (strerror): Likewise.
8884 * string/strnlen.c (__strnlen): Likewise.
8885 * string/test-memmem.c (simple_memmem): Likewise.
8886 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8887 * sunrpc/pm_getport.c (__get_socket): Likewise.
8888 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8889 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
8890 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8891 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
8892 Likewise.
8893 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8894 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8895 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8896 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8897 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
8898 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8899 Likewise.
8900 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8901 Likewise.
a1ffb40e
OB
8902 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8903 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8904 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8905 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8906 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8908 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8909 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8910 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8911 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8912 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8913 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8914 Likewise.
8915 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8916 Likewise.
8917 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8918 Likewise.
8919 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8920 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8921 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8922 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8923 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8924 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8925 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8926 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8927 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8928 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8929 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8930 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8931 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8932 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8933 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
8934 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8935 Likewise.
a1ffb40e
OB
8936 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8937 Likewise.
8938 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8939 Likewise.
8940 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8941 Likewise.
8942 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8943 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8944 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8945 Likewise.
8946 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8947 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8948 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8949 * sysdeps/posix/sleep.c: Likewise.
8950 * sysdeps/posix/tempname.c: Likewise.
8951 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8952 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8953 Likewise.
57f41c40
AS
8954 * sysdeps/powerpc/powerpc32/dl-machine.h
8955 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
8956 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8958 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8959 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8960 Likewise.
8961 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8962 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8963 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8964 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8965 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8966 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8967 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8968 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8969 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8970 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8972 (elf_machine_lazy_rel): Likewise.
a1ffb40e 8973 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8975 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8976 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8977 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8978 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8979 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8980 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8981 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8982 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8983 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8984 Likewise.
8985 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8986 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8987 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8988 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8989 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8990 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8991 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8992 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8993 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8994 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8995 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8996 Likewise.
8997 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8998 (__posix_fallocate64_l64): Likewise.
8999 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9000 (posix_fallocate): Likewise.
57f41c40
AS
9001 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9002 Likewise.
a1ffb40e 9003 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
9004 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9005 (getifaddrs_internal): Likewise.
a1ffb40e
OB
9006 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9007 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9008 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9009 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9010 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9011 (__posix_fallocate64_l64): Likewise.
9012 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9013 Likewise.
9014 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
9015 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9016 (__get_clockfreq): Likewise.
a1ffb40e
OB
9017 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9018 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9019 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9020 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9022 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9023 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9024 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9025 Likewise.
9026 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9027 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9028 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9029 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9030 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9031 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9032 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9033 Likewise.
9034 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9035 (posix_fallocate): Likewise.
9036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9037 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9038 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9039 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9040 (elf_machine_rela, elf_machine_rela_relative)
9041 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9042 * time/asctime.c (asctime_internal): Likewise.
9043 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9044 * time/tzset.c (__tzset_parse_tz): Likewise.
9045 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9046 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9047 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9048 * wcsmbs/wcsmbsload.h: Likewise.
9049
f3d338c9
OB
9050 [BZ #15894]
9051 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9052
57f41c40
AS
9053 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9054 (arena_get2): Remove THREAD_STATS conditionals.
9055 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9056 (__malloc_stats, int): Likewise.
bdfe308a 9057
d674667c
MF
90582014-02-08 Mike Frysinger <vapier@gentoo.org>
9059
9060 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9061 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9062
6349768c
MF
9063 * manual/setjmp.texi: Fix typos/grammar errors.
9064
0b7c7473
MF
9065 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9066 Only return early when n is <= 0. Delete unused return statement.
9067
ac8cc9e3
MF
9068 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9069 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9070 * debug/tst-longjmp_chk3.c: New file.
9071
c5bb8e23
MF
9072 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9073 (test_main): Replace code with set_fortify_handler call.
9074 * debug/test-strcpy_chk.c: Likewise.
9075 * debug/tst-chk1.c: Likewise.
9076 * debug/tst-longjmp_chk.c: Likewise.
9077 * test-skeleton.c: Include fcntl.h & paths.h
9078 (set_fortify_handler): Define.
9079
10444e42
MF
9080 * debug/tst-longjmp_chk.c: Add header comment and include
9081 ../test-skeleton.c.
9082 (do_test): Mark static.
9083 (TEST_FUNCTION): Define.
9084
1e805e8d
MF
9085 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9086 (IP_PMTUDISC_INTERFACE): Likewise.
9087 (IP_MULTICAST_IF): Likewise.
9088 (IP_MULTICAST_TTL): Likewise.
9089 (IP_MULTICAST_LOOP): Likewise.
9090 (IP_ADD_MEMBERSHIP): Likewise.
9091 (IP_DROP_MEMBERSHIP): Likewise.
9092 (IP_UNBLOCK_SOURCE): Likewise.
9093 (IP_BLOCK_SOURCE): Likewise.
9094 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9095 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9096 (IP_MSFILTER): Likewise.
9097 (MCAST_JOIN_GROUP): Likewise.
9098 (MCAST_BLOCK_SOURCE): Likewise.
9099 (MCAST_UNBLOCK_SOURCE): Likewise.
9100 (MCAST_LEAVE_GROUP): Likewise.
9101 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9102 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9103 (MCAST_MSFILTER): Likewise.
9104 (IP_MULTICAST_ALL): Likewise.
9105 (IP_UNICAST_IF): Likewise.
9106
73f79bb7
MF
9107 * timezone/Makefile: Delete $(have-ksh) check.
9108 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9109 * timezone/tzselect.ksh: Add +x mode bits.
9110
8da79b60
MF
9111 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9112 (ANON_INODE_FS_MAGIC): Likewise.
9113 (BDEVFS_MAGIC): Likewise.
9114 (BINFMTFS_MAGIC): Likewise.
9115 (BTRFS_TEST_MAGIC): Likewise.
9116 (CRAMFS_MAGIC_WEND): Likewise.
9117 (DEBUGFS_MAGIC): Likewise.
9118 (ECRYPTFS_SUPER_MAGIC): Likewise.
9119 (EXT3_SUPER_MAGIC): Likewise.
9120 (EXT4_SUPER_MAGIC): Likewise.
9121 (FUTEXFS_SUPER_MAGIC): Likewise.
9122 (HOSTFS_SUPER_MAGIC): Likewise.
9123 (HUGETLBFS_MAGIC): Likewise.
9124 (MINIX3_SUPER_MAGIC): Likewise.
9125 (MTD_INODE_FS_MAGIC): Likewise.
9126 (NILFS_SUPER_MAGIC): Likewise.
9127 (OPENPROM_SUPER_MAGIC): Likewise.
9128 (PIPEFS_MAGIC): Likewise.
9129 (PSTOREFS_MAGIC): Likewise.
9130 (QNX6_SUPER_MAGIC): Likewise.
9131 (RAMFS_MAGIC): Likewise.
9132 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9133 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9134 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9135 (SECURITYFS_MAGIC): Likewise.
9136 (SELINUX_MAGIC): Likewise.
9137 (SMACK_MAGIC): Likewise.
9138 (SOCKFS_MAGIC): Likewise.
9139 (SQUASHFS_MAGIC): Likewise.
9140 (STACK_END_MAGIC): Likewise.
9141 (TMPFS_MAGIC): Likewise.
9142 (USBDEVICE_SUPER_MAGIC): Likewise.
9143 (V9FS_MAGIC): Likewise.
9144 (XENFS_SUPER_MAGIC): Likewise.
9145 (CRAMFS_MAGIC): Fix typo in comment.
9146 (EXT2_SUPER_MAGIC): Update comment.
9147 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9148
464263cc
JM
91492014-02-08 Joseph Myers <joseph@codesourcery.com>
9150
c6bfe5c4
JM
9151 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9152 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9153 * sysdeps/unix/sysv/linux/arm: Move directory from
9154 ports/sysdeps/unix/sysv/linux/arm.
9155 * README: Update listing for arm-*-linux-gnueabi.
9156
464263cc
JM
9157 * README: Remove mention of am33.
9158
32749f6c
RM
91592014-02-07 Roland McGrath <roland@hack.frob.com>
9160
9161 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9162 than the comma operator, to avoid "rhs of comma has no effect"
9163 compiler warnings.
9164 (__sigfillset, __sigandset, __sigorset): Likewise.
9165 * include/signal.h (__sigemptyset): Likewise.
9166 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9167
d5b396c1
AM
91682014-02-07 Allan McRae <allan@archlinux.org>
9169
9170 * version.h (RELEASE): Set to "development".
9171 (VERSION): Set to "2.19.90"
9172 * NEWS: Add 2.20 section.
9173
3bfff2ed
CD
91742014-02-06 Carlos O'Donell <carlos@redhat.com>
9175
9176 [BZ #16529]
9177 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9178
ee7cc385
SP
91792014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9180
9181 * manual/contrib.texi: Update entry for Carlos O'Donell,
9182 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9183
f877c4f2
CD
91842014-02-05 Carlos O'Donell <carlos@rehdat.com>
9185
27e839f6
CD
9186 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9187
f877c4f2
CD
9188 * sysdeps/unix/sysv/linux/kernel-features.h
9189 [__LINUX_KERNEL_VERSION >= 0x020621]
9190 (__ASSUME_PROC_PID_TASK_COMM): Define.
9191
68159946
SP
91922014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9193
ba17cdbd
SP
9194 [BZ #16398]
9195 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9196 conversion when destination buffer does not have enough space.
9197 * libio/tst-ftell-partial-wide.c: New test case.
9198 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9199
68159946
SP
9200 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9201 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9202 Leonard and Allan McRae.
9203
2b528732
DM
92042014-02-04 David S. Miller <davem@davemloft.net>
9205
9206 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9207 32-bit.
9208
0ff82463
AZ
92092014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9210
57f41c40
AS
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9212 New file
c01603f7
AZ
9213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9214 New file
57f41c40
AS
9215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9216 New file.
9217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9218 New file.
c01603f7
AZ
9219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9220 New file.
57f41c40
AS
9221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9222 New file.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9224 New file.
c01603f7
AZ
9225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9226 New file.
9227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9228 New file.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9230 New file.
9231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9232 New file.
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9234 New file.
9235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9236 New file.
9237
92382014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9239
0ff82463
AZ
9240 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9241 * shlib-versions: Likewise.
9242
1695c773
AZ
92432014-02-04 Roland McGrath <roland@hack.frob.com>
9244 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9245
9246 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9247 (abilist-pattern): New variable, set to %-le.abilist.
9248
9249 * Makerules (abilist-pattern): New variable.
9250 (vpath): Use $(abilist-pattern) in place of %.abilist.
9251 (check-abi-% pattern rule): Likewise.
9252 (check-abi, update-abi): Likewise.
9253
6c0ce4b4
EW
92542014-02-04 Eric Wong <normalperson@yhbt.net>
9255
9256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9257
481e3524
CD
92582014-02-03 Carlos O'Donell <carlos@redhat.com>
9259
9260 * manual/startup.texi: Add next, previous, and top entries for
9261 the `Program Arguments' and `Environment Variables' nodes.
9262
375592d3
AO
92632014-02-03 Alexandre Oliva <aoliva@redhat.com>
9264
9265 * manual/macros.texi: Add comments before MTASC-safety macros.
9266
f54838ba
AO
9267 * manual/users.texi: Document MTASC-safety properties.
9268
57f41c40
AS
9269 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9270 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
9271 @deftypefun, and add @safety note.
9272 * manual/signal.texi: Move comments that analyze the above
9273 functions to their home place.
9274
fd3daba4
AM
92752014-02-03 Allan McRae <allan@archlinux.org>
9276
9277 * po/sl.po: Update Slovenian translation from translation project.
9278
597636d7
AO
92792014-02-02 Alexandre Oliva <aoliva@redhat.com>
9280
9281 * manual/time.texi (timegm): Add missing blank after @c.
9282 Reported by Joseph Myers <joseph@codesourcery.com>.
9283
ee196e3c
AO
92842014-02-01 Alexandre Oliva <aoliva@redhat.com>
9285
9286 * manual/check-safety.sh: New.
9287 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9288
f8d529d5
AO
9289 * manual/terminal.texi: Document MTASC-safety properties.
9290
de55fdf4
AO
9291 * manual/filesys.texi: Document MTASC-safety properties.
9292
c3299c08
AO
9293 * manual/errno.texi: Document MTASC-safety properties.
9294
06e90b14
AO
9295 * manual/intro.texi: Document safety identifiers and
9296 conditionals.
9297
1acd4371
AO
9298 * manual/string.texi (wcstok): Fix prototype.
9299 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9300
23e5b8cb
AO
9301 * manual/time.texi: Document MTASC-safety properties.
9302
11087373
AO
9303 * manual/string.texi: Document MTASC-safety properties.
9304
5da2c93d
AO
9305 * manual/threads.texi: Document MTASC-safety properties.
9306
171e9210
AO
9307 * manual/stdio.texi: Document MTASC-safety properties.
9308
d9e02532
AO
9309 * manual/syslog.texi: Document MTASC-safety properties.
9310
6af8bab7
AO
9311 * manual/sysinfo.texi: Document MTASC-safety properties.
9312
663b02d7
AO
9313 * manual/startup.texi: Document MTASC-safety properties.
9314
973f180b
AO
9315 * manual/socket.texi: Document MTASC-safety properties.
9316
8f3c25c8
AO
9317 * manual/signal.texi: Document MTASC-safety properties.
9318
542210fb
AO
93192014-01-31 Alexandre Oliva <aoliva@redhat.com>
9320
9321 * manual/setjmp.texi: Document MTASC-safety properties.
9322
433c45a2
AO
9323 * manual/search.texi: Document MTASC-safety properties.
9324
c8ce789c
AO
9325 * manual/resource.texi: Document MTASC-safety properties.
9326
19f5d29c
AO
9327 * manual/process.texi: Document MTASC-safety properties.
9328
e2dfb7f4
AO
9329 * manual/platform.texi: Document MTASC-safety properties.
9330
8c1413f5
AO
9331 * manual/pipe.texi: Document MTASC-safety properties.
9332
03483ada
AO
9333 * manual/pattern.texi: Document MTASC-safety properties.
9334
29e7e2df
AO
9335 * manual/message.texi: Document MTASC-safety properties.
9336
9f529d7c
AO
9337 [BZ #12751]
9338 * manual/memory.texi: Document MTASC-safety properties.
9339
27aaa791
AO
9340 * manual/math.texi: Document MTASC-safety properties.
9341
f2d58726
AO
9342 * manual/locale.texi: Document MTASC-safety properties.
9343
2cc3615c
AO
9344 * manual/llio.texi: Document MTASC-safety properties.
9345
d9f0ec97
AO
9346 * manual/libdl.texi: New.
9347
e7c4409a
AO
9348 * manual/lang.texi: Document MTASC-safety properties.
9349
27bdc63c
AO
9350 * manual/job.texi: Document MTASC-safety properties.
9351
a7b90ea9
AO
9352 * manual/getopt.texi: Document MTASC-safety properties.
9353
c49130e3
AO
9354 * manual/ctype.texi: Document MTASC-safety properties.
9355
0d23a5c1
MR
93562014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9357
9358 [BZ #16046]
9359 * csu/libc-tls.c (static_map): Remove variable.
9360 (__libc_setup_tls): Use main executable's link map for TLS data.
9361 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9362 casing for LM_ID_BASE and GL(dl_nns).
9363 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9364 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9365 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9366 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9367 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9368 member.
9369 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9370 l_phnum members.
9371
0037bb60
AO
93722014-01-30 Alexandre Oliva <aoliva@redhat.com>
9373
9374 * manual/debug.texi: Document MTASC-safety properties.
9375
409e00bd
L
93762014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9377
9378 [BZ #16510]
9379 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9380 of __x86_64__ when disabling x87 inline functions.
9381
86e60666
AO
93822014-01-29 Alexandre Oliva <aoliva@redhat.com>
9383
9384 * manual/charset.texi: Document MTASC-safety properties.
9385
76167637
AO
9386 * manual/crypt.texi: Document MTASC-safety properties.
9387
e567f2a0
AO
9388 * manual/conf.texi: Document MTASC-safety properties.
9389
b719dafd
AO
9390 * manual/arith.texi: Document MTASC-safety properties.
9391
4a16c662
AO
9392 * manual/argp.texi: Document MTASC-safety properties.
9393
0a57b83e
AO
9394 * manual/macros.texi: Introduce macros to document multi
9395 thread, asynchronous signal and asynchronous cancellation
9396 safety properties.
9397 * manual/intro.texi: Introduce the properties themselves.
9398
feab2397
KK
93992014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9400
9401 * sysdeps/sh/sh4/Makefile: New file.
9402
1c0d11bc
AS
94032014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9404
9405 * math/gen-libm-test.pl ($srcdir): New variable.
9406 ($auto_input): Use it.
9407
af37a8a3
SP
94082014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9409
d7b00f98
SP
9410 [BZ #16506]
9411 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9412 access beyond array bounds when parsing netgroups file.
9413
af37a8a3
SP
9414 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9415 the old buffer before realloc.
9416
0c00f062
AM
94172014-01-27 Allan McRae <allan@archlinux.org>
9418
9419 * po/fr.po: Update French translation from translation project.
9420
7d69a1b0
KK
94212014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9422
9423 * sysdeps/sh/libm-test-ulps: Regenerate.
9424
6e697ff7
DM
94252014-01-24 David S. Miller <davem@davemloft.net>
9426
9427 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9428
9cadb35c
KK
94292014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9430
9431 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9432 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9433
5d41dadf
SP
94342013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9435
9436 [BZ #16474]
9437 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9438 string pointers after reallocation.
9439
0bad441c
KK
94402014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9441
9442 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9443 __SH4A__ instead of __SH_FPU_ANY__.
9444
7007c661
KK
94452014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9446
9447 * sysdeps/sh/fpu_control.h: New file.
9448 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9449 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9450 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9451 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9452 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9453 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9454 * sysdeps/sh/sys/ucontext.h: Remove.
9455 * sysdeps/sh/sys: Remove directory.
9456
0f0c35e4
AK
94572014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9458
9459 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9460 s390/sys/ucontext.h.
9461 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9462 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9463
4959e284
L
94642014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9465
9466 [BZ #15605]
9467 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9468
d98720e0
AZ
94692014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9470
9471 [BZ#16431]
9472 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9473 Adjust the vDSO correctly for internal calls.
9474 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9475
91cbd0bc
AM
94762014-01-20 Allan McRae <allan@archlinux.org>
9477
9478 * po/ca.po: Update Catalan translation from translation project.
9479
7a02cfad
MF
94802014-01-16 Mike Frysinger <vapier@gentoo.org>
9481
9482 * sysdeps/s390/sotruss-lib.c: New file.
9483
736c304a
AZ
94842014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9485
9486 [BZ#16430]
6e077ee5 9487 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
9488 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9489 local calls issues by not having a PLT stub required for IFUNC calls.
9490 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9491
94d0cea0
JM
94922014-01-16 Joseph Myers <joseph@codesourcery.com>
9493
9494 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9495 * math/test-fpucw-static.c: Likewise.
9496
980cb518
SP
94972013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9498
9499 [BZ #16453]
9500 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9501
2393fc01
AZ
95022014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9503
9504 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9505 implementation for powerpc.
9506
d359bcc2
OB
95072014-01-15 Ondřej Bílka <neleai@seznam.cz>
9508
9509 [BZ #14782]
9510 * sysdeps/posix/system.c (__libc_system): Do not enable
9511 asynchronous cancellation.
9512
7beb48cb
AK
95132014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9514
9515 [BZ #16427]
9516 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9517 handling only for numbers special also in the IEEE case.
9518
c20d5bf5
AK
95192014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9520
9521 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9522
e83bd4ee
AM
95232014-01-11 Allan McRae <allan@archlinux.org>
9524
76d0ea69
AM
9525 * po/bg.po: Update Bulgarian translation from translation project.
9526
e83bd4ee
AM
9527 * po/de.po: Update German translation from translation project.
9528
bc2ba20a
RM
95292014-01-10 Roland McGrath <roland@hack.frob.com>
9530
9531 * sysdeps/generic/gcc-compat.h: New file.
9532
649ecea2
SP
95332014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9534
9535 * benchtests/asin-inputs: Correct slow inputs.
9536 * benchtests/acos-inputs: Likewise.
9537
1b19c006
AM
95382014-01-10 Allan McRae <allan@archlinux.org>
9539
a46dab08
AM
9540 * po:sv.po: Update Swedish translation from translation project.
9541
421df74a
AM
9542 * po/vi.po: Update Vietnamese translation from translation project.
9543
d61c51a7
AM
9544 * po/eo.po: Update Esperanto translation from translation project.
9545
0339a319
AM
9546 * po/cs.po: Update Czech translation from translation project.
9547
94ad3e99
AM
9548 * po/nl.po: Update Dutch translation from translation project.
9549
e349ca71
AM
9550 * po/pl.po: Update Polish translation from translation project.
9551
ddf930c1
AM
9552 * po/ru.po: Update Russian translation from translation project.
9553
1b19c006
AM
9554 * po/uk.po: Update Ukrainian translation from translation project.
9555
9f236c49
BM
95562014-01-08 Brooks Moses <bmoses@google.com>
9557
9558 * elf/dl-load.c: Fix comment typo.
9559
cd6701cf
CD
95602014-01-08 Carlos O'Donell <carlos@redhat.com>
9561
9562 * po/header.pot: Rename to...
9563 * po/pot.header: ... this.
9564 * po/Makefile: Use pot.header.
9565
66671c84
YK
95662014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9567 Maxim Kuvyrkov <maxim@kugelworks.com>
9568
9569 [BZ #16394]
cd6701cf
CD
9570 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9571 SRC and DEST against LEN.
66671c84 9572
38f34581
AZ
95732014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9574
9575 [BZ #16414]
9576 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9577 implementation.
9578 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9579
95802014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
9581
9582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9583
4c327f2a
JM
95842014-01-08 Joseph Myers <joseph@codesourcery.com>
9585
9586 [BZ #16408]
9587 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9588 for large positive arguments.
9589
b821f414
JM
95902014-01-07 Joseph Myers <joseph@codesourcery.com>
9591
1f0f2067
JM
9592 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9593
a5a326f6
JM
9594 * math/auto-libm-test-in: Mark various tests with
9595 xfail-rounding:ldbl-128ibm.
9596 * math/auto-libm-test-out: Regenerated.
9597
b821f414
JM
9598 [BZ #16407]
9599 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9600 Increase overflow threshold.
9601
94c8a4bc
OB
96022014-01-07 Ondřej Bílka <neleai@seznam.cz>
9603
9604 [BZ #14286]
9605 * stdio-common/vfprintf.c: Check for integer overflow.
9606
87ded0c3
AK
96072014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9608
9609 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9610 the first argument and return value of __tls_get_addr_internal.
9611
c5eebdd0
AK
96122014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9613
9614 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9615 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9616
05d138ef
AK
96172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9618
9619 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9620 * sysdeps/s390/rtld-global-offsets.sym: New file.
9621 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9622 GLIBC_2.19 symbol.
9623 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9624 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9625 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9626 ... this.
9627 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9628 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9629 ... this.
9630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9631 Regenerate.
9632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9633 Regenerate.
9634 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9635 halfs of GPRs for high_gprs contexts.
9636 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9637 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9638 field.
9639 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9640 uc_flags field.
9641 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9642 64 bit versions:
9643 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9644 for high GPRs (uc_high_gprs) and for future extensions
9645 (__reserved).
9646 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9647 for future extensions (__reserved).
9648 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9649 64 bit versions:
9650 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9651 SC_HIGHGPRS offset definition.
9652 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9653 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9654
93a45ff1
AK
9655 * Versions.def: Add GLIBC_2.19 for libpthread.
9656 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9657 siglongjmp for libpthread with GLIBC_2.19 symver.
9658 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9659 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9660 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9661 * sysdeps/s390/__longjmp.c: New file.
9662 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9663 * sysdeps/s390/longjmp.c: New file.
9664 * sysdeps/s390/setjmp.S: New file.
9665 * sysdeps/s390/sigjmp.S: New file.
9666 * sysdeps/s390/v1-longjmp.c: New file.
9667 * sysdeps/s390/v1-setjmp.h: New file.
9668 * sysdeps/s390/v1-sigjmp.c: New file.
9669 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9670 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9671 GLIBC_2.19 version.
9672 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9673 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9674 versioned symbols for ____longjmp_chk.
9675 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9676 Likewise.
9677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9678 Regenerate.
9679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9680 Regenerate.
9681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9682 Regenerate.
9683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9684 Regenerate.
9685 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9686 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9687 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9688 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9689 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9690 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9691 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9692 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9693 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9694 * sysdeps/s390/rtld-__longjmp.c: New file.
9695 * sysdeps/s390/rtld-setjmp.S: New file.
9696
eb3fc44b
JM
96972014-01-06 Joseph Myers <joseph@codesourcery.com>
9698
9699 [BZ #16400]
9700 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9701 Return -__logl (x) for small positive arguments without evaluating
9702 a polynomial.
9703
9341dde4
MF
97042014-01-06 Mike Frysinger <vapier@gentoo.org>
9705
9706 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9707 Rename to ...
9708 (__ptrace_peeksiginfo_args): ... this.
9709 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9710 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9711 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9712
4cff0293
AM
97132014-01-06 Allan McRae <allan@archlinux.org>
9714
9715 * inet/netinet/in.h: Fix typo in comment.
9716
75595dcf
AJ
97172014-01-05 Andreas Jaeger <aj@suse.de>
9718
9719 * sysdeps/i386/fpu/libm-test-ulps: Update.
9720
79c1e109
AM
97212014-01-05 Allan McRae <allan@archlinux.org>
9722
dd804818
AM
9723 * po/libc.pot: Regenerated.
9724
79c1e109
AM
9725 * malloc/memusagestat.c: Fix gettext call formatting.
9726
0c813d1f
SK
97272014-01-04 Sami Kerola <kerolasa@iki.fi>
9728
9729 * nscd/nscd.c: Improve usage() output.
9730
20f4a8d9
MF
97312014-01-04 Mike Frysinger <vapier@gentoo.org>
9732
9733 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9734 * sysdeps/unix/sysv/linux/configure: Regenerated.
9735 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9736 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9737
22562bb2
JM
97382014-01-03 Joseph Myers <joseph@codesourcery.com>
9739
9740 [BZ #16390]
9741 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9742 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9743
d7ad2d9b
AZ
97442014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9745
9746 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9747 extra tokens at end of #undef directive.
9748 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9749 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9750 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9751
7dd009d8
JM
97522014-01-03 Joseph Myers <joseph@codesourcery.com>
9753
24db925a
JM
9754 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9755
7dd009d8
JM
9756 * math/auto-libm-test-in: Mark various tests with
9757 xfail-rounding:ldbl-128ibm.
9758 * math/auto-libm-test-out: Regenerated.
9759
396e3ecf
JM
97602014-01-02 Joseph Myers <joseph@codesourcery.com>
9761
819e5d50
JM
9762 [BZ #16386]
9763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9764 numbers with subnormal high part when calculating exponent.
9765
90b6a1e5
JM
9766 [BZ #16385]
9767 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9768 fabs.
9769
396e3ecf
JM
9770 [BZ #16384]
9771 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9772 M_LN2l.
9773 (__ieee754_acoshl): Use __log1pl not __log1p.
9774
6c8dbf00
OB
97752013-01-02 Ondřej Bílka <neleai@seznam.cz>
9776
57f41c40
AS
9777 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9778 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9779 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9780 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9781 (reused_arena, arena_get2): Convert to GNU style.
9782 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9783 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9784 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 9785 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
9786 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9787 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9788 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9789 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9790 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9791 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 9792 * malloc/malloc.h: Likewise.
57f41c40
AS
9793 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9794 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 9795 * malloc/mcheck.h: Likewise.
57f41c40
AS
9796 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9797 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
9798 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9799 * malloc/morecore.c (__default_morecore): Likewise.
9800 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
9801 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9802 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9803 (print_and_abort): Likewise.
6c8dbf00
OB
9804 * malloc/obstack.h: Likewise.
9805 * malloc/set-freeres.c (__libc_freeres): Likewise.
9806 * malloc/tst-mallocstate.c (main): Likewise.
9807 * malloc/tst-mtrace.c (main): Likewise.
9808 * malloc/tst-realloc.c (do_test): Likewise.
9809
d4124212
SP
98102013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9811
9a3c6a6f
SP
9812 [BZ #16366]
9813 * nscd/netgroupcache.c (do_notfound): New function.
9814 (addgetnetgrentX): Use it.
9815
d4124212
SP
9816 [BZ # 16365]
9817 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9818 NSS_STATUS_NOTFOUND.
9819
97b9a009
JM
98202014-01-01 Joseph Myers <joseph@codesourcery.com>
9821
9822 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9824
d4697bc9
AM
98252014-01-01 Allan McRae <allan@archlinux.org>
9826
ddb3687f
AM
9827 * scripts/update-copyrights: Update configure input file suffix.
9828
88726d48
AM
9829 * NEWS: Update copyright year.
9830 * catgets/gencat.c: Likewise.
9831 * csu/version.c: Likewise.
9832 * debug/catchsegv.sh: Likewise.
9833 * debug/pcprofiledump.c: Likewise.
9834 * debug/xtrace.sh: Likewise.
9835 * elf/ldconfig.c: Likewise.
9836 * elf/ldd.bash.in: Likewise.
9837 * elf/pldd.c: Likewise.
9838 * elf/sotruss.ksh: Likewise.
9839 * elf/sprof.c: Likewise.
9840 * iconv/iconv_prog.c: Likewise.
9841 * iconv/iconvconfig.c: Likewise.
9842 * locale/programs/locale.c: Likewise.
9843 * locale/programs/localedef.c: Likewise.
9844 * login/programs/pt_chown.c: Likewise.
9845 * malloc/memusage.sh: Likewise.
9846 * malloc/memusagestat.c: Likewise.
9847 * malloc/mtrace.pl: Likewise.
9848 * manual/libc.texinfo: Likewise.
9849 * nscd/nscd.c: Likewise.
9850 * nss/getent.c: Likewise.
9851 * nss/makedb.c: Likewise.
9852 * posix/getconf.c: Likewise.
9853 * scripts/test-installation.pl: Likewise.
9854
d4697bc9
AM
9855 * All files with FSF copyright notices: Update copyright dates
9856 using scripts/update-copyrights.
9857 * intl/plural.c: Regenerated.
9858 * locale/programs/charmap-kw.h: Likewise.
9859 * locale/programs/locfile-kw.h: Likewise.
9860
c8590f9d
MF
98612013-12-31 Mike Frysinger <vapier@gentoo.org>
9862
9863 * sysdeps/unix/sysv/linux/configure: Regenerated.
9864 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9865 the linux/fanotify.h header.
9866 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9867 HAVE_LINUX_FANOTIFY_H is defined.
9868
b19221b9
SP
98692013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9870
dd1d85e5
SP
9871 * benchtests/cos-inputs: New inputs.
9872 * benchtests/sin-inputs: Likewise.
9873
1acbb90f
SP
9874 * benchtests/atan-inputs: New inputs. Fix name of multiple
9875 precision fallback inputs.
9876
4c012ed3
SP
9877 * benchtests/atanh-inputs: New inputs.
9878 * benchtests/tanh-inputs: Likewise.
9879
eff98324
SP
9880 * benchtests/acosh-inputs: New inputs.
9881 * benchtests/asinh-inputs: Likewise.
9882
ce641152
SP
9883 * benchtests/cosh-inputs: New inputs.
9884 * benchtests/sinh-inputs: Likewise.
9885
b19221b9
SP
9886 * benchtests/acos-inputs: Add more inputs.
9887 * benchtests/asin-inputs: Likewise.
9888
030a4976 98892013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 9890
030a4976 9891 [BZ #16375]
9dcc8f11
VS
9892 * manual/arith.texi: Fix spelling.
9893 * manual/charset.texi: Likewise.
9894 * manual/errno.texi: Likewise.
9895 * manual/filesys.texi: Likewise.
9896 * manual/lang.texi: Likewise.
9897 * manual/llio.texi: Likewise.
9898 * manual/locale.texi: Likewise.
9899 * manual/message.texi: Likewise.
9900 * manual/resource.texi: Likewise.
9901 * manual/search.texi: Likewise.
9902 * manual/setjmp.texi: Likewise.
9903 * manual/stdio.texi: Likewise.
9904 * manual/string.texi: Likewise.
9905 * manual/sysinfo.texi: Likewise.
9906 * manual/time.texi: Likewise.
9907
11520a57
CD
99082013-12-27 Carlos O'Donell <carlos@redhat.com>
9909
9910 * po/sl.po: New file.
9911
471103ae
MF
99122013-12-27 Mike Frysinger <vapier@gentoo.org>
9913
9914 * .gitignore: Add core/.gdbinit/.gdb_history.
9915
6c9642ed
AM
99162013-12-27 Allan McRae <allan@archlinux.org>
9917
9918 [BZ #16369]
9919 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9920 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9921
3f637079
BM
99222013-12-24 Brooks Moses <bmoses@google.com>
9923
9924 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9925 all compilers that claim C++98 compliance, not just GCC.
9926 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9927 Likewise.
9928
abc26e99
MK
99292013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9930
9931 * NEWS: Restore accidentally deleted bug-fix entries.
9932
362b47fe
MK
99332013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9934 Ondřej Bílka <neleai@seznam.cz>
9935
9936 [BZ #15073]
9937 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 9938 have_lock.
362b47fe 9939
b9bcbbcb
OB
99402013-12-23 Ondřej Bílka <neleai@seznam.cz>
9941
9942 [BZ #12986]
9943 * manual/stdio.texi (String Input Conversions): Clarify that character
9944 classes are not supported.
9945
fb55fcd2
AZ
99462013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9947
9948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9949
ef7344f0
JM
99502013-12-22 Joseph Myers <joseph@codesourcery.com>
9951
4f40e4b3
JM
9952 [BZ #16337]
9953 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9954 Calculate results for small negative arguments directly rather
9955 than using reflection formula with special underflow handling.
9956
ef7344f0
JM
9957 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9958 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9959 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9960 (fchflags): Likewise.
9961 (revoke): Likewise.
9962 (setlogin): Likewise.
9963 (sigaltstack): Likewise.
9964 (wait4): Likewise.
9965 (sigblock): Remove.
9966 (sigsetmask): Likewise.
9967 (wait3): Likewise.
9968 (waitpid): Likewise.
9969 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9970 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9971 file.
9972 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9973 * sysdeps/unix/bsd/Makefile: ... here.
9974 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9975 * sysdeps/unix/bsd/Versions: ... here.
9976 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9977 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9978 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9979 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9980 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9981 * sysdeps/unix/bsd/sigblock.c: ... here.
9982 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9983 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9984 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9985 * sysdeps/unix/bsd/sigvec.c: ... here.
9986 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9987 * sysdeps/unix/bsd/tcdrain.c: ... here.
9988 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9989 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9990 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9991 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9992 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9993 * sysdeps/unix/bsd/wait.c: ... here.
9994 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9995 * sysdeps/unix/bsd/wait3.c: ... here.
9996 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9997 * sysdeps/unix/bsd/waitpid.c: ... here.
9998
5b0626b9
JM
99992013-12-21 Joseph Myers <joseph@codesourcery.com>
10000
10001 [BZ #16356]
10002 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10003 round-to-nearest for [!USE_AS_EXPM1L].
10004 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10005 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10006 more tests of exp and exp10. Expect some exp10 tests to miss
10007 exceptions or fail in directed rounding modes.
10008 * math/auto-libm-test-out: Regenerated.
10009 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10010 (exp10_test_tonearest): New function.
10011 (exp10_towardzero_test_data): New array.
10012 (exp10_test_towardzero): New function.
10013 (exp10_downward_test_data): New array.
10014 (exp10_test_downward): New function.
10015 (exp10_upward_test_data): New array.
10016 (exp10_test_upward): New function.
10017 (main): Call the new functions.
10018 * sysdeps/i386/fpu/libm-test-ulps: Update.
10019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10020
7fda5682
JM
100212013-12-20 Joseph Myers <joseph@codesourcery.com>
10022
31e3a405
JM
10023 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10024 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10025 * math/auto-libm-test-out: Regenerated.
10026 * math/libm-test.inc (acosh_test_data): Add more tests.
10027 (atanh_test_data): Likewise.
10028 (ceil_test_data): Likewise.
10029 (copysign_test_data): Likewise.
10030 * sysdeps/i386/fpu/libm-test-ulps: Update.
10031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10032
85bff96a
JM
10033 * timezone/checktab.awk: Update from tzcode 2013i.
10034 * timezone/private.h: Likewise.
10035 * timezone/scheck.c: Likewise.
10036 * timezone/tzfile.h: Likewise.
10037 * timezone/tzselect.ksh: Likewise.
10038 * timezone/zdump.c: Likewise.
10039 * timezone/zic.c: Likewise.
10040
b7867a3b
JM
10041 * math/auto-libm-test-in: Add tests of cpow.
10042 * math/auto-libm-test-out: Regenerated.
10043 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 10044 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
10045 mpc_cc_c.
10046 (func_calc_desc): Add mpc_cc_c union field.
10047 (test_functions): Add cpow.
10048 (special_fill_2pi): New function.
10049 (special_real_inputs): Add 2pi.
10050 (calc_generic_results): Handle mpc_cc_c.
10051 * sysdeps/i386/fpu/libm-test-ulps: Update.
10052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10053
7fda5682
JM
10054 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10055 csqrt, ctan and ctanh.
10056 * math/auto-libm-test-out: Regenerated.
10057 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10058 (TEST_COND_x86): Likewise.
10059 (ccos_test_data): Use AUTO_TESTS_c_c.
10060 (ccosh_test_data): Likewise.
10061 (cexp_test_data): Likewise.
10062 (clog_test_data): Likewise.
10063 (csqrt_test_data): Likewise.
10064 (ctan_test_data): Likewise.
10065 (ctan_tonearest_test_data): Likewise.
10066 (ctan_towardzero_test_data): Likewise.
10067 (ctan_downward_test_data): Likewise.
10068 (ctan_upward_test_data): Likewise.
10069 (ctanh_test_data): Likewise.
10070 (ctanh_tonearest_test_data): Likewise.
10071 (ctanh_towardzero_test_data): Likewise.
10072 (ctanh_downward_test_data): Likewise.
10073 (ctanh_upward_test_data): Likewise.
10074 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10075 mpc_c_c.
10076 (func_calc_desc): Add mpc_c_c union field.
10077 (FUNC_mpc_c_c): New macro.
10078 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10079 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10080 ctanh.
10081 (special_fill_min_subnorm_p120): New function.
10082 (special_real_inputs): Add min_subnorm_p120.
10083 (calc_generic_results): Handle mpc_c_c.
10084 * sysdeps/i386/fpu/libm-test-ulps: Update.
10085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10086
5ff8d60e
SP
100872013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10088
57f41c40
AS
10089 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10090 (do_sin_slow): New functions.
10091 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10092 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 10093
84ba214c
SP
10094 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10095 Use M to change sign of result instead of X. Assume X is
10096 positive.
10097 (csloww1): Likewise.
10098 (__sin): Adjust.
10099 (__cos): Adjust.
10100
975195e4
SP
10101 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10102 arguments A and DA.
10103 (__sin): Adjust.
10104 (__cos): Likewise.
10105
5ff8d60e
SP
10106 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10107 (__cos): Likewise.
10108 (sloww1): Don't adjust sign of DX.
10109 (csloww1): Likewise.
10110 (sloww2): Use X directly and don't adjust sign of DX.
10111 (csloww2): Likewise.
10112
eb983568
JM
101132013-12-19 Joseph Myers <joseph@codesourcery.com>
10114
64a17f1a
JM
10115 * math/auto-libm-test-in: Add tests of cabs and carg.
10116 * math/auto-libm-test-out: Regenerated.
10117 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10118 (carg_test_data): Likewise.
10119 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10120 mpc_c_f.
10121 (func_calc_desc): Add mpc_c_f union field.
10122 (test_functions): Add cabs and carg.
10123 (calc_generic_results): Handle mpc_c_f.
10124
eb983568
JM
10125 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10126 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10127 as a macro and a compat symbol.
10128 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10129 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10130 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10131 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10132 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10133 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10134 not use .hidden.
10135 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10136 Likewise.
10137 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10138 Likewise.
10139 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10140 Likewise.
10141 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10142 Likewise.
10143 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10144 Likewise.
10145 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10146 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10147 from GLIBC_2.3.2.
10148
6eeb678a
AZ
101492013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10150
10151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10152
6f6fc482
JM
101532013-12-19 Joseph Myers <joseph@codesourcery.com>
10154
21fea2e2
JM
10155 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10156 trailing whitespace removed.
10157 * scripts/config.guess: Update to version 2013-11-29.
10158 * scripts/config.sub: Update to version 2013-10-01.
10159
6f6fc482
JM
10160 * math/auto-libm-test-in: Add tests of sincos.
10161 * math/auto-libm-test-out: Regenerated.
10162 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10163 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10164 mpfr_f_11.
10165 (func_calc_desc): Add mpfr_f_11 union field.
10166 (test_functions): Add sincos.
10167 (calc_generic_results): Handle mpfr_f_11.
10168 * sysdeps/i386/fpu/libm-test-ulps: Update.
10169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10170
83f5c32d
AS
101712013-12-19 Andreas Schwab <schwab@suse.de>
10172
10173 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10174 CALL_MCOUNT.
10175 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10176 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10177 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10178
c688b419
JM
101792013-12-19 Joseph Myers <joseph@codesourcery.com>
10180
335ee092
JM
10181 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10182 * sysdeps/i386/fpu/libm-test-ulps: Update.
10183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10184
f88acd39
JM
10185 [BZ #16293]
10186 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10187 round-to-nearest mode when using frndint.
10188 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10189 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10190 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10191 Likewise.
10192 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10193 sinh test to fail.
10194 * math/auto-libm-test-out: Regenerated.
10195 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10196 (TEST_COND_x86): Likewise.
10197 (expm1_tonearest_test_data): New array.
10198 (expm1_test_tonearest): New function.
10199 (expm1_towardzero_test_data): New array.
10200 (expm1_test_towardzero): New function.
10201 (expm1_downward_test_data): New array.
10202 (expm1_test_downward): New function.
10203 (expm1_upward_test_data): New array.
10204 (expm1_test_upward): New function.
10205 (main): Run the new test functions.
10206 * sysdeps/i386/fpu/libm-test-ulps: Update.
10207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10208
c688b419
JM
10209 * include/features.h: Update comment documenting feature test
10210 macros. Mention _DEFAULT_SOURCE in comment.
10211 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10212 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10213 _BSD_SOURCE and _SVID_SOURCE.
10214 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10215 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10216 !_SVID_SOURCE]: Likewise.
10217 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10218 (__USE_POSIX_IMPLICITLY): Define.
10219 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10220 (_POSIX_SOURCE): Undefine and redefine.
10221 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10222 (_POSIX_C_SOURCE): Likewise.
10223 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10224 (Feature Test Macros): Update documentation of default features.
10225
9f6e964c
RS
102262013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10227
10228 * benchtests/Makefile: Add bench-strtok.
10229 * benchtests/bench-strtok.c: New file: strtok benchtest.
10230
ee0a148a
AM
102312013-12-19 Allan McRae <allan@archlinux.org>
10232
10233 * manual/install.texi: Suppress menu for plain text output.
10234 * INSTALL: Regenerated.
10235
b9ab448f
BM
102362013-12-18 Brooks Moses <bmoses@google.com>
10237
10238 [BZ #15846]
10239 * misc/getauxval.c: Include errno.h.
10240 (__getauxval): Set errno to ENOENT if the requested type is not
10241 found.
10242 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10243 don't declare with __attribute_const__.
10244 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10245 * manual/startup.texi: Document that getauxval sets errno.
10246
23776487
JM
102472013-12-18 Joseph Myers <joseph@codesourcery.com>
10248
f889953b
JM
10249 * math/auto-libm-test-in: Add tests of jn and yn.
10250 * math/auto-libm-test-out: Regenerated.
10251 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10252 (yn_test_data): Likewise.
10253 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10254 mpfr_if_f.
10255 (func_calc_desc): Add mpfr_if_f union field.
10256 (FUNC_mpfr_if_f): New macro.
10257 (test_functions): Add jn and yn.
10258 (calc_generic_results): Assert type of second input for
10259 mpfr_ff_f. Handle mpfr_if_f.
10260 (output_for_one_input_case): Disable all checking for arguments
10261 fitting floating-point types in case of an integer argument.
10262 * sysdeps/i386/fpu/libm-test-ulps: Update.
10263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10264
23776487
JM
10265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10266 Don't expect fegetround reference in libm.so.
10267
cb756c6d
MS
102682013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10269
10270 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10271 $(config-cflags-nofma).
10272
2dec468f
JM
102732013-12-18 Joseph Myers <joseph@codesourcery.com>
10274
5953eb3a
JM
10275 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10276 * math/auto-libm-test-out: Regenerated.
10277
2dec468f
JM
10278 [BZ #16338]
10279 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10280 to determine exponent and adjust argument to have exponent of -1.
10281 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10282 log2.
10283 * math/auto-libm-test-out: Regenerated.
10284 * sysdeps/i386/fpu/libm-test-ulps: Update.
10285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10286
4d84e6ad
OB
102872013-12-18 Ondřej Bílka <neleai@seznam.cz>
10288
10289 * manual/probes.texi: Remove cases when per-thread arenas are
10290 disabled.
10291
1818483b
AS
102922013-12-18 Andreas Schwab <schwab@suse.de>
10293
10294 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10295 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10296 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10297 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10298 * sysdeps/i386/i686/multiarch/Makefile: Update.
10299 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10300
25de95bf
JM
103012013-12-17 Joseph Myers <joseph@codesourcery.com>
10302
10303 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10304 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10305
674762d9
PE
103062013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10307
ed27ed83 10308 [BZ #15968]
0748546f
PE
10309 Support TZ transition times < 00:00:00.
10310 This is needed for version-3 tz-format files; it supports time
10311 stamps past 2037 for America/Godthab (the only entry in the tz
10312 database for which this change is relevant).
10313 * manual/time.texi (TZ Variable): Document transition times
10314 from -167:59:59 through -00:00:01.
10315 * time/tzset.c (tz_rule): Time of day is now signed.
10316 (__tzset_parse_tz): Parse negative time of day.
10317
4480e934
PE
10318 Document TZ transition times >= 25:00:00.
10319 * manual/time.texi (TZ Variable): Document transition times from
10320 25:00:00 through 167:59:59. These are already supported, and this
10321 support will help with version-3 tz-format files.
10322
69947401
PE
10323 * manual/time.texi (TZ Variable): Modernize North America example
10324 to reflect current (i.e., 2007-and-later) daylight saving rules.
10325
674762d9
PE
10326 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10327
7011c262
JM
103282013-12-17 Joseph Myers <joseph@codesourcery.com>
10329
2fc6557e
JM
10330 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10331 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10333 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10334 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10335 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10336 * sysdeps/unix/bsd/clock.c: Likewise.
10337 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10338 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10339 * sysdeps/unix/bsd/init-posix.c: Likewise.
10340 * sysdeps/unix/bsd/poll.c: Likewise.
10341 * sysdeps/unix/bsd/ptsname.c: Likewise.
10342 * sysdeps/unix/bsd/seekdir.c: Likewise.
10343 * sysdeps/unix/bsd/setegid.c: Likewise.
10344 * sysdeps/unix/bsd/seteuid.c: Likewise.
10345 * sysdeps/unix/bsd/setgid.c: Likewise.
10346 * sysdeps/unix/bsd/setrgid.c: Likewise.
10347 * sysdeps/unix/bsd/setruid.c: Likewise.
10348 * sysdeps/unix/bsd/setsid.c: Likewise.
10349 * sysdeps/unix/bsd/setuid.c: Likewise.
10350 * sysdeps/unix/bsd/sigaction.c: Likewise.
10351 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10352 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10353 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10354 * sysdeps/unix/bsd/telldir.c: Likewise.
10355 * sysdeps/unix/bsd/times.c: Likewise.
10356 * sysdeps/unix/bsd/usleep.c: Likewise.
10357
029c7b25
JM
10358 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10359 ($(objpfx)libbsd-compat.a): Remove rule.
10360
7011c262
JM
10361 * include/features.h (__FAVOR_BSD): Do not define.
10362 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10363 features conflicting with POSIX.
10364 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10365 (_BSD_SOURCE): Remove description of not being a subset of other
10366 feature test macros.
10367 * manual/job.texi (getpgrp): Do not document BSD version.
10368 (getpgid): Do not document by reference to BSD getpgrp.
10369 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10370 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10371 * signal/signal.h [__FAVOR_BSD]: Likewise.
10372 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10373 instead of making contents conditional on [__FAVOR_BSD].
10374 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10375
affb6f78
AZ
103762013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10377
10378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10379
c88769dd
JM
103802013-12-17 Joseph Myers <joseph@codesourcery.com>
10381
6432a540
JM
10382 [BZ #16314]
10383 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10384 values below 2**-450, not 2**-500.
10385 * math/auto-libm-test-in: Don't allow spurious underflow from
10386 hypot.
10387 * math/auto-libm-test-out: Regenerated.
10388
c88769dd
JM
10389 [BZ #16316]
10390 [BZ #16330]
10391 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10392 values of ha and hb and sort them after adjusting subnormal
10393 arguments.
10394 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10395 Likewise.
10396 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10397 values of ea and eb and sort them after adjusting subnormal
10398 arguments.
10399 * math/auto-libm-test-in: Do not expect some hypot tests of
10400 subnormals to fail. Add more hypot tests.
10401 * math/auto-libm-test-out: Regenerated.
10402
29618f6b
KK
104032013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10404
10405 [BZ #13304]
10406 * sysdeps/sh/s_fma.c: New file.
10407 * sysdeps/sh/s_fmaf.c: New file.
10408 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10409 version.
10410 * sysdeps/sh/Implies: Add sh/soft-fp.
10411
eacfdfbf
RM
104122013-12-16 Roland McGrath <roland@hack.frob.com>
10413
10414 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10415 level of indirection to members `objname', `errstring', `malloced'.
10416 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10417 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10418 it as the __longjmp argument (just pass 1 instead).
10419 (_dl_catch_error): Initialize C with argument pointers and address of
10420 volatile local ERRCODE rather than copying values out of C at return.
10421
ff362e5b
JM
104222013-12-16 Joseph Myers <joseph@codesourcery.com>
10423
10424 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10425 * math/auto-libm-test-out: Regenerated.
10426 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10427 (hypot_test_data): Likewise.
10428 (pow_test_data): Likewise.
10429 (pow_tonearest_test_data): Likewise.
10430 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10431 mpfr_ff_f.
10432 (func_calc_desc): Add mpfr_ff_f union field.
10433 (FUNC_mpfr_ff_f): New macro.
10434 (test_functions): Add atan2, hypot and pow.
10435 (special_fill_min): New function.
10436 (special_fill_minus_min): Likewise.
10437 (special_fill_min_subnorm): Likewise.
10438 (special_fill_minus_min_subnorm): Likewise.
10439 (special_real_inputs): Add min, -min, min_subnorm and
10440 -min_subnorm.
10441 (calc_generic_results): Handle mpfr_ff_f.
10442 * sysdeps/i386/fpu/libm-test-ulps: Update.
10443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10444
5764c27f
WN
104452013-12-16 Will Newton <will.newton@linaro.org>
10446
10447 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10448 (Aligned Memory Blocks): Add documentation for aligned_alloc
10449 and suggest it as an alternative to posix_memalign.
10450 (Hooks for Malloc): Document __memalign_hook is also called
10451 for aligned_alloc. (Summary of Malloc): Add summary for
10452 aligned alloc. Document __memalign_hook is also called
10453 for aligned_alloc.
10454
0a096e44
WN
104552013-12-16 Will Newton <will.newton@linaro.org>
10456
10457 * manual/memory.texi (Malloc Examples): Clarify default
10458 alignment documentation. Suggest posix_memalign rather
10459 than memalign or valloc.
10460 (Aligned Memory Blocks): Remove suggestion to use memalign
10461 or valloc. Remove obsolete comment about BSD.
10462 Document memalign errno values and mark the function obsolete.
10463 Document posix_memalign returned error codes. Mark valloc
10464 as obsolete. (Hooks for Malloc): __memalign_hook is also
10465 called for posix_memalign and valloc.
10466 (Summary of Malloc): Add posix_memalign to function summary.
10467 __memalign_hook is also called for posix_memalign and valloc.
10468
8d561986
SP
104692013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10470
10471 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10472 TAYLOR_SIN.
10473 (__sin): Adjust.
10474 (__cos): Likewise.
10475 (sloww): Use mynumber union. Expand ternary operator into
10476 if-else statements.
10477 (cslow): use mynumber union.
10478
73616a74
AM
104792013-12-16 Allan McRae <allan@archlinux.org>
10480
9e8ac24b
AM
10481 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10482 * configure: Regenerated.
10483
6f8e37eb
AM
10484 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10485
8894bad3
AM
10486 [BZ #14120]
10487 * configure.ac: Added --enable-maintainer-mode. Check for
10488 autoconf when enabled.
10489 * configure: Regenerated.
10490
73616a74
AM
10491 * nscd/nscd.service: New file.
10492 * nscd/nscd.tmpfiles: New file.
10493
584b18eb
OB
104942013-12-14 Ondřej Bílka <neleai@seznam.cz>
10495
10496 [BZ #12100]
10497 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10498 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10499 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10500 (strstr): Add __strstr_sse2_unaligned ifunc.
10501 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10502 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10503 (strcasestr): Remove __strcasestr_sse42 ifunc.
10504 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10505 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10507
8a5c7897
KK
105082013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10509
10510 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10511 * sysdeps/sh/bits/fenv.h: ... here.
10512 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10513
fd712ef3
AZ
105142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10515
10516 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10517
42fcb46c
AZ
10518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10519 hypotf multiarch implementations.
10520 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10521 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10522 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10523 multiarch hypot for PPC64.
10524 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10525 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10526 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10527 multiarch hypotf for PPC64.
10528
83efded4
AZ
10529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10530 modff multiarch implementations.
10531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10534 multiarch modf for PPC64.
10535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10538 multiarch modff for PPC64.
10539
43e246d2
AZ
10540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10541 and logl multiarch implementations.
10542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10545 multiarch logb for PPC64.
10546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10549 multiarch logb for PPC64.
10550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10553 multiarch logb for PPC64.
10554
8fdad123
AZ
10555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10556 isinff multiarch implementation.
10557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10558 file.
10559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10561 multiarch isinf for PPC64.
10562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10563 file.
10564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10565 multiarch isinff for PPC64.
10566
1481d706
AZ
10567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10568 finitef multiarch implementation.
10569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10570 file.
10571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10573 multiarch finite for PPC64.
10574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10575 file.
10576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10577 multiarch finitef for PPC64.
10578
5ccd5fc8
AZ
10579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10580 lrint multiarch implementation.
10581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10582 file.
10583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10585 multiarch llrint for PPC64.
10586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10587 multiarch lrint for PPC64.
10588
2568f3fa
AZ
10589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10590 copysignf multiarch implementation.
10591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10592 file.
10593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10594 file.
10595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10596 multiarch copysign for PPC64.
10597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10598 multiarch copysignf for PPC64.
10599
1cb341fd
AZ
10600 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10601 multiarch implementation.
10602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10603 file.
10604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10605 file.
10606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10607 file.
10608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10609 file.
10610 multiarch llround for PPC64.
10611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10612 multiarch trunc for PPC64.
10613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10614 multiarch truncf for PPC64.
10615
59a3e194
AZ
10616 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10617 multiarch implementation.
10618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10619 file.
10620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10621 file.
10622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10623 file.
10624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10625 file.
10626 multiarch llround for PPC64.
10627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10628 multiarch round for PPC64.
10629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10630 multiarch roundf for PPC64.
10631
357fd3b4
AZ
10632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10633 multiarch implementation.
10634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10635 file.
10636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10637 file.
10638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10639 file.
10640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10641 file.
10642 multiarch llround for PPC64.
10643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10644 multiarch floor for PPC64.
10645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10646 multiarch floorf for PPC64.
10647
96770f12
AZ
10648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10649 multiarch implementation.
10650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10651 file.
10652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10653 file.
10654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10655 file.
10656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10657 file.
10658 multiarch llround for PPC64.
10659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10660 multiarch ceil for PPC64.
10661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10662 multiarch ceilf for PPC64.
10663
c3627f6e
AZ
10664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10665 multiarch implementation.
10666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10667 file.
10668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10669 file.
10670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10671 file.
10672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10673 multiarch llround for PPC64.
10674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10675 multiarch lround for PPC64.
10676
b2284ad7
AZ
10677 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10678 multiarch implementation.
10679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10682 file.
10683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10686 multiarch isnan for PPC64.
10687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10688 multiarch isnanf for PPC64.
10689
69bbc63d
AZ
10690 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10691 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10692 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10693 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10694 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10696
c24517c9
AZ
10697 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10698 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10699 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10701
a52374e8
AZ
10702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10703 multiarch implementations.
10704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10705 (__libc_ifunc_impl_list): Likewise.
10706 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10707 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10708 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10709 multiarch stpcpy for PPC64.
10710
7f5ec113
AZ
10711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10712 multiarch implementations.
10713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10714 (__libc_ifunc_impl_list): Likewise.
10715 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10716 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10717 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10718 multiarch strcpy for PPC64.
10719
e28bcd42
AZ
10720 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10721 redefine function name.
10722 (_wordcopy_fwd_dest_aligned): Likewise.
10723 (_wordcopy_bwd_aligned): Likewise.
10724 (_wordcopy_bwd_dest_aligned): Likewise.
10725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10726 multiarch implementations.
10727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10728 (__libc_ifunc_impl_list): Likewise.
10729 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10730 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10731 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10732 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10733 multiarch wcscpy for PPC64.
10734
92cacfce
AZ
10735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10736 multiarch implementations.
10737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10738 (__libc_ifunc_impl_list): Likewise.
10739 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10740 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10741 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10742 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10743 multiarch wcscpy for PPC64.
10744
7b714620
AZ
10745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10746 multiarch implementations.
10747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10748 (__libc_ifunc_impl_list): Likewise.
10749 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10750 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10751 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10752 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10753 multiarch wcsrchr for PPC64.
10754
16fd2ae3
AZ
10755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10756 multiarch implementations.
10757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10758 (__libc_ifunc_impl_list): Likewise.
10759 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10760 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10761 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10762 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10763 multiarch wcschr for PPC64.
10764
9ee2969b
AZ
10765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10766 multiarch implementations.
10767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10768 (__libc_ifunc_impl_list): Likewise.
10769 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10770 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10771 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10772 multiarch strchrnul for PPC64.
10773
372dc060
AZ
10774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10775 implementations.
10776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10777 (__libc_ifunc_impl_list): Likewise.
10778 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10779 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10780 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10781 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10782 strchr for PPC64.
10783
24c2c3b9
AZ
10784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10785 implementations.
10786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10787 (__libc_ifunc_impl_list): Likewise.
10788 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10789 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10790 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10791 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10792 strncmp for PPC64.
10793
1c92d9a0
AZ
10794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10795 multiarch implementations.
10796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10797 (__libc_ifunc_impl_list): Likewise.
10798 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10799 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10800 strncasecmp for PPC64.
10801 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10802 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10803 multiarch strncasecmp_l for PPC64.
10804
17de3ee3
AZ
10805 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10806 multiarch implementations.
10807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10808 (__libc_ifunc_impl_list): Likewise.
10809 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10810 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10811 multiarch strcasecmp for PPC64.
10812 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10813 file.
10814 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10815 multiarch strcasecmp_l for PPC64.
10816
62982bf9
AZ
10817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10818 implementations.
10819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10820 (__libc_ifunc_impl_list): Likewise.
10821 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10822 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10823 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10824 strnlen for PPC64.
10825
a65f4904
AZ
10826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10827 implementations.
10828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10829 (__libc_ifunc_impl_list): Likewise.
10830 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10831 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10832 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10833 strlen for PPC64.
10834
1fd005ad
AZ
10835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10836 implementations.
10837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10838 (__libc_ifunc_impl_list): Likewise.
10839 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10840 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10841 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10842 rawmemrchr for PPC64.
10843
cd05ba91
AZ
10844 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10845 implementation.
10846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10847 (__libc_ifunc_impl_list): Likewise.
10848 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10849 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10850 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10851 memrchr for PPC64.
10852
870f8676
AZ
10853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10854 implementation.
10855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10856 (__libc_ifunc_impl_list): Likewise.
10857 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10858 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10859 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10860 memchr for PPC64.
10861
f00be62b
AZ
10862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10863 implementation.
10864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10865 (__libc_ifunc_impl_list): Likewise.
10866 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10867 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10868 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10869 mempcpy for PPC64.
10870
8a29a3d0
AZ
10871 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10872 avoid cretion of __bzero symbol.
10873 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10874 Likewise.
10875 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10876 Likewise.
10877 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10878 Likewise.
10879 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10880 multiarch implementations.
10881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10882 (__libc_ifunc_impl_list): Likewise.
10883 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10884 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10885 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10886 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10887 bzero for PPC32.
10888 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10889 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10890 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10891 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10892 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10893 memset for PPC64.
10894 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10895
07253fcf
AZ
10896 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10898 implementations.
10899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10900 (__libc_ifunc_impl_list): Likewise.
10901 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10902 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10903 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10904 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10905 memcmp for PPC64.
10906
b5beafbc
AZ
10907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10908 multiarch for POWER/PPC64.
10909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10910 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10911 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10912 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10913 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10914 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10915 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10916 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10917 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10918 memcpy for PPC64.
10919
5e6a4d4b
AZ
10920 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10921 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10922 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10923 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10924 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10925 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10926 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10927 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10928 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10929 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10930 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10931 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10932 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10933 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10934 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10942
ddfab6dc
KK
109432013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10944
10945 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10946
19b5525e
SP
109472013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10948
10949 * benchtests/Makefile (bench): Add exp2 and log2.
10950 (LDLIBS-bench-exp2): Add -lm.
10951 (LDLIBS-bench-log2): Likewise.
10952 * benchtests/exp2-inputs: New inputs file.
10953 * benchtests/log2-inputs: New inputs file.
10954 * benchtests/log-inputs: Add new inputs.
10955 * benchtests/tan-inputs: Likewise.
10956
196f7f5d
SP
109572013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10958
7a74607f
SP
10959 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10960 definition...
57f41c40
AS
10961 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10962 (csloww2): ... from here.
7a74607f 10963
196f7f5d
SP
10964 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10965 instead of structures.
10966 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10967 (POLYNOMIAL): Likewise.
10968 (TAYLOR_SLOW): Likewise.
10969 (__sin): Likewise.
10970 (__cos): Likewise.
10971 (slow1): Likewise.
10972 (slow2): Likewise.
10973 (sloww): Likewise.
10974 (sloww1); Likewise.
10975 (sloww2): Likewise.
10976 (bsloww1): Likewise.
10977 (bsloww2): Likewise.
10978 (cslow2): Likewise.
10979 (csloww): Likewise.
10980 (csloww1): Likewise.
10981 (csloww2): Likewise.
10982
0dfa665c
OB
109832013-12-10 Ondřej Bílka <neleai@seznam.cz>
10984
10985 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
10986 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10987 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
10988 * malloc/hooks.c (realloc_check): Likewise.
10989
5782a80f
OB
10990 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10991 * malloc/arena.c: Remove PER_THREAD conditional.
10992 [!PER_THREAD]: Remove code.
10993 (ptmalloc_unlock_all2): Likewise.
10994 (ptmalloc_init): Likewise.
10995 (_int_new_arena): Likewise.
10996 (arena_get2): Likewise.
10997 * malloc/hooks.c (__malloc_get_state): Likewise.
10998 (__malloc_set_state): Likewise.
10999 * malloc/malloc.c: Likewise.
11000 (struct malloc_state): Likewise.
11001 (struct malloc_par): Likewise.
11002 (__libc_realloc): Likewise.
11003 (__libc_mallopt): Likewise.
11004
aeb95445
AZ
110052013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11006
11007 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11008
e8349efd
OB
110092013-12-09 Ondřej Bílka <neleai@seznam.cz>
11010
11011 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11012 macro to a function. Check for zero perturb_byte.
11013 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11014
f3eeb3fc 11015 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
11016 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11017 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
11018 force_reg by atomic_forced_read.
11019 * malloc/arena.c (ptmalloc_init): Likewise.
11020 * malloc/hooks.c (top_check): Likewise.
11021
be2f9009
AZ
110222013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11023
11024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11025
e7b914bd
MT
110262013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11027
11028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11029
9f0be4f8
JM
110302013-12-08 Joseph Myers <joseph@codesourcery.com>
11031
11032 * math/auto-libm-test-in: Add tests of lgamma.
11033 * math/auto-libm-test-out: Regenerated.
11034 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11035 (M_LOG_2_SQRT_PIl): Likewise.
11036 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11037 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11038 mpfr_f_f1.
11039 (func_calc_desc): Add mpfr_f_f1 union field.
11040 (ARGS1): New macro.
11041 (ARGS2): Likewise.
11042 (ARGS3): Likewise.
11043 (ARGS4): Likewise.
11044 (RET1): Likewise.
11045 (RET2): Likewise.
11046 (CALC): Likewise.
11047 (FUNC): Likewise.
11048 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11049 (test_functions): Add lgamma.
11050 (calc_generic_results): Handle mpfr_f_f1.
11051 * sysdeps/i386/fpu/libm-test-ulps: Update.
11052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11053
24eeafdb
AZ
110542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11055
11056 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11057 __mpn_add_n for PowerPC64/POWER7.
11058 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11059 __mpn_sub_n for PowerPC64/POWER7.
11060
4a2c0fd4
AZ
11061 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11062 __mpn_addmul_1 for PowerPC64.
11063 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11064 __mpn_submul_1 for PowerPC64.
11065 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11066 for PowerPC64.
11067 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11068 for PowerPC64.
11069
4b5b548c
FS
110702013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11071
11072 [BZ #15089]
11073 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11074
0a3ac0aa
AZ
110752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11076
11077 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11078
ccdc8438
AZ
11079 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11080 add multiarch folders.
11081 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11082 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11083 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11084 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11085 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11086 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11087 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11088 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11089 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11090 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11091 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11098
2e973d99
AZ
11099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11100 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11102 New file.
11103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11104 New file.
11105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11106 multiarch __ieee754_hypot for PowerPC32.
11107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11108 New file.
11109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11110 New file.
11111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11112 multiarch __ieee754_hypotf for PowerPC32.
11113
2d9470b2
AZ
11114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11115 long_double_symbol only if __logbl is defined.
11116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11117 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11119 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11120 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11121 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11122 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11123 path for implementation.
11124 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11125 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11127 logb, and logbl multiarch implementations for PowerPC32.
11128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11129 file.
11130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11131 file.
11132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11133 multiarch logb for PowerPC32.
11134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11135 file.
11136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11137 file.
11138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11139 multiarch logbf for PowerPC32.
11140 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11142 file.
11143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11144 multiarch logbl implementation for PowerPC32.
11145
5212ffce
AZ
11146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11147 and modff multiarch implementations.
11148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11149 New file.
11150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11151 New file.
11152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11153 multiarch modf for PowerPC32.
11154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11155 New file.
11156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11157 New file.
11158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11159 multiarch modff for PowerPC32.
11160
79dccf31
AZ
11161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11162 and lrintf multiarch implementations.
11163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11164 New file.
11165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11166 New file.
11167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11168 multiarch lrint for PowerPC32.
11169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11170 file: multiarch lrintf for PowerPC32.
11171
deb66480
AZ
11172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11173 and lroundf multiarch implementations.
11174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11175 New file.
11176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11177 New file.
11178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11179 New file.
11180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11181 multiarch lround for PowerPC32.
11182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11183 file: multiarch lroundf for PowerPC32.
11184
264b036b
AZ
11185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11186 copysign and copysignf multiarch implementations.
11187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11188 New file.
11189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11190 New file.
11191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11192 file: multiarch copysign for PowerPC32.
11193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11194 file: multiarch copysignf for PowerPC32.
11195
d47db6c9
AZ
11196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11197 and truncf multiarch implementations.
11198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11199 New file.
11200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11201 file.
11202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11203 multiarch trunc for PowerPC32.
11204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11205 New file.
11206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11207 New file.
11208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11209 multiarch truncf for PowerPC32.
11210
ddb60b5a
AZ
11211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11212 and roundf multiarch implementations.
11213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11214 New file.
11215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11216 file.
11217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11218 multiarch round for PowerPC32.
11219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11220 New file.
11221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11222 New file.
11223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11224 multiarch roundf for PowerPC32.
11225
bedcf49b
AZ
11226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11227 and floorf multiarch implementations.
11228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11229 New file.
11230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11231 file.
11232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11233 multiarch floor for PowerPC32.
11234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11235 New file.
11236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11237 New file.
11238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11239 multiarch floorf for PowerPC32.
11240
35ae5b40
AZ
11241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11242 and ceilf multiarch implementations.
11243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11244 New file.
11245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11246 file.
11247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11248 multiarch ceil for PowerPC32.
11249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11250 New file.
11251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11252 file.
11253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11254 multiarch ceilf for PowerPC32.
11255
ae1a4cd9
AZ
11256 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11257 is defined.
11258 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11259 FINITEF is defined.
11260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11261 and finitef multiarch implementations.
11262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11263 New file.
11264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11265 file.
11266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11267 multiarch finite for PowerPC32.
11268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11269 New file.
11270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11271 file: multiarch finitef for PowerPC32.
11272
64fffd65
AZ
11273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11274 and isinff multiarch implementations.
11275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11276 file.
11277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11278 file.
11279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11280 multiarch isinf for PowerPC32.
11281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11282 New file.
11283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11284 multiarch isinff for PowerPC32.
11285
8e4e7ba2
AZ
11286 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11287 alias when __isnan is defined.
11288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11289 and isnanf multiarch implementations.
11290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11291 file.
11292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11293 file.
11294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11295 file.
11296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11297 file.
11298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11299 multiarch isnan for PowerPC32.
11300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11301 New file.
11302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11303 New file.
11304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11305 multiarch isnanf for PowerPC32.
11306
ddba588e
AZ
11307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11308 and sqrtf multiarch implementations.
11309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11310 file.
11311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11312 file.
11313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11314 multiarch sqrt for PowerPC32.
11315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11316 file.
11317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11318 file.
11319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11320 multiarch sqrtf for PowerPC32.
11321
0f96a2f0
AZ
11322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11323 and llroundf multiarch implementations.
11324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11325 New file.
11326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11327 New file.
11328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11329 New file.
11330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11331 file: multiarch llround for PowerPC32.
11332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11333 file: multiarch llroundf for PowerPC32.
11334
c9b5d79e
AZ
11335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11336 multiarch PowerPC32 fpu implementations.
11337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11338 New file.
11339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11340 New file.
11341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11342 multiarch llrint for PowerPC32.
11343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11344 New file.
11345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11346 New file.
11347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11348 file.
11349
9cbb3aab
AZ
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11351
ea5a72f8
AZ
11352 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11353 file.
11354 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11355 file.
11356 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11357 file.
11358 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11359 multiarch wordcopy for PPC32.
11360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11361 wordcopy objects.
11362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11363 (__libc_ifunc_impl_list): Likewise.
11364 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11365 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11366 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11367 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11368 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11369 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11370
93be09e7
AZ
11371 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11372 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11373 file.
11374 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11375 file.
11376 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11377 file.
11378 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11379 multiarch wcscpy for PPC32.
11380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11381 multiarch objects.
11382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11383 (__libc_ifunc_impl_list): Likewise.
11384 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11385 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11386 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11387 sysdeps/powerpc/power6/wcscpy.c.
11388
bb04e529
AZ
11389 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11391 file.
11392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11393 file.
11394 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11395 file.
11396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11397 multiarch wcsrchr for PPC32.
11398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11399 multiarch objects.
11400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11401 (__libc_ifunc_impl_list): Likewise.
11402 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11403 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11404 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11405 sysdeps/powerpc/power6/wcsrchr.c.
11406
05b5cd1c
AZ
11407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11408 file.
11409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11410 file.
11411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11413 multiarch wcschr for PPc32.
11414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11415 multiarch objects.
11416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11417 (__libc_ifunc_impl_list): Likewise.
11418 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11419 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11420 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11421 sysdeps/powerpc/power6/wcschr.c.
11422
ba964147
AZ
11423 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11424 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11425 file.
11426 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11427 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11428 file: multiarch strchr for PPC32.
11429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11430 multiarch objects.
11431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11432 (__libc_ifunc_impl_list): Likewise.
11433
31c81aaa
AZ
11434 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11435 name.
11436 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11437 file.
11438 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11439 file.
11440 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11441 multiarch strchrnul for PPC32.
11442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11443 multiarch objects.
11444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11445 (__libc_ifunc_impl_list): Likewise.
11446
0d0607d9
AZ
11447 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11448 file.
11449 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11450 multiarch strncasecmp for PPC32.
11451 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11452 file.
11453 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11454 multiarch strncasecmp_l for PPC32.
11455 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11456 strncasecmp multiarch objects.
11457 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11458 (__libc_ifunc_impl_list): Likewise.
11459
4dfd5c86
AZ
11460 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11461 file.
11462 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11463 multiarch strncasecmp for PPC32.
11464 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11465 New file.
11466 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11467 multiarch strcasecmp_l for PPC32.
11468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11469 multiarch objects.
11470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11471 (__libc_ifunc_impl_list): Likewise.
11472
a19e01a3
AZ
11473 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11474 file.
11475 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11476 file.
11477 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11478 multiarch strncmp for PPC32.
11479 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11480 multiarch objects.
11481 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11482 (__libc_ifunc_impl_list): Likewise.
11483
ae9cf7a2
AZ
11484 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11485 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11486 file.
11487 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11488 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11489 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11490 multiarch objects.
11491 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11492 (__libc_ifunc_impl_list): Likewise.
11493
3148bb7d
AZ
11494 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11495 file.
11496 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11497 file.
11498 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11499 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11500 multiarch objects.
11501 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11502 (__libc_ifunc_impl_list): Likewise.
11503
7af8b946
AZ
11504 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11505 file.
11506 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11507 file.
11508 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11509 multiarch rawmemchr for PPC32.
11510 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11511 multiarch objects.
11512 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11513 (__libc_ifunc_impl_list): Likewise.
11514
03a6aa6a
AZ
11515 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11516 file.
11517 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11518 file.
11519 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11520 file: memrchr multiarch for PPC32.
11521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11522 multiarch objects.
11523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11524 (__libc_ifunc_impl_list): Likewise.
11525
1c62e6d9
AZ
11526 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11527 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11528 file.
11529 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11530 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11531 multiarch memchr for PPC32.
11532 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11533 multiarch objects.
11534 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11535 (__libc_ifunc_impl_list): Likewise.
11536
87da8bdb
AZ
11537 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11538 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11539 file.
11540 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11541 file.
11542 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11543 file: multiarch mempcpy for PPC32.
11544 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11545 multiarch objects.
11546 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11547 (__libc_ifunc_impl_list): Likewise.
11548
20ed4714
AZ
11549 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11550 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11551 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11552 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11553 multiarch bzero for PPC32.
11554 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11555 file.
11556 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11557 file.
11558 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11559 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11560 file: multiarch memset for PPC32.
11561 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11563 memset multiarch objects.
11564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11565 (__libc_ifunc_impl_list): Likewise.
11566
ab3e3a46
AZ
11567 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11568 file.
11569 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11571 memcmp for PPC32.
11572 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11574 multiarch objects.
11575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11576 (__libc_ifunc_impl_list): Likewise.
11577
930de6f0
AZ
11578 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11579 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11580 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11581 file.
11582 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11583 file.
11584 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11585 file.
11586 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11587 multiarch memcpy for PPC32.
11588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11589 multiarch objects.
11590 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11591 (__libc_ifunc_impl_list): Likewise.
11592
4c628e00
AZ
11593 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11594 support multiarch for POWER/PPC32.
11595 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11596 Likewise.
11597 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11599 Implies file to make multiarch folder appers before the fpu and
11600 default folder for power4 configuration.
11601
f4479220
SP
116022013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11603
11604 * scripts/bench.pl: Append volatile keyword to type.
11605
8517800f
KK
116062013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11607
11608 * sysdeps/sh/sotruss-lib.c: New file.
11609 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11610
180138f1
AZ
116112013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11612
11613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11614
bbf37bdc
JM
116152013-12-05 Joseph Myers <joseph@codesourcery.com>
11616
e47cc4e0
JM
11617 [BZ #6810]
11618 * math/w_tgamma.c: Include <errno.h>.
11619 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11620 * math/w_tgammaf.c: Include <errno.h>.
11621 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11622 * math/w_tgammal.c: Include <errno.h>.
11623 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11624 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11625 underflow. Add more tgamma tests.
11626 * math/auto-libm-test-out: Regenerated.
11627 * sysdeps/i386/fpu/libm-test-ulps: Update.
11628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11629
bbf37bdc
JM
11630 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11631 sin, sinh, tan, tanh, tgamma, y0 and y1.
11632 * math/auto-libm-test-out: Regenerated.
11633 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11634 (TEST_COND_x86): Likewise.
11635 (M_E2l): Remove macro.
11636 (M_E3l): Likewise.
11637 (M_2_SQRT_PIl): Likewise.
11638 (M_SQRT_PIl): Likewise.
11639 (M_1_DIV_El): Likewise.
11640 (log_test_data): Use AUTO_TESTS_f_f.
11641 (log10_test_data): Likewise.
11642 (log1p_test_data): Likewise.
11643 (log2_test_data): Likewise.
11644 (sin_test_data): Likewise.
11645 (sin_tonearest_test_data): Likewise.
11646 (sin_towardzero_test_data): Likewise.
11647 (sin_downward_test_data): Likewise.
11648 (sin_upward_test_data): Likewise.
11649 (sinh_test_data): Likewise.
11650 (sinh_tonearest_test_data): Likewise.
11651 (sinh_towardzero_test_data): Likewise.
11652 (sinh_downward_test_data): Likewise.
11653 (sinh_upward_test_data): Likewise.
11654 (tan_test_data): Likewise.
11655 (tan_tonearest_test_data): Likewise.
11656 (tan_towardzero_test_data): Likewise.
11657 (tan_downward_test_data): Likewise.
11658 (tan_upward_test_data): Likewise.
11659 (tanh_test_data): Likewise.
11660 (tgamma_test_data): Likewise.
11661 (y0_test_data): Likewise.
11662 (y1_test_data): Likewise.
11663 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11664 (special_real_inputs): Add pi/4.
11665 * sysdeps/i386/fpu/libm-test-ulps: Update.
11666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11667
eb5ad6b9
AZ
116682013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11669
11670 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11671 "longjmp_target" static probes.
11672 (__longjmp): Rename to __longjmp_symbol.
11673 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11674 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11675 on which longjmp to generate.
11676 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11677 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11678 probe.
11679 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11680 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11681 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11682 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11683 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11684 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11686 __longjmp_symbol based on which __longjmp to generate.
11687 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11688 probe.
11689 (setjmp): Rename to setjmp_symbol.
11690 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11691 (_setjmp): Rename to _setjmp_symbol.
11692 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11693 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11694 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11695 which setjmp to generate.
11696 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11697 "longjmp_target" static probes.
11698
d136c6dc
SP
116992013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11700
9298ecba
SP
11701 * benchtests/README: Add note about output arguments.
11702 * benchtests/bench-sincos.c: Remove file.
11703 * benchtests/sincos-inputs: New file.
11704 * scripts/bench.pl: Identify output arguments and define
11705 static variables for them.
11706
232983e9
SP
11707 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11708
d136c6dc
SP
11709 [BZ #15941]
11710 * Makefile (INSTALL): Add install-plain.texi as the primary
11711 dependency.
11712 * manual/install-plain.texi: New file.
11713 * manual/install.texi: Include node directive only for
11714 non-plaintext output.
11715
699ff837
JM
117162013-12-04 Joseph Myers <joseph@codesourcery.com>
11717
ab07cea8
JM
11718 * stdlib/longlong.h: Update from GCC.
11719
699ff837
JM
11720 [BZ #6807]
11721 [BZ #15901]
11722 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11723 * math/w_j0f.c (y0f): Likewise.
11724 * math/w_j0l.c (__y0l): Likewise.
11725 * math/w_j1.c (y1): Likewise.
11726 * math/w_j1f.c (y1f): Likewise.
11727 * math/w_j1l.c (__y1l): Likewise
11728 * math/w_jn.c (yn): Likewise.
11729 * math/w_jnf.c (ynf): Likewise.
11730 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11731 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11732 value for Bessel function domain errors outside _SVID_ mode.
11733 Adjust sign of return value for yn (negative integer, 0).
11734 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11735 by zero in return for negative x and set sign appropriately for
11736 negative n.
11737 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11738 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11739 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11740 expectations in error cases.
11741 (y1_test_data): Likewise.
11742 (yn_test_data): Likewise.
11743 * sysdeps/i386/fpu/libm-test-ulps: Update.
11744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11745
5b118558
UW
117462013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11747
11748 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11749 "64" to "64-v1". Add "64-v2".
11750 (abi-64-options): Rename to ...
11751 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11752 (abi-64-condition): Rename to ...
11753 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11754 (abi-64-ld-soname): Rename to ...
11755 (abi-64-v1-ld-soname): ... this.
11756 (abi-64-v2-options): Define.
11757 (abi-64-v2-condition): Likewise.
11758 (abi-64-v2-ld-soname): Likewise.
11759 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11760 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11764
61cd8fe4
UW
117652013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11766 Alan Modra <amodra@gmail.com>
11767
11768 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11769 New versions for use with the ELFv2 ABI.
11770 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11771 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11772 declaration.
11773 (struct La_ppc64v2_retval): Likewise.
11774 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11775 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11776 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11777 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11778 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11779 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11780 Do not save or restore CR.
11781 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11782 (_dl_profile_resolve): Do no save or restore CR. Support extended
11783 return values for ELFv2 ABI. Fix location of FPR return registers.
11784 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11785 updated values for _CALL_ELF == 2.
11786 (La_regs, La_retval, int_retval): Likewise.
11787
8b8a692c
UW
117882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11789
11790 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11791 (FRAME_MIN_SIZE_PARM): Likewise.
11792 (FRAME_BACKCHAIN): Likewise.
11793 (FRAME_CR_SAVE): Likewise.
11794 (FRAME_LR_SAVE): Likewise.
11795 (FRAME_TOC_SAVE): Likewise.
11796 (FRAME_PARM_SAVE): Likewise.
11797 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11798 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11799 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11800 (call_mcount_parm_offset): New macro.
11801 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11802 (PROF): Use symbolic stack frame offsets.
11803 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11804 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11805 Redefine in terms of FRAME_MIN_SIZE.
11806 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11807 (_dl_profile_resolve): Likewise. Update comment.
11808 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11809 symbols stack frame offsets.
11810 (__sigsetjmp): Likewise.
11811 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11812 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11813 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11814 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11815
11816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11817 (FRAME_BACKCHAIN): Remove.
11818 (FRAME_CR_SAVE): Likewise.
11819 (FRAME_LR_SAVE): Likewise.
11820 (FRAME_COMPILER_DW): Likewise.
11821 (FRAME_LINKER_DW): Likewise.
11822 (FRAME_TOC_SAVE): Likewise.
11823 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
11824 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11825 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11826 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
11827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11828 (CHECK_SP): Use symbolic stack frame offsets.
11829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11830 zone" instead of caller's parameter save area for temp storage.
11831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11832 Likewise. Also, use symbolic stack frame offsets.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11834 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11835 our own stack frame instead of the caller's.
11836 (__socket): Use symbolic stack frame offsets.
11837
122b66de
UW
118382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11839 Alan Modra <amodra@gmail.com>
11840
11841 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11842 Define.
57f41c40
AS
11843 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11844 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
11845 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11846 New function.
11847 (elf_machine_fixup_plt): Call it.
11848 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11849 reloc arguments.
11850 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
11851 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11852 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
11853 r2 before calling target.
11854
696caf1d
UW
118552013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11856 Alan Modra <amodra@gmail.com>
11857
11858 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11859 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11860 versions of macros to support ELFv2 ABI.
11861 (LOCALENTRY): New macro.
11862 (ENTRY, EALIGN): Use it.
11863 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11864 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11865 fall through into ENTRY entry point.
11866 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11867 Only define if _CALL_ELF != 2.
11868
11869 (elf_machine_matches_host): Verify ABI version matches.
11870 (RTLD_START): Use LOCALENTRY.
11871 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11872 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11873 (PLT_ENTRY_WORDS): New macro.
11874 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11875 (elf_machine_runtime_setup): Support ELFv2 ABI.
11876 (elf_machine_fixup_plt): Likewise.
11877 (elf_machine_plt_conflict): Likewise.
11878 (resolve_ifunc): Likewise.
11879 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11880 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11881 Likewise.
11882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11883 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11885 (makecontext): Support ELFv2 ABI.
11886 * elf/elf.h (EF_PPC64_ABI): Define.
11887
d31beafa
UW
118882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11889
57f41c40
AS
11890 * sysdeps/powerpc/powerpc64/sysdep.h
11891 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11892 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11893 (ENTRY) [ASSEMBLER]: ... but instead here ...
11894 (EALIGN) [ASSEMBLER]: ... and here.
11895 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11896 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11897 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
11898 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11899 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
11900 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11901 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
11902 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11904 Use PPC64_LOAD_FUNCPTR.
11905
b525166b
UW
11906 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11907
7ec07d9a
AM
119082013-12-04 Alan Modra <amodra@gmail.com>
11909
11910 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11911 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11912 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11913 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11914
11915 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11916 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11917 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11918 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11919 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11920 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11921
5162e7dd
UW
119222013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11923
11924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11925 (__makecontext): Fix incorrect CFI when backtracing out of
11926 context created via makecontext.
11927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11928 (__setcontext): Fix incorrect CFI during switch to new context.
11929 (__novec_setcontext): Likewise.
11930
19e3372b
OB
119312013-12-04 Ondřej Bílka <neleai@seznam.cz>
11932
11933 [BZ #4772]
11934 * time/strptime_l.c (__strptime_internal): Allow modifiers
11935 in strptime.
11936 * time/tst-strptime.c (day_tests): Add testcase.
11937
ecaf142d
SP
119382013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11939
11940 * scripts/bench.pl: Skip over blank lines.
11941
fbf964ae
PE
119422013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11943
11944 [BZ #926]
11945 * manual/time.texi (Calendar Time): Clarify what timezone functions
11946 use.
11947
fa60a674
AZ
119482013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11949
11950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11951
d674f0ef
OB
119522013-12-04 Ondřej Bílka <neleai@seznam.cz>
11953
11954 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11955 implementation.
11956 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11957 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11958 * debug/memset_chk.c (__memset_chk): Likewise.
11959 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11960 * debug/strncpy_chk.c: Likewise.
11961
17dea188
JM
119622013-12-03 Joseph Myers <joseph@codesourcery.com>
11963
749008ff
JM
11964 [BZ #15268]
11965 [BZ #15425]
11966 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11967 (__ieee754_exp): For possibly underflowing results, check size of
11968 result and force underflow exception if required.
11969 * math/auto-libm-test-in: Add more tests of exp.
11970 * math/auto-libm-test-out: Regenerated.
11971 * sysdeps/i386/fpu/libm-test-ulps: Update.
11972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11973
17dea188
JM
11974 [BZ #16283]
11975 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11976 * math/w_exp2f.c (__exp2f): Likewise.
11977 * math/w_exp2l.c (__exp2l): Likewise.
11978 * math/auto-libm-test-in: Do not allow missing errno on exp2
11979 underflow.
11980 * math/auto-libm-test-out: Regenerated.
11981
b20de2c3
OB
119822013-12-03 Ondřej Bílka <neleai@seznam.cz>
11983
11984 [BZ #16274]
11985 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11986 handle filename validation.
11987 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11988 (do_open): Delete.
11989
d8e2dbe3
JM
119902013-12-03 Joseph Myers <joseph@codesourcery.com>
11991
34e16df5
JM
11992 [BZ #6786]
11993 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11994 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11995 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11996 <float.h>.
11997 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11998 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11999 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12000 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12001 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12002 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12003 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12004 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12005 Add more erfc tests.
12006 * math/auto-libm-test-out: Regenerated.
12007 * sysdeps/i386/fpu/libm-test-ulps: Update.
12008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12009
d8e2dbe3
JM
12010 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12011 exp2, expm1, j0 and j1.
12012 * math/auto-libm-test-out: Regenerated.
12013 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12014 (erfc_test_data): Likewise.
12015 (exp_test_data): Likewise.
12016 (exp_tonearest_test_data): Likewise.
12017 (exp_towardzero_test_data): Likewise.
12018 (exp_downward_test_data): Likewise.
12019 (exp_upward_test_data): Likewise.
12020 (exp10_test_data): Likewise.
12021 (exp2_test_data): Likewise.
12022 (expm1_test_data): Likewise.
12023 (j0_test_data): Likewise.
12024 (j1_test_data): Likewise.
12025 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12026 (input_flag_type): Add flag_xfail_rounding.
12027 (input_flags): Add xfail-rounding.
12028 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12029 (output_for_one_input_case): Handle flag_xfail_rounding.
12030 * sysdeps/i386/fpu/libm-test-ulps: Update.
12031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12032
18d14251
AJ
120332013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12034
3d2e6075 12035 [BZ #16289]
18d14251
AJ
12036 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12037 division by 0.
12038
520d437b
SP
120392013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12040
12041 [BZ #16195]
12042 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12043 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12044 (STAP_PROBE0): New macro.
12045 (STAP_PROBE1): Likewise.
12046 (STAP_PROBE2): Likewise.
12047 (STAP_PROBE3): Likewise.
12048 (STAP_PROBE4): Likewise.
12049
416e0145
OB
120502013-12-02 Ondřej Bílka <neleai@seznam.cz>
12051
12052 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12053
9d17796a
SE
120542013-12-02 Steve Ellcey <sellcey@mips.com>
12055
12056 * benchtests/Makefile (bench): Add sqrt.
12057 (LDLIBS-bench-sqrt): New.
12058 * benchtests/sqrt-input: New.
12059
f524d6a8
PS
120602013-12-02 Pavel Simerda <psimerda@redhat.com>
12061
639a0ef8
PS
12062 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12063 (GAIH_EAI): Likewise.
12064 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12065 (gaih_inet): Likewise.
12066 (getaddrinfo): Don't use GAIH_EAI.
12067
f524d6a8
PS
12068 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12069 (struct gaih): Remove definition.
12070
df3aedaf
SP
120712013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12072
12073 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12074 Use HERRNOP directly.
12075
1ab19dec
AZ
120762013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12077
b42ad38d 12078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 12079
176b0c79
JM
120802013-11-30 Joseph Myers <joseph@codesourcery.com>
12081
12082 * math/gen-auto-libm-tests.c (test_functions): Add more
12083 single-argument functions.
12084 (special_fill_pi_2): New function.
12085 (special_fill_minus_pi_2): Likewise.
12086 (special_fill_pi_6): Likewise.
12087 (special_fill_minus_pi_6): Likewise.
12088 (special_fill_pi_3): Likewise.
12089 (special_fill_2pi_3): Likewise.
12090 (special_fill_e): Likewise.
12091 (special_fill_1_e): Likewise.
12092 (special_fill_e_minus_1): Likewise.
12093 (special_real_inputs): Add more special inputs.
12094 (output_for_one_input_case): Do not require ERANGE on underflow to
12095 zero if round-to-nearest result does not underflow to zero, unless
12096 exact results required.
12097 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12098 atan, atanh, cbrt, cos and cosh.
12099 * math/auto-libm-test-out: Regenerated.
12100 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12101 (acos_tonearest_test_data): Likewise.
12102 (acos_towardzero_test_data): Likewise.
12103 (acos_downward_test_data): Likewise.
12104 (acos_upward_test_data): Likewise.
12105 (acosh_test_data): Likewise.
12106 (asin_test_data): Likewise.
12107 (asin_tonearest_test_data): Likewise.
12108 (asin_towardzero_test_data): Likewise.
12109 (asin_upward_test_data): Likewise.
12110 (asinh_test_data): Likewise.
12111 (atan_test_data): Likewise.
12112 (atanh_test_data): Likewise.
12113 (cbrt_test_data): Likewise.
12114 (cos_test_data): Likewise.
12115 (cos_tonearest_test_data): Likewise.
12116 (cos_towardzero_test_data): Likewise.
12117 (cos_downward_test_data): Likewise.
12118 (cos_upward_test_data): Likewise.
12119 (cosh_test_data): Likewise.
12120 (cosh_tonearest_test_data): Likewise.
12121 (cosh_towardzero_test_data): Likewise.
12122 (cosh_downward_test_data): Likewise.
12123 (cosh_upward_test_data): Likewise.
12124 * sysdeps/i386/fpu/libm-test-ulps: Update.
12125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12126
ffb536d0
JM
121272013-11-29 Joseph Myers <joseph@codesourcery.com>
12128
2a77a467
JM
12129 [BZ #6787]
12130 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12131 * math/w_exp10f.c (__exp10f): Likewise.
12132 * math/w_exp10l.c (__exp10l): Likewise.
12133 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12134 errno settings in existing tests.
12135
ea3bc4e8
JM
12136 [BZ #14032]
12137 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12138 precision control set to double precision.
12139 * sysdeps/i386/fpu/w_sqrt.c: New file.
12140 * math/auto-libm-test-in: Add more tests.
12141 * math/auto-libm-test-out: Update.
12142
0712c9d8
JM
12143 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12144 (sqrt_test_tonearest): New function.
12145 (sqrt_towardzero_test_data): New variable.
12146 (sqrt_test_towardzero): New function.
12147 (sqrt_downward_test_data): New variable.
12148 (sqrt_test_downward): New function.
12149 (sqrt_upward_test_data): New variable.
12150 (sqrt_test_upward): New function.
12151 (main): Call the new functions.
12152
ffb536d0
JM
12153 * math/gen-auto-libm-tests.c: New file.
12154 * math/auto-libm-test-in: Likewise.
12155 * math/auto-libm-test-out: New generated file.
12156 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12157 variables.
12158 (%beautify): Add generated representations of zero.
12159 (top level): Set $auto_input and call parse_auto_input.
12160 (beautify): Remove trailing "f" from hex float constants.
12161 (parse_args): Handle XFAIL_TEST.
12162 (convert_condition): New function.
12163 (or_value): Likewise.
12164 (or_cond_value): Likewise.
12165 (generate_testfile): Handle AUTO_TESTS_* lines.
12166 (parse_auto_input): New function.
12167 * math/libm-test.inc (XFAIL_TEST): New macro.
12168 (ERRNO_UNCHANGED): Update value.
12169 (ERRNO_EDOM): Likewise.
12170 (ERRNO_ERANGE): Likewise.
12171 (IGNORE_RESULT): Likewise.
12172 (TEST_COND_flt_32): New macro.
12173 (TEST_COND_dbl_64): Likewise.
12174 (TEST_COND_ldbl_96_intel): Likewise.
12175 (TEST_COND_ldbl_96_m68k): Likewise.
12176 (TEST_COND_ldbl_128): Likewise.
12177 (TEST_COND_ldbl_128ibm): Likewise.
12178 (TEST_COND_long32): Likewise.
12179 (TEST_COND_long64): Likewise.
12180 (TEST_COND_before_rounding): Likewise.
12181 (TEST_COND_after_rounding): Likewise.
12182 (enable_test): Handle XFAIL_TEST flag.
12183 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12184 with finite results.
12185 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12186 auto-libm-test-out.
12187
acd98a8e
AK
121882013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12189 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12190
12191 [BZ #16214]
12192 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12193 __tls_get_addr_internal instead of __tls_get_offset in order to
12194 avoid GOT pointer dependency. Make rtld export
12195 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12196 __tls_get_addr since we are a __tls_get_offset platform.
12197 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12198 GOT pointer being set up before.
12199 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12200
3c1c46a6
JM
122012013-11-28 Joseph Myers <joseph@codesourcery.com>
12202
7475aef5
JM
12203 * manual/math.texi (Errors in Math Functions): Document accuracy
12204 goals.
12205
8bca7cd8
JM
12206 [BZ #15004]
12207 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12208 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12209 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12210 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12211 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12212 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12213 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12214 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12215 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12216 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12218 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12219 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12220 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12221 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12222 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12223
91a1f3fe
JM
12224 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12225 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12226 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12227 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12228 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12229 Likewise.
12230 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12231 Likewise.
12232 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12233 Likewise.
12234 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12235 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12236 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12237 atomic-feupdateenv and flt-rounds.
12238 * sysdeps/powerpc/nofpu/Versions (libc): Add
12239 __atomic_feholdexcept, __atomic_feclearexcept,
12240 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12241 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12242 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12243 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12244 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12245 here.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12247 Update.
12248
c5df7609
JM
12249 * manual/arith.texi (FP Exceptions): Document that exceptions may
12250 not be raised when matherr is used.
12251 (Math Error Reporting): Document overflow in directed rounding
12252 modes. Document that errno may not be set when finite values are
12253 returned on overflow. Document intent to set errno on underflow
12254 only for underflow to zero.
12255
3c1c46a6
JM
12256 [BZ #16271]
12257 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12258 round-to-nearest then adjust result for other rounding modes.
12259 * include/fenv.h (fegetround): Use libm_hidden_proto.
12260 * math/fegetround.c (fegetround): Use libm_hidden_def.
12261 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12262 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12263 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12264 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12265 Likewise.
12266 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12267 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12268 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12269 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12270
5a4c6d53
SP
122712013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12272
12273 [BZ #16077]
12274 * nss/Versions (libnss_files): Add
12275 _nss_files_gethostbyname3_r.
12276 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12277 New function.
12278 (HOST_DB_LOOKUP): Remove macro.
12279 (_nss_files_gethostbyname_r): Implement function without the
12280 HOST_DB_LOOKUP macro.
12281 (_nss_files_gethostbyname2_r): Likewise.
12282
897b98ba
OB
122832013-11-28 Ondřej Bílka <neleai@seznam.cz>
12284
12285 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12286
6f476861
UB
122872013-11-26 Uros Bizjak <ubizjak@gmail.com>
12288
12289 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12290 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12291 warning.
12292
bd12ab55
AZ
122932013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12294
12295 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12296 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12297 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12298 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12299 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12300 __fe_nomask_env_priv and attribute_hidden.
12301 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12302 (libc_feupdateenv_test_ppc): Likewise.
12303 (libc_feresetround_ppc): Likewise.
12304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12305 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12306 compat_symbol macro.
12307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12308 (__fe_nomask_env): Likewise.
12309 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12310
52bb6543
OB
123112013-11-26 Ondřej Bílka <neleai@seznam.cz>
12312
12313 * string/Makefile: Remove ifunc tests.
12314 * string/test-string.h: Define TEST_IFUNC.
12315 * string/test-bcopy-ifunc.c: Remove.
12316 * string/test-bzero-ifunc.c: Likewise.
12317 * string/test-memccpy-ifunc.c: Likewise.
12318 * string/test-memchr-ifunc.c: Likewise.
12319 * string/test-memcmp-ifunc.c: Likewise.
12320 * string/test-memcpy-ifunc.c: Likewise.
12321 * string/test-memmem-ifunc.c: Likewise.
12322 * string/test-memmove-ifunc.c: Likewise.
12323 * string/test-mempcpy-ifunc.c: Likewise.
12324 * string/test-memrchr-ifunc.c: Likewise.
12325 * string/test-memset-ifunc.c: Likewise.
12326 * string/test-rawmemchr-ifunc.c: Likewise.
12327 * string/test-stpcpy-ifunc.c: Likewise.
12328 * string/test-stpncpy-ifunc.c: Likewise.
12329 * string/test-strcasecmp-ifunc.c: Likewise.
12330 * string/test-strcasestr-ifunc.c: Likewise.
12331 * string/test-strcat-ifunc.c: Likewise.
12332 * string/test-strchr-ifunc.c: Likewise.
12333 * string/test-strchrnul-ifunc.c: Likewise.
12334 * string/test-strcmp-ifunc.c: Likewise.
12335 * string/test-strcpy-ifunc.c: Likewise.
12336 * string/test-strcspn-ifunc.c: Likewise.
12337 * string/test-strlen-ifunc.c: Likewise.
12338 * string/test-strncasecmp-ifunc.c: Likewise.
12339 * string/test-strncat-ifunc.c: Likewise.
12340 * string/test-strncmp-ifunc.c: Likewise.
12341 * string/test-strncpy-ifunc.c: Likewise.
12342 * string/test-strnlen-ifunc.c: Likewise.
12343 * string/test-strpbrk-ifunc.c: Likewise.
12344 * string/test-strrchr-ifunc.c: Likewise.
12345 * string/test-strspn-ifunc.c: Likewise.
12346 * string/test-strstr-ifunc.c: Likewise.
12347
ab260039 123482013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
12349
12350 * benchtests/Makefile: Remove ifunc tests.
12351 * benchtests/bench-string.h: Define TEST_IFUNC.
12352 * benchtests/bench-bcopy-ifunc.c: Remove.
12353 * benchtests/bench-bzero-ifunc.c: Likewise.
12354 * benchtests/bench-memccpy-ifunc.c: Likewise.
12355 * benchtests/bench-memchr-ifunc.c: Likewise.
12356 * benchtests/bench-memcmp-ifunc.c: Likewise.
12357 * benchtests/bench-memcpy-ifunc.c: Likewise.
12358 * benchtests/bench-memmem-ifunc.c: Likewise.
12359 * benchtests/bench-memmove-ifunc.c: Likewise.
12360 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12361 * benchtests/bench-memrchr-ifunc.c: Likewise.
12362 * benchtests/bench-memset-ifunc.c: Likewise.
12363 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12364 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12365 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12366 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12367 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12368 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12369 * benchtests/bench-strcat-ifunc.c: Likewise.
12370 * benchtests/bench-strchr-ifunc.c: Likewise.
12371 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12372 * benchtests/bench-strcmp-ifunc.c: Likewise.
12373 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12374 * benchtests/bench-strcpy-ifunc.c: Likewise.
12375 * benchtests/bench-strcspn-ifunc.c: Likewise.
12376 * benchtests/bench-strlen-ifunc.c: Likewise.
12377 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12378 * benchtests/bench-strncat-ifunc.c: Likewise.
12379 * benchtests/bench-strncmp-ifunc.c: Likewise.
12380 * benchtests/bench-strncpy-ifunc.c: Likewise.
12381 * benchtests/bench-strnlen-ifunc.c: Likewise.
12382 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12383 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 12384 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
12385 * benchtests/bench-strspn-ifunc.c: Likewise.
12386 * benchtests/bench-strstr-ifunc.c: Likewise.
12387
123882013-11-26 Ondřej Bílka <neleai@seznam.cz>
12389
ab260039
OB
12390 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12391
d1d9eaf4 123922013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 12393
d1d9eaf4
OB
12394 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12395 * rt/aio.h: Likewise.
12396 * sysdeps/gnu/bits/utmp.h: Likewise.
12397 * sysdeps/gnu/bits/utmpx.h: Likewise.
12398 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12399 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12400 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12401 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12402 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12403 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12404 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12405 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12406 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12407 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12408 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12409 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12410 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12412 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12413 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12414 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12415 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12416 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12417 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12418 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12419 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12420 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12421 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12422 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12423 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12424 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12425 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12426 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12427 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12428 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12429 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12430 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12432 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12433 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12434 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12435 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12436 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12437 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12438 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12439 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12440
a7624ed9
CD
124412013-11-25 Carlos O'Donell <carlos@redhat.com>
12442
12443 [BZ #16245]
12444 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12445 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12446
63cfe52b
JM
124472013-11-25 Joseph Myers <joseph@codesourcery.com>
12448
12449 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12450 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12451 Likewise.
12452
41e8926a
AZ
124532013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12454
12455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12456 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12457 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12458 (__fesetround): Remove define.
12459 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12460 rounding and exceptions handling.
12461 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12462 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12463 (__fe_nomask_env): Likewise.
12464 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12465 __fegetround instead of fegetround.
12466 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12467 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12468
6851bd4d
RM
124692013-11-21 Roland McGrath <roland@hack.frob.com>
12470
070906ff
RM
12471 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12472 it's there.
12473
6851bd4d
RM
12474 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12475
84ae135d
MI
124762013-11-21 Meador Inge <meadori@codesourcery.com>
12477
12478 [BZ #11157]
12479 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12480 (encrypt_r): Likewise.
12481 * malloc/obstack.h (obstack_free): Likewise.
12482 * posix/unistd.h (encrypt): Likewise.
12483
daf75146
GM
124842013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12485
12486 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12487 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12488 DL_CALL_DT_FINI() that call the functions directly.
12489 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12490 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12491 * elf/dl-fini.c: Likewise.
12492
10ad46bc
OB
124932013-11-20 Ondřej Bílka <neleai@seznam.cz>
12494
12495 * malloc/hooks.c (memalign_check): Add alignment rounding.
12496 * malloc/malloc.c (_mid_memalign): New function.
12497 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12498 Implement by calling _mid_memalign.
12499 * manual/probes.texi (Memory Allocation Probes): Remove
12500 memory_valloc_retry and memory_pvalloc_retry.
12501
f3fd2628
SP
125022013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12503
4712799f
SP
12504 * locale/programs/locarchive.c (open_archive): Add const
12505 qualifier to ARCHIVEFNAME and copy default fname to
12506 DEFAULT_FNAME.
12507
0417b20f
SP
12508 [BZ #15601]
12509 * libio/tst-widetext.input: Rename Oriya to Odia.
12510 * locale/iso-639.def: Likewise.
12511
f3fd2628
SP
12512 * manual/probes.texi (Mathematical Function Probes): Add
12513 documentation for sin, cos, asin and acos probes.
12514 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12515 (__sin32): Add slowasin probe.
12516 (__cos32): Add slowacos probe.
12517 (__mpsin): Add slowsin probe.
12518 (__mpcos): Add slowcos probe.
12519
73c1ce4f
JM
125202013-11-19 Joseph Myers <joseph@codesourcery.com>
12521
12522 [BZ #15483]
12523 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12524 thread-local __sim_exceptions_thread and global
12525 __sim_exceptions_global.
12526 (__sim_disabled_exceptions): Change to thread-local
12527 __sim_disabled_exceptions_thread and global
12528 __sim_disabled_exceptions_global.
12529 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12530 and global __sim_round_mode_global.
12531 (__simulate_exceptions): Use thread-local floating-point state and
12532 set global state from it as needed.
12533 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12534 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12535 __sim_round_mode_thread.
12536 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12537 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12538 and global __sim_exceptions_global.
12539 (__sim_disabled_exceptions): Change to thread-local
12540 __sim_disabled_exceptions_thread and global
12541 __sim_disabled_exceptions_global.
12542 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12543 and global __sim_round_mode_global.
12544 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12545 (SIM_SET_GLOBAL): Likewise.
12546 * sysdeps/powerpc/soft-fp/sfp-machine.h
12547 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12548 __sim_round_mode_thread.
12549 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12550 __sim_disabled_exceptions_thread.
12551 (__sim_exceptions): Change to __sim_exceptions_thread.
12552 (__sim_disabled_exceptions): Change to
12553 __sim_disabled_exceptions_thread.
12554 (__sim_round_mode): Change to __sim_round_mode_thread.
12555 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12556 thread-local floating-point state and set global state from it as
12557 needed.
12558 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12559 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12560 (__sim_disabled_exceptions): Remove extern declaration.
12561 (feenableexcept): Use thread-local floating-point state and set
12562 global state from it as needed.
12563 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12564 extern declaration.
12565 (__sim_disabled_exceptions): Likewise.
12566 (__sim_round_mode): Likewise.
12567 (__fegetenv): Use thread-local floating-point state.
12568 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12569 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12570 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12571 floating-point state and set global state from it as needed.
12572 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12573 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12574 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12575 Likewise.
12576 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12577 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12578 Likewise.
12579 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12580 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12581 Use __sim_round_mode_thread.
12582 * math/test-fenv-tls.c: New file.
12583 * math/Makefile (tests): Add test-fenv-tls.
12584 ($(objpfx)test-fenv-tls): Depend on
12585 $(common-objpfx)nptl/libpthread.so.
12586
b5449b12
AS
125872013-11-19 Andreas Schwab <schwab@suse.de>
12588
12589 * locale/programs/locale.c (show_info): Decode wordarray elements.
12590 * locale/categories.def (LC_MONETARY): Add element for
12591 _NL_MONETARY_CRNCYSTR.
12592 * locale/C-monetary.c (conversion_rate): New variable.
12593 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12594 element.
12595
e186536b
CM
125962013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12597
12598 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12599 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12600
5c349950
PP
126012013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12602
12603 * elf/Makefile (tst-auxv): New test.
12604 * elf/tst-auxv.c: New
12605 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12606
699df45b
JM
126072013-11-18 Joseph Myers <joseph@codesourcery.com>
12608
12609 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12610 (hidden_proto): Caller changed.
12611 (hidden_tls_proto): New macro.
12612 (libc_hidden_tls_proto): Likewise.
12613 (rtld_hidden_tls_proto): Likewise.
12614 (libm_hidden_tls_proto): Likewise.
12615 (libresolv_hidden_tls_proto): Likewise.
12616 (librt_hidden_tls_proto): Likewise.
12617 (libdl_hidden_tls_proto): Likewise.
12618 (libnss_files_hidden_tls_proto): Likewise.
12619 (libnsl_hidden_tls_proto): Likewise.
12620 (libnss_nisplus_hidden_tls_proto): Likewise.
12621 (libutil_hidden_tls_proto): Likewise.
12622
b7589107
OB
126232013-11-18 Ondřej Bílka <neleai@seznam.cz>
12624
12625 [BZ #10253]
12626 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12627 (decompose_rpath): Defer expansion to fillin_rpath.
12628 (_dl_init_paths): Pass linkmap to fillin_rpath.
12629
250c23bd
RS
126302013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12631
12632 * benchtests/Makefile: Add strsep.
12633 * benchtests/bench-strsep.c: New file: strsep benchtest.
12634 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12635
a7931fcf
AS
126362013-11-18 Andreas Schwab <schwab@suse.de>
12637
12638 * locale/programs/locale.c (show_info) [case byte]: Check for
12639 '\377' instead of '\177'.
12640 * locale/C-monetary.c (not_available): Always use "\377".
12641 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12642 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12643 detect unavailable sign_posn locale elements.
12644 * locale/localeconv.c (__localeconv): For grouping and
12645 mon_grouping handle "\177" and "\377" like no grouping.
12646 (INT_ELEM): New macro. Use it to set all numeric members.
12647 * locale/programs/ld-monetary.c (monetary_read)
12648 <tok_mon_grouping>: Normalize single -1 to the empty string.
12649 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12650 Likewise.
12651
728dab0e
OB
126522013-11-07 Ondřej Bílka <neleai@seznam.cz>
12653
12654 [BZ #16055]
12655 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12656 when we match (nil).
12657 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12658
66294491
JM
126592013-11-16 Joseph Myers <joseph@codesourcery.com>
12660
ce665817
JM
12661 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12662 (NO_TEST_INLINE): Update value.
12663 (ERRNO_UNCHANGED): Likewise.
12664 (ERRNO_EDOM): Likewise.
12665 (ERRNO_ERANGE): Likewise.
12666 (IGNORE_RESULT): Likewise.
12667 (check_float_internal): Check signs of NaN results if
12668 TEST_NAN_SIGN used.
12669 (check_complex): Pass TEST_NAN_SIGN flag through to second
12670 check_float_internal call.
12671 (copysign_test_data): Add tests with quiet NaNs as second
12672 argument. Use TEST_NAN_SIGN.
12673 (fabs_test_data): Add test of negative quiet NaN argument. Use
12674 TEST_NAN_SIGN.
12675 (signbit_test_data): Add tests of quiet NaN argument.
12676 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12677
ee1466a9
JM
12678 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12679 $ignore_result.
12680 (parse_args): Handle function results specified as IGNORE.
12681 * math/libm-test.inc (IGNORE_RESULT): New macro.
12682 (check_float_internal): Do not check numerical result if flag
12683 IGNORE_RESULT set.
12684 (check_complex): Pass through IGNORE_RESULT to second
12685 check_float_internal call.
12686 (check_int): Do not check numerical result if flag IGNORE_RESULT
12687 set.
12688 (check_long): Likewise.
12689 (check_bool): Likewise.
12690 (check_longlong): Likewise.
12691 (lrint_test_data): Add tests of infinite and NaN arguments.
12692 (lrint_tonearest_test_data): Likewise.
12693 (lrint_towardzero_test_data): Likewise.
12694 (lrint_downward_test_data): Likewise.
12695 (lrint_upward_test_data): Likewise.
12696 (llrint_test_data): Likewise.
12697 (llrint_tonearest_test_data): Likewise.
12698 (llrint_towardzero_test_data): Likewise.
12699 (llrint_downward_test_data): Likewise.
12700 (llrint_upward_test_data): Likewise.
12701 (lround_test_data): Likewise.
12702 (llround_test_data): Likewise.
12703
14407b7e
JM
12704 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12705 (ERRNO_UNCHANGED): Update value.
12706 (ERRNO_EDOM): Likewise.
12707 (ERRNO_ERANGE): Likewise.
12708 (NO_TEST_INLINE_FLOAT): New macro.
12709 (NO_TEST_INLINE_DOUBLE): Likewise.
12710 (enable_test): New function.
12711 (RUN_TEST_f_f): Check enable_test before running test.
12712 (RUN_TEST_2_f): Likewise.
12713 (RUN_TEST_fff_f): Likewise.
12714 (RUN_TEST_c_f): Likewise.
12715 (RUN_TEST_f_f1): Likewise.
12716 (RUN_TEST_fF_f1): Likewise.
12717 (RUN_TEST_fI_f1): Likewise.
12718 (RUN_TEST_ffI_f1): Likewise.
12719 (RUN_TEST_c_c): Likewise.
12720 (RUN_TEST_cc_c): Likewise.
12721 (RUN_TEST_f_i): Likewise.
12722 (RUN_TEST_f_i_tg): Likewise.
12723 (RUN_TEST_ff_i_tg): Likewise.
12724 (RUN_TEST_f_b): Likewise.
12725 (RUN_TEST_f_b_tg): Likewise.
12726 (RUN_TEST_f_l): Likewise.
12727 (RUN_TEST_f_L): Likewise.
12728 (RUN_TEST_fFF_11): Likewise.
12729 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12730 conditionals.
12731 (cosh_test_data): Likewise.
12732 (exp_test_data): Likewise.
12733 (expm1_test_data): Likewise.
12734 (hypot_test_data): Likewise.
12735 (pow_test_data): Likewise.
12736 (sinh_test_data): Likewise.
12737 (tanh_test_data): Likewise.
12738 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12739 flags argument.
12740
ca07f197
JM
12741 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12742 tests with quiet NaN input and output.
12743 (acosh_test_data): Likewise.
12744 (asin_test_data): Likewise.
12745 (asinh_test_data): Likewise.
12746 (atan_test_data): Likewise.
12747 (atanh_test_data): Likewise.
12748 (atan2_test_data): Likewise.
12749 (cbrt_test_data): Likewise.
12750 (cos_test_data): Likewise.
12751 (cosh_test_data): Likewise.
12752 (erf_test_data): Likewise.
12753 (erfc_test_data): Likewise.
12754 (exp_test_data): Likewise.
12755 (exp10_test_data): Likewise.
12756 (exp2_test_data): Likewise.
12757 (expm1_test_data): Likewise.
12758 (hypot_test_data): Likewise.
12759 (j0_test_data): Likewise.
12760 (j1_test_data): Likewise.
12761 (jn_test_data): Likewise.
12762 (lgamma_test_data): Likewise.
12763 (log_test_data): Likewise.
12764 (log10_test_data): Likewise.
12765 (log1p_test_data): Likewise.
12766 (log2_test_data): Likewise.
12767 (pow_test_data): Likewise.
12768 (scalb_test_data): Likewise.
12769 (sin_test_data): Likewise.
12770 (sincos_test_data): Likewise.
12771 (sinh_test_data): Likewise.
12772 (tan_test_data): Likewise.
12773 (tanh_test_data): Likewise.
12774 (tgamma_test_data): Likewise.
12775 (y0_test_data): Likewise.
12776 (y1_test_data): Likewise.
12777 (yn_test_data): Likewise.
12778
66294491
JM
12779 [BZ #16167]
12780 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12781 argument being NaN and avoid computations with second argument in
12782 that case.
12783 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12784 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12785 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12786
1820b143
CL
127872013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12788
12789 * locale/iso-639.def: Add Chitwani Tharu (the).
12790
714bd261
AS
127912013-11-14 Andreas Schwab <schwab@suse.de>
12792
12793 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12794 word instead of empty string.
12795
7ab44563
AZ
127962013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12797
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12799 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12801 (__fe_nomask_env): Likewise.
12802
e8470ea2
SE
128032013-11-13 Steve Ellcey <sellcey@mips.com>
12804
12805 * benchtests/bench-timing.h: Include time.h.
12806
17c1d9f0
L
128072013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12808
12809 [BZ #15997]
12810 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12811 to 3.4.0 for x32.
12812 * sysdeps/unix/sysv/linux/configure: Regenerated.
12813
9310c284
JM
128142013-11-13 Joseph Myers <joseph@codesourcery.com>
12815
12816 [BZ #16151]
12817 * stdlib/strtod_l.c (round_and_return): Do not consider
12818 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12819 exponent one less than half the least subnormal exponent.
12820 * stdlib/test-strtod-round-data: Add more tests.
12821 * stdlib/tst-strtod-round.c (tests): Regenerated.
12822
7a2ad8cf
AZ
128232013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12824
12825 [BZ #14143]
12826 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12827 (__fe_mask_env): Likewise.
12828 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12829 libm_hidden_proto and add function prototype.
12830 (__fe_mask_env): Add function prototype.
12831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12832 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12834 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12836 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12837
50727aa7
MS
128382013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12839
b2f386c1 12840 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
12841 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12842
a615be46
MS
128432013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12844
12845 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12846 of htab_find_slot().
12847
7ddace62
DM
128482013-11-11 David S. Miller <davem@davemloft.net>
12849
12850 [BZ #16150]
12851 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12852 symbol in the non-vis3 case in static builds.
12853 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12854 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12855 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12856 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12857
9182aa67
JK
128582013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12859
12860 [BZ #387]
12861 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12862 it is empty.
12863
450a2e2d
AZ
128642013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12865
b2f386c1
SP
12866 * benchtests/Makefile: Add bench-strtod.
12867 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 12868
8ec3f656
AS
128692013-11-11 Andreas Schwab <schwab@suse.de>
12870
12871 [BZ #16153]
12872 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12873 terminating NUL in key length.
12874
76a9b998
AZ
128752013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12876
12877 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12878 Add artificial ODP entry for vDSO symbol for PPC64.
12879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12880 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12881
e4368156
OB
128822013-11-07 Ondřej Bílka <neleai@seznam.cz>
12883
12884 [BZ #15374]
12885 * nss/getent.c (services_keys): Recognize services starting with digit.
12886
8d6bb57c
DM
128872013-11-06 David S. Miller <davem@davemloft.net>
12888
12889 [BZ #15985]
12890 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12891 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12892
e256c421
WN
128932013-11-06 Will Newton <will.newton@linaro.org>
12894
12895 * manual/memory.texi (Malloc Examples): Remove register
12896 keyword from examples.
12897
f6e12daa 128982013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 12899
f6e12daa 12900 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 12901
9d880655
AS
129022013-11-04 Joseph Myers <joseph@codesourcery.com>
12903
fd2f9486 12904 [BZ #6981]
9d880655
AS
12905 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12906 depending on [__GCC_IEC_559 > 0].
12907 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12908 depending on [__GCC_IEC_559_COMPLEX > 0].
12909
ae129d3c
CL
129102013-11-03 Chris Leonard <cjl@sugarlabs.org>
12911
12912 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12913 to iso-639.def.
12914
4a15c2a4 129152013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
12916
12917 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12918
8b35e35d
OB
129192013-11-01 Ondřej Bílka <neleai@seznam.cz>
12920
12921 [BZ #16112]
12922 * malloc/malloc (malloc_info): Do not handle first bin as
12923 special case.
12924
1d70fd6c
CL
129252013-11-01 Chris Leonard <cjl@sugarlabs.org>
12926
12927 * locale/iso-639.def: Add Central Nahuatl (nhn).
12928
8c5c2600
BH
129292013-11-01 Bruno Haible <bruno@clisp.org>
12930
12931 [BZ #7003]
12932 * manual/math.texi (BSD Random): Specify range upper bound as
12933 in POSIX.
12934
da5579c2
CL
129352013-10-31 Chris Leonard <cjl@sugarlabs.org>
12936
12937 * locale/iso-639.def: Add Meadow Mari (mhr).
12938
5d30d853
OB
129392013-10-31 Ondřej Bílka <neleai@seznam.cz>
12940
12941 [BZ #14752], [BZ #15763]
12942 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12943 Validate name.
12944 * rt/tst_shm.c: Add test for escaping directory.
12945
a4966c61
AS
129462013-10-31 Andreas Schwab <schwab@suse.de>
12947
8a43e768 12948 [BZ #15917]
a4966c61
AS
12949 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12950 followed by 'x' as part of digit sequence.
12951 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12952
28d708c4
MAP
129532013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12954
12955 [BZ #16037]
12956 * configure.ac: allow GNU Make 4.0 and greater.
12957 * configure: Regenerated.
12958
a56ee40b
WN
129592013-10-30 Will Newton <will.newton@linaro.org>
12960
12961 [BZ #16038]
12962 * malloc/hooks.c (memalign_check): Limit alignment to the
12963 maximum representable power of two.
12964 * malloc/malloc.c (__libc_memalign): Likewise.
12965 * malloc/tst-memalign.c (do_test): Add test for very
12966 large alignment values.
12967 * malloc/tst-posix_memalign.c (do_test): Likewise.
12968
c6e4925d
OB
129692013-10-30 Ondřej Bílka <neleai@seznam.cz>
12970
12971 [BZ #11087]
12972 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12973 (munmap_chunk): Likewise.
12974 (mremap_chunk): Likewise.
12975
129762013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 12977
8a43e768 12978 [BZ #15799]
bbea82f7
OB
12979 * stdlib/div.c (div): Remove obsolete code.
12980 * stdlib/ldiv.c (ldiv): Likewise.
12981 * stdlib/lldiv.c (lldiv): Likewise.
12982
977f4b31
SP
129832013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12984
12985 [BZ #16071]
12986 * nss/nss_files/files-XXX.c (get_contents_ret): New
12987 enumerator.
12988 (get_contents): New function.
12989 (internal_getent): Use it. Expand size of LINEBUFLEN.
12990
cb8a6dbd
MF
129912013-10-30 Mike Frysinger <vapier@gentoo.org>
12992
12993 * configure.in: Moved to ...
12994 * configure.ac: ... here. Change reference to configure.in
12995 to configure.ac.
12996 * sysdeps/arm/preconfigure.ac: ... here.
12997 configure.in to configure.ac.
12998 * sysdeps/gnu/configure.in: Moved to ...
12999 * sysdeps/gnu/configure.ac: ... here.
13000 * sysdeps/i386/configure.in: Moved to ...
13001 * sysdeps/i386/configure.ac: ... here.
13002 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13003 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13004 * sysdeps/mach/configure.in: Moved to ...
13005 * sysdeps/mach/configure.ac: ... here.
13006 * sysdeps/mach/hurd/configure.in: Moved to ...
13007 * sysdeps/mach/hurd/configure.ac: ... here.
13008 * sysdeps/powerpc/configure.in: Moved to ...
13009 * sysdeps/powerpc/configure.ac: ... here.
13010 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13011 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13012 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13013 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13014 * sysdeps/s390/s390-32/configure.in: Moved to ...
13015 * sysdeps/s390/s390-32/configure.ac: ... here.
13016 * sysdeps/s390/s390-64/configure.in: Moved to ...
13017 * sysdeps/s390/s390-64/configure.ac: ... here.
13018 * sysdeps/sh/configure.in: Moved to ...
13019 * sysdeps/sh/configure.ac: ... here.
13020 * sysdeps/sparc/configure.in: Moved to ...
13021 * sysdeps/sparc/configure.ac: ... here.
13022 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13023 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13024 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13025 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13026 * sysdeps/x86_64/configure.in: Moved to ...
13027 * sysdeps/x86_64/configure.ac: ... here.
13028 * sysdeps/x86_64/preconfigure.in: Moved to ...
13029 * sysdeps/x86_64/preconfigure.ac: ... here.
13030 * aclocal.m4: Change reference to configure.in to configure.ac.
13031 * config.h.in: Likewise.
13032 * manual/install.texi: Likewise.
13033 * manual/maint.texi: Likewise.
13034 * Makefile: Likewise.
13035 * malloc/Makefile: Likewise.
13036 * nscd/Makefile: Likewise.
13037 * Makeconfig: Change reference to configure.in and
13038 preconfigure.in to configure.ac and preconfigure.ac
13039 respectively.
13040 * INSTALL: Regenerated.
13041 * configure: Likewise.
13042 * sysdeps/gnu/configure: Likewise.
13043 * sysdeps/i386/configure: Likewise.
13044 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13045 * sysdeps/mach/configure: Likewise.
13046 * sysdeps/mach/hurd/configure: Likewise.
13047 * sysdeps/powerpc/configure: Likewise.
13048 * sysdeps/powerpc/powerpc32/configure: Likewise.
13049 * sysdeps/powerpc/powerpc64/configure: Likewise.
13050 * sysdeps/s390/s390-32/configure: Likewise.
13051 * sysdeps/s390/s390-64/configure: Likewise.
13052 * sysdeps/sh/configure: Likewise.
13053 * sysdeps/sparc/configure: Likewise.
13054 * sysdeps/unix/sysv/linux/configure: Likewise.
13055 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13056 * sysdeps/x86_64/configure: Likewise.
13057 * sysdeps/x86_64/preconfigure: Likewise.
13058
36a4953a
AS
130592013-10-29 Andreas Schwab <schwab@suse.de>
13060
13061 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13062
c79a1204
SP
130632013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13064
dfa1b402
SP
13065 * benchtests/pow-inputs: Add new inputs.
13066
54f73d9c
SP
13067 * benchtests/exp-inputs: Add new inputs.
13068
c79a1204
SP
13069 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13070 conditional check for return value.
13071 (__cos32): Likewise.
13072
67beb545 130732013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
13074
13075 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13076 to provide a boost for large inputs with word alignment.
13077 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13078 implementation based on optimized PPC64 strcpy.
13079 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13080 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13081 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13082 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13083
151659f6
OB
130842013-10-25 Ondřej Bílka <neleai@seznam.cz>
13085
482a077e 13086 [BZ #2801]
151659f6
OB
13087 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13088
10b0f26b
OB
130892013-10-25 Ondřej Bílka <neleai@seznam.cz>
13090
13091 [BZ #14876]
13092 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13093 * time/tst-strptime.c (day_tests): Add testcase.
13094
ca42d35e
OB
130952013-10-25 Ondřej Bílka <neleai@seznam.cz>
13096
482a077e 13097 [BZ #14029]
ca42d35e
OB
13098 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13099
52e6d801
FB
131002013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13101
13102 [BZ #16074]
13103 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13104 MAP_FAILED on error.
13105
7cbcdb36
SP
131062013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13107
13108 [BZ #16072]
13109 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13110 heap for large requests.
13111
894f3f10
AM
131122013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13113
13114 [BZ #9954]
13115 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13116 result if the result has no associated interface.
13117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13118 interface for all 127.X.Y.Z addresses.
13119
b85545a6
CL
131202013-10-24 Chris Leonard <cjl@sugarlabs.org>
13121
13122 * locale/iso-639.def: Add Ligurian (lij)
13123
d1f23d46
OB
131242013-10-21 Ondřej Bílka <neleai@seznam.cz>
13125
13126 [BZ #15825]
13127 * sunrpc/rpc_main.c: Document rpcgen -5.
13128
4db5b08f
MS
131292013-10-19 Michael Stahl <mstahl@redhat.com>
13130
13131 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13132
a471e96a
OB
131332013-10-19 Ondřej Bílka <neleai@seznam.cz>
13134
d1f23d46 13135 [BZ #10278]
a471e96a
OB
13136 * posix/glob.c: Match only directories when trailing slash is present.
13137 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13138 (main): Add testcase.
13139
45c30c61
OB
131402013-10-19 Ondřej Bílka <neleai@seznam.cz>
13141
13142 [BZ #15670]
13143 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13144
484c12fb
CD
131452013-10-18 Carlos O'Donell <carlos@redhat.com>
13146
3d7dc513
CD
13147 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13148 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13149 AUTH_DES and cindex for FIPS 140-2.
13150 (DES Encryption): Add cindex FIPS 46-3.
13151
484c12fb
CD
13152 * locale/locarchive.h (struct locarhandle): Add fname.
13153 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13154 if an optional argument was specified to --list-archive,
13155 otherwise NULL.
13156 * locale/programs/locarchive.c (show_archive_content): Take new
13157 argument fname and pass it via ah.fname to open_archive.
13158 * locale/programs/localedef.h: Update decl.
13159 (open_archive): If AH->fname is non-null, open that file
13160 rather than the default file name, and don't ignore ENOENT.
13161 (create_archive): Set AH.fname to NULL.
13162 (delete_locales_from_archive): Likewise.
13163 (add_locales_to_archive): Likewise.
13164 * locale/programs/locfile.c (write_all_categories): Likewise.
13165
3c8325fb
JM
131662013-10-18 Joseph Myers <joseph@codesourcery.com>
13167 Aldy Hernandez <aldyh@redhat.com>
13168
13169 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13170 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13171 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13172 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13173 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13174 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13175 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13176 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13177 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13178 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13179 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13180 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13181 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13182 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13183 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13184 Likewise.
13185 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13186 Likewise.
13187 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13188 Likewise.
13189 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13190 Likewise.
13191 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13192 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13193 Likewise.
13194 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13195 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13196 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13197 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13198 Likewise.
13199 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13200 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13201 * sysdeps/powerpc/preconfigure: Likewise.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13203 Likewise.
13204 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13205 Replace contents of file by #include of <fenv_libc.h>.
13206 * sysdeps/powerpc/soft-fp/sfp-machine.h
13207 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13208 and <sys/prctl.h>.
13209 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13210 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13211 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13212 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13213 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13214 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13216 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13218 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13222 Allow copysignl PLT reference to be missing.
13223
5abe0682
RS
132242013-10-18 Richard Sandiford <richard@codesourcery.com>
13225 Joseph Myers <joseph@codesourcery.com
13226
13227 [BZ #15948]
13228 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13229 single character.
13230 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13231
c7738d08
SP
132322013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13233
13234 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13235 * elf/tst-tls1.c: Likewise.
13236 * elf/tst-tls10.h: Likewise.
13237 * elf/tst-tls14.c: Likewise.
13238 * elf/tst-tls2.c: Likewise.
13239 * elf/tst-tls3.c: Likewise.
13240 * elf/tst-tls4.c: Likewise.
13241 * elf/tst-tls5.c: Likewise.
13242 * elf/tst-tls6.c: Likewise.
13243 * elf/tst-tls7.c: Likewise.
13244 * elf/tst-tls8.c: Likewise.
13245 * elf/tst-tls9.c: Likewise.
13246 * elf/tst-tlsmod1.c: Likewise.
13247 * elf/tst-tlsmod13.c: Likewise.
13248 * elf/tst-tlsmod13a.c: Likewise.
13249 * elf/tst-tlsmod14a.c: Likewise.
13250 * elf/tst-tlsmod16a.c: Likewise.
13251 * elf/tst-tlsmod16b.c: Likewise.
13252 * elf/tst-tlsmod2.c: Likewise.
13253 * elf/tst-tlsmod3.c: Likewise.
13254 * elf/tst-tlsmod4.c: Likewise.
13255 * elf/tst-tlsmod5.c: Likewise.
13256 * elf/tst-tlsmod6.c: Likewise.
13257
0bfcf2c7
OB
132582013-10-18 Ondřej Bílka <neleai@seznam.cz>
13259
13260 [BZ #12486]
13261 * malloc/malloc.c: remove checks for statistics.
13262
264aad1e
OB
132632013-10-17 Ondřej Bílka <neleai@seznam.cz>
13264
13265 [BZ #15277]
13266 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13267 * inet/tst-network.c: Add testcase.
13268
b957ced8
AS
132692013-10-17 Andreas Schwab <schwab@suse.de>
13270
13271 [BZ #15218]
13272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13273 to determine canonical name.
13274
c5d5d574
OB
132752013-10-17 Ondřej Bílka <neleai@seznam.cz>
13276
13277 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13278 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13280 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13282 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13286 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13287 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13288 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13289 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13290 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13291 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13292 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13294 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13295 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13296 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13297 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13299 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13301 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13302 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13304 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13307 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13315 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13316 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13317 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13318 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13319 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13321 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13322 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13323 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13324 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13325 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13326 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13327 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13328 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13330 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13334 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13335
e5c2c2d0
JM
133362013-10-17 Joseph Myers <joseph@codesourcery.com>
13337
13338 [BZ #16041]
13339 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13340 make result into a quiet NaN.
13341
51ca9e29
JM
133422013-10-16 Joseph Myers <joseph@codesourcery.com>
13343
13344 * soft-fp/adddf3.c: Fix horizontal whitespace.
13345 * soft-fp/addsf3.c: Likewise.
13346 * soft-fp/addtf3.c: Likewise.
13347 * soft-fp/divdf3.c: Likewise.
13348 * soft-fp/divsf3.c: Likewise.
13349 * soft-fp/divtf3.c: Likewise.
13350 * soft-fp/double.h: Likewise.
13351 * soft-fp/eqdf2.c: Likewise.
13352 * soft-fp/eqsf2.c: Likewise.
13353 * soft-fp/eqtf2.c: Likewise.
13354 * soft-fp/extenddftf2.c: Likewise.
13355 * soft-fp/extended.h: Likewise.
13356 * soft-fp/extendsfdf2.c: Likewise.
13357 * soft-fp/extendsftf2.c: Likewise.
13358 * soft-fp/extendxftf2.c: Likewise.
13359 * soft-fp/fixdfdi.c: Likewise.
13360 * soft-fp/fixdfsi.c: Likewise.
13361 * soft-fp/fixdfti.c: Likewise.
13362 * soft-fp/fixsfdi.c: Likewise.
13363 * soft-fp/fixsfsi.c: Likewise.
13364 * soft-fp/fixsfti.c: Likewise.
13365 * soft-fp/fixtfdi.c: Likewise.
13366 * soft-fp/fixtfsi.c: Likewise.
13367 * soft-fp/fixtfti.c: Likewise.
13368 * soft-fp/fixunsdfdi.c: Likewise.
13369 * soft-fp/fixunsdfsi.c: Likewise.
13370 * soft-fp/fixunsdfti.c: Likewise.
13371 * soft-fp/fixunssfdi.c: Likewise.
13372 * soft-fp/fixunssfsi.c: Likewise.
13373 * soft-fp/fixunssfti.c: Likewise.
13374 * soft-fp/fixunstfdi.c: Likewise.
13375 * soft-fp/fixunstfsi.c: Likewise.
13376 * soft-fp/fixunstfti.c: Likewise.
13377 * soft-fp/floatdidf.c: Likewise.
13378 * soft-fp/floatdisf.c: Likewise.
13379 * soft-fp/floatditf.c: Likewise.
13380 * soft-fp/floatsidf.c: Likewise.
13381 * soft-fp/floatsisf.c: Likewise.
13382 * soft-fp/floatsitf.c: Likewise.
13383 * soft-fp/floattidf.c: Likewise.
13384 * soft-fp/floattisf.c: Likewise.
13385 * soft-fp/floattitf.c: Likewise.
13386 * soft-fp/floatundidf.c: Likewise.
13387 * soft-fp/floatundisf.c: Likewise.
13388 * soft-fp/floatunditf.c: Likewise.
13389 * soft-fp/floatunsidf.c: Likewise.
13390 * soft-fp/floatunsisf.c: Likewise.
13391 * soft-fp/floatunsitf.c: Likewise.
13392 * soft-fp/floatuntidf.c: Likewise.
13393 * soft-fp/floatuntisf.c: Likewise.
13394 * soft-fp/floatuntitf.c: Likewise.
13395 * soft-fp/fmadf4.c: Likewise.
13396 * soft-fp/fmasf4.c: Likewise.
13397 * soft-fp/fmatf4.c: Likewise.
13398 * soft-fp/gedf2.c: Likewise.
13399 * soft-fp/gesf2.c: Likewise.
13400 * soft-fp/getf2.c: Likewise.
13401 * soft-fp/ledf2.c: Likewise.
13402 * soft-fp/lesf2.c: Likewise.
13403 * soft-fp/letf2.c: Likewise.
13404 * soft-fp/muldf3.c: Likewise.
13405 * soft-fp/mulsf3.c: Likewise.
13406 * soft-fp/multf3.c: Likewise.
13407 * soft-fp/negdf2.c: Likewise.
13408 * soft-fp/negsf2.c: Likewise.
13409 * soft-fp/negtf2.c: Likewise.
13410 * soft-fp/op-1.h: Likewise.
13411 * soft-fp/op-2.h: Likewise.
13412 * soft-fp/op-4.h: Likewise.
13413 * soft-fp/op-8.h: Likewise.
13414 * soft-fp/op-common.h: Likewise.
13415 * soft-fp/quad.h: Likewise.
13416 * soft-fp/single.h: Likewise.
13417 * soft-fp/soft-fp.h: Likewise.
13418 * soft-fp/sqrtdf2.c: Likewise.
13419 * soft-fp/sqrtsf2.c: Likewise.
13420 * soft-fp/sqrttf2.c: Likewise.
13421 * soft-fp/subdf3.c: Likewise.
13422 * soft-fp/subsf3.c: Likewise.
13423 * soft-fp/subtf3.c: Likewise.
13424 * soft-fp/truncdfsf2.c: Likewise.
13425 * soft-fp/trunctfdf2.c: Likewise.
13426 * soft-fp/trunctfsf2.c: Likewise.
13427 * soft-fp/trunctfxf2.c: Likewise.
13428 * soft-fp/unorddf2.c: Likewise.
13429 * soft-fp/unordsf2.c: Likewise.
13430 * soft-fp/unordtf2.c: Likewise.
13431
9ebb0332
JM
134322013-10-15 Joseph Myers <joseph@codesourcery.com>
13433
13434 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13435 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13436
4b1a6d8b
OB
134372013-10-15 Ondřej Bílka <neleai@seznam.cz>
13438
13439 * elf/dl-libc.c: Clear initfini list after freeing.
13440
1e145589
JM
134412013-10-14 Joseph Myers <joseph@codesourcery.com>
13442
13443 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13444 * soft-fp/addsf3.c: Likewise.
13445 * soft-fp/addtf3.c: Likewise.
13446 * soft-fp/divdf3.c: Likewise.
13447 * soft-fp/divsf3.c: Likewise.
13448 * soft-fp/divtf3.c: Likewise.
13449 * soft-fp/double.h: Likewise.
13450 * soft-fp/eqdf2.c: Likewise.
13451 * soft-fp/eqsf2.c: Likewise.
13452 * soft-fp/eqtf2.c: Likewise.
13453 * soft-fp/extenddftf2.c: Likewise.
13454 * soft-fp/extended.h: Likewise.
13455 * soft-fp/extendsfdf2.c: Likewise.
13456 * soft-fp/extendsftf2.c: Likewise.
13457 * soft-fp/extendxftf2.c: Likewise.
13458 * soft-fp/fixdfdi.c: Likewise.
13459 * soft-fp/fixdfsi.c: Likewise.
13460 * soft-fp/fixdfti.c: Likewise.
13461 * soft-fp/fixsfdi.c: Likewise.
13462 * soft-fp/fixsfsi.c: Likewise.
13463 * soft-fp/fixsfti.c: Likewise.
13464 * soft-fp/fixtfdi.c: Likewise.
13465 * soft-fp/fixtfsi.c: Likewise.
13466 * soft-fp/fixtfti.c: Likewise.
13467 * soft-fp/fixunsdfdi.c: Likewise.
13468 * soft-fp/fixunsdfsi.c: Likewise.
13469 * soft-fp/fixunsdfti.c: Likewise.
13470 * soft-fp/fixunssfdi.c: Likewise.
13471 * soft-fp/fixunssfsi.c: Likewise.
13472 * soft-fp/fixunssfti.c: Likewise.
13473 * soft-fp/fixunstfdi.c: Likewise.
13474 * soft-fp/fixunstfsi.c: Likewise.
13475 * soft-fp/fixunstfti.c: Likewise.
13476 * soft-fp/floatdidf.c: Likewise.
13477 * soft-fp/floatdisf.c: Likewise.
13478 * soft-fp/floatditf.c: Likewise.
13479 * soft-fp/floatsidf.c: Likewise.
13480 * soft-fp/floatsisf.c: Likewise.
13481 * soft-fp/floatsitf.c: Likewise.
13482 * soft-fp/floattidf.c: Likewise.
13483 * soft-fp/floattisf.c: Likewise.
13484 * soft-fp/floattitf.c: Likewise.
13485 * soft-fp/floatundidf.c: Likewise.
13486 * soft-fp/floatundisf.c: Likewise.
13487 * soft-fp/floatunsidf.c: Likewise.
13488 * soft-fp/floatunsisf.c: Likewise.
13489 * soft-fp/floatuntidf.c: Likewise.
13490 * soft-fp/floatuntisf.c: Likewise.
13491 * soft-fp/floatuntitf.c: Likewise.
13492 * soft-fp/fmadf4.c: Likewise.
13493 * soft-fp/fmasf4.c: Likewise.
13494 * soft-fp/fmatf4.c: Likewise.
13495 * soft-fp/gedf2.c: Likewise.
13496 * soft-fp/gesf2.c: Likewise.
13497 * soft-fp/getf2.c: Likewise.
13498 * soft-fp/ledf2.c: Likewise.
13499 * soft-fp/lesf2.c: Likewise.
13500 * soft-fp/letf2.c: Likewise.
13501 * soft-fp/muldf3.c: Likewise.
13502 * soft-fp/mulsf3.c: Likewise.
13503 * soft-fp/multf3.c: Likewise.
13504 * soft-fp/negdf2.c: Likewise.
13505 * soft-fp/negsf2.c: Likewise.
13506 * soft-fp/negtf2.c: Likewise.
13507 * soft-fp/op-1.h: Likewise.
13508 * soft-fp/op-2.h: Likewise.
13509 * soft-fp/op-4.h: Likewise.
13510 * soft-fp/op-8.h: Likewise.
13511 * soft-fp/op-common.h: Likewise.
13512 * soft-fp/quad.h: Likewise.
13513 * soft-fp/single.h: Likewise.
13514 * soft-fp/soft-fp.h: Likewise.
13515 * soft-fp/sqrtdf2.c: Likewise.
13516 * soft-fp/sqrtsf2.c: Likewise.
13517 * soft-fp/sqrttf2.c: Likewise.
13518 * soft-fp/subdf3.c: Likewise.
13519 * soft-fp/subsf3.c: Likewise.
13520 * soft-fp/subtf3.c: Likewise.
13521 * soft-fp/truncdfsf2.c: Likewise.
13522 * soft-fp/trunctfdf2.c: Likewise.
13523 * soft-fp/trunctfsf2.c: Likewise.
13524 * soft-fp/trunctfxf2.c: Likewise.
13525 * soft-fp/unorddf2.c: Likewise.
13526 * soft-fp/unordsf2.c: Likewise.
13527 * soft-fp/unordtf2.c: Likewise.
13528
17c48a60
OB
135292013-10-14 Ondřej Bílka <neleai@seznam.cz>
13530
13531 [BZ #15672]
13532 * misc/error.c (error_tail): Fix possible buffer overflow.
13533
cabba934
OB
135342013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13535
13536 [BZ #13028]
13537 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13538 address.
13539
94bf958a
PM
135402013-10-14 P. J. McDermott <pj@pehjota.net>
13541
13542 [BZ #832]
13543 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13544 testing pipefail option.
13545
71b4dea7
JM
135462013-10-12 Joseph Myers <joseph@codesourcery.com>
13547
13548 * soft-fp/double.h: Indent preprocessor directives inside #if.
13549 * soft-fp/extended.h: Likewise.
13550 * soft-fp/op-2.h: Likewise.
13551 * soft-fp/op-4.h: Likewise.
13552 * soft-fp/op-common.h: Likewise.
13553 * soft-fp/quad.h: Likewise.
13554 * soft-fp/single.h: Likewise.
13555 * soft-fp/soft-fp.h: Likewise.
13556
55602758
YC
135572013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13558
13559 * iconv/iconv_prog.c: Fix typos.
13560 * stdio-common/psiginfo-data.h: Likewise.
13561
9cd83302
RT
135622013-10-12 Reuben Thomas <rrt@sc3d.org>
13563
13564 [BZ #15764]
13565 * locale/setlocale.c: Fix typo.
13566
99fd9f47
JM
135672013-10-12 Joseph Myers <joseph@codesourcery.com>
13568
b7ea74f0
JM
13569 [BZ #16036]
13570 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13571 signaling NaN arguments.
13572 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13573 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13574
8a509447
JM
13575 [BZ #14910]
13576 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13577 unordered operands.
13578 * soft-fp/gesf2.c (__gesf2): Likewise.
13579 * soft-fp/getf2.c (__getf2): Likewise.
13580 * soft-fp/ledf2.c (__ledf2): Likewise.
13581 * soft-fp/lesf2.c (__lesf2): Likewise.
13582 * soft-fp/letf2.c (__letf2): Likewise.
13583
98998e9f
JM
13584 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13585 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13586 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13587 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13588 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13589 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13590 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13591 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13592 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13593 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13594 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13595 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13596 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13597 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13598 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13599 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13600 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13601 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13602 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13603 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13604 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13605 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13606 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13607 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13608 * soft-fp/floattidf.c (__floattidf): Likewise.
13609 * soft-fp/floattisf.c (__floattisf): Likewise.
13610 * soft-fp/floattitf.c (__floattitf): Likewise.
13611 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13612 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13613 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13614 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13615 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13616 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13617 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13618 * soft-fp/gesf2.c (__gesf2): Likewise.
13619 * soft-fp/getf2.c (__getf2): Likewise.
13620 * soft-fp/ledf2.c (__ledf2): Likewise.
13621 * soft-fp/lesf2.c (__lesf2): Likewise.
13622 * soft-fp/letf2.c (__letf2): Likewise.
13623
8edc4a11
JM
13624 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13625 Undefine and redefine.
13626 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13627 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13628 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13629 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13630 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13631 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13632 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13633 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13634 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13635 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13636 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13637 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13638 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13639 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13640 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13641
8399acaf
JM
13642 [BZ #16032]
13643 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13644 without decrementing exponent if mantissa >= that for the
13645 denominator, not >.
13646 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13647 denominator, not >. Decrement exponent in < case instead of
13648 incrementing in >= case.
13649 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13650 without decrementing exponent if mantissa >= that for the
13651 denominator, not >.
13652
99fd9f47
JM
13653 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13654 computing saturated result for unsigned overflow.
13655
10e1cf6b
SP
136562013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13657 Jeff Law <law@redhat.com>
13658
13659 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13660 (atan2Mp): Add systemtap probe marker.
13661 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13662 (__ieee754_log): Add systemtap probe marker.
13663 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13664 (atanMp): Add systemtap probe marker.
13665 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13666 (tanMp): Add systemtap probe marker.
13667 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13668 (__slowexp): Add systemtap probe marker.
13669 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13670 (__slowpow): Add systemtap probe marker.
13671 * manual/probes.texi: Document probes.
13672
3d110c7c
EB
136732013-10-11 Eric Biggers <ebiggers3@gmail.com>
13674
13675 [BZ #15362]
13676 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13677 written.
13678 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13679 written.
13680 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13681 written to buffer but not flushed.
13682 * libio/iofwrite_u.c: Likewise.
13683 * libio/iopadn.c: Return bytes returned even if EOF was
13684 encountered.
13685 * libio/iowpadn.c: Likewise.
13686 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13687 if _IO_padn does not write the whole buffer.
13688 [!COMPILE_WPRINTF] (PAD): Likewise.
13689
75b4202a
DM
136902013-10-10 David S. Miller <davem@davemloft.net>
13691
13692 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13693 directory block.
13694
6c6352e6
JM
136952013-10-10 Joseph Myers <joseph@codesourcery.com>
13696
33b853c3
JM
13697 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13698 instead of FSF address.
13699 * soft-fp/fixdfti.c: Likewise.
13700 * soft-fp/fixsfti.c: Likewise.
13701 * soft-fp/fixtfti.c: Likewise.
13702 * soft-fp/fixunsdfti.c: Likewise.
13703 * soft-fp/fixunssfti.c: Likewise.
13704 * soft-fp/fixunstfti.c: Likewise.
13705 * soft-fp/floattidf.c: Likewise.
13706 * soft-fp/floattisf.c: Likewise.
13707 * soft-fp/floattitf.c: Likewise.
13708 * soft-fp/floatuntidf.c: Likewise.
13709 * soft-fp/floatuntisf.c: Likewise.
13710 * soft-fp/floatuntitf.c: Likewise.
13711 * soft-fp/trunctfxf2.c: Likewise.
13712
6c6352e6
JM
13713 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13714 * soft-fp/fixdfti.c: Likewise.
13715 * soft-fp/fixsfti.c: Likewise.
13716 * soft-fp/fixtfti.c: Likewise.
13717 * soft-fp/fixunsdfti.c: Likewise.
13718 * soft-fp/fixunssfti.c: Likewise.
13719 * soft-fp/fixunstfti.c: Likewise.
13720 * soft-fp/floattidf.c: Likewise.
13721 * soft-fp/floattisf.c: Likewise.
13722 * soft-fp/floattitf.c: Likewise.
13723 * soft-fp/floatuntidf.c: Likewise.
13724 * soft-fp/floatuntisf.c: Likewise.
13725 * soft-fp/floatuntitf.c: Likewise.
13726 * soft-fp/trunctfxf2.c: Likewise.
13727
3bf78b71
DM
137282013-10-10 David S. Miller <davem@davemloft.net>
13729
13730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13731
6f10289e
JM
137322013-10-10 Joseph Myers <joseph@codsourcery.com>
13733
bd878fc0
JM
13734 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13735 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13736 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13737 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13738 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13739 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13740 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13741
6f10289e
JM
13742 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13743 for NaNs before doing comparisons on argument.
13744 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13745 Likewise.
13746
321e2684
WN
137472013-10-10 Will Newton <will.newton@linaro.org>
13748
13749 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13750 passed to _int_memalign does not overflow.
13751
40fefba1
TR
137522013-10-10 Torvald Riegel <triegel@redhat.com>
13753
13754 * scripts/bench.pl: Add include-sources directive.
13755 * benchtests/README: Update documentation.
13756
2ae21ed2
JM
137572013-10-10 Joseph Myers <joseph@codesourcery.com>
13758
dcc2dd3f
JM
13759 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13760 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13761 instead of FP_INIT_ROUNDMODE.
13762 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13763 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13764
2ae21ed2
JM
13765 [BZ #16034]
13766 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13767 copy class of input value.
13768 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13769 not handle exceptions.
13770 * soft-fp/negsf2.c (__negsf2): Likewise.
13771 * soft-fp/negtf2.c (__negtf2): Likewise.
13772 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13773
cb8f9562
JM
137742013-10-09 Joseph Myers <joseph@codesourcery.com>
13775
13776 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13777 semicolon. From Linux kernel.
13778
5b60c59d
AB
137792013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13780
13781 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13782
b86835ca
YC
137832013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13784
13785 [BZ #156]
13786 * manual/socket.texi: Added statement about buffer
13787 for gethostbyname2_r.
13788
e7044ea7
OB
137892013-10-08 Ondřej Bílka <neleai@seznam.cz>
13790
13791 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13792 Use .p2align directive instead, throughout.
13793 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13794 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13795 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13796 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13797 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13798 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13799 * sysdeps/x86_64/strchr.S: Likewise.
13800 * sysdeps/x86_64/strrchr.S: Likewise.
13801
09544cbc
SP
138022013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13803
88576635
SP
13804 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13805
e7b2d1dd
SP
13806 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13807
09544cbc
SP
13808 * sysdeps/generic/math_private.h (__mpsin1): Remove
13809 declaration.
13810 (__mpcos1): Likewise.
13811 (__mpsin): New argument __range_reduce.
13812 (__mpcos): Likewise.
13813 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13814 (slow): Use __mpsin and __mpcos.
13815 (slow1): Likewise.
13816 (slow2): Likewise.
13817 (sloww): Likewise.
13818 (sloww1): Likewise.
13819 (sloww2): Likewise.
13820 (bsloww): Likewise.
13821 (bsloww1): Likewise.
13822 (bsloww2): Likewise.
13823 (cslow2): Likewise.
13824 (csloww): Likewise.
13825 (csloww1): Likewise.
13826 (csloww2): Likewise.
13827 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13828 range_reduce. Merge in __mpsin1.
13829 (__mpcos): Likewise.
13830 (__mpsin1): Remove.
13831 (__mpcos1): Likewise.
13832
7602d070
JM
138332013-10-07 Joseph Myers <joseph@codesourcery.com>
13834
13835 * locale/loadlocale.c (_nl_intern_locale_data): Use
13836 LOCFILE_ALIGNED_P.
13837 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13838 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13839 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13840 obstack data is appropriately aligned.
13841 (obstack_int32_grow_fast): Likewise.
13842 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13843 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13844 (add_locale_uint32_array): Likewise.
13845
a357259b
SP
138462013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13847
13848 * benchtests/Makefile: Remove ARGLIST and RET variables.
13849 ($(objpfx)bench-%.c): Pass only function name to the script.
13850 * benchtests/README: Update documentation.
13851 * benchtests/acos-inputs: Add new directives.
13852 * benchtests/acosh-inputs: Likewise.
13853 * benchtests/asin-inputs: Likewise.
13854 * benchtests/asinh-inputs: Likewise.
13855 * benchtests/atan-inputs: Likewise.
13856 * benchtests/atanh-inputs: Likewise.
13857 * benchtests/cos-inputs: Likewise.
13858 * benchtests/cosh-inputs: Likewise.
13859 * benchtests/exp-inputs: Likewise.
13860 * benchtests/log-inputs: Likewise.
13861 * benchtests/pow-inputs: Likewise.
13862 * benchtests/rint-inputs: Likewise.
13863 * benchtests/sin-inputs: Likewise.
13864 * benchtests/sinh-inputs: Likewise.
13865 * benchtests/tan-inputs: Likewise.
13866 * benchtests/tanh-inputs: Likewise.
13867 * scripts/bench.pl: Add support for new directives.
13868
9ec1b13d
AM
138692013-10-07 Alan Modra <amodra@gmail.com>
13870
13871 * README: Fix careless merge.
13872
8b7d57cd
AM
138732013-10-05 Alan Modra <amodra@gmail.com>
13874
13875 * NEWS: Mention powerpc64le support and bugs fixed.
13876 * README: Both big-endian and little-endian powerpc64 supported.
13877
7b7bab13
ST
138782013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13879
57f41c40
AS
13880 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13881 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
13882 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13883 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13884
d39baad1
RA
138852013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13886
13887 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13888 match prototype.
13889
cd78f7e7
JM
138902013-10-04 Joseph Myers <joseph@codesourcery.com>
13891
29d73d86
JM
13892 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13893 Move -mhard-float appending from
13894 ports/sysdeps/powerpc/powerpc32/Makefile.
13895 [$(with-fp) = yes] (ASFLAGS): Likewise.
13896 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13897 * sysdeps/powerpc/nofpu: Move directory from
13898 ports/sysdeps/powerpc/nofpu.
13899 * sysdeps/powerpc/soft-fp: Move directory from
13900 ports/sysdeps/powerpc/soft-fp.
13901 * sysdeps/powerpc/powerpc32/405: Move directory from
13902 ports/sysdeps/powerpc/powerpc32/405.
13903 * sysdeps/powerpc/powerpc32/440: Move directory from
13904 ports/sysdeps/powerpc/powerpc32/440.
13905 * sysdeps/powerpc/powerpc32/464: Move directory from
13906 ports/sysdeps/powerpc/powerpc32/464.
13907 * sysdeps/powerpc/powerpc32/476: Move directory from
13908 ports/sysdeps/powerpc/powerpc32/476.
13909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13910 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13912 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13914 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13916 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13918 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13919 * README: Update for powerpc-*-linux-gnu software floating point
13920 support in libc.
13921
e246b347
JM
13922 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13923 case to powerpc/powerpc32*.
13924 * sysdeps/unix/sysv/linux/configure: Regenerated.
13925
89c2003e
JM
13926 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13927 (_FPU_MASK_OM): Define as 0x04.
13928 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13930 0x00c10080.
13931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13932 0x0000003c.
13933 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13934
cd78f7e7
JM
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13936 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13937 getcontext_e500.
13938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13939 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13940 setcontext_e500.
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13942 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13943 and setcontext_e500.
13944
c755294d
CL
139452013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13946
13947 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13948
e16d221c
SP
139492013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13950
13951 * manual/threads.texi (Default Thread Attributes): Fix typo.
13952
215c7d43
WN
139532013-10-04 Will Newton <will.newton@linaro.org>
13954
13955 * malloc/Makefile: Add tst-memalign.
13956 * malloc/tst-memalign.c: New file.
13957
27d0461b
WN
13958 * malloc/tst-posix_memalign.c: Add comments.
13959 (do_test): Add comments and call free on all potentially
13960 allocated pointers. Add space after cast.
13961
1bc92709
WN
13962 * malloc/tst-pvalloc.c: Add comments.
13963 (do_test): Add comments and call free on all potentially
13964 allocated pointers. Remove duplicate check for NULL pointer.
13965 Add space after cast.
13966
66a9be9d
WN
13967 * malloc/tst-valloc.c: Add comments.
13968 (do_test): Add comments and call free on all potentially
13969 allocated pointers. Remove duplicate check for NULL pointer.
13970 Add space after cast.
13971
4cb81307
AM
139722013-10-04 Alan Modra <amodra@gmail.com>
13973
13974 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13975 Use stdint types in rather than __attribute__((mode())).
13976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13977
f8e3e9f3
AM
139782013-10-04 Alan Modra <amodra@gmail.com>
13979
13980 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13981 Correct handling of unaligned relocs for little-endian.
13982 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13983
8f9ebb08
AM
139842013-10-04 Alan Modra <amodra@gmail.com>
13985
13986 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13987 * configure: Regenerate.
13988 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13989 * shlib-versions: Likewise.
13990
0edf96c2
AM
139912013-10-04 Alan Modra <amodra@gmail.com>
13992
13993 * string/tester.c (test_memrchr): Increment reported test cycle.
13994
e0f7a380
AM
139952013-10-04 Alan Modra <amodra@gmail.com>
13996
13997 * string/test-memcpy.c (do_one_test): When reporting errors, print
13998 string address and don't overrun end of string.
13999
466b0393
AM
140002013-10-04 Alan Modra <amodra@gmail.com>
14001
14002 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14003 insrdi. Make better use of reg selection to speed exit slightly.
14004 Schedule entry path a little better. Remove useless "are we done"
14005 checks on entry to main loop. Handle wrapping around zero address.
14006 Correct main loop count. Handle single left-over word from main
14007 loop inline rather than by using loop_small. Remove extra word
14008 case in loop_small caused by wrong loop count. Add little-endian
14009 support.
14010 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14012 cache hint.
14013 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14014 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14015 support. Avoid rlwimi.
14016 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14017
3be87c77
AM
140182013-10-04 Alan Modra <amodra@gmail.com>
14019
14020 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 14021 insrdi. Formatting.
3be87c77
AM
14022 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14023 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14024 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14025 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14026 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14027 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14028
759cfef3
AM
140292013-10-04 Alan Modra <amodra@gmail.com>
14030
14031 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14032 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14033 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14034 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14035 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14036 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14037 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14038 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14039 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14040 use of regs. Use power7 mtocrf. Tidy function tails.
14041
fe6e95d7
AM
140422013-10-04 Alan Modra <amodra@gmail.com>
14043
14044 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14045 Formatting. Consistently use rXXX register defines or rN defines.
14046 Use early exit labels that avoid restoring unused non-volatile regs.
14047 Make cr field use more consistent with rWORDn compares. Rename
14048 regs used as shift registers for unaligned loop, using rN defines
14049 for short lifetime/multiple use regs.
14050 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14051 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14052 addi 1,1,64 to pop stack frame. Simplify return value code.
14053 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14054
664318c3
AM
140552013-10-04 Alan Modra <amodra@gmail.com>
14056
14057 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14058 support. Correct typos, formatting. Optimize tail. Use insrdi
14059 rather than rlwimi.
14060 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14061 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14062 little-endian support. Correct typos.
14063 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14064 rather than rlwimi.
14065 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14066 in loop and entry code to keep "and." results.
14067 (strchr): Add little-endian support. Comment. Move cntlzd
14068 earlier in tail.
14069 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14070
43b84013
AM
140712013-10-04 Alan Modra <amodra@gmail.com>
14072
14073 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14074 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14075 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14076 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14077
8a7413f9
AM
140782013-10-04 Alan Modra <amodra@gmail.com>
14079
14080 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14081 (rTMP): Define as r11.
14082 (strcmp): Add little-endian support. Optimise tail.
14083 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14084 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14085 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14086 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14087 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14088 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14089 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14090
33ee81de
AM
140912013-10-04 Alan Modra <amodra@gmail.com>
14092
14093 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14094 little-endian support. Remove unnecessary "are we done" tests.
14095 Handle "s" wrapping around zero and extremely large "size".
14096 Correct main loop count. Handle single left-over word from main
14097 loop inline rather than by using small_loop. Correct comments.
14098 Delete "zero" tail, use "end_max" instead.
14099 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14100
db9b4570
AM
141012013-10-04 Alan Modra <amodra@gmail.com>
14102
14103 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14104 support. Don't branch over align.
14105 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14106 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14107 support. Rearrange tmp reg use to suit. Comment.
14108 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14109
f7c399cf
AM
141102013-10-04 Alan Modra <amodra@gmail.com>
14111
14112 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14113
0b2c2ace
AM
141142013-10-04 Alan Modra <amodra@gmail.com>
14115
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14117 conditional form of branch and link when obtaining pc.
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14119
02f04a6c
AM
141202013-10-04 Alan Modra <amodra@gmail.com>
14121
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14123 HIWORD/LOWORD.
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14126
9b874b2f
AM
141272013-10-04 Alan Modra <amodra@gmail.com>
14128
14129 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14130 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14131 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14132 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14133 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14134 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14135 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14136 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14137 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14138 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14139
be1e5d31
AB
141402013-10-04 Anton Blanchard <anton@au1.ibm.com>
14141 Alistair Popple <alistair@ozlabs.au.ibm.com>
14142 Alan Modra <amodra@gmail.com>
14143
14144 [BZ #15723]
14145 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14146 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14147 _dl_hwcap access for little-endian.
14148 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14149 destroy vmx regs when saving unaligned.
14150 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14151 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14152 destroy vmx regs when saving unaligned.
14153
fef13a78
AM
141542013-10-04 Alan Modra <amodra@gmail.com>
14155
14156 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14157 Don't use a union to pack hi/low value.
14158
76a66d51
AB
141592013-10-04 Anton Blanchard <anton@au1.ibm.com>
14160
14161 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14162 for little-endian.
14163 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14164 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14165 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14166 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14167 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14168
6a31fe7f
AM
141692013-10-04 Alan Modra <amodra@gmail.com>
14170
14171 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14172 constants to usual value for .cst8 section, and remove redundant
14173 high address load.
14174 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14175 constant for 0x1p52. Load little-endian words of double from
14176 correct stack offsets.
14177
7b88401f
AM
141782013-10-04 Alan Modra <amodra@gmail.com>
14179
14180 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14181 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14182 words of double from correct stack offsets.
14183 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14184 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14185 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14186 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14187 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14188 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14189 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14190 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14191 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14192 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14193 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14194 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14195 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14196 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14197 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14198 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14199 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14200
9c008155
AM
142012013-10-04 Alan Modra <amodra@gmail.com>
14202
14203 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14204 64-bit int/double union.
14205 (_FPU_SETCW): Likewise.
14206 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14207 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14208
da13146d
AM
142092013-10-04 Alan Modra <amodra@gmail.com>
14210
14211 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14212 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14213
603e8410
AM
142142013-10-04 Alan Modra <amodra@gmail.com>
14215
14216 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14217 use vector int constants.
14218 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14219
4a28b3ca
AB
142202013-10-04 Anton Blanchard <anton@au1.ibm.com>
14221
14222 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14223 array with long long.
14224 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14225 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14226 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14227 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14228 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14229 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14230 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14231 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14232 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14233 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14234 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14235 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14236 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14237
2ca85d2b
AB
142382013-10-04 Anton Blanchard <anton@au1.ibm.com>
14239
14240 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14241 (__signbit): Likewise. Correct for little-endian.
14242 (__signbitl): Call __signbit.
14243 (lrint): Correct for little-endian.
14244 (lrintf): Call lrint.
14245
62a728ae
AM
142462013-10-04 Alan Modra <amodra@gmail.com>
14247
14248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14249 union 32-bit int array member with 64-bit int array.
14250 (t515, tm256): Double rather than long double.
14251 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14252
32c301df
AM
142532013-10-04 Alan Modra <amodra@gmail.com>
14254
14255 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14256 Delete.
14257 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14259 version of math_ldbl.h.
14260
650ef4bd
AM
142612013-10-04 Alan Modra <amodra@gmail.com>
14262
14263 [BZ #15734], [BZ #15735]
14264 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14265 all uses of ieee875 long double macros and unions. Simplify test
14266 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14267 ldbl_extract_mantissa value for ix,iy exponents. Properly
14268 normalize after ldbl_extract_mantissa, and don't add hidden bit
14269 already handled. Don't treat low word of ieee854 mantissa like
14270 low word of IBM long double and mask off bit when testing for
14271 zero.
14272 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14273 all uses of ieee875 long double macros and unions. Simplify tests
14274 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14275 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14276 two1022, instead use their values. Recognise that tests for large
14277 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14278 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14279 Rewrite all uses of ieee875 long double macros and unions. Simplify
14280 test for 0.0L and nan. Correct negation.
14281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14282 ieee875 long double macros and unions. Correct output for large
14283 magnitude x. Correct absolute value calculation.
14284 (__erfcl): Likewise.
14285 * math/libm-test.inc: Add tests for errors discovered in IBM long
14286 double versions of fmodl, remainderl, erfl and erfcl.
14287
765714ca
AM
142882013-10-04 Alan Modra <amodra@gmail.com>
14289
14290 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14291 all uses of ieee854 long double macros and unions. Simplify tests
14292 for long doubles that are fully specified by the high double.
14293 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14294 Likewise.
14295 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14296 Remove dead code too.
14297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14298 (__ieee754_ynl): Likewise.
14299 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14300 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14301 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14302 Remove dead code too.
14303 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14304 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14305 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14306 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14307 Simplify.
14308 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14309 Simplify.
14310 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14311 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14312 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14313 Comment on variable precision.
14314 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14315 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14316 Likewise.
14317 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14318 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14319 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14320 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14321 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14322
4ebd120c
AM
143232013-10-04 Alan Modra <amodra@gmail.com>
14324
14325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14326 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14327 all uses of ieee854 long double macros and unions.
14328 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14330 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14331 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14332 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14333 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14334 Likewise.
14335 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14336 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14338 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14339 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14340 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14341 Simplify sign and nan test too.
14342 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14343 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14344 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14345 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14346 Likewise.
14347 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14348 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14349 Likewise.
14350 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14351 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14352 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14353 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14354 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14356
1b6adf88
AM
143572013-10-04 Alan Modra <amodra@gmail.com>
14358
14359 * stdio-common/printf_size.c (__printf_size): Don't use
14360 union ieee854_long_double in fpnum union.
14361 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14362 signbit macro to retrieve sign from long double.
14363 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14364 retrieve sign from long double.
14365 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14366 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14367 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14368 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14369 * math/test-misc.c (main): Don't use union ieee854_long_double.
14370
4cf69995
AM
143712013-10-04 Alan Modra <amodra@gmail.com>
14372
14373 [BZ #15680]
14374 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14375 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14376 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14377 calculation. Remove unnecessary test for denormal exponent.
14378 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14379 Correct handling of denormals. Avoid undefined shift behaviour.
14380 Correct normalisation of low mantissa when low double is denormal.
14381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14382 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14383 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14384 Correct normalisation of low mantissa. Test for overflow of high
14385 mantissa and normalise.
14386 (ldbl_nearbyint): Use more readable constant for two52.
14387 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14388 (__mpn_construct_long_double): Fix test for overflow of high
14389 mantissa and correct normalisation. Avoid undefined shift.
14390
9605ca6c
AM
143912013-10-04 Alan Modra <amodra@gmail.com>
14392
14393 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14394 (union ibm_extended_long_double): Define as an array of ieee754_double.
14395 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14396 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14397 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14398 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14399 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14400 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14401 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14402 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14403 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14404 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14405 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14406
975569d0
JM
144072013-10-03 Joseph Myers <joseph@codesourcery.com>
14408
d3d23756
JM
14409 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14410 page size instead of calling getpagesize.
14411
975569d0
JM
14412 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14413 (LOCFILE_ALIGN_MASK): Likewise.
14414 (LOCFILE_ALIGN_UP): Likewise.
14415 (LOCFILE_ALIGNED_P): Likewise.
14416 * locale/programs/ld-collate.c (collate_output): Use the new
14417 macros instead of __alignof__ (int32_t).
14418 * locale/weight.h (findidx): Likewise.
14419
b1fe1f2b
OB
144202013-10-03 Ondřej Bílka <neleai@seznam.cz>
14421
14422 [BZ #431]
14423 * manual/string.texi: Fix strncat and wcsncat.
14424
5f855e35
BM
144252013-10-03 Brooks Moses <bmoses@google.com>
14426
14427 [BZ #15915]
14428 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14429 * Makerules: ...here, and adjust associated comments.
14430
3cef6009
WN
144312013-10-02 Will Newton <will.newton@linaro.org>
14432
14433 * malloc/Makefile: Add tst-pvalloc.
14434 * malloc/tst-pvalloc.c: New file.
14435
7815420b
WN
144362013-10-02 Will Newton <will.newton@linaro.org>
14437
14438 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14439 improve test coverage.
14440
4868b204
WN
144412013-10-02 Will Newton <will.newton@linaro.org>
14442
14443 * malloc/Makefile: Add tst-posix_memalign.
14444 * malloc/tst-posix_memalign.c: New file.
14445
29c793b3
EB
144462013-10-01 Eric Blake <eblake@redhat.com>
14447
14448 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14449 Use __THROWNL rather than __THROW on static functions.
14450
fd967522
PM
144512013-09-30 Petr Machata <pmachata@redhat.com>
14452
14453 * elf/elf.h (R_AARCH64_ABS16): New macro.
14454 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14455 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14456 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14457 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14458 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14459 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14460 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14461 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14462 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14463 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14464 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14465 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14466 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14467 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14468 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14469 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14470 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14471 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14472 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14473 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14474 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14475 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14476 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14477 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14478 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14479 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14480 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14481 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14482 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14483 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14484 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14485 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14486 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14487 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14488 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14489 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14490 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14491 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14492 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14493 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14494 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14495 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14496 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14497 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14498 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14499 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14500 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14501 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14502 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14503 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14504 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14505 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14506 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14507 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14508 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14509 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14510 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14511 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14512 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14513 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14514 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14515 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14516 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14517 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14518 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14519 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14520 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14521 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14522 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14523 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14524 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14525 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14526 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14527 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14528 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14529 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14530 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14531 (R_AARCH64_TLSDESC_LDR): Likewise.
14532 (R_AARCH64_TLSDESC_ADD): Likewise.
14533 (R_AARCH64_TLSDESC_CALL): Likewise.
14534
b2179107
AS
145352013-09-30 Andreas Schwab <schwab@suse.de>
14536
14537 [BZ #15048]
14538 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14539 the nss database lookup.
14540 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14542
47f28d0a
MF
145432013-09-28 Mike Frysinger <vapier@gentoo.org>
14544
14545 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14546
145472013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
14548
14549 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14550 ${Bash-specific parameter/pattern/string} parameter expansion.
14551 * sysdeps/unix/make-syscalls.sh: Likewise.
14552
f4518a17
KK
145532013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14554
14555 * sysdeps/sh/stackguard-macros.h: New file.
14556
dc1a95c7
OB
145572013-09-26 Ondřej Bílka <neleai@seznam.cz>
14558
14559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14561 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14562 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14563 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14564 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14565
5ebbff8f
AZ
145662013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14567
14568 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14569 Fix thread ID register.
14570
4fd2cf9f
JM
145712013-09-25 Joseph Myers <joseph@codesourcery.com>
14572
14573 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14574 [POSIX || UNIX98]: Require rather than permitting all symbols from
14575 <time.h>.
14576 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14577 element of struct sched_param.
14578 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14579 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14580 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14581 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14582 constant.
14583
12c22bc4
OL
145842013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14585
14586 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14587 argument calculation.
14588
a03d8ea7
JM
145892013-09-24 Joseph Myers <joseph@codesourcery.com>
14590
14591 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14592 Expect macro.
14593 [POSIX] (pthread_attr_t): Do not require type.
14594 [POSIX] (pthread_cond_t): Likewise.
14595 [POSIX] (pthread_condattr_t): Likewise.
14596 [POSIX] (pthread_key_t): Likewise.
14597 [POSIX] (pthread_mutex_t): Likewise.
14598 [POSIX] (pthread_mutexattr_t): Likewise.
14599 [POSIX] (pthread_once_t): Likewise.
14600 [POSIX] (pthread_t): Likewise.
14601 [POSIX-based standards] (pthread_atfork): Expect function.
14602
6055173a
JM
146032013-09-24 Joseph Myers <joseph@codesourcery.com>
14604 Richard Sandiford <richard@codesourcery.com>
14605
14606 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14607 (swap_endianness_p): New extern variable.
14608 (set_big_endian): New inline function.
14609 (maybe_swap_uint32): Likewise.
14610 (maybe_swap_uint32_array): Likewise.
14611 (maybe_swap_uint32_obstack): Likewise.
14612 * locale/programs/locfile.c: Include <stdbool.h>.
14613 (swap_endianness_p): New variable.
14614 (add_locale_uint32): Call maybe_swap_uint32.
14615 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14616 (write_locale_data): Call maybe_swap_uint32_array.
14617 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14618 maybe_swap_uint32.
14619 (obstack_int32_grow_fast): Likewise.
14620 (output_weightwc): Call maybe_swap_uint32_obstack.
14621 (collate_output): Likewise.
14622 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14623 (OPT_LITTLE_ENDIAN): Likewise.
14624 (options): Add --little-endian and --big-endian options.
14625 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14626 * locale/programs/locarchive.c: Include "locfile.h".
14627 (GET): New macro.
14628 (SET): Likewise.
14629 (INC): Likewise.
14630 (create_archive): Use the new macros to access fields of
14631 structures directly mapped from or written to locale archives.
14632 (oldlocrecentcmp): Likewise.
14633 (enlarge_archive): Likewise.
14634 (insert_name): Likewise.
14635 (add_alias): Likewise.
14636 (add_locale): Likewise.
14637 (delete_locales_from_archive): Likewise.
14638 (show_archive_content): Likewise.
14639 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14640 locale data.
14641
39bf0bb4
RM
146422013-09-24 Roland McGrath <roland@hack.frob.com>
14643
14644 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14645 http://www.gnu.org/doc/freemanuals.texi.
14646 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14647
f02eed10
WN
146482013-09-24 Will Newton <will.newton@linaro.org>
14649
14650 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14651 macro.
14652
a3a6c312
JM
146532013-09-23 Joseph Myers <joseph@codesourcery.com>
14654
14655 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14656 unsigned char.
14657
107375ac
MR
146582013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14659
14660 * manual/threads.texi (POSIX Threads): Fix a typo.
14661
141f3a77
SP
146622013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14663
303e567a
SP
14664 [BZ #14547]
14665 * string/tst-strcoll-overflow.c: New test case.
14666 * string/Makefile (xtests): Add tst-strcoll-overflow.
14667 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14668 cache if string sizes may cause integer overflow.
14669
141f3a77
SP
14670 [BZ #14547]
14671 * string/strcoll_l.c (coll_seq): New members rule, idx,
14672 save_idx and back_us.
14673 (get_next_seq_nocache): New function.
14674 (do_compare_nocache): New function.
14675 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14676 when malloc fails.
14677
c61b4d41
CD
146782013-09-23 Carlos O'Donell <carlos@redhat.com>
14679
0b1f8e35
CD
14680 [BZ #15754]
14681 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14682 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14683 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14684
c61b4d41
CD
14685 [BZ #15754]
14686 * elf/Makefile (tests): Add tst-ptrguard1.
14687 (tests-static): Add tst-ptrguard1-static.
14688 (tst-ptrguard1-ARGS): Define.
14689 (tst-ptrguard1-static-ARGS): Define.
14690 * elf/tst-ptrguard1.c: New file.
14691 * elf/tst-ptrguard1-static.c: New file.
14692 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14693 * sysdeps/i386/stackguard-macros.h: Likewise.
14694 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14695 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14696 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14697 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14698 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14699 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14700
147012013-09-23 Hector Marco <hecmargi@upv.es>
14702 Ismael Ripoll <iripoll@disca.upv.es>
14703 Carlos O'Donell <carlos@redhat.com>
14704
14705 [BZ #15754]
14706 * sysdeps/generic/stackguard-macros.h: Define
14707 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14708 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14709 Define __pointer_chk_guard_local.
14710 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14711 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14712
f5f4e7b4
VV
147132013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14714
14715 [BZ #15859]
14716 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14717
5bb43a43
AS
147182013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14719
14720 * include/string.h (__ffs): Declare as hidden.
14721 * string/ffs.c (__ffs): Define as hidden.
14722 * sysdeps/i386/ffs.c (__ffs): Likewise.
14723 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14724 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14725 * sysdeps/s390/ffs.c (__ffs): Likewise.
14726 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14727
3ea5be54
AO
147282013-09-20 Alexandre Oliva <aoliva@redhat.com>
14729
ffb89e53
AO
14730 * NEWS: Mention malloc probes.
14731
322dea08
AO
14732 * malloc/arena.c (new_heap): New memory_heap_new probe.
14733 (grow_heap): New memory_heap_more probe.
14734 (shrink_heap): New memory_heap_less probe.
14735 (heap_trim): New memory_heap_free probe.
14736 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14737 (systrim): New memory_sbrk_less probe.
14738 * manual/probes.texi: Document them.
14739
655673f3
AO
14740 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14741 * manual/probes.texi: Document it.
14742
35fed6f1
AO
14743 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14744 (__libc_realloc): Add memory_realloc_retry probe.
14745 (__libc_memalign): Add memory_memalign_retry probe.
14746 (__libc_valloc): Add memory_valloc_retry probe.
14747 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14748 (__libc_calloc): Add memory_calloc_retry probe.
14749 * manual/probes.texi: Document them.
14750
6999d38c
AO
14751 * malloc/arena.c (get_free_list): Add probe
14752 memory_arena_reuse_free_list.
14753 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14754 and memory_arena_reuse.
14755 (arena_get2) [!PER_THREAD]: Likewise.
14756 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14757 memory_arena_reuse_realloc.
14758 * manual/probes.texi: Document them.
14759
0653427f
AO
14760 * malloc/malloc.c (__libc_free): Add
14761 memory_mallopt_free_dyn_thresholds probe.
14762 (__libc_mallopt): Add multiple memory_mallopt probes.
14763 * manual/probes.texi: Document them.
14764
3ea5be54
AO
14765 * malloc/malloc.c: Include stap-probe.h.
14766 (__libc_mallopt): Add memory_mallopt probe.
14767 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14768 * manual/probes.texi: New.
14769 * manual/Makefile (chapters): Add probes.
14770 * manual/threads.texi: Set next node.
14771
e35696c3 147722013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 14773
e35696c3
CL
14774 [BZ #15963, #13985]
14775 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14776 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14777 Add `Chinese' to `nan' entry name.
14778
4aafb73c
SP
147792013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14780
14781 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14782 (POLYNOMIAL): Likewise.
14783 (TAYLOR_SINCOS): Likewise.
14784 (TAYLOR_SLOW): Likewise.
14785 (__sin): Use TAYLOR_SINCOS.
14786 (__cos): Likewise.
14787 (slow): Use TAYLOR_SLOW.
14788 (sloww): Likewise.
14789 (bsloww): Likewise.
14790 (csloww): Likewise.
14791
d84f25c7
LD
147922013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14793
14794 * stdlib/strtod_l.c: Fix buffer overrun.
14795
5eea0404
SP
147962013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14797
7849ff93
SP
14798 * benchtests/Makefile (bench): Add sincos.
14799 * benchtests/bench-sincos.c: New file.
14800
cfa3c886
SP
14801 * math/libm-test.inc (cos_test_data): New test inputs.
14802 (sin_test_data): Likewise.
14803
b348e1e3
SP
14804 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14805 macro.
14806 (__sin): Use it.
14807 (__cos): Likewise.
14808 (slow1): Likewise.
14809 (slow2): Likewise.
14810 (sloww1): Likewise.
14811 (sloww2): Likewise.
14812 (bsloww1): Likewise.
14813 (bsloww2): Likewise.
14814 (cslow2): Likewise.
14815 (csloww1): Likewise.
14816 (csloww2): Likewise.
14817
6cce25f8
SP
14818 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14819 function.
14820 (__sin): Use it.
14821 (__cos): Likewise.
14822
5eea0404
SP
14823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14824 gotos.
14825 (__cos): Likewise.
14826
9c21573c
MR
148272013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14828
14829 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14830 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14831 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14832 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14833 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14834 * elf/cache.c (print_entry): Handle the new cache flags.
14835
24d22e65
JM
148362013-09-18 Joseph Myers <joseph@codesourcery.com>
14837 Aldy Hernandez <aldyh@redhat.com>
14838
14839 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14840 Change condition to [_SOFT_FLOAT].
14841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14853 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14856 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14857 declaration.
14858
d13ef066
JM
148592013-09-18 Joseph Myers <joseph@codesourcery.com>
14860
2e071de0
JM
14861 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14862 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14863 (__longjmp): Use LOAD_GP to load saved GPRs.
14864 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14865 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14866 (__sigsetjmp): Use SAVE_GP to save GPRs.
14867
d13ef066
JM
14868 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14869 Do not append -msoft-float.
14870 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14871
97a0650b
SP
148722013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14873
14874 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14875
11ca09e9
JM
148762013-09-17 Joseph Myers <joseph@codesourcery.com>
14877
14878 [BZ #15966]
14879 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14880 (_FPU_GETCW): Use initial "__" on variable and field names but not
14881 on macro parameter name.
14882 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14883 parentheses around reference to macro parameter.
14884
08ffcf34
RS
148852013-09-13 Richard Sandiford <richard@codesourcery.com>
14886
14887 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14888 prototype.
14889 (ctype_startup): Use uint32_t in cast and sizeof for
14890 ctype->charnames.
14891
ae7080d3
JL
148922013-09-11 Jia Liu <proljc@gmail.com>
14893
14894 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14895 __daddr_t_defined.
14896 [__FreeBSD__]: Likewise.
14897
5905e7b3
OB
148982013-09-11 Ondřej Bílka <neleai@seznam.cz>
14899
14900 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14901 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14902 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14903 (strchr): Remove __strchr_sse42 ifunc selection.
14904 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14905 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14906
b987c776
WN
149072013-09-11 Will Newton <will.newton@linaro.org>
14908
14909 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14910 parameter to RES. Remove hardcoded 1000 value.
14911 * benchtests/bench-skeleton.c (main): Pass RES parameter
14912 to TIMING_INIT and multiply result by 1000.
14913
ddf985af
AZ
149142013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14915
14916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14917
ffdd3181
AS
149182013-09-11 Andreas Schwab <schwab@suse.de>
14919
14920 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14921 if not defined.
14922 (O_TMPFILE) [__USE_GNU]: Define.
14923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14924 Define.
14925
b73ed247
WN
149262013-09-11 Will Newton <will.newton@linaro.org>
14927
14928 [BZ #15857]
14929 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14930 does not overflow.
14931
55e17aad
WN
149322013-09-11 Will Newton <will.newton@linaro.org>
14933
14934 [BZ #15856]
14935 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14936 does not overflow.
14937
1159a193
WN
149382013-09-11 Will Newton <will.newton@linaro.org>
14939
14940 [BZ #15855]
14941 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14942 does not overflow.
14943
5905e7b3 149442013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
14945
14946 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14947 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14948 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14950 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14951
cdfc721b
AM
149522013-09-10 Allan McRae <allan@archlinux.org>
14953
aa04af00
AM
14954 [BZ #15748]
14955 * manual/arith.texi (Parsing of Floats): Clarify
14956 cross-reference.
14957
cdfc721b
AM
14958 [BZ #15849]
14959 * manual/install.texi (Running make install): Mention
14960 --enable-pt-chown.
14961 * INSTALL: Regenerated.
14962
95e7cf29
MR
149632013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14964
14965 * csu/init-first.c (_init): Remove the !SHARED condition around
14966 FPU control word initialization.
14967 * elf/dl-support.c (_dl_fpu_control): New variable.
14968 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14969 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14970 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14971 * math/test-fpucw-static.c: New file.
14972 * math/test-fpucw-ieee.c: New file.
14973 * math/test-fpucw-ieee-static.c: New file.
14974 * math/Makefile (tests): Add `test-fpucw-ieee' and
14975 `$(tests-static)'.
14976 (tests-static): New variable.
14977 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14978 dependency to...
14979 [($(build-shared),yes)]
14980 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14981 ... this.
14982 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14983 New dependency.
14984
83e43bf0
AM
149852013-09-09 Allan McRae <allan@archlinux.org>
14986
a9f5ce09
AM
14987 [BZ #15939]
14988 * manual/string.texi (Collation Functions): Fix typo in
14989 strcoll example.
14990 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14991
34829bc2
AM
14992 [BZ #15893]
14993 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14994
3932737d
AM
14995 [BZ #15892]
14996 * libio/memstream.c (open_memstream): Fix memory leak.
14997 * libio/wmemstream.c (open_wmemstream): Likewise.
14998
83e43bf0
AM
14999 [BZ #15895]
15000 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15001
0c66b8e9
WN
150022013-09-09 Will Newton <will.newton@linaro.org>
15003
15004 * malloc/Makefile: Add tst-realloc to tests.
15005 * malloc/tst-realloc.c: New file.
15006
f6b00fd1
AM
150072013-09-09 Allan McRae <allan@archlinux.org>
15008
15009 [BZ #15844]
15010 * COPYING: Update from GNU website to fix FSF address.
15011 * COPYING.LIB: Likewise.
15012
eec55e16
DM
150132013-09-06 David S. Miller <davem@davemloft.net>
15014
15015 * po/zh_TW.po: Update Chinese (traditional) translation from
15016 translation project.
15017
1ecbb381
RS
150182013-09-06 Richard Sandiford <richard@codesourcery.com>
15019 Joseph Myers <joseph@codesourcery.com>
15020
15021 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15022 "localeinfo.h".
15023 (obstack_chunk_alloc): New macro.
15024 (obstack_chunk_free): Likewise.
15025 (record_offset): New function.
15026 (init_locale_data): Likewise.
15027 (align_locale_data): Likewise.
15028 (add_locale_empty): Likewise.
15029 (add_locale_raw_data): Likewise.
15030 (add_locale_raw_obstack): Likewise.
15031 (add_locale_string): Likewise.
15032 (add_locale_wstring): Likewise.
15033 (add_locale_uint32): Likewise.
15034 (add_locale_uint32_array): Likewise.
15035 (add_locale_char): Likewise.
15036 (start_locale_structure): Likewise.
15037 (end_locale_structure): Likewise.
15038 (start_locale_prelude): Likewise.
15039 (end_locale_prelude): Likewise.
15040 (write_locale_data): Take locale_file structure rather than an
15041 iovec.
15042 * locale/programs/locfile.h: Include "obstack.h".
15043 (struct locale_file): Change to store locale file contents instead
15044 of header.
15045 (init_locale_data): New prototype.
15046 (align_locale_data): Likewise.
15047 (add_locale_empty): Likewise.
15048 (add_locale_raw_data): Likewise.
15049 (add_locale_raw_obstack): Likewise.
15050 (add_locale_string): Likewise.
15051 (add_locale_wstring): Likewise.
15052 (add_locale_uint32): Likewise.
15053 (add_locale_uint32_array): Likewise.
15054 (add_locale_char): Likewise.
15055 (start_locale_structure): Likewise.
15056 (end_locale_structure): Likewise.
15057 (start_locale_prelude): Likewise.
15058 (end_locale_prelude): Likewise.
15059 (write_locale_data): Update prototype.
15060 * locale/programs/3level.h (struct TABLE): Remove result field.
15061 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15062 Use new locale_file interface.
15063 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15064 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15065 * locale/programs/ld-address.c (address_output): Use new
15066 locale_file interface.
15067 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15068 NO_ADD_LOCALE.
15069 (collate_finish): Don't call collseq_table_finalize.
15070 (collate_output): Use new locale_file interface.
15071 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15072 in file.
15073 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15074 (TABLE): Move defines earlier in file.
15075 (ELEMENT): Likewise.
15076 (DEFAULT): Likewise.
15077 (wctrans_table_add): Move macro and inline function earlier in
15078 file.
15079 (struct wctype_table): Move type earlier in file.
15080 (add_locale_wctype_table): New static prototype.
15081 (struct locale_ctype_t): Use logical types instead of struct iovec
15082 pointers for members.
15083 (ctype_output): Use new locale_file interface.
15084 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15085 new locale_file interface.
15086 (allocate_arrays): Update for use of new locale_file interface.
15087 * locale/programs/ld-identification.c (identification_output): Use
15088 new locale_file interface.
15089 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15090 * locale/programs/ld-messages.c (messages_output): Likewise.
15091 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15092 * locale/programs/ld-name.c (name_output): Likewise.
15093 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15094 * locale/programs/ld-paper.c (paper_output): Likewise.
15095 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15096 * locale/programs/ld-time.c (time_output): Likewise.
15097
e029e2e5
AZ
150982013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15099
15100 * benchtests/Makefile: Add memrchr benchmark.
15101 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15102 benchmark as memrchr.
15103 * benchtests/bench-memrchr-ifunc.c: New file.
15104 * benchtests/bench-memrchr.c: New file.
15105
bbf6e8e4
WN
151062013-09-06 Will Newton <will.newton@linaro.org>
15107
15108 * benchtests/Makefile (string-bench): Add memcpy.
15109
6c82a2f8
CD
151102013-09-05 Carlos O'Donell <carlos@redhat.com>
15111 Cong Wang <amwang@redhat.com>
15112
e732c5f0 15113 [BZ #15850]
6c82a2f8
CD
15114 * sysdeps/unix/sysv/linux/bits/in.h
15115 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15116 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15117 before __USE_KERNEL_IPV6_DEFS uses.
15118 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15119 IPPROTO_BEETPH.
15120 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15121 sockaddr_in6, or ipv6_mreq.
15122
5430fc65
AZ
151232013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15124
15125 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15126 memory access for final bytes in some large inputs.
15127 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15128
4660856c
AZ
151292013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15130
15131 * string/test-memrchr.c: New file.
15132 * string/test-memrchr-ifunc.c: New file.
15133 * string/Makefile: Add new memrchr testcase.
15134
bb8ea713
MF
151352013-09-05 Mike Frysinger <vapier@gentoo.org>
15136
15137 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15138 fanotify_init returns EPERM.
15139
b92a20b5
JM
151402013-09-04 Joseph Myers <joseph@codesourcery.com>
15141
15142 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15143 errors.
15144 (top level): Treat second token from macro or constant entries for
15145 allowed headers as allowed.
15146 * include/complex.h: Condition internal declarations on
15147 [!_ISOMAC].
15148 * include/fenv.h: Condition include of <stdbool.h> and internal
15149 declarations on [!_ISOMAC].
7447ccd9
CL
15150
151512013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15152
3e181dda 15153 [BZ #15923]
7447ccd9
CL
15154 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15155
3f2e46a4
JM
151562013-09-04 Joseph Myers <joseph@codesourcery.com>
15157
15158 * configure.in (--enable-versioning): Remove configure option.
15159 (libc_cv_asm_symver_directive): Remove configure test.
15160 (libc_cv_ld_version_script_option): Likewise.
15161 (VERSIONING): Remove variable and AC_SUBST.
15162 (DO_VERSIONING): Remove AC_DEFINE.
15163 * configure: Regenerated.
15164 * config.h.in (DO_VERSIONING): Remove macro.
15165 * Makerules [$(versioning) = yes]: Change conditionals to
15166 [$(build-shared) = yes].
15167 * config.make.in (versioning): Remove variable.
15168 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15169 [$(build-shared) = yes].
15170 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15171 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15172 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15173 [$(build-shared) = yes].
15174 * extra-lib.mk [$(versioning) = yes]: Likewise.
15175 * hurd/Makefile [$(versioning) = yes]: Likewise.
15176 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15177 [SHARED].
15178 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15179 [SHARED].
15180 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15181 [SHARED && !NO_HIDDEN].
15182 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15183 [SHARED].
15184 [SHARED && DO_VERSIONING]: Likewise..
15185 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15186 [$(build-shared) = yes].
15187 * manual/install.texi (--disable-versioning): Remove
15188 documentation.
15189 * INSTALL: Regenerated.
15190 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15191 to [SHARED].
15192 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15193 [$(build-shared) = yes].
15194 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15195 * sysdeps/i386/i686/multiarch/strstr-c.c
15196 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15197 [SHARED && !NO_HIDDEN].
15198 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15199 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15200 * sysdeps/powerpc/powerpc32/dl-machine.c
15201 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15202 * sysdeps/powerpc/powerpc32/sysdep.h
15203 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15204 to [SHARED && PIC && !NO_HIDDEN].
15205 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15206 conditional to [SHARED].
15207
44558701
WN
152082013-09-04 Will Newton <will.newton@linaro.org>
15209
15210 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15211 * benchtests/bench-string.h: Include bench-timing.h instead
15212 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15213 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15214 call to HP_TIMING_DIFF_INIT.
15215 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15216 instead of hp-timing.h macros.
15217 * benchtests/bench-memchr.c: Likewise.
15218 * benchtests/bench-memcmp.c: Likewise.
15219 * benchtests/bench-memcpy.c: Likewise.
15220 * benchtests/bench-memmem.c: Likewise.
15221 * benchtests/bench-memmove.c: Likewise.
15222 * benchtests/bench-memset.c: Likewise.
15223 * benchtests/bench-rawmemchr.c: Likewise.
15224 * benchtests/bench-strcasecmp.c: Likewise.
15225 * benchtests/bench-strcasestr.c: Likewise.
15226 * benchtests/bench-strcat.c: Likewise.
15227 * benchtests/bench-strchr.c: Likewise.
15228 * benchtests/bench-strcmp.c: Likewise.
15229 * benchtests/bench-strcpy.c: Likewise.
15230 * benchtests/bench-strcpy_chk.c: Likewise.
15231 * benchtests/bench-strlen.c: Likewise.
15232 * benchtests/bench-strncasecmp.c: Likewise.
15233 * benchtests/bench-strncat.c: Likewise.
15234 * benchtests/bench-strncmp.c: Likewise.
15235 * benchtests/bench-strncpy.c: Likewise.
15236 * benchtests/bench-strnlen.c: Likewise.
15237 * benchtests/bench-strpbrk.c: Likewise.
15238 * benchtests/bench-strrchr.c: Likewise.
15239 * benchtests/bench-strspn.c: Likewise.
15240 * benchtests/bench-strstr.c: Likewise.
15241
cae16d66
WN
152422013-09-04 Will Newton <will.newton@linaro.org>
15243
15244 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15245
ffa3cd7f
JM
152462013-09-03 Joseph Myers <joseph@codesourcery.com>
15247
15248 [BZ #15427]
15249 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15250 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15251 * math/libm-test.inc (lgamma_test_data): Add more tests.
15252 * sysdeps/i386/fpu/libm-test-ulps: Update.
15253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15254
8f02859f
OB
152552013-09-03 Ondřej Bílka <neleai@seznam.cz>
15256
15257 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15259 Add ifunc.
15260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15261 Add strcmp-sse2-unaligned
15262 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15263
18d43716
MF
152642013-09-02 Mike Frysinger <vapier@gentoo.org>
15265
15266 * Versions.def (libc): Add GLIBC_2.19.
15267
ac444012
MF
152682013-09-02 Mike Frysinger <vapier@gentoo.org>
15269
15270 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15271 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15272
b7835e32
JM
152732013-09-02 Joseph Myers <joseph@codesourcery.com>
15274
15275 [BZ #14155]
15276 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15277 intermediate calculations in recurrence.
15278 (__ieee754_ynf): Likewise.
15279 * math/libm-test.inc (jn_test_data): Do not allow spurious
15280 underflow exception. Add more tests.
15281 (yn_test_data): Add more tests.
15282 * sysdeps/i386/fpu/libm-test-ulps: Update.
15283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15284
8220f4f0
OB
152852013-09-02 Ondřej Bílka <neleai@seznam.cz>
15286
15287 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15288
f24a6d08
OB
152892013-08-30 Ondřej Bílka <neleai@seznam.cz>
15290
15291 * csu/init-first.c: Fix then/than typos.
15292 * locale/programs/ld-collate.c: Likewise.
15293 * locale/programs/linereader.h: Likewise.
15294 * manual/charset.texi: Likewise.
15295 * manual/filesys.texi: Likewise.
15296 * manual/stdio.texi: Likewise.
15297 * manual/string.texi: Likewise.
15298 * stdlib/fmtmsg.c: Likewise.
15299 * sysdeps/i386/stpncpy.S: Likewise.
15300 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15301 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15302 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15303 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15304
382466e0
OB
153052013-08-30 Ondřej Bílka <neleai@seznam.cz>
15306
15307 * elf/dl-open.c: Fix typos.
15308 * iconvdata/gbbig5.c: Likewise.
15309 * iconvdata/iso-2022-jp.c: Likewise.
15310 * iconv/gconv_int.h: Likewise.
15311 * iconv/loop.c: Likewise.
15312 * nis/rpcsvc/nis.h: Likewise.
15313 * resolv/ns_name.c: Likewise.
15314 * stdio-common/vfscanf.c: Likewise.
15315 * streams/stropts.h: Likewise.
15316 * sunrpc/rpc_thread.c: Likewise.
15317 * sysdeps/i386/strpbrk.S: Likewise.
15318 * sysdeps/ieee754/k_standard.c: Likewise.
15319 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15320 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15321 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15322 * sysdeps/mach/hurd/profil.c: Likewise.
15323 * sysdeps/s390/dl-procinfo.h: Likewise.
15324 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15325 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15326 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15327 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15328 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15329
0186c6e9
OB
153302013-08-30 Ondřej Bílka <neleai@seznam.cz>
15331
15332 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15334
d4e16af1
OB
153352013-08-29 Ondřej Bílka <neleai@seznam.cz>
15336
15337 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15338 aix specific files.
15339 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15340 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15341 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15342 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15343 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15344 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15345 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15346 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15347
88335980
TS
153482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15349 Roland McGrath <roland@hack.frob.com>
15350
15351 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15352 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15353
ed479b02
ST
153542013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15355
15356 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15357 __executable_start symbol instead of _start.
15358
f1cc4c86
TS
153592013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15360
d821f07c
TS
15361 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15362 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15363 Move macros to...
15364 * sysdeps/gnu/ldsodefs.h: ... this new file.
15365
c54290cf
TS
15366 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15367 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15368 instead of ELFOSABI_LINUX.
15369
0007fc9b 15370 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
15371 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15372 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15373 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15374 Likewise.
15375 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15376 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15377 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15378 Likewise.
15379 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15380 (ibm_extended_long_double): Add ieee_nan member.
15381 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15382 (do_test): New function.
15383
f1cc4c86
TS
15384 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15385 TEST_TRUNC.
15386 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15387 functions, renamed from truncdfsf_test, trunctfsf_test,
15388 trunctfdf_test.
15389 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15390 functions.
15391 (do_test): Run all these.
15392
6f65e668
OB
153932013-08-29 Ondřej Bílka <neleai@seznam.cz>
15394
15395 * argp/argp-help.c: Fix typos.
15396 * argp/argp-parse.c: Likewise.
15397 * debug/backtracesyms.c: Likewise.
15398 * elf/elf.h: Likewise.
15399 * malloc/malloc.c: Likewise.
15400 * nis/nis_print.c: Likewise.
15401 * resolv/res_comp.c: Likewise.
15402 * stdlib/stdlib.h: Likewise.
15403 * sunrpc/clnt_tcp.c: Likewise.
15404 * sunrpc/clnt_udp.c: Likewise.
15405 * sunrpc/clnt_unix.c: Likewise.
15406 * sysdeps/unix/bsd/ptsname.c: Likewise.
15407 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15408 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
15409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15410 Likewise.
15411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15412 Likewise.
15413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15414 Likewise.
6f65e668
OB
15415 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15416
3a309239
SP
154172013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15418
15419 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15421
3b813b29
MF
154222013-08-27 Mike Frysinger <vapier@gentoo.org>
15423
15424 [BZ #15897]
15425 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15426 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15427 ($(objpfx)bug-dl-leaf): New rule.
15428 ($(objpfx)bug-dl-leaf.so): Likewise.
15429 ($(objpfx)bug-dl-leaf.out): Likewise.
15430 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15431 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15432 * dlfcn/bug-dl-leaf.c: New test.
15433 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15434 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15435 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15436 (dlclose): Likewise.
15437 (dlmopen): Likewise.
15438
8cc3269f
RM
154392013-08-27 Roland McGrath <roland@hack.frob.com>
15440
7f9d0034
RM
15441 * include/netdb.h [!_ISOMAC]:
15442 Don't include <tls.h>.
15443 (h_errno, __libc_h_errno): Move declaration and macros out of
15444 [_LIBC_REENTRANT].
15445
fb431262
RM
15446 * include/resolv.h [_RESOLV_H_]:
15447 Don't include <tls.h>.
15448 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15449 * resolv/res_libc.c: Don't include <tls.h>.
15450 (_res): Use __attribute__ ((nocommon)) in place of
15451 __attribute__ ((section (".bss"))).
15452
bd81123a
RM
15453 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15454 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15455
c4e42566
RM
15456 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15457
f890a59b
RM
15458 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15459 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15460
15461 * resolv/res_mkquery.c: Include <sys/time.h>.
15462
5d1f0a09
RM
15463 * inet/ifreq.c: Moved to ...
15464 * sysdeps/unix/ifreq.c: ... here.
15465 * inet/ifreq.c: New file, true stub version.
15466
6fcf28b3
RM
15467 * socket/sa_len.c: New file.
15468 * socket/Makefile (aux): Add it.
15469 * sysdeps/unix/sysv/linux/Makefile
15470 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15471 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15472 and #include <socket/sa_len.c>.
15473 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15474 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15475
e041fb8b
RM
15476 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15477 * bits/socket.h: ... here.
15478
8cc3269f
RM
15479 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15480 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15481 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15482
5d228a43
AS
154832013-08-27 Andreas Schwab <schwab@suse.de>
15484
45b8accc
AS
15485 [BZ #15736]
15486 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15487 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15488 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15489 * string/test-strcasecmp.c (test_main): Run tests in several
15490 locales.
15491 * string/test-strncasecmp.c (test_main): Likewise.
15492
5d228a43
AS
15493 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15494 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15495 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15497 (__strncasecmp_ssse3) [PIC]: Likewise.
15498
59d112a4
RM
154992013-08-26 Roland McGrath <roland@hack.frob.com>
15500
53234cc3
RM
15501 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15502
59d112a4
RM
15503 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15504 instead of explicitly declaring xdecrypt.
15505 * nis/nss_nis/nis-publickey.c: Likewise.
15506
595aba70
SP
155072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15508
15509 [BZ #15890]
15510 * nscd/aicache.c: Include res_hconf.h.
15511 (addhstaiX): Initialize res_hconf.
15512
ffabd393
AS
155132013-08-26 Andreas Schwab <schwab@suse.de>
15514
15515 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15516 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15517
e0a69f5c
SP
155182013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15519
15520 * nscd/aicache.c (addhstaiX): Fix indentation.
15521
8c12f01d
MF
155222013-08-25 Mike Frysinger <vapier@gentoo.org>
15523
15524 * configure.ac: Quote $build_pt_chown test.
15525 * configure: Regenerated.
15526
8fe89494
JM
155272013-08-23 Joseph Myers <joseph@codesourcery.com>
15528
15529 [BZ #15532]
15530 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15531 * math/s_cexpf.c (__cexpf): Likewise.
15532 * math/s_cexpl.c (__cexpl): Likewise.
15533 * math/libm-test.inc (cexp_test_data): Correct expected return
15534 value for NaN + i0. Add another test.
15535
75b181d6
DM
155362013-08-22 David S. Miller <davem@davemloft.net>
15537
15538 * po/ca.po: Update Catalan translation from translation project.
936241e4 15539 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 15540
acd06bb1
JM
155412013-08-21 Joseph Myers <joseph@codesourcery.com>
15542
15543 [BZ #15797]
15544 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15545 is infinite, not alongside NaN test.
15546 * math/s_fdimf.c (__fdimf): Likewise.
15547 * math/s_fdiml.c (__fdiml): Likewise.
15548 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15549 errno is unchanged.
15550
c0c3f78a
OB
155512013-08-21 Ondřej Bílka <neleai@seznam.cz>
15552
15553 * argp/argp-help.c: Fix typos.
15554 * crypt/speeds.c: Likewise.
15555 * csu/check_fds.c: Likewise.
15556 * elf/dl-load.c: Likewise.
15557 * elf/dl-open.c: Likewise.
15558 * elf/reldep3.c: Likewise.
15559 * elf/reldep.c: Likewise.
15560 * elf/sprof.c: Likewise.
15561 * iconv/iconv_charmap.c: Likewise.
15562 * iconv/skeleton.c: Likewise.
15563 * iconv/strtab.c: Likewise.
15564 * io/lockf64.c: Likewise.
15565 * libio/libioP.h: Likewise.
15566 * resolv/gai_notify.c: Likewise.
15567 * resolv/ns_name.c: Likewise.
15568 * resolv/ns_samedomain.c: Likewise.
15569 * resolv/res_send.c: Likewise.
15570 * stdlib/random.c: Likewise.
15571 * sunrpc/rpc/xdr.h: Likewise.
15572 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15573 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15574 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15575 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15576 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15577 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15579 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15580 * sysdeps/mach/hurd/check_fds.c: Likewise.
15581 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15582 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15583 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15584 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15585 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15586 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15587 * sysdeps/pthread/aio_notify.c: Likewise.
15588 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15589 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15590 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15591 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15592 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15593
46ed1038
LD
155942013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15595
15596 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15597 version if bit_Slow_SSE4_2 is set.
15598 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15600
d400dcac
AZ
156012013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15602
15603 [BZ #15867]
15604 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15605 trampoline stack frame information.
15606 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15607 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15608 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15609 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15610 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15611 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15612 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15613 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15614 sa_flags value.
15615 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15616 interrupting a syscall and set with option SA_SIGINFO.
15617
42c8fdd8
JM
156182013-08-20 Joseph Myers <joseph@codesourcery.com>
15619
c980f2f4
JM
15620 [BZ #15531]
15621 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15622 argument is infinite.
15623 * math/s_cprojf.c (__cprojf): Likewise.
15624 * math/s_cprojl.c (__cprojl): Likewise.
15625 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15626 * math/libm-test.inc (cproj_test_data): Add more tests.
15627
0716c4fc
JM
15628 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15629
42c8fdd8
JM
15630 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15631 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15632 size. Use __ffs to determine corresponding shift.
15633
b31469d0
JM
156342013-08-20 Joseph Myers <joseph@codesourcery.com>
15635 Roland McGrath <roland@hack.frob.com>
15636
15637 * Makefile (INSTALL): Remove trailing blank lines from output of
15638 makeinfo.
15639
4e39af6e
AK
156402013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15641
15642 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15643 Align 32 bit compat elf_greg to 8 bytes.
15644
f315524e
AA
156452013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15646
15647 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15648
1326ba1a
SP
156492013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15650
15651 * string/strcoll_l.c (coll_seq): New structure.
15652 (get_next_seq_cached): New function.
15653 (get_next_seq): New function.
15654 (do_compare): New function.
15655 (STRCOLL): Use GNU style definition. Simplify implementation
15656 by using get_next_seq, get_next_seq_cached and do_compare.
15657
91ce4085
FW
156582013-08-16 Florian Weimer <fweimer@redhat.com>
15659
15660 [BZ #14699]
15661 CVE-2013-4237
15662 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15663 member.
15664 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15665 member.
15666 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15667 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15668 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15669 conditional.
15670 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15671 GETDENTS_64BIT_ALIGNED.
15672 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15673 * manual/filesys.texi (Reading/Closing Directory): Document
15674 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15675 strongly.
15676 * manual/conf.texi (Limits for Files): Add portability note to
15677 NAME_MAX, PATH_MAX.
15678 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15679
ca0a6bc4
AS
156802013-08-13 Andreas Schwab <schwab@suse.de>
15681
15682 [BZ #15749]
15683 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15684 of fabs.
15685 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15686 LDBL_MAX_EXP >= 16384]: Add tests for it.
15687
6c1fd795
DM
156882013-08-12 David S. Miller <davem@davemloft.net>
15689
15690 * version.h (RELEASE): Set to "development".
15691 (VERSION): Set to "2.18.90".
15692 * NEWS: Add 2.19 section.
15693
31ad488d
DM
156942013-08-03 David S. Miller <davem@davemloft.net>
15695
15696 * po/ko.po: Update Korean translation from translation project.
15697
db24e684
DM
156982013-08-01 David S. Miller <davem@davemloft.net>
15699
15700 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15701 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15702 Bilka.
15703
f723285b
DM
157042013-07-30 David S. Miller <davem@davemloft.net>
15705
15706 * po/fr.po: Update French translation from translation project.
15707
3cbc52db
DM
157082013-07-28 David S. Miller <davem@davemloft.net>
15709
30bbc0cc
DM
15710 * po/cs.po: Update Czech translation from translation project.
15711
3cbc52db
DM
15712 * po/sv.po: Update Swedish translation from translation project.
15713
d492e6d0
DM
157142013-07-27 David S. Miller <davem@davemloft.net>
15715
f1a7f492
DM
15716 * po/eo.po: Update Esperanto translation from translation project.
15717
90e62a4a
DM
15718 * po/vi.po: Update Vietnamese translation from translation project.
15719
d492e6d0
DM
15720 * po/de.po: Update German translation from translation project.
15721
d4baa62d
DM
157222013-07-26 David S. Miller <davem@davemloft.net>
15723
641aa7b4
DM
15724 * po/bg.po: Update Bulgarian translation from translation project.
15725
d4baa62d
DM
15726 * po/nl.po: Update Dutch translation from translation project.
15727 * po/pl.po: Update Polish translation from translation project.
15728 * po/ru.po: Update Russian translation from translation project.
15729
61a9dcb9
DM
157302013-07-24 David S. Miller <davem@davemloft.net>
15731
15732 * po/libc.pot: Update.
15733
7b1f8b58
AZ
157342013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15735
15736 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15737 variable page size.
15738 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15739 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15740 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15741
a8fc7a03
AK
157422013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15743
15744 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15745
e4608715
CD
157462013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15747 Andreas Schwab <schwab@suse.de>
15748 Roland McGrath <roland@hack.frob.com>
15749 Joseph Myers <joseph@codesourcery.com>
15750 Carlos O'Donell <carlos@redhat.com>
15751
15752 [BZ #15755]
15753 * config.h.in: Define HAVE_PT_CHOWN.
15754 * config.make.in (build-pt-chown): New variable.
15755 * configure.in (--enable-pt_chown): New configure option.
15756 * configure: Regenerate.
15757 * login/Makefile: Include Makeconfig. Build pt_chown only if
15758 build-pt-chown is enabled.
15759 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15760 pt_chown to fix pty ownership.
15761 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15762 CLOSE_ALL_FDS.
15763 * manual/install.texi (Configuring and compiling): Mention
15764 --enable-pt_chown. Add @findex for grantpt.
15765 * INSTALL: Regenerate.
15766
da2d62df
DM
157672013-07-20 David S. Miller <davem@davemloft.net>
15768
15769 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15770 difference between 32-bit and 64-bit.
15771
d7e06450
CD
157722013-07-15 Carlos O'Donell <carlos@redhat.com>
15773
15774 [BZ #15711]
15775 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15776 Avoid system header dependency with -ffreestanding.
15777 ($(objpfx)bits/syscall%d): Likewise.
15778
f959cfd7
DM
157792013-07-13 David S. Miller <davem@davemloft.net>
15780
15781 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15782 underflows from atanl/atan2l due to bug 15319.
15783 (casinh_test_data): Likewise.
15784
c61f8513
DM
157852013-07-07 David S. Miller <davem@davemloft.net>
15786
15787 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15788
72c90ed0
JA
157892013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15790
15791 * sysdeps/i386/fpu/libm-test-ulps: Update.
15792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15793
52dfbe13
SP
157942013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15795
15796 * configure.in (--enable-lock-elision): Fix message text.
15797 * INSTALL: Regenerate.
15798 * configure: Regenerate.
15799
3f169543
AZ
158002013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15801
15802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15803
521c6785
AJ
158042013-07-03 Andreas Jaeger <aj@suse.de>
15805
15806 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15807 define.
15808 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15809 (ptrace_peeksiginfo_args): Add.
15810 (__ptrace_peeksiginfo_flags): Add.
15811 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15812 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15813 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15814
d2cc15cb
AM
158152013-07-03 Allan McRae <allan@archlinux.org>
15816
15817 * sysdeps/i386/fpu/libm-test-ulps: Update.
15818
3aaeeca7
DM
158192013-07-02 David S. Miller <davem@davemloft.net>
15820
15821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15822
5314ed1a
MT
158232013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15824
15825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15826
67338156
JM
158272013-07-02 Joseph Myers <joseph@codesourcery.com>
15828
15829 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15831
1717da59
AK
158322013-07-02 Andi Kleen <ak@linux.intel.com>
15833
15834 * config.h.in (ENABLE_LOCK_ELISION): Add.
15835 * configure.in (--enable-lock-elision): Add option.
15836 * manual/install.texi: Document --enable lock elision.
15837 * configure: Regenerate
15838 * INSTALL: Regenerate.
15839
1c81621c
L
158402013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15841
15842 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15843 SSE4.2 strcasecmp for libc.a.
15844 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15845
77f01ab5
JM
158462013-07-02 Joseph Myers <joseph@codesourcery.com>
15847
15848 [BZ #13304]
15849 * soft-fp/op-common.h (_FP_FMA): New macro.
15850 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15851 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15852 (_FP_MUL_MEAT_1_imm): ... here.
15853 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15854 (_FP_MUL_MEAT_1_wide): ... here.
15855 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15856 (_FP_MUL_MEAT_1_hard): ... here.
15857 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15858 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15859 (_FP_MUL_MEAT_2_wide): ... here.
15860 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15861 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15862 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15863 (_FP_MUL_MEAT_2_gmp): ... here.
15864 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15865 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15866 (_FP_MUL_MEAT_4_wide): ... here.
15867 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15868 (_FP_MUL_MEAT_4_gmp): ... here.
15869 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15870 (_FP_WFRACBITS_DW_S): Likewise.
15871 (_FP_WFRACXBITS_DW_S): Likewise.
15872 (_FP_HIGHBIT_DW_S): Likewise.
15873 (FP_FMA_S): Likewise.
15874 (_FP_FRAC_HIGH_DW_S): Likewise.
15875 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15876 (_FP_WFRACBITS_DW_D): Likewise.
15877 (_FP_WFRACXBITS_DW_D): Likewise.
15878 (_FP_HIGHBIT_DW_D): Likewise.
15879 (FP_FMA_D): Likewise.
15880 (_FP_FRAC_HIGH_DW_D): Likewise.
15881 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15882 (_FP_WFRACBITS_DW_E): Likewise.
15883 (_FP_WFRACXBITS_DW_E): Likewise.
15884 (_FP_HIGHBIT_DW_E): Likewise.
15885 (FP_FMA_E): Likewise.
15886 (_FP_FRAC_HIGH_DW_E): Likewise.
15887 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15888 (_FP_WFRACBITS_DW_Q): Likewise.
15889 (_FP_WFRACXBITS_DW_Q): Likewise.
15890 (_FP_HIGHBIT_DW_Q): Likewise.
15891 (FP_FMA_Q): Likewise.
15892 (_FP_FRAC_HIGH_DW_Q): Likewise.
15893 * soft-fp/fmasf4.c: New file.
15894 * soft-fp/fmadf4.c: Likewise.
15895 * soft-fp/fmatf4.c: Likewise.
15896
6308fd9a
LD
158972013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15898
15899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15900 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15901 Silvermont.
15902 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15903 macro.
15904 (index_Slow_SSE4_2): Likewise.
15905 (index_Prefer_PMINUB_for_stringop): Likewise.
15906 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15907 bit_Slow_SSE4_2 is set.
15908 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15909 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15910
89cd9569
RA
159112013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15912
15913 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15914 rtld_global._dl_hwcap2.
15915 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15916 POWER8.
15917 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15918 POWER8 feature descriptions defined in _dl_hwcap2.
15919 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15920 string handling for POWER8 feature bits.
15921 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15922 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15923 _dl_powerpc_cap_flags.
15924 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15925 * sysdeps/powerpc/rtld-global-offsets.sym
15926 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15927 _dl_hwcap2 in the rtld_global_ro structure.
15928
1ae8bfe0
RA
159292013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15930
15931 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15932 hardware capabilities in support of AT_HWCAP2.
15933 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15934 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15935 GLRO(dl_hwcap2).
15936 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15937 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15938 explicitly the unknown a_type display mechanism is used.
15939 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15940 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15941 struct member.
15942 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15943 to macro prototype for AT_HWCAP2 support.
15944 * sysdeps/i386/dl-procinfo.h: Likewise.
15945 * sysdeps/s390/dl-procinfo.h: Likewise.
15946 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15947 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15948 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15949 return -1 for unknown a_type display fallback.
15950 * sysdeps/sparc/dl-procinfo.h: Likewise.
15951 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15952 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15953
8fbec010
JM
159542013-06-28 Joseph Myers <joseph@codesourcery.com>
15955
15956 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15957 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15958
0432680e
PY
159592013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15960
15961 [BZ #12492]
15962 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15963 mprotect making __stack_prot writable.
15964
ce61a2ad
NF
159652013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15966 Joseph Myers <joseph@codesourcery.com>
15967
15968 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15969 as being properly aligned.
15970
f91f1c0f
MR
159712013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15972
3d0f5d0c
MR
15973 * dlfcn/modstatic5.c: New file.
15974 * dlfcn/tststatic5.c: New file.
15975 * dlfcn/Makefile (tests): Add tststatic5.
15976 (tests-static): Likewise.
15977 (modules-names): Add modstatic5.
15978 (tststatic5-ENV): New variable.
15979 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15980
f91f1c0f
MR
15981 [BZ #15022]
15982 * elf/dl-support.c (_dl_main_map): New variable.
15983 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15984 (_dl_nns, _dl_load_adds): Set to 1.
15985 (_dl_initial_searchlist): Refer to _dl_main_map.
15986 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15987 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15988 call to _dl_get_origin.
15989 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15990 around call_map.
15991 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15992 * dlfcn/modstatic3.c: New file.
15993 * dlfcn/tststatic3.c: New file.
15994 * dlfcn/tststatic4.c: New file.
15995 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15996 (tests-static): Likewise.
15997 (modules-names): Add modstatic3.
15998 (tststatic3-ENV, tststatic4-ENV): New variables.
15999 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16000 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16001
cbe7d24b
JM
160022013-06-26 Joseph Myers <joseph@codesourcery.com>
16003
16004 * configure.in (CC): Require GCC version 4.4 or later.
16005 * configure: Regenerated.
16006 * manual/install.texi (Tools for Compilation): Update GCC version
16007 requirement.
16008 * INSTALL: Regenerated.
16009
11b8a0e1
LD
160102013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16011
16012 [BZ #15674]
bb5bb87c
L
16013 * string/test-memcmp.c (check2): New.
16014 (main): Call check2.
16015
11b8a0e1
LD
16016 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16017
b0037103
MR
160182013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16019
16020 [BZ #15022]
16021 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16022 over to...
16023 (dl_open_worker) [!SHARED]: ... here.
16024
c18c701d
RA
160252013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16026
16027 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16028
1d17fa5f
RH
160292013-06-25 Richard Henderson <rth@redhat.com>
16030
16031 * locale/programs/locarchive.c: Include <libc-internal.h>
16032
8fcb833a
JM
160332013-06-25 Joseph Myers <joseph@codesourcery.com>
16034
16035 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16036 trailing whitespace removed.
16037
17db6e8d
MF
160382013-06-24 Mike Frysinger <vapier@gentoo.org>
16039
16040 [BZ #10283]
17db6e8d
MF
16041 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16042 * locale/programs/locarchive.c: Include libc-mmap.h.
16043 (prepare_address_space): Take two new outputs (the mmap base and len).
16044 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16045 values.
16046 (create_archive): Declare new mmap base and len values for
16047 prepare_address_space, and store the result in ah.
16048 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16049 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16050 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16051 Declare new mmap base and len values for
16052 prepare_address_space, and store the result in new_ah.
16053 (open_archive): Declare new mmap base and len values for
16054 prepare_address_space, and store the result in ah.
16055 (close_archive): If ah->mmap_base is not NULL, use that and
16056 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16057 * sysdeps/generic/libc-mmap.h: New file.
16058
d605071e
MF
160592013-06-24 Mike Frysinger <vapier@gentoo.org>
16060
16061 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16062 (ALIGN_UP): Likewise.
16063 (PTR_ALIGN_DOWN): Likewise.
16064 (PTR_ALIGN_UP): Likewise.
16065
2f063a6e
RA
160662013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16067
16068 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16069 entry mapped to PPC_PLATFORM_POWER8.
16070 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16071 POWER8.
16072 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16073 (_dl_string_platform): Add case for exporting platform position for
16074 POWER8.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16076 search path to sysdeps/powerpc/powerpc32/power8 directory.
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16078 search path to sysdeps/powerpc/powerpc64/power8 directory.
16079 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16080 power7 directories.
16081 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16082 power7 directories.
16083
a31ee4b3
SP
160842013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16085
a74ca98f
SP
16086 * INSTALL: Regenerate.
16087
a31ee4b3
SP
16088 * nscd/connections.c (nscd_init): Fix comment.
16089
695c378f
JM
160902013-06-22 Joseph Myers <joseph@codesourcery.com>
16091
d8412221
JM
16092 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16093
695c378f
JM
16094 [BZ #15667]
16095 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16096 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16097
d1d54715
MR
160982013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16099
16100 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16101 DL_DST_REQ_STATIC.
16102 (DL_DST_REQ_STATIC): Remove macro.
16103
8fdda7af
JM
161042013-06-21 Joseph Myers <joseph@codesourcery.com>
16105
16106 [BZ #7006]
16107 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16108 with a shift of 0 bits.
16109
f3bc5e5a
MR
161102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16111
16112 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16113 $(tststatic-ENV).
16114
be09e8c9
KK
161152013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16116
16117 [BZ #15655]
16118 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16119
85c2e611
AZ
161202013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16121
16122 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16123 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16124 accepts -fno-tree-loop-distribute-patterns.
16125 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16126 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16127 recursive call.
16128 * string/memset.c (memset): Likewise.
16129 * string/test-memmove.c (simple_memmove): Disable loop transformation
16130 to library calls.
16131 * string/test-memset.c (simple_memset): Likewise.
16132 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16133 * benchtests/bench-memset.c (simple_memset): Likewise.
16134 * configure: Regenerated.
16135
c91e0825
JM
161362013-06-20 Joseph Myers <joseph@codesourcery.com>
16137
b8c792af
JM
16138 * math/test-misc.c (main): Ignore fesetround failure when failures
16139 of subsequent rounding tests would be ignored.
16140
c91e0825
JM
16141 [BZ #15654]
16142 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16143 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16144 * math/fegetenv.c (__fegetenv): Return 0.
16145 * math/fegetexcept.c (fegetexcept): Return 0.
16146 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16147 FE_TONEAREST.
16148 * math/feholdexcpt.c (feholdexcept): Return 0.
16149 * math/fesetenv.c (__fesetenv): Return 0.
16150 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16151 argument FE_TONEAREST.
16152 * math/feupdateenv.c (__feupdateenv): Return 0.
16153 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16154
bfcacbde
RM
161552013-06-18 Roland McGrath <roland@hack.frob.com>
16156
16157 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16158 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16159 ($(objpfx)rtld-%.os rules): Use them.
16160
e55a9b25
AZ
161612013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16162
16163 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16164 fields.
16165
346d65b3
RM
161662013-06-17 Roland McGrath <roland@hack.frob.com>
16167
12086fb4
RM
16168 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16169 length of target pattern, then descending length of dependency pattern.
16170 * configure.in (AWK): Require gawk 3.1.2 or newer.
16171 * manual/install.texi (Tools for Compilation): Say that we do.
16172 * configure: Regenerated.
16173
346d65b3
RM
16174 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16175 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16176 * scripts/sysd-rules.awk: ... this new script.
16177 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16178 than a glob-style pattern.
16179
1a846317
JM
161802013-06-17 Joseph Myers <joseph@codesourcery.com>
16181
16182 * math/test-misc.c (main): Do not treat incorrectly rounded
16183 conversions as failure unless ROUNDING_TESTS passes.
16184
8fc75e6f
JM
161852013-06-15 Joseph Myers <joseph@codesourcery.com>
16186
3711a167
JM
16187 [BZ #15631]
16188 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16189 restore exception state around main square root computation, then
16190 check for inexactness explicitly.
16191
8fc75e6f
JM
16192 * math/libm-test.inc (fma_test_data): Add another test.
16193
61dd6208
SP
161942013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16195
adf23d2c
SP
16196 * manual/threads.texi (Non-POSIX Extensions): New document
16197 node. Document pthread_getattr_default_np and
16198 pthread_setattr_default_np.
16199
61dd6208
SP
16200 * Versions.def (libpthread): Add GLIBC_2.18.
16201 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16203 Likewise.
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16205 Likewise.
16206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16207 Likewise.
16208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16209 Likewise.
16210 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16211 Likewise.
16212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16213 Likewise.
16214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16215 Likewise.
16216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16217 Likewise.
16218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16219 Likewise.
16220
d086fc7b
LD
162212013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16222
16223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16224 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16225
747ef469
SP
162262013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16227 H.J. Lu <hjl.tools@gmail.com>
16228
16229 [BZ #15627]
16230 * sysdeps/x86_64/rtld-memset.c: Remove file.
16231 * sysdeps/x86_64/rtld-memset.S: New file.
16232
1b2feed2
JM
162332013-06-14 Joseph Myers <joseph@codesourcery.com>
16234
16235 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16236 (test_in_one_mode): Take arguments for whether the rounding mode
16237 is supported for each floating-point type.
16238 (do_test): Pass new arguments to test_in_one_mode using
16239 ROUNDING_TESTS.
16240
a58ad3f8
RM
162412013-06-13 Roland McGrath <roland@hack.frob.com>
16242
16243 * posix/tst-waitid.c (do_test): Distinguish different instances of
16244 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16245 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16246 before entering the kernel for waitpid.
16247
c204ab28
SP
162482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16249
16250 * NEWS: Fix note on clock function precision. Text by Roland
16251 McGrath.
16252
f4a29fba
RM
162532013-06-13 Roland McGrath <roland@hack.frob.com>
16254
16255 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16256 it into place only when and if the sanity check passes.
16257
1f24b9ad
JM
162582013-06-13 Joseph Myers <joseph@codesourcery.com>
16259
16260 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16261 output for whether conversion result is exact. Take argument
16262 indicating whether type is IBM long double.
16263 (round_for_all): Change need_exact field to ibm_ld.
16264 * stdlib/tst-strtod-round.c (struct exactness): New type.
16265 (struct test): Change bool ld_ok field to struct exactness exact.
16266 (TEST): Update all definitions for change to field.
16267 (tests): Regenerate array contents.
16268 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16269 field value. Check for IBM long double here.
16270 (do_test): Update calls to test_in_one_mode.
16271
58206c68
SP
162722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16273
16274 [BZ #12515]
16275 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16276 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16277
2d6f4c5b 162782013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
16279
16280 [BZ #15605]
16281 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16282 generated by the compiler on loop optimizations.
16283 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16284 general definitions.
16285
94f2c076
JM
162862013-06-12 Joseph Myers <joseph@codesourcery.com>
16287
16288 * math/bug-nextafter.c: Include <math-tests.h>.
16289 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16290 the relevant type.
16291 * math/bug-nexttoward.c: Include <math-tests.h>.
16292 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16293 the relevant type.
16294 * math/test-misc.c: Include <math-tests.h>.
16295 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16296 the relevant type.
16297
e0e50a0a
AJ
162982013-06-12 Andreas Jaeger <aj@suse.de>
16299
16300 * po/ia.po: Update Interlingua translation from translation
16301 project.
16302
25061094
SP
163032013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16304
16305 * include/fenv.h: Include stdbool.h.
16306 (struct rm_ctx): New structure.
16307 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16308 Define macro.
16309 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16310 (SET_RESTORE_ROUNDF): Likewise.
16311 (SET_RESTORE_ROUNDL): Likewise.
16312 (SET_RESTORE_ROUND_NOEX): Likewise.
16313 (SET_RESTORE_ROUND_NOEXF): Likewise.
16314 (SET_RESTORE_ROUND_NOEXL): Likewise.
16315 (SET_RESTORE_ROUND_53BIT): Likewise.
16316 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16317 (libc_feresetround_noexf_ctx): Likewise.
16318 (libc_feresetround_noexl_ctx): Likewise.
16319 (libc_feholdsetround_53bit_ctx): Likewise.
16320 (libc_feresetround_53bit_ctx): Likewise.
16321 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16322 (libc_feholdexcept_setround_sse_ctx): New function.
16323 (libc_fesetenv_sse_ctx): Likewise.
16324 (libc_feupdateenv_sse_ctx): Likewise.
16325 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16326 (libc_feholdexcept_setround_387_ctx): Likewise.
16327 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16328 (libc_feholdsetround_387_prec_ctx): Likewise.
16329 (libc_feholdsetround_387_ctx): Likewise.
16330 (libc_feholdsetround_387_53bit_ctx): Likewise.
16331 (libc_feholdsetround_sse_ctx): Likewise.
16332 (libc_feresetround_sse_ctx): Likewise.
16333 (libc_feresetround_387_ctx): Likewise.
16334 (libc_feupdateenv_387_ctx): Likewise.
16335 (libc_feholdexcept_setroundf_ctx): Define macro.
16336 (libc_fesetenvf_ctx): Likewise.
16337 (libc_feupdateenvf_ctx): Likewise.
16338 (libc_feholdsetroundf_ctx): Likewise.
16339 (libc_feresetroundf_ctx): Likewise.
16340 (libc_feholdexcept_setround_ctx): Likewise.
16341 (libc_fesetenv_ctx): Likewise.
16342 (libc_feupdateenv_ctx): Likewise.
16343 (libc_feholdsetround_ctx): Likewise.
16344 (libc_feresetround_ctx): Likewise.
16345 (libc_feholdexcept_setroundl_ctx): Likewise.
16346 (libc_feupdateenvl_ctx): Likewise.
16347 (libc_feholdsetroundl_ctx): Likewise.
16348 (libc_feresetroundl_ctx): Likewise.
16349 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16350 (libc_feresetround_53bit_ctx): Likewise.
16351
59b30555
SP
163522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16353
16354 * locale/iso-639.def: Convert to UTF-8.
16355
f1d73d30
JM
163562013-06-11 Joseph Myers <joseph@codesourcery.com>
16357
16358 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16359 (EXCEPTION_TESTS_double): Likewise.
16360 (EXCEPTION_TESTS_long_double): Likewise.
16361 (EXCEPTION_TESTS): Likewise.
16362 * math/libm-test.inc (test_exceptions): Only test exceptions if
16363 EXCEPTION_TESTS (FLOAT).
16364
94aca5e7
SP
163652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16366
16367 * benchtests/Makefile (string-bench): Add strcpy_chk and
16368 stpcpy_chk.
16369 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16370 * benchtests/bench-stpcpy_chk.c: New file.
16371 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16372 * benchtests/bench-strcpy_chk.c: New file.
16373 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16374 code.
16375 (do_test): Likewise.
16376
fac0c5f2
RA
163772013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16378
16379 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16380 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16381 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16382 with tabs where appropriate.
16383 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16384 dl-procinfo.h.
16385 [PPC_PLATFORM_PPC440]: Likewise.
16386 [PPC_PLATFORM_PPC464]: Likewise.
16387 [PPC_PLATFORM_PPC476]: Likewise.
16388 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16389 ppc464, and ppc476 platform strings merging from ports/
16390 dl-procinfo.h.
16391
f22bc486
AS
163922013-06-11 Andreas Schwab <schwab@suse.de>
16393
16394 [BZ #14991]
16395 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16396 (from_ucs4_idx): Regenerate.
16397 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16398 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16399 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16400 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16401 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16402 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16403 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16404 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16405 from FROM_LOOP and TO_LOOP specific macros.
16406 (BODY): Handle combining characters.
16407 * iconvdata/BIG5HKSCS.irreversible: Update.
16408 * iconvdata/BIG5HKSCS.precomposed: New file.
16409 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16410 characters.
16411 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16412
c1f75dc3
SP
164132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16414
4eacded2
SP
16415 * include/sys/time.h: Fix indentation and add copyright header.
16416
fec799f8
SP
16417 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16418 (do_test): Likewise.
16419 * string/test-memchr.c (do_one_test): Likewise.
16420 (do_test): Likewise.
16421 * string/test-memcmp.c (do_one_test): Likewise.
16422 (do_test): Likewise.
16423 * string/test-memcpy.c (do_one_test): Likewise.
16424 (do_test): Likewise.
16425 * string/test-memmem.c (do_one_test): Likewise.
16426 (do_test): Likewise.
16427 (do_random_tests): Likewise.
16428 * string/test-memmove.c (do_one_test): Likewise.
16429 (do_test): Likewise.
16430 * string/test-memset.c (do_one_test): Likewise.
16431 (do_test): Likewise.
16432 * string/test-rawmemchr.c (do_one_test): Likewise.
16433 (do_test): Likewise.
16434 * string/test-strcasecmp.c (do_one_test): Likewise.
16435 (do_test): Likewise.
16436 * string/test-strcasestr.c (do_one_test): Likewise.
16437 (do_test): Likewise.
16438 * string/test-strcat.c (do_one_test): Likewise.
16439 (do_test): Likewise.
16440 * string/test-strchr.c (do_one_test): Likewise.
16441 (do_test): Likewise.
16442 * string/test-strcmp.c (do_one_test): Likewise.
16443 (do_test): Likewise.
16444 * string/test-strcpy.c (do_one_test): Likewise.
16445 (do_test): Likewise.
16446 * string/test-string.h: Likewise.
16447 (test_init): Likewise.
16448 * string/test-strlen.c (do_one_test): Likewise.
16449 (do_test): Likewise.
16450 * string/test-strncasecmp.c (do_one_test): Likewise.
16451 (do_test): Likewise.
16452 * string/test-strncat.c (do_one_test): Likewise.
16453 (do_test): Likewise.
16454 * string/test-strncmp.c (do_one_test): Likewise.
16455 (do_test_limit): Likewise.
16456 (do_test): Likewise.
16457 * string/test-strncpy.c (do_one_test): Likewise.
16458 (do_test): Likewise.
16459 * string/test-strnlen.c (do_one_test): Likewise.
16460 (do_test): Likewise.
16461 * string/test-strpbrk.c (do_one_test): Likewise.
16462 (do_test): Likewise.
16463 * string/test-strrchr.c (do_one_test): Likewise.
16464 (do_test): Likewise.
16465 * string/test-strspn.c (do_one_test): Likewise.
16466 (do_test): Likewise.
16467 * string/test-strstr.c (do_one_test): Likewise.
16468 (do_test): Likewise.
16469
97020474
SP
16470 * benchtests/Makefile (string-bench): Add string benchmarks.
16471 * benchtests/bench-bcopy-ifunc.c: New file.
16472 * benchtests/bench-bcopy.c: New file.
16473 * benchtests/bench-bzero-ifunc.c: New file.
16474 * benchtests/bench-bzero.c: New file.
16475 * benchtests/bench-memccpy-ifunc.c: New file.
16476 * benchtests/bench-memccpy.c: New file.
16477 * benchtests/bench-memchr-ifunc.c: New file.
16478 * benchtests/bench-memchr.c: New file.
16479 * benchtests/bench-memcmp-ifunc.c: New file.
16480 * benchtests/bench-memcmp.c: New file.
16481 * benchtests/bench-memmem-ifunc.c: New file.
16482 * benchtests/bench-memmem.c: New file.
16483 * benchtests/bench-memmove-ifunc.c: New file.
16484 * benchtests/bench-memmove.c: New file.
16485 * benchtests/bench-mempcpy-ifunc.c: New file.
16486 * benchtests/bench-mempcpy.c: New file.
16487 * benchtests/bench-memset-ifunc.c: New file.
16488 * benchtests/bench-memset.c: New file.
16489 * benchtests/bench-rawmemchr-ifunc.c: New file.
16490 * benchtests/bench-rawmemchr.c: New file.
16491 * benchtests/bench-stpcpy-ifunc.c: New file.
16492 * benchtests/bench-stpcpy.c: New file.
16493 * benchtests/bench-stpncpy-ifunc.c: New file.
16494 * benchtests/bench-stpncpy.c: New file.
16495 * benchtests/bench-strcasecmp-ifunc.c: New file.
16496 * benchtests/bench-strcasecmp.c: New file.
16497 * benchtests/bench-strcasestr-ifunc.c: New file.
16498 * benchtests/bench-strcasestr.c: New file.
16499 * benchtests/bench-strcat-ifunc.c: New file.
16500 * benchtests/bench-strcat.c: New file.
16501 * benchtests/bench-strchr-ifunc.c: New file.
16502 * benchtests/bench-strchr.c: New file.
16503 * benchtests/bench-strchrnul-ifunc.c: New file.
16504 * benchtests/bench-strchrnul.c: New file.
16505 * benchtests/bench-strcmp-ifunc.c: New file.
16506 * benchtests/bench-strcmp.c: New file.
16507 * benchtests/bench-strcpy-ifunc.c: New file.
16508 * benchtests/bench-strcpy.c: New file.
16509 * benchtests/bench-strcspn-ifunc.c: New file.
16510 * benchtests/bench-strcspn.c: New file.
16511 * benchtests/bench-strlen-ifunc.c: New file.
16512 * benchtests/bench-strlen.c: New file.
16513 * benchtests/bench-strncasecmp-ifunc.c: New file.
16514 * benchtests/bench-strncasecmp.c: New file.
16515 * benchtests/bench-strncat-ifunc.c: New file.
16516 * benchtests/bench-strncat.c: New file.
16517 * benchtests/bench-strncmp-ifunc.c: New file.
16518 * benchtests/bench-strncmp.c: New file.
16519 * benchtests/bench-strncpy-ifunc.c: New file.
16520 * benchtests/bench-strncpy.c: New file.
16521 * benchtests/bench-strnlen-ifunc.c: New file.
16522 * benchtests/bench-strnlen.c: New file.
16523 * benchtests/bench-strpbrk-ifunc.c: New file.
16524 * benchtests/bench-strpbrk.c: New file.
16525 * benchtests/bench-strrchr-ifunc.c: New file.
16526 * benchtests/bench-strrchr.c: New file.
16527 * benchtests/bench-strspn-ifunc.c: New file.
16528 * benchtests/bench-strspn.c: New file.
16529 * benchtests/bench-strstr-ifunc.c: New file.
16530 * benchtests/bench-strstr.c: New file.
16531
c1f75dc3
SP
16532 * benchtests/Makefile: Disable parallel execution of targets.
16533 (string-bench): Add memcpy.
16534 (benchset): New variable to store a list of benchmark sets.
16535 (bench-func): Renamed from bench.
16536 (bench-set): New target.
16537 (bench): Depend on bench-func and bench-set.
16538 * benchtests/README: Add section on benchmark sets.
16539 * benchtests/bench-memcpy-ifunc.c: New file.
16540 * benchtests/bench-memcpy.c: New file.
16541 * benchtests/bench-string.h: New file.
16542
50fd745b
AS
165432013-06-11 Andreas Schwab <schwab@suse.de>
16544
16545 [BZ #15577]
16546 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16547 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16548 values in the triple.
16549 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16550 terminator in the group key.
16551
3ee7e9fe
AJ
165522013-06-11 Andreas Jaeger <aj@suse.de>
16553
16554 * po/zh_TW.po: Update Chinese (traditional) translation from
16555 translation project.
16556
89fb6835
SP
165572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16558
16559 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16560 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16561 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16562 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16563 (clock_getcpuclockid): Likewise.
16564 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16565 Add weak_alias and libc_hidden_def.
16566 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16567 * rt/clock_gettime.c (clock_gettime): Rename to
16568 __clock_gettime. Add weak_alias and libc_hidden_def.
16569 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16570 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16571 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16572 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16573 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16574 Likewise.
16575 * rt/clock_settime.c (clock_settime): Rename to
16576 __clock_settime. Add weak_alias and libc_hidden_def.
16577 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16578
0efa6f8b
JM
165792013-06-10 Joseph Myers <joseph@codesourcery.com>
16580
b8c61b4b
JM
16581 * mach/err_boot.sub: Remove trailing whitespace.
16582 * mach/err_ipc.sub: Likewise.
16583 * mach/err_mach.sub: Likewise.
16584
0efa6f8b
JM
16585 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16586 (ROUNDING_TESTS_double): Likewise.
16587 (ROUNDING_TESTS_long_double): Likewise.
16588 (ROUNDING_TESTS): Likewise.
16589 * math/libm-test.inc: Include <math-tests.h>.
16590 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16591 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16592 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16593 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16594
50b818bf
SP
165952013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16596
16597 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16598 of assigning.
16599
60d2f8f3
JM
166002013-06-08 Joseph Myers <joseph@codesourcery.com>
16601
4902d2c3
JM
16602 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16603 otherwise empty TRANS lines.
16604 * sysdeps/gnu/errlist.c: Regenerated.
16605
60d2f8f3
JM
16606 * catgets/gencat.c (error_print): Use (void) in function
16607 definition.
16608 * crypt/crypt_util.c (__init_des): Likewise.
16609 * crypt/speeds.c (Stop): Likewise.
16610 (main): Likewise.
16611 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16612 * inet/ruserpass.c (token): Likewise.
16613 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16614 * intl/localealias.c (extend_alias_table): Likewise.
16615 * intl/plural-exp.c (init_germanic_plural): Likewise.
16616 * libio/fcloseall.c (__fcloseall): Likewise.
16617 * libio/genops.c (_IO_flush_all): Likewise.
16618 (_IO_flush_all_linebuffered): Likewise.
16619 (_IO_cleanup): Likewise.
16620 (_IO_iter_begin): Likewise.
16621 (_IO_iter_end): Likewise.
16622 (_IO_list_lock): Likewise.
16623 (_IO_list_unlock): Likewise.
16624 (_IO_list_resetlock): Likewise.
16625 * libio/getchar.c (getchar): Likewise.
16626 * libio/getchar_u.c (getchar_unlocked): Likewise.
16627 * libio/getwchar.c (getwchar): Likewise.
16628 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16629 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16630 * login/getpt.c (__getpt): Likewise.
16631 * login/tst-utmp.c (main): Likewise.
16632 * malloc/hooks.c (__malloc_check_init): Likewise.
16633 * malloc/malloc.c (__malloc_stats): Likewise.
16634 * malloc/mtrace.c (tr_break): Likewise.
16635 (mtrace): Likewise.
16636 (muntrace): Likewise.
16637 * misc/fstab.c (endfsent): Likewise.
16638 * misc/getclktck.c (__getclktck): Likewise.
16639 * misc/getdtsz.c (__getdtablesize): Likewise.
16640 * misc/gethostid.c (gethostid): Likewise.
16641 * misc/getpagesize.c (__getpagesize): Likewise.
16642 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16643 (__get_nprocs): Likewise.
16644 (__get_phys_pages): Likewise.
16645 (__get_avphys_pages): Likewise.
16646 * misc/getttyent.c (getttyent): Likewise.
16647 (setttyent): Likewise.
16648 (endttyent): Likewise.
16649 * misc/getusershell.c (getusershell): Likewise.
16650 (endusershell): Likewise.
16651 (setusershell): Likewise.
16652 (initshells): Likewise.
16653 * misc/hsearch.c (__hdestroy): Likewise.
16654 * misc/sync.c (sync): Likewise.
16655 * misc/syslog.c (closelog_internal): Likewise.
16656 (closelog): Likewise.
16657 * misc/ttyslot.c (ttyslot): Likewise.
16658 * misc/vhangup.c (vhangup): Likewise.
16659 * posix/fork.c (__fork): Likewise.
16660 * posix/getegid.c (__getegid): Likewise.
16661 * posix/geteuid.c (__geteuid): Likewise.
16662 * posix/getgid.c (__getgid): Likewise.
16663 * posix/getpid.c (__getpid): Likewise.
16664 * posix/getppid.c (__getppid): Likewise.
16665 * posix/getuid.c (__getuid): Likewise.
16666 * posix/pause.c (pause): Likewise.
16667 * posix/setpgrp.c (setpgrp): Likewise.
16668 * posix/setsid.c (__setsid): Likewise.
16669 * posix/test-vfork.c (noop): Likewise.
16670 * resolv/gethnamaddr.c (_endhtent): Likewise.
16671 (_gethtent): Likewise.
16672 (ht_endhostent): Likewise.
16673 (gethostent): Likewise.
16674 (dns_service): Likewise.
16675 * stdlib/drand48.c (drand48): Likewise.
16676 * stdlib/lrand48.c (lrand48): Likewise.
16677 * stdlib/mrand48.c (mrand48): Likewise.
16678 * stdlib/rand.c (rand): Likewise.
16679 * stdlib/random.c (__random): Likewise.
16680 * stdlib/setenv.c (clearenv): Likewise.
16681 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16682 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16683 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16684 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16685 (__get_nprocs): Likewise.
16686 (__get_phys_pages): Likewise.
16687 (__get_avphys_pages): Likewise.
16688 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16689 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16690 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16691 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16692 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16693 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16694 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16695 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16696 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16697 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16698 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16699 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16700 * sysdeps/posix/clock.c (clock): Likewise.
16701 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16702 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16703 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16704 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16705 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16707 (__get_nprocs_conf): Likewise.
16708 (__get_phys_pages): Likewise.
16709 (__get_avphys_pages): Likewise.
16710 * time/clock.c (clock): Likewise.
16711 * time/tzset.c (__tzname_max): Likewise.
16712
2e09a79a
JM
167132013-06-07 Joseph Myers <joseph@codesourcery.com>
16714
16715 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16716 (__bswap_32): Do not use "register".
16717 * crypt/crypt.c (_ufc_doit_r): Likewise.
16718 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16719 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16720 * gmon/gmon.c (__monstartup): Likewise.
16721 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16722 * hurd/hurdmalloc.c (more_memory): Likewise.
16723 (malloc): Likewise.
16724 (free): Likewise.
16725 (realloc): Likewise.
16726 (malloc_fork_prepare): Likewise.
16727 (malloc_fork_parent): Likewise.
16728 (malloc_fork_child): Likewise.
16729 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16730 (_svcauth_des): Likewise.
16731 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16732 * inet/inet_net.c (inet_network): Likewise.
16733 * inet/inet_netof.c (inet_netof): Likewise.
16734 * inet/rcmd.c (__validuser2_sa): Likewise.
16735 * io/fts.c (fts_open): Likewise.
16736 (fts_load): Likewise.
16737 (fts_close): Likewise.
16738 (fts_read): Likewise.
16739 (fts_children): Likewise.
16740 (fts_build): Likewise.
16741 (fts_stat): Likewise.
16742 (fts_sort): Likewise.
16743 (fts_alloc): Likewise.
16744 (fts_lfree): Likewise.
16745 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16746 (_IO_file_xsgetn): Likewise.
16747 (_IO_file_xsgetn_mmap): Likewise.
16748 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16749 (_IO_cookie_write): Likewise.
16750 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16751 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16752 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16753 * malloc/obstack.c (_obstack_begin): Likewise.
16754 (_obstack_begin_1): Likewise.
16755 (_obstack_newchunk): Likewise.
16756 (_obstack_allocated_p): Likewise.
16757 (obstack_free): Likewise.
16758 (_obstack_memory_used): Likewise.
16759 * misc/getttyent.c (getttynam): Likewise.
16760 (getttyent): Likewise.
16761 (skip): Likewise.
16762 (value): Likewise.
16763 * misc/getusershell.c (initshells): Likewise.
16764 * misc/syslog.c (__vsyslog_chk): Likewise.
16765 * misc/ttyslot.c (ttyslot): Likewise.
16766 * nis/nis_hash.c (__nis_hash): Likewise.
16767 * posix/fnmatch_loop.c (FCT): Likewise.
16768 * posix/getconf.c (print_all): Likewise.
16769 (main): Likewise.
16770 * posix/getopt.c (exchange): Likewise.
16771 * posix/glob.c (globfree): Likewise.
16772 (prefix_array): Likewise.
16773 (__glob_pattern_type): Likewise.
16774 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16775 (NS_GET32): Likewise.
16776 (NS_PUT16): Likewise.
16777 (NS_PUT32): Likewise.
16778 * resolv/gethnamaddr.c (getanswer): Likewise.
16779 (gethostbyname2): Likewise.
16780 (gethostbyaddr): Likewise.
16781 (_gethtent): Likewise.
16782 (_gethtbyname2): Likewise.
16783 (_gethtbyaddr): Likewise.
16784 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16785 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16786 * resolv/res_init.c (__res_vinit): Likewise.
16787 (net_mask): Likewise.
16788 * resolv/res_mkquery.c (outchar): Likewise.
16789 (PRINT): Likewise.
16790 * stdio-common/printf_fp.c (outchar): Likewise.
16791 (PRINT): Likewise.
16792 * stdio-common/printf_fphex.c (outchar): Likewise.
16793 (PRINT): Likewise.
16794 * stdio-common/printf_size.c (outchar): Likewise.
16795 (PRINT): Likewise.
16796 * stdio-common/test_rdwr.c (main): Likewise.
16797 * stdio-common/tfformat.c (matches): Likewise.
16798 * stdio-common/vfprintf.c (outchar): Likewise.
16799 (printf_unknown): Likewise.
16800 (buffered_vfprintf): Likewise.
16801 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16802 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16803 (ReadFile): Likewise.
16804 * stdlib/qsort.c (SWAP): Likewise.
16805 (_quicksort): Likewise.
16806 * stdlib/setenv.c (__add_to_environ): Likewise.
16807 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16808 * stdlib/strtol_l.c (__strtol_l): Likewise.
16809 * stdlib/tst-strtod.c (main): Likewise.
16810 * stdlib/tst-strtol.c (main): Likewise.
16811 * stdlib/tst-strtoll.c (main): Likewise.
16812 * string/bits/string2.h (__strcmp_cc): Likewise.
16813 (__strcmp_cg): Likewise.
16814 (__strcspn_c1): Likewise.
16815 (__strcspn_c2): Likewise.
16816 (__strcspn_c3): Likewise.
16817 (__strspn_c1): Likewise.
16818 (__strspn_c2): Likewise.
16819 (__strspn_c3): Likewise.
16820 (__strsep_1c): Likewise.
16821 (__strsep_2c): Likewise.
16822 (__strsep_3c): Likewise.
16823 * string/memccpy.c (__memccpy): Likewise.
16824 * string/stpcpy.c (__stpcpy): Likewise.
16825 * string/strcmp.c (strcmp): Likewise.
16826 * string/strrchr.c (strrchr): Likewise.
16827 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16828 Likewise.
16829 * sysdeps/mach/hurd/getcwd.c
16830 (_hurd_canonicalize_directory_name_internal): Likewise.
16831 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16832 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16833 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16834 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16835 Likewise, in both definitions.
16836 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16837 definitions.
16838 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16839 64] (__bswap_64): Likewise.
16840 * time/test_time.c (main): Likewise.
16841 * time/tzfile.c (__tzfile_read): Likewise.
16842 (__tzfile_compute): Likewise.
16843 * time/tzset.c (__tzset_parse_tz): Likewise.
16844 (tzset_internal): Likewise.
16845 (compute_change): Likewise.
16846 * wcsmbs/wcscat.c (__wcscat): Likewise.
16847 * wcsmbs/wcschr.c (wcschr): Likewise.
16848 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16849 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16850 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16851 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16852 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16853 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16854 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16855 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16856 * wcsmbs/wmemset.c (wmemset): Likewise.
16857
9e54314b
JM
168582013-06-06 Joseph Myers <joseph@codesourcery.com>
16859
16860 * scripts/config.guess: Update to version 2013-05-16.
16861 * scripts/config.sub: Update to version 2013-04-24.
16862 * scripts/install-sh: Update to version 2011-11-20.07.
16863 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16864 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16865
350635a5
OB
168662013-06-06 Ondřej Bílka <neleai@seznam.cz>
16867
16868 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16869 * elf/sln.c: Likewise.
16870 * hurd/hurd/ioctl.h: Likewise.
16871 * hurd/hurdmalloc.c: Likewise.
16872 * hurd/xattr.c: Likewise.
16873 * include/shlib-compat.h: Likewise.
16874 * inet/ruserpass.c: Likewise.
16875 * libio/iofgets_u.c: Likewise.
16876 * libio/iofgetws_u.c: Likewise.
16877 * locale/programs/ld-identification.c: Likewise.
16878 * locale/programs/ld-time.c: Likewise.
16879 * mach/msg-destroy.c: Likewise.
16880 * nss/nss_files/files-netgrp.c: Likewise.
16881 * resolv/res_data.c: Likewise.
16882 * soft-fp/op-1.h: Likewise.
16883 * soft-fp/op-2.h: Likewise.
16884 * soft-fp/op-4.h: Likewise.
16885 * soft-fp/op-common.h: Likewise.
16886 * stdio-common/printf_fphex.c: Likewise.
16887 * stdlib/strtod_l.c: Likewise.
16888 * sunrpc/rpc/clnt.h: Likewise.
16889 * sysdeps/generic/framestate.c: Likewise.
16890 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16891 * sysdeps/i386/bsd-setjmp.S: Likewise.
16892 * sysdeps/i386/__longjmp.S: Likewise.
16893 * sysdeps/i386/setjmp.S: Likewise.
16894 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16895 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16896 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16897 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16898 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16899 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16900 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16901 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16902 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16903 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16904 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16905 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16906 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16907 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16908 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16910 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16911 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16912 * sysdeps/ieee754/support.c: Likewise.
16913 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16914 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16915 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16916 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16917 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16918 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16919 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16920 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16921 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16922 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16923 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16924 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16925 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16926 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16927 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16928 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16929 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16931
44a988af
OB
169322013-06-05 Ondřej Bílka <neleai@seznam.cz>
16933
25506f09 16934 * posix/transbug.c: Remove executable mode.
44a988af 16935
9c84384c
JM
169362013-06-05 Joseph Myers <joseph@codesourcery.com>
16937
16938 * crypt/speeds.c: Remove trailing whitespace.
16939 * dlfcn/default.c: Likewise.
16940 * elf/ifuncdep2.c: Likewise.
16941 * elf/ifuncmain1.c: Likewise.
16942 * elf/ifuncmain1vis.c: Likewise.
16943 * elf/testobj.h: Likewise.
16944 * elf/tst-stackguard1.c: Likewise.
16945 * gmon/sys/gmon.h: Likewise.
16946 * hurd/hurdmsg.c: Likewise.
16947 * hurd/new-fd.c: Likewise.
16948 * hurd/ports-get.c: Likewise.
16949 * iconvdata/ibm1008_420.c: Likewise.
16950 * inet/tst-getni1.c: Likewise.
16951 * inet/tst-getni2.c: Likewise.
16952 * libio/ioungetc.c: Likewise.
16953 * libio/wfiledoalloc.c: Likewise.
16954 * manual/libm-err-tab.pl: Likewise.
16955 * math/w_dremf.c: Likewise.
16956 * misc/ftruncate.c: Likewise.
16957 * posix/bug-glob2.c: Likewise.
16958 * posix/tst-pcre.c: Likewise.
16959 * posix/wait4.c: Likewise.
16960 * resolv/README: Likewise.
16961 * resolv/res_debug.h: Likewise.
16962 * resolv/tst-inet_ntop.c: Likewise.
16963 * setjmp/bug269-setjmp.c: Likewise.
16964 * soft-fp/extended.h: Likewise.
16965 * soft-fp/op-1.h: Likewise.
16966 * soft-fp/op-2.h: Likewise.
16967 * soft-fp/op-4.h: Likewise.
16968 * soft-fp/op-8.h: Likewise.
16969 * soft-fp/testit.c: Likewise.
16970 * stdio-common/bug16.c: Likewise.
16971 * stdlib/random.c: Likewise.
16972 * sunrpc/rpcsvc/rquota.x: Likewise.
16973 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16974 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16975 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16976 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16977 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16978 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16979 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16980 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16981 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16982 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16983 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16984 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16985 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16986 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16987 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16989 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16991 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16992 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16995 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16998 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17000 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17001 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17002 * sysdeps/ieee754/s_lib_version.c: Likewise.
17003 * sysdeps/mach/hurd/check_fds.c: Likewise.
17004 * sysdeps/mach/hurd/getsockname.c: Likewise.
17005 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17006 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17007 * sysdeps/powerpc/bits/link.h: Likewise.
17008 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17009 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17010 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17011 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17012 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17013 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17014 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17015 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17016 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17017 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17018 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17019 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17020 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17021 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17022 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17023 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17024 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17025 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17026 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17027 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17028 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17029 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17031 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17032 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17033 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17034 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17035 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17036 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17037 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17038 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17039 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17040 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17041 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17042 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17043 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17044 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17045 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17046 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17047 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17048 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17049 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17050 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17051 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17052 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17053 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17054 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17055 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17056 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17057 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17058 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17059 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17060 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17061 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17062 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17063 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17064 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17065 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17066 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17067 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17068 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17069 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17070 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17071 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17072 * sysdeps/powerpc/sysdep.h: Likewise.
17073 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17074 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17075 * sysdeps/sh/dl-trampoline.S: Likewise.
17076 * sysdeps/sh/memset.S: Likewise.
17077 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17078 * sysdeps/sh/strlen.S: Likewise.
17079 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17080 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17081 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17082 * sysdeps/sparc/sparc32/rem.S: Likewise.
17083 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17084 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17085 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17086 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17087 * sysdeps/sparc/sparc32/urem.S: Likewise.
17088 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17089 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17090 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17091 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17092 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17093 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17094 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17095 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17096 * sysdeps/unix/bsd/times.c: Likewise.
17097 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17098 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17102 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17103 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17104 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17105 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17106 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17107 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17108 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17109 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17110 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17111 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17112 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17113 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17114 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17115 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17116 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17117 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17118 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17119 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17120 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17121 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17122 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17123 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17124 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17125 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17126 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17127 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17128 * sysdeps/x86_64/strcspn.S: Likewise.
17129
869378a5
RA
171302013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17131
17132 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17133 generated file. Regenerate properly from gen-translit.pl.
17134 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17135 locale/C-translit.h.
17136
840e2943
AS
171372013-06-05 Andreas Schwab <schwab@suse.de>
17138
17139 [BZ #15100]
17140 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17141 week as 6 instead of -1.
17142 * time/tst-strptime.c (day_tests): Add test case.
17143
4c60cb0c
SP
171442013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17145
17146 * sysdeps/generic/math_private.h
17147 (libc_feholdexcept_setround_53bit): Replace with
17148 libc_feholdsetround_53bit.
17149 (libc_feupdateenv_53bit): Replace with
17150 libc_feresetround_53bit.
17151 (SET_RESTORE_ROUND_53BIT): Adjust.
17152
d180203e
SP
171532013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17154
96df079a
SP
17155 * string/test-strchrnul.c: Add copyright header.
17156
d180203e
SP
17157 * posix/tst-getaddrinfo4.c: Increase test timeout.
17158
8b0ccb2d
CD
171592013-06-03 Carlos O'Donell <carlos@redhat.com>
17160
17161 [BZ #15536]
17162 * math/libm-test.inc (MAX_EXP): Remove
17163 (MIN_EXP): Define.
17164 (ulp): Use MIN_EXP - MANT_DIG.
17165 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17166
3b3c4d40
CD
171672013-05-31 Carlos O'Donell <carlos@redhat.com>
17168
17169 * po/be.po: Revert last change.
17170 * po/zh_CN.po: Likewise.
17171 * po/header.pot: Likewise.
17172
fab7ce3f
JM
171732013-05-31 Joseph Myers <joseph@codesourcery.com>
17174
17175 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17176 link-libc-deps to empty as target-specific variable.
17177 * Makerules (link-libc-args): New variable.
17178 (libc-for-link): Likewise.
17179 (link-libc-deps): Likewise.
17180 (lib%.so): Depend on $(link-libc-deps). Link with
17181 $(link-libc-args).
17182 (build-module): Link with $(link-libc-args).
17183 (build-module-asneeded): Likewise.
17184 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17185 list of objects.
17186 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17187 target-specific variable.
17188 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17189 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17190 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17191 libc.
17192 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17193 libc and ld.so.
17194 ($(objpfx)libpcprofile.so): Likewise.
17195 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17196 libc_nonshared.a.
17197 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17198 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17199 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17200 $(link-libc-deps).
17201 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17202 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17203 * login/Makefile ($(objpfx)libutil.so): Likewise.
17204 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17205 * math/Makefile ($(objpfx)libm.so): Likewise.
17206 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17207 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17208 variable instead of depending directly on libc.
17209 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17210 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17211 $(link-libc-deps).
17212 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17213 libc.
17214 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17215 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17216 ($(objpfx)libanl.so): Likewise.
17217 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17218 ld.so.
17219 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17220 $(link-libc-deps).
17221 * sysdeps/i386/fpu/Makefile: Remove file.
17222 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17223 ($(objpfx)libm.so): Remove dependency on ld.so.
17224
eca5920c
PF
172252013-05-30 Patsy Franklin <pfrankli@redhat.com>
17226
17227 [BZ # 15553]
17228 * nis/yp_xdr.c (XDRMAXNAME): Define.
17229 (XDRMAXRECORD): Define.
17230 (xdr_domainname): Use XDRMAXNAME.
17231 (xdr_mapname): Likewise.
17232 (xdr_peername): Likewise.
17233 (xdr_keydat): Use XDRMAXRECORD.
17234 (xdr_valdat): Likewise.
17235
172362013-05-30 Jeff Law <law@redhat.com>
96945714
JL
17237
17238 [BZ #14256]
17239 * manual/errno.texi (ESTALE): Update to account for more than
17240 just NFS file systems.
17241 * sysdeps/gnu/errlist.c: Regenerated.
17242
b9375348
SP
172432013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17244
17245 [BZ #15465]
17246 * elf/Makefile (tests): Add tst-null-argv.
17247 (modules-names): Add tst-null-argv-lib.
17248 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17249 (tst-null-argv-ENV): Set environment for tst-null-argv.
17250 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17251 (RTLD_PROGNAME): New macro.
17252 * elf/tst-null-argv.c: New test case.
17253 * elf/tst-null-argv-lib.c: Library for test case.
17254 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17255 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17256 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17257 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17258 * elf/dl-init.c (call_init): Likewise.
17259 (_dl_init): Likewise.
17260 * elf/dl-load.c (print_search_path): Likewise.
17261 (_dl_map_object): Likewise.
17262 * elf/dl-lookup.c (do_lookup_x): Likewise.
17263 (add_dependency): Likewise.
17264 (_dl_lookup_symbol_x): Likewise.
17265 (_dl_debug_bindings): Likewise.
17266 * elf/dl-open.c (_dl_show_scope): Likewise.
17267 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17268 * elf/dl-version.c (match_symbol): Likewise.
17269 (_dl_check_map_versions): Likewise.
17270 * elf/rtld.c (dl_main): Likewise.
17271 (print_unresolved): Use RTLD_PROGNAME.
17272 (print_missing_version): Likewise.
17273 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17274 (elf_machine_rela): Likewise.
17275 * sysdeps/powerpc/powerpc32/dl-machine.c
17276 (__process_machine_rela): Likewise.
17277 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17278 Likewise.
17279 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17280 Likewise.
17281 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17282 Likewise.
17283 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17284 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17285 Likewise.
17286 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17287 Likewise.
17288 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17289
8a9f20c8
CD
172902013-05-28 Carlos O'Donell <carlos@redhat.com>
17291
17292 * po/be.po: Add descriptive title.
17293 * po/zh_CN.po: Likewise.
17294 * po/header.pot: Likewise.
17295
0e60d68e
MF
172962013-05-28 Mike Frysinger <vapier@gentoo.org>
17297
17298 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17299 error message.
17300 (enlarge_archive): Likewise.
17301
56b672e9
BN
173022013-05-28 Ben North <ben@redfrontdoor.org>
17303
17304 * manual/arith.texi (frexp): It is the magnitude of the return
17305 value which lies in [0.5, 1), not the return value itself.
17306
5e056687
AZ
173072013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17308
17309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17310
2b66ef5d
TS
173112013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17312
528c2405
TS
17313 * stdio-common/bug26.c (main): Correct fscanf template.
17314
07b4c13d
TS
17315 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17316 declare _dl_skip_args.
17317
ec9dd97c
TS
17318 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17319 Don't declare.
17320
2b66ef5d
TS
17321 * manual/platform.texi: Add missing @end deftypefun.
17322
4f8dfe27
JM
173232013-05-24 Joseph Myers <joseph@codesourcery.com>
17324
0323d086
JM
17325 [BZ #15529]
17326 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17327 bit of mantissa of 2^16382.
17328 * math/libm-test.inc (hypot_test_data): Add more tests.
17329
dd4259b9
JM
17330 * math/libm-test.inc: Add drem and pow10 to list of tested
17331 functions.
17332 (pow10_test): New function.
17333 (drem_test): Likewise.
17334 (drem_test_tonearest): Likewise.
17335 (drem_test_towardzero): Likewise.
17336 (drem_test_downward): Likewise.
17337 (drem_test_upward): Likewise.
17338 (main): Call the new functions.
17339
4f8dfe27
JM
17340 * math/libm-test.inc (finite_test_data): Remove.
17341 (finite_test): Run tests from isfinite_test_data.
17342 (gamma_test_data): Remove.
17343 (gamma_test): Run tests from lgamma_test_data.
17344 * sysdeps/i386/fpu/libm-test-ulps: Update.
17345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17346
d116b7c4
AZ
173472013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17348
17349 * manual/platform.texi: Add PowerPC PPR function set documentation.
17350 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17351 implementation.
17352
e96e3767
CD
173532013-05-24 Carlos O'Donell <carlos@redhat.com>
17354
17355 * math/libm-test.inc (MAX_EXP): Define.
17356 (ULPDIFF): Define.
17357 (ulp): New function.
17358 (check_float_internal): Use ULPDIFF.
17359 (cpow_test): Disable failing test.
17360 (check_ulp): Test ulp() implemetnation.
17361 (main): Call check_ulp before starting tests.
17362
b679a606
JM
173632013-05-24 Joseph Myers <joseph@codesourcery.com>
17364
e8bdba36
JM
17365 * math/gen-libm-test.pl (generate_testfile): Do not handle
17366 START_DATA and END_DATA.
17367 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17368 END_DATA.
17369 (acos_tonearest_test_data): Likewise.
17370 (acos_towardzero_test_data): Likewise.
17371 (acos_downward_test_data): Likewise.
17372 (acos_upward_test_data): Likewise.
17373 (acosh_test_data): Likewise.
17374 (asin_test_data): Likewise.
17375 (asin_tonearest_test_data): Likewise.
17376 (asin_towardzero_test_data): Likewise.
17377 (asin_downward_test_data): Likewise.
17378 (asin_upward_test_data): Likewise.
17379 (asinh_test_data): Likewise.
17380 (atan_test_data): Likewise.
17381 (atanh_test_data): Likewise.
17382 (atan2_test_data): Likewise.
17383 (cabs_test_data): Likewise.
17384 (cacos_test_data): Likewise.
17385 (cacosh_test_data): Likewise.
17386 (carg_test_data): Likewise.
17387 (casin_test_data): Likewise.
17388 (casinh_test_data): Likewise.
17389 (catan_test_data): Likewise.
17390 (catanh_test_data): Likewise.
17391 (cbrt_test_data): Likewise.
17392 (ccos_test_data): Likewise.
17393 (ccosh_test_data): Likewise.
17394 (ceil_test_data): Likewise.
17395 (cexp_test_data): Likewise.
17396 (cimag_test_data): Likewise.
17397 (clog_test_data): Likewise.
17398 (clog10_test_data): Likewise.
17399 (conj_test_data): Likewise.
17400 (copysign_test_data): Likewise.
17401 (cos_test_data): Likewise.
17402 (cos_tonearest_test_data): Likewise.
17403 (cos_towardzero_test_data): Likewise.
17404 (cos_downward_test_data): Likewise.
17405 (cos_upward_test_data): Likewise.
17406 (cosh_test_data): Likewise.
17407 (cosh_tonearest_test_data): Likewise.
17408 (cosh_towardzero_test_data): Likewise.
17409 (cosh_downward_test_data): Likewise.
17410 (cosh_upward_test_data): Likewise.
17411 (cpow_test_data): Likewise.
17412 (cproj_test_data): Likewise.
17413 (creal_test_data): Likewise.
17414 (csin_test_data): Likewise.
17415 (csinh_test_data): Likewise.
17416 (csqrt_test_data): Likewise.
17417 (ctan_test_data): Likewise.
17418 (ctan_tonearest_test_data): Likewise.
17419 (ctan_towardzero_test_data): Likewise.
17420 (ctan_downward_test_data): Likewise.
17421 (ctan_upward_test_data): Likewise.
17422 (ctanh_test_data): Likewise.
17423 (ctanh_tonearest_test_data): Likewise.
17424 (ctanh_towardzero_test_data): Likewise.
17425 (ctanh_downward_test_data): Likewise.
17426 (ctanh_upward_test_data): Likewise.
17427 (erf_test_data): Likewise.
17428 (erfc_test_data): Likewise.
17429 (exp_test_data): Likewise.
17430 (exp_tonearest_test_data): Likewise.
17431 (exp_towardzero_test_data): Likewise.
17432 (exp_downward_test_data): Likewise.
17433 (exp_upward_test_data): Likewise.
17434 (exp10_test_data): Likewise.
17435 (exp2_test_data): Likewise.
17436 (expm1_test_data): Likewise.
17437 (fabs_test_data): Likewise.
17438 (fdim_test_data): Likewise.
17439 (finite_test_data): Likewise.
17440 (floor_test_data): Likewise.
17441 (fma_test_data): Likewise.
17442 (fma_towardzero_test_data): Likewise.
17443 (fma_downward_test_data): Likewise.
17444 (fma_upward_test_data): Likewise.
17445 (fmax_test_data): Likewise.
17446 (fmin_test_data): Likewise.
17447 (fmod_test_data): Likewise.
17448 (fpclassify_test_data): Likewise.
17449 (frexp_test_data): Likewise.
17450 (gamma_test_data): Likewise.
17451 (hypot_test_data): Likewise.
17452 (ilogb_test_data): Likewise.
17453 (isfinite_test_data): Likewise.
17454 (isgreater_test_data): Likewise.
17455 (isgreaterequal_test_data): Likewise.
17456 (isinf_test_data): Likewise.
17457 (isless_test_data): Likewise.
17458 (islessequal_test_data): Likewise.
17459 (islessgreater_test_data): Likewise.
17460 (isnan_test_data): Likewise.
17461 (isnormal_test_data): Likewise.
17462 (issignaling_test_data): Likewise.
17463 (isunordered_test_data): Likewise.
17464 (j0_test_data): Likewise.
17465 (j1_test_data): Likewise.
17466 (jn_test_data): Likewise.
17467 (ldexp_test_data): Likewise.
17468 (lgamma_test_data): Likewise.
17469 (lrint_test_data): Likewise.
17470 (lrint_tonearest_test_data): Likewise.
17471 (lrint_towardzero_test_data): Likewise.
17472 (lrint_downward_test_data): Likewise.
17473 (lrint_upward_test_data): Likewise.
17474 (llrint_test_data): Likewise.
17475 (llrint_tonearest_test_data): Likewise.
17476 (llrint_towardzero_test_data): Likewise.
17477 (llrint_downward_test_data): Likewise.
17478 (llrint_upward_test_data): Likewise.
17479 (log_test_data): Likewise.
17480 (log10_test_data): Likewise.
17481 (log1p_test_data): Likewise.
17482 (log2_test_data): Likewise.
17483 (logb_test_data): Likewise.
17484 (logb_downward_test_data): Likewise.
17485 (lround_test_data): Likewise.
17486 (llround_test_data): Likewise.
17487 (modf_test_data): Likewise.
17488 (nearbyint_test_data): Likewise.
17489 (nextafter_test_data): Likewise.
17490 (nexttoward_test_data): Likewise.
17491 (pow_test_data): Likewise.
17492 (pow_tonearest_test_data): Likewise.
17493 (pow_towardzero_test_data): Likewise.
17494 (pow_downward_test_data): Likewise.
17495 (pow_upward_test_data): Likewise.
17496 (remainder_test_data): Likewise.
17497 (remainder_tonearest_test_data): Likewise.
17498 (remainder_towardzero_test_data): Likewise.
17499 (remainder_downward_test_data): Likewise.
17500 (remainder_upward_test_data): Likewise.
17501 (remquo_test_data): Likewise.
17502 (rint_test_data): Likewise.
17503 (rint_tonearest_test_data): Likewise.
17504 (rint_towardzero_test_data): Likewise.
17505 (rint_downward_test_data): Likewise.
17506 (rint_upward_test_data): Likewise.
17507 (round_test_data): Likewise.
17508 (scalb_test_data): Likewise.
17509 (scalbn_test_data): Likewise.
17510 (scalbln_test_data): Likewise.
17511 (signbit_test_data): Likewise.
17512 (sin_test_data): Likewise.
17513 (sin_tonearest_test_data): Likewise.
17514 (sin_towardzero_test_data): Likewise.
17515 (sin_downward_test_data): Likewise.
17516 (sin_upward_test_data): Likewise.
17517 (sincos_test_data): Likewise.
17518 (sinh_test_data): Likewise.
17519 (sinh_tonearest_test_data): Likewise.
17520 (sinh_towardzero_test_data): Likewise.
17521 (sinh_downward_test_data): Likewise.
17522 (sinh_upward_test_data): Likewise.
17523 (sqrt_test_data): Likewise.
17524 (tan_test_data): Likewise.
17525 (tan_tonearest_test_data): Likewise.
17526 (tan_towardzero_test_data): Likewise.
17527 (tan_downward_test_data): Likewise.
17528 (tan_upward_test_data): Likewise.
17529 (tanh_test_data): Likewise.
17530 (tgamma_test_data): Likewise.
17531 (trunc_test_data): Likewise.
17532 (y0_test_data): Likewise.
17533 (y1_test_data): Likewise.
17534 (yn_test_data): Likewise.
17535 (significand_test_data): Likewise.
17536
b679a606
JM
17537 * math/gen-libm-test.pl (@functions): Remove variable.
17538 (generate_testfile): Don't handle START and END lines.
17539 * math/libm-test.inc (START): New macro.
17540 (END): Likewise.
17541 (END_COMPLEX): Likewise.
17542 (acos_test): Use END macro without arguments.
17543 (acos_test_tonearest): Likewise.
17544 (acos_test_towardzero): Likewise.
17545 (acos_test_downward): Likewise.
17546 (acos_test_upward): Likewise.
17547 (acosh_test): Likewise.
17548 (asin_test): Likewise.
17549 (asin_test_tonearest): Likewise.
17550 (asin_test_towardzero): Likewise.
17551 (asin_test_downward): Likewise.
17552 (asin_test_upward): Likewise.
17553 (asinh_test): Likewise.
17554 (atan_test): Likewise.
17555 (atanh_test): Likewise.
17556 (atan2_test): Likewise.
17557 (cabs_test): Likewise.
17558 (cacos_test): Use END_COMPLEX macro without arguments.
17559 (cacosh_test): Likewise.
17560 (carg_test): Use END macro without arguments.
17561 (casin_test): Use END_COMPLEX macro without arguments.
17562 (casinh_test): Likewise.
17563 (catan_test): Likewise.
17564 (catanh_test): Likewise.
17565 (cbrt_test): Use END macro without arguments.
17566 (ccos_test): Use END_COMPLEX macro without arguments.
17567 (ccosh_test): Likewise.
17568 (ceil_test): Use END macro without arguments.
17569 (cexp_test): Use END_COMPLEX macro without arguments.
17570 (cimag_test): Use END macro without arguments.
17571 (clog_test): Use END_COMPLEX macro without arguments.
17572 (clog10_test): Likewise.
17573 (conj_test): Likewise.
17574 (copysign_test): Use END macro without arguments.
17575 (cos_test): Likewise.
17576 (cos_test_tonearest): Likewise.
17577 (cos_test_towardzero): Likewise.
17578 (cos_test_downward): Likewise.
17579 (cos_test_upward): Likewise.
17580 (cosh_test): Likewise.
17581 (cosh_test_tonearest): Likewise.
17582 (cosh_test_towardzero): Likewise.
17583 (cosh_test_downward): Likewise.
17584 (cosh_test_upward): Likewise.
17585 (cpow_test): Use END_COMPLEX macro without arguments.
17586 (cproj_test): Likewise.
17587 (creal_test): Use END macro without arguments.
17588 (csin_test): Use END_COMPLEX macro without arguments.
17589 (csinh_test): Likewise.
17590 (csqrt_test): Likewise.
17591 (ctan_test): Likewise.
17592 (ctan_test_tonearest): Likewise.
17593 (ctan_test_towardzero): Likewise.
17594 (ctan_test_downward): Likewise.
17595 (ctan_test_upward): Likewise.
17596 (ctanh_test): Likewise.
17597 (ctanh_test_tonearest): Likewise.
17598 (ctanh_test_towardzero): Likewise.
17599 (ctanh_test_downward): Likewise.
17600 (ctanh_test_upward): Likewise.
17601 (erf_test): Use END macro without arguments.
17602 (erfc_test): Likewise.
17603 (exp_test): Likewise.
17604 (exp_test_tonearest): Likewise.
17605 (exp_test_towardzero): Likewise.
17606 (exp_test_downward): Likewise.
17607 (exp_test_upward): Likewise.
17608 (exp10_test): Likewise.
17609 (exp2_test): Likewise.
17610 (expm1_test): Likewise.
17611 (fabs_test): Likewise.
17612 (fdim_test): Likewise.
17613 (finite_test): Likewise.
17614 (floor_test): Likewise.
17615 (fma_test): Likewise.
17616 (fma_test_towardzero): Likewise.
17617 (fma_test_downward): Likewise.
17618 (fma_test_upward): Likewise.
17619 (fmax_test): Likewise.
17620 (fmin_test): Likewise.
17621 (fmod_test): Likewise.
17622 (fpclassify_test): Likewise.
17623 (frexp_test): Likewise.
17624 (gamma_test): Likewise.
17625 (hypot_test): Likewise.
17626 (ilogb_test): Likewise.
17627 (isfinite_test): Likewise.
17628 (isgreater_test): Likewise.
17629 (isgreaterequal_test): Likewise.
17630 (isinf_test): Likewise.
17631 (isless_test): Likewise.
17632 (islessequal_test): Likewise.
17633 (islessgreater_test): Likewise.
17634 (isnan_test): Likewise.
17635 (isnormal_test): Likewise.
17636 (issignaling_test): Likewise.
17637 (isunordered_test): Likewise.
17638 (j0_test): Likewise.
17639 (j1_test): Likewise.
17640 (jn_test): Likewise.
17641 (ldexp_test): Likewise.
17642 (lgamma_test): Likewise.
17643 (lrint_test): Likewise.
17644 (lrint_test_tonearest): Likewise.
17645 (lrint_test_towardzero): Likewise.
17646 (lrint_test_downward): Likewise.
17647 (lrint_test_upward): Likewise.
17648 (llrint_test): Likewise.
17649 (llrint_test_tonearest): Likewise.
17650 (llrint_test_towardzero): Likewise.
17651 (llrint_test_downward): Likewise.
17652 (llrint_test_upward): Likewise.
17653 (log_test): Likewise.
17654 (log10_test): Likewise.
17655 (log1p_test): Likewise.
17656 (log2_test): Likewise.
17657 (logb_test): Likewise.
17658 (logb_test_downward): Likewise.
17659 (lround_test): Likewise.
17660 (llround_test): Likewise.
17661 (modf_test): Likewise.
17662 (nearbyint_test): Likewise.
17663 (nextafter_test): Likewise.
17664 (nexttoward_test): Likewise.
17665 (pow_test): Likewise.
17666 (pow_test_tonearest): Likewise.
17667 (pow_test_towardzero): Likewise.
17668 (pow_test_downward): Likewise.
17669 (pow_test_upward): Likewise.
17670 (remainder_test): Likewise.
17671 (remainder_test_tonearest): Likewise.
17672 (remainder_test_towardzero): Likewise.
17673 (remainder_test_downward): Likewise.
17674 (remainder_test_upward): Likewise.
17675 (remquo_test): Likewise.
17676 (rint_test): Likewise.
17677 (rint_test_tonearest): Likewise.
17678 (rint_test_towardzero): Likewise.
17679 (rint_test_downward): Likewise.
17680 (rint_test_upward): Likewise.
17681 (round_test): Likewise.
17682 (scalb_test): Likewise.
17683 (scalbn_test): Likewise.
17684 (scalbln_test): Likewise.
17685 (signbit_test): Likewise.
17686 (sin_test): Likewise.
17687 (sin_test_tonearest): Likewise.
17688 (sin_test_towardzero): Likewise.
17689 (sin_test_downward): Likewise.
17690 (sin_test_upward): Likewise.
17691 (sincos_test): Likewise.
17692 (sinh_test): Likewise.
17693 (sinh_test_tonearest): Likewise.
17694 (sinh_test_towardzero): Likewise.
17695 (sinh_test_downward): Likewise.
17696 (sinh_test_upward): Likewise.
17697 (sqrt_test): Likewise.
17698 (tan_test): Likewise.
17699 (tan_test_tonearest): Likewise.
17700 (tan_test_towardzero): Likewise.
17701 (tan_test_downward): Likewise.
17702 (tan_test_upward): Likewise.
17703 (tanh_test): Likewise.
17704 (tgamma_test): Likewise.
17705 (trunc_test): Likewise.
17706 (y0_test): Likewise.
17707 (y1_test): Likewise.
17708 (yn_test): Likewise.
17709 (significand_test): Likewise.
17710
bae143d2
OB
177112013-05-24 Ondřej Bílka <neleai@seznam.cz>
17712
17713 [BZ #15381]
17714 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17715
9323d39b
EM
177162013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17717
d4ea44a0 17718 [BZ #14894]
9323d39b
EM
17719 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17720 __ppc_mdoio and __ppc_mdoom.
17721 * manual/platform.texi: Document new functions __ppc_yield,
17722 __ppc_mdoio and __ppc_mdoom.
17723
13e23af7
CD
177242013-05-22 Carlos O'Donell <carlos@redhat.com>
17725
17726 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17727 (main): Mention "tls" pseudo-hwcap is legacy.
17728 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17729
351fe550
JM
177302013-05-22 Joseph Myers <joseph@codesourcery.com>
17731
17732 * math/gen-libm-test.pl (parse_args): Output only string of
17733 arguments as text for test name, not full call or descriptions of
17734 tests for extra outputs.
17735 (generate_testfile): Do not pass function name to parse_args.
17736 Generate this_func variable from START.
17737 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17738 field to arg_str.
17739 (struct test_ff_f_data): Likewise.
17740 (test_ff_f_data_nexttoward): Likewise.
17741 (struct test_fi_f_data): Likewise.
17742 (struct test_fl_f_data): Likewise.
17743 (struct test_if_f_data): Likewise.
17744 (struct test_fff_f_data): Likewise.
17745 (struct test_c_f_data): Likewise.
17746 (struct test_f_f1_data): Likewise. Remove field extra_name.
17747 (struct test_fF_f1_data): Likewise.
17748 (struct test_ffI_f1_data): Likewise.
17749 (struct test_c_c_data): Rename test_name field to arg_str.
17750 (struct test_cc_c_data): Likewise.
17751 (struct test_f_i_data): Likewise.
17752 (struct test_ff_i_data): Likewise.
17753 (struct test_f_l_data): Likewise.
17754 (struct test_f_L_data): Likewise.
17755 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17756 and extra2_name.
17757 (COMMON_TEST_SETUP): New macro.
17758 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17759 (COMMON_TEST_CLEANUP): Likewise.
17760 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17761 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17762 macros.
17763 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17764 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17765 macros.
17766 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17767 (RUN_TEST_fff_f): Take argument string. Call new setup and
17768 cleanup macros.
17769 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17770 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17771 macros.
17772 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17773 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17774 macros.
17775 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17776 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17777 cleanup macros.
17778 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17779 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17780 cleanup macros.
17781 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17782 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17783 cleanup macros.
17784 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17785 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17786 macros.
17787 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17788 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17789 macros.
17790 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17791 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17792 macros.
17793 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17794 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17795 cleanup macros.
17796 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17797 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17798 cleanup macros.
17799 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17800 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17801 macros.
17802 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17803 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17804 cleanup macros.
17805 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17806 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17807 macros.
17808 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17809 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17810 macros.
17811 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17812 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17813 cleanup macros.
17814 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17815
85118d4d
EBM
178162013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17817
17818 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17819 to _sifields.sigfault.
17820 (si_addr_lsb): Define new macro.
17821 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17822 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17823 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17824
7a44c18f
CD
178252013-05-03 Carlos O'Donell <carlos at redhat.com>
17826
17827 [BZ #15441]
17828 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17829 returns -1.
17830 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17831 null return -1.
17832 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17833 loading the domain.
17834
b50a7181
JM
178352013-05-22 Joseph Myers <joseph@codesourcery.com>
17836
17837 * math/gen-libm-test.pl (parse_args): Do not include expected
17838 result in test name.
17839 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17840 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17841 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17842 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17843 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17845
051063c8
SP
178462013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17847
3ce9e010
SP
17848 * benchtests/Makefile: Sort function entries.
17849
051063c8
SP
17850 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17851 tanh, asinh, acosh, atanh.
17852 * benchtests/acos-inputs: New file.
17853 * benchtests/acosh-inputs: New file.
17854 * benchtests/asin-inputs: New file.
17855 * benchtests/asinh-inputs: New file.
17856 * benchtests/atanh-inputs: New file.
17857 * benchtests/cosh-inputs: New file.
17858 * benchtests/log-inputs: New file.
17859 * benchtests/sinh-inputs: New file.
17860 * benchtests/tanh-inputs: New file.
17861
47c22455
DL
178622013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17863
17864 [BZ #15339]
17865 * posix/tst-getaddrinfo4.c: New test.
17866 * posix/Makefile (tests): Add it.
17867
3d04f5db
SP
178682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17869
17870 [BZ #15339]
17871 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17872 when no services were used.
17873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17874 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17875
d5dd6189
AS
178762013-05-21 Andreas Schwab <schwab@suse.de>
17877
17878 [BZ #15014]
17879 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17880 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17881 successful.
17882 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17883 redundant variable declarations and reallocation of buffer when
17884 parsing as IPv6 address. Always set NSS status when called from
17885 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17886 buffer too small. Correct computation of needed size.
17887 * nss/Makefile (tests): Add test-digits-dots.
17888 * nss/test-digits-dots.c: New test.
17889
fef94eab
SP
178902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17891
17892 * benchtests/Makefile: Remove instructions for adding
17893 benchmark tests.
17894 * benchtests/README: New file to explain how to execute and
17895 enhance the benchmark tests.
17896
e39adf43
AS
178972013-05-21 Andreas Schwab <schwab@suse.de>
17898
17899 [BZ #15493]
17900 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17901 * setjmp/tst-sigsetjmp.c: New test.
17902
b2b671b6
OB
179032013-05-20 Ondřej Bílka <neleai@seznam.cz>
17904
17905 * sysdeps/x86_64/memset.S (memset): New implementation.
17906 (__bzero): Likewise.
17907 (__memset_tail): New function.
17908
2d48b41c
OB
179092013-05-20 Ondřej Bílka <neleai@seznam.cz>
17910
17911 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17912 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17913 __memcpy_sse2_unaligned ifunc selection.
17914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17915 Add memcpy-sse2-unaligned.S.
17916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17917 Add: __memcpy_sse2_unaligned.
17918
f16cc3eb
JM
179192013-05-19 Joseph Myers <joseph@codesourcery.com>
17920
3e694268
JM
17921 [BZ #15490]
17922 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17923 math_force_eval before restoring floating-point envrionment.
17924 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17926 Likewise.
17927 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17928 <math_private.h>.
17929 (__nearbyintl): Use math_force_eval before restoring
17930 floating-point environment.
17931 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17932
db62a907
JM
17933 * math/gen-libm-test.pl (special_functions): Remove.
17934 (parse_args): Don't handle TEST_extra. Handle functions with no
17935 return value.
17936 * math/libm-test.inc (struct test_sincos_data): Replace with
17937 struct test_fFF_11_data.
17938 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17939 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17940 (sincos_test_data): Change element type to struct
17941 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17942 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17943 RUN_TEST_LOOP_sincos.
17944 * math/README.libm-test: Don't mention special handling of
17945 individual functions.
17946 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17947 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17948 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17949 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17950 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17952
f16cc3eb
JM
17953 * math/gen-libm-test.pl (get_variable): Remove function.
17954 (parse_args): Don't show pointer parameters to call in test
17955 names. Use "extra output N" in test names for extra outputs
17956 rather than naming variables.
17957
3779b5b6
JM
179582013-05-18 Joseph Myers <joseph@codesourcery.com>
17959
2ee094ff
JM
17960 [BZ #15488]
17961 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17962 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17963 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17964 double tests.
17965 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17966 disable.
17967 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17968 check_long_double.
17969
3779b5b6
JM
17970 * math/gen-libm-test.pl (@tests): Remove variable.
17971 ($count): Likewise.
17972 (new_test): Remove function.
17973 (show_exceptions): New function.
17974 (special_functions): Use show_exceptions instead of new_test.
17975 (parse_args): Likewise.
17976 (generate_testfile): Pass only function name in generated call to
17977 print_max_error or print_complex_max_error.
17978 (get_ulps): Do not handle complex tests specially.
17979 (output_test): Rename to ...
17980 (get_all_ulps_for_test): ... this. Return a string rather than
17981 printing to a file. Require ulps to be present.
17982 (output_ulps): Generate arrays rather than #defines.
17983 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17984 (struct ulp_data): New type.
17985 (BUILD_COMPLEX_ULP): Remove macro.
17986 (compare_ulp_data): New function.
17987 (find_ulps): Likewise.
17988 (find_test_ulps): Likewise.
17989 (find_function_ulps): Likewise.
17990 (find_complex_function_ulps): Likewise.
17991 (print_max_error): Determine allowed ulps using
17992 find_function_ulps.
17993 (print_complex_max_error): Determine allowed ulps using
17994 find_complex_function_ulps.
17995 (check_float_internal): Determine max ulps using find_test_ulps.
17996 (check_float): Do not take max_ulp parameter. Update call to
17997 check_float_internal.
17998 (check_complex): Likewise.
17999 (check_int): Do not take max_ulp parameter.
18000 (check_long): Likewise.
18001 (check_bool): Likewise.
18002 (check_longlong): Likewise.
18003 (struct test_f_f_data): Remove max_ulp field.
18004 (struct test_ff_f_data): Likewise.
18005 (struct test_ff_f_data_nexttoward): Likewise.
18006 (struct test_fi_f_data): Likewise.
18007 (struct test_fl_f_data): Likewise.
18008 (struct test_if_f_data): Likewise.
18009 (struct test_fff_f_data): Likewise.
18010 (struct test_c_f_data): Likewise.
18011 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18012 (struct test_fF_f1_data): Likewise.
18013 (struct test_ffI_f1_data): Likewise.
18014 (struct test_c_c_data): Remove max_ulp field.
18015 (struct test_cc_c_data): Likewise.
18016 (struct test_f_i_data): Likewise.
18017 (struct test_ff_i_data): Likewise.
18018 (struct test_f_l_data): Likewise.
18019 (struct test_f_L_data): Likewise.
18020 (struct test_sincos_data): Likewise.
18021 (RUN_TEST_f_f): Do not handle ulps.
18022 (RUN_TEST_LOOP_f_f): Likewise.
18023 (RUN_TEST_2_f): Likewise.
18024 (RUN_TEST_LOOP_2_f): Likewise.
18025 (RUN_TEST_fff_f): Likewise.
18026 (RUN_TEST_LOOP_fff_f): Likewise.
18027 (RUN_TEST_c_f): Likewise.
18028 (RUN_TEST_LOOP_c_f): Likewise.
18029 (RUN_TEST_f_f1): Likewise.
18030 (RUN_TEST_LOOP_f_f1): Likewise.
18031 (RUN_TEST_fF_f1): Likewise.
18032 (RUN_TEST_LOOP_fF_f1): Likewise.
18033 (RUN_TEST_fI_f1): Likewise.
18034 (RUN_TEST_LOOP_fI_f1): Likewise.
18035 (RUN_TEST_ffI_f1): Likewise.
18036 (RUN_TEST_LOOP_ffI_f1): Likewise.
18037 (RUN_TEST_c_c): Likewise.
18038 (RUN_TEST_LOOP_c_c): Likewise.
18039 (RUN_TEST_cc_c): Likewise.
18040 (RUN_TEST_LOOP_cc_c): Likewise.
18041 (RUN_TEST_f_i): Likewise.
18042 (RUN_TEST_LOOP_f_i): Likewise.
18043 (RUN_TEST_f_i_tg): Likewise.
18044 (RUN_TEST_LOOP_f_i_tg): Likewise.
18045 (RUN_TEST_ff_i_tg): Likewise.
18046 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18047 (RUN_TEST_f_b): Likewise.
18048 (RUN_TEST_LOOP_f_b): Likewise.
18049 (RUN_TEST_f_b_tg): Likewise.
18050 (RUN_TEST_LOOP_f_b_tg): Likewise.
18051 (RUN_TEST_f_l): Likewise.
18052 (RUN_TEST_LOOP_f_l): Likewise.
18053 (RUN_TEST_f_L): Likewise.
18054 (RUN_TEST_LOOP_f_L): Likewise.
18055 (RUN_TEST_sincos): Likewise.
18056 (RUN_TEST_LOOP_sincos): Likewise.
18057
8269107f
JM
180582013-05-17 Joseph Myers <joseph@codesourcery.com>
18059
bb38759d
JM
18060 [BZ #15480]
18061 [BZ #15485]
18062 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18063 main case of finite arguments, set rounding mode to FE_TONEAREST
18064 and discard exceptions.
18065 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18066 exceptions.
18067 (remainder_tonearest_test_data): New variable.
18068 (remainder_test_tonearest): New function.
18069 (remainder_towardzero_test_data): New variable.
18070 (remainder_test_towardzero): New function.
18071 (remainder_downward_test_data): New variable.
18072 (remainder_test_downward): New function.
18073 (remainder_upward_test_data): New variable.
18074 (remainder_test_upward): New function.
18075 (main): Call the new test functions.
18076
a00bdcf0
JM
18077 * math/libm-test.inc (struct test_f_f1_data): Remove field
18078 extra_init.
18079 (struct test_fF_f1_data): Likewise.
18080 (struct test_ffI_f1_data): Likewise.
18081 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18082 based on value of EXTRA_EXPECTED.
18083 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18084 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18085 EXTRA_VAR based on value of EXTRA_EXPECTED.
18086 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18087 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18088 EXTRA_VAR based on value of EXTRA_EXPECTED.
18089 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18090 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18091 EXTRA_VAR based on value of EXTRA_EXPECTED.
18092 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18093 * math/gen-libm-test.pl (parse_args): Don't output initializers
18094 for extra output values.
18095
de407f79
JM
18096 * math/libm-test.inc (check_int): Expect result to be exactly
18097 equal to expected value and do not handle ulps.
18098 (check_long): Likewise.
18099 (check_longlong): Likewise.
18100
8269107f
JM
18101 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18102 exceptions.
18103 (cimag_test_data): Likewise.
18104 (conj_test_data): Likewise.
18105 (copysign_test_data): Likewise.
18106 (cproj_test_data): Likewise.
18107 (creal_test_data): Likewise.
18108 (fabs_test_data): Likewise.
18109 (fdim_test_data): Likewise.
18110 (finite_test_data): Likewise.
18111 (floor_test_data): Likewise.
18112 (fmax_test_data): Likewise.
18113 (fmin_test_data): Likewise.
18114 (fmod_test_data): Likewise.
18115 (fpclassify_test_data): Likewise.
18116 (frexp_test_data): Likewise.
18117 (ilogb_test_data): Likewise.
18118 (isfinite_test_data): Likewise.
18119 (isgreater_test_data): Likewise.
18120 (isgreaterequal_test_data): Likewise.
18121 (isinf_test_data): Likewise.
18122 (isless_test_data): Likewise.
18123 (islessequal_test_data): Likewise.
18124 (islessgreater_test_data): Likewise.
18125 (isnan_test_data): Likewise.
18126 (isnormal_test_data): Likewise.
18127 (issignaling_test_data): Likewise.
18128 (isunordered_test_data): Likewise.
18129 (ldexp_test_data): Likewise.
18130 (lrint_test_data): Likewise.
18131 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18132 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18133 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18134 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18135 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18136 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18137 test input.
18138 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18139 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18140 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18141 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18142 that test input.
18143 (lrint_downward_test_data): Test for "inexact" exceptions.
18144 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18145 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18146 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18147 test input.
18148 (lrint_upward_test_data): Test for "inexact" exceptions.
18149 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18150 test input.
18151 (llrint_test_data): Test for "inexact" exceptions.
18152 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18153 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18154 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18155 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18156 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18157 (llrint_downward_test_data): Test for "inexact" exceptions.
18158 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18159 (llrint_upward_test_data): Test for "inexact" exceptions.
18160 (logb_test_data): Likewise.
18161 (logb_downward_test_data): Likewise.
18162 (nextafter_test_data): Likewise.
18163 (nexttoward_test_data): Likewise.
18164 (remainder_test_data): Likewise.
18165 (remquo_test_data): Likewise.
18166 (scalbn_test_data): Likewise.
18167 (scalbln_test_data): Likewise.
18168 (signbit_test_data): Likewise.
18169 (sqrt_test_data): Likewise.
18170 (significand_test_data): Likewise.
18171
48a18de1
SP
181722013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18173
18174 [BZ #15424]
18175 * benchtests/bench-modf.c (struct args): Mark arg0 as
18176 volatile.
18177 * scripts/bench.pl: Mark members of struct args as volatile.
18178
13d3b41a
AZ
181792013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18180
68191c1d 18181 [BZ # 15497]
13d3b41a
AZ
18182 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18183 negative infinity on POWER6 or lower.
18184 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18185
2848b105
MR
181862013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18187
18188 [BZ #15442]
18189 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18190 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18191 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18192 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18193 (_FP_SETQNAN): New macro.
18194 (_FP_SETQNAN_SEMIRAW): Likewise.
18195 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18196 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18197 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18198 (FP_EXTEND): Use _FP_FRAC_SNANP.
18199 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18200 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18201 into account.
18202 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18203 New macro.
18204 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18205 Likewise.
18206
323e5cb7
JM
182072013-05-16 Joseph Myers <joseph@codesourcery.com>
18208
c58b274f
JM
18209 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18210 with DIVIDE_BY_ZERO_EXCEPTION.
18211 (gamma_test_data): Likewise.
18212 (lgamma_test_data): Likewise.
18213 (log_test_data): Likewise.
18214 (log10_test_data): Likewise.
18215 (log2_test_data): Likewise.
18216 (tgamma_test_data): Likewise.
18217
0ab34904
JM
18218 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18219 (acos_test_tonearest): Likewise.
18220 (acos_test_towardzero): Likewise.
18221 (acos_test_downward): Likewise.
18222 (acos_test_upward): Likewise.
18223 (acosh_test): Likewise.
18224 (asin_test): Likewise.
18225 (asin_test_tonearest): Likewise.
18226 (asin_test_towardzero): Likewise.
18227 (asin_test_downward): Likewise.
18228 (asin_test_upward): Likewise.
18229 (asinh_test): Likewise.
18230 (atan_test): Likewise.
18231 (atanh_test): Likewise.
18232 (atan2_test): Likewise.
18233 (cabs_test): Likewise.
18234 (cacos_test): Likewise.
18235 (cacosh_test): Likewise.
18236 (casin_test): Likewise.
18237 (casinh_test): Likewise.
18238 (catan_test): Likewise.
18239 (catanh_test): Likewise.
18240 (cbrt_test): Likewise.
18241 (ccos_test): Likewise.
18242 (ccosh_test): Likewise.
18243 (cexp_test): Likewise.
18244 (clog_test): Likewise.
18245 (clog10_test): Likewise.
18246 (cos_test): Likewise.
18247 (cos_test_tonearest): Likewise.
18248 (cos_test_towardzero): Likewise.
18249 (cos_test_downward): Likewise.
18250 (cos_test_upward): Likewise.
18251 (cosh_test): Likewise.
18252 (cosh_test_tonearest): Likewise.
18253 (cosh_test_towardzero): Likewise.
18254 (cosh_test_downward): Likewise.
18255 (cosh_test_upward): Likewise.
18256 (cpow_test): Likewise.
18257 (csin_test): Likewise.
18258 (csinh_test): Likewise.
18259 (csqrt_test): Likewise.
18260 (ctan_test): Likewise.
18261 (ctan_test_tonearest): Likewise.
18262 (ctan_test_towardzero): Likewise.
18263 (ctan_test_downward): Likewise.
18264 (ctan_test_upward): Likewise.
18265 (ctanh_test): Likewise.
18266 (ctanh_test_tonearest): Likewise.
18267 (ctanh_test_towardzero): Likewise.
18268 (ctanh_test_downward): Likewise.
18269 (ctanh_test_upward): Likewise.
18270 (erf_test): Likewise.
18271 (erfc_test): Likewise.
18272 (exp_test): Likewise.
18273 (exp_test_tonearest): Likewise.
18274 (exp_test_towardzero): Likewise.
18275 (exp_test_downward): Likewise.
18276 (exp_test_upward): Likewise.
18277 (exp10_test): Likewise.
18278 (exp2_test): Likewise.
18279 (expm1_test): Likewise.
18280 (fmod_test): Likewise.
18281 (gamma_test): Likewise.
18282 (hypot_test): Likewise.
18283 (j0_test): Likewise.
18284 (j1_test): Likewise.
18285 (jn_test): Likewise.
18286 (lgamma_test): Likewise.
18287 (log_test): Likewise.
18288 (log10_test): Likewise.
18289 (log1p_test): Likewise.
18290 (log2_test): Likewise.
18291 (logb_test_downward): Likewise.
18292 (pow_test): Likewise.
18293 (pow_test_tonearest): Likewise.
18294 (pow_test_towardzero): Likewise.
18295 (pow_test_downward): Likewise.
18296 (pow_test_upward): Likewise.
18297 (remainder_test): Likewise.
18298 (remquo_test): Likewise.
18299 (sin_test): Likewise.
18300 (sin_test_tonearest): Likewise.
18301 (sin_test_towardzero): Likewise.
18302 (sin_test_downward): Likewise.
18303 (sin_test_upward): Likewise.
18304 (sincos_test): Likewise.
18305 (sinh_test): Likewise.
18306 (sinh_test_tonearest): Likewise.
18307 (sinh_test_towardzero): Likewise.
18308 (sinh_test_downward): Likewise.
18309 (sinh_test_upward): Likewise.
18310 (sqrt_test): Likewise.
18311 (tan_test): Likewise.
18312 (tan_test_tonearest): Likewise.
18313 (tan_test_towardzero): Likewise.
18314 (tan_test_downward): Likewise.
18315 (tan_test_upward): Likewise.
18316 (tanh_test): Likewise.
18317 (tgamma_test): Likewise.
18318 (y0_test): Likewise.
18319 (y1_test): Likewise.
18320 (yn_test): Likewise.
18321
323e5cb7
JM
18322 * math/gen-libm-test.pl (adjust_arg): Remove function.
18323 (special_function): Remove argument $in_func. Only handle
18324 generating output for tables of tests, not inside functions.
18325 (parse_args): Likewise.
18326 (generate_testfile): Remove variable $in_func. Update call to
18327 parse_args.
18328 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18329 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18330 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18331 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18332 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18333 (MAX_VALUE_INIT): Rename macro to max_value.
18334 (MIN_VALUE_INIT): Rename macro to min_value.
18335 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18336 (plus_zero): Remove variable.
18337 (minus_zero): Likewise.
18338 (plus_infty): Likewise.
18339 (minus_infty): Likewise.
18340 (qnan_value): Likewise.
18341 (max_value): Likewise.
18342 (min_value): Likewise.
18343 (min_subnorm_value): Likewise.
18344
e054f494
RA
183452013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18346
18347 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18348 uint64_t or uint32_t usage.
18349 * crypt/sha256-block.c: Likewise.
18350 * crypt/sha256-crypt.c: Likewise.
18351 * crypt/sha256.c: Likewise.
18352 * crypt/sha512-block.c: Likewise.
18353 * crypt/sha512-crypt.c: Likewise.
18354 * crypt/sha512.c: Likewise.
18355 * debug/backtrace-tst.c: Likewise.
18356 * debug/pcprofiledump.c: Likewise.
18357 * elf/cache.c: Likewise.
18358 * elf/dl-cache.c: Likewise.
18359 * elf/dl-misc.c: Likewise.
18360 * elf/dl-profile.c: Likewise.
18361 * elf/dl-support.c: Likewise.
18362 * elf/ldconfig.c: Likewise.
18363 * elf/sprof.c: Likewise.
18364 * iconv/dummy-repertoire.c: Likewise.
18365 * iconv/iconv_charmap.c: Likewise.
18366 * iconv/skeleton.c: Likewise.
18367 * iconvdata/8bit-generic.c: Likewise.
18368 * iconvdata/cp737.h: Likewise.
18369 * iconvdata/cp775.h: Likewise.
18370 * iconvdata/ibm1008.h: Likewise.
18371 * iconvdata/ibm1025.h: Likewise.
18372 * iconvdata/ibm1046.h: Likewise.
18373 * iconvdata/ibm1097.h: Likewise.
18374 * iconvdata/ibm1112.h: Likewise.
18375 * iconvdata/ibm1122.h: Likewise.
18376 * iconvdata/ibm1123.h: Likewise.
18377 * iconvdata/ibm1124.h: Likewise.
18378 * iconvdata/ibm1129.h: Likewise.
18379 * iconvdata/ibm1130.h: Likewise.
18380 * iconvdata/ibm1132.h: Likewise.
18381 * iconvdata/ibm1133.h: Likewise.
18382 * iconvdata/ibm1137.h: Likewise.
18383 * iconvdata/ibm1140.h: Likewise.
18384 * iconvdata/ibm1141.h: Likewise.
18385 * iconvdata/ibm1142.h: Likewise.
18386 * iconvdata/ibm1143.h: Likewise.
18387 * iconvdata/ibm1144.h: Likewise.
18388 * iconvdata/ibm1145.h: Likewise.
18389 * iconvdata/ibm1146.h: Likewise.
18390 * iconvdata/ibm1147.h: Likewise.
18391 * iconvdata/ibm1148.h: Likewise.
18392 * iconvdata/ibm1149.h: Likewise.
18393 * iconvdata/ibm1153.h: Likewise.
18394 * iconvdata/ibm1154.h: Likewise.
18395 * iconvdata/ibm1155.h: Likewise.
18396 * iconvdata/ibm1156.h: Likewise.
18397 * iconvdata/ibm1157.h: Likewise.
18398 * iconvdata/ibm1158.h: Likewise.
18399 * iconvdata/ibm1160.h: Likewise.
18400 * iconvdata/ibm1161.h: Likewise.
18401 * iconvdata/ibm1162.h: Likewise.
18402 * iconvdata/ibm1163.h: Likewise.
18403 * iconvdata/ibm1164.h: Likewise.
18404 * iconvdata/ibm1166.h: Likewise.
18405 * iconvdata/ibm1167.h: Likewise.
18406 * iconvdata/ibm12712.h: Likewise.
18407 * iconvdata/ibm1390.h: Likewise.
18408 * iconvdata/ibm1399.h: Likewise.
18409 * iconvdata/ibm16804.h: Likewise.
18410 * iconvdata/ibm4517.h: Likewise.
18411 * iconvdata/ibm4899.h: Likewise.
18412 * iconvdata/ibm4909.h: Likewise.
18413 * iconvdata/ibm4971.h: Likewise.
18414 * iconvdata/ibm5347.h: Likewise.
18415 * iconvdata/ibm803.h: Likewise.
18416 * iconvdata/ibm856.h: Likewise.
18417 * iconvdata/ibm901.h: Likewise.
18418 * iconvdata/ibm902.h: Likewise.
18419 * iconvdata/ibm9030.h: Likewise.
18420 * iconvdata/ibm9066.h: Likewise.
18421 * iconvdata/ibm921.h: Likewise.
18422 * iconvdata/ibm922.h: Likewise.
18423 * iconvdata/ibm9448.h: Likewise.
18424 * iconvdata/isiri-3342.h: Likewise.
18425 * iconvdata/jis0201.h: Likewise.
18426 * include/link.h: Likewise.
18427 * include/netdb.h: Likewise.
18428 * inet/check_native.c: Likewise.
18429 * inet/check_pf.c: Likewise.
18430 * inet/getipv4sourcefilter.c: Likewise.
18431 * inet/getnameinfo.c: Likewise.
18432 * inet/getsourcefilter.c: Likewise.
18433 * inet/htonl.c: Likewise.
18434 * inet/setipv4sourcefilter.c: Likewise.
18435 * inet/setsourcefilter.c: Likewise.
18436 * inet/test-inet6_opt.c: Likewise.
18437 * inet/tst-network.c: Likewise.
18438 * locale/C-collate.c: Likewise.
18439 * locale/C-ctype.c: Likewise.
18440 * locale/C-time.c: Likewise.
18441 * locale/C-translit.h: Likewise.
18442 * locale/loadarchive.c: Likewise.
18443 * locale/programs/3level.h: Likewise.
18444 * locale/programs/charmap.c: Likewise.
18445 * locale/programs/charmap.h: Likewise.
18446 * locale/programs/ld-address.c: Likewise.
18447 * locale/programs/ld-collate.c: Likewise.
18448 * locale/programs/ld-ctype.c: Likewise.
18449 * locale/programs/ld-identification.c: Likewise.
18450 * locale/programs/ld-measurement.c: Likewise.
18451 * locale/programs/ld-messages.c: Likewise.
18452 * locale/programs/ld-monetary.c: Likewise.
18453 * locale/programs/ld-name.c: Likewise.
18454 * locale/programs/ld-numeric.c: Likewise.
18455 * locale/programs/ld-paper.c: Likewise.
18456 * locale/programs/ld-telephone.c: Likewise.
18457 * locale/programs/ld-time.c: Likewise.
18458 * locale/programs/linereader.c: Likewise.
18459 * locale/programs/locale.c: Likewise.
18460 * locale/programs/locarchive.c: Likewise.
18461 * locale/programs/locfile.h: Likewise.
18462 * locale/programs/repertoire.c: Likewise.
18463 * locale/programs/simple-hash.c: Likewise.
18464 * locale/programs/simple-hash.h: Likewise.
18465 * malloc/memusage.c: Likewise.
18466 * malloc/memusagestat.c: Likewise.
18467 * nis/nis_defaults.c: Likewise.
18468 * nis/nis_hash.c: Likewise.
18469 * nis/nis_print.c: Likewise.
18470 * nis/nis_xdr.c: Likewise.
18471 * nscd/connections.c: Likewise.
18472 * nscd/hstcache.c: Likewise.
18473 * nscd/nscd_gethst_r.c: Likewise.
18474 * nscd/nscd_getserv_r.c: Likewise.
18475 * nscd/nscd_helper.c: Likewise.
18476 * nscd/servicescache.c: Likewise.
18477 * nss/makedb.c: Likewise.
18478 * nss/nss_db/db-XXX.c: Likewise.
18479 * nss/nss_db/db-initgroups.c: Likewise.
18480 * nss/nss_db/db-netgrp.c: Likewise.
18481 * nss/nss_files/files-network.c: Likewise.
18482 * nss/nss_files/files-parse.c: Likewise.
18483 * posix/bug-regex5.c: Likewise.
18484 * posix/fnmatch_loop.c: Likewise.
18485 * posix/regcomp.c: Likewise.
18486 * posix/regexec.c: Likewise.
18487 * posix/tst-rfc3484-2.c: Likewise.
18488 * posix/tst-rfc3484-3.c: Likewise.
18489 * posix/tst-rfc3484.c: Likewise.
18490 * resolv/nss_dns/dns-canon.c: Likewise.
18491 * resolv/nss_dns/dns-network.c: Likewise.
18492 * resolv/res_init.c: Likewise.
18493 * resolv/res_mkquery.c: Likewise.
18494 * resolv/tst-aton.c: Likewise.
18495 * stdlib/cxa_atexit.c: Likewise.
18496 * stdlib/cxa_finalize.c: Likewise.
18497 * stdlib/gen-fpioconst.c: Likewise.
18498 * stdlib/strtol_l.c: Likewise.
18499 * string/tst-endian.c: Likewise.
18500 * sunrpc/auth_des.c: Likewise.
18501 * sunrpc/clnt_udp.c: Likewise.
18502 * sunrpc/rtime.c: Likewise.
18503 * sunrpc/svcauth_des.c: Likewise.
18504 * sunrpc/xdr.c: Likewise.
18505 * sunrpc/xdr_intXX_t.c: Likewise.
18506 * sunrpc/xdr_rec.c: Likewise.
18507 * sysdeps/generic/ldconfig.h: Likewise.
18508 * sysdeps/generic/ldsodefs.h: Likewise.
18509 * sysdeps/generic/memusage.h: Likewise.
18510 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18511 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18512 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18513 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18514 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18516 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18517 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18518 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18519 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18520 * sysdeps/posix/getaddrinfo.c: Likewise.
18521 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18522 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18523 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18524 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18525 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18526 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18527 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18528 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18529 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18530 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18531 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18532 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18533 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18534 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18535 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18536 * sysdeps/x86_64/dl-tls.h: Likewise.
18537 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18538 * time/alt_digit.c: Likewise.
18539 * time/era.c: Likewise.
18540 * wcsmbs/tst-c16c32-1.c: Likewise.
18541
8c75f674
JM
185422013-05-16 Joseph Myers <joseph@codesourcery.com>
18543
18544 * math/libm-test.inc (struct test_sincos_data): New type.
18545 (RUN_TEST_LOOP_sincos): New macro.
18546 (sincos_test_data): New variable.
18547 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18548
e6e49e59
RH
185492013-05-16 Richard Henderson <rth@redhat.com>
18550
18551 * math/atest-exp2.c (LIMB64): New macro.
18552 (CONSTSZ): New macro.
18553 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18554 (hexdig): Move ...
18555 (print_mpn_fp): ... to function scope.
18556 (read_mpn_hex): Remove.
18557 (get_log2): Remove.
18558 (exp2_mpn): Use mp_log2.
18559 (main): Use mp_exp1.
18560
15c7c18d
JM
185612013-05-16 Joseph Myers <joseph@codesourcery.com>
18562
105a07df
JM
18563 * math/libm-test.inc: Remove comment about not testing "inexact"
18564 exceptions.
18565 (INEXACT_EXCEPTION): New macro.
18566 (NO_INEXACT_EXCEPTION): Likewise.
18567 (INVALID_EXCEPTION_OK): Update value.
18568 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18569 (OVERFLOW_EXCEPTION_OK): Likewise.
18570 (UNDERFLOW_EXCEPTION_OK): Likewise.
18571 (IGNORE_ZERO_INF_SIGN): Likewise.
18572 (ERRNO_UNCHANGED): Likewise.
18573 (ERRNO_EDOM): Likewise.
18574 (ERRNO_ERANGE): Likewise.
18575 (test_exceptions): Handle testing "inexact" exceptions.
18576 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18577 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18578 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18579 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18580 INEXACT_EXCEPTION.
18581 (rint_towardzero_test_data): Likewise.
18582 (rint_downward_test_data): Likewise.
18583 (rint_upward_test_data): Likewise.
18584
e9eee333
JM
18585 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18586 with OVERFLOW_EXCEPTION.
18587 (exp10_test_data): Likewise.
18588 (exp2_test_data): Likewise.
18589 (expm1_test_data): Likewise.
18590 (lgamma_test_data): Likewise.
18591 (pow_test_data): Likewise.
18592 (tgamma_test_data): Likewise.
18593 (yn_test_data): Remove duplicate test of overflow.
18594
1c38ff73
JM
18595 * math/libm-test.inc (struct test_cc_c_data): New type.
18596 (RUN_TEST_LOOP_cc_c): New macro.
18597 (cpow_test_data): New variable.
18598 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18599
15c7c18d
JM
18600 * math/libm-test.inc (struct test_f_L_data): New type.
18601 (RUN_TEST_LOOP_f_L): New macro.
18602 (llrint_test_data): New variable.
18603 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18604 (llrint_tonearest_test_data): New variable.
18605 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18606 (llrint_towardzero_test_data): New variable.
18607 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18608 (llrint_downward_test_data): New variable.
18609 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18610 (llrint_upward_test_data): New variable.
18611 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18612 (llround_test_data): New variable.
18613 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18614
f137ff13
PC
186152013-05-13 Peter Collingbourne <pcc@google.com>
18616
18617 * math/atest-exp2.c (get_log2): Remove const attribute.
18618
3608cb24
JM
186192013-05-15 Joseph Myers <joseph@codesourcery.com>
18620
18621 * math/libm-test.inc (struct test_f_l_data): New type.
18622 (RUN_TEST_LOOP_f_l): New macro.
18623 (lrint_test_data): New variable.
18624 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18625 (lrint_tonearest_test_data): New variable.
18626 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18627 (lrint_towardzero_test_data): New variable.
18628 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18629 (lrint_downward_test_data): New variable.
18630 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18631 (lrint_upward_test_data): New variable.
18632 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18633 (lround_test_data): New variable.
18634 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18635
39b1f617
PC
186362013-05-15 Peter Collingbourne <pcc@google.com>
18637
1deff3dc
PC
18638 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18639 (EXTRACT_WORDS64) Use where appropriate.
18640 (INSERT_WORDS64) Likewise.
18641
791f3ba0
PC
18642 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18643 constraints with x constraints.
18644 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18645
39b1f617
PC
18646 * malloc/obstack.c (_obstack_compat): Add initializer.
18647
12fba011
EM
186482013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18649
18650 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18651 si_trapno and add si_addr_lsb to _sifields.sigfault.
18652 (si_trapno): Remove macro.
18653 (si_addr_lsb): Define new macro.
18654 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18655
d369f531
JM
186562013-05-15 Joseph Myers <joseph@codesourcery.com>
18657
b861c6c4
JM
18658 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18659 instead of TEST_f_l.
18660 (llrint_test_tonearest): Likewise.
18661 (llrint_test_towardzero): Likewise.
18662 (llrint_test_downward): Likewise.
18663 (llrint_test_upward): Likewise.
18664 (llround_test): Likewise.
18665
7abeee12
JM
18666 * math/libm-test.inc (struct test_f_i_data): Add comment.
18667 (RUN_TEST_LOOP_f_b): New macro.
18668 (RUN_TEST_LOOP_f_b_tg): Likewise.
18669 (finite_test_data): New variable.
18670 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18671 (isfinite_test_data): New variable.
18672 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18673 (isinf_test_data): New variable.
18674 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18675 (isnan_test_data): New variable.
18676 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18677 (isnormal_test_data): New variable.
18678 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18679 (issignaling_test_data): New variable.
18680 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18681 (signbit_test_data): New variable.
18682 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18683
cbe8c4d3
JM
18684 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18685 with INVALID_EXCEPTION.
18686 (acosh_test_data): Likewise.
18687 (asin_test_data): Likewise.
18688 (atanh_test_data): Likewise.
18689 (fmod_test_data): Likewise.
18690 (log_test_data): Likewise.
18691 (log10_test_data): Likewise.
18692 (log2_test_data): Likewise.
18693 (pow_test_data): Likewise.
18694 (sqrt_test_data): Likewise.
18695 (y0_test_data): Likewise.
18696 (y1_test_data): Likewise.
18697 (yn_test_data): Likewise.
18698
5575c0e5
JM
18699 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18700 function contents.
18701
d369f531
JM
18702 * math/libm-test.inc (struct test_ff_i_data): New type.
18703 (RUN_TEST_LOOP_ff_i_tg): New macro.
18704 (isgreater_test_data): New variable.
18705 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18706 (isgreaterequal_test_data): New variable.
18707 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18708 (isless_test_data): New variable.
18709 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18710 (islessequal_test_data): New variable.
18711 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18712 (islessgreater_test_data): New variable.
18713 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18714 (isunordered_test_data): New variable.
18715 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18716
781fd748
DM
187172013-05-14 David S. Miller <davem@davemloft.net>
18718
18719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18720
87aa21df
JM
187212013-05-14 Joseph Myers <joseph@codesourcery.com>
18722
5e908270
JM
18723 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18724
f71172e5
JM
18725 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18726 extra_test to int.
18727 (struct test_f_i_data): Change type of max_ulp to int.
18728
8cfa635a
JM
18729 * math/libm-test.inc (test_ffI_f1_data): New type.
18730 (RUN_TEST_LOOP_ffI_f1): New macro.
18731 (remquo_test_data): New variable.
18732 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18733
2bcb36b2
JM
18734 * setjmp/tst-setjmp-fp.c: New file.
18735 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18736 (link-libm): New variable.
18737 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18738
acbd839a
JM
18739 * math/libm-test.inc (struct test_f_i_data): New type.
18740 (RUN_TEST_LOOP_f_i): New macro.
18741 (RUN_TEST_LOOP_f_i_tg): Likewise.
18742 (fpclassify_test_data): New variable.
18743 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18744 (ilogb_test_data): New variable.
18745 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18746
e414d745
JM
18747 * math/libm-test.inc (scalbln_test): Correct function name in END
18748 call.
18749
d9c2a0fd
JM
18750 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18751 (RUN_TEST_LOOP_fI_f1): New macro.
18752 (frexp_test_data): New variable.
18753 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18754
9dc9095d
JM
18755 * math/libm-test.inc (struct test_fF_f1_data): New type.
18756 (RUN_TEST_LOOP_fF_f1): New macro.
18757 (modf_test_data): New variable.
18758 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18759
87aa21df
JM
18760 * math/libm-test.inc (struct test_f_f1_data): New type.
18761 (RUN_TEST_LOOP_f_f1): New macro.
18762 (gamma_test_data): New variable.
18763 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18764 (lgamma_test_data): New variable.
18765 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18766
141af660
CD
187672013-05-13 Carlos O'Donell <carlos@redhat.com>
18768
18769 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18770 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18771 (main): Comment "tls" pseudo-hwcap.
18772
6d33265c
JM
187732013-05-13 Joseph Myers <joseph@codesourcery.com>
18774
68fc074c
JM
18775 * math/libm-test.inc (struct test_fl_f_data): New type.
18776 (RUN_TEST_LOOP_fl_f): New variable.
18777 (scalbln_test_data): New variable.
18778 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18779
243216e1
JM
18780 * math/libm-test.inc (struct test_fi_f_data): New type.
18781 (RUN_TEST_LOOP_fi_f): New macro.
18782 (ldexp_test_data): New variable.
18783 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18784 (scalbn_test_data): New variable.
18785 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18786
6a1992e2
JM
18787 * math/libm-test.inc (struct test_c_f_data): New type.
18788 (RUN_TEST_LOOP_c_f): New macro.
18789 (cabs_test_data): New variable.
18790 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18791 (carg_test_data): New variable.
18792 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18793 (cimag_test_data): New variable.
18794 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18795 (creal_test_data): New variable.
18796 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18797
0e400df5
JM
18798 * math/libm-test.inc (struct test_if_f_data): New type.
18799 (RUN_TEST_LOOP_if_f): New macro.
18800 (jn_test_data): New variable.
18801 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18802 (yn_test_data): New variable.
18803 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18804
6d33265c
JM
18805 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18806
f98ece5f
AZ
188072013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18808
18809 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18810 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18811
0f7d347b
SP
188122013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18813
43fe811b
SP
18814 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18815 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18816 (bench-deps): Add bench-timing.h.
18817 * benchtests-bench-skeleton.c: Include bench-timing.h.
18818 (main): Use TIMING_* macros instead of clock_gettime.
18819 * benchtests/bench-timing.h: New file.
18820
0f7d347b
SP
18821 [BZ #14582]
18822 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18823 Renamed from _LIB_VERSION.
18824 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18825
601a3a5f
JM
188262013-05-12 Joseph Myers <joseph@codesourcery.com>
18827
4f184d30
JM
18828 * math/libm-test.inc (struct test_fff_f_data): New type.
18829 (RUN_TEST_LOOP_fff_f): New macro.
18830 (fma_test_data): New variable.
18831 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18832 (fma_towardzero_test_data): New variable.
18833 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18834 (fma_downward_test_data): New variable.
18835 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18836 (fma_upward_test_data): New variable.
18837 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18838
08198877
JM
18839 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18840 (struct test_c_c_data): New type.
18841 (RUN_TEST_LOOP_c_c): New macro.
18842 (cacos_test_data): New variable.
18843 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18844 (cacosh_test_data): New variable.
18845 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18846 (casin_test_data): New variable.
18847 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18848 (casinh_test_data): New variable.
18849 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18850 (catan_test_data): New variable.
18851 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18852 (catanh_test_data): New variable.
18853 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18854 (ccos_test_data): New variable.
18855 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18856 (ccosh_test_data): New variable.
18857 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18858 (cexp_test_data): New variable.
18859 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18860 (clog_test_data): New variable.
18861 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18862 (clog10_test_data): New variable.
18863 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18864 (conj_test_data): New variable.
18865 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18866 (cproj_test_data): New variable.
18867 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18868 (csin_test_data): New variable.
18869 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18870 (csinh_test_data): New variable.
18871 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18872 (csqrt_test_data): New variable.
18873 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18874 (ctan_test_data): New variable.
18875 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18876 (ctan_tonearest_test_data): New variable.
18877 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18878 (ctan_towardzero_test_data): New variable.
18879 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18880 (ctan_downward_test_data): New variable.
18881 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18882 (ctan_upward_test_data): New variable.
18883 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18884 (ctanh_test_data): New variable.
18885 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18886 (ctanh_tonearest_test_data): New variable.
18887 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18888 (ctanh_towardzero_test_data): New variable.
18889 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18890 (ctanh_downward_test_data): New variable.
18891 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18892 (ctanh_upward_test_data): New variable.
18893 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18894 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18895 of BUILD_COMPLEX.
18896
601a3a5f
JM
18897 * math/libm-test.inc (struct test_ff_f_data): New type.
18898 (struct test_ff_f_data_nexttoward): Likewise.
18899 (RUN_TEST_LOOP_2_f): New macro.
18900 (RUN_TEST_LOOP_ff_f): Likewise.
18901 (atan2_test_data): New variable.
18902 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18903 (copysign_test_data): New variable.
18904 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18905 (fdim_test_data): New variable.
18906 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18907 (fmax_test_data): New variable.
18908 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18909 (fmin_test_data): New variable.
18910 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18911 (fmod_test_data): New variable.
18912 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18913 (hypot_test_data): New variable.
18914 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18915 (nextafter_test_data): New variable.
18916 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18917 (nexttoward_test_data): New variable.
18918 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18919 (pow_test_data): New variable.
18920 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18921 (pow_tonearest_test_data): New variable.
18922 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18923 (pow_towardzero_test_data): New variable.
18924 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18925 (pow_downward_test_data): New variable.
18926 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18927 (pow_upward_test_data): New variable.
18928 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18929 (remainder_test_data): New variable.
18930 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18931 (scalb_test_data): New variable.
18932 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18933 * sysdeps/i386/fpu/libm-test-ulps: Update.
18934
74c57478
JM
189352013-05-11 Joseph Myers <joseph@codesourcery.com>
18936
8329e4da
JM
18937 * math/libm-test.inc (fma_test): Use max_value instead of local
18938 variable fltmax.
18939 (nextafter_test): Likewise.
18940
74c57478
JM
18941 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18942 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18943 (acos_downward_test_data): New variable.
18944 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18945 (acos_upward_test_data): New variable.
18946 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18947 (acosh_test_data): New variable.
18948 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18949 (asin_test_data): New variable.
18950 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18951 (asin_tonearest_test_data): New variable.
18952 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18953 (asin_towardzero_test_data): New variable.
18954 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18955 (asin_downward_test_data): New variable.
18956 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18957 (asin_upward_test_data): New variable.
18958 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18959 (asinh_test_data): New variable.
18960 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18961 (atan_test_data): New variable.
18962 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18963 (atanh_test_data): New variable.
18964 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18965 (cbrt_test_data): New variable.
18966 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18967 (ceil_test_data): New variable.
18968 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18969 (cos_test_data): New variable.
18970 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18971 (cos_tonearest_test_data): New variable.
18972 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18973 (cos_towardzero_test_data): New variable.
18974 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18975 (cos_downward_test_data): New variable.
18976 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18977 (cos_upward_test_data): New variable.
18978 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18979 (cosh_test_data): New variable.
18980 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18981 (cosh_tonearest_test_data): New variable.
18982 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18983 (cosh_towardzero_test_data): New variable.
18984 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18985 (cosh_downward_test_data): New variable.
18986 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18987 (cosh_upward_test_data): New variable.
18988 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18989 (erf_test_data): New variable.
18990 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18991 (erfc_test_data): New variable.
18992 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18993 (exp_test_data): New variable.
18994 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18995 (exp_tonearest_test_data): New variable.
18996 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18997 (exp_towardzero_test_data): New variable.
18998 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18999 (exp_downward_test_data): New variable.
19000 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19001 (exp_upward_test_data): New variable.
19002 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19003 (exp10_test_data): New variable.
19004 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19005 (exp2_test_data): New variable.
19006 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19007 (expm1_test_data): New variable.
19008 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19009 (fabs_test_data): New variable.
19010 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19011 (floor_test_data): New variable.
19012 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19013 (j0_test_data): New variable.
19014 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19015 (j1_test_data): New variable.
19016 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19017 (log_test_data): New variable.
19018 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19019 (log10_test_data): New variable.
19020 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19021 (log1p_test_data): New variable.
19022 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19023 (log2_test_data): New variable.
19024 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19025 (logb_test_data): New variable.
19026 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19027 (logb_downward_test_data): New variable.
19028 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19029 (nearbyint_test_data): New variable.
19030 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19031 (rint_test_data): New variable.
19032 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19033 (rint_tonearest_test_data): New variable.
19034 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19035 (rint_towardzero_test_data): New variable.
19036 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19037 (rint_downward_test_data): New variable.
19038 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19039 (rint_upward_test_data): New variable.
19040 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19041 (round_test_data): New variable.
19042 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19043 (sin_test_data): New variable.
19044 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19045 (sin_tonearest_test_data): New variable.
19046 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19047 (sin_towardzero_test_data): New variable.
19048 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19049 (sin_downward_test_data): New variable.
19050 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19051 (sin_upward_test_data): New variable.
19052 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19053 (sinh_test_data): New variable.
19054 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19055 (sinh_tonearest_test_data): New variable.
19056 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19057 (sinh_towardzero_test_data): New variable.
19058 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19059 (sinh_downward_test_data): New variable.
19060 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19061 (sinh_upward_test_data): New variable.
19062 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19063 (sqrt_test_data): New variable.
19064 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19065 (tan_test_data): New variable.
19066 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19067 (tan_tonearest_test_data): New variable.
19068 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19069 (tan_towardzero_test_data): New variable.
19070 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19071 (tan_downward_test_data): New variable.
19072 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19073 (tan_upward_test_data): New variable.
19074 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19075 (tanh_test_data): New variable.
19076 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19077 (tgamma_test_data): New variable.
19078 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19079 (trunc_test_data): New variable.
19080 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19081 (y0_test_data): New variable.
19082 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19083 (y1_test_data): New variable.
19084 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19085 (significand_test_data): New variable.
19086 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19087
7187d844
CG
190882013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19089
19090 [BZ #12387]
19091 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19092
f63fae73
PT
190932013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19094
19095 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19096
8a67a4b3
AJ
190972013-05-10 Andreas Jaeger <aj@suse.de>
19098
19099 [BZ #15448]
19100 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19101 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19102
51df539d
JM
191032013-05-10 Joseph Myers <joseph@codesourcery.com>
19104
19105 * math/gen-libm-test.pl (adjust_arg): New function.
19106 (special_functions): Handle generating output in both functions
19107 and arrays.
19108 (parse_args): Likewise.
19109 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19110 $in_func argument to parse_args.
19111 * math/libm-test.inc (struct test_f_f_data): New type.
19112 (IF_ROUND_INIT_): New macro.
19113 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19114 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19115 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19116 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19117 (ROUND_RESTORE_): Likewise.
19118 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19119 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19120 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19121 (ROUND_RESTORE_FE_UPWARD): Likewise.
19122 (RUN_TEST_LOOP_f_f): New macro.
19123 (acos_test_data): New variable.
19124 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19125 (acos_tonearest_test_data): New variable.
19126 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19127
5c637fe5
SP
191282013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19129
19130 * benchtests/bench-skeleton.c (startup): Fix coding style.
19131
ab2b9461
JM
191322013-05-10 Joseph Myers <joseph@codesourcery.com>
19133
19134 [BZ #6809]
19135 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19136 negative infinity argument.
19137 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19138 negative infinity argument.
19139 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19140 negative infinity argument.
19141 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19142 domain errors.
19143
4c0fe6fe
FW
191442013-05-10 Florian Weimer <fweimer@redhat.com>
19145
19146 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19147 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19148 * iconv/iconv_prog.c (main): Likewise.
19149 * locale/programs/charmap-dir.c (charmap_readdir)
19150 (fopen_uncompressed): Likewise.
19151 * locale/programs/locfile.c (siblings_uncached)
19152 (write_locale_data): Use lstat64 instead of lstat.
19153 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19154 stat.
19155
a3375d29
AJ
191562013-05-10 Andreas Jaeger <aj@suse.de>
19157
19158 [BZ #15395]
19159 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19160 localization.
19161 Include <locale.h>.
19162
36129722
CD
191632013-05-09 Carlos O'Donell <carlos@redhat.com>
19164
19165 * elf/dl-close.c (_dl_close_worker): Add comments.
19166
faa7f811
JM
191672013-05-09 Joseph Myers <joseph@codesourcery.com>
19168
ed41ffef
JM
19169 [BZ #15359]
19170 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19171 high part of pi/2.
19172 (__ieee754_rem_pio2l): Update comments.
19173
d0213cd0
JM
19174 [BZ #15429]
19175 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19176 high part of pi/2.
19177 (__ieee754_rem_pio2l): Update comments.
19178
0d3e777a
JM
19179 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19180 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19181
24f56066
JM
19182 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19183 M_PI_4l.
19184
faa7f811
JM
19185 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19186 (M_PI_34_LOG10El): Likewise.
19187 (M_PI2_LOG10El): Likewise.
19188 (M_PI4_LOG10El): Likewise.
19189 (M_PI_LOG10El): Likewise.
19190
e9a5e0fd
AZ
191912013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19192
19193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19194
d8cd06db
JM
191952013-05-08 Joseph Myers <joseph@codesourcery.com>
19196
a0d9f9d7
JM
19197 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19198 (MINUS_ZERO_INIT): Likewise.
19199 (PLUS_INFTY_INIT): Likewise.
19200 (MINUS_INFTY_INIT): Likewise.
19201 (QNAN_VALUE_INIT): Likewise.
19202 (MAX_VALUE_INIT): Likewise.
19203 (MIN_VALUE_INIT): Likewise.
19204 (MIN_SUBNORM_VALUE_INIT): Likewise.
19205 (plus_zero): Initialize with PLUS_ZERO_INIT.
19206 (minus_zero): Initialize with MINUS_ZERO_INIT.
19207 (plus_infty): Initialize with PLUS_INFTY_INIT.
19208 (minus_infty): Initialize with MINUS_INFTY_INIT.
19209 (qnan_value): Initialize with QNAN_VALUE_INIT.
19210 (max_value): Initialize with MAX_VALUE_INIT.
19211 (min_value): Initialize with MIN_VALUE_INIT.
19212 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19213
ae08db3b
JM
19214 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19215 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19216 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19217 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19218
f44bf14a
JM
19219 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19220 (RUN_TEST_2_f): Likewise.
19221 (RUN_TEST_ff_f): Likewise.
19222 (RUN_TEST_fi_f): Likewise.
19223 (RUN_TEST_fl_f): Likewise.
19224 (RUN_TEST_fff_f): Likewise.
19225 (RUN_TEST_c_f): Likewise.
19226 (RUN_TEST_f_f1): Likewise.
19227 (RUN_TEST_fF_f1): Likewise.
19228 (RUN_TEST_fI_f1): Likewise.
19229 (RUN_TEST_ffI_f1): Likewise.
19230 (RUN_TEST_c_c): Likewise.
19231 (RUN_TEST_cc_c): Likewise.
19232 (RUN_TEST_f_i): Likewise.
19233 (RUN_TEST_f_i_tg): Likewise.
19234 (RUN_TEST_ff_i_tg): Likewise.
19235 (RUN_TEST_f_b): Likewise.
19236 (RUN_TEST_f_b_tg): Likewise.
19237 (RUN_TEST_f_l): Likewise.
19238 (RUN_TEST_f_L): Likewise.
19239 (RUN_TEST_sincos): Likewise.
19240 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19241 whether to show exceptions. Do not include ");\n" in return
19242 value.
19243 (special_functions): Output call to RUN_TEST_sincos instead of
19244 check_float calls. Update calls to new_test.
19245 (parse_args): Output call to single RUN_TEST_* macro instead of
19246 check_* calls and other assignments. Update calls to new_test.
19247
d8cd06db
JM
19248 [BZ #2546]
19249 [BZ #2560]
19250 [BZ #5159]
19251 [BZ #15426]
19252 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19253 input to result for tgamma overflow.
19254 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19255 (gamma_coeff): New variable.
19256 (NCOEFF): New macro.
19257 (gamma_positive): New function.
19258 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19259 underflow here. Use gamma_positive instead of exp (lgamma) for
19260 other arguments.
19261 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19262 (gamma_coeff): New variable.
19263 (NCOEFF): New macro.
19264 (gammaf_positive): New function.
19265 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19266 underflow here. Use gamma_positive instead of exp (lgamma) for
19267 other arguments.
19268 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19269 (gamma_coeff): New variable.
19270 (NCOEFF): New macro.
19271 (gammal_positive): New function.
19272 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19273 underflow here. Use gamma_positive instead of exp (lgamma) for
19274 other arguments.
19275 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19276 (gamma_coeff): New variable.
19277 (NCOEFF): New macro.
19278 (gammal_positive): New function.
19279 (__ieee754_gammal_r): Handle positive infinity, overflow and
19280 underflow here. Handle NaN the same as positive infinity. Remove
19281 check x < 0xffffffff for negative integers. Use gamma_positive
19282 instead of exp (lgamma) for other arguments.
19283 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19284 (gamma_coeff): New variable.
19285 (NCOEFF): New macro.
19286 (gammal_positive): New function.
19287 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19288 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19289 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19290 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19291 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19292 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19293 * sysdeps/generic/math_private.h (__gamma_productf): New
19294 prototype.
19295 (__gamma_product): Likewise.
19296 (__gamma_productl): Likewise.
19297 * math/Makefile (libm-calls): Add gamma_product.
19298 * math/libm-test.inc (tgamma_test): Add more tests.
19299 * sysdeps/i386/fpu/libm-test-ulps: Update.
19300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19301
bb7cf681
OB
193022013-05-08 Ondřej Bílka <neleai@seznam.cz>
19303
19304 * benchtests/bench-skeleton.c (main): Preheat CPU.
19305
ba853947
AJ
193062013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19307
19308 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19309
8347c74c
RM
193102013-05-07 Roland McGrath <roland@hack.frob.com>
19311
19312 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19313 and _dl_skip_args_internal.
19314
e8dd4791
CD
193152013-05-07 Carlos O'Donell <carlos@redhat.com>
19316
19317 * manual/message.texi (Message Translation): Talk about users.
19318 Message to key mapping impacts design.
19319
c7405830
RM
193202013-05-06 Roland McGrath <roland@hack.frob.com>
19321
a9173057
RM
19322 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19323
976e2f03
RM
19324 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19325
9723ffc5
RM
19326 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19327 * sysdeps/wordsize-64/glob64.c: ... here.
19328
962e6658
RM
19329 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19330 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19331 New macros.
19332
ee586a6d
RM
19333 * debug/getlogin_r_chk.c: Moved to ...
19334 * login/getlogin_r_chk.c: ... here.
19335 * debug/Makefile (routines): Move getlogin_r_chk to ...
19336 * login/Makefile (routines): ... here.
19337 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19338 * login/Versions (libc: GLIBC_2.4): ... here.
19339
355f9165
RM
19340 * io/poll.c (__poll): Renamed from poll.
19341 Add libc_hidden_def.
19342 (poll): Define as weak alias.
19343
bd9ffde6
RM
19344 * debug/ptsname_r_chk.c: Moved to ...
19345 * login/ptsname_r_chk.c: ... here.
19346 * debug/Makefile (routines): Move ptsname_r_chk to ...
19347 * login/Makefile (routines): ... here.
19348 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19349 * login/Versions (libc: GLIBC_2.4): ... here.
19350
8fb16a04
RM
19351 * posix/getlogin.c: Moved to ...
19352 * login/getlogin.c: ... here.
19353 * posix/getlogin_r.c: Moved to ...
19354 * login/getlogin_r.c: ... here.
19355 * posix/getlogin_r.c: Moved to ...
19356 * login/getlogin_r.c: ... here.
19357 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19358 * login/Makefile (routines): ... here.
19359 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19360 * login/Versions (libc: GLIBC_2.0): ... here.
19361
b99b892f
RM
19362 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19363 (setrlimit): Define as weak alias.
19364
c7405830
RM
19365 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19366 Call __ names for open, ftruncate, and close.
19367 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19368 (truncate): Define as weak alias.
19369
5bf96de5
JM
193702013-05-06 Joseph Myers <joseph@codesourcery.com>
19371
9ea3513c
JM
19372 * math/gen-libm-test.pl (parse_args): Initialize x before each
19373 test of frexp, modf and remquo.
19374
5bf96de5
JM
19375 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19376 test signgam value.
19377
16e616a7
AZ
193782013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19379
19380 [BZ #15418]
19381 [BZ #15419]
19382 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19383 internal tests.
19384 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19385
d5e82754
RM
193862013-05-06 Roland McGrath <roland@hack.frob.com>
19387
19388 * elf/dl-writev.h: New file.
19389 * elf/dl-misc.c: Include it.
19390 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19391 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19392
a7548d41
JM
193932013-05-04 Joseph Myers <joseph@codesourcery.com>
19394
b7dab1e4
JM
19395 * math/libm-test.inc (noXFails): Remove variable.
19396 (noXPasses): Likewise.
19397 (BUILD_COMPLEX_INT): Remove macro.
19398 (print_screen): Remove xfail argument.
19399 (print_screen_max_error): Likewise.
19400 (update_stats): Likewise.
19401 (print_max_error): Likewise. Update calls to other affected
19402 functions.
19403 (print_complex_max_error): Likewise.
19404 (test_single_exception): Update calls to print_screen.
19405 (test_single_errno): Likewise.
19406 (check_float_internal): Remove xfail argument. Update calls to
19407 other affected functions.
19408 (check_float): Likewise.
19409 (check_complex): Likewise.
19410 (check_int): Likewise.
19411 (check_long): Likewise.
19412 (check_bool): Likewise.
19413 (check_longlong): Likewise.
19414 (main): Don't print noXFails and noXPasses.
19415 * math/gen-libm-test.pl (top level): Don't mention expected
19416 failure handling in comment.
19417 (new_test): Don't handle expected failures.
19418 (parse_args): Don't mention expected failure handling in comment.
19419 (generate_testfile): Don't handle expected failures.
19420 (parse_ulps): Likewise.
19421 (print_ulps_file): Likewise.
19422 (get_failure): Remove function.
19423 (output_test): Don't handle expected failures.
19424 * make/README.libm-test: Don't mention expected failure handling.
19425
a7548d41
JM
19426 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19427 (minus_zero): Likewise.
19428 (plus_infty): Likewise.
19429 (minus_infty): Likewise.
19430 (qnan_value): Likewise.
19431 (max_value): Likewise.
19432 (min_value): Likewise.
19433 (min_subnorm_value): Likewise.
19434 (initialize): Do not initialize those variables dynamically.
19435
60bfd54c
RM
194362013-05-03 Roland McGrath <roland@hack.frob.com>
19437
cc0e6ed8
RM
19438 * io/open.c (__open_2): Moved to ...
19439 * io/open_2.c: ... this new file.
19440 * io/open64.c (__open64_2): Moved to ...
19441 * io/open64_2.c: ... this new file.
19442 * io/openat.c (__openat_2): Moved to ...
19443 * io/openat_2.c: ... this new file.
19444 * io/openat64.c (__openat64_2): Moved to ...
19445 * io/openat64_2.c: ... this new file.
19446 * io/Makefile (routines): Add them.
19447 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19448 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19449 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19450 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19451 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19452 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19453 (__openat64): Add hidden_ver.
19454 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19455 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19456
60bfd54c
RM
19457 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19458 Separately conditionalize setting of GLRO(dl_sysinfo) so
19459 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19460 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19461
83e7640f
AZ
194622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19463
19464 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19465 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19466 definition.
19467 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19468 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19469 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19470 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19471 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19472
d5dc2af3
JM
194732013-05-03 Joseph Myers <joseph@codesourcery.com>
19474
c31a5b1e
JM
19475 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19476 test signgam value.
19477
d5dc2af3
JM
19478 * math/libm-test.inc (hypot_test): Do not use
19479 IGNORE_ZERO_INF_SIGN.
19480
164fd39d
AJ
194812013-05-03 Andreas Jaeger <aj@suse.de>
19482
19483 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19484 Linux 3.9.
19485 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19486 (PF_MAX): Adjust for VSOCK change.
19487
8237f48c
AZ
194882013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19489
19490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19491
9df02941
CD
194922013-05-02 Carlos O'Donell <carlos@redhat.com>
19493
19494 [BZ #15264]
19495 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19496 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19497 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19498
d422395e
DM
194992013-05-02 David S. Miller <davem@davemloft.net>
19500
19501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19502
a07c5731
OB
195032013-05-01 Ondřej Bílka <neleai@seznam.cz>
19504
19505 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19506
1324e37f
RM
195072013-05-01 Roland McGrath <roland@hack.frob.com>
19508
19509 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19510
0695940b
RS
195112013-05-01 Richard Smith <richard@metafoo.co.uk>
19512
bb5f27ad 19513 [BZ #14952]
0695940b
RS
19514 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19515 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19516 Use __attribute__ ((__gnu_inline__)).
19517 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19518 Don't use __attribute__ ((__gnu_inline__)).
19519
10de07f5
JM
195202013-05-01 Joseph Myers <joseph@codesourcery.com>
19521
19522 [BZ #15423]
19523 * math/s_catan.c (__catan): Handle small real or imaginary part of
19524 input specially to avoid spurious underflow.
19525 * math/s_catanf.c (__catanf): Likewise.
19526 * math/s_catanh.c (__catanh): Likewise.
19527 * math/s_catanhf.c (__catanhf): Likewise.
19528 * math/s_catanhl.c (__catanhl): Likewise.
19529 * math/s_catanl.c (__catanl): Likewise.
19530 * math/libm-test.inc (catan_test): Add more tests.
19531 (catanh_test): Likewise.
19532 * sysdeps/i386/fpu/libm-test-ulps: Update.
19533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19534
cb4d5414
AZ
195352013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19536
19537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19538
caf84319
JM
195392013-04-30 Joseph Myers <joseph@codesourcery.com>
19540
19541 [BZ #15416]
19542 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19543 accurately for denominator in atan2.
19544 * math/s_catanf.c (__catanf): Likewise.
19545 * math/s_catanh.c (__catanh): Likewise.
19546 * math/s_catanhf.c (__catanhf): Likewise.
19547 * math/s_catanhl.c (__catanhl): Likewise.
19548 * math/s_catanl.c (__catanl): Likewise.
19549 * math/libm-test.inc (catan_test): Add more tests.
19550 (catanh_test): Likewise.
19551 * sysdeps/i386/fpu/libm-test-ulps: Update.
19552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19553
d569c6ee
SP
195542013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19555
6dbe713d
SP
19556 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19557
f0ee064b
SP
19558 * benchtests/Makefile (bench): Remove slow benchmarks.
19559 * benchtests/atan-inputs: Add slow benchmark inputs.
19560 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19561 (BENCH_FUNC): Accept variant offset.
19562 (VARIANT): Define.
19563 * benchtests/bench-skeleton.c (main): Run benchmark for each
19564 variant.
19565 * benchtests/cos-inputs: Add slow benchmark inputs.
19566 * benchtests/exp-inputs: Likewise.
19567 * benchtests/pow-inputs: Likewise.
19568 * benchtests/sin-inputs: Likewise.
19569 * benchtests/slowatan-inputs: Remove.
19570 * benchtests/slowatan.c: Remove.
19571 * benchtests/slowcos-inputs: Remove.
19572 * benchtests/slowcos.c: Remove.
19573 * benchtests/slowexp-inputs: Remove.
19574 * benchtests/slowexp.c: Remove.
19575 * benchtests/slowpow-inputs: Remove.
19576 * benchtests/slowpow.c: Remove.
19577 * benchtests/slowsin-inputs: Remove.
19578 * benchtests/slowsin.c: Remove.
19579 * benchtests/slowtan-inputs: Remove.
19580 * benchtests/slowtan.c: Remove.
19581 * benchtests/tan-inputs: Add slow benchmark inputs.
19582 * scripts/bench.pl: Parse comments and directives.
19583
d569c6ee
SP
19584 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19585 in CPPFLAGS.
19586 ($(objpfx)bench-%.c): Remove *-ITER.
19587 * benchtests/bench-modf.c: Remove definition of ITER.
19588 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19589 (main): Loop for DURATION seconds instead of fixed number of
19590 iterations.
19591 * scripts/bench.pl: Don't expect iterations in parameters.
19592
a6a242fe
RM
195932013-04-29 Roland McGrath <roland@hack.frob.com>
19594
19595 * io/fchdir.c (__fchdir): Renamed from fchdir.
19596 (fchdir): Define as weak alias.
19597
f2da7793
JM
195982013-04-29 Joseph Myers <joseph@codesourcery.com>
19599
19600 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19601 (ERRNO_EDOM): Likewise.
19602 (ERRNO_ERANGE): Likewise.
19603 (noErrnoTests): New variable.
19604 (init_max_error): Set errno to 0.
19605 (test_single_errno): New function.
19606 (test_errno): Likewise.
19607 (check_float_internal): Call test_errno. Set errno to 0.
19608 (check_complex): Refer to errno tests in comment.
19609 (check_int): Call test_errno. Set errno to 0.
19610 (check_long): Likewise.
19611 (check_bool): Likewise.
19612 (check_longlong): Likewise.
19613 (cos_test): Use ERRNO_* flags for errno tests instead of
19614 check_int.
19615 (expm1_test): Likewise.
19616 (fmod_test): Likewise.
19617 (ilogb_test): Likewise.
19618 (lgamma_test): Likewise.
19619 (pow_test): Likewise.
19620 (remainder_test): Likewise.
19621 (sin_test): Likewise.
19622 (tan_test): Likewise.
19623 (yn_test): Likewise.
19624 (initialize): Set errno to 0.
19625 (main): Print number of errno tests.
19626 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19627
b1a36ceb
AJ
196282013-04-29 Andreas Jaeger <aj@suse.de>
19629
c3ed8088
AJ
19630 [BZ #15084]
19631 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19632 and RES_USEVC.
19633
f1a24198
AJ
19634 [BZ #15085]
19635 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19636 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19637 unimplemented.
19638
9ce3b2cb
AJ
19639 [BZ #15380]
19640 * stdlib/random.c (__initstate): Return NULL if
19641 __initstate fails.
19642
f1a24198 19643 [BZ #15086]
b1a36ceb
AJ
19644 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19645 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19646 RES_SNGLKUPREOP.
19647
7e7b6f36
AZ
196482013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19649
19650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19651
4d14f449
JM
196522013-04-29 Joseph Myers <joseph@codesourcery.com>
19653
19654 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19655 of individual tests.
19656 (casin_test): Likewise.
19657 (casinh_test): Likewise.
19658
5b4217d7
JM
196592013-04-27 Joseph Myers <joseph@codesourcery.com>
19660
19661 [BZ #15409]
19662 * math/s_catan.c (__catan): Handle arguments with large real or
19663 imaginary part separately without squaring.
19664 * math/s_catanf.c (__catanf): Likewise.
19665 * math/s_catanh.c (__catanh): Likewise.
19666 * math/s_catanhf.c (__catanhf): Likewise.
19667 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19668 and redefine.
19669 (__catanhl): Handle arguments with large real or imaginary part
19670 separately without squaring.
19671 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19672 and redefine.
19673 (__catanl): Handle arguments with large real or imaginary part
19674 separately without squaring.
19675 * math/libm-test.inc (catan_test): Add more tests.
19676 (catanh_test): Likewise.
19677 * sysdeps/i386/fpu/libm-test-ulps: Update.
19678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19679
4220c3ef
AJ
196802013-04-27 Andreas Jaeger <aj@suse.de>
19681
19682 [BZ #15007]
19683 * stdlib/stdlib.h: Update guards for qecvt.
19684 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19685 <stdlib.h>.
19686
4721b2d1
AM
196872013-04-27 Allan McRae <allan@archlinux.org>
19688
19689 * sysdeps/i386/fpu/libm-test-ulps: Update.
19690
f0302940
JM
196912013-04-26 Joseph Myers <joseph@codesourcery.com>
19692
9457fd95
JM
19693 [BZ #15406]
19694 * math/s_catan.c: Include <float.h>.
19695 (__catan): Ensure underflow exception occurs for underflowed
19696 result.
19697 * math/s_catanf.c: Include <float.h>.
19698 (__catanf): Ensure underflow exception occurs for underflowed
19699 result.
19700 * math/s_catanh.c: Include <float.h>.
19701 (__catanh): Ensure underflow exception occurs for underflowed
19702 result.
19703 * math/s_catanhf.c: Include <float.h>.
19704 (__catanhf): Ensure underflow exception occurs for underflowed
19705 result.
19706 * math/s_catanhl.c: Include <float.h>.
19707 (__catanhl): Ensure underflow exception occurs for underflowed
19708 result.
19709 * math/s_catanl.c: Include <float.h>.
19710 (__catanl): Ensure underflow exception occurs for underflowed
19711 result.
19712 * math/libm-test.inc (catan_test): Add more tests.
19713 (catanh_test): Likewise.
19714
f0302940
JM
19715 [BZ #15405]
19716 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19717 underflowed result.
19718 * math/s_ccoshf.c (__ccoshf): Likewise.
19719 * math/s_ccoshl.c (__ccoshl): Likewise.
19720 * math/s_csin.c (__csin): Likewise.
19721 * math/s_csinf.c (__csinf): Likewise.
19722 * math/s_csinh.c (__csinh): Likewise.
19723 * math/s_csinhf.c (__csinhf): Likewise.
19724 * math/s_csinhl.c (__csinhl): Likewise.
19725 * math/s_csinl.c (__csinl): Likewise.
19726 * math/libm-test.inc (ccos_test): Add more tests.
19727 (ccosh_test): Likewise.
19728 (csin_test): Likewise.
19729 (csinh_test): Likewise.
19730
aa630f59
AZ
197312013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19732
19733 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19734 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19735 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19736 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19737 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19738 powerpc/power5+/fpu folders.
19739 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19740
19741
1b835983
MT
197422013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19743
19744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19745
73709b26
JM
197462013-04-25 Joseph Myers <joseph@codesourcery.com>
19747
19748 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19749 additions to variable.
19750 [$(config-machine) = x86_64] (modules-names): Likewise.
19751 ($(objpfx)tst-audit3): Remove dependency.
19752 ($(objpfx)tst-audit3.out): Likewise.
19753 ($(objpfx)tst-audit4): Likewise.
19754 ($(objpfx)tst-audit4.out): Likewise.
19755 ($(objpfx)tst-audit5): Likewise.
19756 ($(objpfx)tst-audit5.out): Likewise.
19757 ($(objpfx)tst-audit6): Likewise.
19758 ($(objpfx)tst-audit6.out): Likewise.
19759 ($(objpfx)tst-audit7): Likewise.
19760 ($(objpfx)tst-audit7.out): Likewise.
19761 (tst-audit3-ENV): Remove variable.
19762 (tst-audit4-ENV): Likewise.
19763 (tst-audit5-ENV): Likewise.
19764 (tst-audit6-ENV): Likewise.
19765 (tst-audit7-ENV): Likewise.
19766 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19767 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19768 addition to variable.
19769 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19770 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19771 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19772 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19773 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19774 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19775 tst-audit3, tst-audit4 and tst-audit5.
19776 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19777 tst-audit6 and tst-audit7.
19778 [$(subdir) = elf] (modules-names): Add audit modules for those
19779 tests.
19780 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19781 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19782 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19783 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19784 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19785 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19786 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19787 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19788 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19789 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19790 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19791 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19792 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19793 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19794 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19795 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19796 Likewise.
19797 [$(subdir) = elf && $(config-cflags-avx) = yes]
19798 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19799 [$(subdir) = elf && $(config-cflags-avx) = yes]
19800 (CFLAGS-tst-auditmod4a.c): Likewise.
19801 [$(subdir) = elf && $(config-cflags-avx) = yes]
19802 (CFLAGS-tst-auditmod4b.c): Likewise.
19803 [$(subdir) = elf && $(config-cflags-avx) = yes]
19804 (CFLAGS-tst-auditmod6b.c): Likewise.
19805 [$(subdir) = elf && $(config-cflags-avx) = yes]
19806 (CFLAGS-tst-auditmod6c.c): Likewise.
19807 [$(subdir) = elf && $(config-cflags-avx) = yes]
19808 (CFLAGS-tst-auditmod7b.c): Likewise.
19809 * elf/tst-audit3.c: Move to ...
19810 * sysdeps/x86_64/tst-audit3.c: ... here.
19811 * elf/tst-audit4.c: Move to ...
19812 * sysdeps/x86_64/tst-audit4.c: ... here.
19813 * elf/tst-audit5.c: Move to ...
19814 * sysdeps/x86_64/tst-audit5.c: ... here.
19815 * elf/tst-audit6.c: Move to ...
19816 * sysdeps/x86_64/tst-audit6.c: ... here.
19817 * elf/tst-audit7.c: Move to ...
19818 * sysdeps/x86_64/tst-audit7.c: ... here.
19819 * elf/tst-auditmod3a.c: Move to ...
19820 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19821 * elf/tst-auditmod3b.c: Move to ...
19822 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19823 * elf/tst-auditmod4a.c: Move to ...
19824 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19825 * elf/tst-auditmod4b.c: Move to ...
19826 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19827 * elf/tst-auditmod5a.c: Move to ...
19828 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19829 * elf/tst-auditmod5b.c: Move to ...
19830 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19831 * elf/tst-auditmod6a.c: Move to ...
19832 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19833 * elf/tst-auditmod6b.c: Move to ...
19834 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19835 * elf/tst-auditmod6c.c: Move to ...
19836 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19837 * elf/tst-auditmod7a.c: Move to ...
19838 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19839 * elf/tst-auditmod7b.c: Move to ...
19840 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19841
1ef74943
PP
198422013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19843
19844 [BZ #15366]
19845 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19846 define unconditionally.
19847 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19848 define unconditionally.
19849 (INT8_C, INT16_C, etc.): Likewise.
19850
93fd48c5
MR
198512013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19852
ae9552cf
MR
19853 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19854 __ehdr_start with hidden visibility.
19855
93fd48c5
MR
19856 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19857
418601aa
CD
198582013-04-24 Carlos O'Donell <carlos@redhat.com>
19859
19860 * math/libm-test.inc (cos_test): Use accurate hex constants.
19861 (sincost_test): Likewise.
19862
2f38fbfe
JM
198632013-04-24 Joseph Myers <joseph@codesourcery.com>
19864
5e221800
JM
19865 * math/libm-test.inc (catan_test): Add more tests.
19866 (catanh_test): Likewise.
19867
77f143fd
JM
19868 * math/s_catanf.c (__catanf): Use suffixed floating-point
19869 constants.
19870 * math/s_catanhf.c (__catanhf): Likewise.
19871 * math/s_catanhl.c (__catanhl): Likewise.
19872 * math/s_catanl.c (__catanl): Likewise.
19873
2f38fbfe
JM
19874 [BZ #15394]
19875 * math/s_catan.c (__catan): Calculate imaginary part of result
19876 with log1p not log unless computing log of number close to 0.
19877 * math/s_catanf.c (__catanf): Likewise.
19878 * math/s_catanl.c (__catanl): Likewise.
19879 * math/s_catanh.c (__catanh): Calculate real part of result with
19880 log1p not log unless computing log of number close to 0.
19881 * math/s_catanhf.c (__catanhf): Likewise.
19882 * math/s_catanhl.c (__catanhl): Likewise.
19883 * math/libm-test.inc (catan_test): Add more tests.
19884 (catanh_test): Likewise.
19885 * sysdeps/i386/fpu/libm-test-ulps: Update.
19886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19887
45d69176
SP
198882013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19889
19890 * benchtests/Makefile: Mention files in which fast and slow
19891 paths of math functions are implemented.
19892
87f51853
RM
198932013-04-23 Roland McGrath <roland@hack.frob.com>
19894
19895 * sysdeps/posix/timespec_get.c: New file.
19896
3c026539
AZ
198972013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19898
19899 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19900 POWER.
19901 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19902 for POWER.
19903 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19904 powerpc/power5/fpu folders.
19905 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19906 * benchtests/Makefile: Add modf testcase.
19907 * benchtests/bench-modf.c: New file: Benchmark test for mo
19908
ff491d14
SP
199092013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19910
19911 [BZ #14888]
19912 * time/Makefile (tests): Add tst-strptime-whitespace.
19913 * time/strptime_l.c (get_number): Use ISSPACE.
19914 (__strptime_internal): Likewise.
19915 * time/tst-strptime-whitespace.c: New test case.
19916
7ed3f4e8
AS
199172013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19918
19919 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19920 member.
19921 (_nss_files_init): Set it here.
19922
5c95f7b6
HC
199232013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19924
19925 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19926 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19927 unsigned.
19928
d34c9158
JBG
199292013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19930
19931 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19932
2169712d
SP
199332013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19934
19935 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19936 size just once.
19937
29c5de99
DM
199382013-04-21 David S. Miller <davem@davemloft.net>
19939
19940 * po/ru.po: Update Russion translation from translation project.
19941
ccdad15d
AC
199422013-04-17 Adam Conrad <adconrad@0c3.net>
19943
19944 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19945 and setfsgid.
19946
0f122b8d
CD
199472013-04-17 Carlos O'Donell <carlos@redhat.com>
19948
5c5b07da 19949 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 19950 * configure: Regenerate.
5c5b07da 19951 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
19952 Add example to error message.
19953 * sysdeps/i386/configure: Regenerate.
19954
037714dd
SP
199552013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19956
19957 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19958 slowtan.
19959 * benchtests/cos-inputs: New file.
19960 * benchtests/slowcos-inputs: New file.
19961 * benchtests/slowcos.c: New file.
19962 * benchtests/slowtan-inputs: New file.
19963 * benchtests/slowtan.c: New file.
19964 * benchtests/tan-inputs: New file.
19965
e913141d
RM
199662013-04-16 Roland McGrath <roland@hack.frob.com>
19967
19968 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19969 considered kosher.
19970
a2964074
SP
199712013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19972
4856bcd2
SP
19973 * benchtests/Makefile: Include cppflags-iterator.mk to add
19974 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19975
a2964074
SP
19976 * Makefile.in (bench-clean): New target.
19977 * benchtests/Makefile (bench-clean): Likewise.
19978
9fbf9aca
DH
199792013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19980
19981 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19982
207d1e2a
TS
199832013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19984
19985 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19986
306dfba9
AS
199872013-04-15 Andreas Schwab <schwab@suse.de>
19988
19989 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19991 * nscd/pwdcache.c (cache_addpw): Likewise.
19992 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19993 more than recsize.
19994
206a6699
SP
199952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19996
19997 * benchtests/Makefile (bench): Write all output to
19998 bench-out.tmp together.
19999
0582f6b3
AS
200002013-04-15 Andreas Schwab <schwab@suse.de>
20001
20002 * nscd/nscd.c (main): Don't fork again after closing files.
20003
acb4325f
SP
200042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20005
5cb26d0a
SP
20006 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20007
acb4325f
SP
20008 * benchtests/Rules (bench-deps): Collect dependencies into a
20009 single variable. Add Makefile to dependencies.
20010 ($(objpfx)bench-%.c): Depend on bench-deps.
20011
47792506
RM
200122013-04-12 Roland McGrath <roland@hack.frob.com>
20013 Xavier Roche <roche+kml2@exalead.com>
20014
20015 [BZ #15361]
20016 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20017 just that it's a file descriptor.
20018 * manual/llio.texi (Synchronizing AIO Operations): Update description
20019 for EBADF error from aio_fsync.
20020
8fc1bee5
SP
200212013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20022
20023 * Rules (bench): Move target definition...
20024 * benchtests/Makefile: ... here.
20025
aba5e333
CD
200262013-04-11 Carlos O'Donell <carlos@redhat.com>
20027
20028 * math/libm-test.inc (cos_test): Fix PI/2 test.
20029 (sincos_test): Likewise.
20030 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20031 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20032
273cdee8
AS
200332013-04-11 Andreas Schwab <schwab@suse.de>
20034
6ecec3b6
AS
20035 [BZ #13988]
20036 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20037 accept exponent character only when digits were seen.
20038 * stdio-common/Makefile (tests): Add bug26.
20039 * stdio-common/bug26.c: New file.
20040
273cdee8
AS
20041 [BZ #14293]
20042 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20043 non-freeable.
20044
8da491f5
SP
200452013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20046
01dc6df9
SP
20047 * Makeconfig (rtld-prefix): Define built linker prefix.
20048 * Rules (run-bench): Use it.
20049 * math/Makefile (run-regen-ulps): Likewise.
20050
8da491f5
SP
20051 * Rules (bench): Remove eval.
20052
abe7f530
SP
200532013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20054 Roland McGrath <roland@hack.frob.com>
20055 Ondrej Bilka <neleai@seznam.cz>
20056
20057 [BZ #15346]
20058 * time/getdate.c: Include ctype.h and alloca.h.
20059 (__getdate_r): Trim leading and trailing spaces of input.
20060 * time/tst-getdate.c (tests): Add tests with leading and
20061 trailing spaces.
20062
61c23e62
RM
200632013-04-08 Roland McGrath <roland@hack.frob.com>
20064
20065 [BZ #14280]
20066 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20067 when computing value.
20068
7208a313
CD
200692013-04-06 Carlos O'Donell <carlos@redhat.com>
20070
085b2d41
CD
20071 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20072 Use testrun.sh to run libm tests.
20073
7208a313
CD
20074 [BZ #15309]
20075 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20076
872c0acd
MM
200772013-04-06 Marko Myllynen <myllynen@redhat.com>
20078
20079 [BZ #15264]
20080 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20081
26510bdd
CD
200822013-04-06 Carlos O'Donell <carlos@redhat.com>
20083
20084 * Makefile.in (regen-ulps): New target.
20085 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20086 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20087 [ifneq (no,$(PERL)] (regen-ulps): New target.
20088 [ifeq (no,$(PERL)] (regen-ulps): New target.
20089 * math/libm-test.inc (ulps_file_name): Define.
20090 (output_dir): New variable.
20091 (options): Add "output-dir" option.
20092 (parse_opt): Handle 'o' case.
20093 (main): If output_dir is non-NULL use it as a prefix
20094 otherwise use "".
20095 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20096
a01f19c8
CD
200972013-04-06 Carlos O'Donell <carlos@redhat.com>
20098
20099 [BZ #10060, #10062]
20100 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20101 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20102 fail configure if __sync_val_compare_and_swap is not inlined.
20103 * sysdeps/i386/configure: Regenerate.
20104 * configure.in: Build for i686 when configured for i386.
20105 * configure: Regenerate.
20106 * README: Remove i386 reference.
20107
b7a329a5
CD
201082013-04-06 Carlos O'Donell <carlos@redhat.com>
20109
20110 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20111 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20112
bf0f50df
TS
201132013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20114
ee091edf
TS
20115 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20116 (lmsnanval): New variables.
20117 (F): Add conversion tests.
20118 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20119 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20120
a8b792d6
TS
20121 * stdio-common/tstdiomisc.c (F): Properly collect individual
20122 tests' results.
20123
a1cbf437
TS
20124 [BZ #14686, #15336]
20125 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20126 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20127 Instead, use input NaN values or generate a qNaN by arithmetic
20128 operation. Also fix bugs to comply with the standard.
20129 * math/libm-test.inc (remainder_test): Add more tests.
20130
8b43a0c9
TS
20131 [BZ #15335, #15342]
20132 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20134 input NaN values or generate a qNaN by arithmetic operation.
20135
d91da4ce
TS
20136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20137 unreachable code.
20138
bf0f50df
TS
20139 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20140 definitions.
20141
05e166c8
JM
201422013-04-03 Joseph Myers <joseph@codesourcery.com>
20143
20144 [BZ #14478]
20145 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20146 underflowed result.
20147 * math/s_cexpf.c (__cexpf): Likewise.
20148 * math/s_cexpl.c (__cexpl): Likewise.
20149 * math/libm-test.inc (cexp_test): Add more tests.
20150
1cef1b19
AS
201512013-04-03 Andreas Schwab <schwab@suse.de>
20152
20153 [BZ #15330]
20154 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20155 order arrays from heap if bigger than alloca cutoff.
20156
74d87055
TS
201572013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20158
20159 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20160 (SNAN_TESTS_double): Refer to GCC PR56831.
20161 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20162 GCC PR56828.
20163
d755bba4
SP
201642013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20165
90d5d5bb
SP
20166 * Rules (bench): Move bench.out after the run is complete.
20167
73e0cd5d
SP
20168 * Rules (bench): Echo currently running benchmark.
20169
64aabd4b
SP
20170 * benchtests/Makefile (bench): Add atan and slowatan.
20171 * benchtests/atan-inputs: New file.
20172 * benchtests/slowatan-inputs: New file.
20173 * benchtests/slowatan.c: New file.
20174
c871eccd
SP
20175 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20176 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20177 its value.
20178
d755bba4
SP
20179 [BZ #15305]
20180 * sysdeps/unix/sysv/linux/kernel-features.h
20181 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20182 __ASSUME_XFS_RESTRICTED_CHOWN.
20183 * sysdeps/unix/sysv/linux/pathconf.c
20184 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20185 Save and restore errno.
20186
52ce4860
JM
201872013-04-02 Joseph Myers <joseph@codesourcery.com>
20188
20189 [BZ #15327]
20190 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20191 arguments using __kernel_casinh.
20192 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20193 arguments using __kernel_casinhf.
20194 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20195 arguments using __kernel_casinhl.
20196 * math/libm-test.inc (cacosh_test): Add more tests.
20197 * sysdeps/i386/fpu/libm-test-ulps: Update.
20198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20199
81f311c2
SP
202002013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20201
e7906a47
SP
20202 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20204
92e3664b
SP
20205 * bench/Makefile (bench): Add sin and slowsin.
20206 * benchtests/sin-inputs: New file.
20207 * benchtests/slowsin-inputs: New file.
20208 * benchtests/slowsin.c: New file.
20209
81f311c2
SP
20210 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20211 (bench): Add slowexp and slowpow.
20212 (exp-ITER): Increase iterations.
20213 (pow-ITER): Likewise.
20214 * benchtests/exp-inputs: Change input.
20215 * benchtests/pow-inputs: Likewise.
20216 * benchtests/slowexp-inputs: New file.
20217 * benchtests/slowexp.c: New file.
20218 * benchtests/slowpow-inputs: New file.
20219 * benchtests/slowpow.c: New file.
20220
ab0f1aa9
AZ
202212013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20222
20223 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20224 instructions.
20225 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20226 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20227 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20228 * benchtests/Makefile: Add rint benchtest.
20229 * benchtests/rint-inputs: Input for rint benchtest.
20230
57267616
TS
202312013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20232
20233 * Versions.def (libm): Add GLIBC_2.18.
20234 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20235 hidden libm prototypes.
20236 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20237 * math/Makefile (libm-calls): Add s_issignaling.
20238 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20239 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20240 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20241 declaration.
20242 * math/math.h [__USE_GNU] (issignaling): New macro.
20243 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20244 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20245 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20246 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20247 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20248 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20249 * manual/arith.texi (issignaling): New section.
20250 * manual/libm-err-tab.pl (@all_functions): Update comment.
20251 * math/gen-libm-test.pl (parse_args): Apply special handling for
20252 issignaling.
20253 * math/libm-test.inc (print_float, issignaling_test): New
20254 functions.
20255 (check_float_internal): Add issignaling checks.
20256 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20257 default definition.
20258 * sysdeps/powerpc/math-tests.h: New file.
20259 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20260 tests.
20261 * math/test-snan.c (TEST_FUNC): Likewise.
20262
6142896d
DM
202632013-03-30 David S. Miller <davem@davemloft.net>
20264
20265 * po/de.po: Update from translation team.
20266
ccc8cadf
JM
202672013-03-30 Joseph Myers <joseph@codesourcery.com>
20268
20269 [BZ #10357]
20270 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20271 imaginary part less than 1.0 and real part less than 0.5
20272 specially.
20273 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20274 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20275 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20276 (cacos_test): Add more tests.
20277 (casin_test): Likewise.
20278 (casinh_test): Likewise.
20279 * sysdeps/i386/fpu/libm-test-ulps: Update.
20280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20281
0f6a8d4b
SP
202822013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20283
0d1029de
SP
20284 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20285 ONE with its value.
20286
c2d94018
SP
20287 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20288 (__pow_mp): Replace ONE and MONE with their values.
20289 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20290 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20291 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20292 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20293 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20294 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20295
27ec37f1
SP
20296 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20297
a64d7e0e
SP
20298 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20299 (__pow_mp): Replace ZERO and MZERO with their values.
20300 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20301 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20302 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20303 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20304 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20305 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20306 (__sqr): Likewise.
20307
d26dd3eb
SP
20308 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20309
0f6a8d4b
SP
20310 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20311
e57b0c61
RM
203122013-03-28 Roland McGrath <roland@hack.frob.com>
20313
20314 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20315 Declare with __attribute__ ((weak)).
20316 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20317 Call __call_tls_dtors only if it's not NULL.
20318
356b3480
RM
203192013-03-28 Roland McGrath <roland@hack.frob.com>
20320
288f7d79
RM
20321 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20322 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20323 magic __ehdr_start linker symbol if it's defined.
20324 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20325 them up here if it was already done.
20326
dc0a0263
RM
20327 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20328 (_dl_aux_init): Use const in cast when setting it.
20329 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20330 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20331 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20332
3d3436ae
RM
20333 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20334 Declare them here.
20335 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20336 * csu/libc-tls.c: Nor here.
20337 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20338
356b3480
RM
20339 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20340 (__libc_message): Never call vsyslog.
20341
b0f1246a
AM
203422013-03-28 Alan Modra <amodra@gmail.com>
20343
20344 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20345 Define as empty.
20346 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20347 Likewise.
20348
fbbe2b9a
AZ
203492013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20350
20351 [BZ #15214]
20352 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20353 underflow.
20354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20355
1728ab37
SP
203562013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20357
7a86be6e
SP
20358 [BZ #15304]
20359 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20360 Don't add gid passed as argument.
20361
1728ab37
SP
20362 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20363
3a7182a1
JM
203642013-03-27 Joseph Myers <joseph@codesourcery.com>
20365
20366 [BZ #15307]
20367 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20368 imaginary part between 1.0 and 1.5 and real part less than 0.5
20369 specially.
20370 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20371 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20372 * math/libm-test.inc (cacos_test): Add more tests.
20373 (casin_test): Likewise.
20374 (casinh_test): Likewise.
20375 * sysdeps/i386/fpu/libm-test-ulps: Update.
20376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20377
6f2e90e7
SP
203782013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20379
5739f705
SP
20380 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20381 constants.
20382 (norm): Likewise.
20383 (denorm): Likewise.
20384 (__dbl_mp): Likewise.
20385 (add_magnitudes): Likewise.
20386 (sub_magnitudes): Likewise.
20387 (__add): Likewise.
20388 (__sub): Likewise.
20389 (__mul): Likewise.
20390 (__sqr): Likewise.
20391 (__inv): Likewise.
20392 (__dvd): Likewise.
20393
e375e83d
SP
20394 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20395 commented code.
20396 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20397 (__dubcos): Likewise.
20398 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20399 (__ieee754_acos): Likewise.
20400 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20401 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20402 (__exp1): Likewise.
20403 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20405 (log1): Likewise.
20406 (my_log2): Likewise.
20407 (checkint): Likewise.
20408 * sysdeps/ieee754/dbl-64/e_remainder.c
20409 (__ieee754_remainder): Likewise.
20410 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20411 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20412 (bsloww): Likewise.
20413 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20414
6f2e90e7
SP
20415 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20416 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20417 MANTISSA_STORE_T to store computations on mantissa. Use
20418 macros for rounding and division.
20419 (denorm): Likewise.
20420 (__dbl_mp): Likewise.
20421 (add_magnitudes): Likewise.
20422 (sub_magnitudes): Likewise.
20423 (__mul): Likewise.
20424 (__sqr): Likewise.
20425 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20426 powers of two in terms of TWOPOW macro.
20427 (mp_no): Make type of mantissa as MANTISSA_T.
20428 [!RADIXI]: Define RADIXI.
20429 [!TWO52]: Define TWO52.
20430 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20431
fce14d4e
AZ
204322013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20433
20434 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20435 llroundl symbol when building for PPC32.
20436
9ad027fb
MW
204372013-03-24 Mark H Weaver <mhw@netris.org>
20438
20439 * manual/arith.texi (Normalization Functions): Fix prototypes for
20440 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20441
e42a38dd
AZ
204422013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20443
20444 [BZ #13889]
20445 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20446 high value to check if expl overflow.
20447 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20448 to check for underflow and overflow.
20449 * math/libm-test.inc: Add exp test.
20450
2e0fb521
DL
204512013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20452
20453 [BZ #11120]
20454 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20455 with NOT_IN_libc.
20456
b5784d95
AZ
204572013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20458
20459 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20460 symbol.
20461
5aa4a1a1
TS
204622013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20463
bdef0be7
TS
20464 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20465 wrap blocks consisting of several statements.
20466
5aa4a1a1
TS
20467 * sysdeps/generic/math-tests.h: New file.
20468 * sysdeps/i386/fpu/math-tests.h: Likewise.
20469 * math/test-snan.c: Include it.
20470 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20471
98c48fe5
JM
204722013-03-21 Joseph Myers <joseph@codesourcery.com>
20473
20474 [BZ #15285]
20475 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20476 (__ieee754_j0l): Do not improve calculations using cos of twice
20477 input for inputs above LDBL_MAX / 2.0L.
20478 (__ieee754_y0l): Likewise.
20479 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20480 (__ieee754_j1l): Do not improve calculations using cos of twice
20481 input for inputs above LDBL_MAX / 2.0L.
20482 (__ieee754_y1l): Likewise.
20483 * math/libm-test.inc (j0_test): Add another test.
20484 (j1_test): Likewise.
20485 (y0_test): Likewise.
20486 (y1_test): Likewise.
20487 * sysdeps/i386/fpu/libm-test-ulps: Update.
20488
3775a8bc
SP
204892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20490
20491 * Rules ($(objpfx)bench-%.c): Include code from a C source
20492 file.
20493
0a1b2ae6
JM
204942013-03-21 Joseph Myers <joseph@codesourcery.com>
20495
20496 [BZ #15287]
20497 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20498 imaginary part 1.0 and real part less than 0.5 specially.
20499 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20500 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20501 * math/libm-test.inc (cacos_test): Add more tests.
20502 (casin_test): Likewise.
20503 (casinh_test): Likewise.
20504 * sysdeps/i386/fpu/libm-test-ulps: Update.
20505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20506
b33d4ce4
SP
205072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20508
20509 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20510 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20511
bef0b507
JM
205122013-03-20 Joseph Myers <joseph@codesourcery.com>
20513
20514 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20515 * config.make.in (config-cflags-sse4): Remove variable.
20516 (config-cflags-avx): Likewise.
20517 (config-cflags-sse2avx): Likewise.
20518 (config-cflags-novzeroupper): Likewise.
20519 (config-asflags-i686): Likewise.
20520 (have-mfma4): Likewise.
20521 (have-as-vis3): Likewise.
20522 (MIG): Likewise.
20523 * configure.in (MIG): Do not AC_SUBST.
20524 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20525 (libc_cv_cc_sse4): Do not AC_SUBST.
20526 (libc_cv_cc_avx): Likewise.
20527 (libc_cv_cc_sse2avx): Likewise.
20528 (libc_cv_cc_novzeroupper): Likewise.
20529 (libc_cv_cc_fma4): Likewise.
20530 (libc_cv_as_i686): Likewise.
20531 (libc_cv_sparc_as_vis3): Likewise.
20532 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20533 LIBC_CONFIG_VAR.
20534 (config-asflags-i686): Likewise.
20535 (config-cflags-avx): Likewise.
20536 (config-cflags-sse2avx): Likewise.
20537 (have-mfma4): Likewise.
20538 (config-cflags-novzeroupper): Likewise.
20539 * sysdeps/mach/configure.in (MIG): Likewise.
20540 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20541 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20542 LIBC_CONFIG_VAR.
20543 (config-cflags-avx): Likewise.
20544 (config-cflags-sse2avx): Likewise.
20545 (have-mfma4): Likewise.
20546 (config-cflags-novzeroupper): Likewise.
20547 * configure: Regenerated.
20548 * sysdeps/i386/configure: Likewise.
20549 * sysdeps/mach/configure: Likewise.
20550 * sysdeps/sparc/configure: Likewise.
20551 * sysdeps/x86_64/configure: Likewise.
20552
912cc4b3
RM
205532013-03-20 Roland McGrath <roland@hack.frob.com>
20554
20555 [BZ #14812]
20556 * locale/programs/localedef.c (options): Put N_ translation marker
20557 on argument names, not just descriptions.
20558
04eed2b0
MS
205592013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20560
20561 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20562
a065ceff
OB
205632013-03-20 Ondřej Bílka <neleai@seznam.cz>
20564
9bb2a810 20565 [BZ #14176]
a065ceff
OB
20566 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20567
a600e5ce
RM
205682013-03-19 Roland McGrath <roland@hack.frob.com>
20569
20570 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20571 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20572 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20573 [!BEFORE_ABORT] (before_abort): New function.
20574 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20575 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20576 (writev_for_fatal): New function.
20577 (WRITEV_FOR_FATAL): New macro; call that.
20578 (backtrace_and_maps): New function.
20579 (BEFORE_ABORT): New macro; call that.
20580 (struct str_list): Type removed.
20581 (__libc_message, __libc_fatal): Functions removed.
20582 Include <sysdeps/posix/libc_fatal.c> instead.
20583
6b18bea6
JM
205842013-03-19 Joseph Myers <joseph@codesourcery.com>
20585
20586 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20587 constants.
20588 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20589 double constants.
20590
aaa8cb4b
AS
205912013-03-19 Andreas Schwab <schwab@suse.de>
20592
44673770
AS
20593 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20594 * sysdeps/gnu/configure: Regenerate.
20595
aaa8cb4b
AS
20596 * configure.in: Substitute libc_cv_rtlddir.
20597 * configure: Regenerate.
20598 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20599 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20600 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20601 * elf/Makefile (install-others, CFLAGS-interp.c)
20602 (ldso_install, common-ldd-rewrite): Likewise.
20603 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20604 $(inst_slibdir)/$(rtld-installed-name).
20605 * scripts/rellns-sh: Add -p option.
20606 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20607 for source.
20608
d3cfc668
SP
206092013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20610
20611 * manual/nptl.texi: Renamed to ...
20612 * manual/threads.texi: ... this.
20613 * manual/Makefile (chapters): Update.
20614
0e2b9cdd
RM
206152013-03-18 Roland McGrath <roland@hack.frob.com>
20616
20617 [BZ #14812]
20618 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20619 on argument names, not just descriptions.
0e2b9cdd
RM
20620 * malloc/memusagestat.c (options): Likewise.
20621 * nss/getent.c (options): Likewise.
63270c24
RM
20622
206232013-03-18 Benno Schulenberg <bensberg@justemail.net>
20624
20625 [BZ #14812]
20626 * iconv/iconv_prog.c (options): Put N_ translation marker
20627 on argument names, not just descriptions.
20628 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 20629
b2e1393c
OB
206302013-03-18 Ondrej Bilka <neleai@seznam.cz>
20631
20632 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20633 implementation which is faster on all x86_64 architectures.
20634 Tested on AMD, Intel Nehalem, SNB, IVB.
20635 * sysdeps/x86_64/strnlen.S: Likewise.
20636
20637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20638 Remove all multiarch strlen and strnlen versions.
20639 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20640 Remove strlen and strnlen related parts.
20641
20642 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20643 Inline strlen part.
20644 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20645
20646 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20647 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20648 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20649 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20650 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20651 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20652
ec4ff04d
CD
206532013-03-17 Carlos O'Donell <carlos@redhat.com>
20654
20655 * manual/memory.texi (Malloc Tunable Parameters):
20656 Sort parameters alphabetically. Add comments for missing entries.
20657
cd18e90a
DM
206582013-03-17 David S. Miller <davem@davemloft.net>
20659
20660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20661
2a185d32
JM
206622013-03-16 Joseph Myers <joseph@codesourcery.com>
20663
d2f9799e
JM
20664 [BZ #15283]
20665 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20666 for arguments at most half maximum finite value.
20667 * math/libm-test.inc (j0_test): Add more tests.
20668 (j1_test): Likewise.
20669 (y0_test): Likewise.
20670 (y1_test): Likewise.
20671 * sysdeps/i386/fpu/libm-test-ulps: Update.
20672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20673
2a185d32
JM
20674 [BZ #14155]
20675 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20676 1 / x and functions P and Q for arguments above 0x1p256L.
20677 (__ieee754_y0l): Likewise.
20678 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20679 (__ieee754_y1l): Likewise.
20680 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20681 (j1_test): Likewise.
20682 (y0_test): Likewise.
20683 (y1_test): Likewise.
20684
6cbec759
TS
206852013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20686
20687 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20688 variable.
20689
bc16e260
RM
206902013-03-15 Roland McGrath <roland@hack.frob.com>
20691
aefc9b8c
RM
20692 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20693 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20694 zero since it's initialized to EXEC_PAGESIZE.
20695
bc16e260
RM
20696 * sysdeps/unix/sysv/linux/ldsodefs.h
20697 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20698 * sysdeps/generic/ldsodefs.h: ... here.
20699
a57da955
TS
207002013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20701
af00a34d
TS
20702 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20703
495ded2c
TS
20704 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20705 math/test-snan.c.
20706 * math/test-snan.c: Renamed from
20707 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20708 * math/Makefile (tests): Add test-snan.
20709 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20710 test-powerpc-snan.
20711
777b0332
TS
20712 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20713 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20714 functions.
20715 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20716 __builtin_nan family of functions.
20717 * math/libm-test.inc (initialize): Initialize qnan_value with
20718 __builtin_nan family of functions.
20719 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20720 Remove variables.
20721 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20722 Remove functions.
20723 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20724 storage class. Initialize qNaN_var and sNaN_var with
20725 __builtin_nan and __builtin_nans families of functions,
20726 respectively.
20727
64d063b8
TS
20728 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20729 (sqrt_test): Remove duplicate test with qNaN input.
20730 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20731 (round_test, signbit_test, significand_test): Note missing +/-Inf
20732 as well as qNaN tests.
20733
67e971f1
TS
20734 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20735 qNaN_var. Fix a few strings, too.
20736 * math/libm-test.inc (nan_value): Rename to qnan_value.
20737 * math/gen-libm-test.pl (%beautify): Adjust to that.
20738 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20739 * math/test-misc.c (main): Likewise.
20740 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20741 to __qnan_bytes, and __qnan_union, respectively.
20742 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20743 Likewise.
20744 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20745 and lqnanval, respectively.
20746 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20747 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20748 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20749 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20750
64487e12
TS
20751 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20752 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20753 doubles.
20754
e015e27b
TS
20755 * math/test-misc.c (main): Fix copy'n'pastos.
20756 * misc/tst-efgcvt.c (special): Likewise.
20757
a57da955
TS
20758 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20759 Remove declarations.
20760
1e380345
SP
207612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20762
20763 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20764 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20765 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20766 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20767
ef26eece
AZ
207682013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20769
20770 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20771 macro to return vdso values correctly in IFUNC implementations.
20772 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20773 Optimization by using IFUNC.
20774
8cfdb7e0
SP
207752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20776 Richard Henderson <rth@redhat.com>
20777 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20778
20779 * Makefile.in (bench): New target.
20780 * NEWS: Mention the benchmark framework.
20781 * Rules (bench): Likewise.
20782 (binaries-bench): Generate binaries for functions to
20783 benchmark.
20784 * benchtests/Makefile: New makefile for benchmark tests.
20785 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20786 programs.
20787 * benchtests/exp-inputs: New input file for EXP function.
20788 * benchtests/pow-inputs: New input file for POW function.
20789 * scripts/bench.pl: New script to generate source files for
20790 benchmark programs.
20791
bcda9880
SP
207922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20793
d22ca8cd
SP
20794 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20795 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20796 computations on mantissa. Use macros for rounding and
20797 division.
20798 (denorm): Likewise.
20799 (__dbl_mp): Likewise.
20800 (add_magnitudes): Likewise.
20801 (sub_magnitudes): Likewise.
20802 (__mul): Likewise.
20803 (__sqr): Likewise.
20804 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20805 powers of two in terms of TWOPOW macro.
20806 (mp_no): Make type of mantissa as MANTISSA_T.
20807 [!RADIXI]: Define RADIXI.
20808 [!TWO52]: Define TWO52.
20809 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20810
bcda9880
SP
20811 * manual/nptl.texi (cindex): Modify threads to pthreads.
20812
06d5adfb
JM
208132013-03-15 Joseph Myers <joseph@codesourcery.com>
20814
20815 * sysdeps/x86_64/preconfigure: Regenerated.
20816
41c7328e
JM
208172013-03-14 Joseph Myers <joseph@codesourcery.com>
20818
20819 [BZ #14155]
20820 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20821 0x1p28 and above.
20822 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20823 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20824 0x1p28 and above.
20825 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20826 * math/libm-test.inc (j0_test): Do not allow one spurious
20827 underflow exception.
20828 (y1_test): Likewise.
20829
e25cfa60
SP
208302013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20831
0409959c
SP
20832 * manual/Makefile (chapters): Add nptl.
20833 * manual/debug.texi (Debugging Support): Add link to Threads
20834 chapter.
20835 * manual/nptl.texi: New file.
20836
e25cfa60
SP
20837 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20838
58a1335e
PB
208392013-03-14 Petr Baudis <pasky@ucw.cz>
20840
20841 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20842 for non-NULL pointer before the memory validity test. Pointed
20843 out by Holger Brunck <holger.brunck@keymile.com>.
20844
9dc7c64f
AS
208452013-03-13 Andreas Schwab <schwab@suse.de>
20846
20847 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20848 instead of .os.
20849
54206aa6
JM
208502013-03-13 Joseph Myers <joseph@codesourcery.com>
20851
20852 * timezone/zic.c: Update from tzcode 2013b.
20853
e98cdb38
CD
208542013-03-12 Carlos O'Donell <carlos@redhat.com>
20855
20856 * manual/install.texi (Configuring and compiling):
20857 Mention i686 and i586.
20858 * INSTALL: Regenerate.
20859
9967e003
RM
208602013-03-12 Roland McGrath <roland@hack.frob.com>
20861
20862 * sysdeps/init_array/elf-init.c: New file.
20863 * csu/elf-init.c
20864 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20865 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20866
20867 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20868 __gmon_start__ as global, but as static with a .preinit_array pointer.
20869 * sysdeps/init_array/gmon-start.c: New file. Use that.
20870 * sysdeps/init_array/crti.S: New file, empty except for comments.
20871 * sysdeps/init_array/crtn.S: Likewise.
20872
e6b5a293 208732013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
20874
20875 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20876 definining bcopy.
80f844c9
OB
20877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20878 Remove Prefer_SSE_for_memop.
20879 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20880 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20881 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
20882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20883 memset-x86-64.
80f844c9 20884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 20885 Remove bzero, memset ifunc support.
80f844c9
OB
20886 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20887 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20888 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20889 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20890
fb6b0fcb
AS
208912013-03-11 Andreas Schwab <schwab@suse.de>
20892
20893 [BZ #15234]
20894 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20895 by SHLIB_COMPAT.
20896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20897 (GLIBC_2.16): Remove pthread_atfork.
20898
3e6bd4b1
PP
208992013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20900
20901 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20902 (ptestcases.h): Likewise.
20903
222d7f00
RM
209042013-03-08 Roland McGrath <roland@hack.frob.com>
20905
20906 * Makeconfig ($(common-objpfx)config.status): Depend on
20907 sysdeps/*/preconfigure{,.in} too.
20908
1ba4f030
JM
209092013-03-08 Joseph Myers <joseph@codesourcery.com>
20910
a222d91a
JM
20911 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20912 (__free_hook): Use void * instead of __malloc_ptr_t.
20913 (__malloc_hook): Likewise.
20914 (__realloc_hook): Likewise.
20915 (__memalign_hook): Likewise.
20916 (__after_morecore_hook): Likewise.
20917 * malloc/arena.c (save_malloc_hook): Likewise.
20918 (save_free_hook): Likewise.
20919 * malloc/hooks.c (malloc_hook_ini): Likewise.
20920 (realloc_hook_ini): Likewise.
20921 (memalign_hook_ini): Likewise.
20922 * malloc/malloc.c (malloc_hook_ini): Likewise.
20923 (realloc_hook_ini): Likewise.
20924 (memalign_hook_ini): Likewise.
20925 (__free_hook): Likewise.
20926 (__malloc_hook): Likewise.
20927 (__realloc_hook): Likewise.
20928 (__memalign_hook): Likewise.
20929 (__libc_malloc): Likewise.
20930 (__libc_free): Likewise.
20931 (__libc_realloc): Likewise.
20932 (__libc_memalign): Likewise.
20933 (__libc_valloc): Likewise.
20934 (__libc_pvalloc): Likewise.
20935 (__libc_calloc): Likewise.
20936 (__posix_memalign): Likewise.
20937 * malloc/morecore.c (__sbrk): Likewise.
20938 (__default_morecore): Likewise.
20939
5cc45e10
JM
20940 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20941
dd54b864
JM
20942 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20943 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20944 __malloc_ptrdiff_t.
20945
1ba4f030
JM
20946 * malloc/malloc.h (__malloc_size_t): Remove macro.
20947 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20948 __malloc_size_t.
20949 (old_memalign_hook): Likewise.
20950 (old_realloc_hook): Likewise.
20951 (struct hdr): Likewise.
20952 (flood): Likewise.
20953 (mallochook): Likewise.
20954 (memalignhook): Likewise.
20955 (reallochook): Likewise.
20956 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20957 (tr_old_realloc_hook): Likewise.
20958 (tr_old_memalign_hook): Likewise.
20959 (tr_mallochook): Likewise.
20960 (tr_reallochook): Likewise.
20961 (tr_memalignhook): Likewise.
20962
edf66e57
AZ
209632013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20964
20965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20966 default_ldbl_pack and using as default implementation.
20967 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20968 implementation.
20969 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20970 redundant definition.
20971 (ldbl_insert_mantissa): Likewise.
20972 (ldbl_canonicalize): Likewise.
20973 (ldbl_nearbyint): Likewise.
20974 (ldbl_pack): Rename to ldbl_pack_ppc.
20975 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20976 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20977 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20978
6d9145d8
SP
209792013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20980
20981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20982 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20983 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20984 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20986 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20987 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20988 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20989
4dd4e157
AJ
209902013-03-07 Andreas Jaeger <aj@suse.de>
20991
20992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20993 bits/mman-linux.h.
20994
adbb8027
SP
209952013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20996
ce544b5b
SP
20997 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20998 Include mpa.h and declare __MPEXP.
20999 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21000 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21001 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21002 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21003 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21004 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21005 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21006
4cc149fd
SP
21007 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21008 (__slowpow): Use long double EXPL and LOGL functions to
21009 compute POW.
21010 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21011 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21012 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21013 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21014 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21015 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21016
e6ebd4a7
SP
21017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21018 intermediate variable to calculate exponent.
21019 (__sqr): Likewise.
21020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21021 Likewise.
21022 (__sqr): Likewise.
21023
82a9811d
SP
21024 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21025 [!NO__SQR]: Define __sqr.
21026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21027 and NO__SQR. Remove all code except __mul and __sqr. Include
21028 sysdeps/ieee754/dbl-64/mpa.c.
21029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21030
adbb8027
SP
21031 [BZ #12723]
21032 * posix/Makefile (tests): Add tst-pathconf.
21033 * posix/tst-pathconf.c: New test case.
21034 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21035 _PC_PIPE_BUF.
21036 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21037
39120df9
PF
210382013-03-06 Patsy Franklin <pfrankli@redhat.com>
21039
21040 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21041
67525cb8
AJ
210422013-03-06 Andreas Jaeger <aj@suse.de>
21043
664a9ce4
AJ
21044 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21045 definition via __MAP_ANONYMOUS.
21046
8e39047d
AJ
21047 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21048 it's not part of Linux headers.
21049
67525cb8
AJ
21050 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21051 (MAP_HUGE_MASK): Define.
21052
21053 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21054 Define.
21055 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21056 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21057 Define.
21058 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21059 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21060 Define.
21061 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21062 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21063 Define.
21064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21065
21066 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21067 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21068 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21069 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21070 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21071 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21072
21073 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21074 Handle f2fs.
21075
21076 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21077 Handle f2fs and efivarfs.
21078
21079 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21080 f2fs.
21081
21082 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21083 (EFIVARFS_MAGIC): Add.
21084 (F2FS_LINK_MAX): Add.
21085
e1b42695
PP
210862013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21087
21088 * stdio-common/vfprintf.c: Replace __builtin_expect with
21089 __glibc_unlikely.
21090
2d67d91a
JM
210912013-03-06 Joseph Myers <joseph@codesourcery.com>
21092
21093 [BZ #13550]
21094 * sysdeps/generic/bp-sym.h: Remove file.
21095 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21096 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21097 <bp-sym.h> and <bp-asm.h>.
21098 (__longjmp): Don't use BP_SYM.
21099 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21100 and <bp-asm.h>.
21101 (memcpy): Don't use BP_SYM.
21102 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21103 <bp-sym.h> and <bp-asm.h>.
21104 (memcpy): Don't use BP_SYM.
21105 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21106 <bp-asm.h>.
21107 (memcpy): Don't use BP_SYM.
21108 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21109 <bp-asm.h>.
21110 (memset): Don't use BP_SYM.
21111 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21112 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21113 (__bzero): Don't use BP_SYM.
21114 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21115 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21116 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21117 <bp-sym.h> and <bp-asm.h>.
21118 (memcmp): Don't use BP_SYM. Remove comment about bounded
21119 pointers.
21120 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21121 <bp-sym.h> and <bp-asm.h>.
21122 (memcpy): Don't use BP_SYM.
21123 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21124 <bp-sym.h> and <bp-asm.h>.
21125 (memset): Don't use BP_SYM.
21126 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21127 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21128 (__bzero): Don't use BP_SYM.
21129 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21130 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21131 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21132 <bp-sym.h> and <bp-asm.h>.
21133 (strncmp): Don't use BP_SYM. Remove comment about bounded
21134 pointers.
21135 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21136 <bp-sym.h> and <bp-asm.h>.
21137 (memcpy): Don't use BP_SYM.
21138 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21139 <bp-sym.h> and <bp-asm.h>.
21140 (memset): Don't use BP_SYM.
21141 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21142 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21143 (__bzero): Don't use BP_SYM.
21144 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21145 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21146 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21147 <bp-sym.h> and <bp-asm.h>.
21148 (__memchr): Don't use BP_SYM.
21149 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21150 <bp-sym.h> and <bp-asm.h>.
21151 (memcmp): Don't use BP_SYM. Remove comment about bounded
21152 pointers.
21153 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21154 <bp-sym.h> and <bp-asm.h>.
21155 (memcpy): Don't use BP_SYM.
21156 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21157 <bp-sym.h> and <bp-asm.h>.
21158 (__mempcpy): Don't use BP_SYM.
21159 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21160 <bp-sym.h> and <bp-asm.h>.
21161 (__memrchr): Don't use BP_SYM.
21162 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21163 <bp-sym.h> and <bp-asm.h>.
21164 (memset): Don't use BP_SYM.
21165 (__bzero): Likewise.
21166 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21167 <bp-sym.h> and <bp-asm.h>.
21168 (__rawmemchr): Don't use BP_SYM.
21169 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21170 <bp-sym.h> and <bp-asm.h>.
21171 (__STRCMP): Don't use BP_SYM.
21172 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21173 <bp-sym.h> and <bp-asm.h>.
21174 (strchr): Don't use BP_SYM.
21175 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21176 <bp-sym.h> and <bp-asm.h>.
21177 (__strchrnul): Don't use BP_SYM.
21178 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21179 <bp-sym.h> and <bp-asm.h>.
21180 (strlen): Don't use BP_SYM.
21181 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21182 <bp-sym.h> and <bp-asm.h>.
21183 (strncmp): Don't use BP_SYM. Remove comment about bounded
21184 pointers.
21185 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21186 <bp-sym.h> and <bp-asm.h>.
21187 (__strnlen): Don't use BP_SYM.
21188 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21189 <bp-sym.h> and <bp-asm.h>.
21190 (__GI__setjmp): Don't use BP_SYM.
21191 (_setjmp): Likewise.
21192 (__sigsetjmp): Likewise.
21193 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21194 (L(start_addresses)): Don't use BP_SYM.
21195 (_start): Likewise.
21196 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21197 <bp-asm.h>.
21198 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21199 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21200 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21201 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21202 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21203 <bp-asm.h>.
21204 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21205 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21206 about bounded pointers.
21207 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21208 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21209 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21210 <bp-asm.h>.
21211 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21212 about bounded pointers. Remove GKM FIXME comments.
21213 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21214 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21215 <bp-asm.h>.
21216 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21217 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21218 Remove GKM FIXME comments.
21219 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21220 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21221 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21222 <bp-asm.h>.
21223 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21224 about bounded pointers. Remove GKM FIXME comment.
21225 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21226 and <bp-asm.h>.
21227 (strncmp): Don't use BP_SYM. Remove comment about bounded
21228 pointers.
21229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21230 <bp-sym.h> and <bp-asm.h>.
21231 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21233 <bp-sym.h> and <bp-asm.h>.
21234 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21235 comment.
21236
cdcf361f
PP
212372013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21238
21239 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21240 call free(NULL).
21241
3c4a2b15
DM
212422013-03-05 David S. Miller <davem@davemloft.net>
21243
21244 * po/es.po: Update from translation team.
21245
cdcf361f 212462013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
21247
21248 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21249 <bits/mman-linux.h>.
21250 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21251 is fine.
21252 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21253 <bits/mman-linux.h> to end of file.
21254 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21255 is fine.
21256 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21257 <bits/mman-linux.h> to end of file.
21258 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21259 is fine.
21260 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21261 <bits/mman-linux.h> to end of file.
21262
21263 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21264 (MCL_CURRENT, MCL_FUTURE): Define here.
21265
5f67c04f
AK
212662013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21267
8a4473cc 21268 [BZ #15232]
5f67c04f
AK
21269 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21270 attribute_hidden.
21271 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21272
c3e94a95
AK
212732013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21274
21275 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21276 fourth parameter needed for rt_sigprocmask syscall.
21277 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21278 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21279 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21280 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21281 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21282 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21283
cfb6382a
JM
212842013-03-04 Joseph Myers <joseph@codesourcery.com>
21285
21286 [BZ #13550]
21287 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21288 comment about bounded pointers.
21289 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21290 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21291
539d8e01
AJ
212922013-03-04 Andreas Jaeger <aj@suse.de>
21293
21294 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21295 common definitions.
21296
21297 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21298 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21299 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21300 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21301 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
21302 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21303
2e167a70 213042013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
21305
21306 [BZ #15055]
21307 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21308 __ieee754_sqrl instead of __sqrl.
21309
68508633
JM
213102013-03-01 Joseph Myers <joseph@codesourcery.com>
21311
21312 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21313 * sysdeps/powerpc/fpu_control.h: ... here.
21314 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21315 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21316 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21317 * sysdeps/powerpc/bits/mathinline.h: ... here.
21318
7775448e
RM
213192013-03-01 Roland McGrath <roland@hack.frob.com>
21320
21321 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21322 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21323 to just [NEED_DL_SYSINFO_DSO].
21324 * elf/dl-support.c: Likewise.
21325 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21326 * elf/rtld.c (dl_main): Likewise.
21327 * elf/setup-vdso.h (setup_vdso): Likewise.
21328 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21329 * sysdeps/unix/sysv/linux/dl-sysdep.c
21330 (_dl_discover_osversion): Likewise.
21331
4e9b5995
CD
213322013-03-01 Carlos O'Donell <carlos@redhat.com>
21333
21334 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21335 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21336
e23872c8
SP
213372013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21338
e5c74c63
SP
21339 * NEWS: Mention libm performance improvements and non-x86 PI
21340 futex support.
21341
e23872c8
SP
21342 * csu/libc-start.c (__pthread_initialize_minimal): Change
21343 function arguments.
21344 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21345
b5510883
JM
213462013-02-28 Joseph Myers <joseph@codesourcery.com>
21347
21348 [BZ #13550]
21349 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21350 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21351 <bp-sym.h> and <bp-asm.h>.
21352 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21353 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21354 and <bp-asm.h>.
21355 (memcpy): Don't use BP_SYM.
21356 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21357 <bp-asm.h>.
21358 (__mpn_add_n): Don't use BP_SYM.
21359 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21360 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21361 and <bp-asm.h>.
21362 (__mpn_addmul_1): Don't use BP_SYM.
21363 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21364 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21365 <bp-sym.h>.
21366 (_setjmp): Don't use BP_SYM.
21367 (__novmx_setjmp): Likewise.
21368 (__GI__setjmp): Likewise.
21369 (__vmx_setjmp): Likewise.
21370 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21371 <bp-sym.h>.
21372 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21373 (__bzero): Don't use BP_SYM.
21374 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21375 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21376 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21377 <bp-sym.h> and <bp-asm.h>.
21378 (memcpy): Don't use BP_SYM.
21379 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21380 <bp-sym.h> and <bp-asm.h>.
21381 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21382 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21383 <bp-sym.h> and <bp-asm.h>.
21384 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21385 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21386 <bp-asm.h>.
21387 (__mpn_lshift): Don't use BP_SYM.
21388 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21389 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21390 <bp-asm.h>.
21391 (memset): Don't use BP_SYM.
21392 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21393 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21394 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21395 <bp-asm.h>.
21396 (__mpn_mul_1): Don't use BP_SYM.
21397 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21398 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21399 <bp-sym.h> and <bp-asm.h>.
21400 (memcmp): Don't use BP_SYM.
21401 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21402 <bp-sym.h> and <bp-asm.h>.
21403 (memcpy): Don't use BP_SYM.
21404 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21405 <bp-sym.h> and <bp-asm.h>.
21406 (memset): Don't use BP_SYM.
21407 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21408 <bp-sym.h> and <bp-asm.h>.
21409 (strncmp): Don't use BP_SYM.
21410 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21411 <bp-sym.h> and <bp-asm.h>.
21412 (memcpy): Don't use BP_SYM.
21413 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21414 <bp-sym.h> and <bp-asm.h>.
21415 (memset): Don't use BP_SYM.
21416 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21417 <bp-sym.h> and <bp-asm.h>.
21418 (__memchr): Don't use BP_SYM.
21419 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21420 <bp-sym.h> and <bp-asm.h>.
21421 (memcmp): Don't use BP_SYM.
21422 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21423 <bp-sym.h> and <bp-asm.h>.
21424 (memcpy): Don't use BP_SYM.
21425 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21426 <bp-sym.h> and <bp-asm.h>.
21427 (__mempcpy): Don't use BP_SYM.
21428 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21429 <bp-sym.h> and <bp-asm.h>.
21430 (__memrchr): Don't use BP_SYM.
21431 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21432 <bp-sym.h> and <bp-asm.h>.
21433 (memset): Don't use BP_SYM.
21434 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21435 <bp-sym.h> and <bp-asm.h>.
21436 (__rawmemchr): Don't use BP_SYM.
21437 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21438 <bp-sym.h> and <bp-asm.h>.
21439 (__STRCMP): Don't use BP_SYM.
21440 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21441 <bp-sym.h> and <bp-asm.h>.
21442 (strchr): Don't use BP_SYM.
21443 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21444 <bp-sym.h> and <bp-asm.h>.
21445 (__strchrnul): Don't use BP_SYM.
21446 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21447 <bp-sym.h> and <bp-asm.h>.
21448 (strlen): Don't use BP_SYM.
21449 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21450 <bp-sym.h> and <bp-asm.h>.
21451 (strncmp): Don't use BP_SYM.
21452 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21453 <bp-sym.h> and <bp-asm.h>.
21454 (__strnlen): Don't use BP_SYM.
21455 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21456 <bp-asm.h>.
21457 (__mpn_rshift): Don't use BP_SYM.
21458 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21459 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21460 <bp-sym.h> and <bp-asm.h>.
21461 (__sigsetjmp): Don't use BP_SYM.
21462 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21463 (L(start_addresses)): Don't use BP_SYM.
21464 (_start): Likewise.
21465 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21466 <bp-asm.h>.
21467 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21468 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21469 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21470 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21471 <bp-asm.h>.
21472 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21473 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21474 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21475 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21476 <bp-asm.h>.
21477 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21478 comments.
21479 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21480 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21481 <bp-asm.h>.
21482 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21483 FIXME comments.
21484 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21485 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21486 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21487 <bp-asm.h>.
21488 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21489 comment.
21490 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21491 and <bp-asm.h>.
21492 (strncmp): Don't use BP_SYM,
21493 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21494 <bp-asm.h>.
21495 (__mpn_sub_n): Don't use BP_SYM.
21496 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21497 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21498 and <bp-asm.h>.
21499 (__mpn_submul_1): Don't use BP_SYM.
21500 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21502 <bp-sym.h> and <bp-asm.h>.
21503 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21505 <bp-sym.h> and <bp-asm.h>.
21506 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21507 comment.
21508
8d19fe64
SP
215092013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21510
21511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21512 Use ZK to minimize writes to Z.
21513 (sub_magnitudes): Simplify code a bit.
21514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21515 Use ZK to minimize writes to Z.
21516 (sub_magnitudes): Simplify code a bit.
21517
85bd816a
RM
215182013-02-27 Roland McGrath <roland@hack.frob.com>
21519
21520 * csu/gmon-start.c: Add special exception to license text.
21521
b5977bf2
RH
215222013-02-27 Richard Henderson <rth@redhat.com>
21523
21524 * scripts/config.guess: Update from config.git.
21525 * scripts/config.sub: Likewise.
21526
11d6e2f2
SP
215272013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21528
09c14ed2
SP
21529 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21530
a688864e
SP
21531 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21532
6295157a
SP
21533 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21534
b8de2202
SP
21535 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21536
11d6e2f2
SP
21537 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21538
7e80ddb8
RM
215392013-02-26 Roland McGrath <roland@hack.frob.com>
21540
21541 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21542 [$(build-shared = yes].
7e80ddb8 21543
7da6d9ed
SP
215442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21545
45f05884
SP
21546 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21547 (__mul): Reduce iterations for calculating mantissa.
21548
2236d359
SP
21549 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21550 MPTWO.
21551 (__mpranred): Likewise.
21552
7da6d9ed
SP
21553 [BZ #15160]
21554 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21555 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21556
b7688c42
PE
215572013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21558
21559 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21560 Define __attribute__.
21561
53a5c423
SP
215622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21563
21564 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21565 unused.
21566 * posix/regex_internal.h (__attribute): Remove.
21567 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21568 (re_string_context_at): Likewise.
21569 (bitset_not): Use __attribute__ and mark function as possibly
21570 unused.
21571 (bitset_merge): Likewise.
21572 (bitset_mask): Likewise.
21573 (re_string_char_size_at): Likewise.
21574 (re_string_wchar_at): Likewise.
21575 (re_string_elem_size_at): Likewise.
21576
60f5a8b5
SP
215772013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21578
2a983a2e
SP
21579 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21580 code.
21581 (cc32): Likewise.
21582
e69804d1
SP
21583 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21584 (__acr): Likewise.
21585 (__cpy): Likewise.
21586 (norm): Likewise.
21587 (denorm): Likewise.
21588 (__dbl_mp): Likewise.
21589 (add_magnitudes): Likewise.
21590 (sub_magnitudes): Likewise.
21591 (__mul): Likewise.
21592 (__inv): Likewise.
21593
2f22a1e8
SP
21594 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21595 style.
21596
8930ddc7
SP
21597 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21598 style.
21599
dc60cb11
SP
21600 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21601 code.
21602
60f5a8b5
SP
21603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21604 up changes with default code.
21605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21606 Likewise.
21607
b4d1fd33
AM
216082013-02-24 Allan McRae <allan@archlinux.org>
21609
faf6f8bc
AM
21610 * manual/socket.texi (The Internet Namespace): Order menu items
21611 to match that in the file.
21612
b4d1fd33
AM
21613 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21614 node listing of the info page menu.
21615
2366713d
JM
216162013-02-21 Joseph Myers <joseph@codesourcery.com>
21617
21618 [BZ #13550]
21619 * sysdeps/i386/bp-asm.h: Remove file.
21620 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21621 (PARMS): Do not use macros from bp-asm.h.
21622 (S1): Likewise.
21623 (S2): Likewise.
21624 (SIZE): Likewise.
21625 (__mpn_add_n): Do not use BP_SYM
21626 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21627 "bp-asm.h".
21628 (PARMS): Do not use macros from bp-asm.h.
21629 (S1): Likewise.
21630 (SIZE): Likewise.
21631 (__mpn_addmul_1): Do not use BP_SYM
21632 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21633 "bp-asm.h".
21634 (PARMS): Do not use macros from bp-asm.h.
21635 (SIGMSK): Likewise.
21636 (_setjmp): Likewise. Do not use BP_SYM.
21637 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21638 "bp-asm.h".
21639 (PARMS): Do not use macros from bp-asm.h.
21640 (SIGMSK): Likewise.
21641 (setjmp): Likewise. Do not use BP_SYM.
21642 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21643 "bp-asm.h".
21644 (PARMS): Do not use macros from bp-asm.h.
21645 (__frexp): Do not use BP_SYM.
21646 (frexp): Likewise.
21647 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21648 "bp-asm.h".
21649 (PARMS): Do not use macros from bp-asm.h.
21650 (__frexpf): Do not use BP_SYM.
21651 (frexpf): Likewise.
21652 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21653 "bp-asm.h".
21654 (PARMS): Do not use macros from bp-asm.h.
21655 (__frexpl): Do not use BP_SYM.
21656 (frexpl): Likewise.
21657 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21658 "bp-asm.h".
21659 (PARMS): Do not use macros from bp-asm.h.
21660 (__remquo): Do not use BP_SYM.
21661 (remquo): Likewise.
21662 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21663 "bp-asm.h".
21664 (PARMS): Do not use macros from bp-asm.h.
21665 (__remquof): Do not use BP_SYM.
21666 (remquof): Likewise.
21667 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21668 "bp-asm.h".
21669 (PARMS): Do not use macros from bp-asm.h.
21670 (__remquol): Do not use BP_SYM.
21671 (remquol): Likewise.
21672 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21673 "bp-asm.h".
21674 (PARMS): Do not use macros from bp-asm.h.
21675 (DEST): Likewise.
21676 (SRC): Likewise.
21677 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21678 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21679 "bp-asm.h".
21680 (PARMS): Do not use macros from bp-asm.h.
21681 (strlen): Do not use BP_SYM.
21682 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21683 "bp-asm.h".
21684 (PARMS): Do not use macros from bp-asm.h.
21685 (S1): Likewise.
21686 (S2): Likewise.
21687 (SIZE): Likewise.
21688 (__mpn_add_n): Do not use BP_SYM.
21689 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21690 "bp-asm.h".
21691 (PARMS): Do not use macros from bp-asm.h.
21692 (S1): Likewise.
21693 (SIZE): Likewise.
21694 (__mpn_addmul_1): Do not use BP_SYM.
21695 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21696 weak_alias.
21697 (bzero): Likewise.
21698 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21699 "bp-asm.h".
21700 (PARMS): Do not use macros from bp-asm.h.
21701 (S): Likewise.
21702 (SIZE): Likewise.
21703 (__mpn_lshift): Do not use BP_SYM.
21704 * sysdeps/i386/i586/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
21711 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21712 libc_hidden_def and weak_alias.
21713 (mempcpy): Do not use BP_SYM in weak_alias.
21714 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21715 "bp-asm.h".
21716 (PARMS): Do not use macros from bp-asm.h.
21717 (DEST): Likewise.
21718 (LEN): Likewise.
21719 [!BZERO_P] (CHR): Likewise.
21720 (memset): Likewise. Do not use BP_SYM.
21721 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21722 "bp-asm.h".
21723 (PARMS): Do not use macros from bp-asm.h.
21724 (S1): Likewise.
21725 (SIZE): Likewise.
21726 (__mpn_mul_1): Do not use BP_SYM.
21727 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21728 "bp-asm.h".
21729 (PARMS): Do not use macros from bp-asm.h.
21730 (S): Likewise.
21731 (SIZE): Likewise.
21732 (__mpn_rshift): Do not use BP_SYM.
21733 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21734 "bp-asm.h".
21735 (PARMS): Do not use macros from bp-asm.h.
21736 (STR): Likewise.
21737 (CHR): Likewise.
21738 (strchr): Likewise. Do not use BP_SYM.
21739 (index): Do not use BP_SYM in weak_alias.
21740 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21741 "bp-asm.h".
21742 (PARMS): Do not use macros from bp-asm.h.
21743 (DEST): Likewise.
21744 (SRC): Likewise.
21745 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21746 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21747 "bp-asm.h".
21748 (PARMS): Do not use macros from bp-asm.h.
21749 (strlen): Do not use BP_SYM.
21750 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21751 "bp-asm.h".
21752 (PARMS): Do not use macros from bp-asm.h.
21753 (S1): Likewise.
21754 (S2): Likewise.
21755 (SIZE): Likewise.
21756 (__mpn_sub_n): Do not use BP_SYM.
21757 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21758 "bp-asm.h".
21759 (PARMS): Do not use macros from bp-asm.h.
21760 (S1): Likewise.
21761 (SIZE): Likewise.
21762 (__mpn_submul_1): Do not use BP_SYM.
21763 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21764 "bp-asm.h".
21765 (PARMS): Do not use macros from bp-asm.h.
21766 (S1): Likewise.
21767 (S2): Likewise.
21768 (SIZE): Likewise.
21769 (__mpn_add_n): Do not use BP_SYM.
21770 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21771 weak_alias.
21772 (bzero): Likewise.
21773 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21774 "bp-asm.h".
21775 (PARMS): Do not use macros from bp-asm.h.
21776 (BLK2): Likewise.
21777 (LEN): Likewise.
21778 (memcmp): Do not use BP_SYM.
21779 (bcmp): Do not use BP_SYM in weak_alias.
21780 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21781 "bp-asm.h".
21782 (PARMS): Do not use macros from bp-asm.h.
21783 (DEST): Likewise.
21784 (SRC): Likewise.
21785 (LEN): Likewise.
21786 (memcpy): Likewise. Do not use BP_SYM.
21787 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21788 "bp-asm.h".
21789 (PARMS): Do not use macros from bp-asm.h.
21790 (DEST): Likewise.
21791 (SRC): Likewise.
21792 (LEN): Likewise.
21793 (memmove): Likewise. Do not use BP_SYM.
21794 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21795 "bp-asm.h".
21796 (PARMS): Do not use macros from bp-asm.h.
21797 (DEST): Likewise.
21798 (SRC): Likewise.
21799 (LEN): Likewise.
21800 (__mempcpy): Likewise. Do not use BP_SYM.
21801 (mempcpy): Do not use BP_SYM in weak_alias.
21802 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21803 "bp-asm.h".
21804 (PARMS): Do not use macros from bp-asm.h.
21805 (DEST): Likewise.
21806 (LEN): Likewise.
21807 [!BZERO_P] (CHR): Likewise.
21808 (memset): Likewise. Do not use BP_SYM.
21809 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21810 "bp-asm.h".
21811 (PARMS): Do not use macros from bp-asm.h.
21812 (STR2): Likewise.
21813 (strcmp): Do not use BP_SYM.
21814 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21815 "bp-asm.h".
21816 (PARMS): Do not use macros from bp-asm.h.
21817 (STR): Likewise.
21818 (DELIM): Likewise.
21819 [USE_AS_STRTOK_R] (SAVE): Likewise.
21820 (FUNCTION): Likewise. Do not use BP_SYM.
21821 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21822 aliases.
21823 (strtok_r): Likewise.
21824 (__GI___strtok_r): Likewise.
21825 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21826 (PARMS): Do not use macros from bp-asm.h.
21827 (S): Likewise.
21828 (SIZE): Likewise.
21829 (__mpn_lshift): Do not use BP_SYM.
21830 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21831 (PARMS): Do not use macros from bp-asm.h.
21832 (STR): Likewise.
21833 (CHR): Likewise.
21834 (__memchr): Do not use BP_SYM.
21835 (memchr): Do not use BP_SYM in weak_alias.
21836 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21837 (PARMS): Do not use macros from bp-asm.h.
21838 (BLK2): Likewise.
21839 (LEN): Likewise.
21840 (memcmp): Do not use BP_SYM.
21841 (bcmp): Do not use BP_SYM in weak_alias.
21842 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21843 (PARMS): Do not use macros from bp-asm.h.
21844 (S1): Likewise.
21845 (SIZE): Likewise.
21846 (__mpn_mul_1): Do not use BP_SYM.
21847 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21848 "bp-asm.h".
21849 (PARMS): Do not use macros from bp-asm.h.
21850 (STR): Likewise.
21851 (CHR): Likewise.
21852 (__rawmemchr): Do not use BP_SYM.
21853 (rawmemchr): Do not use BP_SYM in weak_alias.
21854 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21855 (PARMS): Do not use macros from bp-asm.h.
21856 (S): Likewise.
21857 (SIZE): Likewise.
21858 (__mpn_rshift): Do not use BP_SYM.
21859 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21860 (PARMS): Do not use macros from bp-asm.h.
21861 (SIGMSK): Likewise.
21862 (__sigsetjmp): Likewise. Do not use BP_SYM.
21863 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21864 (_start): Do not use BP_SYM.
21865 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21866 (PARMS): Do not use macros from bp-asm.h.
21867 (DEST): Likewise.
21868 (SRC): Likewise.
21869 (__stpcpy): Likewise. Do not use BP_SYM.
21870 (stpcpy): Do not use BP_SYM in weak_alias.
21871 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21872 "bp-asm.h".
21873 (PARMS): Do not use macros from bp-asm.h.
21874 (DEST): Likewise.
21875 (SRC): Likewise.
21876 (LEN): Likewise.
21877 (__stpncpy): Likewise. Do not use BP_SYM.
21878 (stpncpy): Do not use BP_SYM in weak_alias.
21879 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21880 (PARMS): Do not use macros from bp-asm.h.
21881 (STR): Likewise.
21882 (CHR): Likewise.
21883 (strchr): Likewise. Do not use BP_SYM.
21884 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21885 "bp-asm.h".
21886 (PARMS): Do not use macros from bp-asm.h.
21887 (STR): Likewise.
21888 (CHR): Likewise.
21889 (__strchrnul): Likewise. Do not use BP_SYM.
21890 (strchrnul): Do not use BP_SYM in weak_alias.
21891 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21892 "bp-asm.h".
21893 (PARMS): Do not use macros from bp-asm.h.
21894 (STOP): Likewise.
21895 (strcspn): Do not use BP_SYM.
21896 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21897 "bp-asm.h".
21898 (PARMS): Do not use macros from bp-asm.h.
21899 (STR): Likewise.
21900 (STOP): Likewise.
21901 (strpbrk): Likewise. Do not use BP_SYM.
21902 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21903 "bp-asm.h".
21904 (PARMS): Do not use macros from bp-asm.h.
21905 (STR): Likewise.
21906 (CHR): Likewise.
21907 (strrchr): Likewise. Do not use BP_SYM.
21908 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21909 (PARMS): Do not use macros from bp-asm.h.
21910 (SKIP): Likewise.
21911 (strspn): Do not use BP_SYM.
21912 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21913 (PARMS): Do not use macros from bp-asm.h.
21914 (STR): Likewise.
21915 (DELIM): Likewise.
21916 (SAVE): Likewise.
21917 (FUNCTION): Likewise. Do not use BP_SYM.
21918 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21919 aliases.
21920 (strtok_r): Likewise.
21921 (__GI___strtok_r): Likewise.
21922 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21923 (PARMS): Do not use macros from bp-asm.h.
21924 (S1): Likewise.
21925 (S2): Likewise.
21926 (SIZE): Likewise.
21927 (__mpn_sub_n): Do not use BP_SYM.
21928 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21929 "bp-asm.h".
21930 (PARMS): Do not use macros from bp-asm.h.
21931 (S1): Likewise.
21932 (SIZE): Likewise.
21933 (__mpn_submul_1): Do not use BP_SYM.
21934 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21935 <bp-sym.h>.
21936 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21937 and <bp-asm.h>.
21938 (PARMS): Do not use macros from bp-asm.h.
21939 (FLAGS): Likewise.
21940 (PTID): Likewise.
21941 (TLS): Likewise.
21942 (CTID): Likewise.
21943 (__clone): Do not use BP_SYM.
21944 (clone): Do not use BP_SYM in weak_alias.
21945 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21946 and <bp-asm.h>.
21947 (PARMS): Do not use macros from bp-asm.h.
21948 (LEN): Likewise.
21949 (__mmap64): Do not use BP_SYM.
21950 (mmap64): Do not use BP_SYM in weak_alias.
21951 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21952 <bp-sym.h> and <bp-asm.h>.
21953 (PARMS): Do not use macros from bp-asm.h.
21954 (__posix_fadvise64_l64): Do not use BP_SYM.
21955 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21956 (PARMS): Do not use macros from bp-asm.h.
21957 (NSOPS): Likewise.
21958 (semtimedop): Do not use BP_SYM.
21959 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21960 and <bp-asm.h>.
21961
582a3cff
AM
219622013-02-21 Allan McRae <allan@archlinux.org>
21963
21964 * manual/message.texi (Charset conversion in gettext):
21965 Move @end statement to beginning of line.
21966
bab8a695
SP
219672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21968
80945231
SP
21969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21970 static.
21971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21972 Likewise.
21973
bab8a695
SP
21974 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21975 (denorm): Likewise.
21976 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21978
e21d7aa7
AK
219792013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21980
21981 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21982 tail-call to the resolved function if pltexit isn't needed.
21983
4c7a4263
SP
219842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21985
21986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21987 or Y being zero as being unlikely.
21988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21989 Likewise.
21990
41f49342
CD
219912013-02-20 Carlos O'Donell <carlos@redhat.com>
21992
21993 * manual/nss.texi (System Databases and Name Service Switch):
21994 Remove frobnicate @pxref.
21995
50022a93
TS
219962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21997
21998 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21999 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22000
08cbd996
PM
220012013-02-20 Petr Machata <pmachata@redhat.com>
22002
22003 * elf/elf.h (R_ARM_TARGET1): New macro.
22004 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22005 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22006 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22007 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22008 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22009 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22010 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22011 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22012 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22013 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22014 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22015 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22016 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22017 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22018 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22019 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22020 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22021 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22022 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22023 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22024 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22025 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22026 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22027 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22028 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22029 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22030 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22031 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22032 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22033 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22034 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22035 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22036 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22037 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22038 (R_ARM_THM_GOT_BREL12): Likewise.
22039 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22040 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22041 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22042 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22043 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22044 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22045 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22046 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22047 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22048
c7b275d6
TS
220492013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22050
22051 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22052 __attribute_used__ to __attribute__ ((unused)).
22053
20cd7fb3
SP
220542013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22055
22056 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22057 powerpc mpa.c.
22058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22059 comment formatting.
22060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22061
92945b52
JM
220622013-02-19 Joseph Myers <joseph@codesourcery.com>
22063
22064 [BZ #13550]
22065 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22066 Remove macro.
22067 (ENTER): Remove both macro definitions.
22068 (LEAVE): Likewise.
22069 (CHECK_BOUNDS_LOW): Likewise.
22070 (CHECK_BOUNDS_HIGH): Likewise.
22071 (CHECK_BOUNDS_BOTH): Likewise.
22072 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22073 (RETURN_BOUNDED_POINTER): Likewise.
22074 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22075 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22076 (POP_ERRNO_LOCATION_RETURN): Likewise.
22077 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22078 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22079 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22080 macros.
22081 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22082 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22083 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22084 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22085 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22086 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22087 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22088 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22089 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22090 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22091 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22092 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22093 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22094 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22095 removed macros.
22096 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22097 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22098 macros.
22099 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22100 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22101 * sysdeps/i386/i586/memset.S (memset): Likewise.
22102 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22103 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22104 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22105 macros.
22106 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22107 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22108 Change uses of L(2) to L(out).
22109 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22110 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22111 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22112 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22113 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22114 removed macros.
22115 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22116 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22117 macros.
22118 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22119 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22120 (RETURN): Do not use macro LEAVE.
22121 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22122 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22123 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22124 * sysdeps/i386/i686/memset.S (memset): Likewise.
22125 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22126 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22127 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22128 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22129 Likewise.
22130 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22131 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22132 L(1_2) and L(1_3) into L(1).
22133 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22134 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22135 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22136 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22137 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22138 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22139 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22140 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22141 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22142 macros.
22143 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22144 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22145 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22146 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22147 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22148 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22149 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22150 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22151 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22152 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22153 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22154 * sysdeps/i386/strspn.S (strspn): Likewise.
22155 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22156 conditional code.
22157 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22158 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22159 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22160 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22161 L(1_3) into L(1_1).
22162 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22163 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22164 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22165 macros.
22166 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22167
2389741a
JJ
221682013-02-19 Jakub Jelinek <jakub@redhat.com>
22169
22170 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22171 macro.
22172
2016b3cd
SP
221732013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22174
e4f22324
SP
22175 * math/atest-exp.c (exp_mpn): Remove ROUND.
22176 * math/atest-exp2.c (exp_mpn): Likewise.
22177 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22178
2016b3cd
SP
22179 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22180 * stdlib/tst-tls-atexit-lib.c: Likewise.
22181 * stdlib/tst-tls-atexit.c: Likewise.
22182
4be9b544
MF
221832013-02-18 Mike Frysinger <vapier@gentoo.org>
22184
22185 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22186 and __attribute_alloc_size__.
22187
2f62b9ee
MF
221882013-02-18 Mike Frysinger <vapier@gentoo.org>
22189
22190 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22191 __attribute_alloc_size__.
22192 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22193 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22194
6ff444c4
MF
221952013-02-18 Mike Frysinger <vapier@gentoo.org>
22196
22197 * include/programs/xmalloc.h: New file.
22198 * catgets/gencat.c: Include it.
22199 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22200 * elf/pldd.c: Likewise.
22201 * iconv/iconv_charmap.c: Likewise.
22202 * iconv/iconvconfig.c: Likewise.
22203 * iconv/strtab.c: Likewise.
22204 * locale/programs/locale.c: Likewise.
22205 * locale/programs/localedef.h: Likewise.
22206 * locale/programs/simple-hash.c: Likewise.
22207 * nscd/nscd.h: Likewise.
22208 * nss/makedb.c: Likewise.
22209 * sysdeps/generic/ldconfig.h: Likewise.
22210
be179c8a
SP
222112013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22212
ba384f6e
SP
22213 * Versions.def: Add GLIBC_2.18.
22214 * include/link.h (struct link_map): New member l_tls_dtor_count.
22215 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22216 (__call_tls_dtors): Likewise.
22217 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22218 __cxa_thread_atexit_impl.
22219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22220 Likewise.
22221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22222 Likewise.
22223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22224 Likewise.
22225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22226 Likewise.
22227 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22229 Likewise.
22230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22231 Likewise.
22232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22234 Likewise.
22235 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22236 (tests): Add test case tst-tls-atexit.
22237 (modules-names): Add shared library for tst-tls-atexit.
85891aca 22238 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
22239 (GLIBC_PRIVATE): Add __call_tls_dtors.
22240 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22241 for libstdc++.
22242 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22243 * stdlib/tst-tls-atexit.c: New test case.
22244 * stdlib/tst-tls-atexit-lib.c: New test case.
22245
ffaa74cf 22246 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 22247
be179c8a
SP
22248 * elf/Versions (ld): Add _dl_find_dso_for_object.
22249 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22250 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22251 (dl_open_worker): Use _dl_find_dso_for_object.
22252 * elf/dl-sym.c (do_sym): Likewise.
22253 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22254
f78b5caa
AK
222552013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22256
22257 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22258 Syntactic changes only.
22259 (_dl_runtime_profile): Do a tail-call to the resolved function.
22260
29691210
JM
222612013-02-17 Joseph Myers <joseph@codesourcery.com>
22262
22263 [BZ #13550]
22264 * sysdeps/x86_64/bp-asm.h: Remove file.
22265 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22266 <bp-sym.h> and <bp-asm.h>.
22267 (__clone): Do not use BP_SYM.
22268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22269 <bp-sym.h> and <bp-asm.h>.
22270 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22271 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22272 "bp-asm.h".
22273 (_setjmp): Do not use BP_SYM.
22274 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22275 "bp-asm.h".
22276 (setjmp): Do not use BP_SYM.
22277 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22278 libc_hidden_def.
22279 (mempcpy): Do not use BP_SYM in weak_alias.
22280 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22281 "bp-asm.h".
22282 (strchr): Do not use BP_SYM.
22283 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22284 "bp-asm.h".
22285 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22286 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22287 (_start): Do not use BP_SYM.
22288 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22289 "bp-asm.h".
22290 (strcat): Do not use BP_SYM.
22291 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22292 "bp-asm.h".
22293 (STRCMP): Do not use BP_SYM.
22294 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22295 "bp-asm.h".
22296 (STRCPY): Do not use BP_SYM.
22297 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22298 "bp-asm.h".
22299 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22300 "bp-asm.h".
22301 (FUNCTION): Do not use BP_SYM.
22302 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22303 weak_alias.
22304 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22305
f238fd19
AJ
223062013-02-17 Andreas Jaeger <aj@suse.de>
22307
22308 * time/Versions: Sort entries.
22309 * string/Versions: Likewise.
22310 * resolv/Versions: Likewise.
22311 * posix/Versions: Likewise.
22312 * iconv/Versions: Likewise.
22313 * elf/Versions: Likewise.
22314 * wcsmbs/Versions: Likewise.
22315
bd07f23c 223162013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 22317
22af19f9
SP
22318 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22319 loop termination condition.
22320
4709fe76
SP
22321 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22322 variable to calculate EZ.
22323 (__sqr): Likewise.
2d0e0f29
SP
22324
22325 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22326 the lower precision input.
22327
daaa7713
JM
223282013-02-15 Joseph Myers <joseph@codesourcery.com>
22329
22330 [BZ #13550]
22331 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22332 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22333 (run-via-rtld-prefix): Do not handle %-bp tests.
22334 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22335 (all-object-suffixes): Remove .ob.
22336 (bppfx): Remove variable.
22337 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22338 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22339 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22340 [$(build-bounded) = yes] (libtype.ob): Likewise.
22341 * Makerules (elide-routines.ob): Remove variable.
22342 (do-tests-clean): Do not handle *-bp.out.
22343 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22344 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22345 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22346 (tests): Do not include $(tests-bp.out).
22347 (xtests): Do not include $(xtests-bp.out).
22348 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22349 [$(build-bounded) = yes] ($(addprefix
22350 $(objpfx),$(binaries-bounded))): Remove rule.
22351 ($(objpfx)%-bp.out): Remove rule.
22352 * config.make.in (build-bounded): Remove variable.
22353 * crypt/Makefile [$(build-bounded) = yes]
22354 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22355 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22356 append to variable.
22357 [$(build-bounded) = yes] (install-lib): Likewise.
22358 [$(build-bounded) = yes] (generated): Likewise.
22359 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22360 Remove rule.
22361 * intl/Makefile [$(build-bounded) = yes]
22362 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22363 * math/Makefile [$(build-bounded) = yes]
22364 ($(tests:%=$(objpfx)%-bp): Likewise.
22365 * misc/Makefile [$(build-bounded) = yes]
22366 ($(objpfx)tst-tsearch-bp): Likewise.
22367 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22368 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22369 Remove dependency.
22370 * string/Makefile (o-objects.ob): Remove variable.
22371 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22372 (CFLAGS-.ob): Remove variable.
22373 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22374 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22375 both definitions of variable.
22376 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22377 (ASFLAGS-.ob): Remove variable.
22378
e97ed6dd
JM
223792013-02-14 Joseph Myers <joseph@codesourcery.com>
22380
2bdd4ca6
JM
22381 [BZ #13550]
22382 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22383 Remove __BOUNDED_POINTERS__ from condition.
22384 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22385 * string/bits/string2.h [!__NO_STRING_INLINES &&
22386 !__BOUNDED_POINTERS__]: Likewise.
22387 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22388 Likewise.
22389 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22390 Remove conditional code.
22391 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22392 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22393 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22394 condition.
22395
e97ed6dd
JM
22396 [BZ #13550]
22397 * csu/libc-start.c: Do not include <bp-sym.h>.
22398 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22399 * elf/dl-open.c: Do not include <bp-sym.h>.
22400 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22401 * math/fegetenv.c: Do not include <bp-sym.h>.
22402 (fegetenv): Do not use BP_SYM in versioned symbols.
22403 * nptl/sysdeps/pthread/bits/libc-lockP.h
22404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22405 <bp-sym.h>.
22406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22407 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22409 (__pthread_mutex_destroy): Likewise.
22410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22411 (__pthread_mutex_lock): Likewise.
22412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22413 (__pthread_mutex_trylock): Likewise.
22414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22415 (__pthread_mutex_unlock): Likewise.
22416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22417 (__pthread_mutexattr_init): Likewise.
22418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22419 (__pthread_mutexattr_destroy): Likewise.
22420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22421 (__pthread_mutexattr_settype): Likewise.
22422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22423 (__pthread_rwlock_init): Likewise.
22424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22425 (__pthread_rwlock_destroy): Likewise.
22426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22427 (__pthread_rwlock_rdlock): Likewise.
22428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22429 (__pthread_rwlock_tryrdlock): Likewise.
22430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22431 (__pthread_rwlock_wrlock): Likewise.
22432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22433 (__pthread_rwlock_trywrlock): Likewise.
22434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22435 (__pthread_rwlock_unlock): Likewise.
22436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22437 (__pthread_key_create): Likewise.
22438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22439 (__pthread_setspecific): Likewise.
22440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22441 (__pthread_getspecific): Likewise.
22442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22443 Likewise.
22444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22445 (_pthread_cleanup_push_defer): Likewise.
22446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22447 (_pthread_cleanup_pop_restore): Likewise.
22448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22449 (pthread_setcancelstate): Likewise.
22450 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22451 <bp-sym.h>.
22452 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22453 (memchr): Do not use BP_SYM in weak_alias.
22454 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22455 (fegetenv): Do not use BP_SYM in versioned symbols.
22456 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22457 (fesetenv): Do not use BP_SYM in versioned symbols.
22458 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22459 (feupdateenv): Do not use BP_SYM in versioned symbols.
22460 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22461 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22462 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22463 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22464 (open64): Do not use BP_SYM in weak_alias.
22465 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22466 (fegetenv): Do not use BP_SYM in versioned symbols.
22467 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22468 (fesetenv): Do not use BP_SYM in versioned symbols.
22469 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22470 (feupdateenv): Do not use BP_SYM in versioned symbols.
22471 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22472 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22473 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22474 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22475 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22476 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22477 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22478 <bp-sym.h>.
22479 (__libc_start_main): Do not use BP_SYM.
22480
d6752ccd
SP
224812013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22482
cb57ce60
SP
22483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22484 redundant return line.
22485 (norm): Likewise.
22486 (denorm): Likewise.
22487 (dbl_mp): Likewise.
22488 (sub_magnitudes): Likewise.
22489 (__add): Likewise.
22490 (__sub): Likewise.
22491 (__mul): Likewise.
22492 (__inv): Likewise.
22493 (__dvd): Likewise.
22494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22495 (norm): Likewise.
22496 (denorm): Likewise.
22497 (dbl_mp): Likewise.
22498 (sub_magnitudes): Likewise.
22499 (__add): Likewise.
22500 (__sub): Likewise.
22501 (__mul): Likewise.
22502 (__inv): Likewise.
22503 (__dvd): Likewise.
22504
f414520d
SP
22505 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22506 instead of __mul.
22507 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22508 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22509 (cc32): Likewise.
22510
d6752ccd
SP
22511 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22512 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22514 of __mul for squares.
22515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22516 function
22517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22518 Likewise.
22519 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22520 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22521
70d9946a
JM
225222013-02-13 Joseph Myers <joseph@codesourcery.com>
22523
22524 [BZ #13550]
22525 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22526 code.
22527 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22528 prototype or function definition. Rename ubp_* variables and
22529 parameters. Remove argv definitions conditional on
22530 [__BOUNDED_POINTERS__].
22531 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22532 * elf/dl-runtime.c (_dl_fixup): Likewise.
22533 * include/set-hooks.h (RUN_HOOK): Likewise.
22534 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22535 definition.
22536 * string/strcpy.c (strcpy): Do not use __unbounded.
22537 * sysdeps/generic/frame.h (struct layout): Likewise.
22538 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22539 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22540 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22541 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22542 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22543 (__backtrace): Likewise.
22544 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22545 use __ptrvalue.
22546 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22547 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22548 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22549 Likewise.
22550 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22551 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22552 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22553 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22554 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22555 Do not use __unbounded.
22556 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22557 Rename __unboundedrlimits parameter to rlimits in prototype.
22558 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22559 Do not use __unbounded.
22560 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22561 not use __ptrvalue.
22562 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22563 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22564 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22565 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22566 __ptrvalue or __unbounded.
22567 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22568 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22569 use __unbounded.
22570 (__new_msgctl): Do not use __ptrvalue.
22571 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22572 __unbounded.
22573 (__libc_msgrcv): Do not use __ptrvalue.
22574 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22575 startup_info): Do not use __unbounded.
22576 (__libc_start_main): Likewise. Rename ubp_* variables and
22577 parameters. Remove argv definitions conditional on
22578 [__BOUNDED_POINTERS__].
22579 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22580 __ptrvalue.
22581 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22582 use __unbounded.
22583 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22584 or __ptrvalue.
22585 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22586 use __unbounded.
22587 (__new_shmctl): Do not use __ptrvalue.
22588 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22589 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22590 Likewise.
22591 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22593 (__libc_sigaction): Likewise.
22594 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22595 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22596 Likewise.
22597 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22598
cc7834d6
OB
225992013-02-13 Ondřej Bílka <neleai@seznam.cz>
22600
ffb1ec7b 22601 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
22602
22603 * string/mempcpy.c: Implement by calling memcpy.
22604
bdf02814
SP
226052013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22606
c2af38aa
SP
22607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22608
4e92d59e
SP
22609 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22610 evaluation.
22611
909279a5
SP
22612 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22613 values in the mantissa.
22614
bdf02814
SP
22615 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22616 minimize writes to Z.
22617 (sub_magnitudes): Simplify code a bit.
22618
cd525923
RM
226192013-02-12 Roland McGrath <roland@hack.frob.com>
22620
22621 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22622 from the message. The linker prefixes all warnings with that already.
22623
7e2f0d2d
AS
226242013-02-12 Andreas Schwab <schwab@suse.de>
22625
a445af0b
AS
22626 [BZ #15078]
22627 * posix/regexec.c (extend_buffers): Add parameter min_len.
22628 (check_matching): Pass minimum needed length.
22629 (clean_state_log_if_needed): Likewise.
22630 (get_subexp): Likewise.
22631 * posix/Makefile (tests): Add bug-regex34.
22632 (bug-regex34-ENV): Define.
22633 * posix/bug-regex34.c: New file.
22634
7e2f0d2d
AS
22635 [BZ #11561]
22636 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22637 elements compare against the byte sequence of it, not its name.
22638 * posix/Makefile (tests): Add bug-regex35.
22639 (bug-regex35-ENV): Define.
22640 * posix/bug-regex35.c: New file.
22641
a175b684
TV
226422013-02-11 Tom de Vries <tom@codesourcery.com>
22643
22644 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22645 comment.
22646 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22647 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22648 (CHECK_EOL): Add undef.
22649
310998fe 226502013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
22651
22652 * bits/stdlib-bsearch.h: New file.
22653 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 22654 * stdlib/stdlib.h: Likewise.
41eda41d 22655
8ded91fb
RM
226562013-02-11 Roland McGrath <roland@hack.frob.com>
22657
22658 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22659 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22660 declaration.
22661 * manual/search.texi (Array Search Function): Add missing const in
22662 lfind prototype.
22663 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22664 declaration to use rlim_t.
22665 (Basic Scheduling Functions): Remove erroneous const from
22666 sched_getparam prototype. Remove erroneous * from
22667 sched_get_priority_max and sched_get_priority_min prototypes.
22668 (Resource Usage): Fix summary @comment on vtimes to refer to
22669 sys/vtimes.h rather than vtimes.h.
22670 Add missing *s in vtimes prototype.
22671 (Limits on Resources): Fix ulimit prototype to return long int.
22672 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22673 prototypes to use long int rather than double.
22674 (BSD Random): Fix initstate and setstate to use char *, not void *.
22675 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22676 prototype to make second argument 'struct aiocb64 *const[]'.
22677 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22678 (Status of AIO Operations): Remove erroneous const in aio_return and
22679 aio_return64 prototypes.
22680 (Synchronizing I/O): Fix sync prototype to return void.
22681 * manual/startup.texi (Suboptions): Remove an erroneous const in
22682 getsubopt prototype.
22683 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22684 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22685 use size_t rather than int.
22686 (Scanning All Users): Likewise for getpwent_r.
22687 (Setting Groups): Add missing const to setgroups prototype.
22688 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22689 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22690 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22691 'const void *' rather than 'const char *'.
22692 (Host Address Functions): Likewise for inet_ntop.
22693 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22694 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22695 ssize_t for return value.
22696 (Sending Data): Likewise for send, sendto, sendmsg.
22697 (Socket Option Functions): Add a missing const in setsockopt prototype.
22698 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22699 use wchar_t for the argument.
22700 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22701 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22702 take no arguments.
22703 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22704 double/float/long double for second argument.
22705 Fix return types of significand, significandf, significandl.
22706 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22707 argument in fchmod prototype.
22708 (File Owner): Use uid_t and gid_t in fchown prototype.
22709 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22710 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22711 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22712 use 'const struct dirent **' as argument types to CMP function pointer
22713 argument.
22714 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22715 (File Times): Fix summary magic @comment for struct utimbuf and utime
22716 to refer to utime.h, not time.h.
22717 * manual/string.texi (Argz Functions): Add missing const in
22718 argz_extract and argz_next prototypes.
22719 (Finding Tokens in a String): Likewise for basename.
22720 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22721 (Copying and Concatenation): Fix typo in wmemmove prototype.
22722 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22723 (Signal Stack): Remove erroneous const in sigstack prototype.
22724 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22725 prototype.
22726 (Simple Calendar Time): Likewise for stime.
22727 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22728 prototype.
22729 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22730 say sys/sysctl.h instead.
22731 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22732 and vsyslog prototypes.
22733
fe77fe6d
TV
227342013-02-11 Tom de Vries <tom@codesourcery.com>
22735
22736 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22737 Remove.
22738
3a09b620
RM
227392013-02-11 Roland McGrath <roland@hack.frob.com>
22740
22741 * misc/sys/mman.h: Fix typo in mremap comment.
22742
550a0b89
RM
227432013-02-08 Roland McGrath <roland@hack.frob.com>
22744
22745 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22746 the '\0' terminator.
22747
a2da1673
JM
227482013-02-08 Joseph Myers <joseph@codesourcery.com>
22749
22750 [BZ #13550]
22751 * debug/segfault.c: Don't include <bp-checks.h>.
22752 * sysdeps/generic/bp-checks.h: Remove file.
22753 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22754 (__GETDENTS): Don't use CHECK_N.
22755 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22756 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22757 (__getgroups): Don't use CHECK_N.
22758 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22759 (setgroups): Don't use CHECK_N.
22760 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22761 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22762 (__libc_msgrcv): Don't use CHECK_N.
22763 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22764 (__libc_msgsnd): Don't use CHECK_N.
22765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22766 <bp-checks.h>.
22767 (__libc_pread): Don't use CHECK_N.
22768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22769 include <bp-checks.h>.
22770 (__libc_pread64): Don't use CHECK_N.
22771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22772 include <bp-checks.h>.
22773 (__libc_pwrite): Don't use CHECK_N.
22774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22775 include <bp-checks.h>.
22776 (__libc_pwrite64): Don't use CHECK_N.
22777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22778 <bp-checks.h>.
22779 (__libc_pread): Don't use CHECK_N.
22780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22781 include <bp-checks.h>.
22782 (__libc_pread64): Don't use CHECK_N.
22783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22784 include <bp-checks.h>.
22785 (__libc_pwrite): Don't use CHECK_N.
22786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22787 include <bp-checks.h>.
22788 (__libc_pwrite64): Don't use CHECK_N.
22789 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22790 (do_pread): Don't use CHECK_N.
22791 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22792 (do_pread64): Don't use CHECK_N.
22793 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22794 (do_pwrite): Don't use CHECK_N.
22795 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22796 (do_pwrite64): Don't use CHECK_N.
22797 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22798 (__libc_readv): Don't use CHECK_N.
22799 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22800 (semop): Don't use CHECK_N.
22801 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22802 <bp-checks.h>.
22803 (semtimedop): Don't use CHECK_N.
22804 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22805 (__libc_pread): Don't use CHECK_N.
22806 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22807 <bp-checks.h>.
22808 (__libc_pread64): Don't use CHECK_N.
22809 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22810 <bp-checks.h>.
22811 (__libc_pwrite): Don't use CHECK_N.
22812 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22813 <bp-checks.h>.
22814 (__libc_pwrite64): Don't use CHECK_N.
22815 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22816 <bp-checks.h>.
22817 (__libc_msgrcv): Don't use CHECK_N.
22818 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22819 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22820 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22821 (__libc_writev): Don't use CHECK_N.
22822
b84660a8
RM
228232013-02-08 Roland McGrath <roland@hack.frob.com>
22824
7f3e75f8
RM
22825 * string/strcpy.c: Removed unused variable.
22826
b84660a8
RM
22827 * Makeconfig (+sysdep-includes): Define with := rather than =.
22828 Use an existing include/ subdir of each sysdeps dir before it.
22829
471514d3
CD
228302013-02-08 Carlos O'Donell <carlos@redhat.com>
22831
22832 * nscd/connection.c (register_traced_file): Comment function.
22833 [HAVE_INOTIFY] (union __inev): Define.
22834 [HAVE_INOTIFY] (inotify_check_files): New function.
22835 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22836 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22837 clear_db_cache.
22838 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22839
b2d3c3be
CD
228402013-02-08 Carlos O'Donell <carlos@redhat.com>
22841
22842 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22843 loaded if not already and that a failure is permanent.
22844
b39949d2
CD
228452013-02-08 Carlos O'Donell <carlos@redhat.com>
22846
ddacd1db 22847 [BZ #15006]
b39949d2
CD
22848 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22849 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22850
b2c9eff4
JM
228512013-02-08 Joseph Myers <joseph@codesourcery.com>
22852
f3aae3f3
JM
22853 [BZ #13550]
22854 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22855 (CHECK_1_NULL_OK): Likewise.
22856 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22857 (__fxstat): Do not use CHECK_1.
22858 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22859 <bp-checks.h>.
22860 (___fxstat64): Do not use CHECK_1.
22861 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22862 <bp-checks.h>.
22863 (__fxstatat): Do not use CHECK_1.
22864 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22865 <bp-checks.h>.
22866 (__fxstatat64): Do not use CHECK_1.
22867 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22868 <bp-checks.h>.
22869 (__fxstat): Do not use CHECK_1.
22870 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22871 <bp-checks.h>.
22872 (__fxstatat): Do not use CHECK_1.
22873 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22874 <bp-checks.h>.
22875 (__getresgid): Do not use CHECK_1.
22876 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22877 <bp-checks.h>.
22878 (__getresuid): Do not use CHECK_1.
22879 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22880 <bp-checks.h>.
22881 (__lxstat): Do not use CHECK_1.
22882 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22883 <bp-checks.h>.
22884 (__old_msgctl): Do not use CHECK_1.
22885 (__new_msgctl): Likewise.
22886 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22887 <bp-checks.h>.
22888 (__new_setrlimit): Do not use CHECK_1.
22889 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22890 <bp-checks.h>.
22891 (__old_shmctl): Do not use CHECK_1.
22892 (__new_shmctl): Likewise.
22893 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22894 <bp-checks.h>.
22895 (__xstat): Do not use CHECK_1.
22896 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22897 (__lxstat): Do not use CHECK_1.
22898 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22899 <bp-checks.h>.
22900 (___lxstat64): Do not use CHECK_1.
22901 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22902 (__old_msgctl): Do not use CHECK_1.
22903 (__new_msgctl): Likewise.
22904 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22905 <bp-checks.h>.
22906 (__gettimeofday): Do not use CHECK_1.
22907 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22908 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22909 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22910 <bp-checks.h>.
22911 (__gettimeofday): Do not use CHECK_1.
22912 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22913 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22914 (__new_shmctl): Do not use CHECK_1.
22915 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22916 <bp-checks.h>.
22917 (do_sigtimedwait): Do not use CHECK_1.
22918 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22919 <bp-checks.h>.
22920 (do_sigwaitinfo): Do not use CHECK_1.
22921 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22922 <bp-checks.h>.
22923 (msgctl): Do not use CHECK_1.
22924 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22925 <bp-checks.h>.
22926 (shmctl): Do not use CHECK_1.
22927 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22928 (ustat): Do not use CHECK_1.
22929 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22930 <bp-checks.h>.
22931 (__fxstat): Do not use CHECK_1.
22932 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22933 <bp-checks.h>.
22934 (__fxstatat): Do not use CHECK_1.
22935 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22936 <bp-checks.h>.
22937 (__lxstat): Do not use CHECK_1.
22938 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22939 <bp-checks.h>.
22940 (__xstat): Do not use CHECK_1.
22941 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22942 (__xstat): Do not use CHECK_1.
22943 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22944 (___xstat64): Do not use CHECK_1.
22945
b2c9eff4
JM
22946 [BZ #13550]
22947 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22948 definitions.
22949 (CHECK_BOUNDS_HIGH): Likewise.
22950 * string/strcpy.c: Do not include <bp-checks.h>.
22951 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22952
f1d70dad
RM
229532013-02-07 Roland McGrath <roland@hack.frob.com>
22954
22955 * nscd/nscd-client.h (__nscd_drop_map_ref):
22956 Add __attribute__ ((unused)).
22957 * nis/nss-nisplus.h (niserr2nss): Likewise.
22958
22959 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22960 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22961
22962 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22963 Remove inline keyword.
22964 * include/rounding-mode.h (round_away): Likewise.
22965 * libio/wfileops.c (adjust_wide_data): Likewise.
22966 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22967 (__m128i_strloadu_tolower): Likewise.
22968 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22969 (__m128i_strloadu_tolower): Likewise.
22970 * time/mktime.c (ydhms_diff): Likewise.
22971 * locale/elem-hash.h (elem_hash): Likewise.
22972 * locale/setlocale.c (setdata): Likewise.
22973 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22974 (re_string_wchar_at): Likewise.
22975 (bitset_not, bitset_merge, bitset_mask): Likewise.
22976 [!(__GNUC__ > 3)] (inline): Remove macro.
22977 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22978 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22979 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22980 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22981 * string/memcmp.c (memcmp_bytes): Likewise.
22982 * locale/programs/locarchive.c (compute_hashval): Likewise.
22983 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22984 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22985 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22986 * nss/getent.c (print_rpc, print_protocols): Likewise.
22987 (print_passwd, print_group, print_aliases): Likewise.
22988 * nis/nss-nisplus.h (niserr2nss): Likewise.
22989 * nscd/connections.c (restart_p): Likewise.
22990 Change return type to bool.
22991
eab55bfb
RM
229922013-02-05 Roland McGrath <roland@hack.frob.com>
22993
7bd642f5
RM
22994 * Makeconfig (all-Depend-files): Add existing
22995 $(sorted-subdirs:=/Depend) files.
22996 (all-subdirs): Remove nss.
22997 * sysdeps/unix/inet/Subdirs: Add it here instead.
22998 * hesiod/Depend: New file.
22999
573c29b2
RM
23000 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23001 instead of calling alloca.
23002
b2e25af0
RM
23003 * io/lseek.c (__lseek): Rename to __libc_lseek.
23004 Define __lseek as an alias.
23005
eab55bfb
RM
23006 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23007
9a0d1941
CD
230082013-02-04 Carlos O'Donell <carlos@redhat.com>
23009
23010 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23011 else clause and remove check for non-standard endianness.
23012
b83bbec4
DM
230132013-02-04 David S. Miller <davem@davemloft.net>
23014
23015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23016
6277fdab
JM
230172013-02-04 Joseph Myers <joseph@codesourcery.com>
23018
23019 [BZ #13550]
23020 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23021 (__ubp_memchr): Remove prototype.
23022 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23023 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23024 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23025 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23026 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23027 Remove alias.
23028 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23029 (__ubp_memchr): Likewise.
23030 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23031 (__ubp_memchr): Likewise.
23032 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23033 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23034 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23035 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23036 CHECK_STRING.
23037 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23038 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23039 (__getcwd): Do not use CHECK_STRING.
23040 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23041 <bp-checks.h>.
23042 (__real_chown): Do not use CHECK_STRING.
23043 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23044 <bp-checks.h>.
23045 (fchownat): Do not use CHECK_STRING.
23046 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23047 CHECK_STRING.
23048 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23049 <bp-checks.h>.
23050 (__lchown): Do not use CHECK_STRING.
23051 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23052 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23053 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23054 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23056 include <bp-checks.h>.
23057 (truncate64): Do not use CHECK_STRING.
23058 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23059 <bp-checks.h>.
23060 (__real_chown): Do not use CHECK_STRING.
23061 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23062 <bp-checks.h>.
23063 (__lchown): Do not use CHECK_STRING.
23064 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23065 <bp-checks.h>.
23066 (__chown): Do not use CHECK_STRING.
23067 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23068 <bp-checks.h>.
23069 (truncate64): Do not use CHECK_STRING.
23070 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23071 Likewise.
23072 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23073 (__xmknod): Do not use CHECK_STRING.
23074 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23075 <bp-checks.h>.
23076 (__xmknodat): Do not use CHECK_STRING.
23077 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23078 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23079
903ae060
AS
230802013-02-04 Andreas Schwab <schwab@suse.de>
23081
23082 [BZ #14142]
23083 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23084 * include/netdb.h: Likewise for h_errno.
23085 * elf/tst-stackguard1.c: Include <tls.h>.
23086
542f9466
JK
230872013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23088
23089 * elf/link.h (struct link_map): Extend the l_addr comment.
23090 * include/link.h (struct link_map): Likewise.
23091
e782a927
JM
230922013-02-01 Joseph Myers <joseph@codesourcery.com>
23093
23094 [BZ #13550]
23095 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23096 (BOUNDED_1): Remove macro.
23097 * debug/backtrace.c: Don't include <bp-checks.h>.
23098 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23099 (__backtrace): Likewise.
23100 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23101 <bp-checks.h>.
23102 (__backtrace): Don't use BOUNDED_1.
23103 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23104 <bp-checks.h>.
23105 (__backtrace): Don't use BOUNDED_1.
23106 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23107 (__backtrace): Don't use BOUNDED_1.
23108 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23109 (shmat): Don't use BOUNDED_N.
23110
8cf28c5e
JM
231112013-01-31 Joseph Myers <joseph@codesourcery.com>
23112
3a7ac8a0
JM
23113 [BZ #13550]
23114 * sysdeps/generic/bp-start.h: Remove file.
23115 * csu/libc-start.c: Don't include <bp-start.h>.
23116 (LIBC_START_MAIN): Set up __environ directly instead of using
23117 INIT_ARGV_and_ENVIRON.
23118 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23119 <bp-start.h>.
23120
f3499f95
JM
23121 [BZ #13550]
23122 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23123 definitions.
23124 (CHECK_FCNTL): Likewise.
23125 (CHECK_N_PAGES): Likewise.
23126
32a45bea
JM
23127 [BZ #13550]
23128 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23129 definitions.
23130 (CHECK_SIGSET_NULL_OK): Likewise.
23131 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23132 <bp-checks.h>.
23133 (sigpending): Don't use CHECK_SIGSET.
23134 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23135 <bp-checks.h>.
23136 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23137 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23138 <bp-checks.h>.
23139 (do_sigsuspend): Don't use CHECK_SIGSET.
23140 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23141 use CHECK_SIGSET.
23142 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23143 (do_sigwait): Don't use CHECK_SIGSET.
23144 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23145 use CHECK_SIGSET.
23146 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23147 include <bp-checks.h>.
23148 (sigpending): Don't use CHECK_SIGSET.
23149 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23150 include <bp-checks.h>.
23151 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23152 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23153 <bp-checks.h>.
23154 (sigpending): Don't use CHECK_SIGSET.
23155 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23156 <bp-checks.h>.
23157 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23158
2e8a5c8c
JM
23159 [BZ #13550]
23160 * sysdeps/generic/bp-semctl.h: Remove file.
23161 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23162 <bp-checks.h> and <bp-semctl.h>.
23163 (__old_semctl): Don't use CHECK_SEMCTL.
23164 (__new_semctl): Likewise.
23165 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23166 and <bp-semctl.h>.
23167 (__old_semctl): Don't use CHECK_SEMCTL.
23168 (__new_semctl): Likewise.
23169 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23170 <bp-checks.h> and <bp-semctl.h>.
23171 (__old_semctl): Don't use CHECK_SEMCTL.
23172 (__new_semctl): Likewise.
23173 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23174 <bp-checks.h> and <bp-semctl.h>.
23175 (semctl): Don't use CHECK_SEMCTL.
23176
c2d54929
JM
23177 [BZ #13550]
23178 * Makerules (elide-bp-thunks): Remove variable.
23179 (elide-routines.oS): Don't use $(elide-bp-thunks).
23180 (elide-routines.os): Likewise.
23181 (elide-routines.o): Likewise.
23182 (elide-routines.op): Likewise.
23183 (elide-routines.og): Likewise.
23184 (objects): Don't use $(bp-thunks).
23185 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23186 include.
23187 (common-generated): Do not add s-proto-bp.d.
23188 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23189 (int): Likewise.
23190 (typ): Likewise.
23191 Do not generate makefile rules for bounded-pointer thunks.
23192 * sysdeps/generic/bp-thunks.h: Remove file.
23193 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23194 * sysdeps/unix/s-proto-bp.S: Likewise.
23195
8cf28c5e
JM
23196 [BZ #15062]
23197 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23198 parts of result separately when argument is not close to line from
23199 -i to i and one part of argument is small.
23200 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23201 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23202 * math/libm-test.inc (cacos_test): Add more tests.
23203 (casin_test): Likewise.
23204 (casinh_test): Likewise.
23205 * sysdeps/i386/fpu/libm-test-ulps: Update.
23206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23207
c4e33b8d
DM
232082013-01-31 David S. Miller <davem@davemloft.net>
23209
23210 * po/de.po: Update from translation team.
23211
3b60b421
MK
232122013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23213
23214 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23215
bb931195
TS
232162013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23217
b5a5da23
TS
23218 * configure.in (_AC_PROG_CC_C89): New definition.
23219 * configure: Regenerate.
23220
bb931195
TS
23221 * configure.in (AC_PROG_CPP): New definition.
23222 * configure: Regenerate.
23223
8c53a12c
JM
232242013-01-23 Joseph Myers <joseph@codesourcery.com>
23225
23226 * debug/tst-backtrace.h: New file.
23227 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23228 (ret): Remove variable.
23229 (x): Likewise.
23230 (FAIL): Remove macro.
23231 (NO_INLINE): Likewise.
23232 (fn1): Use match function instead of strstr.
23233 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23234 (ret): Remove variable.
23235 (x): Likewise.
23236 (FAIL): Remove macro.
23237 (NO_INLINE): Likewise.
23238 (fn): Use match function instead of strstr.
23239 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23240 (ret): Remove variable.
23241 (x): Likewise.
23242 (FAIL): Remove macro.
23243 (NO_INLINE): Likewise.
23244 (handle_signal): Use match function instead of strstr.
23245 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23246 (ret): Remove variable.
23247 (x): Likewise.
23248 (FAIL): Remove macro.
23249 (NO_INLINE): Likewise.
23250 (handle_signal): Use match function instead of strstr.
23251
4858fa2a
RM
232522013-01-23 Roland McGrath <roland@hack.frob.com>
23253
23254 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23255
bae8e7f5
DM
232562013-01-23 David S. Miller <davem@davemloft.net>
23257
23258 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23259 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23260 argument of CAS if possible.
23261 * sysdeps/sparc/sparc64/bits/atomic.h
23262 (__arch_compare_and_exchange_val_32_acq): Likewise.
23263 (__arch_compare_and_exchange_val_64_acq): Likewise.
23264
9cbbc4ae
PT
232652013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23266
23267 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23268 * sysdeps/posix/ulimit.c: ... this.
92a601b8 23269 Include <limits.h>.
67b3f58c 23270 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 23271
5655a0b5
AC
232722013-01-23 Adam Conrad <adconrad@0c3.net>
23273
23274 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23275 (LDFLAGS-tst-array5): Likewise.
23276
052aff95
JM
232772013-01-23 Joseph Myers <joseph@codesourcery.com>
23278
23279 [BZ #15036]
23280 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23281 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23282 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23283 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23284
7c1e01aa
DM
232852013-01-21 David S. Miller <davem@davemloft.net>
23286
23287 * sysdeps/sparc/backtrace.c: New file.
23288 * sysdeps/sparc/sparc32/backtrace.h: New file.
23289 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23290 * sysdeps/sparc/sparc64/backtrace.h: New file.
23291 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23292 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23293 -funwind-tables.
23294
ab087e0a
AS
232952013-01-21 Andreas Schwab <schwab@suse.de>
23296
23297 [BZ #15020]
23298 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23299 closed its stdout.
23300
ed689c2f
AS
233012013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23302
23303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23304 "mpa2.h".
23305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23306
31d470ac
JM
233072013-01-18 Joseph Myers <joseph@codesourcery.com>
23308 Mark Mitchell <mark@codesourcery.com>
23309 Tom de Vries <tom@codesourcery.com>
23310 Paul Pluzhnikov <ppluzhnikov@google.com>
23311
23312 * debug/tst-backtrace2.c: New file.
23313 * debug/tst-backtrace3.c: Likewise.
23314 * debug/tst-backtrace4.c: Likewise.
23315 * debug/tst-backtrace5.c: Likewise.
23316 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23317 (CFLAGS-tst-backtrace3.c): Likewise.
23318 (CFLAGS-tst-backtrace4.c): Likewise.
23319 (CFLAGS-tst-backtrace5.c): Likewise.
23320 (LDFLAGS-tst-backtrace2): Likewise.
23321 (LDFLAGS-tst-backtrace3): Likewise.
23322 (LDFLAGS-tst-backtrace4): Likewise.
23323 (LDFLAGS-tst-backtrace5): Likewise.
23324 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23325 tst-backtrace4 and tst-backtrace5.
23326
90567f30 233272013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
23328 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23329
23330 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23331 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23332 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23333 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23335 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23336 "+r" and remove output regs list as redundant. Add explicit inline
23337 asm to specify register of return val to work around compiler codegen
23338 bug. Remove (int) cast on return value. Add return type parameter to
23339 use in macro so that this macro does not truncate return value for
23340 64-bit values.
23341 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23342 pass to INTERNAL_VSYSCALL_NCS.
23343 (INLINE_VSYSCALL): Add 'long int' as return type to
23344 INTERNAL_VSYSCALL_NCS macro invocation.
23345 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23346 INTERNAL_VSYSCALL_NCS macro invocation.
23347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23348
d3b9ea61
SP
233492013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23350
0b57daeb
SP
23351 [BZ #14496]
23352 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23353 Fix application of SIMD FP exception mask.
23354
caa99d06
SP
23355 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23356 mp_no from a power of two.
23357 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23358 __mpexp_twomm1. Use __pow_mp.
23359
d3b9ea61
SP
23360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23361 multiplication.
23362
1dbaee3c
DM
233632013-01-17 David S. Miller <davem@davemloft.net>
23364
23365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23366
728d7b43
JM
233672013-01-17 Joseph Myers <joseph@codesourcery.com>
23368
23369 [BZ #15023]
23370 * include/complex.h: Condition contents on [!_COMPLEX_H].
23371 (__kernel_casinhf): New prototype.
23372 (__kernel_casinh): Likewise.
23373 (__kernel_casinhl): Likewise.
23374 * math/Makefile (libm_calls): Add k_casinh.
23375 * math/k_casinh.c: New file.
23376 * math/k_casinhf.c: Likewise.
23377 * math/k_casinhl.c: Likewise.
23378 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23379 finite nonzero arguments.
23380 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23381 finite nonzero arguments.
23382 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23383 finite nonzero arguments.
23384 * math/s_casinh.c: Do not include <float.h>.
23385 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23386 * math/s_casinhf.c: Do not include <float.h>.
23387 (__casinhf): Move code for finite nonzero arguments to
23388 k_casinhf.c.
23389 * math/s_casinhl.c: Do not include <float.h>.
23390 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23391 redefine.
23392 (__casinhl): Move code for finite nonzero arguments to
23393 k_casinhl.c.
23394 * math/libm-test.inc (cacos_test): Add more tests.
23395 * sysdeps/i386/fpu/libm-test-ulps: Update.
23396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23397
2a26ef3a
PT
233982013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23399
23400 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23401 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23402 [!HAVE_MREMAP]: Remove [defined linux] case.
23403 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23404
a897655d
SP
234052013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23406
23407 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23408
881ebe89 234092013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
23410
23411 * elf/elf.h (R_386_SIZE32): New relocation.
23412 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23413 R_386_SIZE32.
23414 (elf_machine_rela): Likewise.
23415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23416 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23417
59981e9b
JM
234182013-01-17 Joseph Myers <joseph@codesourcery.com>
23419
23420 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23421 (FP_FAST_FMA): Do not define.
23422 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23423 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23424 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23425 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23426 !_SOFT_FLOAT]: Likewise.
23427 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23428 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23429 value.
23430 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23431 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23432 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23433 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23434 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23435 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23436 file.
23437
cfa8054f
AS
234382013-01-16 Andreas Schwab <schwab@suse.de>
23439
23440 [BZ #14327]
23441 * include/stdlib.h (__mktemp): Add declaration.
23442 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23443 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23444
dd930cc5
SP
234452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23446
881ebe89
SP
23447 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23448 definitions.
23449 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23450 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23451 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23452 definitions here.
23453 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23454 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23455 definitions.
23456 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23457 and ONE.
23458 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23459 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23460 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23461 definitions.
23462 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23463 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23464 definitions.
23465 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 23466
dd930cc5
SP
23467 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23468
c19a9f89
DM
234692013-01-15 David S. Miller <davem@davemloft.net>
23470
1aa61767
DM
23471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23472 trunc{,f} to libm-sysdep_routes.
23473 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23475 file.
23476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23478 file.
23479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23480 file.
23481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23483 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23484 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23485 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23486 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23487 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23488 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23489
c42d5e98
DM
23490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23491 nearbyint{,f} to libm-sysdep_routes.
23492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23494 New file.
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23496 file.
23497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23498 New file.
23499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23500 file.
23501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23503 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23504 file.
23505 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23506 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23507 file.
23508 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23509 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23510 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23511
c19a9f89
DM
23512 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23513 libc_feholdexcept and libc_fesetenv.
23514
357679d2
MF
235152013-01-15 Mike Frysinger <vapier@gentoo.org>
23516
23517 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23518
65a82e3d
DM
235192013-01-14 David S. Miller <davem@davemloft.net>
23520
8b954ab9
DM
23521 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23522 (SPARC_ASM_VIS2_IFUNC): Likewise.
23523 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23525 use of 'siam' instruction.
23526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23527 Likewise.
23528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23529 Likewise.
23530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23531 Likewise.
23532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23537 file.
23538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23539 file.
23540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23541 file.
23542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23543 file.
23544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23549 new VIS2 routines.
23550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23553 Likewise.
23554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23559 routines to libm-sysdep_routines.
23560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23561
65a82e3d
DM
23562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23563 fdim/fdimf to libm-sysdep_routines.
23564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23565 file.
23566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23568 file.
23569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23572 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23573 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23574 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23575 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23576
e34ab705
SP
235772013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23578
2a91b573
SP
23579 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23580 to optimize copies.
23581
1066a534
SP
23582 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23585
e34ab705
SP
23586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23587 local variable MPTWO.
23588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23589 Likewise.
23590
aba5e596
MF
235912013-01-13 Mike Frysinger <vapier@gentoo.org>
23592
23593 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23594 GLOB_NOESCAPE.
23595
e557e9e5
MF
235962013-01-13 Mike Frysinger <vapier@gentoo.org>
23597
23598 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23599
0428cec9
MF
236002013-01-13 Mike Frysinger <vapier@gentoo.org>
23601
23602 * manual/pattern.texi (glob_t): Document gl_flags.
23603 (glob64_t): Likewise.
23604
8794a964
DM
236052013-01-11 David S. Miller <davem@davemloft.net>
23606
66438c3f
RM
23607 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23608 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23609 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
23610 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23611 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23612 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23613 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23614 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23615 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23616 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23617 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23618 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23619 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23620
4ae4244d
DM
23621 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23622 sparc V9 rather than using V8 code.
23623 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23624 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23625
8794a964
DM
23626 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23627 Move to...
23628 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23629 Here.
23630
6270516e
RM
236312013-01-11 Roland McGrath <roland@hack.frob.com>
23632
23633 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23634 not in the main loop.
23635 * configure: Regenerated.
23636
6a57d931
JM
236372013-01-11 Joseph Myers <joseph@codesourcery.com>
23638
23639 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23640 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23641 to just #else.
23642 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23643 [!__GLIBC_HAVE_LONG_LONG] case.
23644 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23645 condition to just #else.
23646 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23647 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23648 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23649 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23650 unconditional.
23651 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23652 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23653 #elif condition to just #else.
23654 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23655 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23656 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23657 #elif condition to just #else.
23658
0e8529e9
SE
236592013-01-11 Steve Ellcey <sellcey@mips.com>
23660
23661 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23662 (EF_MIPS_ARCH_64): Fix value.
23663 (EF_MIPS_ARCH_32R2): New.
23664 (EF_MIPS_ARCH_64R2): New.
23665
740b3dbe
L
236662013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23667
23668 * Makeconfig (+link-pie-before-libc): New.
23669 (+link-pie-after-libc): Likewise.
23670 (+link-pie-tests): Likewise.
23671 (+link-pie): Rewritten.
23672 (link-before-libc): Remove $(config-LDFLAGS).
23673 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23674 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23675 (config-LDFLAGS): Renamed to ...
23676 (rtld-LDFLAGS): This.
23677 (rtld-tests-LDFLAGS): New macro.
23678 (link-libc-rpath-link): Likewise.
23679 (link-libc-tests-rpath-link): Likewise.
23680 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23681 (link-libc): Prepand $(link-libc-rpath-link).
23682 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23683 (test-program-prefix): New macro.
23684 (test-via-rtld-prefix): Likewise.
23685 (test-program-cmd): Likewise.
23686 (host-test-program-cmd): Likewise.
23687 * Makefile ($(common-objpfx)testrun.sh): Replace
23688 $(run-program-prefix) with $(test-program-prefix).
23689 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23690 $(rtld-LDFLAGS).
23691 ($(common-objpfx)shlib.lds): Likewise.
23692 (build-module-helper): Likewise.
23693 ($(common-objpfx)format.lds): Likewise.
23694 * Rules (binaries-pie-tests): New.
23695 (binaries-pie-notests): Likewise.
23696 (binaries-pie): Rewritten.
23697 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23698 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23699 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23700 (make-test-out): Replace $(host-built-program-cmd) with
23701 $(host-test-program-cmd).
23702 * config.make.in (build-hardcoded-path-in-tests): New variable.
23703 * configure.in (--enable-hardcoded-path-in-tests): New configure
23704 option.
23705 (hardcoded_path_in_tests): New AC_SUBST.
23706 * configure: Regenerated.
23707 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23708 $(built-program-cmd) with $(test-program-cmd).
23709 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23710 (test_program_cmd): This.
23711 * elf/Makefile ($(objpfx)order.out): Run test with
23712 $(test-program-prefix).
23713 ($(objpfx)order2.out): Likewise.
23714 ($(objpfx)tst-initorder.out): Likewise.
23715 ($(objpfx)tst-initorder2.out): Likewise.
23716 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23717 $(test-program-cmd).
23718 ($(objpfx)tst-array1-static.out): Likewise.
23719 ($(objpfx)tst-array2.out): Likewise.
23720 ($(objpfx)tst-array3.out): Likewise.
23721 ($(objpfx)tst-array4.out): Likewise.
23722 ($(objpfx)tst-array5.out): Likewise.
23723 ($(objpfx)tst-array5-static.out): Likewise.
23724 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23725 $(test-program-cmd).
23726 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23727 $(run-program-prefix) with $(test-program-prefix).
23728 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23729 (test_program_prefix): This.
23730 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23731 $(run-program-prefix) with $(test-program-prefix).
23732 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23733 (test_program_prefix): This.
23734 * iconvdata/tst-tables.sh: Likewise.
23735 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23736 $(run-program-prefix) with $(test-program-prefix).
23737 ($(objpfx)tst-translit.out): Likewise.
23738 ($(objpfx)tst-gettext2.out): Likewise.
23739 ($(objpfx)tst-gettext4.out): Likewise.
23740 ($(objpfx)tst-gettext6.out): Likewise.
23741 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23742 (test_program_prefix): This.
23743 * intl/tst-gettext2.sh: Likewise.
23744 * intl/tst-gettext4.sh Likewise.
23745 * intl/tst-gettext6.sh: Likewise.
23746 * intl/tst-translit.sh: Likewise.
23747 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23748 with $(test-program-cmd).
23749 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23750 $(run-program-prefix) with $(test-program-prefix).
23751 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23752 (test_program_prefix): This.
23753 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23754 $(run-program-prefix) with $(test-program-prefix).
23755 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23756 (test_program_prefix): This.
23757 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23758 * posix/Makefile ($(objpfx)globtest.out): Replace
23759 $(run-via-rtld-prefix) and $(test-wrapper) with
23760 $(test-program-prefix) and $(test-via-rtld-prefix).
23761 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23762 $(test-program-prefix).
23763 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23764 $(host-test-program-cmd).
23765 (tst-spawn-ARGS): Likewise.
23766 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23767 $(test-program-prefix).
23768 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23769 (test_via_rtld_prefix): This.
23770 (test_wrapper): Renamed to ...
23771 (test_program_prefix): This.
23772 (run_program_prefix): Replaced by test_program_prefix.
23773 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23774 (test_program_prefix): This.
23775 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23776 with $(host-test-program-cmd).
23777 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23778 $(run-program-prefix) with $(test-program-prefix).
23779 ($(objpfx)tst-printf.out): Likewise.
23780 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23781 $(test-program-cmd).
23782 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23783 (test_program_prefix): This.
23784 * stdio-common/tst-unbputc.sh: Likewise.
23785 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23786 $(run-program-prefix) with $(test-program-prefix).
23787 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23788 (test_program_prefix): This.
23789 * string/Makefile ($(objpfx)tst-svc.out): Replace
23790 $(built-program-cmd) with $(test-program-cmd).
23791
c6fe55cf
AJ
237922013-01-11 Andreas Jaeger <aj@suse.de>
23793
23794 [BZ #15003]
23795 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23796 value. Sync with Linux 3.7.
23797
9e6919c8
DM
237982013-01-10 David S. Miller <davem@davemloft.net>
23799
23800 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23801 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23802 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23803
1c9f1a02
RM
238042013-01-10 Roland McGrath <roland@hack.frob.com>
23805
23806 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23807 never set.
23808 * configure: Regenerated.
23809
b9de2dde
DM
238102013-01-10 David S. Miller <davem@davemloft.net>
23811
23812 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23813 sparc V9 rather than using V8 code.
23814 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23815 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23816
e7f68ef4
RM
238172013-01-10 Roland McGrath <roland@hack.frob.com>
23818
23819 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23820 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23821 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23822 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23823 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23824 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23825 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23826 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23827 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23828 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23829 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23830 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23831 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23832 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23833 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23834 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23835 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23836 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23837 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23838 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23839 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23840 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23841 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23842 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23843 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23844 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23845 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23846
5a47cc9c
DM
238472013-01-10 David S. Miller <davem@davemloft.net>
23848
23849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23850
4cf8f209
L
238512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23852
23853 * posix/Makefile (tests-static): New variable.
23854 (tests): Add $(tests-static).
23855 (tst-exec-static-ARGS): New variable.
23856 (tst-spawn-static-ARGS): Likewise.
23857 * posix/tst-exec-static.c: New file.
23858 * posix/tst-spawn-static.c: Likewise.
23859 * posix/tst-exec.c: Support run directly.
23860 * posix/tst-spawn.c: Likewise.
23861
fed0faa1
JM
238622013-01-10 Joseph Myers <joseph@codesourcery.com>
23863
828beb13
JM
23864 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23865 long.
23866 * math/bits/mathcalls.h (llrint): Likewise.
23867 (llround): Likewise.
23868 * stdlib/stdlib.h (struct drand48_data): Likewise.
23869 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23870 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23871 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23872 Likewise.
23873 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23874 Likewise.
23875 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23876 (elf_greg_t): Likewise.
23877 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23878 (__jmp_buf): Likewise.
23879 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23880 definitions.
23881 (llrint): Likewise, for all definitions.
23882 (llrintl): Likewise.
23883
fed0faa1
JM
23884 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23885 Remove [__GNUC__] condition.
23886 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23887 condition to just [__USE_ISOC99].
23888 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23889
1a20cb20
L
238902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23891
23892 [BZ #14200]
23893 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23894 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23895 defined.
23896 (_POSIX_V6_ILP32_OFF32): Likewise.
23897 (_XBS5_ILP32_OFF32): Likewise.
23898 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23899 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23900
751b85f7
SP
239012013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23902
7490eb81
SP
23903 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23904
751b85f7
SP
23905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23906 doubles __mpexp_twomm1. Adjust usage.
23907 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23908 Remove.
23909
988197f0
AS
239102013-01-10 Andreas Schwab <schwab@suse.de>
23911
23912 [BZ #14964]
23913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23914 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23915
e83d7298
DM
239162013-01-09 David S. Miller <davem@davemloft.net>
23917
034ed64b 23918 [BZ #15003]
57f41c40
AS
23919 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23920 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23921 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23922 (TCP_FASTOPEN): Define.
e83d7298
DM
23923 (tcp_repair_opt): New structure.
23924 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23925 enum values.
57f41c40
AS
23926 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23927 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23928 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
23929 (tcp_cookie_transactions): New structure.
23930
d5e0b9bd
AB
239312013-01-09 Anton Blanchard <anton@samba.org>
23932
23933 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23934 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23935 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23936 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23937
0c07e3ea
JM
239382013-01-09 Joseph Myers <joseph@codesourcery.com>
23939
23940 * include/features.h (__USE_ANSI): Remove.
23941
232f7002
RM
239422013-01-09 Roland McGrath <roland@hack.frob.com>
23943
ad98e30c
RM
23944 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23945
232f7002
RM
23946 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23947
950c99ca
SP
239482013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23949
b5792741
SP
23950 * sysdeps/s390/fpu/libm-test-ulps: Update.
23951
47cf2278
SP
23952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23953
950c99ca
SP
23954 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23955 (__acr): Likewise.
23956 (__cpy): Likewise.
23957 (norm): Likewise.
23958 (denorm): Likewise.
23959 (__mp_dbl): Likewise.
23960 (__dbl_mp): Likewise.
23961 (add_magnitudes): Likewise.
23962 (sub_magnitudes): Likewise.
23963 (__add): Likewise.
23964 (__sub): Likewise.
23965 (__mul): Likewise.
23966 (__inv): Likewise.
23967 (__dvd): Likewise.
23968 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23969 (__acr): Likewise.
23970 (__cpy): Likewise.
23971 (norm): Likewise.
23972 (denorm): Likewise.
23973 (__mp_dbl): Likewise.
23974 (__dbl_mp): Likewise.
23975 (add_magnitudes): Likewise.
23976 (sub_magnitudes): Likewise.
23977 (__add): Likewise.
23978 (__sub): Likewise.
23979 (__mul): Likewise.
23980 (__inv): Likewise.
23981 (__dvd): Likewise.
23982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23983 (__acr): Likewise.
23984 (__cpy): Likewise.
23985 (norm): Likewise.
23986 (denorm): Likewise.
23987 (__mp_dbl): Likewise.
23988 (__dbl_mp): Likewise.
23989 (add_magnitudes): Likewise.
23990 (sub_magnitudes): Likewise.
23991 (__add): Likewise.
23992 (__sub): Likewise.
23993 (__mul): Likewise.
23994 (__inv): Likewise.
23995 (__dvd): Likewise.
23996
eede9df9
JM
239972013-01-08 Joseph Myers <joseph@codesourcery.com>
23998
23999 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24000 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24001 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24002 2 && __USE_EXTERN_INLINES]: Likewise.
24003
c40ea3d9
AJ
240042013-01-08 Andreas Jaeger <aj@suse.de>
24005
24006 [BZ# 14985]
24007 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24008 Remove.
24009 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24010 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24011
2ccdea26
AB
240122013-01-07 Anton Blanchard <anton@samba.org>
24013
24014 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24015 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24016 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24017 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24018 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24019 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24020 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24021 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24023 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24024 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24025 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24027 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24028 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24029 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24030 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24031 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24032 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24033 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24034 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24035 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24037 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24038 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24039 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24040 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24041 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24042 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24043 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24044 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24046 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24047 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24048 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24049 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24050 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24051 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24053 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24054 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24056 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24057
a9708fed
JM
240582013-01-07 Joseph Myers <joseph@codesourcery.com>
24059
375607b9
JM
24060 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24061 (__MALLOC_PMT): Likewise.
24062 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24063 [__GNUC__], only on [_LIBC].
24064 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24065 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24066 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24067 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24068 forward declaration.
24069 (realloc_hook_ini): Likewise.
24070 (memalign_hook_ini): Likewise.
24071 (__libc_memalign): Do not use __MALLOC_PMT in variable
24072 declaration.
24073 (__libc_valloc): Likewise.
24074 (__libc_pvalloc): Likewise.
24075 (__libc_calloc): Likewise.
24076 (__posix_memalign): Likewise.
24077
a9708fed
JM
24078 [BZ #14996]
24079 * math/s_casinh.c: Include <float.h>.
24080 (__casinh): Do not do computation with squaring and square root
24081 for large arguments.
24082 * math/s_casinhf.c: Include <float.h>.
24083 (__casinhf): Do not do computation with squaring and square root
24084 for large arguments.
24085 * math/s_casinhl.c: Include <float.h>.
24086 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24087 (__casinhl): Do not do computation with squaring and square root
24088 for large arguments.
24089 * math/libm-test.inc (casin_test): Add more tests.
24090 (casinh_test): Likewise.
24091 * sysdeps/i386/fpu/libm-test-ulps: Update.
24092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24093
afec409a
L
240942013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24095
24096 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24097 (__x86_64_raw_data_cache_size): Likewise.
24098 (__x86_64_data_cache_size_half): Likewise.
24099 (__x86_64_raw_data_cache_size_half): Likewise.
24100 (__x86_64_shared_cache_size): Likewise.
24101 (__x86_64_raw_shared_cache_size): Likewise.
24102 (__x86_64_shared_cache_size_half): Likewise.
24103 (__x86_64_raw_shared_cache_size_half): Likewise.
24104 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24105 to ...
24106 (__x86_data_cache_size): This.
24107 (__x86_64_raw_data_cache_size): Renamed to ...
24108 (__x86_raw_data_cache_size): This.
24109 (__x86_64_data_cache_size_half): Renamed to ...
24110 (__x86_data_cache_size_half): This.
24111 (__x86_64_raw_data_cache_size_half): Renamed to ...
24112 (__x86_raw_data_cache_size_half): This.
24113 (__x86_64_shared_cache_size): Renamed to ...
24114 (__x86_shared_cache_size): This.
24115 (__x86_64_raw_shared_cache_size): Renamed to ...
24116 (__x86_raw_shared_cache_size): This.
24117 (__x86_64_shared_cache_size_half): Renamed to ...
24118 (__x86_shared_cache_size_half): This.
24119 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24120 (__x86_raw_shared_cache_size_half): This.
24121 * sysdeps/x86_64/memcpy.S: Updated.
24122 * sysdeps/x86_64/memset.S: Likewise.
24123 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24124 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24126
0b3986d0
DM
241272013-01-04 David S. Miller <davem@davemloft.net>
24128
24129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24130
e47686e9
AS
241312013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24132
d643bac1
AS
24133 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24134 1 to avoid redefinition warning.
24135 (__USE_GNU): Don't define.
24136 (init_signaling_nan): Protoize.
24137
e47686e9
AS
24138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24139
b18decba
SP
241402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24141
fffb407f
SP
24142 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24144 (__cpymn): Likewise.
24145 (norm): Remove commented code.
24146 (denorm): Likewise.
24147 (__mp_dbl): Likewise.
24148 (__inv): Likewise.
24149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24150 (__cpymn): Likewise.
24151 (norm): Remove commented code.
24152 (denorm): Likewise.
24153 (__mp_dbl): Likewise.
24154 (__inv): Likewise.
24155
b18decba
SP
24156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24157 mp_no value for 1.0 and 2.0.
24158 (norm): Use RADIXI instead of radixi.d.
24159 (denorm): Likewise.
24160 (__mul): Use 0.0 instead of zero.d.
24161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24162 mp_no value for 1.0 and 2.0.
24163 (norm): Use RADIXI instead of radixi.d.
24164 (denorm): Likewise.
24165 (__mul): Use 0.0 instead of zero.d.
24166
cdc1c96f
JM
241672013-01-04 Joseph Myers <joseph@codesourcery.com>
24168
24169 [BZ #14994]
24170 * math/s_casinh.c (__casinh): Reduce finite argument to first
24171 quadrant then set signs of results at the end.
24172 * math/s_casinhf.c (__casinhf): Likewise.
24173 * math/s_casinhl.c (__casinhl): Likewise.
24174 * math/libm-test.inc (casin_test): Add more tests.
24175 (casinh_test): Likewise.
24176 * sysdeps/i386/fpu/libm-test-ulps: Update.
24177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24178
302913e1
SP
241792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24180
6420d207
SP
24181 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24182
a9e48ab4
SP
24183 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24184
b7837264
SP
24185 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24186 declarations.
24187 (denorm): Likewise.
24188 (__mp_dbl): Likewise.
24189 (__inv): Likewise.
24190
f8af25d2
SP
24191 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24192 and adjust the header comment.
24193
302913e1
SP
24194 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24195 variable name from declaration.
24196
5d7dd1ca
L
241972013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24198
24199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24200 Initialize COMMON_CPUID_INDEX_7 element.
24201 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24202 (CPUID_RTM): Likewise.
24203 (HAS_RTM): Likewise.
24204 (COMMON_CPUID_INDEX_7): New enum.
24205
2f5f40f4
AS
242062013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24207
24208 [BZ #14981]
24209 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24210 size is zero, record memory as freed.
24211
4056f4a0
AJ
242122013-01-03 Andreas Jaeger <aj@suse.de>
24213
24214 * po/ia.po: Add new Interlingua translation.
24215
ab15736f 242162012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
24217
24218 * locale/programs/localedef.c: Fix description of '--posix' flag.
24219
568035b7
JM
242202013-01-02 Joseph Myers <joseph@codesourcery.com>
24221
e6898b8d
JM
24222 * NEWS: Update dates in second copyright notice.
24223 * README: Update copyright dates in example.
24224 * manual/libc.texinfo: Update copyright dates.
24225 * scripts/test-installation.pl: Update copyright date in --version
24226 output.
24227
0e2f9562
JM
24228 * hurd/ctty-input.c: Fix copyright notice formatting.
24229 * hurd/ctty-output.c: Likewise.
24230 * hurd/dtable.c: Likewise.
24231 * hurd/hurd-raise.c: Likewise.
24232 * hurd/hurdprio.c: Likewise.
24233 * hurd/msgportdemux.c: Likewise.
24234 * misc/sys/file.h: Likewise.
24235 * misc/sys/ioctl.h: Likewise.
24236 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24237 * sysdeps/mach/hurd/chdir.c: Likewise.
24238 * sysdeps/mach/hurd/fchdir.c: Likewise.
24239 * sysdeps/mach/hurd/rename.c: Likewise.
24240 * sysdeps/mach/hurd/rmdir.c: Likewise.
24241 * sysdeps/mach/hurd/seekdir.c: Likewise.
24242 * sysdeps/mach/hurd/setsid.c: Likewise.
24243 * sysdeps/posix/wait3.c: Likewise.
24244
568035b7
JM
24245 * All files with FSF copyright notices: Update copyright dates
24246 using scripts/update-copyrights.
24247 * intl/plural.c: Regenerated.
24248 * locale/programs/charmap-kw.h: Likewise.
24249 * locale/programs/locfile-kw.h: Likewise.
24250
da08f647
SP
242512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24252
0f5477af
SP
24253 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24254 four values.
24255
44e0d4c2
SP
24256 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24257 calculation loop and add branch prediction.
24258
4d55b4e5
SP
24259 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24260 check access beyond bounds of m1np.
24261
da08f647
SP
24262 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24263 MPTWO.
24264 (__inv): Remove local variable MPTWO to use the global
24265 constant.
24266 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24268 variable MPTWO.
24269 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24270 MP3HALFS static const.
24271
8e051029
DM
242722013-01-01 David S. Miller <davem@davemloft.net>
24273
24274 * po/ca.po: Update from translation team.
24275
f4cf5f2d
JM
242762013-01-01 Joseph Myers <joseph@codesourcery.com>
24277
24278 * scripts/update-copyrights: New file.
24279 * Makeconfig: Reformat copyright notice.
24280 * ctype/ctype.h: Likewise.
24281 * debug/swprintf_chk.c: Likewise.
24282 * elf/dl-cache.c: Likewise.
24283 * elf/dl-debug.c: Likewise.
24284 * elf/dl-object.c: Likewise.
24285 * grp/initgroups.c: Likewise.
24286 * hurd/Makefile: Likewise.
24287 * hurd/hurd/signal.h: Likewise.
24288 * hurd/hurdfault.c: Likewise.
24289 * hurd/hurdioctl.c: Likewise.
24290 * hurd/hurdlookup.c: Likewise.
24291 * hurd/intr-msg.c: Likewise.
24292 * iconv/gconv_open.c: Likewise.
24293 * libio/swprintf.c: Likewise.
24294 * locale/lc-ctype.c: Likewise.
24295 * locale/nl_langinfo.c: Likewise.
24296 * mach/Machrules: Likewise.
24297 * mach/Makefile: Likewise.
24298 * malloc/obstack.h: Likewise.
24299 * manual/Makefile: Likewise.
24300 * manual/tsort.awk: Likewise.
24301 * misc/bits/stab.def: Likewise.
24302 * nis/nis_print_group_entry.c: Likewise.
24303 * nis/nis_table.c: Likewise.
24304 * nis/nss_compat/compat-pwd.c: Likewise.
24305 * nis/nss_compat/compat-spwd.c: Likewise.
24306 * po/Makefile: Likewise.
24307 * posix/fnmatch.c: Likewise.
24308 * posix/regex.h: Likewise.
24309 * resolv/Makefile: Likewise.
24310 * resolv/nss_dns/dns-network.c: Likewise.
24311 * resolv/res_hconf.c: Likewise.
24312 * scripts/gen-sorted.awk: Likewise.
24313 * soft-fp/soft-fp.h: Likewise.
24314 * stdio-common/printf.h: Likewise.
24315 * stdlib/monetary.h: Likewise.
24316 * stdlib/random.c: Likewise.
24317 * stdlib/random_r.c: Likewise.
24318 * sysdeps/generic/Makefile: Likewise.
24319 * sysdeps/gnu/Makefile: Likewise.
24320 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24321 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24322 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24327 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24328 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24329 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24330 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24331 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24332 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24333 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24334 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24335 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24336 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24340 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24341 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24342 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24343 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24344 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24346 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24348 * sysdeps/mach/hurd/errnos.awk: Likewise.
24349 * sysdeps/mach/hurd/fork.c: Likewise.
24350 * sysdeps/mach/hurd/getcwd.c: Likewise.
24351 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24352 * sysdeps/mach/hurd/mmap.c: Likewise.
24353 * sysdeps/mach/hurd/utimes.c: Likewise.
24354 * sysdeps/mach/hurd/xmknod.c: Likewise.
24355 * sysdeps/posix/profil.c: Likewise.
24356 * sysdeps/posix/readdir_r.c: Likewise.
24357 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24358 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24359 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24360 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24362 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24363 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24364 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24366 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24367 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24368 * sysdeps/pthread/lio_listio.c: Likewise.
24369 * sysdeps/sparc/dl-procinfo.h: Likewise.
24370 * sysdeps/unix/i386/sysdep.S: Likewise.
24371 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24372 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24373 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24374 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24376 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24377 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24378 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24379 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24380 * sysdeps/wordsize-32/divdi3.c: Likewise.
24381 * time/sys/time.h: Likewise.
24382 * wcsmbs/Makefile: Likewise.
24383
0549fbba
DM
243842013-01-01 David S. Miller <davem@davemloft.net>
24385
a141f1a7
DM
24386 * po/fr.po: Update from translation team.
24387
0549fbba
DM
24388 * catgets/gencat.c: Update copyright year.
24389 * csu/version.c: Likewise.
24390 * debug/catchsegv.sh: Likewise.
24391 * debug/pcprofiledump.c: Likewise.
24392 * debug/xtrace.sh: Likewise.
24393 * elf/ldconfig.c: Likewise.
24394 * elf/ldd.bash.in: Likewise.
24395 * elf/pldd.c: Likewise.
24396 * elf/sotruss.ksh: Likewise.
24397 * elf/sprof.c: Likewise.
24398 * iconv/iconv_prog.c: Likewise.
24399 * iconv/iconvconfig.c: Likewise.
24400 * locale/programs/locale.c: Likewise.
24401 * locale/programs/localedef.c: Likewise.
24402 * login/programs/pt_chown.c: Likewise.
24403 * malloc/memusage.sh: Likewise.
24404 * malloc/memusagestat.c: Likewise.
24405 * malloc/mtrace.pl: Likewise.
24406 * nscd/nscd.c: Likewise.
24407 * nss/getent.c: Likewise.
24408 * nss/makedb.c: Likewise.
24409 * posix/getconf.c: Likewise.
24410
18ea052c
SP
244112012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24412
24413 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24414 numbers.
24415
9c89fca6
MF
244162012-12-30 Mike Frysinger <vapier@gentoo.org>
24417
24418 * math/bits/mathcalls.h (modf): Use __nonnull.
24419
085ec079
SP
244202012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24421
24422 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24423 (split): Use macro CN instead of the bare value.
24424 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24425 could be used.
24426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24427 instead of the bare value.
24428 (power1): Likewise.
24429
6d9f97e1
SP
244302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24431
d63f73be
SP
24432 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24433 __ATAN_TWOM.
24434 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24435
6d9f97e1
SP
24436 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24437 their values.
24438 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24439 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24440 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24441 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24442
4c4febf5
AJ
244432012-12-28 Andreas Jaeger <aj@suse.de>
24444
af5843ef
AJ
24445 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24446 values are from Linux 3.7.
24447
4c4febf5
AJ
24448 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24449 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24450
99136f82
SP
244512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24452
2f216c3c 24453 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
24454 TRUE case.
24455
99136f82
SP
24456 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24457 (norm): Likewise.
24458 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24459 variables with preprocessor constants.
24460 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24461 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24462 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24463
7fffbdff
BH
244642012-12-27 Bruno Haible <bruno@clisp.org>
24465
24466 [BZ #14317]
24467 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24468 only if needed.
24469
b76eb5f0
SP
244702012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24471
31a7fe5c
SP
24472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24473 and use variable directly.
24474 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24475
b76eb5f0
SP
24476 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24477 MPONE.
24478 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24479 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24480 variable MPONE.
24481 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24483 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24484 include directive. Remove local variable MPONE.
24485 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24486 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24487 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24488
2c8bfe7d
DM
244892012-12-25 David S. Miller <davem@davemloft.net>
24490
24491 * version.h (RELEASE): Set to "development".
24492 (VERSION): Set to "2.17.90".
24493 * NEWS: Add 2.18 section.
24494
147d03b0
DM
244952012-12-21 David S. Miller <davem@davemloft.net>
24496
24497 * po/hr.po: Update from translation team.
24498
a8ebb2b9
AK
244992012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24500
24501 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24502
95b4f1b6
SE
245032012-12-19 Steve Ellcey <sellcey@mips.com>
24504
b2d94007 24505 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 24506
cedb2a90
MS
245072012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24508
24509 * manual/contrib.texi (Contributors): Spelling correction.
24510
bbf527d6
DM
245112012-12-15 David S. Miller <davem@davemloft.net>
24512
24513 * po/ru.po: Update from translation team.
24514
bc38c906
DM
245152012-12-13 David S. Miller <davem@davemloft.net>
24516
85429b1a
DM
24517 * NEWS: Mention IFUNC testsuite enhancements.
24518
d283e353
DM
24519 * po/pl.po: Update from translation team.
24520 * po/bg.po: Likewise.
24521
bc38c906
DM
24522 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24523 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24524
a181b0d7
DM
245252012-12-11 David S. Miller <davem@davemloft.net>
24526
4641d57e
DM
24527 * po/sv.po: Update from translation team.
24528
f7bc6495
DM
24529 * po/vi.po: Update from translation team.
24530
6fc9048f
DM
24531 * po/cs.po: Update from translation team.
24532
a181b0d7
DM
24533 * po/de.po: Update from translation team.
24534 * po/eo.po: Likewise.
24535 * po/nl.po: Likewise.
24536
f70bfe80
SP
245372012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24538
3c8b4190
SP
24539 [BZ #14246]
24540 * manual/argp.texi (Argp Helper Functions): Move node to follow
24541 Argp Parsing State.
24542
f70bfe80
SP
24543 [BZ #14872]
24544 * manual/conf.texi (Limits on File System Capacity): Mention if
24545 terminating null is included in the max size.
24546
188f0adf
AJ
245472012-12-10 Andreas Jaeger <aj@suse.de>
24548
24549 * po/cs.po: Update from translation team.
24550
56e7d3ad
SP
245512012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24552
24553 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24554 void pointer and cast to uintptr_t.
24555 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24556 path.
24557 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24558 * sysdeps/s390/s390-64/memset.S: Likewise.
24559
76f2d2ea 245602012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
24561
24562 [BZ #14833]
24563 * menual/message.texi (Message Translation): Fix typos.
24564 (Helper programs for gettext): Likewise.
24565
67cbf9a2
AS
245662012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24567
24568 [BZ #14898]
24569 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24570 Change to -1.
24571
682d0e9a
DM
245722012-12-07 David S. Miller <davem@davemloft.net>
24573
24574 * po/libc.pot: Update.
24575
573cd484
RH
245762012-12-07 Richard Henderson <rth@redhat.com>
24577
7e9da188 24578 [BZ #10114]
573cd484
RH
24579 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24580 normal/normal case to before the switch.
24581 (_FP_DIV): Likewise.
24582
e933a943
MF
245832012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24584 Mike Frysinger <vapier@gentoo.org>
24585
24586 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24587 check for __NR_fadvise64_64.
24588
82123268
CM
245892012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24590
24591 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24592 0, not just to plain "0" as a statement.
24593 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24594 with cw.
24595
d9814526
JM
245962012-12-06 Joseph Myers <joseph@codesourcery.com>
24597
24598 * NEWS: Use sourceware.org in Bugzilla URL.
24599
7728c574
SP
246002012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24601
f16946dd
SP
24602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24603 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24604
5704bbcb
SP
24605 * stdio-common/tst-put-error.c (do_test): Add newline to the
24606 padded test to ensure flush.
24607
17aa0516
JL
246082012-12-05 Jeff Law <law@redhat.com>
24609
24610 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24611
363313b5
JM
246122012-12-05 Joseph Myers <joseph@codesourcery.com>
24613
effbd42a
JM
24614 * README: Don't refer to ports add-on as distributed separately.
24615 Mention AArch64 in list of systems supported in the ports add-on.
24616
87600365
JM
24617 * LICENSES: Add more non-FSF copyright and license notices.
24618
a0d7066a
JM
24619 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24620 ((unused)).
24621
66ca5a5b
JM
24622 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24623
363313b5
JM
24624 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24625 10000 as width of padded output.
24626
b37984ad
JM
246272012-12-04 Joseph Myers <joseph@codesourcery.com>
24628
9003570a
JM
24629 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24630
b37984ad
JM
24631 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24632 variable LX with __attribute__ ((unused)).
24633 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24634 Likewise.
24635 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24636 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24637 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24638 with __attribute__ ((unused)).
24639
c8df52ec
DM
246402012-12-04 David S. Miller <davem@abraco.davemloft.net>
24641
24642 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24643
b3b099af
JM
246442012-12-04 Joseph Myers <joseph@codesourcery.com>
24645
c33aa6e3
JM
24646 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24647 (CFLAGS-nldbl-acos.c): New variable.
24648 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24649 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24650 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24651 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24652 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24653 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24654 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24655 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24656 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24657 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24658 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24659 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24660 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24661 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24662 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24663 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24664 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24665 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24666 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24667 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24668 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24669 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24670 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24671 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24672 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24673 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24674 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24675 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24676 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24677 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24678 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24679 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24680 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24681 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24682 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24683 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24684 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24685 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24686 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24687 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24688 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24689 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24690 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24691 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24692 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24693 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24694 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24695 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24696 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24697 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24698 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24699 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24700 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24701 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24702 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24703 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24704 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24705 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24706 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24707 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24708 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24709 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24710 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24711 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24712 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24713 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24714 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24715 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24716 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24717 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24718 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24719 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24720 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24721 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24722 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24723 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24724 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24725 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24726 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24727 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24728 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24729 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24730 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24731 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24732 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24733 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24734 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24735 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24736 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24737 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24738 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24739 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24740 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24741 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24742 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24743 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24744 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24745
20f0018d
JM
24746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24747 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24748
b3b099af
JM
24749 [BZ #14914]
24750 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24751 whole low double instead of just low 47 bits when splitting values
24752 into two parts.
24753
029264d1
AM
247542012-12-03 Allan McRae <allan@archlinux.org>
24755
24756 * manual/stdio.texi (Predefined Printf Handlers): Remove
24757 @hsep and @vsep usage.
24758
c9d6789e
MF
247592012-12-03 Mike Frysinger <vapier@gentoo.org>
24760
24761 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24762 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24763
4b7634a5
JL
247642012-12-03 Jeff Law <law@redhat.com>
24765
24766 * time/sys/time.h (settimeofday): Do not mark TV argument
24767 as __nonnull.
24768
eb6cbd24
MF
247692012-12-01 Mike Frysinger <vapier@gentoo.org>
24770
24771 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24772 when currently writing and seek to current position when not.
24773 * libio/Makefile (tests): Remove bug-fclose1.
24774 * libio/bug-fclose1.c: Delete.
24775
f638872a
JM
247762012-12-01 Joseph Myers <joseph@codesourcery.com>
24777
24778 * manual/arith.texi (feenableexcept): Fix typo.
24779 (fedisableexcept): Likewise.
24780
48085d14
RM
247812012-11-30 Roland McGrath <roland@hack.frob.com>
24782
24783 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24784 second, differently-typed declaration, rather than a cast.
24785
1a538b9f
SP
247862012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24787
24788 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24789 * include/rpc/svc.h: ... here.
24790
d07f2ff1 247912012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
24792
24793 [BZ #13013]
24794 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24795 depending n and resplen2 to catch cases where answer
24796 equals answerp2.
24797
c93ec1f0
CD
247982012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24799
24800 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24801 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24802
37db69de
MF
248032012-11-29 Mike Frysinger <vapier@gentoo.org>
24804
24805 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24806
e10c4e4f
RM
248072012-11-29 Roland McGrath <roland@hack.frob.com>
24808
24809 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24810
2af1b328
JL
248112012-11-28 Jeff Law <law@redhat.com>
24812
24813 [BZ #13761]
24814 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24815 dataset_temporary. Track alloca usage into alloca_used.
24816 If dataset is large allocate and release it via malloc/free.
24817
111db5b1
FW
248182012-06-04 Florian Weimer <fweimer@redhat.com>
24819
f06cc227 24820 [BZ #14197]
111db5b1
FW
24821 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24822
dd694abd
DM
248232012-11-28 David S. Miller <davem@davemloft.net>
24824
24825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24826
9984dd01
JM
248272012-11-28 Joseph Myers <joseph@codesourcery.com>
24828
24829 [BZ #14803]
24830 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24831 of pi/2 rounded to nearest to 64 bits.
24832 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24833 nearest to 64 bits.
24834 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24835 bits.
24836
14bc93a9
JL
248372012-11-28 Jeff Law <law@redhat.com>
24838 Martin Osvald <mosvald@redhat.com>
24839
24840 [BZ #14889]
24841 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24842 * sunrpc/svc.c: Include time.h.
24843 (__svc_accept_failed): New function.
24844 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24845 any reason other than EINTR, call __svc_accept_failed.
24846 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24847 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24848
e3c6aa3a
AS
248492012-11-28 Andreas Schwab <schwab@suse.de>
24850
24851 * scripts/abilist.awk: Also handle indirect functions in .opd
24852 section.
24853
1bead169
JM
248542012-11-28 Joseph Myers <joseph@codesourcery.com>
24855
24856 [BZ #13881]
24857 * sysdeps/x86/fpu/powl_helper.c: New file.
24858 * sysdeps/x86/fpu/Makefile: Likewise.
24859 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24860 (p3): New object.
24861 (__ieee754_powl): Use __powl_helper for finite arguments except
24862 integer exponents below 8.
24863 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24864 (p3): New object.
24865 (__ieee754_powl): Use __powl_helper for finite arguments except
24866 integer exponents below 8.
24867 * math/libm-test.inc (pow_test): Add more tests and enable some
24868 previously disabled tests.
24869 * sysdeps/i386/fpu/libm-test-ulps: Update.
24870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24871
0817d63d
SP
248722012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24873 Carlos O'Donell <carlos_odonell@mentor.com>
24874
24875 * nss/makedb.c (is_prime): Assert that input is odd and greater
24876 than 4. Note that fact in a comment too.
24877 (next_prime): Add 4 to input.
24878
de2fd463
SP
248792012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24880
24881 [BZ #11741]
24882 * libio/Makefile (tests): Add test case tst-fwrite-error.
24883 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24884 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24885 * libio/tst-fwrite-error.c: New test case.
24886
c515fb51
L
248872012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24888
24889 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24890 before casting to void *.
24891 * include/libc-internal.h (__pointer_type): New macro.
24892 (__integer_if_pointer_type_sub): Likewise.
24893 (__integer_if_pointer_type): Likewise.
24894 (cast_to_integer): Likewise.
24895 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24896 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24897 before casting to atomic64_t.
24898 (atomic_exchange_acq): Likewise.
24899 (__arch_exchange_and_add_body): Likewise.
24900 (__arch_add_body): Likewise.
24901 (atomic_add_negative): Likewise.
24902 (atomic_add_zero): Likewise.
24903
4cf77aa9
JM
249042012-11-26 Joseph Myers <joseph@codesourcery.com>
24905
24906 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24907 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24908 (add_fdes): Likewise.
24909 (linear_search_fdes): Likewise.
24910 (binary_search_unencoded_fdes): Likewise.
24911
d260b3b4
AS
249122012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24913
24914 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24915
67060746
AC
249162012-11-24 Adam Conrad <adconrad@0c3.net>
24917
24918 * configure.in: Autodetect C++ header directories.
24919 * configure: Regenerated.
24920
800938a1
MF
249212012-11-23 Mike Frysinger <vapier@gentoo.org>
24922
24923 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24924
4e6e34e6
AS
249252012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24926
24927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24928
7c7feb47
JM
249292012-11-22 Joseph Myers <joseph@codesourcery.com>
24930
7184dcdf
JM
24931 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24932 LDBL_MANT_DIG == 106]: Disable some tests.
24933 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24934 Likewise.
24935 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24936 Likewise.
24937
0a42601f
JM
24938 [BZ #14871]
24939 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24940 input for small inputs. Return +/- pi/2 for large inputs.
24941 * math/libm-test.inc (atan_test): Add more tests.
24942
79c9b9fe
JM
24943 * sysdeps/generic/unwind-dw2-fde-glibc.c
24944 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24945 __attribute__ ((unused)).
24946
c60d3bf2
JM
24947 [BZ #14645]
24948 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24949 x * y if x and y are nonzero and z is zero.
24950
ef1e0867
JM
24951 [BZ #14811]
24952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24953 nonzero exponents with absolute value below 0x1p-117 to +/-
24954 0x1p-117.
24955
1468ded3
JM
24956 [BZ #14869]
24957 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24958 up arguments below 2**-450, not just those below 2**-500.
24959 * math/libm-test.inc (hypot_test): Add another test.
24960
8e27e3cc
JM
24961 [BZ #14868]
24962 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24963 Return a+b for ratio over 2**120, not 2**60.
24964 * math/libm-test.inc (hypot_test): Add another test.
24965
c9c0279b
JM
24966 * math/libm-test.inc (clog_test): Use
24967 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24968 (clog10_test): Likewise.
24969
7c7feb47
JM
24970 [BZ #6778]
24971 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24972
fff1530e
AS
249732012-11-22 Andreas Schwab <schwab@suse.de>
24974
24975 * sysdeps/i386/fpu/libm-test-ulps: Update.
24976
94558d30
PT
249772012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24978
24979 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24980 printf output with newline.
24981
7e1be741
L
249822012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24983
6bfea974
L
24984 [BZ #14865]
24985 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24986 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24987 -z nodlopen, -z initfirst and -z execstack support.
24988 * configure: Regenerated.
24989
7e1be741
L
24990 * elf/elf.h (DF_1_NODIRECT): New macro.
24991 (DF_1_IGNMULDEF): Likewise.
24992 (DF_1_NOKSYMS): Likewise.
24993 (DF_1_NOHDR): Likewise.
24994 (DF_1_EDITED): Likewise.
24995 (DF_1_NORELOC): Likewise.
24996 (DF_1_SYMINTPOSE): Likewise.
24997 (DF_1_GLOBAUDIT): Likewise.
24998 (DF_1_SINGLETON): Likewise.
24999 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25000 DT_1_SUPPORTED_MASK bits.
25001 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25002
105ce2ce
CD
250032012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25004
25005 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25006
123be9de
TS
250072012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25008
d072f3f7
TS
25009 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25010 macro.
25011
123be9de
TS
25012 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25013 (sendmmsg): Move declarations...
25014 * socket/sys/socket.h: ... here.
25015 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25016 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25017 include it from...
25018 * socket/recvmmsg.c: ... this new file.
25019 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25020 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25021 definition of __sendmmsg hidden.
25022 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25023 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25024 Move ENOSYS stub into and include it from...
25025 * socket/sendmmsg.c: ... this new file.
25026 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25027 (sysdep_routines): Move recvmmsg and sendmmsg...
25028 * socket/Makefile (routines): ... here.
25029 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25030 (GLIBC_PRIVATE): Add __sendmmsg.
25031 * include/sys/socket.h (__sendmmsg): Add declarations.
25032 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25033 sendmmsg.
25034
cf9a5d18
JM
250352012-11-20 Joseph Myers <joseph@codesourcery.com>
25036
25037 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25038 variable I1 with __attribute__ ((unused)).
25039 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25040
ecd4caf9
JM
250412012-11-19 Joseph Myers <joseph@codesourcery.com>
25042
be14d48f
JM
25043 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25044 DUMMY variables with __attribute__ ((unused)).
25045
ecd4caf9
JM
25046 * bits/byteswap.h: Include <bits/types.h>.
25047 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25048
986cab95
PT
250492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25050
25051 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25052 string_t. Do not manually set errno.
25053 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25054 length with __strnlen. Make sure to both set errno and return it on
25055 failure.
25056
6d33cc9d
DM
250572012-11-19 David S. Miller <davem@davemloft.net>
25058
25059 With help from Joseph Myers.
25060 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25061 very large arguments properly.
25062 * math/libm-test.inc (atan_test): New tests.
25063 (atan2_test): New tests.
25064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25066
ee663277
JM
250672012-11-19 Joseph Myers <joseph@codesourcery.com>
25068
877f2d8e
JM
25069 [BZ #14856]
25070 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25071 Define to 3.
25072
116fc08a
JM
25073 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25074 [POSIX] (EADDRNOTAVAIL): Likewise.
25075 [POSIX] (EAFNOSUPPORT): Likewise.
25076 [POSIX] (EALREADY): Likewise.
25077 [POSIX] (ECONNABORTED): Likewise.
25078 [POSIX] (ECONNREFUSED): Likewise.
25079 [POSIX] (ECONNRESET): Likewise.
25080 [POSIX] (EDESTADDRREQ): Likewise.
25081 [POSIX] (EDQUOT): Likewise.
25082 [POSIX] (EHOSTUNREACH): Likewise.
25083 [POSIX] (EIDRM): Likewise.
25084 [POSIX] (EISCONN): Likewise.
25085 [POSIX] (ELOOP): Likewise.
25086 [POSIX] (EMULTIHOP): Likewise.
25087 [POSIX] (ENETDOWN): Likewise.
25088 [POSIX] (ENETUNREACH): Likewise.
25089 [POSIX] (ENOBUFS): Likewise.
25090 [POSIX] (ENODATA): Likewise.
25091 [POSIX] (ENOLINK): Likewise.
25092 [POSIX] (ENOMSG): Likewise.
25093 [POSIX] (ENOPROTOOPT): Likewise.
25094 [POSIX] (ENOSR): Likewise.
25095 [POSIX] (ENOSTR): Likewise.
25096 [POSIX] (ENOTCONN): Likewise.
25097 [POSIX] (ENOTSOCK): Likewise.
25098 [POSIX] (EOPNOTSUPP): Likewise.
25099 [POSIX] (EOVERFLOW): Likewise.
25100 [POSIX] (EPROTO): Likewise.
25101 [POSIX] (EPROTONOSUPPORT): Likewise.
25102 [POSIX] (EPROTOTYPE): Likewise.
25103 [POSIX] (ESTALE): Likewise.
25104 [POSIX] (ETIME): Likewise.
25105 [POSIX] (ETXTBSY): Likewise.
25106 [POSIX] (EWOULDBLOCK): Likewise.
25107 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25108 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25109 [POSIX] (SEEK_CUR): Likewise.
25110 [POSIX] (SEEK_END): Likewise.
25111 [POSIX || UNIX98] (mode_t): Do not require.
25112 [POSIX] (off_t): Likewise.
25113 [POSIX] (pid_t): Likewise.
25114 [POSIX] (sys/stat.h): Do not allow header.
25115 [POSIX] (unistd.h): Likewise.
25116 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25117 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25118 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25119 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25120 require.
25121 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25122 sigevent): Specify elements.
25123 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25124 entry.
25125 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25126 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25127
a483863f
JM
25128 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25129 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25130 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25131 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25132 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25133 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25134 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25135 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25136 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25137 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25138 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25139 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25140 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25141 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25142 Likewise.
25143 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25144 Likewise.
25145 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25146 Likewise.
25147 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25148 Likewise.
25149 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25150 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25151 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25152 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25153 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25154 Specify lower bound on value.
25155 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25156 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25157 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25158 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25159 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25160 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25161 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25162 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25163 value.
25164 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25165 as optional.
25166 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25167 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25168 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25169 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25170 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25171 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25172 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25173 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25174 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25175 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25176 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25177 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25178 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25179 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25180 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25181 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25182 entry.
25183 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25184 optional.
25185 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25186 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25187 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25188 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25189 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25190 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25191 Likewise.
25192 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25193 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25194 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25195 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25196 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25197 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25198 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25199 as optional.
25200 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25201 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25202 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25203 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25204 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25205 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25206 specify as optional.
25207 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25208 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25209 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25210 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25211 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25212 [XPG3] (NL_LANGMAX): Likewise.
25213 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25214 [POSIX || XPG3] (NL_NMAX): Likewise.
25215 [POSIX || XPG3] (NL_SETMAX): Likewise.
25216 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25217 [XPG3] (NZERO): Likewise.
25218 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25219 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25220 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25221 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25222 (REG_ERANGE): Expect.
25223 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25224 optional-constant.
25225 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25226 Use (void) in prototype.
25227 [POSIX] (*_t): Allow.
25228 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25229 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25230 (WRDE_BADVAL): Expect.
25231
5ba924e3
JM
25232 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25233 expect.
25234 [XPG3 || XPG4] (O_RSYNC): Likewise.
25235 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25236 Likewise.
25237 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25238 [XPG3 || XPG4] (sigqueue): Likewise.
25239 [XPG3 || XPG4] (sigtimedwait): Likewise.
25240 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25241 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25242 [XPG3 || XPG4] (vsnprintf): Likewise.
25243 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25244 Likewise.
25245 [XPG3 || XPG4] (blksize_t): Likewise.
25246 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25247 Likewise.
25248 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25249 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25250 [XPG3 || XPG4] (struct itimerspec): Likewise.
25251 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25252 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25253 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25254 [XPG3 || XPG4] (clockid_t): Likewise.
25255 [XPG3 || XPG4] (timer_t): Likewise.
25256 [XPG3 || XPG4] (clock_getres): Likewise.
25257 [XPG3 || XPG4] (clock_gettime): Likewise.
25258 [XPG3 || XPG4] (clock_settime): Likewise.
25259 [XPG3 || XPG4] (nanosleep): Likewise.
25260 [XPG3 || XPG4] (timer_create): Likewise.
25261 [XPG3 || XPG4] (timer_delete): Likewise.
25262 [XPG3 || XPG4] (timer_gettime): Likewise.
25263 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25264 [XPG3 || XPG4] (timer_settime): Likewise.
25265 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25266 [XPG3 || XPG4] (getlogin_r): Likewise.
25267 [XPG3 || XPG4] (pread): Likewise.
25268 [XPG3 || XPG4] (pthread_atfork): Likewise.
25269 [XPG3 || XPG4] (pwrite): Likewise.
25270
ee663277
JM
25271 [BZ #14835]
25272 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25273 <bits/siginfo.h>.
25274
942caa16
PT
252752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25276
e19af380
PT
25277 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25278 finalizing MALLSTREAM.
25279
942caa16
PT
25280 * sysdeps/mach/hurd/syncfs.c: New file.
25281
cfde9b46
SP
252822012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25283
25284 [BZ #14719]
25285 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25286 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25287 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25288 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25289 (_nss_dns_gethostbyname4_r): Likewise.
25290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25291 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25292
f6da27e5
PH
252932012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25294
25295 [BZ #13763]
25296 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25297
6665d4a2
SM
252982012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25299
1f51ee92
SM
25300 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25301 * elf/cache.c (print_entry): Print ",AArch64" for
25302 FLAG_AARCH64_LIB64
25303
6665d4a2
SM
25304 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25305 * elf/cache.c (print_entry): Print ",hard-float" for
25306 FLAG_ARM_LIBHF.
25307
05b227bd
DM
253082012-11-18 David S. Miller <davem@davemloft.net>
25309
25310 With help from Joseph Myers.
25311 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25312 cutoff to 2**-13.
25313 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25314 cutoff to 2**-25.
25315 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25316 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25317 small.
25318 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25319 * math/libm-test.inc (y0_test): New tests.
25320 (y1_test): New tests.
25321 * sysdeps/i386/fpu/libm-test-ulps: Update.
25322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25324
786b0b67
AS
253252012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25326
25327 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25328 64-bit targets.
25329 * configure: Regenerated.
25330
8e18b86d
DM
253312012-11-17 David S. Miller <davem@davemloft.net>
25332
25333 [BZ #14811]
25334 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25335 nonzero exponents with absolute value below 0x1p-128 to +/-
25336 0x1p-128.
25337
531f1ae0
JM
253382012-11-17 Joseph Myers <joseph@codesourcery.com>
25339
12df29e2
JM
25340 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25341
150dc1a0
JM
25342 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25343
531f1ae0
JM
25344 * posix/getconf-speclist.c: New file.
25345 * posix/posix-envs.def: Likewise.
25346 * posix/confstr.c (START_ENV_GROUP): New macro.
25347 (END_ENV_GROUP): Likewise.
25348 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25349 (KNOWN_PRESENT_ENV_STRING): Likewise.
25350 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25351 (UNKNOWN_ENVIRONMENT): Likewise.
25352 (confstr): Include posix-envs.def instead of handling
25353 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25354 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25355 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25356 (END_ENV_GROUP): Likewise.
25357 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25358 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25359 (UNKNOWN_ENVIRONMENT): Likewise.
25360 (__sysconf): Include posix-envs.def instead of handling associated
25361 cases directly here.
25362 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25363 preprocessing getconf-speclist.c rather than running getconf or
25364 generating empty file.
25365
a93f9cbc
PT
253662012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25367
25368 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25369
d64d9f87
AL
253702012-11-16 Andrej Lajovic <natrij@gmail.com>
25371
25372 [BZ #14672]
25373 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25374
447885eb
DM
253752012-11-16 David S. Miller <davem@davemloft.net>
25376
25377 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25378 smaller than LDBL_EPSILON/2.0L, just return xm1.
25379
bcbf9830
L
253802012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25381
25382 * elf/tst-array1.c (init): Set constructor priority to 1000.
25383 (fini): Set destructor priority to 1000.
25384 * elf/tst-array2dep.c: Likewise.
25385
2b766585
SP
253862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25387
25388 [BZ #11741]
25389 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25390 (_IO_new_file_xsputn): Also return EOF if none of the input
25391 data was written when overflow failed.
25392 * libio/iopadn.c (_IO_padn): Likewise.
25393 * libio/iowpadn.c (_IO_wpadn): Likewise.
25394 * stdio-common/tst-put-error.c: Add copyright notice.
25395 (do_test): Add case for printing padded string.
25396 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25397 _IO_padn returned error.
25398 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25399 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25400 return EOF.
25401
b1848fde
SP
254022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25403
25404 * libio/libioP.h: Add comment note that the references to C++
25405 bits are now obsolete.
25406
2fd89785
MS
254072012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25408
25409 * math/libm-test.inc (check_complex): Use asprintf.
25410
e3ea5409
JM
254112012-11-14 Joseph Myers <joseph@codesourcery.com>
25412
25413 * debug/pcprofiledump.c (print_version): Update copyright year.
25414 * malloc/memusagestat.c (print_version): Likewise.
25415
2e64d265
L
254162012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25417
25418 [BZ #14831]
25419 * elf/Makefile (tests): Add tst-audit8.
25420 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25421 ($(objpfx)tst-audit8.out): New target.
25422 (tst-audit8-ENV): New variable.
25423 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25424 audit if l_reloc_result is NULL.
25425 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25426 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25427 * elf/tst-audit8.c: New file.
25428
c485e4d2
MS
254292012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25430
25431 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25432 * misc/Makefile (CFLAGS-select.c): Define.
25433 * posix/Makefile (CFLAGS-pause.c): Define.
25434
3a0d900a
DM
254352012-11-13 David S. Miller <davem@davemloft.net>
25436
25437 * crypt/Makefile: Move test targets after toplevel Rules
25438 inclusion. Grab any necessary sysdep routines when linking.
25439 * crypt/md5.c (md5_process_block): Remove define, we will always
25440 name it __md5_process_block.
25441 (md5_finish_ctx): Update md5_process_block call.
25442 (md5_stream): Likewise.
25443 (md5_process_bytes): Likewise.
25444 (md5_process_block): Rename to __md5_process_block and move to ...
25445 * crypt/md5-block.c: ... here.
25446 * crypt/sha256.c (sha256_process_block): Move to ...
25447 * crypt/sha256-block.c: ... here.
25448 * crypt/sha512.c (sha512_process_block): Move to ...
25449 * crypt/sha512-block.c: ... here.
25450 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25451 path.
25452 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25453 * sysdeps/sparc/sparc64/multiarch/Makefile
25454 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25455 crypt subdir.
25456 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25457 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25458 multiarch changes.
25459 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25460 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25461 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25462 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25463 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25464 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25465 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25466 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25467 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25468 file.
25469 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25470 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25471 file.
25472 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25473
8ca89318
JM
254742012-11-13 Joseph Myers <joseph@codesourcery.com>
25475
e27d476a
JM
25476 * timezone/tzselect.ksh: Update from tzcode git revision
25477 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25478 * timezone/zdump.c: Likewise.
25479 * timezone/zic.c: Likewise.
25480 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25481 in TZVERSION setting, not $(PKGVERSION).
25482 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25483 REPORT_BUGS_TO settings.
25484
8ca89318
JM
25485 [BZ #14838]
25486 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25487 macro.
25488
47594329
MS
254892012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25490
25491 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25492 detection to immediately after _FP_ROUND().
25493 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25494 bits are 0.
25495
640ac3f1
DM
254962012-11-11 David S. Miller <davem@davemloft.net>
25497
25498 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25499 inttypes.h
25500 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25501 __close rather than their public counterparts.
25502
3d2577bb
JM
255032012-11-10 Joseph Myers <joseph@codesourcery.com>
25504
25505 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25506 file.
25507 [UNIX98] (sem_timedwait): Do not expect.
25508 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25509 [XPG4 || UNIX98] (sockatmark): Do not expect.
25510 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25511 (clock_getcpuclockid): Do not expect.
25512 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25513 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25514 Do not expect.
25515 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25516 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25517 [UNIX98] (vwscanf): Likewise.
25518 [UNIX98] (vswscanf): Likewise.
25519
fb1ae1ee
JM
255202012-11-09 Joseph Myers <joseph@codesourcery.com>
25521
9ec6f8bd
JM
25522 * timezone/version.h: Remove file.
25523 * timezone/README: Do not refer to version.h.
25524 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25525 $(objpfx)version.h.
25526 ($(objpfx)zdump.o): Likewise.
c3f81911 25527 ($(objpfx)version.h): New target.
9ec6f8bd 25528
0aa8f8a1
JM
25529 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25530 2012i.
25531 * timezone/README: Don't mention modification to tzselect.ksh.
25532 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25533 work on unmodified tzselect.ksh. Substitute version numbers in
25534 tzselect.ksh.
25535
4e87147f
JM
25536 * Makefile (format-me): Remove.
25537 (INSTALL): Adjust indentation. Use commands directly instead of
25538 using $(format-me).
25539
8b748aed
JM
25540 * aclocal.m4 (ACX_PKGVERSION): New macro.
25541 (ACX_BUGURL): Likewise.
25542 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25543 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25544 (REPORT_BUGS_TO): Likewise.
25545 * configure: Regenerated.
25546 * config.h.in (PKGVERSION): New macro.
25547 (REPORT_BUGS_TO): Likewise.
25548 * config.make.in (PKGVERSION): New variable.
25549 (PKGVERSION_TEXI): Likewise.
25550 (REPORT_BUGS_TO): Likewise.
25551 (REPORT_BUGS_TEXI): Likewise.
25552 * Makefile (format-me): Use -I$(common-objpfx)manual.
25553 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25554 ($(common-objpfx)manual/%): New target.
25555 (manual/%): Remove target.
25556 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25557 (print_version): Use PKGVERSION.
25558 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25559 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25560 and REPORT_BUGS_TO.
25561 ($(objpfx)xtrace): Likewise.
25562 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25563 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25564 (print_version): Use PKGVERSION.
25565 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25566 (do_version): Use PKGVERSION.
25567 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25568 REPORT_BUGS_TO.
25569 (common-ldd-rewrite): Likewise.
25570 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25571 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25572 (print_version): Use PKGVERSION.
25573 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25574 * elf/pldd.c (argp_program_bug_address): Remove variable.
25575 (more_help): New function.
25576 (argp): Use more_help.
25577 (print_version): Use PKGVERSION.
25578 * elf/sln.c (main): Use PKGVERSION.
25579 (usage): Use REPORT_BUGS_TO.
25580 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25581 (top level): Use PKGVERSION.
25582 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25583 (print_version): Use PKGVERSION.
25584 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25585 (print_version): Use PKGVERSION.
25586 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25587 (print_version): Use PKGVERSION.
25588 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25589 (print_version): Use PKGVERSION.
25590 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25591 (print_version): Use PKGVERSION.
25592 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25593 (print_version): Use PKGVERSION.
25594 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25595 and BUGURL.
25596 ($(objpfx)memusage): Likewise.
25597 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25598 (do_version): Use PKGVERSION.
25599 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25600 (print_version): Use PKGVERSION.
25601 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25602 ($PKGVERSION): New variable.
25603 ($REPORT_BUGS_TO): Likewise.
25604 (usage): Use $REPORT_BUGS_TO.
25605 (top level): Use $PKGVERSION.
25606 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25607 ($(objpfx)pkgvers.texi): New rule.
25608 ($(objpfx)stamp-pkgvers): Likewise.
25609 * manual/install.texi: Include pkgvers.texi.
25610 (--with-pkgversion): Document new configure option.
25611 (--with-bugurl): Likewise.
25612 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25613 than necessarily for this particular distribution. Use
25614 REPORT_BUGS_TO for where to report bugs.
25615 * INSTALL: Regenerated.
25616 * manual/libc.texinfo: Include pkgvers.texi.
25617 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25618 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25619 (print_version): Use PKGVERSION.
25620 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25621 (print_version): Use PKGVERSION.
25622 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25623 (print_version): Use PKGVERSION.
25624 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25625 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25626 macro.
25627 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25628 (print_version): Use PKGVERSION.
25629 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25630 (print_version): Use PKGVERSION.
25631 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25632 and PKGVERSION.
25633
92e4b6a9
JM
25634 * timezone/checktab.awk: Update from tzcode 2012i.
25635 * timezone/ialloc.c: Likewise.
25636 * timezone/private.h: Likewise.
25637 * timezone/scheck.c: Likewise.
25638 * timezone/tzfile.h: Likewise.
25639 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25640 (TZVERSION): Hardcode tzcode version number.
25641 * timezone/zdump.c: Update from tzcode 2012i.
25642 * timezone/zic.c: Likewise.
25643 * timezone/version.h: New file.
25644 * timezone/README: Describe version.h. Update upstream location.
25645
9bde902c
JM
25646 [BZ #14824]
25647 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25648 (mktemp): Enable declaration.
25649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25650 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25653 Likewise.
25654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25655 Likewise.
25656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25657 Likewise.
25658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25659 Likewise.
25660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25661 Likewise.
25662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25663 Likewise.
25664
fb1ae1ee
JM
25665 [BZ #14821]
25666 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25667 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25668 for copies of such integer values.
25669 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25670 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25671
2c1adbcb
AJ
256722012-11-09 Andreas Jaeger <aj@suse.de>
25673
25674 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25675 definitions and declarations that are provided by
25676 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25677
d0f8457e
AK
256782012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25679
3a235abb 25680 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
25681 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25682 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25683 definition.
25684
57241e26
MS
256852012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25686
25687 * elf/elf.h: Update comment before AArch64 relocations.
25688
60e8270d
DM
256892012-11-07 David S. Miller <davem@davemloft.net>
25690
25691 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25692 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25693 (__start_context): Declare.
25694 (__makecontext_ret): Delete.
25695 (__makecontext): Hook up __start_context instead of
25696 __makecontext_ret.
25697 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25698 (sysdep_routines): Add __start_context when in stdlib.
25699
0fbb0fbc
JM
257002012-11-07 Joseph Myers <joseph@codesourcery.com>
25701
25702 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25703 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25704 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25705 hardcoded "nm".
25706 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25707 (READELF): New variable. Use it instead of hardcoded "readelf".
25708
eb48db7e
L
257092012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25710
25711 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25712 * sysdeps/x86/Makefile: Here.
25713 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25714 * sysdeps/x86/tst-xmmymm.sh: This.
25715
05bcf62a
JM
257162012-11-07 Joseph Myers <joseph@codesourcery.com>
25717
c4b6cf53
JM
25718 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25719 expectations.
25720 [UNIX98] (pthread_barrier_t): Do not expect.
25721 [UNIX98] (pthread_barrierattr_t): Likewise.
25722 [UNIX98] (pthread_spinlock_t): Likewise.
25723 [UNIX98] (pthread_barrier_destroy): Likewise.
25724 [UNIX98] (pthread_barrier_init): Likewise.
25725 [UNIX98] (pthread_barrier_wait): Likewise.
25726 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25727 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25728 [UNIX98] (pthread_barrierattr_init): Likewise.
25729 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25730 [UNIX98] (pthread_getcpuclockid): Likewise.
25731 [UNIX98] (pthread_mutex_timedlock): Likewise.
25732 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25733 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25734 [UNIX98] (pthread_sigmask): Likewise.
25735 [UNIX98] (pthread_spin_destroy): Likewise.
25736 [UNIX98] (pthread_spin_init): Likewise.
25737 [UNIX98] (pthread_spin_lock): Likewise.
25738 [UNIX98] (pthread_spin_trylock): Likewise.
25739 [UNIX98] (pthread_spin_unlock): Likewise.
25740 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25741 Do not expect.
25742 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25743 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25744 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25745 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25746 [XPG3 || XPG4] (pthread_key_t): Likewise.
25747 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25748 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25749 [XPG3 || XPG4] (pthread_once_t): Likewise.
25750 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25751 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25752 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25753 [XPG3 || XPG4] (pthread_t): Likewise.
25754
cbe6e120
JM
25755 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25756 not expect.
25757 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25758
1b126443
JM
25759 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25760 Change function return type to int.
25761
b961a573
JM
25762 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25763 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25764 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25765 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25766 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25767 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25768 [!POSIX] (posix_madvise): Likewise.
25769 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25770 && !UNIX98].
25771 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25772 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25773 (mode_t): Likewise.
25774 (posix_mem_offset): Likewise.
25775 (posix_typed_mem_get_info): Likewise.
25776 (posix_typed_mem_open): Likewise.
25777
9e188909
JM
25778 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25779 Change condition to [XOPEN2K8].
25780
05bcf62a
JM
25781 * conform/conformtest.pl: Preprocess allow-header data with -x c
25782 instead of from stdin.
25783 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25784 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25785 [C99-based standards] (cerfc): Likewise.
25786 [C99-based standards] (cexp2): Likewise.
25787 [C99-based standards] (cexpm1): Likewise.
25788 [C99-based standards] (clog10): Likewise.
25789 [C99-based standards] (clog1p): Likewise.
25790 [C99-based standards] (clog2): Likewise.
25791 [C99-based standards] (clgamma): Likewise.
25792 [C99-based standards] (ctgamma): Likewise.
25793 [C99-based standards] (cerff): Likewise.
25794 [C99-based standards] (cerfcf): Likewise.
25795 [C99-based standards] (cexp2f): Likewise.
25796 [C99-based standards] (cexpm1f): Likewise.
25797 [C99-based standards] (clog10f): Likewise.
25798 [C99-based standards] (clog1pf): Likewise.
25799 [C99-based standards] (clog2f): Likewise.
25800 [C99-based standards] (clgammaf): Likewise.
25801 [C99-based standards] (ctgammaf): Likewise.
25802 [C99-based standards] (cerfl): Likewise.
25803 [C99-based standards] (cerfcl): Likewise.
25804 [C99-based standards] (cexp2l): Likewise.
25805 [C99-based standards] (cexpm1l): Likewise.
25806 [C99-based standards] (clog10l): Likewise.
25807 [C99-based standards] (clog1pl): Likewise.
25808 [C99-based standards] (clog2l): Likewise.
25809 [C99-based standards] (clgammal): Likewise.
25810 [C99-based standards] (ctgammal): Likewise.
25811 * conform/data/inttypes.h-data [C99-based standards]: Include
25812 stdint.h-data. Remove all expectations for stdint.h contents.
25813 [C99-based standards] (PRI*): Do not allow.
25814 [C99-based standards] (SCN*): Likewise.
25815 [C99-based standards] (*_t): Likewise.
25816 [C99-based-standards] (PRId8): Expect macro.
25817 [C99-based-standards] (PRIi8): Likewise.
25818 [C99-based-standards] (PRIo8): Likewise.
25819 [C99-based-standards] (PRIu8): Likewise.
25820 [C99-based-standards] (PRIx8): Likewise.
25821 [C99-based-standards] (PRIX8): Likewise.
25822 [C99-based-standards] (SCNd8): Likewise.
25823 [C99-based-standards] (SCNi8): Likewise.
25824 [C99-based-standards] (SCNo8): Likewise.
25825 [C99-based-standards] (SCNu8): Likewise.
25826 [C99-based-standards] (SCNx8): Likewise.
25827 [C99-based-standards] (PRIdLEAST8): Likewise.
25828 [C99-based-standards] (PRIiLEAST8): Likewise.
25829 [C99-based-standards] (PRIoLEAST8): Likewise.
25830 [C99-based-standards] (PRIuLEAST8): Likewise.
25831 [C99-based-standards] (PRIxLEAST8): Likewise.
25832 [C99-based-standards] (PRIXLEAST8): Likewise.
25833 [C99-based-standards] (SCNdLEAST8): Likewise.
25834 [C99-based-standards] (SCNiLEAST8): Likewise.
25835 [C99-based-standards] (SCNoLEAST8): Likewise.
25836 [C99-based-standards] (SCNuLEAST8): Likewise.
25837 [C99-based-standards] (SCNxLEAST8): Likewise.
25838 [C99-based-standards] (PRIdFAST8): Likewise.
25839 [C99-based-standards] (PRIiFAST8): Likewise.
25840 [C99-based-standards] (PRIoFAST8): Likewise.
25841 [C99-based-standards] (PRIuFAST8): Likewise.
25842 [C99-based-standards] (PRIxFAST8): Likewise.
25843 [C99-based-standards] (PRIXFAST8): Likewise.
25844 [C99-based-standards] (SCNdFAST8): Likewise.
25845 [C99-based-standards] (SCNiFAST8): Likewise.
25846 [C99-based-standards] (SCNoFAST8): Likewise.
25847 [C99-based-standards] (SCNuFAST8): Likewise.
25848 [C99-based-standards] (SCNxFAST8): Likewise.
25849 [C99-based-standards] (PRId16): Likewise.
25850 [C99-based-standards] (PRIi16): Likewise.
25851 [C99-based-standards] (PRIo16): Likewise.
25852 [C99-based-standards] (PRIu16): Likewise.
25853 [C99-based-standards] (PRIx16): Likewise.
25854 [C99-based-standards] (PRIX16): Likewise.
25855 [C99-based-standards] (SCNd16): Likewise.
25856 [C99-based-standards] (SCNi16): Likewise.
25857 [C99-based-standards] (SCNo16): Likewise.
25858 [C99-based-standards] (SCNu16): Likewise.
25859 [C99-based-standards] (SCNx16): Likewise.
25860 [C99-based-standards] (PRIdLEAST16): Likewise.
25861 [C99-based-standards] (PRIiLEAST16): Likewise.
25862 [C99-based-standards] (PRIoLEAST16): Likewise.
25863 [C99-based-standards] (PRIuLEAST16): Likewise.
25864 [C99-based-standards] (PRIxLEAST16): Likewise.
25865 [C99-based-standards] (PRIXLEAST16): Likewise.
25866 [C99-based-standards] (SCNdLEAST16): Likewise.
25867 [C99-based-standards] (SCNiLEAST16): Likewise.
25868 [C99-based-standards] (SCNoLEAST16): Likewise.
25869 [C99-based-standards] (SCNuLEAST16): Likewise.
25870 [C99-based-standards] (SCNxLEAST16): Likewise.
25871 [C99-based-standards] (PRIdFAST16): Likewise.
25872 [C99-based-standards] (PRIiFAST16): Likewise.
25873 [C99-based-standards] (PRIoFAST16): Likewise.
25874 [C99-based-standards] (PRIuFAST16): Likewise.
25875 [C99-based-standards] (PRIxFAST16): Likewise.
25876 [C99-based-standards] (PRIXFAST16): Likewise.
25877 [C99-based-standards] (SCNdFAST16): Likewise.
25878 [C99-based-standards] (SCNiFAST16): Likewise.
25879 [C99-based-standards] (SCNoFAST16): Likewise.
25880 [C99-based-standards] (SCNuFAST16): Likewise.
25881 [C99-based-standards] (SCNxFAST16): Likewise.
25882 [C99-based-standards] (PRId32): Likewise.
25883 [C99-based-standards] (PRIi32): Likewise.
25884 [C99-based-standards] (PRIo32): Likewise.
25885 [C99-based-standards] (PRIu32): Likewise.
25886 [C99-based-standards] (PRIx32): Likewise.
25887 [C99-based-standards] (PRIX32): Likewise.
25888 [C99-based-standards] (SCNd32): Likewise.
25889 [C99-based-standards] (SCNi32): Likewise.
25890 [C99-based-standards] (SCNo32): Likewise.
25891 [C99-based-standards] (SCNu32): Likewise.
25892 [C99-based-standards] (SCNx32): Likewise.
25893 [C99-based-standards] (PRIdLEAST32): Likewise.
25894 [C99-based-standards] (PRIiLEAST32): Likewise.
25895 [C99-based-standards] (PRIoLEAST32): Likewise.
25896 [C99-based-standards] (PRIuLEAST32): Likewise.
25897 [C99-based-standards] (PRIxLEAST32): Likewise.
25898 [C99-based-standards] (PRIXLEAST32): Likewise.
25899 [C99-based-standards] (SCNdLEAST32): Likewise.
25900 [C99-based-standards] (SCNiLEAST32): Likewise.
25901 [C99-based-standards] (SCNoLEAST32): Likewise.
25902 [C99-based-standards] (SCNuLEAST32): Likewise.
25903 [C99-based-standards] (SCNxLEAST32): Likewise.
25904 [C99-based-standards] (PRIdFAST32): Likewise.
25905 [C99-based-standards] (PRIiFAST32): Likewise.
25906 [C99-based-standards] (PRIoFAST32): Likewise.
25907 [C99-based-standards] (PRIuFAST32): Likewise.
25908 [C99-based-standards] (PRIxFAST32): Likewise.
25909 [C99-based-standards] (PRIXFAST32): Likewise.
25910 [C99-based-standards] (SCNdFAST32): Likewise.
25911 [C99-based-standards] (SCNiFAST32): Likewise.
25912 [C99-based-standards] (SCNoFAST32): Likewise.
25913 [C99-based-standards] (SCNuFAST32): Likewise.
25914 [C99-based-standards] (SCNxFAST32): Likewise.
25915 [C99-based-standards] (PRId64): Likewise.
25916 [C99-based-standards] (PRIi64): Likewise.
25917 [C99-based-standards] (PRIo64): Likewise.
25918 [C99-based-standards] (PRIu64): Likewise.
25919 [C99-based-standards] (PRIx64): Likewise.
25920 [C99-based-standards] (PRIX64): Likewise.
25921 [C99-based-standards] (SCNd64): Likewise.
25922 [C99-based-standards] (SCNi64): Likewise.
25923 [C99-based-standards] (SCNo64): Likewise.
25924 [C99-based-standards] (SCNu64): Likewise.
25925 [C99-based-standards] (SCNx64): Likewise.
25926 [C99-based-standards] (PRIdLEAST64): Likewise.
25927 [C99-based-standards] (PRIiLEAST64): Likewise.
25928 [C99-based-standards] (PRIoLEAST64): Likewise.
25929 [C99-based-standards] (PRIuLEAST64): Likewise.
25930 [C99-based-standards] (PRIxLEAST64): Likewise.
25931 [C99-based-standards] (PRIXLEAST64): Likewise.
25932 [C99-based-standards] (SCNdLEAST64): Likewise.
25933 [C99-based-standards] (SCNiLEAST64): Likewise.
25934 [C99-based-standards] (SCNoLEAST64): Likewise.
25935 [C99-based-standards] (SCNuLEAST64): Likewise.
25936 [C99-based-standards] (SCNxLEAST64): Likewise.
25937 [C99-based-standards] (PRIdFAST64): Likewise.
25938 [C99-based-standards] (PRIiFAST64): Likewise.
25939 [C99-based-standards] (PRIoFAST64): Likewise.
25940 [C99-based-standards] (PRIuFAST64): Likewise.
25941 [C99-based-standards] (PRIxFAST64): Likewise.
25942 [C99-based-standards] (PRIXFAST64): Likewise.
25943 [C99-based-standards] (SCNdFAST64): Likewise.
25944 [C99-based-standards] (SCNiFAST64): Likewise.
25945 [C99-based-standards] (SCNoFAST64): Likewise.
25946 [C99-based-standards] (SCNuFAST64): Likewise.
25947 [C99-based-standards] (SCNxFAST64): Likewise.
25948 [C99-based-standards] (PRIdMAX): Likewise.
25949 [C99-based-standards] (PRIiMAX): Likewise.
25950 [C99-based-standards] (PRIoMAX): Likewise.
25951 [C99-based-standards] (PRIuMAX): Likewise.
25952 [C99-based-standards] (PRIxMAX): Likewise.
25953 [C99-based-standards] (PRIXMAX): Likewise.
25954 [C99-based-standards] (SCNdMAX): Likewise.
25955 [C99-based-standards] (SCNiMAX): Likewise.
25956 [C99-based-standards] (SCNoMAX): Likewise.
25957 [C99-based-standards] (SCNuMAX): Likewise.
25958 [C99-based-standards] (SCNxMAX): Likewise.
25959 [C99-based-standards] (PRIdPTR): Likewise.
25960 [C99-based-standards] (PRIiPTR): Likewise.
25961 [C99-based-standards] (PRIoPTR): Likewise.
25962 [C99-based-standards] (PRIuPTR): Likewise.
25963 [C99-based-standards] (PRIxPTR): Likewise.
25964 [C99-based-standards] (PRIXPTR): Likewise.
25965 [C99-based-standards] (SCNdPTR): Likewise.
25966 [C99-based-standards] (SCNiPTR): Likewise.
25967 [C99-based-standards] (SCNoPTR): Likewise.
25968 [C99-based-standards] (SCNuPTR): Likewise.
25969 [C99-based-standards] (SCNxPTR): Likewise.
25970 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25971 allow.
25972 * conform/data/stdint.h-data: Update comments to clarify
25973 requirements.
25974 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25975 type.
25976 [C99-based standards] (INT8_MAX): Likewise.
25977 [C99-based standards] (INT16_MIN): Likewise.
25978 [C99-based standards] (INT16_MAX): Likewise.
25979 [C99-based standards] (INT32_MIN): Likewise.
25980 [C99-based standards] (INT32_MAX): Likewise.
25981 [C99-based standards] (INT64_MIN): Likewise.
25982 [C99-based standards] (INT64_MAX): Likewise.
25983 [C99-based standards] (UINT8_MAX): Likewise.
25984 [C99-based standards] (UINT16_MAX): Likewise.
25985 [C99-based standards] (UINT32_MAX): Likewise.
25986 [C99-based standards] (UINT64_MAX): Likewise.
25987 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25988 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25989 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25990 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25991 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25992 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25993 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25994 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25995 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25996 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25997 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25998 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25999 [C99-based standards] (INT_FAST8_MIN): Likewise.
26000 [C99-based standards] (INT_FAST8_MAX): Likewise.
26001 [C99-based standards] (INT_FAST16_MIN): Likewise.
26002 [C99-based standards] (INT_FAST16_MAX): Likewise.
26003 [C99-based standards] (INT_FAST32_MIN): Likewise.
26004 [C99-based standards] (INT_FAST32_MAX): Likewise.
26005 [C99-based standards] (INT_FAST64_MIN): Likewise.
26006 [C99-based standards] (INT_FAST64_MAX): Likewise.
26007 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26008 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26009 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26010 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26011 [C99-based standards] (INTPTR_MIN): Likewise.
26012 [C99-based standards] (INTPTR_MAX): Likewise.
26013 [C99-based standards] (UINTPTR_MAX): Likewise.
26014 [C99-based standards] (INTMAX_MIN): Likewise.
26015 [C99-based standards] (INTMAX_MAX): Likewise.
26016 [C99-based standards] (UINTMAX_MAX): Likewise.
26017 [C99-based standards] (PTRDIFF_MIN): Likewise.
26018 [C99-based standards] (PTRDIFF_MAX): Likewise.
26019 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26020 [C99-based standards] (SIZE_MAX): Likewise.
26021 [C99-based standards] (WCHAR_MAX): Likewise.
26022 [C99-based standards] (WINT_MAX): Likewise.
26023 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26024 constraint on value.
26025 [C99-based standards] (WCHAR_MIN): Likewise.
26026 [C99-based standards] (WINT_MIN): Likewise.
26027 [C99-based standards] (*_t): Allow.
26028 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26029 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26030 Include math.h-data and complex.h-data. Remove all expectations
26031 of math.h and complex.h contents.
26032 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26033 at end of line.
26034 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26035 (struct tm): Expect tag.
26036 [C99-based-standards] (wcstof): Expect function.
26037 [C99-based-standards] (wcstold): Likewise.
26038 [C99-based-standards] (wcstoll): Likewise.
26039 [C99-based-standards] (wcstoull): Likewise.
26040 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26041 macro-int-constant. Specify type.
26042 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26043 constraint on value.
26044 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26045 Specify type.
26046 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26047 Specify value.
26048 [ISO C standards]: Do not allow headers.
26049 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26050 wcs[abcdefghijklmnopqrstuvwxyz]*.
26051 [ISO C standards] (*_t): Do not allow.
26052 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26053 Expect function.
26054 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26055 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26056 Specify type.
26057 [ISO C standards]: Do not allow headers.
26058 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26059 is[abcdefghijklmnopqrstuvwxyz]*.
26060 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26061 to[abcdefghijklmnopqrstuvwxyz]*.
26062 [ISO C standards] (*_t): Do not allow.
26063 * conform/data/stdalign.h-data: New file.
26064 * conform/data/stdbool.h-data: Likewise.
26065 * conform/data/stdnoreturn.h-data: Likewise.
26066
7514feb8
RM
260672012-11-07 Roland McGrath <roland@hack.frob.com>
26068
26069 [BZ #14815]
26070 * manual/filesys.texi (Directory Entries): Typo fix.
26071 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26072
19b2ecfc
MS
260732012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26074
26075 * elf/elf.h (EM_AARCH64): New macro.
26076 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26077 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26078 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26079 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26080 (R_AARCH64_TLSDESC): Likewise.
26081 (NT_ARM_TLS): Likewise.
26082 (NT_ARM_HW_BREAK): Likewise.
26083 (NT_ARM_HW_WATCH): Likewise.
26084
60e235ee
JM
260852012-11-07 Joseph Myers <joseph@codesourcery.com>
26086
26087 [BZ #14811]
26088 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26089 (__ieee754_powl): Saturate nonzero exponents with absolute value
26090 below 0x1p-79 to +/- 0x1p-79.
26091 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26092 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26093 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26094 nonzero exponents with absolute value below 0x1p-32 to +/-
26095 0x1p-32.
26096 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26097 (__ieee754_powl): Saturate nonzero exponents with absolute value
26098 below 0x1p-79 to +/- 0x1p-79.
26099 * math/libm-test.inc (pow_test): Add more tests.
26100
0ab234b7
AK
261012012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26102
26103 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26104 _dl_s390_cap_flags with kernel. Increase string length.
26105 (_dl_s390_platforms): Add z196 and zEC12.
26106
45832f74
JM
261072012-11-07 Joseph Myers <joseph@codesourcery.com>
26108
26109 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26110 Change XOPEN21K to XOPEN2K.
26111
19218757
MK
261122012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26113
26114 * string/memmove.c: Use memcpy when possible.
26115
c5f45721
AJ
261162012-11-06 Andreas Jaeger <aj@suse.de>
26117
26118 * po/eo.po: Update from translation team.
26119
82477c28
JM
261202012-11-06 Joseph Myers <joseph@codesourcery.com>
26121
26122 [BZ #14793]
26123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26124 exponent and small x and y exponents, scale x or y up. Increase
26125 by 2 the exponent used in scaling up.
26126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26127 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26128 * math/libm-test.inc (fma_test): Add more tests.
26129 (fma_test_towardzero): Likewise.
26130 (fma_test_downward): Likewise.
26131 (fma_test_upward): Likewise.
26132
99252c8c
JM
261332012-11-05 Joseph Myers <joseph@codesourcery.com>
26134
acfa885f
JM
26135 [BZ #14805]
26136 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26137 fenv_t *.
26138
99252c8c
JM
26139 [BZ #14801]
26140 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26141 namespace for names of struct fields.
26142 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26143 fenv_t fields.
26144 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26145 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26146
d6d98dea
ST
261472012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26148
26149 [BZ #3665]
26150 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26151
e10bb107
TS
261522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26153
26154 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26155 PTR_DEMANGLE.
26156
26157 [BZ #5246]
26158 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26159 PTR_DEMANGLE.
26160
a0c2940d
JM
261612012-11-04 Joseph Myers <joseph@codesourcery.com>
26162
26163 [BZ #14797]
26164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26165 definitely overflow as x * y not x * y + z.
26166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26168 * math/libm-test.inc (fma_test): Add more tests.
26169 (fma_test_towardzero): Likewise.
26170 (fma_test_downward): Likewise.
26171 (fma_test_upward): Likewise.
26172
b830319d
TS
261732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26174
26175 [BZ #157]
26176
26177 * include/stub-tag.h: Remove file.
26178 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26179 '#include' of it.
26180 * manual/maint.texi (Porting): Don't reference it.
26181 * Makerules ($(objpfx)stubs): Likewise.
26182 * dirent/closedir.c: Don't include <stub-tag.h>.
26183 * dirent/dirfd.c: Likewise.
26184 * dirent/fdopendir.c: Likewise.
26185 * dirent/getdents.c: Likewise.
26186 * dirent/getdents64.c: Likewise.
26187 * dirent/opendir.c: Likewise.
26188 * dirent/readdir.c: Likewise.
26189 * dirent/readdir64.c: Likewise.
26190 * dirent/readdir64_r.c: Likewise.
26191 * dirent/readdir_r.c: Likewise.
26192 * dirent/rewinddir.c: Likewise.
26193 * dirent/seekdir.c: Likewise.
26194 * dirent/telldir.c: Likewise.
26195 * gmon/profil.c: Likewise.
26196 * grp/setgroups.c: Likewise.
26197 * inet/if_index.c: Likewise.
26198 * io/access.c: Likewise.
26199 * io/chdir.c: Likewise.
26200 * io/chmod.c: Likewise.
26201 * io/chown.c: Likewise.
26202 * io/close.c: Likewise.
26203 * io/dup.c: Likewise.
26204 * io/dup2.c: Likewise.
26205 * io/dup3.c: Likewise.
26206 * io/euidaccess.c: Likewise.
26207 * io/faccessat.c: Likewise.
26208 * io/fchdir.c: Likewise.
26209 * io/fchmod.c: Likewise.
26210 * io/fchmodat.c: Likewise.
26211 * io/fchown.c: Likewise.
26212 * io/fchownat.c: Likewise.
26213 * io/fcntl.c: Likewise.
26214 * io/flock.c: Likewise.
26215 * io/fstatfs.c: Likewise.
26216 * io/fstatfs64.c: Likewise.
26217 * io/fstatvfs.c: Likewise.
26218 * io/fstatvfs64.c: Likewise.
26219 * io/futimens.c: Likewise.
26220 * io/fxstat.c: Likewise.
26221 * io/fxstat64.c: Likewise.
26222 * io/fxstatat.c: Likewise.
26223 * io/fxstatat64.c: Likewise.
26224 * io/getcwd.c: Likewise.
26225 * io/isatty.c: Likewise.
26226 * io/lchmod.c: Likewise.
26227 * io/lchown.c: Likewise.
26228 * io/link.c: Likewise.
26229 * io/linkat.c: Likewise.
26230 * io/lseek.c: Likewise.
26231 * io/lseek64.c: Likewise.
26232 * io/lxstat64.c: Likewise.
26233 * io/mkdir.c: Likewise.
26234 * io/mkdirat.c: Likewise.
26235 * io/mkfifo.c: Likewise.
26236 * io/mkfifoat.c: Likewise.
26237 * io/open.c: Likewise.
26238 * io/open64.c: Likewise.
26239 * io/openat.c: Likewise.
26240 * io/openat64.c: Likewise.
26241 * io/pipe.c: Likewise.
26242 * io/pipe2.c: Likewise.
26243 * io/poll.c: Likewise.
26244 * io/posix_fadvise.c: Likewise.
26245 * io/posix_fadvise64.c: Likewise.
26246 * io/posix_fallocate.c: Likewise.
26247 * io/posix_fallocate64.c: Likewise.
26248 * io/read.c: Likewise.
26249 * io/readlink.c: Likewise.
26250 * io/readlinkat.c: Likewise.
26251 * io/rmdir.c: Likewise.
26252 * io/sendfile.c: Likewise.
26253 * io/sendfile64.c: Likewise.
26254 * io/statfs.c: Likewise.
26255 * io/statfs64.c: Likewise.
26256 * io/statvfs.c: Likewise.
26257 * io/statvfs64.c: Likewise.
26258 * io/symlink.c: Likewise.
26259 * io/symlinkat.c: Likewise.
26260 * io/ttyname.c: Likewise.
26261 * io/ttyname_r.c: Likewise.
26262 * io/umask.c: Likewise.
26263 * io/unlink.c: Likewise.
26264 * io/unlinkat.c: Likewise.
26265 * io/utime.c: Likewise.
26266 * io/utimensat.c: Likewise.
26267 * io/write.c: Likewise.
26268 * io/xmknod.c: Likewise.
26269 * io/xmknodat.c: Likewise.
26270 * io/xstat.c: Likewise.
26271 * io/xstat64.c: Likewise.
26272 * login/getpt.c: Likewise.
26273 * login/grantpt.c: Likewise.
26274 * login/unlockpt.c: Likewise.
26275 * math/e_acoshl.c: Likewise.
26276 * math/e_acosl.c: Likewise.
26277 * math/e_asinl.c: Likewise.
26278 * math/e_atan2l.c: Likewise.
26279 * math/e_atanhl.c: Likewise.
26280 * math/e_coshl.c: Likewise.
26281 * math/e_expl.c: Likewise.
26282 * math/e_fmodl.c: Likewise.
26283 * math/e_gammal_r.c: Likewise.
26284 * math/e_hypotl.c: Likewise.
26285 * math/e_j0l.c: Likewise.
26286 * math/e_j1l.c: Likewise.
26287 * math/e_jnl.c: Likewise.
26288 * math/e_lgammal_r.c: Likewise.
26289 * math/e_log10l.c: Likewise.
26290 * math/e_log2l.c: Likewise.
26291 * math/e_logl.c: Likewise.
26292 * math/e_powl.c: Likewise.
26293 * math/e_rem_pio2l.c: Likewise.
26294 * math/e_sinhl.c: Likewise.
26295 * math/e_sqrtl.c: Likewise.
26296 * math/fclrexcpt.c: Likewise.
26297 * math/fedisblxcpt.c: Likewise.
26298 * math/feenablxcpt.c: Likewise.
26299 * math/fegetenv.c: Likewise.
26300 * math/fegetexcept.c: Likewise.
26301 * math/fegetround.c: Likewise.
26302 * math/feholdexcpt.c: Likewise.
26303 * math/fesetenv.c: Likewise.
26304 * math/fesetround.c: Likewise.
26305 * math/feupdateenv.c: Likewise.
26306 * math/fgetexcptflg.c: Likewise.
26307 * math/fraiseexcpt.c: Likewise.
26308 * math/fsetexcptflg.c: Likewise.
26309 * math/ftestexcept.c: Likewise.
26310 * math/k_cosl.c: Likewise.
26311 * math/k_rem_pio2l.c: Likewise.
26312 * math/k_sinl.c: Likewise.
26313 * math/k_tanl.c: Likewise.
26314 * math/s_asinhl.c: Likewise.
26315 * math/s_atanl.c: Likewise.
26316 * math/s_cbrtl.c: Likewise.
26317 * math/s_erfl.c: Likewise.
26318 * math/s_expm1l.c: Likewise.
26319 * math/s_log1pl.c: Likewise.
26320 * math/s_tanhl.c: Likewise.
26321 * misc/acct.c: Likewise.
26322 * misc/brk.c: Likewise.
26323 * misc/chflags.c: Likewise.
26324 * misc/chroot.c: Likewise.
26325 * misc/fchflags.c: Likewise.
26326 * misc/fgetxattr.c: Likewise.
26327 * misc/flistxattr.c: Likewise.
26328 * misc/fremovexattr.c: Likewise.
26329 * misc/fsetxattr.c: Likewise.
26330 * misc/fsync.c: Likewise.
26331 * misc/ftruncate.c: Likewise.
26332 * misc/futimes.c: Likewise.
26333 * misc/futimesat.c: Likewise.
26334 * misc/getdomain.c: Likewise.
26335 * misc/getdtsz.c: Likewise.
26336 * misc/gethostid.c: Likewise.
26337 * misc/gethostname.c: Likewise.
26338 * misc/getloadavg.c: Likewise.
26339 * misc/getpagesize.c: Likewise.
26340 * misc/getsysstats.c: Likewise.
26341 * misc/getxattr.c: Likewise.
26342 * misc/gtty.c: Likewise.
26343 * misc/ioctl.c: Likewise.
26344 * misc/lgetxattr.c: Likewise.
26345 * misc/listxattr.c: Likewise.
26346 * misc/llistxattr.c: Likewise.
26347 * misc/lremovexattr.c: Likewise.
26348 * misc/lsetxattr.c: Likewise.
26349 * misc/lutimes.c: Likewise.
26350 * misc/madvise.c: Likewise.
26351 * misc/mincore.c: Likewise.
26352 * misc/mlock.c: Likewise.
26353 * misc/mlockall.c: Likewise.
26354 * misc/mmap.c: Likewise.
26355 * misc/mprotect.c: Likewise.
26356 * misc/msync.c: Likewise.
26357 * misc/munlock.c: Likewise.
26358 * misc/munlockall.c: Likewise.
26359 * misc/munmap.c: Likewise.
26360 * misc/preadv.c: Likewise.
26361 * misc/preadv64.c: Likewise.
26362 * misc/ptrace.c: Likewise.
26363 * misc/pwritev.c: Likewise.
26364 * misc/pwritev64.c: Likewise.
26365 * misc/readv.c: Likewise.
26366 * misc/reboot.c: Likewise.
26367 * misc/remap_file_pages.c: Likewise.
26368 * misc/removexattr.c: Likewise.
26369 * misc/revoke.c: Likewise.
26370 * misc/select.c: Likewise.
26371 * misc/setdomain.c: Likewise.
26372 * misc/setegid.c: Likewise.
26373 * misc/seteuid.c: Likewise.
26374 * misc/sethostid.c: Likewise.
26375 * misc/sethostname.c: Likewise.
26376 * misc/setregid.c: Likewise.
26377 * misc/setreuid.c: Likewise.
26378 * misc/setxattr.c: Likewise.
26379 * misc/sstk.c: Likewise.
26380 * misc/stty.c: Likewise.
26381 * misc/swapoff.c: Likewise.
26382 * misc/swapon.c: Likewise.
26383 * misc/sync.c: Likewise.
26384 * misc/syncfs.c: Likewise.
26385 * misc/syscall.c: Likewise.
26386 * misc/truncate.c: Likewise.
26387 * misc/ualarm.c: Likewise.
26388 * misc/usleep.c: Likewise.
26389 * misc/ustat.c: Likewise.
26390 * misc/utimes.c: Likewise.
26391 * misc/vhangup.c: Likewise.
26392 * misc/writev.c: Likewise.
26393 * posix/_exit.c: Likewise.
26394 * posix/alarm.c: Likewise.
26395 * posix/execve.c: Likewise.
26396 * posix/fexecve.c: Likewise.
26397 * posix/fork.c: Likewise.
26398 * posix/fpathconf.c: Likewise.
26399 * posix/getaddrinfo.c: Likewise.
26400 * posix/getegid.c: Likewise.
26401 * posix/geteuid.c: Likewise.
26402 * posix/getgid.c: Likewise.
26403 * posix/getgroups.c: Likewise.
26404 * posix/getlogin.c: Likewise.
26405 * posix/getlogin_r.c: Likewise.
26406 * posix/getpgid.c: Likewise.
26407 * posix/getpid.c: Likewise.
26408 * posix/getppid.c: Likewise.
26409 * posix/getresgid.c: Likewise.
26410 * posix/getresuid.c: Likewise.
26411 * posix/getsid.c: Likewise.
26412 * posix/getuid.c: Likewise.
26413 * posix/glob64.c: Likewise.
26414 * posix/nanosleep.c: Likewise.
26415 * posix/pathconf.c: Likewise.
26416 * posix/pause.c: Likewise.
26417 * posix/posix_madvise.c: Likewise.
26418 * posix/pread.c: Likewise.
26419 * posix/pread64.c: Likewise.
26420 * posix/pwrite.c: Likewise.
26421 * posix/pwrite64.c: Likewise.
26422 * posix/sched_getaffinity.c: Likewise.
26423 * posix/sched_getp.c: Likewise.
26424 * posix/sched_gets.c: Likewise.
26425 * posix/sched_primax.c: Likewise.
26426 * posix/sched_primin.c: Likewise.
26427 * posix/sched_rr_gi.c: Likewise.
26428 * posix/sched_setaffinity.c: Likewise.
26429 * posix/sched_setp.c: Likewise.
26430 * posix/sched_sets.c: Likewise.
26431 * posix/sched_yield.c: Likewise.
26432 * posix/setgid.c: Likewise.
26433 * posix/setlogin.c: Likewise.
26434 * posix/setpgid.c: Likewise.
26435 * posix/setresgid.c: Likewise.
26436 * posix/setresuid.c: Likewise.
26437 * posix/setsid.c: Likewise.
26438 * posix/setuid.c: Likewise.
26439 * posix/sleep.c: Likewise.
26440 * posix/spawni.c: Likewise.
26441 * posix/sysconf.c: Likewise.
26442 * posix/times.c: Likewise.
26443 * posix/wait.c: Likewise.
26444 * posix/wait3.c: Likewise.
26445 * posix/wait4.c: Likewise.
26446 * posix/waitpid.c: Likewise.
26447 * resolv/gai_sigqueue.c: Likewise.
26448 * resource/getpriority.c: Likewise.
26449 * resource/getrlimit.c: Likewise.
26450 * resource/getrusage.c: Likewise.
26451 * resource/nice.c: Likewise.
26452 * resource/setpriority.c: Likewise.
26453 * resource/setrlimit.c: Likewise.
26454 * resource/ulimit.c: Likewise.
26455 * rt/aio_cancel.c: Likewise.
26456 * rt/aio_fsync.c: Likewise.
26457 * rt/aio_read.c: Likewise.
26458 * rt/aio_sigqueue.c: Likewise.
26459 * rt/aio_suspend.c: Likewise.
26460 * rt/aio_write.c: Likewise.
26461 * rt/clock_getres.c: Likewise.
26462 * rt/clock_gettime.c: Likewise.
26463 * rt/clock_nanosleep.c: Likewise.
26464 * rt/clock_settime.c: Likewise.
26465 * rt/lio_listio.c: Likewise.
26466 * rt/mq_close.c: Likewise.
26467 * rt/mq_getattr.c: Likewise.
26468 * rt/mq_notify.c: Likewise.
26469 * rt/mq_open.c: Likewise.
26470 * rt/mq_receive.c: Likewise.
26471 * rt/mq_send.c: Likewise.
26472 * rt/mq_setattr.c: Likewise.
26473 * rt/mq_timedreceive.c: Likewise.
26474 * rt/mq_timedsend.c: Likewise.
26475 * rt/mq_unlink.c: Likewise.
26476 * rt/shm_open.c: Likewise.
26477 * rt/shm_unlink.c: Likewise.
26478 * rt/timer_create.c: Likewise.
26479 * rt/timer_delete.c: Likewise.
26480 * rt/timer_getoverr.c: Likewise.
26481 * rt/timer_gettime.c: Likewise.
26482 * rt/timer_settime.c: Likewise.
26483 * setjmp/__longjmp.c: Likewise.
26484 * setjmp/setjmp.c: Likewise.
26485 * signal/kill.c: Likewise.
26486 * signal/killpg.c: Likewise.
26487 * signal/raise.c: Likewise.
26488 * signal/sigaction.c: Likewise.
26489 * signal/sigaltstack.c: Likewise.
26490 * signal/sigblock.c: Likewise.
26491 * signal/sigignore.c: Likewise.
26492 * signal/sigintr.c: Likewise.
26493 * signal/signal.c: Likewise.
26494 * signal/sigpause.c: Likewise.
26495 * signal/sigpending.c: Likewise.
26496 * signal/sigqueue.c: Likewise.
26497 * signal/sigreturn.c: Likewise.
26498 * signal/sigset.c: Likewise.
26499 * signal/sigsetmask.c: Likewise.
26500 * signal/sigstack.c: Likewise.
26501 * signal/sigsuspend.c: Likewise.
26502 * signal/sigtimedwait.c: Likewise.
26503 * signal/sigvec.c: Likewise.
26504 * signal/sigwait.c: Likewise.
26505 * signal/sigwaitinfo.c: Likewise.
26506 * signal/sysv_signal.c: Likewise.
26507 * socket/accept.c: Likewise.
26508 * socket/accept4.c: Likewise.
26509 * socket/bind.c: Likewise.
26510 * socket/connect.c: Likewise.
26511 * socket/getpeername.c: Likewise.
26512 * socket/getsockname.c: Likewise.
26513 * socket/getsockopt.c: Likewise.
26514 * socket/isfdtype.c: Likewise.
26515 * socket/listen.c: Likewise.
26516 * socket/recv.c: Likewise.
26517 * socket/recvfrom.c: Likewise.
26518 * socket/recvmsg.c: Likewise.
26519 * socket/send.c: Likewise.
26520 * socket/sendmsg.c: Likewise.
26521 * socket/sendto.c: Likewise.
26522 * socket/setsockopt.c: Likewise.
26523 * socket/shutdown.c: Likewise.
26524 * socket/sockatmark.c: Likewise.
26525 * socket/socket.c: Likewise.
26526 * socket/socketpair.c: Likewise.
26527 * stdio-common/ctermid.c: Likewise.
26528 * stdio-common/cuserid.c: Likewise.
26529 * stdio-common/remove.c: Likewise.
26530 * stdio-common/rename.c: Likewise.
26531 * stdio-common/renameat.c: Likewise.
26532 * stdio-common/tempname.c: Likewise.
26533 * stdlib/getcontext.c: Likewise.
26534 * stdlib/makecontext.c: Likewise.
26535 * stdlib/setcontext.c: Likewise.
26536 * stdlib/swapcontext.c: Likewise.
26537 * stdlib/system.c: Likewise.
26538 * streams/fattach.c: Likewise.
26539 * streams/fdetach.c: Likewise.
26540 * streams/getmsg.c: Likewise.
26541 * streams/getpmsg.c: Likewise.
26542 * streams/putmsg.c: Likewise.
26543 * streams/putpmsg.c: Likewise.
26544 * sysdeps/unix/bsd/getpt.c: Likewise.
26545 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26546 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26547 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26549 Likewise.
26550 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26551 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26552 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26553 * sysvipc/msgctl.c: Likewise.
26554 * sysvipc/msgget.c: Likewise.
26555 * sysvipc/msgrcv.c: Likewise.
26556 * sysvipc/msgsnd.c: Likewise.
26557 * sysvipc/semctl.c: Likewise.
26558 * sysvipc/semget.c: Likewise.
26559 * sysvipc/semop.c: Likewise.
26560 * sysvipc/semtimedop.c: Likewise.
26561 * sysvipc/shmat.c: Likewise.
26562 * sysvipc/shmctl.c: Likewise.
26563 * sysvipc/shmdt.c: Likewise.
26564 * sysvipc/shmget.c: Likewise.
26565 * termios/tcdrain.c: Likewise.
26566 * termios/tcflow.c: Likewise.
26567 * termios/tcflush.c: Likewise.
26568 * termios/tcgetattr.c: Likewise.
26569 * termios/tcgetpgrp.c: Likewise.
26570 * termios/tcsendbrk.c: Likewise.
26571 * termios/tcsetattr.c: Likewise.
26572 * termios/tcsetpgrp.c: Likewise.
26573 * time/adjtime.c: Likewise.
26574 * time/clock.c: Likewise.
26575 * time/getitimer.c: Likewise.
26576 * time/gettimeofday.c: Likewise.
26577 * time/setitimer.c: Likewise.
26578 * time/settimeofday.c: Likewise.
26579 * time/stime.c: Likewise.
26580 * time/time.c: Likewise.
26581
265822012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 26583
a20492cf
PT
26584 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26585 /usr/old/bin.
26586
72e182e3
PT
26587 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26588 instead of spaces.
26589 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26590
fbeafede
JM
265912012-11-03 Joseph Myers <joseph@codesourcery.com>
26592
5b5b04d6
JM
26593 [BZ #14796]
26594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26595 FE_TONEAREST before applying Dekker multiplication and Knuth
26596 addition. Clear inexact exceptions and check for exact zero
26597 results afterwards.
26598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26599 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26600 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26601 * math/libm-test.inc (fma_test): Add more tests.
26602 (fma_test_towardzero): Likewise.
26603 (fma_test_downward): Likewise.
26604 (fma_test_upward): Likewise.
26605 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26606 function.
26607 (libc_fesetround): New macro.
26608 (libc_fesetroundf): Likewise.
26609 (libc_fesetroundl): Likewise.
26610 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26611 function.
26612 (libc_fesetround_387): Likewise.
26613 (libc_fesetroundf): New macro.
26614 (libc_fesetround): Likewise.
26615 (libc_fesetroundl): Likewise.
26616 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26617 function.
26618 (libc_fesetroundf): New macro.
26619 (libc_fesetround): Likewise.
26620 (libc_fesetroundl): Likewise.
26621 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26622 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26623 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26624 libm_hidden_ver.
26625 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26626 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26627 libm_hidden_def.
26628 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26629 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26630 libm_hidden_ver.
26631 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26632 libm_hidden_def.
26633
fbeafede
JM
26634 [BZ #3439]
26635 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26636 integer constant usable in #if and use that to give value to enum
26637 constant.
26638 (FE_DIVBYZERO): Likewise.
26639 (FE_UNDERFLOW): Likewise.
26640 (FE_OVERFLOW): Likewise.
26641 (FE_INVALID): Likewise.
26642 (FE_INVALID_SNAN): Likewise.
26643 (FE_INVALID_ISI): Likewise.
26644 (FE_INVALID_IDI): Likewise.
26645 (FE_INVALID_ZDZ): Likewise.
26646 (FE_INVALID_IMZ): Likewise.
26647 (FE_INVALID_COMPARE): Likewise.
26648 (FE_INVALID_SOFTWARE): Likewise.
26649 (FE_INVALID_SQRT): Likewise.
26650 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26651 (FE_TONEAREST): Likewise.
26652 (FE_TOWARDZERO): Likewise.
26653 (FE_UPWARD): Likewise.
26654 (FE_DOWNWARD): Likewise.
26655 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26656 (FE_DIVBYZERO): Likewise.
26657 (FE_OVERFLOW): Likewise.
26658 (FE_UNDERFLOW): Likewise.
26659 (FE_INEXACT): Likewise.
26660 (FE_TONEAREST): Likewise.
26661 (FE_DOWNWARD): Likewise.
26662 (FE_UPWARD): Likewise.
26663 (FE_TOWARDZERO): Likewise.
26664 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26665 (FE_UNDERFLOW): Likewise.
26666 (FE_OVERFLOW): Likewise.
26667 (FE_DIVBYZERO): Likewise.
26668 (FE_INVALID): Likewise.
26669 (FE_TONEAREST): Likewise.
26670 (FE_TOWARDZERO): Likewise.
26671 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26672 (FE_OVERFLOW): Likewise.
26673 (FE_UNDERFLOW): Likewise.
26674 (FE_DIVBYZERO): Likewise.
26675 (FE_INEXACT): Likewise.
26676 (FE_TONEAREST): Likewise.
26677 (FE_TOWARDZERO): Likewise.
26678 (FE_UPWARD): Likewise.
26679 (FE_DOWNWARD): Likewise.
26680 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26681 (FE_DIVBYZERO): Likewise.
26682 (FE_OVERFLOW): Likewise.
26683 (FE_UNDERFLOW): Likewise.
26684 (FE_INEXACT): Likewise.
26685 (FE_TONEAREST): Likewise.
26686 (FE_DOWNWARD): Likewise.
26687 (FE_UPWARD): Likewise.
26688 (FE_TOWARDZERO): Likewise.
26689
105ca950
CM
266902012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26691
26692 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26693
a542b389
AS
266942012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26695
26696 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26697 commands. Quote $PWD.
26698 (blacklist_exports): Don't use remove_newlines. Replace "declare
26699 -x" by "export".
26700 (remove_newlines): Remove.
26701
f62c8abc
L
267022012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26703
26704 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26705 * stdlib/stdlib.h (atof): Moved to ...
26706 * include/bits/stdlib-float.h: Here. New file.
26707 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26708 * stdlib/bits/stdlib-float.h: New file.
26709 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26710 -mno-sse -mno-mmx.
26711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26712 <xmmintrin.h>.
26713
0155d5b2
JM
267142012-11-02 Joseph Myers <joseph@codesourcery.com>
26715
a68d0680
JM
26716 * conform/conformtest.pl (@headers): Add fenv.h.
26717 * conform/data/fenv.h-data: New file.
26718 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26719 include of <math/fenv.h>.
26720
caf7f573
JM
26721 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26722 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26723 && !UNIX98]. Enables tests for XOPEN2K8.
26724 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26725 POSIX2008]: Likewise.
26726
6c073ad6
JM
26727 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26728 (struct rusage): Do not expect type or its members.
26729
0155d5b2
JM
26730 [BZ #3439]
26731 * math/math.h (FP_NAN): Define macro to integer constant usable in
26732 #if and use that to give value to enum constant.
26733 (FP_INFINITE): Likewise.
26734 (FP_ZERO): Likewise.
26735 (FP_SUBNORMAL): Likewise.
26736 (FP_NORMAL): Likewise.
26737
b5dcacb4
AS
267382012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26739
26740 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26741 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26742 arguments.
26743
f7934be8
RM
267442012-11-02 Roland McGrath <roland@hack.frob.com>
26745
26746 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26747 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26748 autoconf-time if not.
26749 * configure.in: Remove AC_PREREQ.
26750
d7d08bde
TMQMF
267512012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26752
26753 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26754 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26755 of the internal implementation.
26756
dcdae19a
JM
267572012-11-02 Joseph Myers <joseph@codesourcery.com>
26758
26759 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26760 except include of <misc/sys/syslog.h>.
26761
d6cffd3e
AS
267622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26763
26764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26765 function returns with a NULL context exit with zero.
26766
b3563932
TMQMF
267672012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26768
26769 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26770
b288a93d
L
267712012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26772
26773 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26774 (run_program_cmd): This.
26775 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26776 (tst_langinfo): New variable. Use it.
26777
a2421a68
SAS
267782012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26779
26780 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26781 floating point opcodes.
26782
6f796e1b
TS
267832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26784
7402596b
TS
26785 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26786 variable.
26787
d0d4f868
TS
26788 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26789
6f796e1b
TS
26790 * sysdeps/mach/hurd/powerpc: Remove directory.
26791 * sysdeps/mach/powerpc: Likewise.
26792
4da224a2
AS
267932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26794
26795 * scripts/check-local-headers.sh: Ignore c++ headers.
26796
341dd673
TS
267972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26798
26799 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26800 __libc_cleanup_region_start argument.
26801
473611b2
JM
268022012-11-01 Joseph Myers <joseph@codesourcery.com>
26803
26804 [BZ #14784]
26805 [BZ #14785]
26806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26807 x * y using scaling, not as x * y + z.
26808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26809 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26810 * math/libm-test.inc (fma_test): Add more tests.
26811 (fma_test_towardzero): Likewise.
26812 (fma_test_downward): Likewise.
26813 (fma_test_upward): Likewise.
26814
4078da3d
TS
268152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26816
26817 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26818
903252aa
JM
268192012-10-31 Joseph Myers <joseph@codesourcery.com>
26820
26821 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26822 New variable.
26823
cbc818d0
TS
268242012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26825
26826 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26827
5a03cb1e
AS
268282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26829
26830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26831 Fix sort order.
26832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26833 Likewise.
26834
90aff2ff
TMQMF
268352012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26836
26837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26838 Fix the order of the list for glibc 2.17.
26839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26840 Likewise.
26841
1818fcb7
AS
268422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26843
26844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26845
ef82f4da
JM
268462012-10-31 Joseph Myers <joseph@codesourcery.com>
26847
16a0e2ec
JM
26848 [BZ #14610]
26849 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26850 for low part of x being zero before using __atanl (y).
26851 * math/libm-test.inc (atan2_test): Add another test.
26852
0eb69512
JM
26853 * manual/install.texi (Configuring and compiling): Document
26854 general use of test-wrapper and test-wrapper-env.
26855 * INSTALL: Regenerated.
26856
ef82f4da
JM
26857 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26858 (__fma): Do not extract and scale down low bits on after-rounding
26859 systems when result rounded to normal precision would have normal
26860 exponent.
26861 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26862 (__fmal): Do not extract and scale down low bits on after-rounding
26863 systems when result rounded to normal precision would have normal
26864 exponent.
26865 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26866 (__fmal): Do not extract and scale down low bits on after-rounding
26867 systems when result rounded to normal precision would have normal
26868 exponent.
26869 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26870 macro.
26871 (fma_test): Add more tests.
26872 (fma_test_towardzero): Likewise.
26873 (fma_test_downward): Likewise.
26874 (fma_test_upward): Likewise.
26875
954ef0d9
L
268762012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26877
26878 * sysdeps/i386/tininess.h: Renamed to ...
26879 * sysdeps/x86/tininess.h: This.
26880 * sysdeps/x86_64/tininess.h: Removed.
26881
df61ffb2
JM
268822012-10-30 Joseph Myers <joseph@codesourcery.com>
26883
26884 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26885 input. Use $(build-program-cmd).
26886 ($(objpfx)tst-array1-static.out): Likewise.
26887 ($(objpfx)tst-array2.out): Likewise.
26888 ($(objpfx)tst-array3.out): Likewise.
26889 ($(objpfx)tst-array4.out): Likewise.
26890 ($(objpfx)tst-array5.out): Likewise.
26891 ($(objpfx)tst-array5-static.out): Likewise.
26892
01767843
CM
268932012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26894
47cc1490
CM
26895 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26896 if defined.
26897
01767843
CM
26898 * nss/nsswitch.h (nss_interface_function): Provide new
26899 macro for use with NSS functions.
26900 * grp/initgroups.c: Use new macro.
26901 * nss/getXXbyYY.c: Likewise.
26902 * nss/getXXbyYY_r.c: Likewise.
26903 * nss/getXXent.c: Likewise.
26904 * nss/getXXent_r.c: Likewise.
26905 * sysdeps/posix/getaddrinfo.c: Likewise.
26906
8321aa97
AJ
269072012-10-30 Andreas Jaeger <aj@suse.de>
26908
26909 * po/ru.po: Update Russion translation from translation project.
26910
2a27fd6d
JM
269112012-10-30 Joseph Myers <joseph@codesourcery.com>
26912
8627a232
JM
26913 [BZ #14152]
26914 [BZ #14783]
26915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26916 result and shift together with sticky bit instead of replicating
26917 round-to-nearest rounding.
26918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26919 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26920 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26921 missing underflow exceptions.
26922 (fma_test_towardzero): Add more tests.
26923 (fma_test_downward): Likewise.
26924 (fma_test_upward): Likewise.
26925
2a27fd6d
JM
26926 [BZ #14047]
26927 * sysdeps/generic/tininess.h: New file.
26928 * sysdeps/i386/tininess.h: Likewise.
26929 * sysdeps/sh/tininess.h: Likewise.
26930 * sysdeps/x86_64/tininess.h: Likewise.
26931 * stdlib/tst-strtod-underflow.c: Likewise.
26932 * stdlib/tst-tininess.c: Likewise.
26933 * stdlib/strtod_l.c: Include <tininess.h>.
26934 (round_and_return): Do not set errno for exact underflow cases.
26935 Force an underflow exception when setting errno for underflow.
26936 Determine underflow based on rounding to normal precision if
26937 TININESS_AFTER_ROUNDING.
26938 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26939 ERANGE for exact underflow cases.
26940 * stdlib/Makefile (tests): Add tst-tininess and
26941 tst-strtod-underflow.
26942 ($(objpfx)tst-tininess): Use $(link-libm).
26943 ($(objpfx)tst-strtod-underflow): Likewise.
26944
e7170363
AJ
269452012-10-30 Andreas Jaeger <aj@suse.de>
26946
e5088dc6
AJ
26947 [BZ#14767]
26948 * elf/Makefile (tests): Remove conditional for have-initfini-array
26949 since this is now always required and the variable does not exist
26950 anymore.
26951 (tests-static): Likewise.
26952 (modules-names): Likewise.
26953
e7170363 26954 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
26955
26956 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26957 merged with constructor/destructor.
26958 (init_array): Likewise.
26959 * elf/tst-array2dep.c (fini_array): Likewise.
26960 (init_array): Likewise.
26961
60457d8a
MF
269622012-10-29 Mike Frysinger <vapier@gentoo.org>
26963
26964 * manual/message.texi: Delete @cartouche tags.
26965
8bece752
PT
269662012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26967
94ce799f
PT
26968 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26969 EOPNOTSUPP.
26970 * sysdeps/mach/hurd/fsync.c: Likewise.
26971
8bece752
PT
26972 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26973 [_POSIX_REALTIME_SIGNALS]: Change condition to
26974 [_POSIX_REALTIME_SIGNALS > 0].
26975
86ebe6b1
AJ
269762012-10-27 Andreas Jaeger <aj@suse.de>
26977
26978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26979 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26981 [__WORDSIZE != 64]: Likewise.
26982
54399c08
L
269832012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26984
26985 * iconvdata/tst-table.sh: Remove ${SHELL}.
26986 * iconvdata/tst-tables.sh: Likewise.
26987
e2211bed
DM
269882012-10-25 David S. Miller <davem@davemloft.net>
26989
26990 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26991 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26992 of strtoull.
26993
f303f97c
DM
26994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26995 ifunc-impl-list.c
26996 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26997 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26998 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26999 file.
27000
1e9d84cd
RM
270012012-10-25 Roland McGrath <roland@hack.frob.com>
27002
27003 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27004 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27005 __getdirentries.
27006
df381762
JM
270072012-10-25 Joseph Myers <joseph@codesourcery.com>
27008 Jim Blandy <jimb@codesourcery.com>
27009
27010 * scripts/cross-test-ssh.sh: New file.
27011 * manual/install.texi (Configuring and compiling): Document use of
27012 cross-test-ssh.sh.
27013 * INSTALL: Regenerated.
27014
bff64913
PT
270152012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27016
27017 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27018 EOPNOTSUPP.
27019
25fe8932
JM
270202012-10-25 Joseph Myers <joseph@codesourcery.com>
27021
27022 * Makeconfig (run-program-prefix): Fix comment.
27023
cc1290d0
JM
270242012-10-24 Joseph Myers <joseph@codesourcery.com>
27025 Jim Blandy <jimb@codesourcery.com>
27026
27027 * Makeconfig (test-wrapper): New variable,
27028 (test-wrapper-env): Likewise.
27029 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27030 (run-built-tests): Define to yes.
27031 (run-program-prefix): Use $(test-wrapper).
27032 (built-program-cmd): Likewise.
27033 * Rules (make-test-out): Use $(test-wrapper-env) and
27034 $(host-built-program-cmd).
27035 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27036 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27037 tst-pathopt.sh.
27038 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27039 $(test-wrapper-env) to tst-rtld-load-self.sh.
27040 ($(objpfx)order2.out): Use $(test-wrapper).
27041 ($(objpfx)tst-initorder.out): Likewise.
27042 ($(objpfx)tst-initorder2.out): Likewise.
27043 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27044 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27045 (test_wrapper_env): New variable. Use it to run ld.so.
27046 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27047 Use it to run ld.so.
27048 (test_wrapper_env): Likewise.
27049 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27050 $(test-wrapper) to run-iconv-test.sh.
27051 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27052 (ICONV): Use $test_wrapper.
27053 * posix/Makefile ($(objpfx)globtest.out): Pass
27054 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27055 globtest.sh, not $(run-program-prefix).
27056 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27057 (test_wrapper): Likewise.
27058 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27059 set together with run_via_rtld_prefix.
27060 (run_program_prefix): Define in terms of test_wrapper and
27061 run_via_rtld_prefix.
27062
6e6249d0
RM
270632012-10-24 Roland McGrath <roland@hack.frob.com>
27064
27065 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27066 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27067 Targets removed.
27068
27069 [BZ #14743]
27070 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27071 Declare __clock_getres, __clock_gettime, __clock_settime,
27072 __clock_nanosleep, and __clock_getcpuclockid.
27073 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27074 Remove librt_hidden_def (clock_gettime).
27075 * sysdeps/unix/clock_gettime.c: Likewise.
27076 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27077 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27078 * rt/clock_getres.c: Define __clock_getres as an alias.
27079 * sysdeps/posix/clock_getres.c: Likewise.
27080 * rt/clock_settime.c: Define __clock_settime as an alias.
27081 * sysdeps/unix/clock_settime.c: Likewise.
27082 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27083 * sysdeps/unix/clock_nanosleep.c: Likewise.
27084 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27085 * rt/clock-compat.c: New file.
27086 * rt/Makefile (librt-routines): Add clock-compat and move
27087 $(clock-routines) to ...
27088 (routines): ... here, new variable.
27089 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27090 Don't add get_clockfreq here.
27091 * rt/Versions (libc: GLIBC_2.17): New version set.
27092 Add clock_* symbols here.
27093 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27094 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27095 (GLIBC_2.17): Add clock_* symbols.
27096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27100 Likewise.
27101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27102 Likewise.
27103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27107 * NEWS: Mention the move.
27108
27109 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27110 Use __open, __read, __close rather than their public counterparts.
27111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27112 (__get_clockfreq_via_cpuinfo): Likewise.
27113 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27114 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27115
27116 * config.h.in (HAVE_IFUNC): New #undef.
27117 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27118 was successful.
27119 * configure: Regenerated.
27120
0cae3f4b
MF
271212012-10-24 Mike Frysinger <vapier@gentoo.org>
27122
27123 * configure.in: Move READELF check to start of file.
27124 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27125 libc_cv_asm_gnu_indirect_function in the process.
27126 * configure: Regenerated.
27127
8175a253
MF
271282012-10-24 Mike Frysinger <vapier@gentoo.org>
27129
27130 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27131 send the output to /dev/null.
27132 (libc_cv_cc_with_libunwind): Likewise.
27133 (libc_cv_as_noexecstack): Likewise.
27134 * configure: Regenerate.
27135
0708a7d1
JM
271362012-10-24 Joseph Myers <joseph@codesourcery.com>
27137
10b40d85
JM
27138 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27139
0708a7d1
JM
27140 * posix/globtest.sh (TMPDIR): Do not set.
27141 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27142 (testout): Likewise.
27143
9fddec1a
AJ
271442012-10-24 Andreas Jaeger <aj@suse.de>
27145
3a8db22f
AJ
27146 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27147 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27148 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27149 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27150 posix_fadvise64, posix_fallocate64.
27151
9fddec1a
AJ
27152 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27153 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27154 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27155 Likewise.
27156 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27157 Likewise.
27158 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27159
27160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27161 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27162 <bits/fcntl-linux.h>.
27163 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27164
27165 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27166 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27167 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27168 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27169 [__WORDSIZE != 64]: Likewise.
27170
ebfd1bbd
JM
271712012-10-23 Joseph Myers <joseph@codesourcery.com>
27172
03ac099f
JM
27173 * Makeconfig (run-built-tests): New variable.
27174 * Rules [$(cross-compiling) = yes]: Change condition to
27175 [$(run-built-tests) = no].
27176 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27177 to [$(run-built-tests) = yes].
27178 * elf/Makefile [$(cross-compiling) = no]: Likewise
27179 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27180 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27181 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27182 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27183 * io/Makefile [$(cross-compiling) = no]: Likewise.
27184 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27185 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27186 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27187 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27188 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27189 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27190 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27191 * string/Makefile [$(cross-compiling) = no]: Likewise.
27192
ebfd1bbd
JM
27193 * posix/Makefile ($(objpfx)globtest.out): Pass
27194 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27195 $(rtld-installed-name).
27196 * posix/globtest.sh (elf_objpfx): Remove variable.
27197 (rtld_installed_name): Likewise.
27198 (library_path): Likewise.
27199 (run_program_prefix): New variable. Use for running globtest
27200 binary.
27201
166bca24
JB
272022012-10-23 Jim Blandy <jimb@codesourcery.com>
27203 Joseph Myers <joseph@codesourcery.com>
27204
27205 * Makeconfig (host-built-program-cmd): New variable.
27206 * elf/Makefile (tst-stackguard1-ARGS): Use
27207 $(host-built-program-cmd).
27208 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27209 (tst-spawn-ARGS): Likewise.
27210 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27211
88866099
JM
272122012-10-23 Joseph Myers <joseph@codesourcery.com>
27213 Jim Blandy <jimb@codesourcery.com>
27214
27215 * Makeconfig (run-via-rtld-prefix): New variable.
27216 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27217 (built-program-cmd): Likewise.
27218
b4b4c296
AJ
272192012-10-22 Andreas Jaeger <aj@suse.de>
27220
27221 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27222 __O_RSYNC if it exists, otherwise to O_SYNC.
27223
6fb54a22
JB
272242012-10-22 Jim Blandy <jimb@codesourcery.com>
27225 Joseph Myers <joseph@codesourcery.com>
27226
27227 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27228 /dev/null.
27229 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27230 from /dev/null
27231 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27232 /dev/null.
27233
481b90b9
AJ
272342012-10-22 Andreas Jaeger <aj@suse.de>
27235
2a0e2669
AJ
27236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27237 Define always.
27238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27239
76e38f9a
AJ
27240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27241 bits/fcntl-linux.h.
27242
7cd37b43
AJ
27243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27244 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27245
481b90b9
AJ
27246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27247 to __O_LARGEFILE.
27248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27249 to __O_LARGEFILE.
27250
aba75984
JB
272512012-10-21 Jim Blandy <jimb@codesourcery.com>
27252 Joseph Myers <joseph@codesourcery.com>
27253
27254 * config.make.in (NM): New variable.
27255
88d4247f
AJ
272562012-10-21 Andreas Jaeger <aj@suse.de>
27257
27258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27259 definitions and declarations that are provided by
27260 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27261
f2eed205
L
272622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27263
27264 [BZ #14683]
27265 * elf/Makefile (tests-static): Add tst-leaks1-static.
27266 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27267 ($(objpfx)tst-leaks1-static): New rule.
27268 ($(objpfx)tst-leaks1-static-mem): Likewise.
27269 (tst-leaks1-static-ENV): New macro.
27270 * elf/dl-open.c (dl_open_worker): Check the main application
27271 only if SHARED is defined.
27272 * elf/tst-leaks1-static.c: New file.
27273
335e6931
AJ
272742012-10-20 Andreas Jaeger <aj@suse.de>
27275
27276 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27277 generic values for Linux.
27278 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27279 and declarations that are provided by <bits/fcntl-linux.h> and
27280 include <bits/fcntl-linux.h>.
27281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27283
ac5c94d3
RM
272842012-10-20 Roland McGrath <roland@hack.frob.com>
27285
27286 * io/fcntl.h: Move include of <bits/types.h> to the top and
27287 include it unconditionally.
27288
de54b33a
L
272892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27290
228cfb01
L
27291 * wcsmbs/Makefile (tests-ifunc): New variable.
27292 (tests): Add $(tests-ifunc).
27293 * wcsmbs/test-wcschr-ifunc.c: New file.
27294 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27295 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27296 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27297 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27298 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27299
69f07e5f
L
27300 * string/Makefile (tests-ifunc): New variable.
27301 (tests): Add $(tests-ifunc).
27302 * string/test-memccpy.c (TEST_NAME): New macro.
27303 * string/test-memchr.c (TEST_NAME): Likewise.
27304 * string/test-memcmp.c (TEST_NAME): Likewise.
27305 * string/test-memcpy.c (TEST_NAME): Likewise.
27306 * string/test-memmem.c (TEST_NAME): Likewise.
27307 * string/test-memmove.c (TEST_NAME): Likewise.
27308 * string/test-memset.c (TEST_NAME): Likewise.
27309 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27310 * string/test-stpcpy.c (TEST_NAME): Likewise.
27311 * string/test-stpncpy.c (TEST_NAME): Likewise.
27312 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27313 * string/test-strcasestr.c (TEST_NAME): Likewise.
27314 * string/test-strcat.c (TEST_NAME): Likewise.
27315 * string/test-strchr.c (TEST_NAME): Likewise.
27316 * string/test-strcmp.c(TEST_NAME): Likewise.
27317 * string/test-strcpy.c (TEST_NAME): Likewise.
27318 * string/test-strcspn.c (TEST_NAME): Likewise.
27319 * string/test-strlen.c (TEST_NAME): Likewise.
27320 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27321 * string/test-strncmp.c (TEST_NAME): Likewise.
27322 * string/test-strncpy.c (TEST_NAME): Likewise.
27323 * string/test-strnlen.c (TEST_NAME): Likewise.
27324 * string/test-strpbrk.c (TEST_NAME): Likewise.
27325 * string/test-strrchr.c (TEST_NAME): Likewise.
27326 * string/test-strspn.c (TEST_NAME): Likewise.
27327 * string/test-strstr.c (TEST_NAME): Likewise.
27328 * string/test-bcopy-ifunc.c: New file.
27329 * string/test-bzero-ifunc.c: Likewise.
27330 * string/test-memccpy-ifunc.c: Likewise.
27331 * string/test-memchr-ifunc.c: Likewise.
27332 * string/test-memcmp-ifunc.c: Likewise.
27333 * string/test-memcpy-ifunc.c: Likewise.
27334 * string/test-memmem-ifunc.c: Likewise.
27335 * string/test-memmove-ifunc.c: Likewise.
27336 * string/test-mempcpy-ifunc.c: Likewise.
27337 * string/test-memset-ifunc.c: Likewise.
27338 * string/test-rawmemchr-ifunc.c: Likewise.
27339 * string/test-stpcpy-ifunc.c: Likewise.
27340 * string/test-stpncpy-ifunc.c: Likewise.
27341 * string/test-strcasecmp-ifunc.c: Likewise.
27342 * string/test-strcasestr-ifunc.c: Likewise.
27343 * string/test-strcat-ifunc.c: Likewise.
27344 * string/test-strchr-ifunc.c: Likewise.
27345 * string/test-strchrnul-ifunc.c: Likewise.
27346 * string/test-strcmp-ifunc.c: Likewise.
27347 * string/test-strcpy-ifunc.c: Likewise.
27348 * string/test-strcspn-ifunc.c: Likewise.
27349 * string/test-strlen-ifunc.c: Likewise.
27350 * string/test-strncasecmp-ifunc.c: Likewise.
27351 * string/test-strncat-ifunc.c: Likewise.
27352 * string/test-strncmp-ifunc.c: Likewise.
27353 * string/test-strncpy-ifunc.c: Likewise.
27354 * string/test-strnlen-ifunc.c: Likewise.
27355 * string/test-strpbrk-ifunc.c: Likewise.
27356 * string/test-strrchr-ifunc.c: Likewise.
27357 * string/test-strspn-ifunc.c: Likewise.
27358 * string/test-strstr-ifunc.c: Likewise.
27359
de54b33a
L
27360 * debug/Makefile (tests-ifunc): New variable.
27361 (tests): Add $(tests-ifunc).
27362 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27363 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27364 * debug/test-stpcpy_chk-ifunc.c: New file.
27365 * debug/test-strcpy_chk-ifunc.c: Likewise.
27366
88481c16
SP
273672012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27368
27369 [BZ #13601]
27370 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27371 header is not read in.
27372
135948bd
JM
273732012-10-19 Joseph Myers <joseph@codesourcery.com>
27374
89f1c388
JM
27375 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27376 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27377 directly. Pass built executable to script as
27378 $(built-program-cmd).
27379 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27380 $testprogram without using LD_LIBRARY_PATH and $ldso.
27381
e40a0d21
JM
27382 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27383 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27384 $(rtld-installed-name).
27385 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27386 (rtld_installed_name): Likewise.
27387 (library_path): Likewise.
27388 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27389 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27390 $(run-program-prefix) to tst-tables.sh.
27391 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27392 it to run tst-table-from and tst-table-to.
27393 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27394 Pass it to tst-table.sh.
27395 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27396 $(run-program-prefix) to tst-gettext.sh.
27397 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27398 tst-translit.sh.
27399 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27400 tst-gettext2.sh.
27401 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27402 to run tst-gettext.
27403 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27404 to run tst-gettext2.
27405 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27406 to run tst-translit.
27407 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27408 $(run-program-prefix) to tst-mtrace.sh.
27409 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27410 to run tst-mtrace.
27411 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27412 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27413 $(rtld-installed-name).
27414 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27415 (rtld_installed_name): Likewise.
27416 (run_program_prefix): New variable. Use it to run wordexp-test.
27417
728e272a
JM
27418 * Makeconfig (ARCH): Remove all definitions.
27419 (machine): Likewise.
27420 [ARCH]: Remove conditional code.
27421 [!objdir]: Give error.
27422 [!objdir] (objpfx): Remove.
27423 [!objdir] (common-objpfx): Likewise.
27424 [!objdir] (common-objdir): Likewise.
27425 * configure.in (config_makefile): Remove. Hardcode Makefile in
27426 AC_CONFIG_FILES call.
27427 * configure: Regenerated.
27428
d528cdcf
JM
27429 [BZ #13888]
27430 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27431 or TMPDIR.
27432 (testout): Likewise.
27433
135948bd
JM
27434 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27435 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27436 $(rtld-installed-name).
27437 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27438 (rtld_installed_name): Likwise.
27439 (runit): Remove function.
27440 (run_getconf): New variable, Use it for running getconf binary.
27441
38c78296
L
274422012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27443
27444 [BZ #14716]
27445 * string/test-memmem.c (check_result): New function.
27446 (do_one_test): Use it.
27447 (check1): New function.
27448 (test_main): Use it.
27449
d077f65f
MT
274502012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27451
27452 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27453
ced52c71
JM
274542012-10-18 Joseph Myers <joseph@codesourcery.com>
27455
27456 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27457 (_G_LSEEK64): Likewise.
27458 (_G_MMAP64): Likewise.
27459 (_G_FSTAT64): Likewise.
27460 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27461 (_G_LSEEK64): Likewise.
27462 (_G_MMAP64): Likewise.
27463 (_G_FSTAT64): Likewise.
27464 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27465 unconditional. Call __mmap64 directly.
27466 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27467 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27468 __lseek64 directly.
27469 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27470 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27471 __mmap64 directly.
27472 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27473 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27474 __lseek64 directly.
27475 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27476 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27477 __lseek64 directly.
27478 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27479 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27480 __lseek64 directly.
27481 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27482 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27483 __fxstat64 directly.
27484 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27485 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27486 unconditional.
27487 (freopen64) [!_G_OPEN64]: Remove conditional code.
27488 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27489 unconditional.
27490 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27491 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27492 unconditional.
27493 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27494 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27495 unconditional.
27496 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27497 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27498 unconditional.
27499 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27500 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27501 unconditional.
27502 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27503 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27504 unconditional.
27505 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27506 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27507 unconditional.
27508 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27509
b741de23
SP
275102012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27511
27512 [BZ #12140]
27513 * manual/memory.texi (Malloc Tunable Parameters): Add note
27514 about free list pointers overwriting some perturb bytes.
27515 Wording suggested by Roland McGrath.
27516
f9b9d9c9
JM
275172012-10-17 Joseph Myers <joseph@codesourcery.com>
27518
27519 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27520 (lgamma_test): Likewise.
27521 (tgamma_test): Likewise.
27522
172a631a
FW
275232012-10-16 Florian Weimer <fweimer@redhat.com>
27524
27525 [BZ #14700]
27526 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27527 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27528
e9f37252
MK
275292012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27530
27531 * NEWS: Mention BZ #14716.
27532 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27533 when removing AVAILABLE1_USES_J macro.
27534
d394eb74
L
275352012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27536
27537 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27538 (__bswap_64): __uint64_t for unsigned 64-bit int.
27539
ca38dc17
AS
275402012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27541
27542 * include/string.h (memmem): Declare libc hidden alias.
27543 * string/memmem.c (memmem): Define libc hidden alias.
27544 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27545 __read, __close instead of open, read, close.
27546
9a387d1f
L
275472012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27548
ac49ecaf
L
27549 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27550 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27551 global and hidden.
27552 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27553 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27554 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27555 Likewise.
27556 (__rawmemchr_sse2): Likewise.
27557 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27558 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27559 (__strchr_sse2): Likewise.
27560 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27561 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27562 (__strcasecmp_sse2): Likewise.
27563 (__strncasecmp_sse2): Likewise.
27564 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27565 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27566 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27567 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27568 (__strrchr_sse2): Likewise.
27569 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27570 ifunc-impl-list.c.
27571 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27572 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27573 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27574 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27575 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27576 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27577 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27578 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27579 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27580 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27581 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27582 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27583 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27584 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27585 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27586 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27587 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27588 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27589 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27590 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27591 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27592 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27593 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27594 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27595 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27596 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27597 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27598 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27599 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27600 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27601
b090e8ea
L
27602 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27603 global and hidden.
27604 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27605 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27606 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27607 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27608 Likewise.
27609 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27610 Likewise.
27611 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27612 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27613 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27614 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27615 ifunc-impl-list.c.
27616 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27617 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27618 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27619 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27620 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27621 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27622 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27623 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27624 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27625 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27626 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27627 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27628 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27629 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27630 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27631 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27632 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27633 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27634 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27635 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27636 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27637 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27638 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27639 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27640 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27641 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27642 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27643 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27644 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27645 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27646 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27647 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27648 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27649 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27650 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27651 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27652 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27653 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27654 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27655 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27656 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27657
11dd4af6
L
27658 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27659 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27660 * include/ifunc-impl-list.h: New file.
27661 * misc/ifunc-impl-list.c: Likewise.
27662 * misc/Makefile (routines): Add ifunc-impl-list.
27663 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27664 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
27665 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27666 TEST_NAME]: New variables.
11dd4af6
L
27667 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27668 are defined.
27669 (test_init): Call __libc_ifunc_impl_list to initialize
27670 func_list if TEST_IFUNC and TEST_NAME are defined.
27671
9a387d1f
L
27672 * string/Makefile (strop-tests): Add bcopy and bzero.
27673 * string/test-bcopy.c: New file.
27674 * string/test-bzero.c: Likewise.
27675 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27676 defined.
27677 * string/test-memset.c: Support bzero test if TEST_BZERO is
27678 defined.
27679 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27680 __libc_memmove.
27681 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27682 __libc_memset.
27683 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27684 of memset.
27685
472371b9
JM
276862012-10-10 Joseph Myers <joseph@codesourcery.com>
27687
1e4a9536
JM
27688 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27689 * configure: Regenerated.
27690
d173d12e
JM
27691 * Makeconfig (+link-static-before-libc): Don't include
27692 $(link-static-libc).
27693
472371b9
JM
27694 * libio/libio.h (_IO_pos_t): Remove.
27695
89a3ad0b
AO
276962012-10-10 Alexandre Oliva <aoliva@redhat.com>
27697
27698 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27699 McGrath.
27700
e7451425
AO
277012012-10-10 Alexandre Oliva <aoliva@redhat.com>
27702
27703 * crypt/crypt-entry.c: Include fips-private.h.
27704 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27705 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27706 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27707 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27708
4ba74a35
AO
277092012-10-10 Alexandre Oliva <aoliva@redhat.com>
27710
27711 * crypt/crypt-private.h: Include stdbool.h.
27712 (_ufc_setup_salt_r): Return bool.
27713 * crypt/crypt-entry.c: Include errno.h.
27714 (__crypt_r): Return NULL with EINVAL for bad salt.
27715 * crypt/crypt_util.c (bad_for_salt): New.
27716 (_ufc_setup_salt_r): Check that salt is long enough and within
27717 the specified alphabet.
27718 * crypt/badsalttest.c: New file.
27719 * crypt/Makefile (tests): Add it.
27720 ($(objpfx)badsalttest): New.
27721
f96f1242
MK
277222012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27723
27724 * NEWS: Add entry for BZ #14602.
27725
0e8e0c1c
JM
277262012-10-09 Joseph Myers <joseph@codesourcery.com>
27727
27728 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27729 type-generic.
27730 * math/libm-test.inc: Update comment listing what functions and
27731 macros are tested.
27732 (isgreater_test): New function.
27733 (isgreaterequal_test): Likewise.
27734 (isless_test): Likewise.
27735 (islessequal_test): Likewise.
27736 (islessgreater_test): Likewise.
27737 (isunordered_test): Likewise.
27738 (main): Call the new functions.
27739
273edc5e
RM
277402012-10-09 Roland McGrath <roland@hack.frob.com>
27741
b8493de0
RM
27742 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27743 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27744 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27745 * sysdeps/i386/configure: Regenerated.
27746 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27747 * sysdeps/mach/configure: Regenerated.
27748 * sysdeps/mach/hurd/configure: Regenerated.
27749 * sysdeps/powerpc/configure: Regenerated.
27750 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27751 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27752 * sysdeps/s390/s390-32/configure: Regenerated.
27753 * sysdeps/s390/s390-64/configure: Regenerated.
27754 * sysdeps/sh/configure: Regenerated.
27755 * sysdeps/sparc/configure: Regenerated.
27756 * sysdeps/unix/sysv/linux/configure: Regenerated.
27757 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27758 * sysdeps/x86_64/configure: Regenerated.
27759
273edc5e
RM
27760 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27761 defined. Don't check if MAP is NULL.
27762
c8450f70
JM
277632012-10-09 Joseph Myers <joseph@codesourcery.com>
27764
27765 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27766 (_G_stat64): Likewise.
27767 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27768 (_G_stat64): Likewise.
27769 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27770 instead of struct _G_stat64.
27771 * libio/fileops.c (mmap_remap_check): Likewise.
27772 (decide_maybe_mmap): Likewise.
27773 (_IO_new_file_seekoff): Likewise.
27774 (_IO_file_stat): Likewise.
27775 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27776 _G_off64_t.
27777 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27778 instead of struct _G_stat64.
27779 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27780
57e605ba
MK
277812012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27782
27783 [BZ #14602]
27784 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27785 Replace with ...
27786 (CHECK_EOL): New macro.
27787 (two_way_short_needle): Check beginning of haystack for EOL. Use
27788 CHECK_EOL.
27789 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27790 Replace with CHECK_EOL.
27791 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27792 Replace with CHECK_EOL.
27793
ef1bb361
JM
277942012-10-08 Joseph Myers <joseph@codesourcery.com>
27795
27796 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27797 type-generic.
27798 * math/libm-test.inc: Update comment listing what functions and
27799 macros are tested.
27800 (finite_test): New function.
27801 (isinf_test): Likewise.
27802 (isnan_test): Likewise.
27803 (fpclassify_test): Test subnormal input.
27804 (isfinite_test): Likewise.
27805 (isnormal_test): Likewise.
27806 (main): Call the new functions.
27807
55f11534
JN
278082012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27809
27810 [BZ #14660]
27811 * Makerules (%.dynsym): Force C locale when running
27812 $(OBJDUMP) --dynamic-syms.
27813
1ab29350
AS
278142012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27815
27816 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27817 <stdint.h>.
27818
f1ecb7ef
DM
278192012-10-06 David S. Miller <davem@davemloft.net>
27820
27821 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27822 upper 32-bits of the length value in %o2 since we use branch-on-register
27823 tests which consider the entire 64-bit register.
27824
5d41d91a
L
278252012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27826
27827 * string/test-strstr.c (check2): Add a test for page boundary.
27828
3baddb72
DM
278292012-10-05 David S. Miller <davem@davemloft.net>
27830
27831 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27832 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27833 file.
27834 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27835 sysdep_routines.
27836 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27837 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27838 and bzero when HWCAP_SPARC_CRYPTO is present.
27839
9cee5585
L
278402012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27841
d7e0dab9
L
27842 [BZ #14602]
27843 * string/test-strstr.c (check2): New function.
27844 (test_main): Call check2.
27845
03759f47
L
27846 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27847 and bug-strchr1.
27848 * string/bug-strcasestr1.c (do_test): Moved to ...
27849 * string/test-strcasestr.c (check1): Here. New function.
27850 (do_one_test): Break out result checking code into ...
27851 (check_result): This. New function.
27852 (do_one_test): Call check_result.
27853 (test_main): Call check1.
27854 * string/bug-strchr1.c (do_test): Moved to ...
27855 * string/test-strchr.c (check1): Here. New function.
27856 (do_one_test): Break out result checking code into ...
27857 (check_result): This. New function.
27858 (do_one_test): Call check_result.
27859 (test_main): Call check1.
27860 * string/bug-strstr1.c (main): Moved to ...
046f153e 27861 * string/test-strstr.c (check1): Here. New function.
03759f47
L
27862 (do_one_test): Break out result checking code into ...
27863 (check_result): This. New function.
27864 (do_one_test): Call check_result.
27865 (test_main): Call check1.
27866 * string/bug-strcasestr1.c: Removed.
27867 * string/bug-strchr1.c: Likewise.
27868 * string/bug-strstr1.c: Likewise.
27869
53cea63e
L
27870 * elf/Makefile (dl-routines): Add hwcaps.
27871 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27872 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27873 (_dl_important_hwcaps): Moved to ...
27874 * elf/dl-hwcaps.c: Here. New file.
27875 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27876
9cee5585 27877 [BZ #14557]
bb859b06
L
27878 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27879 if IS_IN_rtld isn't defined.
27880
9cee5585
L
27881 * elf/dl-support.c (_dl_sysinfo_map): New.
27882 Include "get-dynamic-info.h" and "setup-vdso.h".
27883 (_dl_non_dynamic_init): Call setup_vdso.
27884 * elf/dynamic-link.h: Don't include <assert.h>.
27885 (elf_get_dynamic_info): Moved to ...
27886 * elf/get-dynamic-info.h: Here. New file.
27887 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27888 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27889 * elf/setup-vdso.h: Here. New file.
27890 * elf/rtld.c: Include "setup-vdso.h".
27891 (dl_main): Call setup_vdso.
27892
23c31b76
JM
278932012-10-05 Joseph Myers <joseph@codesourcery.com>
27894
28234b07
JM
27895 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27896 creal in comment listing functions tested. List finite, isinf,
27897 isnan, isless, islessequal, isgreater, isgreaterequal,
27898 islessgreater, isunordered, lgamma_r and pow10 as functions and
27899 macros not tested. Mention which functions not tested are aliases
27900 for other functions. Fix typo. Note that signs of NaNs are not
27901 tested.
27902
23c31b76
JM
27903 * scripts/config.guess: Update from config.git.
27904 * scripts/config.sub: Likewise.
27905
9043e228
RM
279062012-10-04 Roland McGrath <roland@hack.frob.com>
27907
27908 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27909 * misc/madvise.c (madvise): Renamed to __madvise.
27910 Make madvise a weak alias.
27911 * include/sys/mman.h: Declare __madvise.
27912 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27913 * sysdeps/unix/syscalls.list
27914 (madvise): Make __madvise the strong name, and madvise a weak alias.
27915 * sysdeps/unix/sysv/linux/syscalls.list
27916 (madvise, mmap): Remove redundant entries.
27917 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27918 * malloc/malloc.c (mtrim): Likewise.
27919 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27920
f57f8055
RM
279212012-10-03 Roland McGrath <roland@hack.frob.com>
27922
27923 * sysdeps/mach/hurd/dl-cache.c: File removed.
27924 * config.h.in (USE_LDCONFIG): New #undef.
27925 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27926 * configure: Regenerated.
27927 * elf/Makefile (dl-routines): Add dl-cache only under
27928 [$(use-ldconfig) = yes].
27929 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27930 cache on [USE_LDCONFIG].
27931 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27932 [USE_LDCONFIG].
27933 * elf/rtld.c (dl_main): Likewise.
27934
5bb0c10a
PT
279352012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27936
27937 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27938 _SC_LEVEL4_CACHE_LINESIZE.
27939
010188c6
RM
279402012-10-03 Roland McGrath <roland@hack.frob.com>
27941
27942 * sysdeps/unix/bsd/confstr.h: File removed.
27943
b6c5ec07
AO
279442012-10-02 Alexandre Oliva <aoliva@redhat.com>
27945
27946 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27947 sys/sdt-config.h.
27948
408223d4
RM
279492012-10-02 Roland McGrath <roland@hack.frob.com>
27950
27951 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27952 Make 'mapoff' field ElfW(Off) rather than off_t.
27953
bb9510dc
DL
279542012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27955
fc997c6e
DL
27956 * nscd/Makefile: Remove nscd-cflags and all its users.
27957 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27958 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27959
bb9510dc
DL
27960 [BZ #10631]
27961 * malloc.c (malloc_printerr): Clarify error message.
27962
05699367
L
279632012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27964
27965 [BZ #14648]
27966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27967 Set bit_FMA_Usable if FMA is supported.
27968 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27969 macro.
27970 (bit_FMA4_Usable): Updated.
27971 (index_FMA_Usable): New macro.
27972 (CPUID_FMA): Likewise
27973 (HAS_FMA): Defined with bit_FMA_Usable.
27974
51367701
RM
279752012-10-01 Roland McGrath <roland@hack.frob.com>
27976
27977 * bits/types.h (__swblk_t): Type removed.
27978 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27979 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27981 (__SWBLK_T_TYPE): Likewise.
27982 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27983 (__SWBLK_T_TYPE): Likewise.
27984 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27985 (__SWBLK_T_TYPE): Likewise.
27986 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27987 (__SWBLK_T_TYPE): Likewise.
27988
4d57bf63 279892012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 27990 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
27991
27992 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27993 (xdr_mapname): Use YPMAXMAP as maxsize.
27994 (xdr_peername): Use YPMAXPEER as maxsize.
27995 (xdr_keydat): Use YPAXRECORD as maxsize.
27996 (xdr_valdat): Use YPMAXRECORD as maxsize.
27997
93c65d43
RM
279982012-10-01 Roland McGrath <roland@hack.frob.com>
27999
497a03d6
RM
28000 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28001
93c65d43
RM
28002 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28003 * csu/init-first.c: ... here.
28004 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28005 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28006 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28007 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28008 * sysdeps/i386/init-first.c: File removed.
28009 * sysdeps/sh/init-first.c: File removed.
28010
bec749fd
JM
280112012-10-01 Joseph Myers <joseph@codesourcery.com>
28012
28013 [BZ #14645]
28014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28015 if x * y might underflow to zero and z is zero.
28016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28018 * math/libm-test.inc (min_subnorm_value): New variable.
28019 (fma_test): Add more tests.
28020 (fma_test_towardzero): Likewise.
28021 (fma_test_downward): Likewise
28022 (fma_test_upward): Likewise.
28023 (initialize): Set min_subnorm_value.
28024
8ec5b013
JM
280252012-09-29 Joseph Myers <joseph@codesourcery.com>
28026
28027 [BZ #14638]
28028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28029 0 + 0.
28030 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28031 mode for addition resulting in exact zero.
28032 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28034 exact 0 + 0.
28035 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28037 * math/libm-test.inc (fma_test): Add more tests.
28038 (fma_test_towardzero): New function.
28039 (fma_test_downward): Likewise.
28040 (fma_test_upward): Likewise.
28041 (main): Call the new functions.
28042
b1fa802e
DM
280432012-09-28 David S. Miller <davem@davemloft.net>
28044
28045 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28046
d3b9fd9e
RM
280472012-09-28 Roland McGrath <roland@hack.frob.com>
28048
ea4d37b3
RM
28049 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28050 instead of SIGALRM.
28051
ac51c949
RM
28052 * sysdeps/gnu/_G_config.h: Moved to ...
28053 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28054 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28055 * sysdeps/generic/_G_config.h: ... here.
28056
28c195f7
RM
28057 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28058
848917f9
RM
28059 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28060
6bacf05b
RM
28061 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28062 Conditionalize target on [libnss_test1.so-version].
28063
91363dbb
RM
28064 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28065
cc87f7d8
RM
28066 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28067 (elfobjdir): Move out of conditionals.
28068
b1c608fe
RM
28069 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28070 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28071 (__nss_lookup_function): Conditionalize label remove_from_tree on
28072 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 28073
1d9a6d96
DM
280742012-09-28 David S. Miller <davem@davemloft.net>
28075
28076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28077 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28078 file.
28079 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28080 sysdep_routines.
28081 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28083 when HWCAP_SPARC_CRYPTO is present.
28084
72581615
PT
280852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28086
28087 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28088
715a900c
JL
280892012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28090
28091 [BZ #6530]
28092 * stdio-common/vfprintf.c (process_string_arg): Revert
28093 2000-07-22 change.
28094
280952011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28096
28097 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28098 for testcase.
28099 * stdio-common/tst-sprintf.c: Include <locale.h>
28100 (main): Test sprintf's handling of incomplete multibyte
28101 characters.
28102
9bac1d86
L
281032012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28104
28105 * elf/dl-runtime.c (VERSYMIDX): Removed.
28106 * elf/dl-version.c (VERSYMIDX): Likewise.
28107 * elf/do-rel.h (VERSYMIDX): Likewise.
28108 (VALIDX): Likewise.
28109 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28110 * elf/rtld.c (VALIDX): Likewise.
28111 (ADDRIDX): Likewise.
9bac1d86
L
28112 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28113 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28114 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
28115 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28116 (VALIDX): Likewise.
28117 (ADDRIDX): Likewise.
9bac1d86 28118
b31606c0
PT
281192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28120
28121 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28122
11541177
JL
281232012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28124
28125 [BZ #11438]
28126 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28127 to global scope.
28128 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28129 addresses are in the same scope as 192.0.2/24.
28130 * posix/gai.conf: Document new scope table defaults.
28131
adb26fae
SP
281322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28133
28134 [BZ #5298]
28135 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28136 for ftell. Compute offsets from write pointers instead.
28137 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28138
4573c6b0
SP
281392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28140
28141 [BZ #14543]
28142 * libio/Makefile (tests): New test case tst-fseek.
28143 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28144 combination works in wide mode.
28145 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28146 state when the external buffer state changes.
28147
aa9bbfe6
DM
281482012-09-27 David S. Miller <davem@davemloft.net>
28149
28150 [BZ #14376]
28151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28152 pass reloc->r_addend in as the 'high' argument to
28153 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28154
784421e7
DM
28155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28156
c39bc8b8
PT
281572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28158
28159 * rt/tst-aio2.c: Include <pthread.h>.
28160 * rt/tst-aio3.c: Likewise.
28161
1ccc2399
SE
281622012-09-27 Steve Ellcey <sellcey@mips.com>
28163
28164 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28165
31ed4153
L
281662012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28167
25f5f885
L
28168 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28169 contents on [SHARED].
31ed4153 28170
b7bfe116
MP
281712012-09-26 Marek Polacek <polacek@redhat.com>
28172
28173 [BZ #14530]
28174 [BZ #13741]
28175 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28176 for C++ and GCC <4.3 as well as for non GCC compilers.
28177
43c4edba
MT
281782012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28179
28180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28181
6a1bf82f
RM
281822012-09-25 Roland McGrath <roland@hack.frob.com>
28183
28184 * Makefile.in (all, install): Declare with .PHONY.
28185 Reported by Michael Hope <michael.hope@linaro.org>.
28186
8ad11b9a
TMQMF
281872012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28188
28189 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28190 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28191 system header.
28192 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28193 Likewise.
28194 (sydep_routines): Add the new and the internal functions.
28195 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28196 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28198 (GLIBC_2.17): Add the new function.
28199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28200 (GLIBC_2.17): Likewise.
28201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28202 (GLIBC_2.17): Likewise.
28203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28204 (GLIBC_2.17): Likewise.
28205 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28206
7e2fca8d
AM
282072012-09-25 Alan Modra <amodra@gmail.com>
28208
28209 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28210 Add release barrier before setting once_control to say
28211 initialisation is done. Add hints on lwarx. Use macro in
28212 place of isync.
28213 (clear_once_control): Add release barrier.
28214
b87c4b24
JM
282152012-09-25 Joseph Myers <joseph@codesourcery.com>
28216
d032e0d2
JM
28217 [BZ #13629]
28218 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28219 specially.
28220 * math/s_clog10.c (__clog10): Likewise.
28221 * math/s_clog10f.c (__clog10f): Likewise.
28222 * math/s_clog10l.c (__clog10l): Likewise.
28223 * math/s_clogf.c (__clogf): Likewise.
28224 * math/s_clogl.c (__clogl): Likewise.
28225 * math/Makefile (libm-calls): Add x2y2m1.
28226 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28227 (__x2y2m1): Likewise.
28228 (__x2y2m1l): Likewise.
28229 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28230 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28231 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28232 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28233 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28234 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28235 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28236 * sysdeps/i386/fpu/libm-test-ulps: Update.
28237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28238
b87c4b24
JM
28239 [BZ #14621]
28240 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28241 int as type of variable DEPTH.
28242 (glob): Use size_t instead of int as type of variables NEWCOUNT
28243 and OLD_PATHC.
28244
6d3bf199
LD
282452012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28246
22bf5c17
LD
28247 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28248 Add s_sincosf-sse2.
28249 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28250 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28251 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28252 macros for using routine as __sincosf_ia32.
28253 Use macro for function declaration and weak_alias.
28254 * sysdeps/i386/fpu/libm-test-ulps: Update.
28255
28256 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28258
28259 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
28260 subnormal argument.
28261 * math/s_cexpf.c (__cexpf): Likewise.
28262 * math/s_csinf.c (__csinf): Likewise.
28263 * math/s_csinhf.c (__csinhf): Likewise.
28264 * math/s_ctanf.c (__ctanf): Likewise.
28265 * math/s_ctanhf.c (__ctanhf): Likewise.
28266 * math/s_ccosh.c (__ccoshf): Likewise.
28267 * math/s_cexp.c (__cexpl): Likewise.
28268 * math/s_csin.c (__csin): Likewise.
28269 * math/s_csinh.c (__csinh): Likewise.
28270 * math/s_ctan.c (__ctan): Likewise.
28271 * math/s_ctanh.c (ctanh): Likewise.
28272 * math/s_ccoshl.c (__ccoshl): Likewise.
28273 * math/s_cexpl.c (__cexpl): Likewise.
28274 * math/s_csinl.c (__csinl): Likewise.
28275 * math/s_csinhl.c (__csinhl): Likewise.
28276 * math/s_ctanl.c (__ctanl): Likewise.
28277 * math/s_ctanhl.c (__ctanhl): Likewise.
28278
203e5603
JM
282792012-09-25 Joseph Myers <joseph@codesourcery.com>
28280
28281 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28282 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28283 (_IO_off_t): Define to __off_t, not _G_off_t.
28284 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28285 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28286 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28287 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28288 type of __dummy and __dummy2 fields.
28289 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28290 (_G_ssize_t): Likewise.
28291 (_G_off_t): Likewise.
28292 (_G_pid_t): Likewise.
28293 (_G_uid_t): Likewise.
28294 (_G_wchar_t): Likewise.
28295 (_G_wint_t): Likewise.
28296 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28297 (_G_ssize_t): Likewise.
28298 (_G_off_t): Likewise.
28299 (_G_pid_t): Likewise.
28300 (_G_uid_t): Likewise.
28301 (_G_wchar_t): Likewise.
28302 (_G_wint_t): Likewise.
28303 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28304 (_G_ssize_t): Likewise.
28305 (_G_off_t): Likewise.
28306 (_G_pid_t): Likewise.
28307 (_G_uid_t): Likewise.
28308 (_G_wchar_t): Likewise.
28309 (_G_wint_t): Likewise.
28310
9fab36eb
SP
283112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28312
28313 * malloc/arena.c: Include malloc-sysdep.h.
28314 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28315 is sufficient to shrink the heap or an unmap is needed.
28316 * sysdeps/generic/malloc-sysdep.h: New file. Define
28317 new function check_may_shrink_heap.
28318 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28319 new function check_may_shrink_heap.
28320
2b4f00d1
SP
283212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28322
28323 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28324 comments.
28325
9a9028b1
DL
283262012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28327
57c69bef
DL
28328 * catgets/test-gencat.sh: Add "set -e".
28329 * elf/tst-pathopt.sh: Likewise.
28330 * grp/tst_fgetgrent.sh: Likewise.
28331 * iconvdata/run-iconv-test.sh: Likewise.
28332 * intl/tst-gettext.sh: Likewise.
28333 * intl/tst-gettext2.sh: Likewise.
28334 * intl/tst-gettext4.sh: Likewise.
28335 * intl/tst-gettext6.sh: Likewise.
28336 * intl/tst-translit.sh: Likewise.
28337 * io/ftwtest-sh: Likewise.
28338 * libio/test-freopen.sh: Likewise.
28339 * malloc/tst-mtrace.sh: Likewise.
28340 * posix/globtest.sh: Likewise.
28341 * posix/tst-getconf.sh: Likewise.
28342 * posix/wordexp-tst.sh: Likewise.
28343 * stdio-common/tst-printf.sh: Likewise.
28344 * stdio-common/tst-unbputc.sh: Likewise.
28345 * stdlib/tst-fmtmsg.sh: Likewise.
28346 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28347 * catgets/Makefile: Do not specify -e option when running
28348 testsuite shell scripts.
28349 * elf/Makefile: Likewise.
28350 * grp/Makefile: Likewise.
28351 * iconvdata/Makefile: Likewise.
28352 * intl/Makefile: Likewise.
28353 * io/Makefile: Likewise.
28354 * libio/Makefile: Likewise.
28355 * malloc/Makefile: Likewise.
28356 * posix/Makefile: Likewise.
28357 * stdio-common/Makefile: Likewise.
28358 * stdlib/Makefile: Likewise.
28359 * sysdeps/x86_64/Makefile: Likewise.
28360
9a9028b1
DL
28361 * io/ftwtest-sh: Add copyright header.
28362 * posix/globtest.sh: Likewise.
28363 * posix/tst-getconf.sh: Likewise.
28364 * posix/wordexp-tst.sh: Likewise.
28365 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28366
ced6f16e
L
283672012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28368
94b32c39
L
28369 [BZ #13679]
28370 * Makeconfig (+link): Defined as $(+link-static) if
28371 $(build-shared) isn't yes.
28372 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28373 isn't yes.
28374 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28375
189e935b
L
28376 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28377
ced6f16e
L
28378 [BZ #14562]
28379 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28380 new chunk size with MALLOC_ALIGN_MASK.
28381
a9f8e53a
JM
283822012-09-24 Joseph Myers <joseph@codesourcery.com>
28383
28384 [BZ #5044]
28385 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28386 <rounding-mode.h>.
28387 (__printf_fphex): Determine rounding using get_rounding_mode and
28388 round_away.
28389 * stdio-common/tst-printf-round.c (struct hex_test): New
28390 structure.
28391 (hex_tests): New variable.
28392 (test_hex_in_one_mode): New function.
28393 (do_test): Also run tests for hex float output.
28394
43153109
JM
283952012-09-21 Joseph Myers <joseph@codesourcery.com>
28396
28397 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28398 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28399 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28400 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28401 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28402 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28403 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28404 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28405
8a26625d
JM
284062012-09-20 Joseph Myers <joseph@codesourcery.com>
28407
28408 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28409 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28410 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28411 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28412
f3fd569c
DL
284132012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28414
28415 [BZ #14579]
28416 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28417 mode only.
28418 * elf/tst-rtld-load-self.sh: New test.
28419 * elf/Makefile: Run it.
28420
63bbedd4
JM
284212012-09-18 Joseph Myers <joseph@codesourcery.com>
28422
28423 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28424 (tst-writev-ENV): Remove.
28425 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28426
626f8b6a
CM
284272012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28428
28429 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28430
b7aaa4d6
JM
284312012-09-17 Joseph Myers <joseph@codesourcery.com>
28432
28433 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28434 unconditional.
28435 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28436 Likewise.
28437 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28438 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28439 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28440 Likewise.
28441
65513990
L
284422012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28443
28444 [BZ #14587]
28445 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28446 * config.make.in (have-cpp-asm-debuginfo): Removed.
28447 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28448 * configure: Regenerated.
28449
784761be
JM
284502012-09-14 Joseph Myers <joseph@codesourcery.com>
28451
28452 [BZ #5044]
28453 * stdio-common/printf_fp.c: Include <stdbool.h> and
28454 <rounding-mode.h>.
28455 (___printf_fp): Determine rounding using get_rounding_mode and
28456 round_away.
28457 * stdio-common/tst-printf-round.c: New file.
28458 * stdio-common/Makefile (tests): Add tst-printf-round.
28459 (link-libm): New variable.
28460 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28461
9503345f
L
284622012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28463
28464 [BZ #14576]
28465 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28466 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28467 Likewise.
28468 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28469 Likewise.
28470
ad35fc00
JM
284712012-09-13 Joseph Myers <joseph@codesourcery.com>
28472
28473 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28474 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28475 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28476 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28477
6c9b0f68
JM
284782012-09-12 Joseph Myers <joseph@codesourcery.com>
28479
28480 [BZ #14518]
28481 * include/rounding-mode.h: New file.
28482 * sysdeps/generic/get-rounding-mode.h: Likewise.
28483 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28484 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28485 (MAX_VALUE): New macro.
28486 (MIN_VALUE): Likewise.
28487 (overflow_value): New function.
28488 (underflow_value): Likewise.
28489 (round_and_return): Use overflow_value and underflow_value to
28490 determine return values in overflow and underflow cases. Use
28491 round_away to determine rounding depending on rounding mode.
28492 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28493 determine return values in overflow and underflow cases.
28494 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28495 (struct test_results): New structure.
28496 (struct test): Use struct test_results to store expected results
28497 for all rounding modes.
28498 (TEST): Include expected results for all rounding modes.
28499 (test_in_one_mode): New function.
28500 (do_test): Use test_in_one_mode to compute and check results.
28501 Check results for all rounding modes.
28502 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28503 $(link-libm).
28504
19fcedd5
AM
285052012-12-09 Allan McRae <allan@archlinux.org>
28506
1e9d84cd 28507 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 28508
8bbfd2f1
JM
285092012-09-11 Joseph Myers <joseph@codesourcery.com>
28510
28511 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28512 (_G_int32_t): Likewise.
28513 (_G_uint16_t): Likewise.
28514 (_G_uint32_t): Likewise.
28515 (_G_HAVE_BOOL): Likewise.
28516 (_G_HAVE_ATEXIT): Likewise.
28517 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28518 (_G_HAVE_IO_FILE_OPEN): Likewise.
28519 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28520 (_G_int32_t): Likewise.
28521 (_G_uint16_t): Likewise.
28522 (_G_uint32_t): Likewise.
28523 (_G_HAVE_BOOL): Likewise.
28524 (_G_HAVE_ATEXIT): Likewise.
28525 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28526 (_G_HAVE_IO_FILE_OPEN): Likewise.
28527 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28528 (_G_int32_t): Likewise.
28529 (_G_uint16_t): Likewise.
28530 (_G_uint32_t): Likewise.
28531 (_G_HAVE_BOOL): Likewise.
28532 (_G_HAVE_ATEXIT): Likewise.
28533 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28534 (_G_HAVE_IO_FILE_OPEN): Likewise.
28535
b1dc5912
L
285362012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28537
28538 * csu/libc-tls.c: Update copyright years.
28539
0e886ef9
JM
285402012-09-10 Joseph Myers <joseph@codesourcery.com>
28541
28361c5e
JM
28542 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28543 [!_G_USING_THUNKS]: Remove conditional code.
28544 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28545 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28546
0e886ef9
JM
28547 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28548 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28549 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28550 (_G_VTABLE_LABEL_PREFIX): Likewise.
28551 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28552 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28553 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28554 (_G_VTABLE_LABEL_PREFIX): Likewise.
28555 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28556 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28557 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28558 (_G_VTABLE_LABEL_PREFIX): Likewise.
28559 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28560
bcba7aa2
L
285612012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28562
28563 * libio/Makefile: Include ../Makeconfig before tests.
28564 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28565 only if $(build-shared) is yes.
28566
06585ee8
L
28567 * iconv/gconv_db.c: Update copyright years.
28568
80ccd52c
LD
285692012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28570
28571 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28572 unwind info if defined PIC. Fix special cases description.
28573 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28574
28575 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28576 DP_HI_MASK entry.
28577 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28578
691bc9c1
L
285792012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28580
3d9b46b3
L
28581 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28582
de2139a9
L
28583 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28584 is NULL.
28585
5ca78dd0
L
28586 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28587 (LDLIBS-tst-chk4): This.
28588 (LDFLAGS-tst-chk5): Renamed to ...
28589 (LDLIBS-tst-chk5): This.
28590 (LDFLAGS-tst-chk6): Renamed to ...
28591 (LDLIBS-tst-chk6): This.
28592 (LDFLAGS-tst-lfschk4): Renamed to ...
28593 (LDLIBS-tst-lfschk4): This.
28594 (LDFLAGS-tst-lfschk5): Renamed to ...
28595 (LDLIBS-tst-lfschk5): This.
28596 (LDFLAGS-tst-lfschk6): Renamed to ...
28597 (LDLIBS-tst-lfschk6): This.
28598
691bc9c1
L
28599 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28600 on $(common-objpfx)soversions.mk.
28601
65cafb1c
JM
286022012-09-07 Joseph Myers <joseph@codesourcery.com>
28603
28604 [BZ #10014]
28605 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28606 example host name.
28607
c78ab094
SP
286082012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28609
28610 * malloc/arena.c (arena_get_retry): New function that gets
28611 another arena for the caller to try its request on.
28612 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28613 current arena cannot fulfill the request.
28614 (__libc_memalign): Likewise.
28615 (__libc_memalign): Likewise.
28616 (__libc_pvalloc): Likewise.
28617 (__libc_calloc): Likewise.
28618
01f49f59
JT
286192012-09-05 John Tobey <john.tobey@gmail.com>
28620
28621 [BZ #13542]
28622 * manual/arith.texi (Operations on Complex): Fix description
28623 of carg branch cut.
28624
4c23fed5
JM
286252012-09-06 Joseph Myers <joseph@codesourcery.com>
28626
1d3c8572
JM
28627 [BZ #10014]
28628 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28629 host name.
28630
4c23fed5
JM
28631 [BZ #10038]
28632 * manual/memory.texi (Memory): Make order of menu items match
28633 order of sections.
28634
04570aaa
L
286352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28636
28637 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28638 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28639 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28640
b80af2f4
L
286412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28642
28643 * csu/libc-tls.c (static_dtv): Renamed to ...
28644 (_dl_static_dtv): This. Make it global.
28645 (_dl_initial_dtv): Removed.
28646 (__libc_setup_tls): Updated.
28647 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28648 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28649 DL_INITIAL_DTV.
28650
2abe9f15
PM
286512012-09-06 Petr Machata <pmachata@redhat.com>
28652
28653 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28654 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28655 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28656 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28657
0948c3af
L
286582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28659
28660 [BZ #14545]
28661 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28662 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28663 freeing dtv[-1].
28664
a5055ad1
L
286652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28666
28667 [BZ #14544]
28668 * Makeconfig (link-static-before-libc): Replace $(+prector)
28669 with $(+prectorT).
28670 (link-static-after-libc): Replace $(+postctor) with
28671 $(+postctorT).
28672 (link-bounded): Replace $(+prector)/$(+postctor) with
28673 $(+prectorT)/$(+postctorT).
28674 (+prectorT): New macro.
28675 (+postctorT): Likewise.
28676
ed8c2ecd
JM
286772012-09-06 Joseph Myers <joseph@codesourcery.com>
28678
28679 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28680 (round_str): Handle values above the maximum for IBM long double
28681 as inexact.
28682 * stdlib/tst-strtod-round.c (tests): Regenerated.
28683
14c996c8
AK
286842012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28685
28686 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28687 assembler flag.
28688 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28689 zarch_nohighgprs around the zarch optimized routines.
28690 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28691 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28692 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28693 for zarch.
28694
430d6ce6
DM
286952012-09-05 David S. Miller <davem@davemloft.net>
28696
28697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28698
57f41c40
AS
28699 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28700 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
28701 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28702 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28703 entries.
28704
24d4e01b
AO
287052012-09-05 Alexandre Oliva <aoliva@redhat.com>
28706
28707 * malloc/arena.c: Fold copyright years.
28708 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28709
61d58174
AO
287102012-09-05 Alexandre Oliva <aoliva@redhat.com>
28711
28712 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28713
20196a5e
AO
287142012-09-05 Alexandre Oliva <aoliva@redhat.com>
28715
28716 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28717
5c447383
AO
287182012-09-05 Alexandre Oliva <aoliva@redhat.com>
28719
28720 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28721 change internal state upon failure.
28722
fad64255
AO
287232012-09-05 Alexandre Oliva <aoliva@redhat.com>
28724
28725 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28726 * malloc/memusage.c (mmap): Likewise.
28727 (mmap64, mremap): Likewise. Adjust name in comment.
28728
1ffb8c90
SP
287292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28730
28731 * libio/fileops.c: Fix typos in comments.
28732 * libio/oldfileops.c: Likewise.
28733 * libio/wfileops.c: Likewise.
28734
6ef9cc37
SP
287352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28736
28737 [BZ #1349]
28738 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28739 (tst-malloc-usable-ENV): Set environment for test case.
28740 * malloc/hooks.c (malloc_check_get_size): New function to get
28741 requested size.
28742 * malloc/malloc.c (musable): Use malloc_check_get_size.
28743 * malloc/tst-malloc-usable.c: New test case.
28744
4d038ae3
AS
287452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28746
28747 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28748
c4e85184
AM
287492012-09-05 Allan McRae <allan@archlinux.org>
28750
b9dafc56 28751 [BZ #13966]
c4e85184
AM
28752 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28753 determine header location.
28754 * configure: Regenerated.
28755
e1343020
AS
287562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28757
28758 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28759 float format.
28760 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
28761 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28762 format.
e1343020
AS
28763 (test): Regenerate.
28764
0a9f1987
DM
287652012-09-04 David S. Miller <davem@davemloft.net>
28766
28767 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28768 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28769 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28770
29237804
FW
287712012-09-04 Florian Weimer <fweimer@redhat.com>
28772
28773 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28774 failures.
28775
edb3cb88
FW
28776 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28777
60160d83
JM
287782012-09-04 Joseph Myers <joseph@codesourcery.com>
28779
28780 [BZ #9914]
28781 * libio/iogetdelim.c: Include <limits.h>.
28782 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28783 + len + 1 would overflow.
28784
bcd6c8dc
AJ
287852012-09-03 Andreas Jaeger <aj@suse.de>
28786
28787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28788 * sysdeps/i386/fpu/libm-test-ulps: Update.
28789
4ffffbd2
LD
287902012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28791
28792 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28793 Add s_sinf-sse2, s_conf-sse2.
28794
28795 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28796 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28797 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28798 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28799
28800 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28801 for using routine as __sinf_ia32.
28802 Use macro for function declaration and weak_alias.
28803 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28804 for using routine as __cosf_ia32.
28805 Use macro for function declaration and weak_alias.
28806
28807 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28808 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28809
28810 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28811 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28813
28814 * math/libm-test.inc (cos_test): Add more test cases.
28815 (sin_test): Likewise.
28816 (sincos_test): Likewise.
28817
511fa286
AK
288182012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28819
28820 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28821 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28822 hidden.
28823 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28824
5f30cfec
L
288252012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28826
28827 [BZ #14538]
28828 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28829 first element of the GOT.
28830 (elf_machine_load_address): Return the difference between
28831 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28832
0786794f
AM
288332012-09-01 Allan McRae <allan@archlinux.org>
28834
5f30cfec
L
28835 [BZ #13412]
28836 * configure.in (AWK): Require gawk version 3.0 or later.
28837 * configure: Regenerated.
0786794f 28838
26889eac
JM
288392012-09-01 Joseph Myers <joseph@codesourcery.com>
28840
28841 * sysdeps/unix/sysv/linux/kernel-features.h
28842 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28843 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28844 [__NR_clock_getres]: Make code unconditional.
28845 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28846 (clock_getcpuclockid): Remove code left unreachable by removal of
28847 conditionals.
28848 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28849 code unconditional.
28850 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28851 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28852 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28853 Make code unconditional.
28854 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28855 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28856 * sysdeps/unix/sysv/linux/clock_settime.c
28857 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28858 conditional code.
28859 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28860 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28861
d22e28b0
L
288622012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28863
28864 [BZ #14476]
28865 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28866 scripts/test-installation.pl.
28867
28868 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28869 and $ld_so_version if it is set.
28870
050af9c4
SP
288712012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28872
28873 [BZ #14516]
28874 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28875 failure if reading from procfs failed.
28876 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28877
ad845c0b
JM
288782012-08-27 Joseph Myers <joseph@codesourcery.com>
28879
28880 * sysdeps/unix/sysv/linux/kernel-features.h
28881 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28882 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28883 Remove conditional code.
28884 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28885 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28886 Remove conditional code.
28887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28888 * sysdeps/unix/sysv/linux/i386/fxstat.c
28889 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28891 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28892 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28894 * sysdeps/unix/sysv/linux/i386/lxstat.c
28895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28897 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28898 Remove conditional code.
28899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28900 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28901 Remove conditional code.
28902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28903 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28904 <kernel-features.h>.
28905 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28906 Remove.
28907 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28908 Remove conditional code.
28909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28910 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28911 Remove conditional.
28912
5dbf56af
MF
289132012-08-27 Mike Frysinger <vapier@gentoo.org>
28914
28915 [BZ #5400]
28916 * NEWS: Add fixed bug number.
28917
d6e70f43
JM
289182012-08-27 Joseph Myers <joseph@codesourcery.com>
28919
7efb4737
JM
28920 [BZ #14519]
28921 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28922 underflowing exponent in case of negative sign.
28923 * stdlib/tst-strtod-round-data: Add more tests.
28924 * stdlib/tst-strtod-round.c (tests): Regenerated.
28925
af92131a
JM
28926 [BZ #3479]
28927 * stdlib/strtod_l.c (NDIG): Remove.
28928 (HEXNDIG): Likewise.
28929 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28930 smallest representable value.
28931 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28932 lie within an exact representation of 1/2 ulp of the result.
28933 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28934 unconditionally.
28935 (TENS_P9_IDX): Define unconditionally.
28936 (TENS_P9_SIZE): Likewise.
28937 (TENS_P10_IDX): Likewise.
28938 (TENS_P10_SIZE): Likewise.
28939 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28940 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28941 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28942 entries for 10^2^13 and 10^2^14.
28943 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28944 (TENS_P13_IDX): Define.
28945 (TENS_P13_SIZE): Likewise.
28946 (TENS_P14_IDX): Likewise.
28947 (TENS_P14_SIZE): Likewise.
28948 (_fpioconst_pow10): Change array size to
28949 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28950 unconditional.
28951 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28952 1024]: Add entries for 10^2^13 and 10^2^14.
28953 [LAST_POW10 > _LAST_POW10]: Remove #error.
28954 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28955 (_fpioconst_pow10): Change array size to
28956 FPIOCONST_POW10_ARRAY_SIZE.
28957 * stdlib/gen-fpioconst.c: New file.
28958 * stdlib/gen-tst-strtod-round.c: Likewise.
28959 * stdlib/tst-strtod-round-data: Likewise.
28960 * stdlib/tst-strtod-round.c: Likewise.
28961 * stdlib/Makefile (tests): Add tst-strtod-round.
28962
d6e70f43
JM
28963 [BZ #14459]
28964 * stdlib/strtod_l.c: Include <stdint.h>.
28965 (NDEBUG): Do not define.
28966 (round_and_return): Change EXPONENT parameter to type intmax_t.
28967 Rearrange calculations to avoid internal overflow possibilities.
28968 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28969 Rearrange calculations to avoid internal overflow possibilities.
28970 Assert that number fits inside MPNSIZE limbs.
28971 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28972 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28973 calculations and add assertions to avoid internal overflow
28974 possibilities. Add casts to avoid signed/unsigned operations.
28975 * stdlib/tst-strtod-overflow.c: New file.
28976 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28977
1f529f7d
MP
289782012-08-25 Marek Polacek <polacek@redhat.com>
28979
28980 * time/time.h: Fix some typos in comments.
28981
59a629f1
RM
289822012-08-23 Roland McGrath <roland@hack.frob.com>
28983
28984 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28985 * posix/tst-rfc3484-2.c: Likewise.
28986 * posix/tst-rfc3484-3.c: Likewise.
28987
d3bafbc9
SM
289882012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28989
28990 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28991 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28992
4efcc022
JM
289932012-08-23 Joseph Myers <joseph@codesourcery.com>
28994
28995 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28996 #include of fxstatat64.c.
28997
3cc3ef96
RM
289982012-08-22 Roland McGrath <roland@hack.frob.com>
28999
f04e2132
RM
29000 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29001 * shadow/getspent_r.c: Likewise.
29002 * shadow/getspnam.c: Likewise.
29003 * shadow/getspnam_r.c: Likewise.
29004 * gshadow/getsgent.c: Likewise.
29005 * gshadow/getsgent_r.c: Likewise.
29006 * gshadow/getsgnam.c: Likewise.
29007 * gshadow/getsgnam_r.c: Likewise.
29008 * inet/getnetbyad.c: Likewise.
29009 * inet/getnetbyad_r.c: Likewise.
29010 * inet/getnetbynm.c: Likewise.
29011 * inet/getnetbynm_r.c: Likewise.
29012 * inet/getnetent.c: Likewise.
29013 * inet/getnetent_r.c: Likewise.
29014 * inet/getproto.c: Likewise.
29015 * inet/getproto_r.c: Likewise.
29016 * inet/getprtent.c: Likewise.
29017 * inet/getprtent_r.c: Likewise.
29018 * inet/getprtname.c: Likewise.
29019 * inet/getprtname_r.c: Likewise.
29020 * inet/getrpcbyname.c: Likewise.
29021 * inet/getrpcbyname_r.c: Likewise.
29022 * inet/getrpcbynumber.c: Likewise.
29023 * inet/getrpcbynumber_r.c: Likewise.
29024 * inet/getrpcent.c: Likewise.
29025 * inet/getrpcent_r.c: Likewise.
29026 * inet/getaliasent.c: Likewise.
29027 * inet/getaliasent_r.c: Likewise.
29028 * inet/getaliasname.c: Likewise.
29029 * inet/getaliasname_r.c: Likewise.
29030 * nscd/getgrgid_r.c: Likewise.
29031 * nscd/getgrnam_r.c: Likewise.
29032 * nscd/gethstbyad_r.c: Likewise.
29033 * nscd/gethstbynm3_r.c: Likewise.
29034 * nscd/getpwnam_r.c: Likewise.
29035 * nscd/getpwuid_r.c: Likewise.
29036 * nscd/getsrvbynm_r.c: Likewise.
29037 * nscd/getsrvbypt_r.c: Likewise.
29038 * nscd/gai.c: Likewise.
29039
c53d909c
RM
29040 * configure.in (build_nscd): New substituted variable, set
29041 by --disable-build-nscd and defaults to $use_nscd.
29042 * configure: Regenerated.
29043 * config.make.in (build-nscd): New substituted variable.
29044 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29045 Change conditional to require [$(build-nscd) = yes] as well.
29046 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29047
3cc3ef96
RM
29048 [BZ# 13696]
29049 * configure.in (use_nscd): New substituted variable, set by
29050 --disable-nscd. If enabled, define USE_NSCD.
29051 * configure: Regenerated.
29052 * config.h.in: Add USE_NSCD.
29053 * config.make.in (use-nscd): New substituted variable.
29054 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29055 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29056 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29057 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29058 (CFLAGS-getgrnam_r.c): Likewise.
29059 (CFLAGS-initgroups.c): Likewise.
29060 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29061 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29062 Variables removed.
29063 * inet/getnetgrent_r.c
29064 (nscd_setnetgrent): New function, broken out of ...
29065 (setnetgrent): ... here. Call it.
29066 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29067 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29068 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29069 * nscd/Makefile (routines, aux): Move definitions after include of
29070 Makeconfig. Conditionalize on [$(use-nscd) != no].
29071 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29072 Conditionalize on [USE_NSCD].
29073 (is_nscd, nscd_init_cb): Likewise.
29074 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29075 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29076 * nss/nss_db/db-init.c: Likewise.
29077 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29078 [USE_NSCD].
29079 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29080 (make_request): Use it.
29081 (cache_valid_p): New function.
29082 (__check_pf): Use it.
29083 * NEWS: Add item for --disable-nscd.
29084
07e51550
DL
290852012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29086
29087 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29088 to support sed >= 4.2.1-20-ga9bf076.
29089 * configure: Regenerated.
29090
35a5b08b
RM
290912012-08-22 Roland McGrath <roland@hack.frob.com>
29092
29093 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29094 Conditionalize whole body on [IREL].
29095
8479f23a
JL
290962012-08-22 Jeff Law <law@redhat.com>
29097
29098 [BZ #14505]
29099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29100 if the family is PF_UNSPEC.
29101
48da0b21
MF
291022012-08-22 Mike Frysinger <vapier@gentoo.org>
29103
29104 * Makerules (lib-version): Rename from V.
29105 (install-lib-nosubdir): Change V to lib-version.
29106
15d0da8c
WS
291072012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29108
29109 [BZ #14252]
29110 * powerpc32/power6/wcschr.c: New file.
29111 * powerpc32/power6/wcscpy.c: New file.
29112 * powerpc32/power6/wcsrchr.c: New file.
29113 * powerpc64/power6/wcschr.c: New file.
29114 * powerpc64/power6/wcscpy.c: New file.
29115 * powerpc64/power6/wcsrchr.c: New file.
29116
bcca0895
MK
291172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29118
29119 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29120 (two_way_short_needle): Use it.
5a4aaa33
RM
29121 * string/strstr.c (AVAILABLE1_USES_J): Define.
29122 * string/strcasestr.c: Likewise.
99677e57
MK
29123
29124 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29125 array references.
29126 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29127
400726de
MK
29128 [BZ #11607]
29129 * NEWS: Add an entry.
29130 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29131 define their defaults.
29132 (two_way_short_needle): Detect end-of-string on-the-fly.
29133 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29134 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29135 * string/bug-strcasestr1.c: New test.
29136 * string/Makefile: Run it.
29137
20a71f2c
MK
291382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29139
29140 [BZ #11607]
29141 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29142 the first character.
29143
21ad0558
RM
291442012-08-21 Roland McGrath <roland@hack.frob.com>
29145
29146 * csu/elf-init.c (__libc_csu_irel): Function removed.
29147 * csu/libc-start.c (apply_irel): New function.
29148 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29149
0e1d9911
JM
291502012-08-21 Joseph Myers <joseph@codesourcery.com>
29151
29152 * sysdeps/unix/sysv/linux/kernel-features.h
29153 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29154 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29155 <kernel-features.h>.
29156 [__NR_fadvise64_64]: Make code unconditional.
29157 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29158 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29159 !__NR_fadvise64_64)]: Likewise.
29160 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29161 !__NR_fadvise64_64))]: Likewise.
29162 [__NR_fadvise64]: Make code unconditional.
29163 [!__NR_fadvise64]: Remove conditional code.
29164 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29165 <kernel-features.h>.
29166 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29167 unconditional.
29168 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29169 conditional code.
29170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29171 not include <kernel-features.h>.
29172 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29173 unconditional.
29174 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29175 conditional code.
29176 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29177 include <kernel-features.h>.
29178 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29179 unconditional.
29180 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29181 conditional code.
29182
14a50c9d
WS
291832012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29184
29185 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29186 slight instruction rearrangements per scrollpipe analysis.
29187 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29188
c0f4faf0
RM
291892012-08-20 Roland McGrath <roland@hack.frob.com>
29190
696da859
RM
29191 * manual/syslog.texi (syslog; vsyslog, closelog):
29192 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29193 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29194
c0f4faf0
RM
29195 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29196 DSOCAPS to match condition on defining it.
29197
348363b2
JM
291982012-08-20 Joseph Myers <joseph@codesourcery.com>
29199
a35cbf28
JM
29200 * sysdeps/unix/sysv/linux/kernel-features.h
29201 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29203 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29204 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29206 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29207 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29211
445f7ecd
JM
29212 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29213 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29214
348363b2
JM
29215 * sysdeps/unix/sysv/linux/kernel-features.h
29216 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29217 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29218 unconditional.
29219 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29220 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29221 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29222 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29223 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29224 Make code unconditional.
29225 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29226 (__mmap64) [!__NR_mmap2]: Likewise.
29227 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29228 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29229 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29230 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29231 [__NR_mmap2]: Make code unconditional.
29232 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29233 (__mmap64) [!__NR_mmap2]: Likewise.
29234
bc5bc0e5
AK
292352012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29236
29237 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29238
88d506de
AJ
292392012-08-18 Andreas Jaeger <aj@suse.de>
29240
29241 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29242
493387d2
MF
292432012-08-18 Mike Frysinger <vapier@gentoo.org>
29244
29245 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29246 * include/unistd.h (__have_sock_cloexec): Likewise.
29247 (__have_pipe2): Likewise.
29248 (__have_dup3): Likewise.
29249
a277af22
MF
292502012-08-18 Mike Frysinger <vapier@gentoo.org>
29251
29252 [BZ #9685]
29253 * include/unistd.h (__have_pipe2): Change define into an extern int.
29254 (__have_dup3): Likewise.
29255 * socket/have_sock_cloexec.c: Include fcntl.h.
29256 (__have_pipe2): New variable.
29257 (__have_dup3): Likewise.
29258
fdab8fd3
MF
292592012-08-17 Mike Frysinger <vapier@gentoo.org>
29260
29261 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29262
31035e80
MP
292632012-08-17 Marek Polacek <polacek@redhat.com>
29264
29265 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29266 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29267
3bd9e993
RM
292682012-08-17 Roland McGrath <roland@hack.frob.com>
29269
c91c505f
RM
29270 * configure.in: Add AC_SUBST for sysheaders.
29271 * configure: Regenerated.
29272 * config.make.in (sysheaders): New substituted variable.
29273
7c6f9d53
RM
29274 * sysdeps/unix/mkfifo.c: Moved ...
29275 * sysdeps/posix/mkfifo.c: ... here.
29276 * sysdeps/unix/mkfifoat.c: Moved ...
29277 * sysdeps/posix/mkfifoat.c: ... here.
29278
29279 * sysdeps/unix/utime.c: Moved ...
29280 * sysdeps/posix/utime.c: ... here.
29281
29282 * sysdeps/unix/time.c: Moved ...
29283 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
29284 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29285 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
29286
29287 * sysdeps/unix/nice.c: Moved ...
29288 * sysdeps/posix/nice.c: ... here.
29289
29290 * sysdeps/unix/alarm.c: Moved ...
29291 * sysdeps/posix/alarm.c: ... here.
29292
3bd9e993
RM
29293 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29294
d1f09384
JL
292952012-08-17 Jeff Law <law@redhat.com>
29296
29297 * intl/Makefile (codeset_mo): New variable.
29298 ($(codeset_mo)): New target.
29299 (tst-codeset.out): Depend on that. Remove explicit rule.
29300 (tst-gettext3.out, tst-gettext5.out): Likewise.
29301 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29302 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29303 * intl/tst-codeset.sh: Remove.
29304 * intl/tst-gettext3.sh: Likewise.
29305 * intl/tst-gettext5.sh: Likewise.
29306
2ae1ae5c
RM
293072012-08-17 Roland McGrath <roland@hack.frob.com>
29308
c31fdb83
RM
29309 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29310 * sysdeps/unix/syscalls.list: ... here.
29311
a0844057
RM
29312 * sysdeps/posix/getaddrinfo.c
29313 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29314 (gaiconf_init, gaiconf_reload): Use them.
29315 [!_STATBUF_ST_NSEC]
29316 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29317 Define using time_t rather than struct timespec.
29318
750c1f2a
RM
29319 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29320 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29321 Macros removed.
29322 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29323 [!NO_THREADS].
29324 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29325 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29326 Likewise.
29327
2ae1ae5c
RM
29328 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29329 __libc_cleanup_push argument.
29330
e66a42f5
RM
29331 * bits/param.h: New file.
29332 * misc/sys/param.h: New file.
29333 * include/sys/param.h: New file.
29334 * misc/Makefile (headers): Add bits/param.h.
29335 * sysdeps/generic/sys/param.h: File removed.
29336 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29337 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29338 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 29339 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 29340
b7c08a66
RM
29341 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29342 last change.
29343
b2e1c562
RM
29344 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29345 [_IO_MTSAFE_IO].
29346 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29347 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29348 New macros.
29349
c75ccd4c
RM
29350 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29351 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29352 rather than -D_IO_MTSAFE_IO conditionally.
29353 * stdio-common/Makefile (CPPFLAGS): Likewise.
29354 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29355 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29356 Use $(libio-mtsafe).
29357 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29358 of -D_IO_MTSAFE_IO.
29359 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29360 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29361 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29362 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29363 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29364 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29365 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29366 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29367 (CFLAGS-fread_u_chk.c): Likewise.
29368 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29369 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29370 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29371 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29372 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29373 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29374 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29375 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29376 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29377
29378 * libio/Makefile: Test [$(libc-reentrant) = yes]
29379 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29380
29381 * Makeconfig
29382 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29383 * sysdeps/pthread/configure: File removed.
29384 * sysdeps/pthread/Makeconfig: New file.
29385 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29386 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29387
d9195db8
GB
293882012-08-16 Gary Benson <gbenson@redhat.com>
29389
29390 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29391 unmapping the first object in a namespace.
29392
86466cd9
RM
293932012-08-16 Roland McGrath <roland@hack.frob.com>
29394
29395 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29396 (__internal_setnetgrent): ... this. Add internal_function to
29397 definition. Add libc_hidden_def.
29398 (setnetgrent): Update caller.
29399 (internal_endnetgrent): Renamed to ...
29400 (__internal_endnetgrent): ... this. Add internal_function to
29401 definition. Add libc_hidden_def.
29402 (endnetgrent): Update caller.
29403 (internal_getnetgrent_r): Renamed to ...
29404 (__internal_getnetgrent_r): ... this. Add internal_function to
29405 definition. Add libc_hidden_def.
29406 (__getnetgrent_r): Update caller.
29407 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29408
c3c8283c
JM
294092012-08-16 Joseph Myers <joseph@codesourcery.com>
29410
29411 * stdlib/longlong.h: Update from GCC.
29412
db1ee0a8
RM
294132012-08-16 Roland McGrath <roland@hack.frob.com>
29414
29415 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29416 on _QL, which is set by umul_ppmm but never used.
29417 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29418 variables, which are set by GMP macros but never used.
29419 * stdio-common/_itowa.c (_itowa): Likewise.
29420 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29421 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29422
30f69637
CD
294232012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29424
29425 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29426 struct La_sh_regs is not constant.
29427 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29428 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29429 and struct La_sparc64_regs are not constant.
29430
93a78ac4
JM
294312012-08-16 Joseph Myers <joseph@codesourcery.com>
29432
29433 * sysdeps/unix/sysv/linux/kernel-features.h
29434 (__ASSUME_POSIX_TIMERS): Remove.
29435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29436 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29437 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29438 Make code unconditional.
29439 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29440 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29441 Make code unconditional.
29442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29443 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29444 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29446 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29447 Make code unconditional.
29448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29449 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29450 (__libc_missing_posix_timers): Remove.
29451
dd924cd7
RM
294522012-08-15 Roland McGrath <roland@hack.frob.com>
29453
4b4f2771
RM
29454 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29455 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29456
601c888b
RM
29457 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29458
176790a7
RM
29459 * elf/dl-sym.c: Include <stdlib.h>.
29460
329bc018
RM
29461 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29462 constants, which avoids warnings in 32-bit builds.
29463
e04e272d
RM
29464 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29465 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29466
952bf94a
RM
29467 * misc/lseek.c: File moved to ...
29468 * io/lseek.c: ... here.
29469
7c99b50a
RM
29470 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29471
dd924cd7
RM
29472 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29473 shifting LEN more than 31 bits at once.
29474
b3f479a8
LD
294752012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29476
29477 [BZ #14195]
8c4ae0d4
RM
29478 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29479 segmentation fault for a case of two empty input strings.
b3f479a8
LD
29480 * string/test-strncasecmp.c (check1): Renamed to...
29481 (bz12205): ...this.
29482 (bz14195): Add new testcase for two empty input strings and N > 0.
29483 (test_main): Call new testcase, adapt for renamed function.
29484
9c55864e
AJ
294852012-08-15 Andreas Jaeger <aj@suse.de>
29486
29487 [BZ #14090]
29488 * crypt/md5test2.c: New test, based on test supplied by Serge
29489 Belyshev <belyshev@depni.sinp.msu.ru>.
29490 * crypt/Makefile (xtests): Add md5test-giant..
29491 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29492
02dcb6c5
PE
294932012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29494
29495 [BZ #14090]
29496 * crypt/md5.c (md5_process_block): Don't assume the buffer
29497 length is less than 2**32.
29498 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29499 length is less than 2**64.
29500
a3f95dcc
RM
295012012-08-15 Roland McGrath <roland@hack.frob.com>
29502
be75d758
RM
29503 * string/str-two-way.h: Include <sys/param.h>.
29504 (MAX): Macro removed.
29505
7312ca90
RM
29506 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29507 Move #define and #undef of memmove to just before and after
29508 including <string.h>.
29509
9a0a5486
RM
29510 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29511 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29512 and after including <string.h>. Move declarations of
29513 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29514 to before #include "string/memmove.c".
29515
67cc348d
RM
29516 * include/dirent.h: Declare __getdirentries.
29517
a3f95dcc
RM
29518 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29519 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29520
ca98e171
MF
295212012-08-14 Mike Frysinger <vapier@gentoo.org>
29522
29523 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29524 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29525 * sysdeps/i386/configure: Regenerated.
29526 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29527 STABS_CURRENT_FILE, and STABS_FUN.
29528 (END): Remove call to STABS_FUN_END.
29529 (STABS_CURRENT_FILE1): Delete.
29530 (STABS_CURRENT_FILE): Likewise.
29531 (STABS_FUN): Likewise.
29532 (STABS_FUN_END): Likewise.
29533 (STABS_FUN2): Likewise.
29534 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29535 * sysdeps/x86_64/configure: Regenerated.
29536
5908bf46
RM
295372012-08-14 Roland McGrath <roland@hack.frob.com>
29538
29539 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 29540 * elf/dl-lookup.c: Likewise.
5908bf46 29541
f2c05b9e
JM
295422012-08-14 Joseph Myers <joseph@codesourcery.com>
29543
29544 * sysdeps/unix/sysv/linux/kernel-features.h
29545 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29546 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29547 unconditionally.
29548 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29549 unconditionally.
29550 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29551 condition on __ASSUME_CLONE_THREAD_FLAGS.
29552
e11f5155
AJ
295532012-08-14 Andreas Jaeger <aj@suse.de>
29554
29555 * sysdeps/i386/fpu/libm-test-ulps: Update.
29556
51a9ba86
MK
295572012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29558
2fdd4f78
AJ
29559 * include/atomic.h (atomic_exchange_and_add): Split into ...
29560 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29561 New atomic macros.
51a9ba86 29562
ba6cba9e
MT
295632012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29564
29565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29566
42443a47
JL
295672012-08-13 Jeff Law <law@redhat.com>
29568
29569 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29570 null byte in the output string.
29571
121dce05
JM
295722012-08-10 Joseph Myers <joseph@codesourcery.com>
29573
29574 * sysdeps/unix/sysv/linux/kernel-features.h
29575 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29576 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29577 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29578 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29579 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29580 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29581 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29582
bf51f568
JL
295832012-08-09 Jeff Law <law@redhat.com>
29584
29585 [BZ #13939]
29586 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29587 When avoid_arena is set, don't retry in the that arena. Pick the
29588 next one, whatever it might be.
29589 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29590 (arena_lock): Pass in new parameter to arena_get2.
29591 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29592 arena_get2.
29593 (__libc_malloc): Unify retrying after main arena failure with
29594 __libc_memalign version.
29595 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29596
f85fa270
L
295972012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29598
29599 [BZ #14166]
29600 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29601 to __redirect_strstr.
29602 (__strstr_sse42): Use typeof __redirect_strstr.
29603 (__strstr_ia32): Likewise.
29604 (__libc_strstr): New prototype.
29605 (strstr): Renamed to ...
29606 (__libc_strstr): This.
29607 (strstr): New strong alias of __libc_strstr.
29608 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29609 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29610 __redirect_time.
29611 Include <time.h>.
29612 (__libc_time): New prototype.
29613 (time_ifunc): Replace time with __libc_time.
29614 (time): New strong alias and hidden definition of __libc_time.
29615 (__GI_time): Remove strong alias.
29616 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29617 Include <stddef.h>.
29618 (memmove): Redefined to __redirect_memmove.
29619 (__memmove_sse2): Use typeof __redirect_memmove.
29620 (__memmove_ssse3): Likewise.
29621 (__memmove_ssse3_back): Likewise.
29622 (__libc_memmove): New prototype.
29623 (memmove): Renamed to ...
29624 (__libc_memmove): This.
29625 (memmove): New strong alias of __libc_memmove.
29626
33b4a91e
MS
296272012-08-08 Mark Salter <msalter@redhat.com>
29628
29629 * elf/elf.h
29630 (R_MN10300_TLS_GD): Define.
29631 (R_MN10300_TLS_LD): Likewise.
29632 (R_MN10300_TLS_LDO): Likewise.
29633 (R_MN10300_TLS_GOTIE): Likewise.
29634 (R_MN10300_TLS_IE): Likewise.
29635 (R_MN10300_TLS_LE): Likewise.
29636 (R_MN10300_TLS_DTPMOD): Likewise.
29637 (R_MN10300_TLS_DTPOFF): Likewise.
29638 (R_MN10300_TLS_TPOFF): Likewise.
29639 (R_MN10300_SYM_DIFF): Likewise.
29640 (R_MN10300_ALIGN): Likewise.
29641 (R_MN10300_NUM): Update.
29642
b36137f1
JM
296432012-08-08 Joseph Myers <joseph@codesourcery.com>
29644
29645 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29646 Remove.
29647
cdd915fd
RM
296482012-08-08 Roland McGrath <roland@hack.frob.com>
29649
a2433aac
RM
29650 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29651
cdd915fd
RM
29652 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29653 sysdeps/unix -> sysdeps/posix move.
29654 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29655
bf9b740a
AM
296562012-08-07 Allan McRae <allan@archlinux.org>
29657
29658 [BZ #14303]
29659 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29660 (SUNOS_CPP): Likewise.
29661 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29662 not found.
29663 (open_input): Call CPP using execvp.
29664
93df14ee
JM
296652012-08-07 Joseph Myers <joseph@codesourcery.com>
29666
29667 * sysdeps/unix/sysv/linux/kernel-features.h
29668 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29669 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29670 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29671 (__ASSUME_WAITID_SYSCALL): Likewise.
29672 * sysdeps/unix/sysv/linux/dl-execstack.c
29673 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29674 code unconditional.
29675 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29676 conditional code.
29677 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29678 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29679 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29680 code.
29681 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29682 unconditional.
29683 [__ASSUME_WAITID_SYSCALL]: Likewise.
29684 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29685
d34689de
RM
296862012-08-07 Roland McGrath <roland@hack.frob.com>
29687
a281decc
RM
29688 * sysdeps/unix/closedir.c: Renamed to ...
29689 * sysdeps/posix/closedir.c: ... here.
29690 * sysdeps/unix/dirfd.c: Renamed to ...
29691 * sysdeps/posix/dirfd.c: ... here.
29692 * sysdeps/unix/dirstream.h: Renamed to ...
29693 * sysdeps/posix/dirstream.h: ... here.
29694 * sysdeps/unix/fdopendir.c: Renamed to ...
29695 * sysdeps/posix/fdopendir.c: ... here.
29696 * sysdeps/unix/opendir.c: Renamed to ...
29697 * sysdeps/posix/opendir.c: ... here.
29698 * sysdeps/unix/readdir.c: Renamed to ...
29699 * sysdeps/posix/readdir.c: ... here.
29700 * sysdeps/unix/readdir_r.c: Renamed to ...
29701 * sysdeps/posix/readdir_r.c: ... here.
29702 * sysdeps/unix/rewinddir.c: Renamed to ...
29703 * sysdeps/posix/rewinddir.c: ... here.
29704 * sysdeps/unix/seekdir.c: Renamed to ...
29705 * sysdeps/posix/seekdir.c: ... here.
29706 * sysdeps/unix/telldir.c: Renamed to ...
29707 * sysdeps/posix/telldir.c: ... here.
29708 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29709 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29710 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29711 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29712
22895b47
RM
29713 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29714 * bits/fcntl.h: ... here.
29715
707a53b6
RM
29716 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29717 not 0.
29718 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29719 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29720 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29721 (struct flock): Move l_start, l_len to the beginning.
29722 Use __pid_t for l_pid.
29723 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29724 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29725 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29726 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29727 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29728 [__USE_LARGEFILE64] (struct flock64): New type.
29729 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29730
f0bd3e25
RM
29731 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29732 * bits/dirent.h: ... here.
29733
d34689de
RM
29734 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29735 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29736
6dad2c06
JM
297372012-08-07 Joseph Myers <joseph@codesourcery.com>
29738
29739 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29740 Change from 2.6.0 to 2.6.16.
29741 * sysdeps/unix/sysv/linux/configure: Regenerated.
29742 * sysdeps/unix/sysv/linux/kernel-features.h
29743 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29744 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29745 version.
29746 (__ASSUME_UTIMES): Likewise.
29747 (__ASSUME_CLONE_STOPPED): Remove.
29748 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29749 architectures, not kernel version.
29750 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29751 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29752 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29753 (__ASSUME_WAITID_SYSCALL): Likewise.
29754 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29755 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29756 * README: State 2.6.16 as minimum Linux kernel version. Do not
29757 refer to older versions.
29758
03af9520
RM
297592012-08-06 Roland McGrath <roland@hack.frob.com>
29760
8e49df1d
RM
29761 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29762 Define alphasort64 as an alias.
29763 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29764 Define versionsort64 as an alias.
29765 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29766 Define scandir64 as an alias.
29767 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29768 Define scandirat64 as an alias.
29769 * dirent/alphasort64.c (alphasort64):
29770 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29771 * dirent/versionsort64.c: Likewise.
29772 * dirent/scandir64.c: Likewise.
29773 * dirent/scandirat64.c: Likewise.
29774 * sysdeps/wordsize-64/alphasort.c: File removed.
29775 * sysdeps/wordsize-64/alphasort64.c: File removed.
29776 * sysdeps/wordsize-64/scandir.c: File removed.
29777 * sysdeps/wordsize-64/scandir64.c: File removed.
29778 * sysdeps/wordsize-64/scandirat.c: File removed.
29779 * sysdeps/wordsize-64/scandirat64.c: File removed.
29780 * sysdeps/wordsize-64/versionsort.c: File removed.
29781 * sysdeps/wordsize-64/versionsort64.c: File removed.
29782 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29783 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29784 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29785 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29786 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29787 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29788 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29789 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29790
29791 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29792 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29793 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29794 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29795 [defined __arch64__ || defined __sparcv9]
29796 (__INO_T_MATCHES_INO64_T): New macro.
29797 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29798 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29799 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29800 * sysdeps/unix/sysv/linux/bits/dirent.h
29801 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29802 (_DIRENT_MATCHES_DIRENT64): New macro.
29803
03af9520
RM
29804 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29805 Define lockf64 as an alias.
29806 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29807 Define fseeko64 as an alias.
29808 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29809 Define ftello64 as an alias.
29810 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29811 Define _IO_fgetpos64 and fgetpos64 as aliases.
29812 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29813 Define _IO_fsetpos64 and fsetpos64 as aliases.
29814 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29815 Conditionalize body on this.
29816 * libio/fseeko64.c: Likewise.
29817 * libio/ftello64.c: Likewise.
29818 * libio/iofgetpos64.c: Likewise.
29819 * libio/iofsetpos64.c: Likewise.
29820 * sysdeps/wordsize-64/lockf.c: File removed.
29821 * sysdeps/wordsize-64/lockf64.c: File removed.
29822 * sysdeps/wordsize-64/fseeko.c: File removed.
29823 * sysdeps/wordsize-64/fseeko64.c: File removed.
29824 * sysdeps/wordsize-64/ftello.c: File removed.
29825 * sysdeps/wordsize-64/ftello64.c: File removed.
29826 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29827 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29828 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29829 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29830 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29831 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29832 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29833 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29834 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29835 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29836 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29837 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29838 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29839 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29840
29841 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29842 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29843 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29845 [defined __arch64__ || defined __sparcv9]
29846 (__OFF_T_MATCHES_OFF64_T): New macro.
29847 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29848 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29850 (__OFF_T_MATCHES_OFF64_T): New macro.
29851
c5757acd
L
298522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29853
29854 * stdlib/secure-getenv.c (__secure_getenv): Replace
29855 GLIBC_2_16 with GLIBC_2_17.
29856
3a31811e
L
298572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29858
29859 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29860 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29861
faa2bccb
DM
298622012-08-03 David S. Miller <davem@davemloft.net>
29863
29864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29865
85fe1997
JM
298662012-08-03 Joseph Myers <joseph@codesourcery.com>
29867
29868 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29869 Remove.
29870 (__ASSUME_CORRECT_SI_PID): Likewise.
29871 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29872 (__ASSUME_TMPFS_NAME): Likewise.
29873 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29874 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29875 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29876 (HAVE_AUX_SECURE): Make definition unconditional.
29877 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29878 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29879
4f75b7a0
RM
298802012-08-03 Roland McGrath <roland@hack.frob.com>
29881
29882 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29883 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29884 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29885 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29886 __eloop_threshold instead of SYMLOOP_MAX.
29887
29888 * sysdeps/generic/eloop-threshold.h: New file.
29889 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29890 of MAXSYMLINKS.
29891 * elf/chroot_canon.c (chroot_canon): Likewise.
29892
7aab07e4
JM
298932012-08-03 Joseph Myers <joseph@codesourcery.com>
29894
29895 [BZ #13717]
29896 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29897 Change to 2.6.0 everywhere.
29898 * sysdeps/unix/sysv/linux/configure: Regenerated.
29899 * sysdeps/unix/sysv/linux/kernel-features.h
29900 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29901 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29902 kernel versions.
29903 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29904 (__ASSUME_FUTEX_REQUEUE): Remove.
29905 (__ASSUME_STATFS64): Define unconditionally.
29906 (__ASSUME_AT_SECURE): Likewise.
29907 (__ASSUME_CORRECT_SI_PID): Likewise.
29908 (__ASSUME_TGKILL): Define without depending on kernel version for
29909 i386.
29910 (__ASSUME_UTIMES): Likewise.
29911 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29912 kernel version.
29913 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29914 (__ASSUME_TMPFS_NAME): Likewise.
29915 * README: Update reference to Linux kernel versions.
29916
b67e9372
MP
299172012-08-02 Marek Polacek <polacek@redhat.com>
29918
1f529f7d 29919 [BZ# 14150]
b67e9372
MP
29920 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29921 libc_cv_asm_type_prefix with %.
29922 * configure: Regenerated.
d2441631
RM
29923 * include/libc-symbols.h: Remove comment about
29924 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
29925 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29926 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29927 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29928 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29929 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29930 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29931 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29932 * elf/tst-unique2mod1.c: Likewise.
29933 * elf/tst-unique1mod2.c: Likewise.
29934 * elf/tst-unique1mod1.c: Likewise.
29935 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29936 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29937 Replace ASM_TYPE_DIRECTIVE with .type.
29938 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29939 * sysdeps/i386/sysdep.h: Likewise.
29940 * sysdeps/x86_64/sysdep.h: Likewise.
29941 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
29942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29943 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 29944 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
29945 * sysdeps/powerpc/powerpc32/sysdep.h:
29946 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
29947 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29948 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29949 * sysdeps/i386/fpu/e_powf.S: Likewise.
29950 * sysdeps/i386/fpu/e_expl.S: Likewise.
29951 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29952 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29953 * sysdeps/i386/fpu/e_pow.S: Likewise.
29954 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29955 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29956 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29957 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29958 * sysdeps/i386/fpu/e_log2.S: Likewise.
29959 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29960 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29961 * sysdeps/i386/fpu/e_powl.S: Likewise.
29962 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29963 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29964 * sysdeps/i386/fpu/e_logl.S: Likewise.
29965 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29966 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29967 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29968 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29969 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29970 * sysdeps/i386/fpu/e_log.S: Likewise.
29971 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29972 * sysdeps/i386/fpu/e_logf.S: Likewise.
29973 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29974 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29975 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29976 * sysdeps/i386/fpu/e_log10.S: Likewise.
29977 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29978 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29979 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29980 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29981 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29982 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29983 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29984 * sysdeps/i386/i686/strtok.S: Likewise.
29985 * sysdeps/i386/i386-mcount.S: Likewise.
29986 * sysdeps/i386/strtok.S: Likewise.
29987 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29988 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29989 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29990 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29991 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29992 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29993 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29994 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29995 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29996 * sysdeps/x86_64/_mcount.S: Likewise.
29997 * sysdeps/x86_64/strtok.S: Likewise.
29998 * sysdeps/sh/_mcount.S: Likewise.
29999
2747bf9a
RM
300002012-08-01 Roland McGrath <roland@hack.frob.com>
30001
30002 * libio/iofopen.c: Include <fcntl.h>.
30003 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30004 (_IO_fopen64, fopen64): Define as aliases.
30005 * libio/iofopen64.c: Include <fcntl.h>.
30006 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30007 Conditionalize body on this.
30008 * sysdeps/wordsize-64/iofopen.c: File removed.
30009 * sysdeps/wordsize-64/iofopen64.c: File removed.
30010
3fb791b8
MP
300112012-08-01 Marek Polacek <polacek@redhat.com>
30012
30013 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30014 Use dlfcn directly instead of a variable.
30015 (binfmt-subdir): Do not define.
30016 (dlfcn): Likewise.
30017
a9f1039f
JM
300182012-08-01 Joseph Myers <joseph@codesourcery.com>
30019
23bddc06
JM
30020 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30021 Remove all definitions.
30022 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30023 <kernel-features.h>.
30024 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30025 (miss_F_GETOWN_EX): Remove all definitions.
30026 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30027 macro definition.
30028 [!__ASSUME_FCNTL64]: Remove conditional code.
30029 [__ASSUME_FCNTL64]: Make code unconditional.
30030 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30031 <kernel-features.h>.
30032 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30033 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30034 (lockf64) [__NR_fcntl64]: Make code unconditional.
30035 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30036
a9f1039f
JM
30037 * sysdeps/unix/sysv/linux/kernel-features.h
30038 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30039 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30040 Make code unconditional.
30041 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30042 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30044 [__NR_vfork]: Make code unconditional.
30045 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30046 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30048 [__NR_vfork]: Make code unconditional.
30049 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30050 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30051
09c0ee5f
RM
300522012-08-01 Roland McGrath <roland@hack.frob.com>
30053
48aec5b9
RM
30054 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30055 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30056
cd97c966
RM
30057 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30058 Define mkstemp64 as an alias.
3f55550c
RM
30059 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30060 Define mkstemps64 as an alias.
cd97c966
RM
30061 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30062 Define mkostemp64 as an alias.
b8625cfc
RM
30063 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30064 Define mkostemps64 as an alias.
cd97c966
RM
30065 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30066 Conditionalize body on this.
30067 * misc/mkostemp64.c: Likewise.
b8625cfc 30068 * misc/mkostemps64.c: Likewise.
3f55550c 30069 * misc/mkstemps64.c: Likewise.
cd97c966
RM
30070 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30071 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30072 * sysdeps/wordsize-64/mkostemp.c: File removed.
30073 * sysdeps/wordsize-64/mkstemp.c: File removed.
30074 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30075 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30076 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30077 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30078
09c0ee5f
RM
30079 [BZ #14138]
30080 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30081 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30082 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30083 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30084
30085 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30086 compat_symbol macros from <shlib-compat.h> rather than the underlying
30087 default_symbol_version and symbol_version macros, so that DEFAULT
30088 lines in shlib-versions are respected.
30089 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30090
7e66ee51
FW
300912012-08-01 Florian Weimer <fweimer@redhat.com>
30092
30093 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30094 Declare with warn_unused_result.
30095 (setgid, setregid, setegid, setresgid): Likewise.
30096 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30097 Likewise.
30098 * WUR-REPORT: Remove set*id functions.
30099
d2a54255
PT
301002012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30101
30102 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30103
7ecdb005
RM
301042012-07-31 Roland McGrath <roland@hack.frob.com>
30105
b4180a5e 30106 [BZ #10191]
789bd351
RM
30107 * include/sys/socket.h (__libc_accept, __libc_accept4):
30108 Add attribute_hidden.
30109 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30110
40ce302d
RM
30111 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30112 use of PTR_MANGLE.
30113 * inet/getnetgrent_r.c (setup): Likewise.
30114
7ecdb005
RM
30115 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30116
e2eabb2c
DM
301172012-07-31 David S. Miller <davem@davemloft.net>
30118
30119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30120
d0419dbf
JM
301212012-07-31 Joseph Myers <joseph@codesourcery.com>
30122
30123 [BZ #13629]
30124 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30125 value between 1.0 and 2.0 and smaller part has absolute value less
30126 than 1.0.
30127 * math/s_clog10.c (__clog10): Likewise.
30128 * math/s_clog10f.c (__clog10f): Likewise.
30129 * math/s_clog10l.c (__clog10l): Likewise.
30130 * math/s_clogf.c (__clogf): Likewise.
30131 * math/s_clogl.c (__clogl): Likewise.
30132 * math/libm-test.inc (clog_test): Add more tests.
30133 (clog10_test): Likewise.
30134 * sysdeps/i386/fpu/libm-test-ulps: Update.
30135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30136
2bc13872
FW
301372012-07-31 Florian Weimer <fweimer@redhat.com>
30138
30139 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30140 Exit with zero in case no suitable GID is found, and write a
30141 message to standard error.
30142
bea9b193
RM
301432012-07-30 Roland McGrath <roland@hack.frob.com>
30144
30145 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30146 rather than to 1.
30147 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30148 (MAXPATHLEN): Removed.
30149 (NOGROUP, NODEV): New macros.
30150 (setbit, clrbit, isset, isclr): New macros.
30151 (howmany, roundup, powerof2): New macros.
30152 (DEV_BSIZE): New macro.
30153
30154 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30155 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30156
30157 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30158 definition on [!__NO_LONG_DOUBLE_MATH].
30159
30160 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30161 PTR_MANGLE and PTR_DEMANGLE.
30162
30163 * socket/accept4.c (accept4): Rename to __libc_accept4.
30164 Define accept4 as a weak alias.
30165
30166 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30167 on [_DIRENT_HAVE_D_TYPE].
30168 * io/ftw.c (ftw_dir): Likewise.
30169
30170 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30171
30172 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30173
30174 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30175 Use the BSD numbers rather than the arbitrary ones we had.
30176 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30177 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30178 (SIGXCPU, SIGXFSZ): New macros.
30179 (_NSIG): Now 32.
30180
30181 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30182 initializer on [_LIBC_REENTRANT].
30183
30184 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30185 definitions inside [_POSIX_MAPPED_FILES].
30186
30187 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30188
30189 * dirent/opendir.c: Include <fcntl.h>.
30190
30191 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30192 (__libc_getspecific): Likewise.
30193 (__libc_key_create): Likewise.
30194
30195 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30196 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30197 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30198 (tmpfile64): Define as alias.
30199 * sysdeps/wordsize-64/tmpfile.c: File removed.
30200 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30202 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30203
30204 * stdio-common/vfscanf.c: Include <stdbool.h>.
30205 * nss/makedb.c: Likewise.
30206 * stdio-common/_i18n_number.h: Likewise.
30207 * argp/argp-help.c: Likewise.
30208 * posix/wordexp.c: Likewise.
30209 * sysdeps/posix/spawni.c: Likewise.
30210 * nss/nss_files/files-initgroups.c: Likewise.
30211 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30212 * nss/nss_files/files-initgroups.c: Likewise.
30213 * nss/nss_db/db-netgrp.c: Likewise.
30214 * nss/nss_db/db-initgroups.c: Likewise.
30215 * io/fchmodat.c: Include <sys/stat.h>.
30216
30217 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30218 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30219
30220 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30221 [HAVE_MMAP].
30222
30223 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30224 Add multiple inclusion protection.
30225
e5abc686
DM
302262012-07-27 David S. Miller <davem@davemloft.net>
30227
30228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30229
815e6fa3
GB
302302012-07-27 Gary Benson <gbenson@redhat.com>
30231
30232 [BZ #14298]
30233 * elf/rtld.c: Include <stap-probe.h>.
30234 (dl_main): Added static probes "init_start" and "init_complete".
30235 * elf/dl-load.c: Include <stap-probe.h>.
30236 (lose): Take new parameter "nsid".
30237 Added static probe "map_failed".
30238 (_dl_map_object_from_fd): Pass namespace id to lose.
30239 Added static probe "map_start".
30240 (open_verify): Pass namespace id to lose.
30241 * elf/dl-open.c: Include <stap-probe.h>.
30242 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30243 and "reloc_complete".
30244 * elf/dl-close.c: Include <stap-probe.h>.
30245 (_dl_close_worker): Added static probes "unmap_start" and
30246 "unmap_complete".
30247 * elf/rtld-debugger-interface.txt: New file documenting the above.
30248
9f98c16c
RM
302492012-07-26 Roland McGrath <roland@hack.frob.com>
30250
30251 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30252 rather than a string variable.
30253 * sunrpc/rpc_main.c (h_output): Likewise.
30254 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30255
f3c22df3
PT
302562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30257
30258 * inet/check_native.c: New file.
30259
3129cfc6
JM
302602012-07-26 Joseph Myers <joseph@codesourcery.com>
30261
da865e95
JM
30262 [BZ #13629]
30263 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30264 if larger part has absolute value 1.0.
30265 * math/s_clog10.c (__clog10): Likewise.
30266 * math/s_clog10f.c (__clog10f): Likewise.
30267 * math/s_clog10l.c (__clog10l): Likewise.
30268 * math/s_clogf.c (__clogf): Likewise.
30269 * math/s_clogl.c (__clogl): Likewise.
30270 * math/libm-test.inc (clog_test): Add more tests.
30271 (clog10_test): Likewise.
30272 * sysdeps/i386/fpu/libm-test-ulps: Update.
30273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30274
3129cfc6
JM
30275 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30276 (pltexit): Likewise.
30277 (La_regs): Likewise.
30278 (La_retval): Likewise.
30279 (int_retval): Likewise.
30280 Update #error for removed macros to refer only to definitions in
30281 tst-audit.h.
30282 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30283 macro.
30284 (pltexit): Likewise.
30285 (La_regs): Likewise.
30286 (La_retval): Likewise.
30287 (int_retval): Likewise.
30288 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30289 macro.
30290 (pltexit): Likewise.
30291 (La_regs): Likewise.
30292 (La_retval): Likewise.
30293 (int_retval): Likewise.
30294 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30295 macro.
30296 (pltexit): Likewise.
30297 (La_regs): Likewise.
30298 (La_retval): Likewise.
30299 (int_retval): Likewise.
30300 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30301 macro.
30302 (pltexit): Likewise.
30303 (La_regs): Likewise.
30304 (La_retval): Likewise.
30305 (int_retval): Likewise.
30306 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30307 macro.
30308 (pltexit): Likewise.
30309 (La_regs): Likewise.
30310 (La_retval): Likewise.
30311 (int_retval): Likewise.
30312 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30313 macro.
30314 (pltexit): Likewise.
30315 (La_regs): Likewise.
30316 (La_retval): Likewise.
30317 (int_retval): Likewise.
30318 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30319 macro definitions in tst-audit.h.
30320 * sysdeps/i386/tst-audit.h: New file.
30321 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30322 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30323 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30324 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30325 * sysdeps/sh/tst-audit.h: Likewise.
30326 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30327 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30328 * sysdeps/x86_64/tst-audit.h: Likewise.
30329
bfc07087
AJ
303302012-07-26 Andreas Jaeger <aj@suse.de>
30331
b1b2aaf8
AJ
30332 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30333 ptrace.
30334
30335 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30336 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30337 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30338 PTRACE_O_MASK.
30339 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30340 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30341 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30342
bfc07087
AJ
30343 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30344 value.
30345
30346 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30347 _sigsys.
30348 (si_call_addr, si_syscall, si_arch): Define new macro.
30349 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30350 _sigsys.
30351 (si_call_addr, si_syscall, si_arch): Define new marcro.
30352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30353 _sigsys.
30354 (si_call_addr, si_syscall, si_arch): Define new macro.
30355 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30356 _sigsys.
30357 (si_call_addr, si_syscall, si_arch): Define new macro.
30358
89b4b02f
JM
303592012-07-25 Joseph Myers <joseph@codesourcery.com>
30360
30361 [BZ #13717]
30362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30363 Change to 2.4.21 where previously 2.4.1.
30364 * sysdeps/unix/sysv/linux/configure: Regenerated.
30365 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30366 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30367 Linux kernel version.
30368 (__ASSUME_STD_AUXV): Remove.
30369 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30370 kernel version.
30371 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30372 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30373 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30374 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30375 (__ASSUME_NETLINK_SUPPORT): Likewise.
30376 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30377 (__no_netlink_support): Remove conditional definition.
30378 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30379 Remove.
30380 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30381 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30382 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30383 (if_nameindex_ioctl): Remove.
30384 (if_nameindex_netlink): Do not handle __no_netlink_support.
30385 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30386 code.
30387 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30388 Remove conditional code.
30389 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30390 code.
30391 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30392 unconditional.
30393 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30394 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30395 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30396 Remove.
30397 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30398 [!__ASSUME_STD_AUXV]: Remove conditional code.
30399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30400 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30401 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30403 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30404 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30405 code.
30406 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30408 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30409 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30410 conditional code.
30411 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30413 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30414 code.
30415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30416 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30417 conditional code.
30418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30419 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30420 code unconditional.
30421 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30422 conditional code.
30423 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30424 unconditional.
30425 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30426 conditional code.
30427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30428 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30429 unconditional.
30430 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30431 conditional code.
30432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30433 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30434 code unconditional.
30435 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30436 conditional code.
30437 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30438 unconditional.
30439 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30440 conditional code.
30441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30442 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30443 code unconditional.
30444 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30445 conditional code.
30446 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30447 unconditional.
30448 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30449 conditional code.
30450
842a39cd
AS
304512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30452
30453 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30454 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30455 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30456 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30457 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30458 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30459 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30460 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30461 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30462 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30463 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30464 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30465 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30466 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30467 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30468 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30469 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30471 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30473 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30474 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30475 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30476
84b3fd84
FW
304772012-07-25 Florian Weimer <fweimer@redhat.com>
30478
30479 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
30480 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30481 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30482 Introduce __libc_secure_getenv.
0c7936d5
FW
30483 * stdlib/Versions (2.17): Add secure_getenv
30484 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30485 * stdlib/secure-getenv.c: Rename __secure_getenv to
30486 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30487 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
30488 * stdlib/tst-secure-getenv.c: New.
30489 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
30490 * manual/startup.texi (Environment Access): Document
30491 secure_getenv.
84b3fd84
FW
30492 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30493 __libc_secure_getenv.
30494 * inet/ruserpass.c (ruserpass): Likewise.
30495 * malloc/mtrace.c (mtrace): Likewise.
30496 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 30497 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
30498 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30499 * sysdeps/posix/tempname.c: Likewise. Evaluate
30500 HAVE_SECURE_GETENV.
30501 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 30502 __secure_getenv to __libc_secure_getenv.
84b3fd84 30503 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
30504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30505 Likewise.
30506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30507 Likewise.
30508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 30515
56e49b71
JM
305162012-07-25 Joseph Myers <joseph@codesourcery.com>
30517
30518 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30519 (struct La_i86_retval): Likewise.
30520 (struct La_x86_64_regs): Likewise.
30521 (struct La_x86_64_retval): Likewise.
30522 (struct La_x32_regs): Likewise.
30523 (struct La_x32_retval): Likewise.
30524 (struct La_ppc32_regs): Likewise.
30525 (struct La_ppc32_retval): Likewise.
30526 (struct La_ppc64_regs): Likewise.
30527 (struct La_ppc64_retval): Likewise.
30528 (struct La_sh_regs): Likewise.
30529 (struct La_sh_retval): Likewise.
30530 (struct La_s390_32_regs): Likewise.
30531 (struct La_s390_32_retval): Likewise.
30532 (struct La_s390_64_regs): Likewise.
30533 (struct La_s390_64_retval): Likewise.
30534 (struct La_sparc32_regs): Likewise.
30535 (struct La_sparc32_retval): Likewise.
30536 (struct La_sparc64_regs): Likewise.
30537 (struct La_sparc64_retval): Likewise.
30538 (struct audit_ifaces): Remove architecture-specific pltenter and
30539 pltexit members.
30540 * sysdeps/i386/ldsodefs.h: New file.
30541 * sysdeps/powerpc/ldsodefs.h: Likewise.
30542 * sysdeps/s390/ldsodefs.h: Likewise.
30543 * sysdeps/sh/ldsodefs.h: Likewise.
30544 * sysdeps/sparc/ldsodefs.h: Likewise.
30545 * sysdeps/x86_64/ldsodefs.h: Likewise.
30546
354691b7
MP
305472012-07-25 Marek Polacek <polacek@redhat.com>
30548
30549 [BZ #6808]
30550 * math/libm-test.inc (yn_test): Add another test.
30551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30552 to ERANGE when the result is +-Inf.
30553 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30554 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30555 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30556 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30557
bf9e2071
JM
305582012-07-24 Joseph Myers <joseph@codesourcery.com>
30559
30560 * conform/data/time.h-data (NULL): Use macro-constant. Require
30561 equal to 0.
30562 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30563 clock_t.
30564 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30565
57633811
TS
305662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30567
30568 * configure.in <sysdeps resolving>: Correct printing
30569 Implies_before.
30570 * configure: Regenerate.
30571
c23c33b0
TS
305722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30573
30574 * math/w_ilogb.c: Include <limits.h>.
30575 * math/w_ilogbl.c: Likewise.
30576
b5982523
JM
305772012-07-20 Joseph Myers <joseph@codesourcery.com>
30578
30579 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30580 va_copy. Document allowing for unavailable va_copy only as
30581 pre-C99 compatibility.
30582 * manual/string.texi (Copying and Concatenation): Use va_copy
30583 instead of __va_copy in concat example.
30584
ac4ea442
PT
305852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30586
30587 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30588 (__sendto): Use create_address_port. Initialize APORT and deallocate
30589 it if not null.
30590
f98eafbd
PT
30591 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30592 with O_NOLINK passed to __file_name_lookup.
30593
898c7aab
PT
30594 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30595 with O_NOLINK passed to __file_name_lookup.
30596
0ced335a
PT
30597 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30598 negative N or less than NGIDS.
30599
b3404dbd
PT
30600 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30601 type to string_t. Set ERANGE as errno and return it if NAME is not big
30602 enough. Use memcpy instead of strncpy.
30603
0f48659e
JM
306042012-07-20 Joseph Myers <joseph@codesourcery.com>
30605
30606 * elf/Makefile (check-data): Remove.
30607 (localplt.data): New vpath directive.
30608 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30609 instead of $(check-data).
30610 * scripts/data/localplt-generic.data: Move to ...
30611 * sysdeps/generic/localplt.data: ... here.
30612 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30613 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30614 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30616 ... here.
30617 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30619 ... here.
30620 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30622 ... here.
30623 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30625 ... here.
30626 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30628 ... here.
30629 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30631 ... here.
30632
d37cbdaa
AZ
306332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30634
30635 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30636 PPC32 and PPC64 files.
30637 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30638 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30639
46f85fc2
AK
306402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30641
30642 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30643 __makecontext_ret to ...
30644 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30645 ... here and call exit if uc_link is NULL. New file.
30646 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30647 __makecontext_ret.S.
30648 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30649 __makecontext_ret to ...
30650 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30651 ... here and call exit if uc_link is NULL. New file.
30652 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30653 __makecontext_ret.S.
30654
08f43f9b
AK
306552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30656
30657 * elf/elf.h (R_390_IRELATIVE): New definition.
30658 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30659 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30660 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30661 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30662 (elf_machine_lazy_rel): Likewise.
30663 * sysdeps/s390/dl-irel.h: New file.
30664 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30665 * sysdeps/s390/s390-64/memset.S: New asm code.
30666 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30667 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30668 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30669 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30670 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30671 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30672 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30673 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30674 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30675 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30676 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30677 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30678 * sysdeps/s390/s390-32/memset.S: New asm code.
30679 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30680
3b05db33
MP
306812012-07-17 Marek Polacek <polacek@redhat.com>
30682
30683 [BZ #14349]
30684 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30685 * sysdeps/s390/s390-64/configure.in: Likewise.
30686 * sysdeps/sparc/configure.in: Likewise.
30687 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30688 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30689 * sysdeps/i386/configure.in: Likewise.
30690 * sysdeps/x86_64/configure.in: Likewise.
30691 * sysdeps/sh/configure.in: Likewise.
30692 * sysdeps/s390/s390-32/configure: Regenerated.
30693 * sysdeps/s390/s390-64/configure: Likewise.
30694 * sysdeps/x86_64/configure: Likewise.
30695 * sysdeps/sh/configure: Likewise.
30696 * sysdeps/powerpc/powerpc64/configure: Likewise.
30697 * sysdeps/powerpc/powerpc32/configure: Likewise.
30698 * sysdeps/sparc/configure: Likwise.
30699 * sysdeps/i386/configure: Likewise.
30700
a66877c6
MP
30701 * elf/dl-open.c: Comment fixes.
30702
cfc82fd8
JM
307032012-07-17 Joseph Myers <joseph@codesourcery.com>
30704
bd29910a
JM
30705 * Makefile [CXX] (check-data): Remove.
30706 [CXX] (c++-types.data): New vpath directive.
30707 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30708 vpath. Do not allow for C++ type data being missing.
30709 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30710 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30711 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30712 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30713 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30714 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30715 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30717 ... here.
30718 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30720 ... here.
30721 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30723 ... here.
30724 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30726 ... here.
30727 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30729 ... here.
30730 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30732 ... here.
30733 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30735 ... here.
30736 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30738
cfc82fd8
JM
30739 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30740 definitions to architecture-specific files.
30741 (TLS_IE): Likewise.
30742 (TLS_LD): Likewise.
30743 (TLS_GD): Likewise.
30744 * sysdeps/i386/tls-macros.h: New file.
30745 * sysdeps/powerpc/tls-macros.h: Likewise.
30746 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30747 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30748 * sysdeps/sh/tls-macros.h: Likewise.
30749 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30750 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30751 * sysdeps/x86_64/tls-macros.h: Likewise.
30752
f7db3170
TS
307532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30754
07cbfc23
TS
30755 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30756 zero value for regular exit case.
30757
f7db3170
TS
30758 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30759 (__start_context): Preserve zero value for regular exit case.
30760
dc97c227
TS
307612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30762 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30763
30764 * manual/setjmp.texi (setcontext): Clarify normal process
30765 termination when uc_link is the null pointer.
30766 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30767 exit call.
30768
d0cd7d02
AS
307692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30770
30771 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30772 preprocessor. Test for each exception mask separately.
30773
dd318934
AJ
307742012-07-16 Andreas Jaeger <aj@suse.de>
30775
30776 * po/ru.po: Update from translation team.
30777
8048311a
JM
307782012-07-15 Joseph Myers <joseph@codesourcery.com>
30779
30780 * conform/data/string.h-data (NULL): Use macro-constant. Require
30781 equal to 0.
30782 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30783 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30784 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30785 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30787
b637d46e
AJ
307882012-07-13 Andreas Jaeger <aj@suse.de>
30789
30790 * po/fr.po: Update from translation team.
30791
541428fe
MP
307922012-07-12 Marek Polacek <polacek@redhat.com>
30793
30794 [BZ #14173]
30795 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30796 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30797 loop condition.
30798
ec332e94
JM
307992012-07-12 Joseph Myers <joseph@codesourcery.com>
30800
30801 [BZ #13717]
30802 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30803 Change to 2.4.1 where previously 2.4.0.
30804 * sysdeps/unix/sysv/linux/configure: Regenerated.
30805 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30806 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30807 version.
30808 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30809 (__ASSUME_AT_CLKTCK): Remove.
30810 (__ASSUME_AT_PAGESIZE): Likewise.
30811 (__ASSUME_AT_XID): Likewise.
30812 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30813 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30814 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30815 unconditionally.
30816 (HAVE_AUX_PAGESIZE): Likewise.
30817 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30818 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30819 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30820
7b6e99be
JB
308212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30822
30823 [BZ #14307]
30824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30825 the temporary buffer used to invoke __gethostbyname2_r,
30826 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30827 host_data / struct gaih_addrtuple.
30828 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30829 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30830 header file nss/nsswitch.h.
30831 * nss/nsswitch.h (global scope): Add definition of implementation
30832 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30833 resolv/nss_dns/dns-host.c).
30834
608404eb
AJ
308352012-07-11 Andreas Jaeger <aj@suse.de>
30836
30837 * po/fr.po: Update from translation team.
30838
71220aca
AJ
30839 * po/sv.po: Update from translation team
30840 * po/fr.po: Another update from translation team.
30841
28cfe843
AZ
308422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30843
30844 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30845 for subnormals or multiply small sinh result by itself.
30846 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30848
6b90f981
DM
308492012-07-11 David S. Miller <davem@davemloft.net>
30850
30851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30852
c6825772
AS
308532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30854
30855 [BZ #14347]
30856 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30857 (INTERNAL_MARK): Shift it here.
30858
7b8e0d49
MP
308592012-07-10 Marek Polacek <polacek@redhat.com>
30860
30861 [BZ #14151]
30862 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30863 libc_cv_asm_global_directive with .globl.
30864 * configure: Regenerated.
30865 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30866 with .globl.
30867 * sysdeps/i386/configure: Regenerated.
30868 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30869 with .globl.
30870 * sysdeps/x86_64/configure: Regenerated.
30871 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30872 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30873 * elf/tst-unique2mod2.c: Likewise.
30874 * elf/tst-unique2mod1.c: Likewise.
30875 * elf/tst-unique1mod2.c: Likewise.
30876 * elf/tst-unique1mod1.c: Likewise.
30877 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30878 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30880 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30881 * sysdeps/mach/sysdep.h: Likewise.
30882 * sysdeps/i386/sysdep.h: Likewise.
30883 * sysdeps/i386/i386-mcount.S: Likewise.
30884 * sysdeps/x86_64/_mcount.S: Likewise.
30885 * sysdeps/x86_64/sysdep.h: Likewise.
30886 * sysdeps/sh/_mcount.S: Likewise.
30887 * sysdeps/sh/sysdep.h: Likewise.
30888 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30889 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30890 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30891 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30892 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30893 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30894 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30895 * locale/localeinfo.h: Likewise.
30896 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30897 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30898
6c55cda3
RM
308992012-07-09 Roland McGrath <roland@hack.frob.com>
30900
30901 [BZ #14336]
30902 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30903 system".
30904 * manual/message.texi (The Uniforum approach): Likewise.
30905 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30906 (glibc iconv Implementation): Likewise.
30907
638a572e
JM
309082012-07-09 Joseph Myers <joseph@codesourcery.com>
30909
30910 [BZ #14337]
30911 * math/s_clog.c (__clog): Avoid scaling a value down where that
30912 could result in underflow.
30913 * math/s_clog10.c (__clog10): Likewise.
30914 * math/s_clog10f.c (__clog10f): Likewise.
30915 * math/s_clog10l.c (__clog10l): Likewise.
30916 * math/s_clogf.c (__clogf): Likewise.
30917 * math/s_clogl.c (__clogl): Likewise.
30918 * math/libm-test.inc (clog_test): Add more tests.
30919 (clog10_test): Likewise.
30920 * sysdeps/i386/fpu/libm-test-ulps: Update.
30921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30922
261f4859
AS
309232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30924
0abaf3e4
AS
30925 [BZ #14283]
30926 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30927 by 7 not 8 to examine high bit of fractional part.
30928
261f4859
AS
30929 [BZ #14042]
30930 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30931 for call to __mcount_internal.
30932 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30933 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30934 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30935
f17ac40d
JM
309362012-07-06 Joseph Myers <joseph@codesourcery.com>
30937
9ad63c23
JM
30938 [BZ #14154]
30939 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30940 approximation for values within 0x1p-13f of an odd multiple of
30941 pi/4.
30942 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30943 exception. Add more tests.
30944 * sysdeps/i386/fpu/libm-test-ulps: Update.
30945
f17ac40d
JM
30946 [BZ #6778]
30947 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30948 inputs and return -1 for them. Do not check for +Inf in case not
30949 reachable for +Inf.
30950 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30951 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30952 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30953 and return -1 for them. Do not check for +Inf in case not
30954 reachable for +Inf.
30955 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30956 define.
30957 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30958 and return -1 for them. Do not check for +Inf in case not
30959 reachable for +Inf.
30960 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30961 spurious underflow.
30962 * sysdeps/i386/fpu/libm-test-ulps: Update.
30963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30964
fb21f89b
MF
309652012-07-06 Mike Frysinger <vapier@gentoo.org>
30966
30967 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30968
cdfe2c5e
JM
309692012-07-05 Joseph Myers <joseph@codesourcery.com>
30970
30971 [BZ #14157]
30972 [BZ #14331]
30973 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30974 could result in spurious underflow. Scale down values above
30975 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30976 * math/s_csqrtf.c (__csqrtf): Likewise.
30977 * math/s_csqrtl.c (__csqrtl): Likewise.
30978 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30979 spurious underflow.
30980 * sysdeps/i386/fpu/libm-test-ulps: Update.
30981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30982
70d35b67
AS
309832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30984
704bc459
AS
30985 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30986 xopen-msg.sed.
30987 * catgets/xopen-msg.awk: New file.
30988 * catgets/xopen-msg.sed: Removed.
30989
70d35b67
AS
30990 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30991 po2text.sed.
30992 * intl/po2test.awk: New file.
30993 * intl/po2test.sed: Removed.
30994
ca61cf32
JM
309952012-07-04 Joseph Myers <joseph@codesourcery.com>
30996
30997 [BZ #14328]
30998 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30999 or multiply small sinh result by itself.
31000 * math/s_ctanf.c (__ctanf): Likewise.
31001 * math/s_ctanh.c (__ctanh): Likewise.
31002 * math/s_ctanhf.c (__ctanhf): Likewise.
31003 * math/s_ctanhl.c (__ctanhl): Likewise.
31004 * math/s_ctanl.c (__ctanl): Likewise.
31005 * math/libm-test.inc (ctan_test_tonearest): New function.
31006 (ctan_test_towardzero): Likewise.
31007 (ctan_test_downward): Likewise.
31008 (ctan_test_upward): Likewise.
31009 (ctanh_test_tonearest): Likewise.
31010 (ctanh_test_towardzero): Likewise.
31011 (ctanh_test_downward): Likewise.
31012 (ctanh_test_upward): Likewise.
31013 (main): Call these new functions.
31014 * sysdeps/i386/fpu/libm-test-ulps: Update.
31015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31016
ca48a46a
MF
310172012-07-03 Mike Frysinger <vapier@gentoo.org>
31018
31019 * .gitignore: Delete /ports entry.
31020
9d63d37d
AJ
310212012-07-03 Andreas Jaeger <aj@suse.de>
31022
31023 * po/bg.po: Update from translation team.
31024 * po/cs.po: Likewise.
31025 * po/de.po: Likewise.
31026 * po/hr.po: Likewise.
31027 * po/nl.pl: Likewise.
31028 * po/pl.po: Likewise.
31029 * po/vi.po: Likewise.
31030
370ca3d2
JM
310312012-07-03 Joseph Myers <joseph@codesourcery.com>
31032
95f5a9a8
JM
31033 * Makeconfig [!+link] (+link-before-libc): New variable.
31034 [!+link] (+link-after-libc): Likewise.
31035 [!+link] (+link-tests): Likewise.
31036 [!+link] (+link): Define in terms of $(+link-before-libc) and
31037 $(+link-after-libc).
31038 [!+link-static] (+link-static-before-libc): New variable.
31039 [!+link-static] (+link-static-after-libc): Likewise.
31040 [!+link-static] (+link-static-tests): Likewise.
31041 [!+link-static] (+link-static): Define in terms of
31042 $(+link-static-before-libc) and $(+link-static-after-libc).
31043 [build-shared] (link-libc-before-gnulib): New variable.
31044 [build-shared] (link-libc-tests): Likewise.
31045 [build-shared] (link-libc): Define in terms of
31046 $(link-libc-before-gnulib).
31047 [!build-shared] (link-libc-tests): New variable.
31048 (link-libc-static-tests): New variable.
31049 [!gnulib] (gnulib-arch): New variable.
31050 [!gnulib] (gnulib-tests): Likewise.
31051 [!gnulib] (static-gnulib-arch): Likewise.
31052 [!gnulib] (static-gnulib-tests): Likewise.
31053 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31054 Define with "=" instead of ":=".
31055 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31056 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31057 * Rules (binaries-all-notests): New variable.
31058 (binaries-all-tests): Likewise.
31059 (binaries-static-notests): Likewise.
31060 (binaries-static-tests): Likewise.
31061 (binaries-all): Define using $(binaries-all-notests) and
31062 $(binaries-all-tests).
31063 (binaries-static): Define using $(binaries-static-notests) and
31064 $(binaries-static-tests).
31065 (binaries-shared-tests): New variable.
31066 (binaries-shared-notests): Likewise.
31067 (binaries-shared): Remove variable.
31068 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31069 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31070 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31071 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31072 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31073 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31074 * elf/Makefile (sln-modules): New variable.
31075 (extra-objs): Add $(sln-modules:=.o).
31076 (ldconfig-modules): Add static-stubs.
31077 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31078 * elf/static-stubs.c: New file.
31079
7a845b2c
JM
31080 [BZ #14283]
31081 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31082 by 7 not 8 to examine high bit of fractional part. Use volatile
31083 variables when splitting into final array of floats if
31084 __FLT_EVAL_METHOD__ != 0.
31085 * math/libm-test.inc (cos_test): Add another test.
31086 (sin_test): Likewise.
31087 * sysdeps/i386/fpu/libm-test-ulps: Update.
31088
e2283f38
JM
31089 [BZ #14273]
31090 * math/libm-test.inc (cosh_test): Add more tests.
31091
370ca3d2
JM
31092 * version.h (RELEASE): Set to "development".
31093 (VERSION): Set to "2.16.90".
31094
ee9247c3
CD
310952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31096
31097 * NEWS: Update copyright. Remove last-updated date.
31098 Mention math library bug fixes and timezone data changes.
31099 * README: Mention GNU/Hurd, x32, and HPPA support status.
31100
4648c381
TS
311012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31102
31103 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31104
aac78a43
AJ
311052012-06-27 Andreas Jaeger <aj@suse.de>
31106
31107 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31108
ed3dbfad
AJ
311092012-06-25 Andreas Jaeger <aj@suse.de>
31110
31111 * sysdeps/s390/fpu/libm-test-ulps: Update.
31112
4d0ee855
AS
311132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31114 Thomas Schwinge <thomas@codesourcery.com>
31115
31116 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31117 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31118 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31119 fanotify_mark.
31120
af1bce34
TS
311212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31122
a9fa33ba
TS
31123 * sysdeps/mach/start.c: Remove file.
31124 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31125 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31126 * sysdeps/sh/init-first.c: Likewise.
31127
58f902b8
TS
31128 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31129 registers for frame unwinding purposes, add CFI directives.
31130 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31131 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31132 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31133 Likewise.
31134
1518f58b
TS
31135 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31136 __fortify_fail returning.
31137 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31138
db9b5059
TS
31139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31140 sysdeps/sh/____longjmp_chk.S.
31141 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31142 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31143 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31144 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31145
967705fe
TS
31146 * sysdeps/sh/abort-instr.h: New file.
31147 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31148 process in case exit returns.
31149
a9def8c4
TS
31150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31151 initialize the GOT register before use.
31152
2a649725
TS
31153 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31154 calculation of ARGC > 4.
31155
af1bce34
TS
31156 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31157 meaningful names to some local labels.
31158
d230f50a
KK
311592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31160 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31161
31162 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31163 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31164 (__arch_compare_and_exchange_val_16_acq): Likewise.
31165 (__arch_compare_and_exchange_val_32_acq): Likewise.
31166 (atomic_exchange_and_add): Fix gUSA sequence.
31167 (atomic_add): Likewise.
31168 (atomic_add_negative): Likewise.
31169 (atomic_add_zero): Likewise.
31170 (atomic_bit_test_set): Likewise.
31171
0479b305
AS
311722012-06-22 Andreas Schwab <schwab@redhat.com>
31173
31174 [BZ #13579]
31175 * include/link.h (struct link_map): Add l_free_initfini.
31176 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31177 l_initfini.
31178 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31179 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31180 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31181 set.
31182
0e3933b9
CD
311832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31184
31185 * configure.in: Use AC_LANG_SOURCE.
31186 * configure: Regenerate.
31187
4248b1b1
RM
311882012-06-22 Roland McGrath <roland@hack.frob.com>
31189
31190 * configure.in (libc_cv_localstatedir): New substituted variable.
31191 * configure: Regenerated.
31192 * config.make.in (localstatedir): New variable, substituted from
31193 libc_cv_localstatedir.
31194 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31195 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31196 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31197 * sysdeps/gnu/configure: Regenerated.
31198
006dd861
JL
311992012-06-21 Jeff Law <law@redhat.com>
31200
31201 [BZ #14277]
31202 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31203 free. Simplify list management for _LIBC case.
31204
79662d42
JM
312052012-06-21 Joseph Myers <joseph@codesourcery.com>
31206
b7abb4bf
JM
31207 [BZ #14273]
31208 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31209 Clear sign bit of 64-bit integer value before comparing against
31210 overflow value.
31211
79662d42
JM
31212 * sysdeps/mach/configure: Regenerated.
31213
1f150908
L
312142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31215
31216 [BZ #14278]
31217 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31218
28363bbf
JL
312192012-06-21 Jeff Law <law@redhat.com>
31220
31221 [BZ #13882]
31222 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31223 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 31224 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
31225 * elf/dl-open.c (dl_open_worker): Likewise.
31226
09615db4
CD
312272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31228
31229 * scripts/list-sources.sh: Scan PORTS for translations.
31230 * po/libc.pot: Regenerated.
31231
2174c6dd
AJ
312322012-06-21 Andreas Jaeger <aj@suse.de>
31233
31234 [BZ #12194]
31235 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31236 warning.
31237 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31238 * bits/byteswap-16.h (__bswap_16): Likewise.
31239 * bits/byteswap.h (__bswap_constant_16): Likewise.
31240
3ee947b1
L
312412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31242
31243 [BZ #14117]
a2f34833
L
31244 * sysdeps/i386/fpu_control.h: Removed.
31245 * sysdeps/x86_64/fpu_control.h: Moved to ...
31246 * sysdeps/x86/fpu_control.h: Here.
31247
3ee947b1
L
31248 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31249 (_FPU_SETCW): Likewise.
31250
ed1825f8
L
312512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31252
25f1282a
L
31253 [BZ #14117]
31254 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31255 * sysdeps/x86/fpu/bits/mathinline.h: This.
31256 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31257
ed1825f8
L
31258 [BZ #14050]
31259 [BZ #14117]
31260 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31261 functions if __x86_64__ is defined.
31262
36d54b74
CLT
312632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31264
31265 * string/endian.h: Add !__ASSEMBLER__ condition for including
31266 conversion interfaces.
31267
10285c21
JM
312682012-06-15 Joseph Myers <joseph@codesourcery.com>
31269
31270 [BZ #14241]
31271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31272 of ABS(x) in calculating zero to negative powers other than odd
31273 integers.
31274 * math/libm-test.inc (pow_test): Add more tests.
31275
06c5abbd
AJ
312762012-06-15 Andreas Jaeger <aj@suse.de>
31277
31278 * manual/contrib.texi (Contributors): Update entry of Liubov
31279 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31280 Machado Filho.
31281
a3aeac40
CH
312822012-06-15 Cyril Hrubis <metan@ucw.cz>
31283
31284 * string/string.h: Add __wur to GNU version of strerror_r.
31285
49bdf4c1
L
312862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31287
31288 [BZ #14229]
31289 * string/Makefile (tests): Add tst-strtok_r.
31290 * string/tst-strtok_r.c: New file.
31291 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31292 RAX_LP/RDX_LP on SAVE_PTR.
31293
834f9b8d
RM
312942012-06-14 Roland McGrath <roland@hack.frob.com>
31295
31296 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31297
75fa1921
JM
312982012-06-14 Joseph Myers <joseph@codesourcery.com>
31299
31300 * libm_test.inc (csqrt_test): Allow more spurious underflow
31301 exceptions.
31302 (j0_test): Likewise.
31303 (j1_test): Likewise.
31304 (y0_test): Likewise.
31305 (y1_test): Likewise.
31306
771766df
CD
313072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31308
31309 * po/Makefile (libc.pot): Use UTF-8 charset.
31310
ceb9e56b
PP
313112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31312
31313 [BZ #14210]
31314 Suppress sign-conversion warning from FD_SET.
31315 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31316 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31317 not unsigned long int.
31318 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31319
ddb28975
L
313202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31321
31322 [BZ #14050]
31323 [BZ #14117]
31324 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31325 __extern_always_inline instead of __extern_inline.
31326 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31327 (__signbit): Likewise.
31328 (__signbitl): Support C++ namespace.
31329 (lrintf): New inline function.
31330 (lrint): Likewise.
31331 (llrintf): Likewise.
31332 (llrint): Likewise.
31333 (fmaxf): Likewise.
31334 (fmax): Likewise.
31335 (fminf): Likewise.
31336 (fmin): Likewise.
31337 (rint): Likewise.
31338 (rintf): Likewise.
31339 (ceil): Likewise.
31340 (ceilf): Likewise.
31341 (floor): Likewise.
31342 (floorf): Likewise.
31343 (nearbyint): Likewise.
31344 (nearbyintf): Likewise.
31345
d7b4fb26
TS
313462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31347
31348 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31349 non-default versions.
31350
eb55f5c2
RM
313512012-06-11 Roland McGrath <roland@hack.frob.com>
31352
31353 [BZ #14218]
31354 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31355
366af02c
TS
313562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31357
99ff6e5c
TS
31358 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31359 (FE_UPWARD, FE_DOWNWARD): Don't define.
31360 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31361 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31362
366af02c
TS
31363 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31364 reading it.
31365 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31366 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31367
793ea851
KK
313682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31369
31370 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31371 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31372 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31373 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31374
a728a38f
L
313752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31376
31377 [BZ #14117]
c08010c7
L
31378 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31379 * sysdeps/i386/fpu/Implies: New file.
31380 * sysdeps/x86_64/fpu/Implies: Likewise.
31381 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31382 * sysdeps/x86/fpu/bits/fenv.h: This.
31383
a728a38f
L
31384 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31385 __SSE_MATH__.
31386
6e230d11
SP
313872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31388
31389 [BZ #14134]
31390 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31391 character 0xffff that matches the last element of the
31392 conversion table.
31393
1b671feb
AZ
313942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31395
31396 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31397 fmodl commit.
31398
6043738b
AZ
313992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31400
31401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31402 values higher than 25.6283.
31403
34ae0b32
AZ
314042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31405
31406 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31407 subnormal exponent extraction and add some __builtin_expect.
31408 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31409 Fix for subnormal mantissa calculation.
31410
1214ec8f
MF
314112012-06-04 Mike Frysinger <vapier@gentoo.org>
31412
31413 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31414 cpu2 is -1 and errno is not ENOSYS.
31415
f3d1f93c
L
314162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31417
31418 [BZ #14117]
0e4a3cd7
L
31419 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31420 * sysdeps/x86/bits/string.h: This.
31421 * sysdeps/x86_64/bits/string.h: Removed.
31422
6704c645
L
31423 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31424 if not compiling for x86-64, but compiling for >= i486.
31425
48495318
L
31426 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31427 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31428
14adcbfc
L
31429 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31430 New macro from Linux kernel 3.4.0.
31431 (FP_XSTATE_MAGIC2): Likewise.
31432 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31433 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31434 (struct _fpx_sw_bytes): New struct.
31435 (struct _xsave_hdr): Likewise.
31436 (struct _ymmh_state): Likewise.
31437 (struct _xstate): Likewise.
31438
68e408ab
L
31439 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31440 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31441 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31442 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31443 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31444 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31445
f3d1f93c
L
31446 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31447 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31448 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31449 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31450 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31451 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31452
d9dc34cd
TMQMF
314532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31454
31455 [BZ #13743]
31456 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31457 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31458 (sysdep_headers): Include sys/platform/ppc.h.
31459 * sysdeps/powerpc/test-gettimebase.c: Test for
31460 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31461 * manual/Makefile (appendices): Include platform.texi.
31462 * manual/contrib.texi (Contributors): Update @node pointers.
31463 * manual/maint.texi (Maintenance): Likewise.
31464 (Platform): New node.
31465 * manual/platform.texi: New file. Document the new features.
31466
4af3879c
SP
314672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31468 Jakub Jelinek <jakub@redhat.com>
31469
31470 [BZ #14188]
31471 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31472 where __builtin_expect is unavailable.
31473
2fd6ff13
DM
314742012-06-03 David S. Miller <davem@davemloft.net>
31475
31476 * stdlib/longlong.h: Updated from GCC.
31477
173f7220
AS
314782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31479
31480 [BZ #14042]
31481 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31482 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31483 __mcount_internal.
31484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31485 (GLIBC_2.16): Likewise.
31486
f34a1c6f
L
314872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31488
31489 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31490
88a4576f
JM
314912012-06-01 Joseph Myers <joseph@codesourcery.com>
31492
ea32bcdd
JM
31493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31494 (default-abi): New variable.
31495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31496 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31497 variable.
31498 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31499 Likewise.
31500 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31501 Likewise.
31502 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31503 Likewise.
31504
88a4576f
JM
31505 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31506 definition. Document in comment.
31507
402fe938
DM
315082012-06-01 David S. Miller <davem@davemloft.net>
31509
31510 * stdlib/longlong.h: Updated from GCC.
31511
3553723f
L
315122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31513
31514 [BZ #14117]
3bd872c4
L
31515 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31516 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31517 sys/debugreg.h sys/io.h here.
31518 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31519 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31520 sys/io.h.
31521 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31522 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31523 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31524 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31525 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31526 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31527
3553723f
L
31528 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31529 Define only if __x86_64__ is defined.
31530
4842e4fe
JM
315312012-06-01 Joseph Myers <joseph@codesourcery.com>
31532
c5bfe3d5
JM
31533 [BZ #14048]
31534 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31535 Use int64_t for variable i.
31536 * math/libm-test.inc (fmod_test): Add more tests.
31537
4842e4fe
JM
31538 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31539 z computation is not scheduled after fetestexcept.
31540 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31541 Use math_force_eval instead of asm to ensure calculation scheduled
31542 before exception test.
31543 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31544 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31545
efb73488
AJ
315462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31547
31548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31549 computation is not scheduled after fetestexcept.
31550
29bcce7c
L
315512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31552
31553 [BZ #14117]
31554 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31555 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31556
73a68f94
AZ
315572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31558
31559 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31560 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31561
67b6df78
L
315622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31563
edf2933a 31564 [BZ #14117]
ebc64a18
L
31565 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31566 <bits/wordsize.h>.
31567 (__WCHAR_MIN): Support __WORDSIZE == 64.
31568 (__WCHAR_MAX): Likewise.
31569
edf2933a
L
31570 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31571 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31572
57c6cf40
L
31573 [BZ #14183]
31574 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31575 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31576
67b6df78 31577 [BZ #14117]
8eb6281e
L
31578 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31579 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31580
aac639f4
L
31581 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31582 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31583
67b6df78
L
31584 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31585 Defined to 1 if __x86_64__ isn't defined.
31586 (_STAT_VER_LINUX_OLD): New.
31587 (st_atime): Remove duplicate.
31588 (st_mtime): Likewise.
31589 (st_ctime): Likewise.
31590
1c2cfe81
DM
315912012-05-31 David S. Miller <davem@davemloft.net>
31592
31593 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31594 entries.
31595
5be8418c
AS
315962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31597
e7725326
AS
31598 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31599 gen-libm-test.pl.
31600
5be8418c
AS
31601 [BZ #14132]
31602 * elf/dl-reloc.c: Include <_itoa.h>.
31603 (_dl_reloc_bad_type): Remove use of INTUSE.
31604 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31605 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31606 * stdio-common/psiginfo.c (psiginfo): Likewise.
31607 * stdio-common/psignal.c (psignal): Likewise.
31608 * string/strsignal.c (strsignal): Likewise.
31609 * include/signal.h (_sys_siglist): Declare hidden proto.
31610 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31611 INTVARDEF with libc_hidden_data_def.
31612 * stdio-common/itoa-udigits.c: Likewise.
31613 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31614 (_itoa_lower_digits_internal): Remove declaration.
31615 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31616 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31617 (_sys_sigabbrev_internal): Remove aliases.
31618 (_sys_siglist): Define hidden alias.
31619
507352f1
MT
316202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31621
31622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31623 bits/sysctl.h.
31624
42bbb1c3
L
316252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31626
31627 [BZ #14117]
6bd784b6
L
31628 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31629 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31630
8bca20f0
L
31631 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31632 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31633 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31634 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31635 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31636 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31637
f9e890a9
L
31638 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31639 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31640 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31641
471101a1
L
31642 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31643 with __addr.
31644 (insw): Likewise.
31645 (insl): Likewise.
31646 (outsb): Likewise.
31647 (outsw): Likewise.
31648 (outsl): Likewise.
31649
6451c862
L
31650 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31651 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31652 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31653
a254b8c9
L
31654 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31655 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31656 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31657 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31658 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31659 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31660
b8dfdd92
L
31661 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31662 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31663
578cd270
L
31664 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31665 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31666
de662f5f
L
31667 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31669 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31670
25653439
L
31671 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31672 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31673 to ...
31674 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31675
6bad24a0
L
31676 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31677 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31678 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31679
42bbb1c3
L
31680 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31681 for x86-64.
31682 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31683
2d10d547
JM
316842012-05-31 Joseph Myers <joseph@codesourcery.com>
31685
31686 * math/math.h (M_El): Use two more decimal places.
31687 (M_LOG2El): Likewise.
31688 (M_LOG10El): Likewise.
31689 (M_LN2l): Likewise.
31690 (M_LN10l): Likewise.
31691 (M_PIl): Likewise.
31692 (M_PI_2l): Likewise.
31693 (M_PI_4l): Likewise.
31694 (M_1_PIl): Likewise.
31695 (M_2_PIl): Likewise.
31696 (M_2_SQRTPIl): Likewise.
31697 (M_SQRT2l): Likewise.
31698 (M_SQRT1_2l): Likewise.
31699
f230c29b
DM
317002012-05-31 David S. Miller <davem@davemloft.net>
31701
31702 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31703 values between float registers.
31704 * sysdeps/sparc/sparc64/memset.S: Likewise.
31705 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31706
fed806c3
MF
317072012-05-31 Mike Frysinger <vapier@gentoo.org>
31708
31709 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31710 -D_FORTIFY_SOURCE=1.
31711 (CPPFLAGS-tst-longjmp_chk.c): Define.
31712 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31713 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31714 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31715 CFLAGS-tst-wchar-h.c.
31716
30917259
MP
317172012-05-31 Marek Polacek <polacek@redhat.com>
31718
31719 [BZ #14132]
31720 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31721 __endmntent_internal): Remove declaration.
31722 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31723 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31724 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31725
1c58d5dc
DM
317262012-05-30 David S. Miller <davem@davemloft.net>
31727
31728 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31729 (___Q_simulate_exceptions): Use real FP ops rather than writing
31730 into the %fsr.
31731 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31732 Likewise.
31733
7dc00e0d
L
317342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31735
31736 [BZ #14117]
0bd53985
L
31737 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31738 * sysdeps/x86/bits/xtitypes.h: This.
31739
3a257e66
L
31740 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31741 * sysdeps/x86/bits/wordsize.h: This.
31742
62f62904
L
31743 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31744 * sysdeps/x86/bits/huge_vall.h: This.
31745
404fe9d9
L
31746 * sysdeps/i386/bits/select.h: Removed.
31747 * sysdeps/x86_64/bits/select.h: Renamed to ...
31748 * sysdeps/x86/bits/select.h: This.
31749
d48d0446
L
31750 * sysdeps/i386/bits/setjmp.h: Removed.
31751 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31752 * sysdeps/x86/bits/setjmp.h: This.
31753
7dc00e0d
L
31754 * sysdeps/i386/bits/mathdef.h: Removed.
31755 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31756 * sysdeps/x86/bits/mathdef.h: This.
31757
03277f8f
AS
317582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31759
31760 [BZ #14132]
31761 * include/sys/socket.h (__connect_internal)
31762 (__libc_sa_len_internal): Remove declaration.
31763 (__connect, __libc_sa_len): Declare hidden_proto.
31764 (SA_LEN): Remove use of INTUSE.
31765 * socket/connect.c: Add libc_hidden_def.
31766 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31767 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31768 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31769 alias.
31770 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31771 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31772 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31773 of adding _internal alias.
31774
13764867
L
317752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31776
31777 [BZ #14117]
6bd97696
L
31778 * sysdeps/i386/bits/link.h: Removed.
31779 * sysdeps/i386/bits/linkmap.h: Likewise.
31780 * sysdeps/x86_64/bits/link.h: Renamed to ...
31781 * sysdeps/x86/bits/link.h: This.
31782 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31783 * sysdeps/x86/bits/linkmap.h: This.
31784
f726f0bb
L
31785 * sysdeps/i386/bits/endian.h: Removed.
31786 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31787 * sysdeps/x86/bits/endian.h: This.
31788
13764867
L
31789 * sysdeps/i386/bits/byteswap.h: Removed.
31790 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31791 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31792 * sysdeps/x86/bits/byteswap.h: This.
31793 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31794 * sysdeps/x86/bits/byteswap-16.h: This.
31795 * sysdeps/i386/Implies: Add x86.
31796 * sysdeps/x86_64/Implies: Likewise.
31797
ae251b0b
DM
317982012-05-30 David S. Miller <davem@davemloft.net>
31799
31800 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31801 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31802 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31803 (FP_TRAPPING_EXCEPTIONS): Define.
31804 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31805 (FP_TRAPPING_EXCEPTIONS): Define.
31806 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31807 subnormals only when inexact has been signalled or underflow
31808 exceptions are enabled.
31809 (_FP_PACK_CANONICAL): Likewise.
31810
d5c90867
L
318112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31812
31813 [BZ #14183]
31814 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31815 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31816
63f1549e
RH
318172012-05-30 Richard Henderson <rth@twiddle.net>
31818
8d8f2279
RH
31819 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31820 with #ifndef NOT_IN_libc.
31821
63f1549e
RH
31822 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31823 marked to avoid plt entry.
31824
0ab0291b
L
318252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31826
31827 [BZ #14112]
31828 * Makeconfig (default-abi): New macro.
31829 (abi-includes): Likewise.
31830 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31831 $(abi-$(default-abi)-lib-soname) for soname if defined.
31832 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31833 abi-variants.
31834 * Makefile (installed-stubs): Likewise.
31835 * include/stubs-biarch.h: Removed.
31836 * scripts/lib-names.awk: Only handle one library at a time.
31837 * scripts/soversions.awk: Remove WORDSIZE support.
31838 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31839 entries.
31840 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31841 Removed.
31842 (syscall-list-default-condition): Likewise.
31843 (syscall-list-default-condition): Likewise.
31844 (syscall-list-includes): Likewise.
31845 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31846 syscall-list-* with abi-*. Handle undefined abi-variants.
31847 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31848 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31849 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31850 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31851 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31852 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31853 Removed.
31854 (syscall-list-32-options): Likewise.
31855 (syscall-list-32-condition): Likewise.
31856 (syscall-list-64-options): Likewise.
31857 (syscall-list-64-condition): Likewise.
31858 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31859 macro.
31860 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31861 Renamed to ...
31862 (abi-*): This.
31863 (abi-64-ld-soname): New macro.
31864 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31865 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31866 Renamed to ...
31867 (abi-*): This.
31868 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31869 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31870
4da0431d
JM
318712012-05-30 Joseph Myers <joseph@codesourcery.com>
31872
3a85279c
JM
31873 * sysdeps/unix/sysv/linux/kernel-features.h
31874 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31875 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31876 include <kernel-features.h>.
31877 [!__NR_ftruncate64]: Remove conditional code.
31878 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31879 [__NR_ftruncate64]: Make code unconditional.
31880 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31881 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31882 include <kernel-features.h>.
31883 [!__NR_ftruncate64]: Remove conditional code.
31884 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31885 [__NR_ftruncate64]: Make code unconditional.
31886 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31888 include <kernel-features.h>.
31889 [!__NR_ftruncate64]: Remove conditional code.
31890 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31891 [__NR_ftruncate64]: Make code unconditional.
31892 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31894 include <kernel-features.h>.
31895 [!__NR_ftruncate64]: Remove conditional code.
31896 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31897 [__NR_ftruncate64]: Make code unconditional.
31898 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31899
4da0431d
JM
31900 * configure.in (libc_cv_fpie): Weaken to a compile test using
31901 LIBC_TRY_CC_OPTION.
31902 * configure: Regenerated.
31903
11ef492c
AK
319042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31905
31906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31910 Refreshed.
31911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31917 Refreshed.
31918
d66ef399
DM
319192012-05-27 David S. Miller <davem@davemloft.net>
31920
31921 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31922 (___Q_zero): New.
31923 (__Q_simulate_exceptions): Return void. Change to simulate
31924 exceptions by writing into the %fsr.
31925 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31926 (__Qp_handle_exceptions): Likewise.
31927 (numbers): Delete.
31928 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31929 __Qp_handle_exceptions.
31930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31931 __Qp_handle_exceptions.
31932 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31933 as unused and give dummy FP_RND_NEAREST initializer.
31934 (FP_INHIBIT_RESULTS): Define.
31935 (___Q_simulate_exceptions): Update declaration.
31936 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31937 formatting.
31938 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31939 as unused and give dummy FP_RND_NEAREST initializer.
31940 (__Qp_handle_exceptions): Update declaration.
31941 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31942 formatting.
31943
04fb54b5
TS
319442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31945
31946 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31947 the temporary FPU control word.
31948 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31949 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31950 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31951 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31952 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31953 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31954 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31955 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31956 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31957 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31958 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31959
3f99608f
KK
319602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31961
31962 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31963 fields.
31964
65a4de4e
CLT
319652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31966
31967 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31968 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31969 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31970 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31971 Likewise.
31972 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31973 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31974 Likewise.
31975
15749d40
UD
319762012-05-27 Ulrich Drepper <drepper@gmail.com>
31977
31978 * po/h.po: Update from translation team.
31979
25dbcb27
AS
319802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31981
3d3f8e55
AS
31982 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31983
25dbcb27
AS
31984 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31985 handling of denormals.
31986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31987 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31988 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31989 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31990 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31993 Likewise.
31994
7ad47a80 319952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
31996
31997 [BZ #14152]
31998 * math/libm-test.inc (fma_test): Don't always expect underflow
31999 exception.
32000
9c6ea9fa
SP
320012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32002
32003 [BZ #12416]
32004 * elf/tst-execstack.c: Include stackinfo.h.
32005 (do_test): Adjust test case to ensure that pthread_getattr_np
32006 behaviour remains the same after marking stack executable.
32007
a8239222
JM
320082012-05-25 Joseph Myers <joseph@codesourcery.com>
32009
32010 * sysdeps/unix/sysv/linux/kernel-features.h
32011 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32012 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32013 kernel-features.h.
32014 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32015 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32016 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32017 kernel-features.h.
32018 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32019 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32020
918b5606
L
320212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32022
32023 * configure.in: Define the default includes to being none.
32024 * configure: Regenerated.
32025
3a097cc7
RM
320262012-05-25 Roland McGrath <roland@hack.frob.com>
32027
8422c9a5
RM
32028 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32029 * sysdeps/x86_64/setjmp.S: Likewise.
32030 * sysdeps/i386/bsd-setjmp.S: Likewise.
32031 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32032 * sysdeps/i386/setjmp.S: Likewise.
32033 * sysdeps/i386/__longjmp.S: Likewise.
32034 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32035 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32036
3a097cc7
RM
32037 * include/stap-probe.h: New file.
32038 * configure.in: Handle --enable-systemtap.
32039 * configure: Regenerated.
32040 * config.h.in (USE_STAP_PROBE): New #undef.
32041 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32042 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32043 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32044
21708942
JM
320452012-05-25 Joseph Myers <joseph@codesourcery.com>
32046
32047 [BZ #13717]
32048 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32049 to 2.4.0 where earlier.
32050 * sysdeps/unix/sysv/linux/configure: Regenerated.
32051 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32052 <kernel-features.h>.
32053 [__ASSUME_32BITUIDS]: Make code unconditional.
32054 [!__ASSUME_32BITUIDS]: Remove conditional code.
32055 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32056 <kernel-features.h>.
32057 [__ASSUME_32BITUIDS]: Make code unconditional.
32058 [!__ASSUME_32BITUIDS]: Remove conditional code.
32059 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32060 [__ASSUME_32BITUIDS]: Make code unconditional.
32061 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32062 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32063 <kernel-features.h>.
32064 [__ASSUME_32BITUIDS]: Make code unconditional.
32065 [!__ASSUME_32BITUIDS]: Remove conditional code.
32066 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32067 <kernel-features.h>.
32068 [__ASSUME_32BITUIDS]: Make code unconditional.
32069 [!__ASSUME_32BITUIDS]: Remove conditional code.
32070 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32071 <kernel-features.h>.
32072 [__ASSUME_32BITUIDS]: Make code unconditional.
32073 [!__ASSUME_32BITUIDS]: Remove conditional code.
32074 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32075 <kernel-features.h>.
32076 [__ASSUME_32BITUIDS]: Make code unconditional.
32077 [!__ASSUME_32BITUIDS]: Remove conditional code.
32078 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32079 <kernel-features.h>.
32080 [__ASSUME_32BITUIDS]: Make code unconditional.
32081 [!__ASSUME_32BITUIDS]: Remove conditional code.
32082 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32083 <kernel-features.h>.
32084 [__ASSUME_32BITUIDS]: Make code unconditional.
32085 [!__ASSUME_32BITUIDS]: Remove conditional code.
32086 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32087 <kernel-features.h>.
32088 [__ASSUME_32BITUIDS]: Make code unconditional.
32089 [!__ASSUME_32BITUIDS]: Remove conditional code.
32090 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32091 <kernel-features.h>.
32092 [__ASSUME_32BITUIDS]: Make code unconditional.
32093 [!__ASSUME_32BITUIDS]: Remove conditional code.
32094 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32095 <kernel-features.h>.
32096 [__ASSUME_32BITUIDS]: Make code unconditional.
32097 [!__ASSUME_32BITUIDS]: Remove conditional code.
32098 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32099 <kernel-features.h>.
32100 [__ASSUME_32BITUIDS]: Make code unconditional.
32101 [!__ASSUME_32BITUIDS]: Remove conditional code.
32102 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32103 <kernel-features.h>.
32104 [__NR_setresgid] (__setresgid): Do not declare.
32105 [__ASSUME_32BITUIDS]: Make code unconditional.
32106 [!__ASSUME_32BITUIDS]: Remove conditional code.
32107 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32108 <kernel-features.h>.
32109 [__NR_setresuid] (__setresuid): Do not declare.
32110 [__ASSUME_32BITUIDS]: Make code unconditional.
32111 [!__ASSUME_32BITUIDS]: Remove conditional code.
32112 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32113 <kernel-features.h>.
32114 [__ASSUME_32BITUIDS]: Make code unconditional.
32115 [!__ASSUME_32BITUIDS]: Remove conditional code.
32116 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32117 <kernel-features.h>.
32118 [__ASSUME_32BITUIDS]: Make code unconditional.
32119 [!__ASSUME_32BITUIDS]: Remove conditional code.
32120 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32121 <kernel-features.h>.
32122 [__ASSUME_32BITUIDS]: Make code unconditional.
32123 [!__ASSUME_32BITUIDS]: Remove conditional code.
32124 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32125 <kernel-features.h>.
32126 [__ASSUME_32BITUIDS]: Make code unconditional.
32127 [!__ASSUME_32BITUIDS]: Remove conditional code.
32128 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32129 <kernel-features.h>.
32130 [__ASSUME_32BITUIDS]: Make code unconditional.
32131 [!__ASSUME_32BITUIDS]: Remove conditional code.
32132 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32133 <kernel-features.h>.
32134 [__ASSUME_32BITUIDS]: Make code unconditional.
32135 [!__ASSUME_32BITUIDS]: Remove conditional code.
32136 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32137 <kernel-features.h>.
32138 [__ASSUME_32BITUIDS]: Make code unconditional.
32139 [!__ASSUME_32BITUIDS]: Remove conditional code.
32140 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32141 <kernel-features.h>.
32142 [__ASSUME_32BITUIDS]: Make code unconditional.
32143 [!__ASSUME_32BITUIDS]: Remove conditional code.
32144 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32145 <kernel-features.h>.
32146 [__ASSUME_32BITUIDS]: Make code unconditional.
32147 [!__ASSUME_32BITUIDS]: Remove conditional code.
32148 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32149 <kernel-features.h>.
32150 [__ASSUME_32BITUIDS]: Make code unconditional.
32151 [!__ASSUME_32BITUIDS]: Remove conditional code.
32152 * sysdeps/unix/sysv/linux/kernel-features.h
32153 (__ASSUME_SETRESUID_SYSCALL): Remove.
32154 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32155 (__ASSUME_32BITUIDS): Likewise.
32156 (__ASSUME_LDT_WORKS): Likewise.
32157 (__ASSUME_O_DIRECTORY): Likewise.
32158 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32159 architecture but not kernel version.
32160 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32161 (__ASSUME_MMAP2_SYSCALL): Likewise.
32162 (__ASSUME_STAT64_SYSCALL): Likewise.
32163 (__ASSUME_IPC64): Likewise.
32164 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32165 <kernel-features.h>.
32166 [__ASSUME_32BITUIDS]: Make code unconditional.
32167 [!__ASSUME_32BITUIDS]: Remove conditional code.
32168 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32169 <kernel-features.h>.
32170 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32171 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32172 132096]: Remove conditional code.
32173 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32174 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32175 <kernel-features.h>.
32176 [__ASSUME_32BITUIDS]: Make code unconditional.
32177 [!__ASSUME_32BITUIDS]: Remove conditional code.
32178 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32179 <kernel-features.h>.
32180 [__ASSUME_32BITUIDS]: Make code unconditional.
32181 [!__ASSUME_32BITUIDS]: Remove conditional code.
32182 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32183 <kernel-features.h>.
32184 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32185 unconditional.
32186 (__setresgid): Do not declare.
32187 [__ASSUME_32BITUIDS]: Make code unconditional.
32188 [!__ASSUME_32BITUIDS]: Remove conditional code.
32189 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32190 <kernel-features.h>.
32191 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32192 unconditional.
32193 (__setresuid): Do not declare.
32194 [__ASSUME_32BITUIDS]: Make code unconditional.
32195 [!__ASSUME_32BITUIDS]: Remove conditional code.
32196 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32197 <kernel-features.h>.
32198 [__ASSUME_32BITUIDS]: Make code unconditional.
32199 [!__ASSUME_32BITUIDS]: Remove conditional code.
32200 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32201 <kernel-features.h>.
32202 [__ASSUME_32BITUIDS]: Make code unconditional.
32203 [!__ASSUME_32BITUIDS]: Remove conditional code.
32204
a386f1cc
RH
322052012-05-25 Richard Henderson <rth@twiddle.net>
32206
32207 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32208 dl_hwcap to ifunc resolver.
32209 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32210 elf_ifunc_invoke.
32211 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32212 dl_hwcap to ifunc resolver.
32213 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32214
b6550497
JM
322152012-05-24 Joseph Myers <joseph@codesourcery.com>
32216
32217 [BZ #14153]
32218 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32219 for |x| <= 2**-26, not 2**-57.
32220 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32221 exception.
32222
b0bc23a1
JL
322232012-05-24 Jeff Law <law@redhat.com>
32224
32225 * stdio-common/Makefile (tests): Add bug25.
32226 * stdio-common/bug25.c: New test.
32227
347c92e9
L
322282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32229
32230 [BZ #13576]
32231 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32232 multiple of MALLOC_ALIGNMENT in size.
32233 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32234
6bcc8b3f
JM
322352012-05-24 Joseph Myers <joseph@codesourcery.com>
32236
32237 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32238 Require >= 256.
32239 (FILENAME_MAX): Use macro-int-constant.
32240 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32241 (_IOFBF): Use macro-int-constant.
32242 (_IOLBF): Likewise.
32243 (_IONBF): Likewise.
32244 (SEEK_CUR): Likewise.
32245 (SEEK_END): Likewise.
32246 (SEEK_SET): Likewise.
32247 (TMP_MAX): Likewise.
32248 (EOF): Use macro-int-constant. Require < 0.
32249 (NULL): Use macro-constant. Require == 0.
32250 (stdin): Require type to be FILE *.
32251 (stdout): Likewise.
32252 (stderr): Likewise.
32253 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32254 macro-int-constant.
32255 (EXIT_SUCCESS): Likewise.
32256 (NULL): Use macro-constant. Require == 0.
32257 (RAND_MAX): Use macro-int-constant.
32258 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32259 [C99-based standards] (strtof): Require function.
32260 [C99-based standards] (strtold): Likewise.
32261 [C99-based standards] (strtoll): Likewise.
32262 [C99-based standards] (strtoull): Likewise.
32263 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32264 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32265 [ISO || ISO99 || ISO11] (math.h): Likewise.
32266 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32267 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32269
d18ea0c5
AS
322702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32271
32272 [BZ #14132]
56d25bb8
AS
32273 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32274 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32275 * intl/dgettext.c (DCGETTEXT): Likewise.
32276 * intl/gettext.c (DCGETTEXT): Likewise.
32277 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32278 * posix/regex_internal.h (gettext): Likewise.
32279 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32280 Remove declaration.
32281 * include/argz.h (__argz_count_internal)
32282 (__argz_stringify_internal): Remove declaration.
32283 (__argz_count, __argz_stringify): Declare hidden proto.
32284 * intl/dcgettext.c: Remove use of INTDEF.
32285 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32286 * string/argz-stringify.c: Likewise.
32287 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32288 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32289 Declare hidden proto.
d18ea0c5
AS
32290 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32291 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32292 Declare hidden proto.
32293 * include/stdio.h (__asprintf_internal): Don't declare.
32294 (__asprintf): Don't define as macro. Declare hidden proto.
32295 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32296 (__fsetlocking): Declare hidden proto.
32297 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32298 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32299 hidden proto.
32300 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32301 (_IO_setlinebuf): Remove use of INTUSE.
32302 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32303 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32304 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32305 Remove declaration.
32306 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32307 (_IO_do_flush): Remove use of INTUSE.
32308 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32309 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32310 (_IO_adjust_column, _IO_least_wmarker)
32311 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32312 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32313 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32314 (_IO_default_doallocate, _IO_wdefault_doallocate)
32315 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32316 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32317 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32318 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32319 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32320 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32321 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32322 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32323 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32324 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32325 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32326 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32327 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32328 proto.
32329 (_IO_flush_all_internal, _IO_adjust_column_internal)
32330 (_IO_default_uflow_internal, _IO_default_finish_internal)
32331 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32332 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32333 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32334 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32335 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32336 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32337 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32338 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32339 (_IO_file_close_internal, _IO_file_close_it_internal)
32340 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32341 (_IO_file_init_internal, _IO_file_attach_internal)
32342 (_IO_file_fopen_internal, _IO_file_read_internal)
32343 (_IO_file_sync_internal, _IO_file_seek_internal)
32344 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32345 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32346 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32347 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32348 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32349 (_IO_list_all_internal, _IO_link_in_internal)
32350 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32351 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32352 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32353 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32354 (_IO_do_write_internal, _IO_padn_internal)
32355 (_IO_getline_info_internal, _IO_getline_internal)
32356 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32357 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32358 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32359 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32360 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32361 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32362 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32363 with libc_hidden_ver, remove use of INTUSE.
32364 * libio/genops.c: Likewise.
32365 * libio/freopen.c: Likewise.
32366 * libio/freopen64.c: Likewise.
32367 * libio/iofclose.c: Likewise.
32368 * libio/iofdopen.c: Likewise.
32369 * libio/iofflush.c: Likewise.
32370 * libio/iofflush_u.c: Likewise.
32371 * libio/iofgets.c: Likewise.
32372 * libio/iofgets_u.c: Likewise.
32373 * libio/iofopen.c: Likewise.
32374 * libio/iofopncook.c: Likewise.
32375 * libio/iofread.c: Likewise.
32376 * libio/iofread_u.c: Likewise.
32377 * libio/ioftell.c: Likewise.
32378 * libio/iofwrite.c: Likewise.
32379 * libio/iogetline.c: Likewise.
32380 * libio/iogets.c: Likewise.
32381 * libio/iogetwline.c: Likewise.
32382 * libio/iopadn.c: Likewise.
32383 * libio/iopopen.c: Likewise.
32384 * libio/ioseekoff.c: Likewise.
32385 * libio/ioseekpos.c: Likewise.
32386 * libio/iosetbuffer.c: Likewise.
32387 * libio/iosetvbuf.c: Likewise.
32388 * libio/ioungetc.c: Likewise.
32389 * libio/ioungetwc.c: Likewise.
32390 * libio/iovdprintf.c: Likewise.
32391 * libio/iovsprintf.c: Likewise.
32392 * libio/iovsscanf.c: Likewise.
32393 * libio/memstream.c: Likewise.
32394 * libio/obprintf.c: Likewise.
32395 * libio/oldfileops.c: Likewise.
32396 * libio/oldiofclose.c: Likewise.
32397 * libio/oldiofdopen.c: Likewise.
32398 * libio/oldiofopen.c: Likewise.
32399 * libio/oldiopopen.c: Likewise.
32400 * libio/oldstdfiles.c: Likewise.
32401 * libio/putc.c: Likewise.
32402 * libio/setbuf.c: Likewise.
32403 * libio/setlinebuf.c: Likewise.
32404 * libio/stdfiles.c: Likewise.
32405 * libio/strops.c: Likewise.
32406 * libio/vasprintf.c: Likewise.
32407 * libio/vscanf.c: Likewise.
32408 * libio/vsnprintf.c: Likewise.
32409 * libio/vswprintf.c: Likewise.
32410 * libio/wfiledoalloc.c: Likewise.
32411 * libio/wfileops.c: Likewise.
32412 * libio/wgenops.c: Likewise.
32413 * libio/wmemstream.c: Likewise.
32414 * libio/wstrops.c: Likewise.
32415 * libio/__fpurge.c: Likewise.
32416 * libio/__fsetlocking.c: Likewise.
32417 * assert/assert.c: Likewise.
32418 * debug/fgets_chk.c: Likewise.
32419 * debug/fgets_u_chk.c: Likewise.
32420 * debug/fread_chk.c: Likewise.
32421 * debug/fread_u_chk.c: Likewise.
32422 * debug/gets_chk.c: Likewise.
32423 * debug/obprintf_chk.c: Likewise.
32424 * debug/vasprintf_chk.c: Likewise.
32425 * debug/vdprintf_chk.c: Likewise.
32426 * debug/vsnprintf_chk.c: Likewise.
32427 * debug/vsprintf_chk.c: Likewise.
32428 * malloc/mtrace.c: Likewise.
32429 * misc/error.c: Likewise.
32430 * misc/syslog.c: Likewise.
32431 * stdio-common/asprintf.c: Likewise.
32432 * stdio-common/fxprintf.c: Likewise.
32433 * stdio-common/getw.c: Likewise.
32434 * stdio-common/isoc99_fscanf.c: Likewise.
32435 * stdio-common/isoc99_scanf.c: Likewise.
32436 * stdio-common/isoc99_vfscanf.c: Likewise.
32437 * stdio-common/isoc99_vscanf.c: Likewise.
32438 * stdio-common/isoc99_vsscanf.c: Likewise.
32439 * stdio-common/printf-prs.c: Likewise.
32440 * stdio-common/printf_fp.c: Likewise.
32441 * stdio-common/printf_fphex.c: Likewise.
32442 * stdio-common/printf_size.c: Likewise.
32443 * stdio-common/putw.c: Likewise.
32444 * stdio-common/scanf.c: Likewise.
32445 * stdio-common/sprintf.c: Likewise.
32446 * stdio-common/tmpfile.c: Likewise.
32447 * stdio-common/vfprintf.c: Likewise.
32448 * stdio-common/vfscanf.c: Likewise.
32449 * stdlib/strfmon_l.c: Likewise.
32450 * sunrpc/openchild.c: Likewise.
32451 * sunrpc/xdr_stdio.c: Likewise.
32452 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32453 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32454
d6c33fda
RM
324552012-05-24 Roland McGrath <roland@hack.frob.com>
32456
c1487492
RM
32457 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32458
32459 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32460 in the third column, to generate for the shared library an IFUNC
32461 that uses _dl_vdso_vsym.
32462 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32463 * Makeconfig (object-suffixes-noshared): New variable.
32464
32465 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32466 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32467 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32468 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32469
d6c33fda
RM
32470 [BZ #14132]
32471 * include/sys/time.h (__gettimeofday): Remove macro.
32472 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32473 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32474 Remove INTDEF.
32475 (__gettimeofday): Add libc_hidden_def.
32476 (gettimeofday): Add libc_hidden_weak.
32477 * sysdeps/mach/gettimeofday.c: Likewise.
32478 * sysdeps/posix/gettimeofday.c: Likewise.
32479 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32480 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32482 (__gettimeofday_internal): Remove strong_alias.
32483 (__gettimeofday): Add libc_hidden_def.
32484 (gettimeofday): Add libc_hidden_weak.
32485 * sysdeps/unix/syscalls.list (gettimeofday):
32486 Remove __gettimeofday_internal alias.
32487
b5a2bbe6
L
324882012-05-24 Daniel Jacobowitz <drow@false.org>
32489 H.J. Lu <hongjiu.lu@intel.com>
32490
32491 [BZ #12495]
32492 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32493 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32494 (largebin_index_32_big): New.
32495 (largebin_index): Use it for 16-byte alignment.
32496 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32497 correction with front_misalign.
32498
cfba4fda
L
324992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32500
7f907421
L
32501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32503 Likewise.
32504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32505 Likewise.
32506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32507 Likewise.
32508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32509 Likewise.
32510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32511 Likewise.
32512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32513 Likewise.
32514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32515 Likewise.
32516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32517 Likewise.
32518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32519 Likewise.
32520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32521 Likewise.
32522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32523 Likewise.
32524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32525 Likewise.
32526
cfba4fda
L
32527 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32528 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32529
80bad0cc
JM
325302012-05-24 Joseph Myers <joseph@codesourcery.com>
32531
7a25eb06
JM
32532 [BZ #10846]
32533 [BZ #14036]
32534 * math/libm-test.inc (exp_test): Add test from bug 14036.
32535 (pow_test): Add test from bug 10846.
32536
795405f9
JM
32537 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32538 and other flags.
32539 (special_function): Do not include flags in test name.
32540 (parse_args): Likewise.
32541 * sysdeps/i386/fpu/libm-test-ulps: Update.
32542 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32543 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32544 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32546
80bad0cc
JM
32547 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32548 exceptions.
32549 * math/libm-test.inc ("Philosophy"): Update comment about
32550 exception testing.
32551 (UNDERFLOW_EXCEPTION): New macro.
32552 (UNDERFLOW_EXCEPTION_OK): Likewise.
32553 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32554 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32555 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32556 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32557 (INVALID_EXCEPTION_OK): Update value.
32558 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32559 (OVERFLOW_EXCEPTION_OK): Likewise.
32560 (IGNORE_ZERO_INF_SIGN): Likewise.
32561 (test_exceptions): Handle underflow exceptions.
32562 (acos_test): Update for underflow exception expectations.
32563 (cexp_test): Likewise.
32564 (clog_test): Likewise.
32565 (clog10_test): Likewise.
32566 (csqrt_test): Likewise.
32567 (ctan_test): Likewise.
32568 (ctanh_test): Likewise.
32569 (exp_test): Likewise.
32570 (exp10_test): Likewise.
32571 (exp2_test): Likewise.
32572 (expm1_test): Likewise.
32573 (fma_test): Likewise.
32574 (j0_test): Likewise.
32575 (jn_test): Likewise.
32576 (nexttoward_test): Likewise.
32577 (pow_test): Likewise.
32578 (scalbn_test): Likewise.
32579 (scalbln_test): Likewise.
32580 (tan_test): Likewise.
32581 (y1_test): Likewise.
32582 * sysdeps/i386/fpu/libm-test-ulps: Update.
32583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32584
9e0e3d0b
DM
325852012-05-23 David S. Miller <davem@davemloft.net>
32586
32587 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32588 (__libc_sigaction): Remove unused local variables.
32589
ccd0a08f
L
325902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32591
32592 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32593
62bdf9a6
PE
325942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32595
f8591f80
PE
32596 mktime: avoid signed integer overflow
32597 * time/mktime.c (__mktime_internal): Do not mishandle the case
32598 where diff == INT_MIN.
32599
94c7d826
PE
32600 mktime: simplify computation of average
32601 * time/mktime.c (ranged_convert): Use new time_t_avg function
32602 instead of rolling our own (probably-slower) code.
32603
ce73d683
PE
32604 mktime: do not assume signed right shift propagates sign bit
32605 * time/mktime.c (isdst_differ): New static function.
32606 (__mktime_internal): No need to normalize tm_isdst now.
32607 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32608 tm_isdst values.
32609
72a22e59
PE
32610 mktime: merge another wrapv change from gnulib
32611 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32612 from some compilers.
32613
68605433
PE
32614 mktime: remove incorrect attempt at unusual arithmetics
32615 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32616 The code didn't really work on such machines anyway.
32617 (TYPE_MINIMUM): Assume two's complement.
32618 (twos_complement_arithmetic): Verify that long_int and time_t
32619 are two's complement (or unsigned, in the latter case).
32620
03cf7fe3
PE
32621 mktime: check signed shifts on long_int and time_t, too
32622 * time/mktime.c (SHR): Check that shifts work as desired
32623 on the types long_int and time_t too, as SHR is used on
32624 such types.
32625
f04dfbc2
PE
32626 mktime: do not assume 'long' is wide enough
32627 * time/mktime.c (verify): Move decl up.
32628 (long_int): New type.
32629 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32630 to remove assumption in the code that 'long' is wide enough to
32631 store year values. This assumption is not true on x32 and on
32632 some non-glibc platforms.
32633
62bdf9a6
PE
32634 mktime: merge wrapv change from gnulib
32635 * time/mktime.c (WRAPV): New macro.
32636 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32637 (guess_time_tm, __mktime_internal): Do not assume that signed
32638 integer overflow wraps around; modern compilers generate code
32639 where this assumption is no longer valid.
32640
5e292e4f
L
326412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32642
32643 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32644 Replace "jmp L(pseudo_end)" with "ret".
32645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32646 Likewise.
32647
8caf8c87
AJ
326482012-05-23 Andreas Jaeger <aj@suse.de>
32649
32650 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32651 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32652
1a09dc56
AJ
326532012-05-23 Andreas Jaeger <aj@suse.de>
32654 Maximilian Attems <max@stro.at>
32655
32656 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32657 New macros.
32658
1c87aba0
L
326592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32660
32661 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32662 code so that pseudo_end is just ret and the stack pointer is
32663 correct also for static library in error case.
32664
40e45bd5
JM
326652012-05-23 Joseph Myers <joseph@codesourcery.com>
32666
c2670533
JM
32667 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32668 move to syscalls.list.
32669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32673
40e45bd5
JM
32674 * manual/install.texi (Running make install): Do not mention Linux
32675 kernel version for which pt_chown is not needed.
32676 (Linux): Do not mention problems with nscd with 2.0 kernels.
32677 * INSTALL: Regenerated.
32678
be08eda5
AJ
326792012-05-23 Andreas Jaeger <aj@suse.de>
32680
32681 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32682 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32683 macro.
32684 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32685 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32686 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32687 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32688 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32689 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32692 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32693 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32694 * sysdeps/unix/sysv/linux/bits/in.h
32695 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32696
a6a056bb
RM
326972012-05-22 Roland McGrath <roland@hack.frob.com>
32698
32699 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32700 (PREPARE_VERSION): Just use assert instead, it will be elided
32701 under [NDEBUG] anyway.
32702
c9009328
L
327032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32704
32705 * sysdeps/unix/sysv/linux/Makefile: Include
32706 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 32707 (sysdep_routines): Remove sysctl.
c9009328
L
32708 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32709 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32710 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32711 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32712 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32713
73338355
AJ
327142012-05-22 Andreas Jaeger <aj@suse.de>
32715
32716 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32717 that pseudo_end is just ret and the stack pointer is correct also
32718 for static library in error case.
32719
d44638b0
PP
327202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32721
32722 [BZ #14122]
32723 * nss/nsswitch.c (defconfig_entries): New variable.
32724 (__nss_database_lookup): Don't leak defconfig entries.
32725 (nss_parse_service_list): Don't leak on error paths.
32726 (free_database_entries): New function.
32727 (free_defconfig): New function.
32728 (free_mem): Move common code to free_database_entries.
32729
31a39bd8
L
327302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32731
da0331a8
L
32732 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32733 Add arch_prctl.
32734 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32735
31a39bd8
L
32736 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32737 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32739 New macro.
32740 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32741 (INTERNAL_SYSCALL_TYPES): Likewise.
32742 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32743 (LOAD_REGS_TYPES_[1-6]): Likewise.
32744 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32745 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32746
45470df3
AZ
327472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32748
32749 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32750 copysignl for GLIBC_2_0.
32751 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32752 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32754 logbl for GLIBC_2_0.
32755 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32756 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32757
98a61bcb
L
327582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32759
a4f6e481
L
32760 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32761 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32762
f63d5db6
L
32763 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32764 Use "neg %eax".
32765
98a61bcb
L
32766 * time/mktime.c: Update copyright years.
32767
95770f14
PE
327682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32769
6226efbd
PE
32770 mktime: merge comment-quoting-style change from gnulib
32771 * time/mktime.c: Quote 'like this' in comments.
32772 The GNU coding standards suggest that we no longer quote `like this',
32773 as "`" and "'" are typically rendered asymmetrically nowadays.
32774 The typical gnulib style is to quote 'like this' when quoting
32775 code, and "like this" when quoting English.
32776
b99e4f78
PE
32777 * time/mktime.c (compile-command): Add "-I.".
32778
643e01e6
PE
32779 mktime: merge mktime-internal.h change from gnulib
32780 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32781
2554247d
PE
32782 mktime: merge time_r change from gnulib
32783 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32784
826dd0ab
PE
32785 mktime: merge DEBUG change from gnulib
32786 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32787 case system <time.h> has a #define.
32788
bd83aabe
PE
32789 mktime: merge <sys/types.h> change from gnulib
32790 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32791 since <time.t> is now guaranteed to define time_t.
32792
95770f14
PE
32793 mktime: merge HAVE_CONFIG_H change from gnulib
32794 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32795
5e1a27a9
L
327962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32797
0e44a77e
L
32798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32799 Use "neg %eax".
32800
5e1a27a9
L
32801 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32802 __rlim_t cast.
32803 (struct rusage): Use anonymous union to pad each field to
32804 __syscall_slong_t.
32805
46259bec
DM
328062012-05-21 David S. Miller <davem@davemloft.net>
32807
32808 * Makefules (o-iterator): Remove .s cases.
32809 (compile-command.s): Delete.
32810 (COMPILE.s): Delete.
32811 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32812
59f0c22e
JM
328132012-05-21 Joseph Myers <joseph@codesourcery.com>
32814
32815 * configure.in (libc_cv_predef_stack_protector): Only consider
32816 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32817 * configure: Regenerated.
32818
20c07380
L
328192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32820
bbb3154b
L
32821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32822 New macro. Use R*LP on int and pointer.
32823 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
32824 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32825 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
32826 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32827
20c07380
L
32828 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32829 [__WORDSIZE_TIME64_COMPAT32] instead of
32830 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32831 (struct utmp): Likewise.
32832 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32833 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32834 Renamed to ...
32835 (__WORDSIZE_TIME64_COMPAT32): This.
32836 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32837 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32838 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32839 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32840 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32841 (__WORDSIZE_TIME64_COMPAT32): New macro.
32842
d8d1017e
AJ
328432012-05-21 Andreas Jaeger <aj@suse.de>
32844
32845 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32846 only if [SHARED]. Add prototype for __wcschr_ia32.
32847
6c7fb145
RM
328482012-05-21 Roland McGrath <roland@hack.frob.com>
32849
32850 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32851 of %rbp unmolested in the jmp_buf while mangling the low bits.
32852 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32853 unmolested high bits of %rbp while demangling the low bits.
32854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32855
66274218
AJ
328562012-05-21 Andreas Jaeger <aj@suse.de>
32857
07c58f8f
AJ
32858 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32859 * sunrpc/svc_simple.c: Use it for registerrpc.
32860 * sunrpc/xcrypt.c: Use it for passwd2des.
32861
66274218
AJ
32862 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32863
61f65140
L
328642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32865
32866 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32867 Don't define if [__SYSCALL_WORDSIZE != 32].
32868 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32869 New macro.
32870
5fefb436
AJ
328712012-05-21 Bruno Haible <bruno@clisp.org>
32872 Andreas Jaeger <aj@suse.de>
32873
32874 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32875 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32876 inptr and inend for must_buffer_ch.
32877 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32878 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32879 * stdio-common/Makefile (tests): Remove bug15.
32880 (bug15-ENV): Remove macro.
32881 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32882 anymore.
32883
d8e272ab
AJ
328842012-05-19 Andreas Jaeger <aj@suse.de>
32885 Roland McGrath <roland@hack.frob.com>
32886
32887 * manual/contrib.texi: Completely rewritten. It contains now an
32888 alphabetical list of contributors and their contributions.
32889
4a56a162
RH
328902012-05-21 Richard Henderson <rth@twiddle.net>
32891
32892 * misc/getauxval.c (__getauxval): Use unsigned long int.
32893 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32894 (getauxval): Use unsigned long int.
32895
d024d23c
L
328962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32897
32898 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32899
cbc00a03
RM
329002012-05-21 Roland McGrath <roland@hack.frob.com>
32901
32902 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32903 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32904 __alignof__ (long double).
32905
478143fa
AZ
329062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32907
32908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32909
c7683a6d
RH
329102012-05-20 Richard Henderson <rth@twiddle.net>
32911
32912 * misc/getauxval.c: New file.
32913 * misc/sys/auxv.h: New file.
32914 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32915 (routines): Add getauxval.
32916 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32917 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32918 * elf/dl-sysdep.c (_dl_auxv): Remove.
32919 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32920 * elf/dl-support.c (_dl_auxv): New variable.
32921 (_dl_aux_init): Initialize it.
32922 * manual/startup.texi (Auxiliary Vector): New node.
32923 * sysdeps/generic/bits/hwcap.h: New file.
32924 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32925 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32926 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32927 * sysdeps/sparc/sysdep.h: ... here. Include it.
32928 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
32930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32931 Update.
c7683a6d
RH
32932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32940
a6f1845d
AZ
329412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32942
32943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32944
cbcbe830
DM
329452012-05-19 David S. Miller <davem@davemloft.net>
32946
32947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32948
e0b16cc2
JM
329492012-05-19 Joseph Myers <joseph@codesourcery.com>
32950
32951 [BZ #14123]
32952 * math/s_ccosh.c: Include <float.h>
32953 (__ccosh): Avoid internal overflow calculating sinh and cosh
32954 values before multiplying by sin and cos values.
32955 * math/s_ccoshf.c: Likewise.
32956 * math/s_ccoshl.c: Likewise.
32957 * math/s_csin.c: Likewise.
32958 * math/s_csinf.c: Likewise.
32959 * math/s_csinl.c: Likewise.
32960 * math/s_csinh.c: Likewise.
32961 * math/s_csinhf.c: Likewise.
32962 * math/s_csinhl.c: Likewise.
32963 * math/libm-test.inc (ccos_test): Add more tests.
32964 (ccosh_test): Likewise.
32965 (csin_test): Likewise.
32966 (csinh_test): Likewise.
32967 * sysdeps/i386/fpu/libm-test-ulps: Update.
32968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32969
6ad13e08
L
329702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32971
f66f0ce8
L
32972 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32973 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32974
6ad13e08
L
32975 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32976
b1d072a7
JM
329772012-05-19 Joseph Myers <joseph@codesourcery.com>
32978
32979 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32980 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32981 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32982 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32983 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32984 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32985 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32986 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32987 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32988 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32989 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32990 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32991 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32992 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32993 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32994 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32995 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32996 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32997 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32998 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32999 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33000 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33001 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33002 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33003 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33004 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33005 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33006 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33007 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33008 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33009 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33010
9eae47cb
AJ
330112012-05-18 Andreas Jaeger <aj@suse.de>
33012
33013 * csu/.gitignore: Delete.
33014
bb07f69f
L
330152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33016
33017 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33018 (timex): Use __syscall_slong_t.
33019
e6bdb741
AJ
330202012-05-18 Andreas Jaeger <aj@suse.de>
33021 Carlos O'Donell <carlos_odonell@mentor.com>
33022
33023 * manual/install.texi (Configuring and compiling): Update
33024 description about files modified in the source directory.
d6c33fda 33025 * INSTALL: Regenerated.
e6bdb741 33026
1b74487e
L
330272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33028
33029 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33030 value. Use "or" to set return value to -1.
33031 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33032 negate return value.
33033
a88b64b9
TMQMF
330342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33035
57f41c40
AS
33036 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33037 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
33038 failure if the compiler has Graphite support disabled.
33039 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33040 Likewise.
57f41c40
AS
33041 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33042 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
33043 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33044 Likewise.
33045
3707636e
L
330462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33047
610b8622
L
33048 * sysdeps/x86_64/x32/_itoa.h: New file.
33049
7cd195df
L
33050 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33051 getdents system call only if kernel and user dirents have the
33052 same d_ino and d_off.
33053
94b07d20
L
33054 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33055 LLONG_MAX != LONG_MAX.
33056 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33057 (_fitoa_word): Likewise.
33058
18298070
L
33059 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33060 years.
33061 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33062 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33063 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33064
553c7ea4
L
33065 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33066 include <bits/wordsize.h>. Check __x86_64__ instead of
33067 __WORDSIZE.
33068 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33069 if __x86_64__ is defined. Use anonymous union on fpstate.
33070
3707636e
L
33071 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33072 anonymous union.
33073
b53ef01a
AS
330742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33075
37fb1dc0
AS
33076 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33077 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33078 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33079 Refer to _rtld_local_ro instead of _rtld_global_ro.
33080 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33081 Likewise.
33082 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33083 Likewise.
33084 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33085 Likewise.
33086 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33087 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33088 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33089
b53ef01a
AS
33090 * sysdeps/powerpc/powerpc32/dl-machine.c
33091 (__elf_machine_runtime_setup) [PROF]: Don't reference
33092 _dl_prof_resolve.
33093
7a185db2
AJ
330942012-05-18 Andreas Jaeger <aj@suse.de>
33095
33096 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33097 function only available for GCCs before 3.4 since GCC 3.4
33098 introduced a builtin.
33099 (lrint): Likewise.
33100 (llrintf): Likewise.
33101 (llrint): Likewise.
33102 (fmaxf): Likewise.
33103 (fmax): Likewise.
33104 (fminf): Likewise.
33105 (fmin): Likewise.
33106 (rint): Likewise.
33107 (rintf): Likewise.
33108 (nearbyint): Likewise.
33109 (nearbyintf): Likewise.
33110 (ceil): Likewise.
33111 (ceilf): Likewise.
33112 (floor): Likewise.
33113 (floorf): Likewise.
33114
3e5aef87
L
331152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33116
428bd707
L
33117 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33118 on both fields and cast pointer to __syscall_ulong_t.
33119
3e5aef87
L
33120 * bits/types.h (__fsword_t): New type.
33121 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33122 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33124 (__FSWORD_T_TYPE): Likewise.
33125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33126 (__FSWORD_T_TYPE): Likewise.
33127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33128 (__FSWORD_T_TYPE): Likewise.
33129 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33130 (__FSWORD_T_TYPE): Likewise.
33131 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33132 __SWORD_TYPE with __fsword_t.
33133 (statfs64): Likewise.
33134
1ba7c3dc
DM
331352012-05-17 David S. Miller <davem@davemloft.net>
33136
33137 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33138
59910343
AJ
331392012-05-17 Andreas Jaeger <aj@suse.de>
33140
33141 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33142 warning.
33143
2e4c1e9e
L
331442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33145
33146 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33147
de7f5ce7
AJ
331482012-05-17 Andreas Jaeger <aj@suse.de>
33149
33150 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33151 when it is used.
33152
286abc3d
CM
331532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33154
33155 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33156
477cc68e
L
331572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33158
33159 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33160 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33161
1a0994f5
CD
331622012-05-17 Andreas Jaeger <aj@suse.de>
33163 Carlos O'Donell <carlos_odonell@mentor.com>
33164
33165 [BZ #14059]
33166 * sysdeps/x86_64/multiarch/init-arch.h
33167 (bit_YMM_Usable): Rename to...
33168 (bit_AVX_Usable): ... this.
33169 (bit_FMA4_Usable): New macro.
33170 (bit_XMM_state): New macro.
33171 (bit_YMM_state): New macro.
33172 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33173 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33174 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33175 (CPUID_OSXSAVE): New macro.
33176 (CPUID_AVX): New macro.
33177 (CPUID_FMA4): New macro.
33178 (index_YMM_Usable): Rename to...
33179 (index_AVX_Usable): ... this.
33180 (HAS_AVX): Use HAS_ARCH_FEATURE.
33181 (HAS_FMA4): Likewise.
33182 (HAS_YMM_USABLE): Remove.
33183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33184 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33185 are present.
33186 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33187 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33188 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33189 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33190 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33191
0af797de
CM
331922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33193
33194 * math/libm-test.c: Support platforms without multiple rounding modes.
33195 * math/bug-nextafter.c: Support platforms without FP exceptions.
33196 * math/bug-nexttoward.c: Likewise.
33197 * math/test-fenv.c: Likewise.
33198 * math/test-misc.c: Likewise.
33199 * stdlib/bug-getcontext.c: Likewise.
33200
e39745ff
AJ
332012012-05-17 Andreas Jaeger <aj@suse.de>
33202
33203 * manual/examples/search.c (critter_cmp): Change signature to
33204 avoid warnings.
33205 * manual/string.texi (Collation Functions): Likewise.
33206
48970aba
L
332072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33208
33209 * bits/types.h: Fold copyright years.
33210 * bits/typesizes.h: Likewise.
33211 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33215 * time/time.h: Likewise.
33216
bedee953
PP
332172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33218
33219 [BZ #208]
33220 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33221 in instead of returning them. Return void.
33222 (__libc_mallinfo): Accumulate over all arenas.
33223 (__malloc_stats): Adjust for change in int_mallinfo interface.
33224
61653dfb
RM
332252012-05-16 Roland McGrath <roland@hack.frob.com>
33226
30b99d79
RM
33227 [BZ #10375]
33228 * configure.in (NM): Add AC_CHECK_TOOL for it.
33229 (libc_extra_cflags): New substituted variable.
33230 Check for -fstack-protector being used implicitly.
33231 * configure: Regenerated.
33232 * config.make.in (config-extra-cflags): New variable,
33233 gets @libc_extra_cflags@.
33234 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33235
61653dfb
RM
33236 [BZ #10375]
33237 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33238 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33239 * configure: Regenerated.
33240 * config.make.in (CPPUNDEFS): New substituted variable.
33241 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33242 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33243 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33244
661768bb
L
332452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33246
33247 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33248 (mq_attr): Use __syscall_slong_t.
33249
d4261567
L
332502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33251
33252 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33253 Check __x86_64__ instead of __WORDSIZE.
33254 (_STAT_VER_LINUX): Likewise.
33255 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33256 __syscall_ulong_t and __syscall_slong_t.
33257 (stat64): Likewise.
33258
cf3ff365
L
332592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33260
33261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33262
76cf3e4d
L
332632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33264
33265 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33266
a637753a
L
332672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33268
33269 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33270 __syscall_ulong_t.
33271
d5e05119
L
33272 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33273 include <bits/wordsize.h>. Check __x86_64__ instead of
33274 __WORDSIZE.
33275 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33276 defined.
33277 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33278
f62ee380
L
33279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33280 include <bits/wordsize.h>. Check __x86_64__ instead of
33281 __WORDSIZE.
33282 (user_regs_struct): Use "__extension__ unsigned long long"
33283 instead of "unsigned long" if __x86_64__ is defined.
33284 (user): Likewise. Pad after pointer field if __ILP32__ is
33285 defined.
33286
4e124ced
JM
332872012-05-16 Joseph Myers <joseph@codesourcery.com>
33288
6a3951a0
JM
33289 * configure.in (makeinfo): Require version 4.5 or later. Allow
33290 versions 5 to 9.
33291 * configure: Regenerated.
33292 * manual/install.texi (texinfo): Increase version requirement to
33293 4.5 or later.
33294 * INSTALL: Regenerated.
33295
4e124ced
JM
33296 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33297
953ca31a
L
332982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33299
33300 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33301
617aca05
L
33302 * sysdeps/x86_64/x32/ffs.c: New file.
33303
5762f7ae
L
33304 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33305 __syscall_ulong_t.
33306 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33307 defined. Use __syscall_ulong_t.
33308 (shminfo): Use __syscall_ulong_t.
33309 (shm_info): Likewise.
33310
a26b6856
L
33311 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33312 __syscall_ulong_t.
33313
cb2b9ef7
L
33314 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33315 <bits/wordsize.h>.
33316 (msgqnum_t): Use __syscall_ulong_t.
33317 (msglen_t): Likewise.
33318 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33319 __syscall_ulong_t.
33320
34683bb0
L
33321 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33322 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33323
84a68786
L
33324 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33325
48baa5f1
L
33326 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33327 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33328
180be88b
L
33329 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33330 __syscall_slong_t.
33331
5e90c8ad
L
33332 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33333 include <bits/wordsize.h>. Check __x86_64__ instead of
33334 __WORDSIZE.
33335
23dfb58b
L
33336 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33337 "unsigned long long int" if __x86_64__ is defined.
33338 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33339
ce5d54b0
L
33340 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33341 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33342 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33343
13dc9eac
L
33344 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33345 <stdint.h>.
33346 (GET_PC): Cast to uintptr_t first.
33347 (GET_FRAME): Likewise.
33348 (GET_STACK): Likewise.
33349
a7895d15
L
33350 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33351 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33352 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33353 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33354 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33355 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33356 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33357 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33358 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33359 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33360 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33361 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33362 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33363 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33364 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33365 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33366 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33367 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33368 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33369 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33370 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33371 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33372 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33373 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33374 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33375 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33376 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33378 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33379
656416c9
AS
333802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33381
5bd66283
AS
33382 * Makerules (+depfiles): Also collect depfiles from .oS in
33383 $(extra-objs).
33384 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33385 .oS, $(libnldbl-routines)).
33386
656416c9
AS
33387 * Makerules (native-compile-mkdep-flags): Define.
33388 * sunrpc/Makefile (extra-objs): Add $(addprefix
33389 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33390 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33391 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33392 calling $(make-target-directory).
33393
a46f2169
L
333942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33395
33396 * bits/types.h (__snseconds_t): Removed.
33397 * time/time.h (struct timespec): Replace __snseconds_t with
33398 __syscall_slong_t.
33399 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33400 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33401 Likewise.
33402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33403 (__SNSECONDS_T_TYPE): Likewise.
33404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33405 (__SNSECONDS_T_TYPE): Likewise.
33406 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33407 (__SNSECONDS_T_TYPE): Likewise.
33408
6af6528b
L
334092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33410
33411 * sysdeps/mach/hurd/bits/typesizes.h
33412 (__SYSCALL_SLONG_TYPE): New macro.
33413 (__SYSCALL_ULONG_TYPE): Likewise.
33414
de986b56
L
334152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33416
33417 * bits/types.h (__syscall_slong_t): New type.
33418 (__syscall_ulong_t): Likewise.
33419
33420 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33421 (__SYSCALL_ULONG_TYPE): Likewise.
33422 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33423 (__SYSCALL_SLONG_TYPE): Likewise.
33424 (__SYSCALL_ULONG_TYPE): Likewise.
33425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33426 (__SYSCALL_SLONG_TYPE): Likewise.
33427 (__SYSCALL_ULONG_TYPE): Likewise.
33428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33429 (__SYSCALL_SLONG_TYPE): Likewise.
33430 (__SYSCALL_ULONG_TYPE): Likewise.
33431
85736dc7
L
334322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33433
33434 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33435 Add sigaltstack-offsets.sym.
33436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33437 <sigaltstack-offsets.h>.
33438 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33439 longjmp_msg pointer.
33440 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33441 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33442 signal stack.
33443 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33444
cc03b296
JM
334452012-05-15 Joseph Myers <joseph@codesourcery.com>
33446
a9538892
JM
33447 * elf/stackguard-macros.h: Remove file.
33448 * sysdeps/generic/stackguard-macros.h: New file.
33449 * sysdeps/i386/stackguard-macros.h: Likewise.
33450 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33451 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33452 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33453 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33454 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33455 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33456 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33457 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33458 <elf/stackguard-macros.h>.
33459
cc03b296
JM
33460 [BZ #14109]
33461 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33462 __aligned__ in attribute.
33463 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33464 (gregset_t): Likewise.
33465
93171016
L
334662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33467
33468 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33469 * sysdeps/x86_64/64/Implies-after: Here. New file.
33470 * sysdeps/x86_64/x32/Implies-after: New file.
33471
d86813a0
L
334722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33473
33474 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33475 and access return value for _dl_profile_fixup. Use R10_LP to
33476 load frame size.
33477
2953ec75
L
334782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33479
33480 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33481
3b550e9e
L
334822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33483
33484 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33485 * sysdeps/x86_64/x32/sysdep.h: New file.
33486
eda41706
L
334872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33488
33489 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33490 * sysdeps/x86_64/setjmp.S: Likewise.
33491
9ea01d93
AZ
334922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33493
33494 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33495 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33496 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33497 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33498 remove unused global constant.
33499
02a91938
CM
335002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33501
33502 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33503 include of <not-cancel.h>.
33504
6540185f
RM
335052012-05-15 Roland McGrath <roland@hack.frob.com>
33506
33507 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33508
509072a0
AJ
335092012-05-15 Jeff Law <law@redhat.com>
33510 Andreas Jaeger <aj@suse.de>
33511
33512 [BZ #13594]
33513 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33514 out from...
33515 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33516 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33517 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33518 code changing __hst_map_handle.map.
33519
ba75122d
RM
335202012-05-15 Roland McGrath <roland@hack.frob.com>
33521
33522 * configure.in (sysnames): Look for Implies-before and Implies-after
33523 files.
33524 * configure: Regenerated.
33525
890d8bd8
L
335262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33527
33528 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33529 8-byte data alignment with LP_SIZE alignment.
33530
f6ee6623
L
335312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33532
33533 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33534 into R10_LP.
33535
ea2626f6
L
335362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33537
33538 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33539
085f715e
L
335402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33541
33542 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33543 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33544 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33545 Likewise.
33546 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33547
be8498fc
L
335482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33549
33550 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33551 (stackinfo_sub_sp): Likewise.
33552
70bc83b9
L
335532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33554
33555 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33556 RAX_LP.
33557
9bc0b730
L
335582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33559
33560 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33561 into R*_LP.
33562
6d2850e7
L
335632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33564
33565 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33566 sizes into R*_LP.
33567
3cb84561
L
335682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33569
33570 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33571
54e2ed81
L
335722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33573
33574 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33575 into R11_LP and load __x86_64_shared_cache_size_half into
33576 R8_LP.
33577
8a17f349
L
335782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33579
33580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33581 R8_LP.
33582
777b1eea
AZ
335832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33584
33585 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33586 logb for POWER7.
33587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33588 logbf for POWER7.
33589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33590 logbl for POWER7.
33591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33592 powerpc32/power7/fpu/s_logb.c via #include.
33593 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33594 powerpc32/power7/fpu/s_logbf.c via #include.
33595 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33596 powerpc32/power7/fpu/s_logbl.c via #include.
33597
d20d4ac2
JM
335982012-05-15 Joseph Myers <joseph@codesourcery.com>
33599
33600 * README.libm: Remove file.
33601
6cdef1ab
L
336022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33603
33604 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33605 count for x32. Use R*_LP and omit operand-size suffix.
33606
0b254d8f
L
336072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33608
33609 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33610 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33611 * sysdeps/x86_64/x32/shlib-versions: New file.
33612
ceb809dc
RM
336132012-05-14 Roland McGrath <roland@hack.frob.com>
33614
33615 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33616 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33617 Use _dl_fatal_printf instead.
33618
37f1abd4
JM
336192012-05-14 Joseph Myers <joseph@codesourcery.com>
33620
33621 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33622 set if not set by the user. Do not allow for being unset.
33623 * sysdeps/unix/sysv/linux/configure: Regenerated.
33624
11de3a33
L
336252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33626
33627 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33628 the `q' suffix from lea and replace .quad with ASM_ADDR.
33629
e02f153a
L
336302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33631
33632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33633 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33634 instead of $17.
33635 (PTR_DEMANGLE): Likewise.
33636
520ae0fd
L
336372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33638
33639 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33640 (LP_OP): Likewise.
33641 (ASM_ADDR): Likewise.
33642 (RAX_LP): Likewise.
33643 (RBP_LP): Likewise.
33644 (RBX_LP): Likewise.
33645 (RCX_LP): Likewise.
33646 (RDI_LP): Likewise.
33647 (RSI_LP): Likewise.
33648 (RSP_LP): Likewise.
33649 (R8_LP): Likewise.
33650 (R9_LP): Likewise.
33651 (R10_LP): Likewise.
33652 (R10_LP): Likewise.
33653 (R11_LP): Likewise.
33654 (R12_LP): Likewise.
33655 (R13_LP): Likewise.
33656 (R14_LP): Likewise.
33657 (R15_LP): Likewise.
33658
b985be81
L
336592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33660
33661 * sysdeps/x86_64/x32/dl-machine.h: New file.
33662
6a4888ff
AJ
336632012-05-14 Andreas Jaeger <aj@suse.de>
33664
33665 * manual/Makefile (subdir): Remove export of subdir.
33666 (all): Remove target.
33667 (.PHONY): Remove all from list.
33668 (mkinstalldirs): Remove.
33669 (.PHONY): Remove installdirs from list.
33670 ($(inst_infodir)/libc.info): Use make-target-directory.
33671 (installdirs): Remove.
33672 (subdir_%): Remove.
33673 (glibc-targets): Remove.
33674 (lib): Remove.
33675 (stubs): Remove.
33676 ($(objpfx)stubs ../po/manual.pot): Remove.
33677 ($(objpfx)stamp%): Remove.
33678 (make-target-directory): Remove.
33679 (subdir_install): Remove.
33680 (routines): Remove.
33681 (aux): Remove.
33682 (sources): Remove.
33683 (objects): Remove.
33684 (headers): Remove.
33685
33686 [BZ #13750]
33687 * manual/.gitignore: Remove, it's not needed anymore.
33688 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33689 all files in it.
33690 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33691 directory.
33692 (texis): Renamed to $(objpfx)texis.
33693 (texis-path): New, contains path to generated files.
33694 (chapters.%): Use texis-path for complete path, add extra argument
33695 libc-texinfo.sh.
33696 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33697 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33698 (summary,texi, stamp-summary): Use complete path of
33699 files. Generate files in build dir.
33700 (dir-add.texi): Build in build dir.
33701 (libm-err.texi,stamp-libm-err): Likewise.
33702 (version.texi, stamp-version): Likewise.
33703 (.%c.texi): Likewise.
33704 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33705 (mostlyclean): Remove target.
33706 (realclean): Remove target.
33707 (generated): Add new variable with contents from mostlyclean and
33708 realclean, remove entries duplicated in common-mostlyclean, add
33709 stamp-libm-err and stamp-version.
33710 (generated-dirs): Add libc directory.
33711 ($(inst_infodir)/libc.info): Install files from build dir.
33712
33713 * manual/install.texi (Configuring and compiling): Adjust since
33714 the info files are not part of the tar ball anymore.
33715
7ac77294
AJ
337162012-05-14 Andreas Jaeger <aj@suse.de>
33717
33718 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33719 variable.
33720
ffb7875d
JM
337212012-05-14 Joseph Myers <joseph@codesourcery.com>
33722
33723 [BZ #13717]
33724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33725 to 2.2.0 where earlier.
33726 * sysdeps/unix/sysv/linux/configure: Regenerated.
33727 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33728 Remove conditional code.
33729 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33730 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33731 Remove conditional code.
33732 [!__NR_lchown]: Likewise.
33733 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33734 [__NR_lchown]: Likewise.
33735 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33736 comment referencing __ASSUME_LCHOWN_SYSCALL.
33737 * sysdeps/unix/sysv/linux/i386/sigaction.c
33738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33740 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33741 Remove conditional code.
33742 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33743 (__protocol_available): Remove #if 0 code.
33744 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33745 conditional code.
33746 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33747 * sysdeps/unix/sysv/linux/kernel-features.h
33748 (__ASSUME_GETCWD_SYSCALL): Don't define.
33749 (__ASSUME_REALTIME_SIGNALS): Likewise.
33750 (__ASSUME_PREAD_SYSCALL): Likewise.
33751 (__ASSUME_PWRITE_SYSCALL): Likewise.
33752 (__ASSUME_POLL_SYSCALL): Likewise.
33753 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33754 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33755 non-SPARC.
33756 (__ASSUME_SIOCGIFNAME): Don't define.
33757 (__ASSUME_MSG_NOSIGNAL): Likewise.
33758 (__ASSUME_SENDFILE): Define unconditionally.
33759 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33760 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33761 conditional code.
33762 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33763 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33764 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33765 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33766 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33767 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33768 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33770 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33771 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33776 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33777 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33793 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33794 Remove conditional code.
33795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33796 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33797 Remove conditional code.
33798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33799 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33800 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33801 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33802 Remove conditional code.
33803 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33804 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33805 Remove conditional code.
33806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33807 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33808 Remove conditional code.
33809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33810 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33811 Remove conditional code.
33812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33813 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33814 Remove conditional code.
33815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33816 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33817 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33819 * sysdeps/unix/sysv/linux/sigaction.c
33820 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33821 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33822 * sysdeps/unix/sysv/linux/sigpending.c
33823 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33824 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33825 * sysdeps/unix/sysv/linux/sigprocmask.c
33826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33828 * sysdeps/unix/sysv/linux/sigsuspend.c
33829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33831 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33832 (__libc_missing_rt_sigs): Remove.
33833 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33834 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33835 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33836 Remove conditional code.
33837 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33838 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33839 return 1.
33840 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33841 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33842 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33843 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33844
1bfb7291
AJ
338452012-05-14 Andreas Jaeger <aj@suse.de>
33846
caae5a81
AJ
33847 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33848 it's not used in glibc.
33849 (__coshm1): Likewise.
33850 (__acosh1p): Likewise.
33851 (__sgn): Likewise.
33852
1bfb7291
AJ
33853 * manual/string.texi (Copying and Concatenation): Add missing
33854 variable in concat example.
33855 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33856
c044d724
L
338572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33858
144c5467 33859 [BZ #14103]
c044d724
L
33860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33861 __builtin_clzl with __builtin_clzll.
33862
2523c62b
L
338632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33864
33865 [BZ #14104]
33866 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33867 libc_freeres_ptr.
33868
d7bb4c42
LD
338692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33870
33871 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33872 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33873 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33874 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33875
9dc4e1fb
MF
338762012-05-14 Mike Frysinger <vapier@gentoo.org>
33877
33878 * NEWS: Update ia64 info.
33879
c7df0112
AS
338802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33881
33882 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33883 used as bcopy.
33884
dc70356c
TS
338852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33886
33887 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33888 * sysdeps/unix/syscalls.list (dup3): Likewise.
33889 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33890 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33891
9fb1a21f
L
338922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33893
33894 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33895 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33896
4822a2a5
L
338972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33898
33899 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33900 thread pointer.
33901 (TLS_IE): Use mov/add instead of movq/addq to load thread
33902 pointer.
33903 (TLS_GD_PREFIX): New.
33904 (TLS_GD): Use it.
33905
842b81d6
DM
339062012-05-11 David S. Miller <davem@davemloft.net>
33907
33908 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33909 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33910 (_FPU_SETCW): Likewise.
33911
1cf463cd
L
339122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33913
33914 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33915 is 32-byte aligned.
33916
60cc4a18
AS
339172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33918
33919 [BZ #11837]
33920 * iconvdata/gb18030.c: Update tables.
33921 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33922 characters specially.
33923 (BODY for TO_LOOP): Add encoding of missing ranges.
33924
febb44a4
TS
339252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33926
33927 [BZ #13673]
33928 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33929 * sysdeps/mach/hurd/dup3.c: Likewise.
33930 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33931 * sysdeps/powerpc/memmove.c:: Likewise.
33932
0a10fb9e
L
339332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33934
33935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33936 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33937
df8a552f
L
339382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33939
33940 * elf/elf.h (R_X86_64_RELATIVE64): New.
33941 (R_X86_64_NUM): Updated.
33942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33943 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33944 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33945 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33946 tst-quad1pie tst-quad2pie
33947 (modules-names): Add tst-quadmod1 tst-quadmod2.
33948 ($(objpfx)tst-quad1): New dependency.
33949 ($(objpfx)tst-quad2): Likewise.
33950 ($(objpfx)tst-quad1pie): Likewise.
33951 ($(objpfx)tst-quad2pie): Likewise.
33952 * sysdeps/x86_64/tst-quad1.c: New file.
33953 * sysdeps/x86_64/tst-quad1pie.c: New file.
33954 * sysdeps/x86_64/tst-quad2.c: Likewise.
33955 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33956 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33957 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33958 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33959 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33960
f34d6f84
ST
339612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33962
f42d41d1
ST
33963 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33964 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33965 * streams/stropts.h (t_scalar_t): Define type.
33966
3c3571fc
ST
33967 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33968 (_PATH_PRESERVE): Set to "/var/lib".
33969 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33970
61f06bd3
ST
33971 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33972 instead of int.
33973
918d4d71
ST
33974 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33975 if __dir_mkfile succeeded.
33976
f34d6f84
ST
33977 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33978 checking for _hurd_dtablesize. Unlock it right after having
33979 finished _hurd_dtable allocation.
33980
10589b4a
TS
339812012-05-10 Thomas Schwinge <thomas@schwinge.name>
33982
674cdbc7
TS
33983 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33984 * sysdeps/mach/hurd/configure: Regenerated.
33985 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33986 special-casing to...
33987 * sysdeps/gnu/configure.in: ... this new file.
33988 * sysdeps/unix/sysv/linux/configure: Regenerated.
33989 * sysdeps/gnu/configure: New generated file.
33990
8e41b99f
TS
33991 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33992 for Linux: use nsec instead of usec, as well as:
33993 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33994 members of type struct timespec.
33995 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33996 New macros.
33997 (struct stat64): Likewise.
33998 (_STATBUF_ST_NSEC): New macro.
33999 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34000
10589b4a
TS
34001 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34002 __strtoul_internal rather than strtoul.
34003
63643c85
PT
340042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34005
34006 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34007 and reject them.
34008
3faebe6a
ST
340092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34010
34011 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34012 which preserves existing values.
34013 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34014
c6474b07
PT
340152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34016
34017 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34018 TIMEOUT values. Return EINVAL for NFDS values either negative or
34019 greater than FD_SETSIZE.
34020
1043890b
ST
340212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34022
34023 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34024 allocated, call __vm_protect to finish enabling the existing space, and
34025 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34026 allocate the remainder.
34027
37ed8b9b
PT
340282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34029
34030 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34031 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34032
db653660
ST
340332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34034
37ed8b9b
PT
34035 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34036 sysdeps/mach/hurd/readlink.c.
b29d4053 34037
db653660
ST
34038 * posix/tst-sysconf.c (posix_options): Only use
34039 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34040 _POSIX_SYNCHRONIZED_IO when they are defined
34041 * sysdeps/mach/hurd/bits/posix_opt.h:
34042 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34043 (_XOPEN_REALTIME): Undefine macro.
34044 (_XOPEN_REALTIME_THREADS): Undefine macro.
34045 (_XOPEN_SHM): Undefine macro.
34046 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34047 macro to -1.
34048 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34049 macro to -1.
34050 (_POSIX_ASYNC_IO): Undefine macro.
34051 (_POSIX_PRIORITIZED_IO): Undefine macro.
34052 (_POSIX_SPIN_LOCKS): Define macro to -1.
34053
ee16e894
ST
34054 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34055 SA_NODEFER, SA_RESETHAND.
34056 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34057 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34058 F_DUPFD_CLOEXEC.
34059
6103ae3b
TS
340602012-05-10 Thomas Schwinge <thomas@schwinge.name>
34061
34062 * elf/Makefile (pldd-modules): Define unconditionally.
34063
80b4e5f3
TS
340642012-05-10 Thomas Schwinge <thomas@schwinge.name>
34065
34066 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34067
edadcbd6
ST
340682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34069
34070 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34071 Return ENOENT when name is empty.
34072 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34073
80694780
TS
340742012-05-10 Thomas Schwinge <thomas@schwinge.name>
34075
1792c087
TS
34076 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34077
80694780
TS
34078 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34079
6b645f0d
ST
340802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34081
80694780
TS
34082 Fix mlock in all cases except non-readable pages.
34083 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34084 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 34085
6b645f0d
ST
34086 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34087 (__mkdir): When path is `/', just fail with EEXIST.
34088 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34089
e468f8a3
TS
340902012-05-10 Thomas Schwinge <thomas@schwinge.name>
34091
34092 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34093 <sys/uio.h> (for writev).
34094 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34095 and <sys/param.h> (for MIN).
34096
a4186cff
PT
340972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34098
34099 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34100 REQUESTED_TIME. Properly set the remaining time and return EINTR
34101 if interrupted.
34102
510bbf14
TS
341032012-05-10 Thomas Schwinge <thomas@schwinge.name>
34104
34105 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34106 Depend on against $(link-rpcuserlibs).
34107
5d5722e8
ST
341082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34109
a4186cff
PT
34110 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34111 (__libc_stack_end): Do not use attribute_relro.
34112 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34113 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 34114 to libthread-provided value.
a4186cff
PT
34115 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34116 attribute_relro.
5d5722e8 34117
37233df9
TS
341182012-05-10 Thomas Schwinge <thomas@schwinge.name>
34119
be971a2b
TS
34120 [BZ #3748]
34121 * bits/libc-lock.h (__libc_once_get): New macro.
34122 * sysdeps/mach/bits/libc-lock.h: Likewise.
34123 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34125 instead of using implementation details.
34126
37233df9
TS
34127 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34128 * libio/freopen.c: Likewise.
34129 * libio/freopen64.c: Likewise.
34130 * misc/syslog.c: Likewise.
34131 * nscd/connections.c: Likewise.
34132 * nscd/netgroupcache.c: Likewise.
34133 * sysdeps/posix/getcwd.c: Likewise.
34134
38de94a5
RM
341352012-05-10 Roland McGrath <roland@hack.frob.com>
34136
34137 * math/w_ilogbf.c: Add #include <limits.h>.
34138
67530489
ST
341392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34140
a4186cff 34141 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
34142 path instead of returning without unlocking.
34143
67530489
ST
34144 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34145 immediate-write ioctls.
34146 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34147
5aa3a74a
TS
341482012-05-10 Thomas Schwinge <thomas@schwinge.name>
34149
18bad2ae
TS
34150 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34151 __builtin_frame_address instead of making assumptions about the
34152 location of the return address relative to DATA. Force early load of
34153 the return address.
34154 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34155 __builtin_frame_address.
34156
5aa3a74a
TS
34157 dup3 for GNU Hurd.
34158 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34159 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34160 implement dup3 and do some further code clean-ups.
34161 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34162 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34163
ecd0de9a
ST
341642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34165
cd9fa985
ST
34166 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34167
a4186cff
PT
34168 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34169 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34170 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34171 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34172 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34173 d->port.lock.
802ca5a5 34174
a4186cff
PT
34175 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34176 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34177 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 34178
bcf55240
TS
341792012-05-10 Thomas Schwinge <thomas@schwinge.name>
34180
6960eb42
TS
34181 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34182 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34183 definitions.
34184
eb43375f
TS
34185 accept4 for GNU Hurd.
34186 * include/sys/socket.h (__libc_accept4): New prototype.
34187 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34188 to implement __libc_accept4.
34189 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34190 __libc_accept4.
34191 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34192
bcf55240
TS
34193 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34194 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34195 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34196 signal-defines.sym.
34197
6178c55b
ST
341982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34199
a4186cff 34200 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 34201
6f080c2f
TS
342022012-05-10 Thomas Schwinge <thomas@schwinge.name>
34203
34204 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34205 assertion on O_CLOEXEC flag.
34206 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34207 * hurd/intern-fd.c: Likewise.
34208 * hurd/port2fd.c: Likewise.
34209
bcfe3a54
ST
342102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34211
34212 [BZ #3906]
34213 * bits/in.h (IPV6_PKTINFO): Define new macro.
34214 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34215
89c9aa49
AZ
342162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34217
34218 [BZ #13954]
34219 [BZ #13955]
34220 [BZ #13956]
34221 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34222 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34223 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34224 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34226 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34227 * math/libm-test.inc (logb_test) : Additional logb tests.
34228
021db4be
AJ
342292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34230 Andreas Jaeger <aj@suse.de>
34231
34232 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34233 * configure: Regenerated.
34234 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34235 * config.make.in (link-obsolete-rpc): New substituted variable.
34236 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34237 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34238 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34239 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34240 so that libc.a contains the symbols.
34241 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34242 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34243 * sunrpc/auth_none.c: Likewise.
34244 * sunrpc/auth_unix.c: Likewise.
34245 * sunrpc/authdes_prot.c: Likewise.
34246 * sunrpc/authuxprot.c: Likewise.
34247 * sunrpc/clnt_gen.c: Likewise.
34248 * sunrpc/clnt_perr.c: Likewise.
34249 * sunrpc/clnt_raw.c: Likewise.
34250 * sunrpc/clnt_simp.c: Likewise.
34251 * sunrpc/clnt_tcp.c: Likewise.
34252 * sunrpc/clnt_udp.c: Likewise.
34253 * sunrpc/clnt_unix.c: Likewise.
34254 * sunrpc/des_crypt.c: Likewise.
34255 * sunrpc/des_soft.c: Likewise.
34256 * sunrpc/get_myaddr.c: Likewise.
34257 * sunrpc/key_call.c: Likewise.
34258 * sunrpc/key_prot.c: Likewise.
34259 * sunrpc/netname.c: Likewise.
34260 * sunrpc/pm_getmaps.c: Likewise.
34261 * sunrpc/pm_getport.c: Likewise.
34262 * sunrpc/pmap_clnt.c: Likewise.
34263 * sunrpc/pmap_prot.c: Likewise.
34264 * sunrpc/pmap_prot2.c: Likewise.
34265 * sunrpc/pmap_rmt.c: Likewise.
34266 * sunrpc/publickey.c: Likewise.
34267 * sunrpc/rpc_cmsg.c: Likewise.
34268 * sunrpc/rpc_common.c: Likewise.
34269 * sunrpc/rpc_dtable.c: Likewise.
34270 * sunrpc/rpc_prot.c: Likewise.
34271 * sunrpc/rpc_thread.c: Likewise.
34272 * sunrpc/rtime.c: Likewise.
34273 * sunrpc/svc.c: Likewise.
34274 * sunrpc/svc_auth.c: Likewise.
34275 * sunrpc/svc_raw.c: Likewise.
34276 * sunrpc/svc_run.c: Likewise.
34277 * sunrpc/svc_tcp.c: Likewise.
34278 * sunrpc/svc_udp.c: Likewise.
34279 * sunrpc/svc_unix.c: Likewise.
34280 * sunrpc/svcauth_des.c: Likewise.
34281 * sunrpc/xcrypt.c: Likewise.
34282 * sunrpc/xdr.c: Likewise.
34283 * sunrpc/xdr_array.c: Likewise.
34284 * sunrpc/xdr_float.c: Likewise.
34285 * sunrpc/xdr_intXX_t.c: Likewise.
34286 * sunrpc/xdr_mem.c: Likewise.
34287 * sunrpc/xdr_rec.c: Likewise.
34288 * sunrpc/xdr_ref.c: Likewise.
34289 * sunrpc/xdr_sizeof.c: Likewise.
34290 * sunrpc/xdr_stdio.c: Likewise.
34291
b5c086a2
RM
342922012-05-10 Roland McGrath <roland@hack.frob.com>
34293
34294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34295 change. Update copyright years.
34296
6d74dd09
JM
342972012-05-10 Joseph Myers <joseph@codesourcery.com>
34298
34299 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34300
28e72501
MK
343012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34302 Joseph Myers <joseph@codesourcery.com>
34303 Paul Pluzhnikov <ppluzhnikov@google.com>
34304
34305 [BZ #14012]
34306 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34307 requiring rpcgen.
34308 [cross-compiling] (extra-libs): Likewise.
34309 [cross-compiling] (extra-libs-others): Likewise.
34310 [cross-compiling] (librpcsvc-routines): Likewise.
34311 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34312 [cross-compiling] (omit-deps): Likewise.
34313 (sunrpc-CPPFLAGS): New variable.
34314 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34315 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34316 (cross-rpcgen-objs): New variable.
34317 (extra-objs): Append $(cross-rpcgen-objs).
34318 ($(cross-rpcgen-objs)): New rule.
34319 ($(objpfx)cross-rpcgen): Likewise.
34320 (rpcgen-cmd): Define to use $(built-program-file). Expand
34321 comment.
34322 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34323 ($(objpfx)x%.stmp): Likewise.
34324 * sunrpc/proto.h [IS_IN_build] (_): Define.
34325 [IS_IN_build] (_libc_intl_domainname): Likewise.
34326
c8c59454
L
343272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34328
34329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34330 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34331 and R_X86_64_TPOFF64.
34332
6f27cd16
JM
343332012-05-10 Joseph Myers <joseph@codesourcery.com>
34334
34335 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34336 sysdeps/unix/sysv/syscalls.list.
34337 (stime): Likewise.
34338 (utime): Likewise.
34339 * sysdeps/unix/sysv/syscalls.list: Remove file.
34340
02467e1c
PE
343412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34342
34343 [BZ #3440]
34344 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34345 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34346 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34347 (__LC_IDENTIFICATION): Make these macros useful in #if
34348 expressions, as required by C99.
34349
da392631
AS
343502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34351
34352 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34353 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34354 after this.
34355
8115f29b
L
343562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34357
34358 * stdlib/longlong.h: Updated from GCC.
34359
bdd74070
AJ
343602012-05-09 Andreas Jaeger <aj@suse.de>
34361
edfe0dbe
AJ
34362 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34363 default is first entry.
34364 (run_mode): Set type.
34365 (main): Remove informal message about syslog.
34366 (options): Fix typo.
34367
bcfe3a54
ST
34368 [BZ #14053]
34369 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 34370 to asm.
bcfe3a54
ST
34371 (lrint): Likewise.
34372 (llrintf): Likewise.
34373 (llrint): Likewise.
34374 (rint): Likewise.
34375 (rintf): Likewise.
34376 (nearbyint): Likewise.
34377 (nearbyintf): Likewise.
bdd74070 34378
91d8d69e
AJ
343792012-05-09 Andreas Jaeger <aj@suse.de>
34380 Pedro Alves <palves@redhat.com>
34381
34382 * nscd/nscd.c (run_mode): Use enum.
34383 (main): Cleanup coding style issue.
34384
bb90b80b
AJ
343852012-05-09 Alexandre Oliva <aoliva@redhat.com>
34386 Andreas Jaeger <aj@suse.de>
34387
bcfe3a54
ST
34388 * nscd/nscd.c (go_background): Replaced with...
34389 (run_mode): ... this.
bb90b80b 34390 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
34391 (options): Add -F --foreground.
34392 (main): Implement it.
34393 (parse_opt): Parse it.
bb90b80b 34394
1a4b75a1
AJ
343952012-05-09 Andreas Jaeger <aj@suse.de>
34396
34397 [BZ #14083]
34398 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34399 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34400 -Wconversion warning.
34401 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34402 Likewise.
34403
b1cc2472
JM
344042012-05-09 Joseph Myers <joseph@codesourcery.com>
34405
34406 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34407 == 0.
34408 (LC_ALL): Use macro-int-constant.
34409 (LC_COLLATE): Likewise.
34410 (LC_CTYPE): Likewise.
34411 (LC_MESSAGES): Likewise.
34412 (LC_MONETARY): Likewise.
34413 (LC_NUMERIC): Likewise.
34414 (LC_TIME): Likewise.
34415 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34416 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34418 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34419 Specify type.
34420 [C99-based standards] (float_t): Expect type.
34421 [C99-based standards] (double_t): Expect type.
34422 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34423 type.
34424 [C99-based standards] (HUGE_VALL): Likewise.
34425 [C99-based standards] (INFINITY): Likewise.
34426 [C99-based standards] (NAN): Likewise.
34427 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34428 [C99-based standards] (FP_NAN): Likewise.
34429 [C99-based standards] (FP_NORMAL): Likewise.
34430 [C99-based standards] (FP_SUBNORMAL): Likewise.
34431 [C99-based standards] (FP_ZERO): Likewise.
34432 [C99-based standards] (FP_FAST_FMA): Use
34433 optional-macro-int-constant. Specify type. Require == 1.
34434 [C99-based standards] (FP_FAST_FMAF): Likewise.
34435 [C99-based standards] (FP_FAST_FMAL): Likewise.
34436 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34437 [C99-based standards] (FP_ILOGBNAN): Likewise.
34438 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34439 Specify type.
34440 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34441 [C99-based standards] (math_errhandling): Specify type.
34442 [ISO99 || ISO11] (signgam): Do not allow.
34443 [non-C99-based standards] (copysignf): Do not allow.
34444 [non-C99-based standards] (exp2f): Likewise.
34445 [non-C99-based standards] (log2f): Likewise.
34446 [non-C99-based standards] (modff): Allow.
34447 [non-C99-based standards] (erff): Do not allow.
34448 [non-C99-based standards] (erfcf): Likewise.
34449 [non-C99-based standards] (gammaf): Likewise.
34450 [non-C99-based standards] (hypotf): Likewise.
34451 [non-C99-based standards] (j0f): Likewise.
34452 [non-C99-based standards] (j1f): Likewise.
34453 [non-C99-based standards] (jnf): Likewise.
34454 [non-C99-based standards] (lgammaf): Likewise.
34455 [non-C99-based standards] (tgammaf): Likewise.
34456 [non-C99-based standards] (y0f): Likewise.
34457 [non-C99-based standards] (y1f): Likewise.
34458 [non-C99-based standards] (ynf): Likewise.
34459 [non-C99-based standards] (isnanf): Likewise.
34460 [non-C99-based standards] (acoshf): Likewise.
34461 [non-C99-based standards] (asinhf): Likewise.
34462 [non-C99-based standards] (atanhf): Likewise.
34463 [non-C99-based standards] (cbrtf): Likewise.
34464 [non-C99-based standards] (expm1f): Likewise.
34465 [non-C99-based standards] (ilogbf): Likewise.
34466 [non-C99-based standards] (log1pf): Likewise.
34467 [non-C99-based standards] (logbf): Likewise.
34468 [non-C99-based standards] (nextafterf): Likewise.
34469 [non-C99-based standards] (remainderf): Likewise.
34470 [non-C99-based standards] (rintf): Likewise.
34471 [non-C99-based standards] (scalbf): Likewise.
34472 [non-C99-based standards] (copysignl): Likewise.
34473 [non-C99-based standards] (exp2l): Likewise.
34474 [non-C99-based standards] (log2l): Likewise.
34475 [non-C99-based standards] (modfl): Allow.
34476 [non-C99-based standards] (erfl): Do not allow.
34477 [non-C99-based standards] (erfcl): Likewise.
34478 [non-C99-based standards] (gammal): Likewise.
34479 [non-C99-based standards] (hypotl): Likewise.
34480 [non-C99-based standards] (j0l): Likewise.
34481 [non-C99-based standards] (j1l): Likewise.
34482 [non-C99-based standards] (jnl): Likewise.
34483 [non-C99-based standards] (lgammal): Likewise.
34484 [non-C99-based standards] (tgammal): Likewise.
34485 [non-C99-based standards] (y0l): Likewise.
34486 [non-C99-based standards] (y1l): Likewise.
34487 [non-C99-based standards] (ynl): Likewise.
34488 [non-C99-based standards] (isnanl): Likewise.
34489 [non-C99-based standards] (acoshl): Likewise.
34490 [non-C99-based standards] (asinhl): Likewise.
34491 [non-C99-based standards] (atanhl): Likewise.
34492 [non-C99-based standards] (cbrtl): Likewise.
34493 [non-C99-based standards] (expm1l): Likewise.
34494 [non-C99-based standards] (ilogbl): Likewise.
34495 [non-C99-based standards] (log1pl): Likewise.
34496 [non-C99-based standards] (logbl): Likewise.
34497 [non-C99-based standards] (nextafterl): Likewise.
34498 [non-C99-based standards] (remainderl): Likewise.
34499 [non-C99-based standards] (rintl): Likewise.
34500 [non-C99-based standards] (scalbl): Likewise.
34501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34502 [non-C99-based standards] (FP_*): Do not allow.
34503 [C99-based standards] (FP_*): Change to
34504 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34505 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34506 allow.
34507 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34508 (SIG_ERR): Likewise.
34509 [X/Open-based standards] (SIG_HOLD): Likewise.
34510 (SIG_IGN): Likewise.
34511 (SIGABRT): Use macro-int-constant. Specify type. Require
34512 positive value.
34513 (SIGFPE): Likewise.
34514 (SIGILL): Likewise.
34515 (SIGINT): Likewise.
34516 (SIGSEGV): Likewise.
34517 (SIGTER): Likewise.
34518 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34519 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34520 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34521 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34522 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34523 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34524 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34525 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34526 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34527 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34528 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34529 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34530 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34531 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34532 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34533 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34534 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34535 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34536 [X/Open-based standards] (SIGTRAP): Likewise.
34537 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34538 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34539 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34540 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34541 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34542 allow.
34543
b9f1922d
IW
345442012-05-08 Ian Wienand <ianw@vmware.com>
34545
34546 [BZ #14080]
34547 * time/tzset.c (__tzset_parse_tz): Update default rules for
34548 daylight time changes in the Energy Policy Act of 2005.
34549
1db86e88
AJ
345502012-05-09 Andreas Jaeger <aj@suse.de>
34551
34552 [BZ #13983]
34553 * elf/ldconfig.c (parse_conf): Change string to make clear that
34554 ldconfig only issued a warning if ld.so.conf does not exist.
34555
dee4a4e3
DM
345562012-05-08 David S. Miller <davem@davemloft.net>
34557
ee0db190
DM
34558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34559 movxtod instead of popping the value on the stack.
34560
dee4a4e3
DM
34561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34562
6a43ec98
CD
345632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34564
34565 * config.h.in: Add HAVE_ARM_PCS_VFP.
34566
05c2c961
RMG
345672012-05-08 Roland Mc Grath <roland@hack.frob.com>
34568
bcfe3a54
ST
34569 [BZ #13979]
34570 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34571 checking but the checks are disabled for any reason.
05c2c961 34572
4b30f61a
L
345732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34574
34575 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34576 and ELF64_R_TYPE with ELFW(R_TYPE).
34577
eee2bc67
JM
345782012-05-08 Joseph Myers <joseph@codesourcery.com>
34579
7ea5391a
JM
34580 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34581 (ulimit): Likewise.
34582
eee2bc67
JM
34583 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34584 (settimeofday): Likewise.
34585
abb66a67
MF
345862012-05-08 Mike Frysinger <vapier@gentoo.org>
34587
34588 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34589 a struct th_u2 inside the union, and move tu_block/tu_code into
34590 a new th_u3 union of tu_block/tu_code inside of that. Move
34591 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34592 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34593 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34594 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34595 (th_stuff): Change to th_u1.tu_stuff.
34596 (th_data): Define.
34597 (th_msg): Change to th_u1.th_u2.tu_data.
34598
7f18b530
DM
345992012-05-07 David S. Miller <davem@davemloft.net>
34600
05760585
DM
34601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34602
7f18b530
DM
34603 [BZ #14074]
34604 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34605 (SETUP_PIC_REG): Use it.
34606 (SETUP_PIC_REG_LEAF): Use it.
34607
495fd99f
JM
346082012-05-07 Joseph Myers <joseph@codesourcery.com>
34609
34610 [BZ #13885]
34611 [BZ #13923]
34612 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34613 USE_AS_EXPM1L.
34614 (EXPL_FINITE): Likewise.
34615 (FLDLOG): Likewise.
34616 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34617 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34618 e_expl.S.
34619 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34620 USE_AS_EXPM1L.
34621 (EXPL_FINITE): Likewise.
34622 (FLDLOG): Likewise.
34623 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34624 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34625 e_expl.S.
34626 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34627 test of -max_value argument for long double.
34628 * sysdeps/i386/fpu/libm-test-ulps: Update.
34629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34630
6693d694
DM
346312012-05-06 David S. Miller <davem@davemloft.net>
34632
34633 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34634 quad soft-float symbols whose references which are compiler
34635 generated.
34636 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34637
6c23e11c
JM
346382012-05-06 Joseph Myers <joseph@codesourcery.com>
34639
d8b82cad
JM
34640 [BZ #13884]
34641 [BZ #13914]
34642 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34643 USE_AS_EXP10L.
34644 (EXPL_FINITE): Likewise.
34645 (FLDLOG): Likewise.
34646 (c0): Likewise.
34647 (c1): Likewise.
34648 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34649 Adjust comments for base varying.
34650 (__expl_finite): Change alias to EXPL_FINITE.
34651 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34652 e_expl.S.
34653 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34654 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34655 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34656 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34657 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34658 USE_AS_EXP10L.
34659 (EXPL_FINITE): Likewise.
34660 (FLDLOG): Likewise.
34661 (c0): Likewise.
34662 (c1): Likewise.
34663 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34664 Adjust comments for base varying.
34665 (__expl_finite): Change alias to EXPL_FINITE.
34666 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34667 tests for bugs.
34668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34669
6c23e11c
JM
34670 [BZ #14064]
34671 * math/libm-test.inc (check_float_internal): Correct ulp
34672 calculation for subnormal expected results.
34673
29ba805c
AJ
346742012-05-06 Andreas Jaeger <aj@suse.de>
34675
34676 * Makeconfig (+math-flags): New, set to -frounding-math.
34677 (+cflags): Add +math-flags so that all of glibc gets compiled with
34678 it.
34679
34680 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34681
7b17aeda
JM
346822012-05-05 Joseph Myers <joseph@codesourcery.com>
34683
5779f134
JM
34684 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34685 Disable one test.
34686
41498f4d
JM
34687 [BZ #13787]
34688 [BZ #13922]
34689 [BZ #14036]
34690 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34691 (__ieee754_expl): Allow for and saturate large arguments.
34692 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34693 (u_threshold): Likewise.
34694 (__exp): Call __ieee754_exp before checking for overflow and
34695 underflow.
34696 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34697 (u_threshold): Likewise.
34698 (__expf): Call __ieee754_expf before checking for overflow and
34699 underflow.
34700 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34701 (u_threshold): Likewise.
34702 (__expl): Call __ieee754_expl before checking for overflow and
34703 underflow.
34704 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34705 (__ieee754_expl): Allow for and saturate large arguments.
34706 * math/libm-test.inc (exp_test): Add another test. Do not allow
34707 missing overflow exception on overflow.
34708 (expm1_test): Do not allow missing overflow exception on overflow.
34709
6698b8bf
JM
34710 * sysdeps/i386/fpu/e_expl.c: Move to ...
34711 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34712 rather than using inline asm.
34713 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34714 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34715 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34716
7b17aeda
JM
34717 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34718 (nice): Likewise.
34719 (poll): Likewise.
34720 (signal): Likewise.
34721 (time): Likewise.
34722 (times): Likewise.
34723
f7c85819
JM
347242012-05-04 Joseph Myers <joseph@codesourcery.com>
34725
34726 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34727 sysdeps/unix/common/syscalls.list.
34728 (fchmod): Likewise.
34729 (fchown): Likewise.
34730 (ftruncate): Likewise.
34731 (getrusage): Likewise.
34732 (gettimeofday): Likewise.
34733 (setpgid): Likewise.
34734 (setregid): Likewise.
34735 (setreuid): Likewise.
34736 (sigaction): Likewise.
34737 (truncate): Likewise.
34738 (vhangup): Likewise.
34739 * sysdeps/unix/common/syscalls.list: Remove file.
34740 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34741 * sysdeps/unix/sysv/linux/Implies: Likewise.
34742
336270d0
L
347432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34744
34745 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34747 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34748 Moved to ...
34749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34750 Here.
34751 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34752 to ...
34753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34754 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34755 to ...
34756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34757 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34758 to ...
34759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34760 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34761 to ...
34762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34763 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34764 to ...
34765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34766 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34767 to ...
34768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34769 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34770 to ...
34771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34772 Here.
34773 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34774 to ...
34775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34776 Here.
34777 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34778 to ...
34779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34780 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34781 Moved to ...
34782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34783 Here.
34784 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34785 to ...
34786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34787
d128e450
JM
347882012-05-04 Joseph Myers <joseph@codesourcery.com>
34789
fa8ee516
JM
34790 * sysdeps/unix/common/bits/dirent.h: Remove file.
34791 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34792
d128e450
JM
34793 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34794 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34795 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34796 * sysdeps/unix/bsd/isatty.c: Likewise.
34797 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34798 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34799 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34800
ff8faaf0 348012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 34802
62881be4 34803 [BZ #13563]
31dc8730
AZ
34804 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34805 long double comparison inaccuracies.
34806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34808
6fef930c
AS
348092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34810
34811 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34812 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34813
8f203e6c
JM
348142012-05-04 Joseph Myers <joseph@codesourcery.com>
34815
34816 [BZ #14049]
34817 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34818 nonzero digits before rounding a hex value.
34819 * stdlib/tst-strtod.c (tests): Add another test.
34820
5197d9c2
AK
348212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34822
34823 * sysdeps/s390/fpu/libm-test-ulps: Update.
34824
f0c1dedf
AJ
348252012-05-03 Andreas Jaeger <aj@suse.de>
34826
34827 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34828 does not get optimized out.
34829 (malloc_opt_barrier): New.
34830
a65ef2ae 348312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 34832 Roland McGrath <roland@hack.frob.com>
a65ef2ae 34833
2b942cb7 34834 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 34835 intermediate file deletion.
2b942cb7 34836 (generated): Add .symlist files.
a65ef2ae 34837
54b71e02
JM
348382012-05-03 Joseph Myers <joseph@codesourcery.com>
34839
34840 [BZ #13775]
34841 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34842 Redirect under this condition.
34843 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34844 [__USE_GNU] (__dprintf_chk): Not under this condition.
34845 [__USE_GNU] (__vdprintf_chk): Likewise.
34846 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34847 under this condition.
34848 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34849 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34850 [__USE_XOPEN2K8] (vdprintf): Likewise.
34851 [__USE_GNU] (__dprintf_chk): Not under this condition.
34852 [__USE_GNU] (__vdprintf_chk): Likewise.
34853 [__USE_GNU] (dprintf): Likewise.
34854 [__USE_GNU] (vdprintf): Likewise.
34855
d3dfcc41
RM
348562012-05-03 Roland McGrath <roland@hack.frob.com>
34857
34858 * elf/Makefile (common-generated): Set this instead of generated for
34859 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34860 $(all-built-dso)-derived lists.
34861
7ac30cc5
AJ
348622012-05-03 Andreas Jaeger <aj@suse.de>
34863
0c51e550
AJ
34864 * sysdeps/i386/fpu/libm-test-ulps: Update.
34865
7ac30cc5
AJ
34866 * FAQ: Removed.
34867 * FAQ.in: Likewise.
34868 * scripts/gen-FAQ.pl: Likewise.
34869 * manual/install.texi (Installation): Point to online location of
34870 FAQ.
34871 * Makefile (files-for-dist): Remove FAQ.
34872 (FAQ): Remove.
34873
d4c2917f
AM
348742012-05-02 Allan McRae <allan@archlinux.org>
34875
34876 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34877 (LDFLAGS-reldepmod5.so): Likewise.
34878 (LDFLAGS-reldep6mod1.so): Likewise.
34879 (LDFLAGS-reldep6mod4.so): Likewise.
34880 (LDFLAGS-reldep8mod3.so): Likewise.
34881 (LDFLAGS-unload4mod1.so): Likewise.
34882 (LDFLAGS-unload4mod2.so): Likewise.
34883 (LDFLAGS-tst-initorder): Likewise.
34884 (LDFLAGS-tst-initordera2.so): Likewise.
34885 (LDFLAGS-tst-initordera3.so): Likewise.
34886 (LDFLAGS-tst-initordera4.so): Likewise.
34887 (LDFLAGS-tst-initorderb2.so): Likewise.
34888 (LDFLAGS-noload): Likewise.
34889 (LDFLAGS-next): Likewise.
34890 (LDFLAGS-order2mod1.so): Likewise.
34891 (LDFLAGS-order2mod2.so): Likewise.
34892 (LDFLAGS-tst-initorder2): Likewise.
34893 (LDFLAGS-tst-initorder2a.so): Likewise.
34894 (LDFLAGS-tst-initorder2b.so): Likewise.
34895 (LDFLAGS-tst-initorder2c.so): Likewise.
34896 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34897
d77f993f
DM
348982012-05-02 David S. Miller <davem@davemloft.net>
34899
34900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34901
171a70b4
PP
349022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34903
34904 [BZ #14055]
34905 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34906
0be196ad
AJ
349072012-05-02 Andreas Jaeger <aj@suse.de>
34908
34909 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34910 since we manipulate rounding mode.
34911 (CPPFLAGS-test-idouble.c): Likewise.
34912 (CPPFLAGS-test-ifloat.c): Likewise.
34913 (CFLAGS-test-ldouble.c): Likewise.
34914 (CFLAGS-test-double.c): Likewise.
34915 (CFLAGS-test-float.c): Likewise.
34916 (CFLAGS-test-misc.c): Likewise.
34917 (CFLAGS-test-test-fenv.c): Likewise.
34918
4f9d04aa
AZ
349192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34920
2b942cb7
RM
34921 [BZ #2550]
34922 [BZ #2570]
34923 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34924 comparisons to determine direction to adjust input.
4f9d04aa 34925
82a79e7d
RM
349262012-05-01 Roland McGrath <roland@hack.frob.com>
34927
f5a01ca9
RM
34928 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34929 output to the target.
34930
90fe4186
RM
34931 * scripts/localplt.awk: New file.
34932 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34933 (check-localplt-CFLAGS): Variable removed.
34934 ($(all-built-dso:=.jmprel)): New static pattern rule.
34935 (generated): Add those targets.
34936 (localplt-built-dso): New variable.
34937 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34938
34939 * elf/check-localplt.c: File removed.
34940
82397ed6
RM
34941 * scripts/check-execstack.awk: New file.
34942 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34943 (check-execstack-CFLAGS): Variable removed.
34944 ($(objpfx)check-execstack.h): Target removed.
34945 ($(objpfx)execstack-default): New target.
34946 (generated): Add that instead of check-execstack.h.
34947 ($(all-built-dso:=.phdr)): New static pattern rule.
34948 (generated): Add those targets.
34949 * elf/check-execstack.c: File removed.
34950
82a79e7d
RM
34951 * scripts/check-textrel.awk: New file.
34952 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34953 (check-textrel-CFLAGS): Variable removed.
34954 (all-built-dso): Use := to define.o
34955 ($(all-built-dso:=.dyn)): New static pattern rule.
34956 (generated): Add those targets.
34957 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34958 * config.make.in (READELF): New substituted variable.
34959 * elf/check-textrel.c: File removed.
34960
62fde54f 349612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 34962
615605c9
JM
34963 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34964 allow.
34965 * conform/data/ctype.h-data [C99-based standards] (isblank):
34966 Expect function.
34967 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34968 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34970 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34971 Specify type. Require positive value.
34972 (EILSEQ): Likewise.
34973 (ERANGE): Likewise.
34974 [ISO || POSIX] (EILSEQ): Do not expect.
34975 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34976 Specify type. Require positive value.
34977 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34978 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34979 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34980 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34981 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34982 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34983 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34984 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34985 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34986 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34987 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34988 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34989 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34990 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34991 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34992 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34993 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34994 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34995 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34996 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34997 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34998 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34999 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35000 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35001 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35002 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35003 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35004 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35005 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35006 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35007 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35008 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35009 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35010 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35011 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35012 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35013 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35014 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35015 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35016 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35017 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35018 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35019 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35020 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35021 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35022 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35023 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35024 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35025 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35026 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35027 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35028 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35029 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35030 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35031 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35032 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35033 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35034 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35035 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35036 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35037 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35038 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35039 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35040 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35041 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35042 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35043 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35044 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35045 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35046 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35047 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35048 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35049 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35050 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35051 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35052 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35053 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35054 Require >= 2.
35055 (FLT_ROUNDS): Expect as macro, not constant.
35056 (FLT_MANT_DIG): Use macro-int-constant.
35057 (DBL_MANT_DIG): Likewise.
35058 (LDBL_MANT_DIG): Likewise.
35059 (FLT_DIG): Likewise.
35060 (DBL_DIG): Likewise.
35061 (LDBL_DIG): Likewise.
35062 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35063 (DBL_MIN_EXP): Likewise.
35064 (LDBL_MIN_EXP): Likewise.
35065 (FLT_MAX_EXP): Use macro-int-constant.
35066 (DBL_MAX_EXP): Likewise.
35067 (LDBL_MAX_EXP): Likewise.
35068 (FLT_MAX_10_EXP): Likewise.
35069 (DBL_MAX_10_EXP): Likewise.
35070 (LDBL_MAX_10_EXP): Likewise.
35071 (FLT_MAX): Use macro-constant.
35072 (DBL_MAX): Likewise.
35073 (LDBL_MAX): Likewise.
35074 (FLT_EPSILON): Use macro-constant. Give upper bound.
35075 (DBL_EPSILON): Likewise.
35076 (LDBL_EPSILON): Likewise.
35077 (FLT_MIN): Likewise.
35078 (DBL_MIN): Likewise.
35079 (LDBL_MIN): Likewise.
35080 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35081 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35082 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35083 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35084 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35085 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35086 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35087 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35088 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35089 [ISO11] (FLT_TRUE_MIN): Likewise.
35090 [ISO11] (LDBL_TRUE_MIN): Likewise.
35091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35092 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35093 (SCHAR_MIN): Use macro-int-constant. Specify type.
35094 (SCHAR_MAX): Likewise.
35095 (UCHAR_MAX): Likewise.
35096 (CHAR_MIN): Likewise.
35097 (CHAR_MAX): Likewise.
35098 (MB_LEN_MAX): Use macro-int-constant.
35099 (SHRT_MIN): Use macro-int-constant. Specify type.
35100 (SHRT_MAX): Likewise.
35101 (USHRT_MAX): Likewise.
35102 (INT_MAX): Likewise.
35103 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35104 bound negative.
35105 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35106 bound with "U".
35107 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35108 bound with "L".
35109 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35110 bound negative. Suffix upper bound with "L".
35111 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35112 bound with "UL".
35113 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35114 Specify type.
35115 [C99-based standards] (LLONG_MAX): Likewise.
35116 [C99-based standards] (ULLONG_MAX): Likewise.
35117 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35118 == 0.
35119 [ISO11] (max_align_t): Require type.
35120 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35121
c9140a62
JM
35122 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35123 from $CFLAGS, without defining away __attribute__ calls.
35124 (checknamespace): Use $CFLAGS_namespace.
35125
9af0bf29
JM
35126 * conform/conformtest.pl (@keywords): Only include C99 keywords
35127 for standards based on C99 or C11.
35128
343222a2
JM
35129 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35130 Disable tests.
35131 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35132 UNIX98]: Likewise.
35133
661f8cf0
JM
35134 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35135 usability of symbols in #if.
35136
ee74b9cb
JM
35137 * conform/conformtest.pl: If macro or constant types start
35138 "promoted:", expect the symbol to be of the following type
35139 promoted by the integer promotions.
62fde54f 35140
aafc49b3
JM
35141 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35142 in one place. Also handle "macro-constant".
35143
fefdf574
JM
35144 * conform/conformtest.pl: Only accept expected macro values with
35145 "==". Parse all "macro" lines in one place.
35146 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35147
f2d922fe
JM
35148 * conform/conformtest.pl: Handle braced types on "constant" lines
35149 instead of handling "typed-constant".
35150 * conform/data/signal.h-data: Use "constant" instead of
35151 "typed-constant".
35152
d22956c9
JM
35153 * conform/conformtest.pl: Handle "optional-" at start of lines in
35154 one place rather than duplicating several cases. Handle each
35155 format of "macro" line with initial "optional-".
35156
028e2e38
JM
35157 * conform/conformtest.pl: Only accept expected constant or
35158 optional-constant values with "==". Parse all "constant" lines in
35159 one place. Parse all "optional-constant" lines in one place.
35160 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35161 * conform/data/fmtmsg.h-data: Likewise.
35162 * conform/data/netinet/in.h-data: Likewise.
35163 * conform/data/tar.h-data: Likewise.
35164 * conform/data/limits.h-data: Use "==" form on "constant" and
35165 "optional-constant" lines.
35166
1b8f2850
JM
35167 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35168 Use -std=c99 for XOPEN2K.
35169 (@knownproblems): Remove.
35170 (newtoken): Don't check %isknown.
35171
a05a144b
JM
35172 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35173 Do not expect macro.
35174 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35175 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35176 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35177 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35178 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35179 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35180 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35181 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35182 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35183 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35184 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35185 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35186 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35187 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35188 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35189 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35190 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35191 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35192 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35193 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35194 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35195 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35196 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35197 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35198 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35199 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35200 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35201 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35202 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35203 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35204 [XPG3] (acosh): Likewise.
35205 [XPG3] (asinh): Likewise.
35206 [XPG3] (atanh): Likewise.
35207 [XPG3] (cbrt): Likewise.
35208 [XPG3] (expm1): Likewise.
35209 [XPG3] (ilogb): Likewise.
35210 [XPG3] (log1p): Likewise.
35211 [XPG3] (logb): Likewise.
35212 [XPG3] (nextafter): Likewise.
35213 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35214 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35215 [XPG3] (remainder): Likewise.
35216 [XPG3] (rint): Likewise.
35217 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35218 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35219 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35220 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35221 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35222 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35223 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35224 [UNIX98 || XOPEN2K] (scalb): Expect.
35225 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35226 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35227 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35228 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35229 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35230 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35231 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35232 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35233 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35234 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35235 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35236 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35237 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35238 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35239 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35240 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35241 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35242 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35243 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35244 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35245 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35246 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35247 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35248 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35249 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35250 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35251 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35252 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35253 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35254 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35255 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35256 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35257 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35258 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35259 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35260 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35261 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35262 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35263 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35264 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35265 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35266 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35267 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35268 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35269 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35270 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35271 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35272 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35273 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35274 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35275 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35276 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35277 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35278 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35279 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35280 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35281 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35282 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35283 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35284 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35285 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35286 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35287 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35288 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35289 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35290 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35291 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35292 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35293 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35294 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35295 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35296 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35297 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35298 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35299 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35300 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35301 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35302 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35303 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35304 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35305 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35306 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35307 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35308 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35309 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35310 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35311 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35312 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35313 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35314 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35315 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35316 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35317 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35318 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35319 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35320 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35321 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35322 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35323 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35324 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35325 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35326 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35327 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35328 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35329 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35330 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35331 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35332 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35333 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35334 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35335 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35336 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35337 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35338 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35339 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35340 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35341 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35342 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35343 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35344 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35345 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35346 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35347 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35348 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35349 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35350 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35351 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35352 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35353 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35354 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35355 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35356 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35357 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35358 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35359 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35360 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35361 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35362
73c5ebe3
JM
35363 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35364 _XOPEN_SOURCE_EXTENDED for XPG4.
35365
39c33b6c
JM
35366 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35367
62fde54f
JM
35368 * Makeconfig (localtime): Remove variable.
35369 (inst_localtime-file): Likewise.
35370
0741d64c
AS
353712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35372
35373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35374 Update.
35375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35376 Update.
35377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35378 Update.
35379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35380 Update.
35381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35382 Update.
35383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35384 Update.
35385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35386 Update.
35387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35388 Update.
35389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35390 Update.
35391
7cb029ee
JM
353922012-05-01 Joseph Myers <joseph@codesourcery.com>
35393
35394 [BZ #2550]
35395 [BZ #2570]
35396 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35397 comparisons to determine direction to adjust input.
35398 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35399 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35400 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35401 Likewise.
35402 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35403 Likewise.
35404 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35405 Likewise.
35406 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35407 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35408 Likewise.
35409 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35410 Likewise.
35411 * math/libm-test.inc (nexttoward_test): Add more tests.
35412
412bd966
AS
354132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35414
35415 [BZ #14040]
35416 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35417 in version GLIBC_2.1, not GLIBC_2.0.
35418 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35419 Likewise.
35420
9568c0c2
JM
354212012-04-30 Joseph Myers <joseph@codesourcery.com>
35422
adfbc8ac
JM
35423 [BZ #13942]
35424 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35425 (1 - x) * (1 + x).
35426 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35427 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35428 * math/libm-test.inc (acos_test): Add more tests.
35429 (asin_test): Likewise.
35430 * sysdeps/i386/fpu/libm-test-ulps: Update.
35431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35432
5ba3cc69
JM
35433 [BZ #14034]
35434 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35435 of square root.
35436 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35437 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35438 * math/libm-test.inc (acos_test_tonearest): New function.
35439 (acos_test_towardzero): Likewise.
35440 (acos_test_downward): Likewise.
35441 (acos_test_upward): Likewise.
35442 (asin_test_tonearest): Likewise.
35443 (asin_test_towardzero): Likewise.
35444 (asin_test_downward): Likewise.
35445 (asin_test_upward): Likewise.
35446 (main): Call the new functions.
35447 * sysdeps/i386/fpu/libm-test-ulps: Update.
35448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35449
9568c0c2
JM
35450 [BZ #13884]
35451 [BZ #13924]
35452 * math/e_exp10.c: Include <float.h>.
35453 (__ieee754_exp10): Handle underflow here rather than multiplying
35454 large negative argument by M_LN10.
35455 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35456 of __ieee754_expf.
35457 * math/e_exp10l.c: Include <float.h>.
35458 (__ieee754_exp10l): Handle underflow here rather than multiplying
35459 large negative argument by M_LN10l.
35460 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35461 spurious overflow exception on underflow.
35462
5ac3ea17
MP
354632012-04-29 Marek Polacek <polacek@redhat.com>
35464
35465 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35466 (__fortify_function): New macro.
35467 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35468 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35469 __extern_always_inline.
35470 * libio/bits/stdio2.h: Likewise.
35471 * libio/bits/stdio.h: Likewise.
35472 * string/string.h: Likewise.
35473 * string/bits/string3.h: Likewise.
35474 * include/stdio.h: Likewise.
35475 * stdlib/bits/stdlib.h: Likewise.
35476 * stdlib/stdlib.h: Likewise.
35477 * rt/bits/mqueue2.h: Likewise.
35478 * rt/mqueue.h: Likewise.
35479 * posix/bits/unistd.h: Likewise.
35480 * posix/unistd.h: Likewise.
35481 * io/bits/poll2.h: Likewise.
35482 * io/bits/fcntl2.h: Likewise.
35483 * io/fcntl.h: Likewise.
35484 * io/sys/poll.h: Likewise.
35485 * misc/bits/syslog.h: Likewise.
35486 * misc/bits/syslog-ldbl.h: Likewise.
35487 * misc/sys/syslog.h: Likewise.
35488 * socket/bits/socket2.h: Likewise.
35489 * socket/sys/socket.h: Likewise.
35490 * debug/tst-chk1.c: Likewise.
35491 * wcsmbs/bits/wchar2.h: Likewise.
35492 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35493 * wcsmbs/wchar.h: Likewise.
35494
ecf0ebfb
AJ
354952012-04-29 Andreas Jaeger <aj@suse.de>
35496
35497 * Makerules (tests): Remove enable-check-abi protection.
35498 (check-abi-warn): Remove.
35499 (check-abi-%): Remove check-abi-warn usage.
35500
35501 * configure.in: Remove check-abi configure option.
35502 * configure: Regenerated.
35503 * config.make.in (enable-check-abi): Remove.
35504
6d5c57fa
AS
355052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35506
24c5d07e 35507 [BZ #14033]
ded5180a
AS
35508 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35509 double functions to double *_finite functions.
35510
7e0d315d
AS
35511 [BZ #13941]
35512 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35513 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35514 LDBL_MIN_EXP.
35515 * stdio-common/Makefile (tests): Add tst-sprintf3.
35516 * stdio-common/tst-sprintf3.c: New file.
35517
6d5c57fa
AS
35518 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35519 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35520
0749ff8b
JM
355212012-04-28 Joseph Myers <joseph@codesourcery.com>
35522
35523 * conform/conformtest.pl: Remove duplicate typed-constant
35524 handling.
35525
8dbd5d7b
DM
355262012-04-28 David S. Miller <davem@davemloft.net>
35527
35528 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35529 (check-abi-%): Remove AWK script prerequisite and explicit
35530 abilist directory.
35531 (check-abi): Rewrite to just diff the symlist with the abilist.
35532 (config-tls, config-abi-config): Delete, no longer used.
35533 (update-abi-%): Remove AWK script and explicit abilist directory.
35534 (update-abi): Rewrite to simply compare and conditionally copy the
35535 symlist and the sysdep abilist file. Remove update-abi-config
35536 checks.
35537 * abilist/ld.abilist: Remove.
35538 * abilist/libBrokenLocale.abilist: Remove.
35539 * abilist/libanl.abilist: Remove.
35540 * abilist/libcrypt.abilist: Remove.
35541 * abilist/libdl.abilist: Remove.
35542 * abilist/librt.abilist: Remove.
35543 * abilist/libthread_db.abilist: Remove.
35544 * abilist/libutil.abilist: Remove.
35545 * scripts/extract-abilist.awk: Remove.
35546 * scripts/merge-abilist.awk: Remove.
35547 * sysdeps/generic/libcidn.abilist: New file.
35548 * sysdeps/generic/libnss_compat.abilist: New file.
35549 * sysdeps/generic/libnss_db.abilist: New file.
35550 * sysdeps/generic/libnss_dns.abilist: New file.
35551 * sysdeps/generic/libnss_files.abilist: New file.
35552 * sysdeps/generic/libnss_hesiod.abilist: New file.
35553 * sysdeps/generic/libnss_nis.abilist: New file.
35554 * sysdeps/generic/libnss_nisplus.abilist: New file.
35555 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35556 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35557 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35558 file.
35559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35560 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35561 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35562 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35563 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35564 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35565 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35566 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35567 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35568 file.
35569 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35570 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35571 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35572 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35573 file.
35574 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35575 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35576 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35577 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35578 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35579 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35580 file.
35581 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35582 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35583 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35584 file.
35585 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35587 New file.
35588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35589 New file.
35590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35591 New file.
35592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35593 New file.
35594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35595 New file.
35596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35597 New file.
35598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35599 New file.
35600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35601 New file.
35602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35603 New file.
35604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35605 New file.
35606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35607 New file.
35608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35609 New file.
35610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35611 New file.
35612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35613 file.
35614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35615 New file.
35616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35617 New file.
35618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35619 file.
35620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35621 New file.
35622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35623 New file.
35624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35625 file.
35626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35627 New file.
35628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35629 New file.
35630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35631 New file.
35632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35633 New file.
35634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35635 New file.
35636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35637 New file.
35638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35640 file.
35641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35642 New file.
35643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35644 file.
35645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35646 file.
35647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35648 file.
35649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35650 file.
35651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35652 file.
35653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35654 New file.
35655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35656 file.
35657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35658 file.
35659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35660 New file.
35661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35662 file.
35663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35665 file.
35666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35667 New file.
35668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35669 file.
35670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35671 file.
35672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35673 file.
35674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35675 file.
35676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35677 file.
35678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35679 New file.
35680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35681 file.
35682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35683 file.
35684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35685 New file.
35686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35687 file.
35688 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35689 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35690 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35691 file.
35692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35693 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35694 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35695 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35696 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35697 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35698 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35699 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35700 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35701 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35704 file.
35705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35706 New file.
35707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35708 file.
35709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35710 file.
35711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35712 file.
35713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35714 file.
35715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35716 file.
35717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35718 New file.
35719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35720 New file.
35721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35722 file.
35723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35724 New file.
35725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35726 file.
35727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35729 file.
35730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35731 New file.
35732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35733 file.
35734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35735 file.
35736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35737 file.
35738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35739 file.
35740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35741 file.
35742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35743 New file.
35744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35745 New file.
35746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35747 file.
35748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35749 New file.
35750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35751 file.
35752
41d73a1b
JM
357532012-04-28 Joseph Myers <joseph@codesourcery.com>
35754
35755 * conform/conformtest.pl: Fix typo in handling typed-constant from
35756 allow-header.
35757
28aeeda4
JM
357582012-04-27 Joseph Myers <joseph@codesourcery.com>
35759
adae8f5e
JM
35760 * README: Cut down references to pre-2.6 Linux kernels and
35761 Linuxthreads. Update lists of configurations in libc and ports
35762 and sort alphabetically. Say "or newer" with Linux kernel version
35763 requirements.
35764
28aeeda4
JM
35765 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35766
a462cb63
RA
357672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35768
35769 [BZ #887]
35770 * math/libm-test.inc (logb_test_downward): New test to expose
35771 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35772 rounding mode.
35773
6ad3493e
JM
357742012-04-27 Joseph Myers <joseph@codesourcery.com>
35775
35776 [BZ #14027]
35777 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35778 to be done.
35779 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35780 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35781
2ce4f015
JM
357822012-04-26 Joseph Myers <joseph@codesourcery.com>
35783
5aeb141a
JM
35784 * sysdeps/unix/i386/brk.S: Remove file.
35785 * sysdeps/unix/i386/dl-brk.S: Likewise.
35786 * sysdeps/unix/i386/pipe.S: Likewise.
35787 * sysdeps/unix/i386/sigreturn.S: Likewise.
35788 * sysdeps/unix/i386/syscall.S: Likewise.
35789 * sysdeps/unix/i386/vfork.S: Likewise.
35790 * sysdeps/unix/i386/wait.S: Likewise.
35791
7143acae
JM
35792 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35793 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35794
2ce4f015
JM
35795 * configure.in (arm*-none*): Do not allow without
35796 --enable-hacker-mode.
35797 (netbsd*): Remove case setting base_os.
35798 (386bsd*): Likewise.
35799 (freebsd*): Likewise.
35800 (bsdi*): Likewise.
35801 (osf*): Likewise.
35802 (sunos*): Likewise.
35803 (ultrix*): Likewise.
35804 (newsos*): Likewise.
35805 (dynix*): Likewise.
35806 (*bsd*): Likewise.
35807 (sysv*): Likewise.
35808 (isc*): Likewise.
35809 (esix*): Likewise.
35810 (sco*): Likewise.
35811 (minix*): Likewise.
35812 (irix4*): Likewise.
35813 (irix6*): Likewise.
35814 (solaris[2-9]*): Likewise.
35815 (none): Likewise.
35816 * configure: Regenerated.
35817
0ac229c8
AZ
358182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35819
35820 [BZ #11521]
35821 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35822 overflow or cancellation in calculating denominator.
35823 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35825 down expression to avoid unexpected rounding in newer GCCs.
35826 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35827
33f244f4
DM
358282012-04-26 David S. Miller <davem@davemloft.net>
35829
35830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35831 long-double compat symbols.
35832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35845
cfa1f3e8
DM
358462012-04-25 David S. Miller <davem@davemloft.net>
35847
35848 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35849 HWCAP_* values only after the memory barriers have been defined.
35850 (atomic_full_barrier): Define.
35851 (atomic_read_barrier): Define.
35852 (atomic_write_barrier): Define.
35853
6e236b92
SP
358542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35855
35856 * shlib-versions: Add libgcc_s version information.
35857 * sysdeps/generic/libgcc_s.h: Remove.
35858 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35859 libgcc_s.h.
35860 * sysdeps/gnu/unwind-resume.c: Likewise.
35861 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35862
aab39a09
DM
358632012-04-25 David S. Miller <davem@davemloft.net>
35864
35865 * sysdeps/unix/sparc/brk.S: Delete.
35866 * sysdeps/unix/sparc/dl-brk.S: Delete.
35867 * sysdeps/unix/sparc/pipe.S: Delete.
35868 * sysdeps/unix/sparc/sysdep.S: Delete.
35869 * sysdeps/unix/sparc/sysdep.h: Delete.
35870 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
35871 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35872 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35873 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35874 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
35875 (JUMPTARGET): Remove.
35876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35877 sysdeps/unix/sparc/sysdep.h
35878 (ENTRY, END): Remove.
35879 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35880
a3cc4f48
JM
358812012-04-25 Joseph Myers <joseph@codesourcery.com>
35882
2ed8cda2
JM
35883 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35884 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35885 -DIS_IN_build.
35886
35d76d59
JM
35887 * timezone/README: Update upstream location and email address for
35888 tzcode and tzdata.
35889 * timezone/zdump.c: Update from tzcode 2012b.
35890 * timezone/zic.c: Likewise.
35891
a3cc4f48
JM
35892 * configure.in (libc_cv_as_needed): Remove test.
35893 * configure: Regenerated.
35894 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35895 conditional definition.
35896 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35897 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35898 * config.make.in (have-as-needed): Remove variable.
35899
ceab42c3
SP
359002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35901 Paul Pluzhnikov <ppluzhnikov@google.com>
35902
35903 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35904 strings correctly.
35905
3ce2865f
CLT
359062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35907
35908 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35909 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35910 * sysdeps/sh/strlen.S: Likewise.
35911
f37e0d68
JM
359122012-04-24 Joseph Myers <joseph@codesourcery.com>
35913
ae186e9a
JM
35914 * sysdeps/unix/fork.S: Remove file.
35915 * sysdeps/unix/i386/fork.S: Likewise.
35916 * sysdeps/unix/sparc/fork.S: Likewise.
35917
b96914af
JM
35918 * sysdeps/unix/system.c: Remove file.
35919 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35920
f37e0d68
JM
35921 * sysdeps/unix/getegid.S: Remove file.
35922 * sysdeps/unix/geteuid.S: Likewise.
35923
87ef29ca
RM
359242012-04-24 Roland McGrath <roland@hack.frob.com>
35925
83bcd236
RM
35926 * scripts/check-localplt.awk: New file.
35927 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35928 of diff.
35929 * scripts/data/localplt-generic.data: Add a comment.
35930
87ef29ca
RM
35931 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35932 NODE when __dir_mkfile failed.
35933 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35934 Reported by Ludovic Courtès <ludo@gnu.org>.
35935
e5a6e567
AJ
359362012-04-24 Andreas Jaeger <aj@suse.de>
35937
35938 * Makerules (common-clean): Also remove gen-as-const-headers
35939 files.
35940
c1820385
JM
359412012-04-24 Joseph Myers <joseph@codesourcery.com>
35942
35943 * Makerules (native-compile): Do not change working directory for
35944 build. Use $(OUTPUT_OPTION) in command.
35945 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35946
94e02fc4
AZ
359472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35948
35949 [BZ #13886]
35950 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35951 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35952 * math/libm-test.inc (floor_test): Add more tests.
35953 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35954
3a533ca3
JM
359552012-04-24 Joseph Myers <joseph@codesourcery.com>
35956
940ab4b3
JM
35957 * sysdeps/unix/getdents.c: Remove file.
35958 * sysdeps/unix/sysv/getdents.c: Likewise.
35959 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35960
90e037bd
JM
35961 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35962 sysdeps/unix/mman/syscalls.list.
35963 (mmap): Likewise.
35964 (mprotect): Likewise.
35965 (msync): Likewise.
35966 (munmap): Likewise.
35967 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35968 * sysdeps/unix/mman/syscalls.list: Remove.
35969 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35970
3a533ca3
JM
35971 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35972 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35973 * configure: Regenerated.
35974 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35975 $(libgcc_s_suffix).
35976 * config.make.in (libgcc_s_suffix): Remove variable.
35977
1ad743de
JM
359782012-04-23 Joseph Myers <joseph@codesourcery.com>
35979
4ad451e2
JM
35980 * sysdeps/unix/sysv/gethostname.c: Move to ...
35981 * sysdeps/posix/gethostname.c: ... here.
35982
5e37ce39
JM
35983 * sysdeps/unix/execve.S: Remove file.
35984
1ad743de
JM
35985 * sysdeps/unix/_exit.S: Remove file.
35986
4e681b5b
AJ
359872012-04-23 Andreas Jaeger <aj@suse.de>
35988
35989 [BZ #13739]
35990 * manual/Makefile: Remove make dist support, there's no
35991 need for a stand-alone documentation tar ball.
35992 (TEXI2DVI): Define always, it's not in Makeconfig.
35993 (dist): Removed.
35994 (tar-it): Removed.
35995 (edition): Removed.
35996 (glibc-doc-$(edition).tar): Removed
35997 (%.Z): Removed.
35998 (%.gz): Removed.
35999 (%.uu): Removed.
36000 (ETAGS): Remove, it's in Makeconfig.
36001 (move-if-change): Remove, it's in Makeconfig.
36002
38686a03 360032012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
36004
36005 [BZ #13970]
36006 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36007 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36008 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36009 (strtod_l, strtof_l, strtold_l): Remove __wur.
36010 It is not necessarily an error to ignore strtol's return value.
36011 One can reliably look at the stored endptr to decide whether
36012 the number had valid syntax.
36013
7c0616fa
AJ
360142012-04-21 Andreas Jaeger <aj@suse.de>
36015
803cb6b7 36016 [BZ #13739]
7c0616fa
AJ
36017 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36018
b0fe253f
JM
360192012-04-21 Joseph Myers <joseph@codesourcery.com>
36020
36021 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36022 * sysdeps/unix/sysv/Versions: Remove file.
36023
8280f22d
MT
360242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36025
36026 [BZ #13927]
36027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36028
75ce411f 360292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
36030
36031 [BZ #7064]
36032 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36033 version from __vm86.
36034
097d59fa
JM
360352012-04-20 Joseph Myers <joseph@codesourcery.com>
36036
a90f3bcb
JM
36037 * sysdeps/unix/common/lxstat.c: Remove file.
36038 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36039
edc7ea78
JM
36040 * sysdeps/unix/sysv/Makefile: Remove file.
36041
cb78c221
JM
36042 * sysdeps/unix/sysv/direct.h: Remove file.
36043
efa6a45f
JM
36044 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36045 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36046 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36047 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36048 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36049 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36050 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36051
9c9f2d0c
JM
36052 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36053
4541c83b
JM
36054 * sysdeps/unix/xmknod.c: Remove file.
36055 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36056
f5d153a0
JM
36057 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36058
aa746595
JM
36059 * sysdeps/unix/sysv/i386/time.S: Remove file.
36060
cce5905e
JM
36061 * sysdeps/unix/fxstat.c: Remove file.
36062 * sysdeps/unix/xstat.c: Likewise.
36063 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36064
37fa3841
JM
36065 * sysdeps/unix/sysv/sigaction.c: Remove file.
36066
ff1962a3
JM
36067 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36068 (sysdep_headers): Remove variable.
36069 [termio.h not in sysdep_headers] (generated): Likewise.
36070 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36071 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36072 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36073 * sysdeps/unix/sysv/tcflow.c: Likewise.
36074 * sysdeps/unix/sysv/tcflush.c: Likewise.
36075 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36076 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36077 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36078 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36079 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36080
e7740d31
JM
36081 * sysdeps/unix/siglist.c: Remove file.
36082
ee06f18b
JM
36083 * sysdeps/unix/getppid.S: Remove file.
36084
097d59fa
JM
36085 * sysdeps/unix/mkdir.c: Remove file.
36086 * sysdeps/unix/rmdir.c: Likewise.
36087
ff3d51ec
AS
360882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36089
36090 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36091 ERR_MAX value.
36092 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36093 errlist-compat value.
36094
50f81fd7
DM
360952012-04-18 David S. Miller <davem@davemloft.net>
36096
36097 * sysdeps/generic/memcopy.h (reg_char): Delete.
36098 * debug/strcat_chk.c: Use char, not reg_char.
36099 * debug/strcpy_chk.c: Likewise.
36100 * debug/strncat_chk.c: Likewise.
36101 * debug/strncpy_chk.c: Likewise.
36102 * string/memchr.c: Likewise.
36103 * string/memrchr.c: Likewise.
36104 * string/rawmemchr.c: Likewise.
36105 * string/strcat.c: Likewise.
36106 * string/strchr.c: Likewise.
36107 * string/strchrnul.c: Likewise.
36108 * string/strcmp.c: Likewise.
36109 * string/strcpy.c: Likewise.
36110 * string/strncat.c: Likewise.
36111 * string/strncmp.c: Likewise.
36112 * string/strncpy.c: Likewise.
36113
8ff41c46
WS
361142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36115
36116 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36117 __builtin_memcopy is called when src and dest ranges are known to not
36118 overlap.
36119
6b652f46
WS
361202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36121
36122 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36123 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36124 fwd_align_merge macro call.
36125 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36126 bwd_align_merge macro call.
36127 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36128
b282631e
WS
361292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36130
36131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36132 bwd_align_merge macros.
36133 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36134 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36135 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36136
95aa737c
DM
361372012-04-18 David S. Miller <davem@davemloft.net>
36138
36139 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36140
7a99a614
AJ
361412012-04-18 Andreas Jaeger <aj@suse.de>
36142
36143 [BZ# 6794]
36144 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36145 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36146 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36147
36148 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36149 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36150 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36151
36152 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36153 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36154 Adjust for changed ldbl-128 files.
36155
36156 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36157 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36158 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36159
e5270c23
DM
361602012-04-17 David S. Miller <davem@davemloft.net>
36161
36162 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36163
fb5e92c9
AS
361642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36165
36166 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36167 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36168 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36169 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36170 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36171 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36172
76da7265
AZ
361732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36174
36175 [BZ #6794]
36176 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36177 * math/libm-test.inc: Add ilogb errno and exception tests.
36178 * math/w_ilogb.c: New file: ilogb wrapper.
36179 * math/w_ilogbf.c: New file: ilogbf wrapper.
36180 * math/w_ilogbl.c: New file: ilogbl wrapper.
36181 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36182 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36183 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36184 exception being thrown with 0.0 as argument.
36185 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36186 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36187 exception being thrown with 0.0 as argument.
36188 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36189 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36190 exception being thrown with 0.0 as argument.
36191 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36192 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36193 exception being thrown with 0.0 as argument.
36194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36195 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 36196 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
36197 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36198 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36199 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36200 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36201 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36202 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36203
0396e69d
PB
362042012-04-17 Petr Baudis <pasky@ucw.cz>
36205
36206 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36207 with altivec.
36208
750b5926
MP
362092012-04-16 Marek Polacek <polacek@redhat.com>
36210
36211 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36212
751728a1
MP
362132012-04-16 Marek Polacek <polacek@redhat.com>
36214
36215 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36216 operands of fdivp instruction.
36217
34a27407
L
362182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36219
36220 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36221 * elf/tst-auditmod3b.c: Likewise.
36222 * elf/tst-auditmod4b.c: Likewise.
36223 * elf/tst-auditmod5b.c: Likewise.
36224 * elf/tst-auditmod6b.c: Likewise.
36225 * elf/tst-auditmod6c.c: Likewise.
36226 * elf/tst-auditmod7b.c: Likewise.
36227 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36228 * sysdeps/x86_64/preconfigure.in: Likewise.
36229 * sysdeps/x86_64/preconfigure: Regenerated.
36230
7e73e17d
L
362312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36232
36233 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36234 __ILP32__.
36235
c7a6ab72
AB
362362012-04-13 Antoine Balestrat <merkil33@gmail.com>
36237
36238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36239 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36240
a9e8e0e0
CL
362412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36242
36243 [BZ #13973]
36244 * locale/iso-639.def: Fix gl language name. Spotted by
36245 Yaron Shahrabani.
36246
ec98af7d
RM
362472012-04-12 Roland McGrath <roland@hack.frob.com>
36248
36249 [BZ #2074]
36250 * libio/libio.h (__io_write_fn): Update comment.
36251
247c3ede
PB
362522012-04-12 Petr Baudis <pasky@ucw.cz>
36253
36254 [BZ #2074]
36255 * stdio.texi (Hook Functions): The user provided writer function
36256 is not allowed to return -1.
36257
55939d6d
DM
362582012-04-11 David S. Miller <davem@davemloft.net>
36259
36260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36261
90020f5a
MF
362622012-04-11 Mike Frysinger <vapier@gentoo.org>
36263
36264 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36265 Add a leading slash to rtkaio.
36266
288f9098
JM
362672012-04-11 Jim Meyering <meyering@redhat.com>
36268
90020f5a
MF
36269 [BZ #11959]
36270 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36271 It is not necessarily an error to ignore fwrite's return
36272 value. One can reliably use ferror to test for errors after
36273 the fact.
288f9098 36274
4be2b570
L
362752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36276
36277 * bits/types.h (__snseconds_t): New type.
36278 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36279
36280 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36282 (__SNSECONDS_T_TYPE): Likewise.
36283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36284 (__SNSECONDS_T_TYPE): Likewise.
36285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36286 (__SNSECONDS_T_TYPE): Likewise.
36287
288f9098 362882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
36289
36290 [BZ #2636]
36291 * manual/time.texi (Processor Time): Return type of times is
36292 elapsed real time since an arbitrary point in the past.
36293 (CPU Time): Move CLK_TCK from here...
36294 (Processor Time): ...to here. Correct description.
36295 * manual/conf.texi (Constants for Sysconf): Correct description of
36296 _SC_CLK_TCK.
36297
d7dd4413
DM
362982012-04-10 David S. Miller <davem@davemloft.net>
36299
36300 [BZ #13967]
36301 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36302 where the is a gap between DT_REL(A) and DT_JMPREL.
36303
b46068fc
L
363042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36305
36306 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36307 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36308 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36309
73d65cc3
SP
363102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36311
36312 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36313 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36314 (dl_main): Handle --inhibit-cache.
36315 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36316 _dl_inhibit_cache.
36317 * elf/dl-load.c (_dl_map_object): Use it.
36318 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36319
bcc8d661
JM
363202012-04-09 Joseph Myers <joseph@codesourcery.com>
36321
8f9a2fae
JM
36322 [BZ #13872]
36323 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36324 (__ieee754_powl): Saturate large exponents rather than testing for
36325 overflow of y*log2(x).
36326 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36327 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36328 exceptions.
36329
bcc8d661
JM
36330 [BZ #11521]
36331 * math/s_ctan.c: Include <float.h>.
36332 (__ctan): Avoid internal overflow or cancellation in calculating
36333 denominator.
36334 * math/s_ctanf.c: Likewise.
36335 * math/s_ctanl.c: Likewise.
36336 * math/s_ctanh.c: Likewise.
36337 * math/s_ctanhf.c: Likewise.
36338 * math/s_ctanhl.c: Likewise.
36339 * math/libm-test.inc (ctan_test): Add more tests.
36340 (ctanh_test): Likewise.
36341 * sysdeps/i386/fpu/libm-test-ulps: Update.
36342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36343
823fbbb4
AJ
363442012-04-09 Andreas Jaeger <aj@suse.de>
36345
03879793
AJ
36346 [BZ #6894]
36347 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36348 is an optional BSD extension.
36349
823fbbb4
AJ
36350 [BZ #10254]
36351 * manual/stdio.texi (Opening Streams): Document additional fopen
36352 parameters.
36353
8de131cb
RM
363542012-04-09 Roland McGrath <roland@hack.frob.com>
36355
36356 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36357 %eax without telling the compiler.
36358
c0ed9d7d
CD
363592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36360
36361 [BZ # 13963]
36362 * manual/install.texi: Use sourceware.org.
36363
c483f6b4
JM
363642012-04-09 Joseph Myers <joseph@codesourcery.com>
36365
d7dd9453
JM
36366 [BZ #13873]
36367 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36368 (__ieee754_pow): Generate overflow and underflow using huge*huge
36369 and tiny*tiny rather than just returning constant infinity or zero
36370 for large exponents.
36371 * math/libm-test.inc (pow_test): Require overflow exceptions for
36372 applicable cases of large exponents.
36373
c483f6b4
JM
36374 [BZ #706]
36375 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36376 (__ieee754_pow): Use iterative multiplication algorithm only for
36377 integer exponents with absolute value below 1024. Check for odd
36378 integer exponents when using algorithm for real exponents.
36379 * math/libm-test.inc (pow_test): Add more tests.
36380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36381
d2de7579
JM
363822012-04-08 Joseph Myers <joseph@codesourcery.com>
36383
36384 [BZ #13705]
36385 * math/libm-test.inc (exp_test): Do not allow overflow exception
36386 on underflow test.
36387
f77f1232
AJ
363882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36389
36390 [BZ #13705]
36391 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36392 instead of __kernel_standard_f.
36393
3884932b
MF
363942012-04-08 Mike Frysinger <vapier@gentoo.org>
36395
36396 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36397 * sysdeps/x86_64/memset_chk.S: Likewise.
36398
54472e9c
AJ
363992012-04-08 Andreas Jaeger <aj@suse.de>
36400
6ab0fbfc
AJ
36401 [BZ #10153]
36402 * manual/startup.texi (Environment Access): Describe return value
36403 for putenv and setenv.
36404
61efba8c
AJ
36405 [BZ #6895]
36406 * manual/filesys.texi (Directory Entries): Add description for
36407 DT_LNK.
36408
95c3f29a
AJ
36409 [BZ #6890]
36410 * manual/filesys.texi (Directory Entries): Clarify that it's file
36411 system not operating system in the description of DT_UNKNOWN.
36412
54472e9c
AJ
36413 [BZ #6578]
36414 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36415
624254b1
SC
364162012-04-08 Stephen Compall <s11@member.fsf.org>
36417
36418 [BZ #6649]
36419 * manual/llio.texi (Opening and Closing Files): Add cross
36420 reference to explain mode argument.
36421
1e4920e0
MF
364222012-04-07 Mike Frysinger <vapier@gentoo.org>
36423
36424 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36425 * sysdeps/x86_64/memset_chk.S: Likewise.
36426
5ed848f3
DM
364272012-04-07 David S. Miller <davem@davemloft.net>
36428
36429 * elf/elf.h (R_SPARC_WDISP10): Define.
36430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36431 R_SPARC_SIZE32.
36432 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36433 R_SPARC_SIZE64 and R_SPARC_H34.
36434
96154cd8
CD
364352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36436
36437 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36438 conditions and remove no longer applicable assertion.
36439
9904dc47
L
364402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36441
36442 * bits/byteswap.h: Include <features.h>.
36443 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36444 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36445
f8887d0a
L
364462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36447
36448 * bits/byteswap.h (__bswap_16): Removed.
36449 Include <bits/byteswap-16.h> to get __bswap_16.
36450 * sysdeps/i386/bits/byteswap.h: Likewise.
36451 * sysdeps/s390/bits/byteswap.h: Likewise.
36452 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36453 * bits/byteswap-16.h: New file.
36454 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36455 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36456 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36457 * string/Makefile (headers): Add bits/byteswap-16.h.
36458
62470f60
PP
364592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36460
36461 [BZ #13895]
36462 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36463 extra indirection.
36464 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36465 * nss/tst-nss-static.c: New.
36466
4dad7bab
RM
364672012-04-06 Robert Millan <rmh@gnu.org>
36468
36469 [BZ #6486]
36470 * manual/llio.texi (File Position Primitive): lseek
36471 refers to WHENCE when it really means OFFSET.
36472
e9142a17
AJ
364732012-04-06 Andreas Jaeger <aj@suse.de>
36474
2c040eff
AJ
36475 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36476 strncmp declarations.
36477
e9142a17
AJ
36478 * abilist/libc.abilist: Add __poll and __ppoll.
36479
ff9f1c5f
DM
364802012-04-05 David S. Miller <davem@davemloft.net>
36481
dcd2ae90
DM
36482 * scripts/check-local-headers.sh: Accept a host triplet in the
36483 path matched by the exclude regexp.
36484
993eb054
DM
36485 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36486 definition.
36487 * sysdeps/powerpc/powerpc32/dl-machine.h
36488 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36489 * sysdeps/s390/s390-32/dl-machine.h
36490 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36491 * sysdeps/sparc/sparc32/dl-machine.h
36492 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36493 * sysdeps/sparc/sparc64/dl-machine.h
36494 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36495
ff9f1c5f
DM
36496 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36497 lazy binding.
48e2e132 36498 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
36499 undefined symbol errors.
36500
48e2e132 36501 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
36502 DT_NEEDED entries.
36503
e80d6f94
MM
365042012-04-05 Michael Matz <matz@suse.de>
36505
36506 [BZ #13592]
36507 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36508
349fa79f
AJ
365092012-04-05 Andreas Jaeger <aj@suse.de>
36510
36511 [BZ #13908]
36512 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36513 comment.
36514
f402708f
KK
365152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36516
36517 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36518 which ROUND is no valid rounding mode.
36519
2ecccfc9
KK
365202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36521
36522 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36523 read again.
36524 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36525
8a53f50f
KK
365262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36527
36528 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36529 an exception using FPU order intentionally.
36530
365312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36532
36533 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36534 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36535 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36536 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36537
d653abb7
SJ
365382012-04-05 Simon Josefsson <simon@josefsson.org>
36539
36540 [BZ #12340]
36541 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36542 EINVAL when BUFLEN is too smal.
36543
c3b1bf7d
TS
365442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36545
36546 [BZ #13553]
36547 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36548 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36549
b1aa60f3
AJ
365502012-04-03 Andreas Jaeger <aj@suse.de>
36551
c3b1bf7d 36552 [BZ #13938]
67f60a26
AJ
36553 * manual/setjmp.texi (System V contexts): Fix sentence.
36554
b1aa60f3
AJ
36555 [BZ #13926]
36556 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36557 New macro for this case.
36558 [!__GNUC__] (__bswap_64): New inline function for this case.
36559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36560 * bits/byteswap.h: Likewise.
36561 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36562 ull, guard with __GLIBC_HAVE_LONG_LONG.
36563
36564 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36565 __GLIBC_HAVE_LONG_LONG.
36566
36567 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36568 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36569
39c59c35
TMQMF
365702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36571
36572 [BZ #13691]
36573 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36574 inptr and inend, rather than using last_ch.
36575
135ffda8
DM
365762012-04-02 David S. Miller <davem@davemloft.net>
36577
36578 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36579 * stdio-common/printf-parse.h (read_int): Change return type to
36580 'int', return -1 on INT_MAX overflow.
36581 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36582 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36583 overflows INT_MAX. Check for overflow of in-format-string precision
36584 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36585 SIZE_MAX not INT_MAX for integer overflow test.
36586 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36587 skip the construct in the format string but do not record anything.
36588 * stdio-common/bug22.c: Adjust to test both width/prevision
36589 INT_MAX overflow as well as total length INT_MAX overflow. Check
36590 explicitly for proper errno values.
36591
228c019e
TS
365922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36593
302cadd3
TS
36594 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36595 CHAR_MAX.
36596 * string/test-strcmp.c [! WIDE]: Likewise.
36597 * time/tst-mktime2.c: Likewise for INT_MAX.
36598 * string/test-string.h: #include <sys/param.h> for MIN.
36599
228c019e
TS
36600 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36601 * sysdeps/i386/init-first.c (init): Likewise.
36602 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36603 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36604 * sysdeps/sh/init-first.c (init): Likewise.
36605
cfa633f5
UD
366062012-04-01 Ulrich Drepper <drepper@gmail.com>
36607
36608 * po/ru.po: Update from translation team.
d1635ef8 36609 * po/vi.po: Likewise.
cfa633f5 36610
6cd0a5ea
SP
366112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36612
36613 * resolv/nss_dns/dns-host.c: Merge copyright years.
36614
4b43400f
LD
366152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36616
36617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36618 Optimize memcpy with prefetch if
36619 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36620 src, dst pointers have unequal 16 byte alignments.
36621
48c41d04
SP
366222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36623
36624 [BZ #13928]
36625 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36626 from a CNAME entry and return the minimum ttl for the query.
36627 (gaih_getanswer_slice): Likewise.
36628
b8dc394d
JL
366292012-03-30 Jeff Law <law@redhat.com>
36630
36631 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36632 due to long keys.
36633 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36634 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36635
2f5a5ed0
JL
36636 * resolv/nss_dns/dns-host.c: Update copyright year.
36637
1d39e359
UD
366382012-03-30 Ulrich Drepper <drepper@gmail.com>
36639
c030f70c 36640 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 36641 requests to save a system call. Fix check that all bytes are sent.
c030f70c 36642
1d39e359
UD
36643 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36644 comments for sendmmsg.
36645
366462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
36647
36648 [BZ #13691]
36649 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36650 with only 1 character between 0x0041 and 0x01b0.
36651 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36652 * wcsmbs/tst-mbsnrtowcs.c: New file.
36653
20fde227
DM
366542012-03-29 David S. Miller <davem@davemloft.net>
36655
36656 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36657 small copies by hand.
36658
984a4237
JL
366592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36660
36661 [BZ #13761]
57f41c40
AS
36662 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36663 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36664 group memberships.
984a4237 36665
18c9d62b
DM
366662012-03-28 David S. Miller <davem@davemloft.net>
36667
88d85d4f
DM
36668 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36669 that branches into memcpy.
36670 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36673 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36675 bits.
36676 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36677 implementation too.
36678 * sysdeps/sparc/mempcpy.S: New file.
36679
e5aa83e1
DM
36680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36681 the IFUNC routine in the libc case.
36682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36683
88570753
DM
36684 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36685 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36686 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36687 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36688 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36689 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36690 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36691 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36692
249d7567
DM
36693 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36694 loop to 256 bytes instead of 64 bytes and fix test signedness.
36695
18c9d62b
DM
36696 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36697 * sysdeps/sparc/sparc32/Makefile: rather than here...
36698 * sysdeps/sparc/sparc64/Makefile: and here.
36699
05f3d1f6
UD
367002012-03-28 Ulrich Drepper <drepper@gmail.com>
36701
36702 * malloc/mallocbug.c: Avoid warnings about unused variables.
36703
86ae07a8
JL
367042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36705
36706 [BZ #13760]
36707 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36708 in the right place. Discard and retry query if response is
36709 larger than input buffer size.
36710
41bf21a1
JM
367112012-03-28 Joseph Myers <joseph@codesourcery.com>
36712
d6270972
JM
36713 [BZ #369]
36714 [BZ #2678]
36715 [BZ #3866]
36716 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36717 x for large integer exponent.
36718 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36719 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36720 sign of result as needed afterwards.
36721 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36722 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36723 result for underflowing pow the same as for overflow.
36724 (__kernel_standard_l): Handle powl overflow and underflow here
36725 rather than calling __kernel_standard.
36726 * math/libm-test.inc (pow_test): Add more tests.
36727
414fca03 36728 [BZ #3868]
41bf21a1
JM
36729 [BZ #13879]
36730 [BZ #13910]
36731 [BZ #13911]
36732 [BZ #13912]
36733 [BZ #13913]
36734 [BZ #13915]
36735 [BZ #13916]
36736 [BZ #13917]
36737 [BZ #13918]
36738 [BZ #13919]
36739 [BZ #13920]
36740 [BZ #13921]
36741 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36742 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36743 (__kernel_standard_l): New function.
36744 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36745 __kernel_standard.
36746 * math/w_acosl.c (__acosl): Likewise.
36747 * math/w_asinl.c (__asinl): Likewise.
36748 * math/w_atan2l.c (__atan2l): Likewise.
36749 * math/w_atanhl.c (__atanhl): Likewise.
36750 * math/w_coshl.c (__coshl): Likewise.
36751 * math/w_exp10l.c (__exp10l): Likewise.
36752 * math/w_exp2l.c (__exp2l): Likewise.
36753 * math/w_fmodl.c (__fmodl): Likewise.
36754 * math/w_hypotl.c (__hypotl): Likewise.
36755 * math/w_j0l.c (__j0l, __y0l): Likewise.
36756 * math/w_j1l.c (__j1l, __y1l): Likewise.
36757 * math/w_jnl.c (__jnl, __ynl): Likewise.
36758 * math/w_lgammal.c (__lgammal): Likewise.
36759 * math/w_log10l.c (__log10l): Likewise.
36760 * math/w_log2l.c (__log2l): Likewise.
36761 * math/w_logl.c (__logl): Likewise.
36762 * math/w_powl.c (__powl): Likewise.
36763 * math/w_remainderl.c (__remainderl): Likewise.
36764 * math/w_scalbl.c (sysv_scalbl): Likewise.
36765 * math/w_sinhl.c (__sinhl): Likewise.
36766 * math/w_sqrtl.c (__sqrtl): Likewise.
36767 * math/w_tgammal.c (__tgammal): Likewise.
36768 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36769 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36770 * math/libm-test.inc (acos_test): Add more tests.
36771 (acosh_test): Likewise.
36772 (asin_test): Likewise.
36773 (atanh_test): Likewise.
36774 (exp_test): Likewise.
36775 (exp10_test): Likewise.
36776 (exp2_test): Likewise.
36777 (expm1_test): Likewise.
36778 (lgamma_test): Likewise.
36779 (log_test): Likewise.
36780 (log10_test): Likewise.
36781 (log1p_test): Likewise.
36782 (log2_test): Likewise.
36783 (pow_test): Do not allow some spurious overflow exceptions.
36784 (sqrt_test): Add more tests.
36785 (tgamma_test): Likewise.
36786 (y0_test): Likewise.
36787 (y1_test): Likewise.
36788 (yn_test): Likewise.
36789
dd62fda6
AB
367902012-03-27 Anton Blanchard <anton@samba.org>
36791
36792 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36793 MAP_HUGETLB.
36794 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36795 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36796 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36797
1e3cdfda
AJ
367982012-03-27 David S. Miller <davem@davemloft.net>
36799
b855ab85
DM
36800 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36801
1e3cdfda
AJ
36802 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36803 have-as-vis3 check.
36804
368052012-03-27 Andreas Jaeger <aj@suse.de>
36806
36807 * sysdeps/x86_64/elf/configure.in: Moved to ...
36808 * sysdeps/x86_64/configure.in: ... here.
36809 * sysdeps/x86_64/elf/start.S: Moved to ...
36810 * sysdeps/x86_64/start.S: ... here.
36811 * sysdeps/x86_64/elf/configure: Delete.
36812
36813 * sysdeps/x86_64/configure.in: Merge contents from
36814 sysdeps/i386/configure.in (without i686 check).
36815
36816 * sysdeps/i386/elf/Versions: Merge into ...
36817 * sysdeps/i386/Versions: ... this.
36818 * sysdeps/i386/elf/Versions: Delete file.
36819 * sysdeps/i386/elf/start.S: Moved to ...
36820 * sysdeps/i386/start.S: ...here.
36821 * sysdeps/i386/elf/configure.in: Merge into...
36822 * sysdeps/i386/configure.in: ...here.
36823 * sysdeps/i386/elf/configure.in: Delete file.
36824 * sysdeps/i386/elf/configure: Delete file.
36825
36826 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36827 * debug/backtracesyms.c: ... here.
36828 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36829 * debug/backtracesymsfd.c: ... here.
36830 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36831 * sysdeps/generic/ifunc-sel.h: ... here.
36832
36833 * sysdeps/unix/i386/start.c: Delete file.
36834 * sysdeps/unix/sparc/start.c: Delete file.
36835 * sysdeps/unix/start.c: Delete file.
36836
36837 * sysdeps/sh/elf/configure.in: Moved to ...
36838 * sysdeps/sh/configure.in: ... here.
36839 * sysdeps/sh/elf/start.S: Moved to ...
36840 * sysdeps/sh/start.S: ... here.
36841 * sysdeps/sh/elf/configure: Delete file.
36842
36843 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36844 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36845 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36846 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36847 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36848 * sysdeps/powerpc/powerpc64/start.S: here.
36849 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36850 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36851 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36852 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36853 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36854
36855 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36856 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36857 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36858 * sysdeps/powerpc/powerpc32/start.S: ... here.
36859 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36860 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36861 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36862
36863 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36864 * sysdeps/powerpc/ifunc-sel.h: ... here.
36865 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36866 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36867
36868 * sysdeps/sparc/elf/configure.in: Moved to ...
36869 * sysdeps/sparc/configure.in: ... here.
36870 * sysdeps/sparc/elf/configure: Delete file.
36871 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36872 * sysdeps/sparc/sparc32/start.S: ... here.
36873 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36874 * sysdeps/sparc/sparc64/start.S: ... here.
36875 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36876 * sysdeps/sparc/sparc32/Makefile: ... this.
36877 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36878 * sysdeps/sparc/sparc64/Makefile: ... this.
36879
36880 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36881 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36882 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36883 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36884 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36885 * sysdeps/s390/s390-32/setjmp.S: ... here.
36886 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36887 * sysdeps/s390/s390-32/configure.in: ... here.
36888 * sysdeps/s390/s390-32/elf/configure: Delete file.
36889 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36890 * sysdeps/s390/s390-32/start.S: ... here.
36891
36892 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36893 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36894 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36895 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36896 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36897 * sysdeps/s390/s390-64/setjmp.S: ... here.
36898 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36899 * sysdeps/s390/s390-64/configure.in: ... here
36900 * sysdeps/s390/s390-64/elf/configure: Delete file.
36901 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36902 * sysdeps/s390/s390-64/start.S: ... here.
36903 * sysdeps/s390/s390-64/elf/configure: Delete.
36904
36905 * configure.in: Remove support for elf directories in sysdeps.
36906
36907 * configure: Regenerated.
36908 * sysdeps/i386/configure: Regenerated.
36909 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36910 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36911 * sysdeps/s390/s390-32/configure: Regenerated.
36912 * sysdeps/s390/s390-64/configure: Regenerated.
36913 * sysdeps/sh/configure: Regenerated.
36914 * sysdeps/sparc/configure: Regenerated.
36915 * sysdeps/x86_64/configure: Regenerated.
36916
a3f61311
AS
369172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36918
c876e002
AS
36919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36920
a3f61311
AS
36921 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36922 denormal result into account.
36923
ac4c54f0
RM
369242012-03-25 Roland McGrath <roland@hack.frob.com>
36925
36926 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36927 Reported by Allan McRae <allan@archlinux.org>.
36928
6a9b9c02
JL
369292012-03-23 Jeff Law <law@redhat.com>
36930
36931 * nss/getnssent.c (__nss_getent): Fix typo.
36932
4c42a0c1
DM
369332012-03-23 David S. Miller <davem@davemloft.net>
36934
36935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36936
1532c7ac
L
369372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36938
36939 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36940 to pad to uint64_t for each field.
36941 (dl_tls_index): Replace unsigned long with uint64_t.
36942
3ff42526
PP
369432012-03-23 Daniel Jacobowitz <dmj@google.com>
36944 Paul Pluzhnikov <ppluzhnikov@google.com>
36945
36946 [BZ #6528]
36947 * grp/Makefile (otherlibs): Don't set it.
36948 * inet/Makefile (otherlibs): Likewise.
36949 * login/Makefile (otherlibs): Likewise.
36950 * nscd/Makefile (otherlibs): Likewise.
36951 * posix/Makefile (otherlibs): Likewise.
36952 * pwd/Makefile (otherlibs): Likewise.
36953 * rt/Makefile (otherlibs): Likewise.
36954 * sunrpc/Makefile (otherlibs): Likewise.
36955 * nss/Makefile (otherlibs): Likewise.
36956 Add libnss_files to routines and static-only-routines.
36957 ($(objpfx)getent): Remove rule.
36958 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36959 static-only-routines.
36960
7c69cd14
JM
369612012-03-22 Joseph Myers <joseph@codesourcery.com>
36962
36963 [BZ #13892]
36964 * math/s_cexp.c: Include <float.h>.
36965 (__cexp): Handle exp result overflowing not necessarily
36966 overflowing both real and imaginary parts of result.
36967 * math/s_cexpf.c: Likewise.
36968 * math/s_cexpl.c: Likewise.
36969 * math/libm-test.inc (cexp_test): Add more tests.
36970 * sysdeps/i386/fpu/libm-test-ulps: Update.
36971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36972
81b035fe
L
369732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36974
36975 * include/link.h (ELFW): New macro.
36976 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36977 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36978
1da7940c
L
369792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36980
36981 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36982 with uint64_t.
36983
b749dbb9
L
369842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36985
36986 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36987 declaration.
36988 (struct La_x32_retval): Likewise.
36989
2ff87f3f
L
369902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36991
36992 * sysdeps/x86_64/preconfigure.in: New file.
36993 * sysdeps/x86_64/preconfigure: New generated file.
36994
c0df8e69
JM
369952012-03-22 Joseph Myers <joseph@codesourcery.com>
36996
48e44791
JM
36997 [BZ #13824]
36998 * math/e_exp2l.c: Include <float.h>.
36999 (__ieee754_exp2l): Handle overflow and underflow cases
37000 separately. Only pass fractional part of argument to
37001 __ieee754_expl.
37002 * math/libm-test.inc (exp2_test): Add more tests.
37003
c0df8e69
JM
37004 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37005 negating x to take absolute value.
37006 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37007 Likewise.
37008 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37009 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37010 Likewise.
37011 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37012 computing low part if x was negated.
37013 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37014
c8e43ba7
L
370152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37016
37017 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37018 la_x32_gnu_pltexit.
37019 (pltexit): Cast int_retval to ptrdiff_t.
37020 * elf/tst-auditmod3b.c: Likewise.
37021 * elf/tst-auditmod4b.c: Likewise.
37022 * elf/tst-auditmod5b.c: Likewise.
37023 * elf/tst-auditmod6b.c: Likewise.
37024 * elf/tst-auditmod6c.c: Likewise.
37025 * elf/tst-auditmod7b.c: Likewise.
37026
37027 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37028 and x32_gnu_pltexit.
37029
37030 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37031 __ELF_NATIVE_CLASS.
37032 (La_x32_regs): New macro.
37033 (La_x32_retval): Likewise.
37034 (la_x32_gnu_pltenter): New function prototype.
37035 (la_x32_gnu_pltexit): Likewise.
37036
7998fa78
AS
370372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37038
dcb33988
AS
37039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37040 exponent.
37041
233fc563
AS
37042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37043
7998fa78
AS
37044 * configure.in (libc_cv_cc_nofma): Check for option to disable
37045 generation of FMA instructions.
37046 * configure: Regenerate.
37047 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37048 * sysdeps/ieee754/dbl-64/Makefile: New file.
37049 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37050 Remove brandred-fma4.
37051 (CFLAGS-brandred-fma4.c): Remove.
37052 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37053 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37054 define.
37055 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37056 define.
37057
8e95c99a
L
370582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37059
37060 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37061 LLONG_MAX != LONG_MAX.
37062 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37063 (_fitoa_word): Likewise.
37064 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37065 LLONG_MAX != LONG_MAX.
37066 * stdio-common/_itowa.h: Include <_itoa.h>.
37067 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37068 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37069 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37070 only if not defined.
37071 (_ITOA_WORD_TYPE): Likewise.
37072 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37073 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37074
6f4db457
DM
370752012-03-21 David S. Miller <davem@davemloft.net>
37076
37077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37078
7785fe5a
L
370792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37080
37081 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37082 of x86_64 when setting libc_cv_slibdir, libdir and
37083 libc_cv_localedir.
37084 * sysdeps/unix/sysv/linux/configure: Regenerated.
37085
4535cd55
JM
370862012-03-21 Joseph Myers <joseph@codesourcery.com>
37087
37088 * manual/lang.texi (Old Varargs): Remove section.
37089 (How Variadic): Update menu.
37090 (va_start): Do not mention varargs.h.
37091
17228132
TS
370922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37093 Joseph Myers <joseph@codesourcery.com>
37094
37095 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37096 link test.
37097 * configure: Regenerated.
37098
8149f976
TS
370992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37100
05f3d1f6
UD
37101 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37102 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37103 conformtest.pl
8149f976 37104
1a4ac776
JM
371052012-03-21 Joseph Myers <joseph@codesourcery.com>
37106
be22ce65
JM
37107 * NOTES: Remove.
37108 * Makefile (files-for-dist): Remove NOTES.
37109 (NOTES): Remove rule.
37110 * README: Don't refer to NOTES.
37111 * manual/creature.texi: Don't include macros.texi.
37112 * manual/intro.texi (creature.texi): Remove comment referring to
37113 NOTES.
37114
40b601fb
JM
37115 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37116 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37117 * configure: Regenerated.
37118 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37119 LIBC_TRY_CC_OPTION.
37120 (libc_cv_as_i686): Likewise.
37121 (libc_cv_cc_avx): Likewise.
37122 (libc_cv_cc_sse2avx): Likewise.
37123 (libc_cv_cc_fma4): Likewise.
37124 (libc_cv_cc_novzeroupper): Likewise.
37125 * sysdeps/i386/configure: Regenerated.
37126
1a4ac776
JM
37127 [BZ #13883]
37128 * sysdeps/i386/fpu/s_cexp.S: Remove.
37129 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37130 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37131 * math/libm-test.inc (cexp_test): Add more tests.
37132 * sysdeps/i386/fpu/libm-test-ulps: Update.
37133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37134
a458e7fe
AM
371352012-03-21 Allan McRae <allan@archlinux.org>
37136
37137 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37138
0cb7efc5
JM
371392012-03-21 Joseph Myers <joseph@codesourcery.com>
37140
37141 [BZ #13871]
37142 * math/w_exp2.c: Do not include <float.h>.
37143 (o_threshold, u_threshold): Remove.
37144 (__exp2): Calculate result before checking finiteness and calling
37145 __kernel_standard.
37146 * math/w_exp2f.c: Likewise.
37147 * math/w_exp2l.c: Likewise.
37148 * math/libm-test.inc (exp2_test): Require overflow exception for
37149 1e6 input.
2460d3aa
JM
37150
37151 [BZ #3866]
37152 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37153 range of signed 64-bit integers before using fistpll. Remove
37154 checks for whether integers fit in mantissa bits.
37155 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37156 the range of signed 32-bit integers before using fistpl. Remove
37157 checks for whether integers fit in mantissa bits.
37158 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37159 (__ieee754_powl): Test for y outside the range of signed 64-bit
37160 integers before using fistpll. Reduce 64-bit values to 63-bit
37161 ones as needed.
37162 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37163 divide-by-zero is raised for zero to large negative powers.
37164 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37165 (__ieee754_powl): Test for y outside the range of signed 64-bit
37166 integers before using fistpll. Reduce 64-bit values to 63-bit
37167 ones as needed.
37168 * math/libm-test.inc (pow_test): Add more tests.
37169
eb96ffb0
L
371702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37171
37172 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37173 <stdio-common/_itoa.h>.
37174 * debug/segfault.c: Likewise.
37175 * elf/dl-cache.c: Likewise.
37176 * elf/dl-minimal.c: Likewise.
37177 * elf/dl-misc.c: Likewise.
37178 * elf/dl-sysdep.c: Likewise.
37179 * elf/dl-version.c: Likewise.
37180 * elf/rtld.c: Likewise.
37181 * hurd/hurdsock.c: Likewise.
37182 * hurd/lookup-retry.c: Likewise.
37183 * malloc/malloc.c: Likewise.
37184 * malloc/mtrace.c: Likewise.
37185 * nscd/nscd_getgr_r.c: Likewise.
37186 * nscd/nscd_getpw_r.c: Likewise.
37187 * nscd/nscd_getserv_r.c: Likewise.
37188 * posix/getopt_init.c: Likewise.
37189 * posix/wordexp.c: Likewise.
37190 * stdio-common/_itoa.c: Likewise.
37191 * stdio-common/printf_fphex.c: Likewise.
37192 * stdio-common/vfprintf.c: Likewise.
37193 * string/_strerror.c: Likewise.
37194 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37195 * sysdeps/i386/i686/hp-timing.h: Likewise.
37196 * sysdeps/mach/_strerror.c: Likewise.
37197 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37198 * sysdeps/mach/hurd/sethostid.c: Likewise.
37199 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37200 * sysdeps/mach/xpg-strerror.c: Likewise.
37201 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37202 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37203 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37204 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37205 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37206 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37207 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37208 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37209 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37210 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37211 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37212 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37213 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37214 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37215 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37216 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37217 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37218 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37219 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37220 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37221 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37222
37223 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37224
37225 * stdio-common/_itoa.h: Moved to ...
37226 * sysdeps/generic/_itoa.h: Here.
37227
37228 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37229
37230 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37231 instead of "_itoa.h" and "_itowa.h".
37232 * stdio-common/vfprintf.: Likewise.
37233
d1af992d
L
372342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37235
37236 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37237 <bits/wordsize.h>.
37238 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37239 (__signbit): Likwise.
37240 (llrintf): Likwise.
37241 (llrint): Likwise.
37242
114883e0
L
372432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37244
37245 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37246 __WORDSIZE != 64.
37247
c135cc1b
JM
372482012-03-20 Joseph Myers <joseph@codesourcery.com>
37249
37250 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37251 OVERFLOW_EXCEPTION_OK.
37252 * math/libm-test.inc ("Philosophy"): Update comment about
37253 exception testing.
37254 (OVERFLOW_EXCEPTION): Define.
37255 (OVERFLOW_EXCEPTION_OK): Likewise.
37256 (INVALID_EXCEPTION_OK): Renumber.
37257 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37258 (IGNORE_ZERO_INF_SIGN): Likewise.
37259 (test_exceptions): Handle FE_OVERFLOW.
37260 (exp10_test): Expect overflow exceptions.
37261 (exp2_test): Likewise.
37262 (expm1_test): Likewise.
37263 (nextafter_test): Likewise.
37264 (pow_test): Likewise.
37265 (scalbn_test): Likewise.
37266 (scalbln_test): Likewise.
37267
95443d88
L
372682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37269
37270 * sysdeps/x86_64/bits/atomic.h
37271 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37272 64bit integer.
37273 (atomic_exchange_acq): Likewise.
37274 (__arch_exchange_and_add_body): Likewise.
37275 (__arch_add_body): Likewise.
37276 (atomic_add_negative): Likewise.
37277 (atomic_add_zero): Likewise.
37278
490df6c4
L
372792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37280
c2722551 37281 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
37282 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37283
5e52b189
L
372842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37285
37286 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37287 Check __x86_64__ instead of __WORDSIZE.
37288
a9879d4c
L
372892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37290
37291 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37292
5df98260
DM
372932012-03-19 David S. Miller <davem@davemloft.net>
37294
e1497744
DM
37295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37296
5df98260
DM
37297 * sysdeps/sparc/fpu/fenv_private.h: New file.
37298 * sysdeps/sparc/fpu/math_private.h: Use it.
37299 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37300 Remove.
57f41c40 37301 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
37302 (libc_feholdexcept_setroundl): Remove.
37303 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37304 Remove.
37305 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37306 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37307
b4c35121
L
373082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37309
37310 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37311 int64_t instead of long int.
37312 (INSERT_WORDS64): Likwise.
37313
56965fd7
L
373142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37315
37316 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37317 _Unwind_GetCFA return to _Unwind_Ptr first.
37318
83d1aec8
JM
373192012-03-19 Joseph Myers <joseph@codesourcery.com>
37320
1897ad44
JM
37321 [BZ #13629]
37322 * math/s_clog.c: Include <float.h>.
37323 (__clog): Scale large or subnormal inputs.
37324 * math/s_clogf.c: Likewise.
37325 * math/s_clogl.c: Likewise.
37326 * math/s_clog10.c: Include <float.h>.
37327 (M_LOG10_2): Define.
37328 (__clog10): Scale large or subnormal inputs.
37329 * math/s_clog10f.c: Likewise.
37330 * math/s_clog10l.c: Likewise.
37331 * math/libm-test.inc (clog_test): Add more tests.
37332 (clog10_test): Likewise.
37333 * sysdeps/i386/fpu/libm-test-ulps: Update.
37334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37335
7726d6a9
JM
37336 [BZ #11451]
37337 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37338 x and y.
37339 * math/libm-test.inc (atan2_test): Add another test.
37340
83d1aec8
JM
37341 * Makerules (common-objdir-compile): Remove.
37342 * sysdeps/unix/Makefile (config-generated): Do not add
37343 $(unix-generated) to variable.
37344 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37345 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37346 Remove rule.
37347 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37348 Likewise.
37349 [generic bits/local_lim.h] (before-compile): Do not append to
37350 variable.
37351 [generic bits/local_lim.h] (common-generated): Likewise.
37352 [generic sys/param.h] (before-compile): Do not append to variable.
37353 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37354 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37355 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37356 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37357 include.
37358 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37359 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37360 [generic sys/param.h] ($(addprefix
37361 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37362 [generic sys/param.h] (common-generated): Do not append to
37363 variable.
37364 [generic sys/param.h] (sysdep_headers): Likewise.
37365 [generic bits/errno.h] (before-compile): Do not append to
37366 variable.
37367 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37368 rule.
37369 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37370 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37371 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37372 [generic bits/errno.h] (common-generated): Do not append to
37373 variable.
37374 [generic bits/ioctls.h] (before-compile): Do not append to
37375 variable.
37376 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37377 rule.
37378 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37379 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37380 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37381 rule.
37382 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37383 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37384 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37385 [generic bits/ioctls.h] (common-generated): Do not append to
37386 variable.
37387 [generic sys/syscall.h] (syscall.h): Remove variable.
37388 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37389 rule.
37390 [generic sys/syscall.h] (before-compile): Do not append to
37391 variable.
37392 [generic sys/syscall.h] (common-generated): Likewise.
37393 * sysdeps/unix/errnos-tmpl.c: Remove file.
37394 * sysdeps/unix/errnos.awk: Likewise.
37395 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37396 * sysdeps/unix/ioctls.awk: Likewise.
37397 * sysdeps/unix/mk-local_lim.c: Likewise.
37398 * sysdeps/unix/snarf-ioctls: Likewise.
37399
4851a949
RH
374002012-03-19 Richard Henderson <rth@twiddle.net>
37401
bd37f2ee
RH
37402 * sysdeps/i386/fpu/fenv_private.h: New file.
37403 * sysdeps/i386/fpu/math_private.h: Use it.
37404 (math_opt_barrier, math_force_eval): Remove.
37405 (libc_feholdexcept_setround_53bit): Remove.
37406 (libc_feupdateenv_53bit): Remove.
37407 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37408 (math_opt_barrier, math_force_eval): Remove.
37409 (libc_feholdexcept): Remove.
37410 (libc_feholdexcept_setround): Remove.
37411 (libc_fetestexcept, libc_fesetenv): Remove.
37412 (libc_feupdateenv_test): Remove.
37413 (libc_feupdateenv, libc_feholdsetround): Remove.
37414 (libc_feresetround): Remove.
37415
d0adc922
RH
37416 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37417 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37418
0fe0f1f8
RH
37419 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37420 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37421 (libc_feupdateenv_testl): New.
37422 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37423 (libc_feupdateenv_testf): New.
37424 (libc_feupdateenv): Use libc_feupdateenv_test.
37425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37426 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37427
eb92c487
RH
37428 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37429 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37430 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37431 (libc_feresetround_noex): New.
37432 (libc_feresetround_noexf): New.
37433 (libc_feresetround_noexl): New.
37434 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37435 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37436 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37437 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37438 SET_RESTORE_ROUND.
37439 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37440 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37441 (__cos): Likewise.
37442 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37443 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37444 SET_RESTORE_ROUND_NOEX.
37445 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37446 SET_RESTORE_ROUND_NOEXF.
37447 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37448 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37449 (libc_feholdsetroundf): New.
37450 (libc_feresetround, libc_feresetroundf): New.
37451
7d2e8012
RH
37452 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37453 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37454 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37455
b4dabbb4
RH
37456 * sysdeps/generic/math_private.h: Include <fenv.h>.
37457 (default_libc_feholdexcept): New.
37458 (default_libc_feholdexcept_setround): New.
37459 (default_libc_fesetenv, default_libc_feupdateenv): New.
37460 (libc_feholdexcept): Only define if undefined.
37461 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37462 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37463 (libc_feholdexcept_setroundl): Likewise.
37464 (libc_feholdexcept_setround_53bit): Likewise.
37465 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37466 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37467 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37468 (libc_feupdateenv_53bit): Likewise.
37469 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37470 (libc_feholdexcept): Convert from macro to inline function.
37471 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37472 (libc_fesetenv, libc_feupdateenv): Likewise.
37473
4851a949
RH
37474 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37475 not previously defined.
37476 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37477 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37478 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37479 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37480 * sysdeps/ieee754/flt-32/math_private.h: New file.
37481 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37482 math_private.h below SET_FLOAT_WORD.
37483 (__isnan, __isinf_ns, __finite): Remove.
37484 (__isnanf, __isinf_nsf, __finitef): Remove.
37485
e79d442e
AS
374862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37487
37488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37489
90b80344
DM
374902012-03-17 David S. Miller <davem@davemloft.net>
37491
37492 [BZ #6471]
37493 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37494 for 2.16.
37495
edc21804
DM
374962012-03-16 David S. Miller <davem@davemloft.net>
37497
77e927af
DM
37498 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37499 warnings.
37500
374976dd
DM
37501 [BZ #6471]
37502 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37503 properly.
37504 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37505 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37506 sysdep_routines when subdir is sysvipc.
37507 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37508 __getshmlba helper.
37509
edc21804
DM
37510 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37511
473c3ef3
L
375122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37513
37514 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37515 [__LP64__].
37516
eb0f39b6
L
375172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37518
37519 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37520 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37521 (__lround): Renamed to ...
37522 (__llround): This. Replace long int with long long int.
37523 Define lround functions as aliases of llround functions.
37524 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37525
6b6cd74b
L
375262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37527
37528 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37529 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37530 adresses to uintptr_t. Replace "long int" and "unsigned long
37531 int" with "greg_t" on va_arg.
37532
f1a77b01
L
375332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37534
37535 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37536 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37537
37538 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37539 Move e_machine check before EI_CLASS check. Handle x32
37540 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37541 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37542 SKIP_EM_IA_64 and include
37543 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37544
37545 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37546 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37547 (add_system_dir): New macro.
37548
37549 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37550 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37551
11b90b9f
JM
375522012-03-16 Joseph Myers <joseph@codesourcery.com>
37553
c36e1d23
JM
37554 [BZ #2551]
37555 [BZ #2552]
37556 [BZ #2553]
37557 [BZ #2554]
37558 [BZ #2562]
37559 [BZ #2563]
37560 [BZ #2565]
37561 [BZ #2566]
37562 [BZ #2576]
37563 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37564 (y0): Likewise.
37565 * math/w_j0f.c (j0f): Likewise.
37566 (y0f): Likewise.
37567 * math/w_j0l.c (__j0l): Likewise.
37568 (__y0l): Likewise.
37569 * math/w_j1.c (j1): Likewise.
37570 (y1): Likewise.
37571 * math/w_j1f.c (j1f): Likewise.
37572 (y1f): Likewise.
37573 * math/w_j1l.c (__j1l): Likewise.
37574 (__y1l): Likewise.
37575 * math/w_jn.c (jn): Likewise.
37576 (yn): Likewise.
37577 * math/w_jnf.c (jnf): Likewise.
37578 (ynf): Likewise.
37579 * math/w_jnl.c (__jnl): Likewise.
37580 (__ynl): Likewise.
37581 * math/libm-test.inc (j0_test): Add more tests.
37582 (j1_test): Likewise.
37583 (jn_test): Likewise. Add trailing semicolon to existing test.
37584 (y0_test): Likewise.
37585 (y1_test): Likewise.
37586 * sysdeps/i386/fpu/libm-test-ulps: Update.
37587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37588
11b90b9f
JM
37589 [BZ #13851]
37590 [BZ #13854]
37591 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37592 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37593 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37594 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37595 (__tanl): Set errno for infinite argument.
37596 * sysdeps/i386/fpu/mptan.c: Remove.
37597 * sysdeps/i386/fpu/s_tan.S: Likewise.
37598 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37599 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37600 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37601 * math/libm-test.inc (tan_test): Add more tests and enable more
37602 tests for double and long double.
37603 * sysdeps/i386/fpu/libm-test-ulps: Update.
37604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37605
6a1bd2a1
JK
376062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37607
37608 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37609 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37610
10a803e0
RM
376112012-03-16 Roland McGrath <roland@hack.frob.com>
37612
37613 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37614 * configure.in: Use it for both main tree and add-ons.
37615 * configure: Regenerated.
37616
f196c7f7
L
376172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37618
37619 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37620
8848d99d
JM
376212012-03-16 Joseph Myers <joseph@codesourcery.com>
37622
96cbe7f4
JM
37623 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37624 in comment.
37625
8848d99d
JM
37626 [BZ #13851]
37627 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37628 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37629 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37630 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37631 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37632 infinite argument.
37633 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37635 != 0 for prec == 2.
37636 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37637 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37638 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37639 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37640 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37641 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37642 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37643 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37644 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37645 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37646 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37647 * math/libm-test.inc (cos_test): Add more tests and enable more
37648 tests for long double.
37649 (sin_test): Likewise.
37650 (sincos_test): Likewise.
37651 * sysdeps/i386/fpu/libm-test-ulps: Update.
37652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37653
dd7f4703
DM
376542012-03-16 David S. Miller <davem@davemloft.net>
37655
37656 * sysdeps/sparc/fpu/math_private.h: New file.
37657
006f1daa
DM
376582012-03-15 David S. Miller <davem@davemloft.net>
37659
c0c83bc8
DM
37660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37661 file.
e6a62e18 37662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
37663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37664 file.
e6a62e18
DM
37665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37671 sysdep routines.
37672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37673
88cb87d9
DM
37674 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37675 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37676
006f1daa 37677 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
37678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37679 sparc-ifunc.h
006f1daa 37680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
37681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37682 Likewise.
37683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37684 Likewise.
006f1daa
DM
37685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
37688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37689 Likewise.
006f1daa
DM
37690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
37694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37695 Likewise.
37696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37697 Likewise.
006f1daa
DM
37698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37705 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37722
11e0098e
AS
377232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37724
37725 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37726 scaling.
37727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37728
e85b09d0
AJ
377292012-03-15 Andreas Jaeger <aj@suse.de>
37730
37731 [BZ #13852]
37732 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37733 ieee754/flt-32 implementation for sin, cos and sincos.
37734 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37735 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37736 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37737 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37738 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37739 ieee754/flt-32 implementation for tan.
37740
37741 * math/libm-test.inc (cos_test): Enable some large input tests for
37742 float as well
37743 (sin_test): Likewise.
37744 (sincos_test): Likewise.
37745 (tan_test): Add tests for large input.
37746
37747 * sysdeps/i386/fpu/libm-test-ulps: Update.
37748
81c64153
AJ
377492012-03-15 Andreas Jaeger <aj@suse.de>
37750
37751 [BZ #13658]
37752 * math/libm-test.inc (cos_test): Add more test cases.
37753 (sin_test): Likewise.
37754 (sincos_test): Likewise.
37755
7bbfa5c6
AJ
377562012-03-15 Andreas Jaeger <aj@suse.de>
37757
37758 [BZ #13837]
37759 * math/libm-test.inc (cos_test): Add a test case for large input
37760 value.
37761 (sin_test): Likewise.
37762 (sincos_test): Likewise.
37763
57f41c40
AS
377642012-03-15 Andreas Jaeger <aj@suse.de>
37765 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
37766
37767 [BZ #13658]
0671f479 37768 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
37769 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37770 * sysdeps/i386/fpu/branred.c: Likewise.
37771 * sysdeps/i386/fpu/dosincos.c: Likewise.
37772 * sysdeps/i386/fpu/mpa.c: Likewise.
37773 * sysdeps/i386/fpu/s_cos.S: Likewise.
37774 * sysdeps/i386/fpu/s_sin.S: Likewise.
37775 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37776 * sysdeps/i386/fpu/sincos32.c: Likewise.
37777
37778 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37779 Define.
37780 (libc_feupdateenv_53bit): Define.
37781 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37782 Define.
37783 (libc_feupdateenv_53bit): Define.
37784
37785 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37786 53 bit (without extend i386 double precision).
37787
37788 * math/libm-test.inc (sincos_test): Add tests for large input.
37789 (sin): Likewise.
37790 (cos): Likewise.
37791
37792 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37793
9cad04ea
AS
377942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37795
37796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37797
f7062b9a
DM
377982012-03-15 David S. Miller <davem@davemloft.net>
37799
37800 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37801 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37802 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37803 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
37815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37816 file.
f7062b9a 37817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
37818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37819 file.
f7062b9a 37820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
37821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37822 file.
f7062b9a 37823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
37824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37825 file.
f7062b9a
DM
37826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37827 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37828 fmin/fmax sysdep routines.
37829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37830
7bd951ff
DM
378312012-03-14 David S. Miller <davem@davemloft.net>
37832
559398ab
DM
37833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37837 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37838 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
37861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37862 routines.
37863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37864 file.
559398ab 37865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
37866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37867 file.
559398ab 37868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
37869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37870 file.
559398ab 37871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
37872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37873 file.
559398ab 37874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
37875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37876 file.
559398ab 37877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
37878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37879 file.
37880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37881 file.
37882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37883 file.
37884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37885 file.
37886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37887 New file.
37888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37889 file.
37890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37891 file.
559398ab 37892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
37893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37894 file.
559398ab 37895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
37896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37897 file.
559398ab 37898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
37899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37900 file.
559398ab 37901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
37902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37903 VIS3 routines.
559398ab
DM
37904
37905 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37906 New file.
37907
5a1c1e32
DM
37908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37909
eae47a36
DM
37910 * sysdeps/sparc/configure.in: New file.
37911 * sysdeps/sparc/configure: Generate.
37912 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37913 * configure: Regenerate.
37914 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37915 * config.make.in (have-as-vis3): New.
37916 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37917 available use -Av9d instead of -Av9a.
37918 * sysdeps/sparc/sparc64/Makefile: Likewise.
37919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
37920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37921 New file.
37922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37923 file.
37924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37925 New file.
37926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37927 file.
eae47a36
DM
37928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37933
c0c83bc8
DM
37934 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37935 fzeros/fnegs to load 0x80000000 into a float register instead of
37936 using the stack.
7bd951ff
DM
37937 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37938
bd951ccb
JM
379392012-03-14 Joseph Myers <joseph@codesourcery.com>
37940
37941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37942 bits/syscall.h.
37943 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37944 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37945 ($(inst_includedir)/bits/syscall.h): Remove rule.
37946 ($(objpfx)bits/syscall.d): Include instead of
37947 $(objpfx)syscall-list.d.
37948 (generated): Change syscall-list.h and syscall-list.d to
37949 bits/syscall.h and bits/syscall.d.
37950
bb4e6db2
RM
379512012-03-14 Roland McGrath <roland@hack.frob.com>
37952
37953 [BZ #13846]
37954 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37955
aa4a2ae1
JM
379562012-03-14 Joseph Myers <joseph@codesourcery.com>
37957
e456826d
JM
37958 [BZ #13841]
37959 * math/s_csqrt.c: Include <float.h>.
37960 (__csqrt): Scale large or subnormal inputs.
37961 * math/s_csqrtf.c: Likewise.
37962 * math/s_csqrtl.c: Likewise.
37963 * math/libm-test.inc (csqrt_test): Add more tests.
37964 * sysdeps/i386/fpu/libm-test-ulps: Update.
37965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37966
aa4a2ae1
JM
37967 [BZ #13840]
37968 * math/libm-test.inc (hypot_test): Add more tests.
37969
7c10fd35
DM
379702012-03-13 David S. Miller <davem@davemloft.net>
37971
37972 [BZ #13840]
37973 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37974 double-precision for the calculation instead of scaling.
37975
f453b98b
JM
379762012-03-13 Joseph Myers <joseph@codesourcery.com>
37977
37978 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37979 manipulate bits before adding and subtracting TWO52[sx].
37980 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37981 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37982 Likewise.
37983 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37984
09a3453f
DM
379852012-03-13 David S. Miller <davem@davemloft.net>
37986
8e59da90
DM
37987 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37988 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37989 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37990 rtld-global-offsets.h
37991 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37992
2a8ab7f2
DM
37993 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37994 large parameters.
37995
10f62770
DM
37996 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37997
5f0bdb18
DM
37998 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37999 'err' in the ifdef scope in which it is actually used.
38000
09a3453f
DM
38001 * nss/nss_db/db-init.c: Include string.h
38002
b4b2eb5e
DM
380032012-03-12 David S. Miller <davem@davemloft.net>
38004
98bb2f1c
DM
38005 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38006 masking out of the most significant byte of random value used.
38007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38008 Fix coding style in previous change.
38009
b4b2eb5e
DM
38010 * sysdeps/unix/sysv/linux/kernel-features.h
38011 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38012 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38013 expression.
38014 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38015 later.
38016
6e226b09
DM
380172012-03-11 David S. Miller <davem@davemloft.net>
38018
a1bcbd40
DM
38019 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38020 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38021 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38022 for 'resultvar' otherwise things get truncated on 64-bit.
38023
cb9d6174
DM
38024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38025 Fix masking out of the most significant byte of random value used.
38026
6e226b09
DM
38027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38028
058c132d
AS
380292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38030
38031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38032
2d2cd515
DM
380332012-03-09 David S. Miller <davem@davemloft.net>
38034
38035 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38036 variables with appropriate CPP guards.
57f41c40
AS
38037 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38038 from the frame pointer, not the stack pointer. Correct layout
38039 comments. Fix test on resulting framesize and the management of
38040 the outregs buffer for pltexit. Preserve floating point return
38041 values across _dl_call_pltexit call.
2d2cd515
DM
38042 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38043 framesize and the management of the outregs buffer for pltexit.
38044 Preserve floating point return values across _dl_call_pltexit
38045 call.
57f41c40
AS
38046 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38047 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38048 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
38049 (print_exit): Fix format string for return register value.
38050
9a07f9d0
JM
380512012-03-10 Joseph Myers <joseph@codesourcery.com>
38052
38053 * sunrpc/Makefile (others): Add rpcgen.
38054 ($(objpfx)rpcgen): Remove special build rule and dependency on
38055 libc.
38056 * sunrpc/rpcgen.c: New file.
38057
547b5e30
PE
380582012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38059
c524201a
PE
38060 [BZ #13673]
38061 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38062 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38063 * sysdeps/i386/crti.S: Likewise.
38064 * sysdeps/i386/crtn.S: Likewise.
38065 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38066 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38067 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38068 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38069 * sysdeps/sh/crti.S: Likewise.
38070 * sysdeps/sh/crtn.S: Likewise.
38071 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38072
7b6235f2
PE
38073 [BZ #13673]
38074 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38075 with URL.
38076 * locale/programs/locfile-kw.gperf: Likewise.
38077 * locale/programs/charmap-kw.h: Regenerated.
38078 * locale/programs/locfile-kw.h: Likewise.
38079
547b5e30
PE
38080 [BZ #13673]
38081 * intl/plural.y: Replace FSF snail mail address with URL.
38082 * intl/plural.c: Regenerated.
38083
5f0a5dae
RH
380842012-03-09 Richard Henderson <rth@twiddle.net>
38085
38086 * include/math_private.h: Remove file.
38087 * math/math_private.h: Move file ...
38088 * sysdeps/generic/math_private.h: ... here.
38089
b8c03620
RH
38090 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38091 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38092 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38093
4e234f5d 38094 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
38095 and <math_private.h>.
38096 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38097 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38098 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38099 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38100 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38101 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38102 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38108 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38110 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38120 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38121 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38126 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38128 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38129 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38130 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38131 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38132 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38133 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38134 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38136 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38137 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38138 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38139 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38140 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38141 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38142 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38143 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38144 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38145 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38146 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38147 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38148 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38149 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38150 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38151 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38152 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38153 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38154 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38155 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38157 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38160 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38161 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38162 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38163 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38164 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38165 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38166 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38167 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38168 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38169 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38170 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38175 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38176 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38177 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38178 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38179 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38180 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38183 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38184 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38185 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38186 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38187 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38188 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38189 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38190 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38191 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38192 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38193 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38194 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38195 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38196 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38197 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38198 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38199 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38200 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38201 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38202 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38203 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38204 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38205 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38206 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38207 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38208 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38209 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38210 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38211 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38212 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38213 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38214 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38215 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38216 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38217 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38218 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38219 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38220 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38221 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38222 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38223 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38224 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38225 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38226 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38227 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38228 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38229 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38230 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38231 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38232 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38233 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38234 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38235 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38236 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38237 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38238 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38239 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38240 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38241 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38242 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38243 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38244 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38245 * sysdeps/ieee754/k_standard.c: Likewise.
38246 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38247 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38248 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38249 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38250 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38251 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38252 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38253 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38254 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38255 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38256 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38258 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38259 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38260 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38261 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38262 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38263 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38264 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38265 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38266 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38267 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38268 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38269 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38270 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38271 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38272 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38273 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38274 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38275 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38276 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38277 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38278 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38279 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38280 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38281 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38282 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38283 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38284 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38285 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38286 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38287 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38288 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38289 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38290 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38291 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38292 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38293 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38294 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38295 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38296 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38297 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38298 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38299 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38300 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38301 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38302 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38303 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38304 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38305 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38306 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38307 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38308 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38309 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38316 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38319 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38320 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38322 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38323 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38325 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38326 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38327 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38328 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38329 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38330 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38331 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38333 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38336 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38337 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38338 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38339 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38342 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38344 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38345 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38348 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38350 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38351 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38352 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38353 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38354 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38355 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38356 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38357 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38358 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38359 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38360 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38362 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38363 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38364 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38365 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38366 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38367 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38368 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38369 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38371 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38372 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38373 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38374 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38376 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38377 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38378 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38379 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38380 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38382 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38383 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38384 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38385 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38386 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38387 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38388 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38389 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38390 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38391 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38392 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38393 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38394 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38395 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38396 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38397 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38398 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38399 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38400 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38401 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38402 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38403 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38404 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38405 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38406 * sysdeps/ieee754/s_lib_version.c: Likewise.
38407 * sysdeps/ieee754/s_matherr.c: Likewise.
38408 * sysdeps/ieee754/s_signgam.c: Likewise.
38409 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38410 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38411 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38412 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38413 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38414 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38415 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38416 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38417 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38418 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38419 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38420 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38421 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38422 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38423 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38424 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38425 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38426 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38427 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 38430
1991fa03
JM
384312012-03-09 Joseph Myers <joseph@codesourcery.com>
38432
38433 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38434 * sunrpc/rpc_main.c: Likewise.
38435 * sunrpc/rpc_svcout.c: Likewise.
38436
60d6f5a6
DM
384372012-03-09 David S. Miller <davem@davemloft.net>
38438
38439 * include/math_private.h: New file.
38440
4962050e
JM
384412012-03-09 Joseph Myers <joseph@codesourcery.com>
38442
02a6f887
JM
38443 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38444 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38445 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38446 from <bits/socket_type.h>.
38447 (enum __socket_type): Don't define here.
38448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38450 bits/socket_type.h.
38451
c6e013c1
JM
38452 [BZ #13566]
38453 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38454 checking __USE_GNU.
38455
4962050e
JM
38456 * Makerules ($(inst_includedir)/%.h): New rule.
38457 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38458 (install-others): Remove variable setting.
38459 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38460
38842f45
RH
384612012-03-08 Richard Henderson <rth@twiddle.net>
38462
67bb6da6
RH
38463 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38464 from macro to inline function; merge with the
38465 !__LIBC_INTERNAL_MATH_INLINES version.
38466 (__ieee754_sqrtf): Likewise.
38467
15194b4b
RH
38468 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38469 to inline function.
38470 (__rintf, __floor, __floorf): Likewise.
38471
64e21ede
RH
38472 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38473 macro to inline function.
38474 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38475
38842f45
RH
38476 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38477 not <math/math_private.h>.
38478
c64bf5fe
DM
384792012-03-08 David S. Miller <davem@davemloft.net>
38480
38481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38482 copyright year.
38483 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38484
82d86f28
TS
384852012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38486
38487 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38488 normalization.
38489 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38490 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38491
aea5d727
UD
384922012-03-08 Ulrich Drepper <drepper@gmail.com>
38493
38494 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38495 be defined individually, they must be defined as a block. Define
38496 S for printing a string instead of hidint the different by using a
38497 macro for adding the 'l'.
38498 * stdio-common/tst-fphex-wide.c: Adjust.
38499
70bca0a3
MP
385002012-03-07 Marek Polacek <polacek@redhat.com>
38501
38502 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38503
65b81130
MP
385042012-03-08 Marek Polacek <polacek@redhat.com>
38505
38506 [BZ #13806]
38507 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38508 * stdio-common/tst-fphex.c: Define a few macros to make the
38509 test reusable. Use them.
38510 * stdio-common/tst-fphex-wide.c: New file.
38511
07037eeb
JM
385122012-03-08 Joseph Myers <joseph@codesourcery.com>
38513
a7a93d50
JM
38514 [BZ #6911]
38515 * manual/macros.texi (gnusystems): New macro.
38516 (nongnusystems): Likewise.
38517 (gnulinuxhurdsystems): Likewise.
38518 (gnuhurdsystems): Likewise..
38519 (gnulinuxsystems): Likewise.
38520 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38521 variants of the GNU system, not "GNU system".
38522 * manual/conf.texi: Likewise.
38523 * manual/errno.texi: Likewise. Update example of errno macro
38524 expansion.
38525 * manual/filesys.texi: Likewise.
38526 (getumask): Document as specific to GNU/Hurd.
38527 * manual/install.texi: Likewise. Reword some references to
38528 GNU/Linux.
38529 * manual/intro.texi: Likewise.
38530 * manual/io.texi: Likewise.
38531 (File Name Portability): Detail which constraints are inapplicable
38532 to all GNU systems and which are only inapplicable to GNU/Hurd.
38533 * manual/job.texi: Likewise.
38534 * manual/llio.texi: Likewise.
38535 (O_NOCTTY): Document as present on GNU/Linux.
38536 * manual/maint.texi: Likewise.
38537 * manual/memory.texi: Likewise.
38538 * manual/pattern.texi: Likewise.
38539 * manual/pipe.texi: Likewise.
38540 * manual/process.texi: Likewise.
38541 * manual/resource.texi: Likewise.
38542 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38543 child on GNU/Hurd.
38544 * manual/setjmp.texi: Likewise.
38545 * manual/signal.texi: Likewise.
38546 * manual/startup.texi: Likewise.
38547 * manual/stdio.texi: Likewise.
38548 * manual/terminal.texi: Likewise.
38549 (ONLCR): Document as POSIX.
38550 (OXTABS): Document availability on GNU/Linux as XTABS.
38551 (ONOEOT): Document availability separately from other bits.
38552 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38553 * manual/time.texi: Likewise.
38554 * manual/users.texi: Likewise.
38555 * INSTALL: Regenerated.
38556 * sysdeps/gnu/errlist.c: Regenerated.
38557
07037eeb
JM
38558 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38559 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38560 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38561 puts.
38562 * configure: Regenerated.
38563
d1d3431a
JM
385642012-03-07 Joseph Myers <joseph@codesourcery.com>
38565
af6a1e37
JM
38566 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38567 default includes instead of AC_HEADER_CHECK.
38568 * sysdeps/i386/configure: Regenerated.
38569
d1d3431a
JM
38570 [BZ #10716]
38571 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38572 * math/s_cacoshf.c (__cacoshf): Likewise.
38573 * math/s_cacoshl.c (__cacoshl): Likewise.
38574 * math/s_casinh.c (__casinh): Set signs of result from argument.
38575 * math/s_casinhf.c (__casinhf): Likewise.
38576 * math/s_casinhl.c (__casinhl): Likewise.
38577 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38578 (casinh_test): Add more tests.
38579 * sysdeps/i386/fpu/libm-test-ulps: Update.
38580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38581
482ff4da
UD
385822012-03-07 Ulrich Drepper <drepper@gmail.com>
38583
872fda05
UD
38584 * po/zh_TW.po: Update from translation team.
38585
a4300c7a
UD
38586 * login/Makefile (distribute): Remove variable.
38587 * catgets/Makefile: Likewise.
38588 * mach/Makefile: Likewise.
38589 * malloc/Makefile: Likewise.
38590 * misc/Makefile: Likewise.
38591 * iconv/Makefile: Likewise.
38592 * nscd/Makefile: Likewise.
38593 * hurd/Makefile: Likewise.
38594 * manual/Makefile: Likewise.
38595 * locale/Makefile: Likewise.
38596 * intl/Makefile: Likewise.
38597 * conform/Makefile: Likewise.
38598 * nss/Makefile: Likewise.
38599 * time/Makefile: Likewise.
38600 * soft-fp/Makefile: Likewise.
38601 * dirent/Makefile: Likewise.
38602 * gmon/Makefile: Likewise.
38603 * po/Makefile: Likewise.
38604 * rt/Makefile: Likewise.
38605 * socket/Makefile: Likewise.
38606 * math/Makefile: Likewise.
38607 * signal/Makefile: Likewise.
38608 * debug/Makefile: Likewise.
38609 * elf/Makefile: Likewise.
38610 * timezone/Makefile: Likewise.
38611 * stdlib/Makefile: Likewise.
38612 * iconvdata/Makefile: Likewise.
38613 * sunrpc/Makefile: Likewise.
38614 * io/Makefile: Likewise.
38615 * argp/Makefile: Likewise.
38616 * inet/Makefile: Likewise.
38617 * hesiod/Makefile: Likewise.
38618 * grp/Makefile: Likewise.
38619 * csu/Makefile: Likewise.
38620 * wctype/Makefile: Likewise.
38621 * crypt/Makefile: Likewise.
38622 * libio/Makefile: Likewise.
38623 * string/Makefile: Likewise.
38624 * nis/Makefile: Likewise.
38625 * resolv/Makefile: Likewise.
38626 * stdio-common/Makefile: Likewise.
38627 * wcsmbs/Makefile: Likewise.
38628 * dlfcn/Makefile: Likewise.
38629 * posix/Makefile: Likewise.
38630
3b7c4e74 38631 [BZ #6959]
482ff4da
UD
38632 * timezone/Makefile: Don't install timezone files, just the programs
38633 and scripts.
38634
f72ed77d
UD
386352012-03-06 Ulrich Drepper <drepper@gmail.com>
38636
a000466f
UD
38637 * nss/databases.def: Add missing gshadow entry.
38638
f72ed77d
UD
38639 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38640
a53b7a4e
MP
386412012-03-06 Marek Polacek <polacek@redhat.com>
38642
38643 [BZ #13726]
38644 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38645 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38646 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38647 * stdio-common/tst-long-dbl-fphex.c: New file.
38648
e9258400
DM
386492012-03-06 David S. Miller <davem@davemloft.net>
38650
38651 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38652 (set_obp_int): New function.
38653 (get_obp_int): New function.
38654 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
38655 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38656 Avoid unused variable warnings on 'val' and use builtin_expect.
38657 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38658 __builtin_expect.
e9258400
DM
38659 (INLINE_CLONE_SYSCALL): Likewise.
38660
3bd2c723
DM
386612012-03-05 David S. Miller <davem@davemloft.net>
38662
38663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38664
bbb78d03
AS
386652012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38666
884c5db4
AS
38667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38668
bbb78d03
AS
38669 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38670 only for |x| >= 40.
38671 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38672
1c9f702a 386732012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
38674
38675 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38676 Replace gettimeofday with __vdso_gettimeofday.
38677
7be16f82
RM
38678 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38679 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38680 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
38681
38682 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38683 time with __vdso_time.
38684
ed58a00f
JM
386852012-03-05 Joseph Myers <joseph@codesourcery.com>
38686
38687 * manual/lang.texi (size_t): Note types to which size_t may be
38688 equivalent with the GNU C Library, but do not describe when
38689 differences between them are significant.
38690
30ee4ced
AJ
386912012-03-05 Andreas Jaeger <aj@suse.de>
38692
38693 * sysdeps/i386/fpu/libm-test-ulps: Update.
38694
b7cd39e8
JM
386952012-03-05 Joseph Myers <joseph@codesourcery.com>
38696
38697 [BZ #3976]
38698 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38699 (__ieee754_pow): Save and restore rounding mode and use
38700 round-to-nearest for main computations.
38701 * math/libm-test.inc (pow_test_tonearest): New function.
38702 (pow_test_towardzero): Likewise.
38703 (pow_test_downward): Likewise.
38704 (pow_test_upward): Likewise.
38705 (main): Call the new functions.
38706 * sysdeps/i386/fpu/libm-test-ulps: Update.
38707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
38708
38709 [BZ #3976]
38710 * math/libm-test.inc (cosh_test_tonearest): New function.
38711 (cosh_test_towardzero): Likewise.
38712 (cosh_test_downward): Likewise.
38713 (cosh_test_upward): Likewise.
38714 (sinh_test_tonearest): Likewise.
38715 (sinh_test_towardzero): Likewise.
38716 (sinh_test_downward): Likewise.
38717 (sinh_test_upward): Likewise.
38718 (main): Call the new functions.
38719 * sysdeps/i386/fpu/libm-test-ulps: Update.
38720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38721
6c6a98c9
TV
387222012-03-05 Tom de Vries <tom@codesourcery.com>
38723
38724 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38725 default stack guard is set in last bytes.
38726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38727
21bb2d2e 387282012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 38729
21bb2d2e 38730 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 38731
21bb2d2e
AJ
38732 [BZ #13656]
38733 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38734 possibly allocate from heap instead of stack.
38735 * stdio-common/bug-vfprintf-nargs.c: New file.
38736 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 38737
c6922934
AS
387382012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38739
38740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38741
bc957d53
MP
387422012-03-03 Marek Polacek <polacek@redhat.com>
38743
38744 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38745 * math/math_private.h: Likewise.
38746 * stdlib/tst-strtod.c: Likewise.
38747 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38748 * sysdeps/x86_64/bits/atomic.h: Likewise.
38749
6358490d
DM
387502012-03-02 David S. Miller <davem@davemloft.net>
38751
38752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38756 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38757 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38758 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38759 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38760
01ae168d
RM
387612012-03-02 Roland McGrath <roland@hack.frob.com>
38762
d9a17c07
RM
38763 [BZ #13792]
38764 * manual/examples/README: New file, says the example source files
38765 can be used under GPL>=2.
38766 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38767 line containing just "*/".
38768 * manual/examples/add.c: Add copyright header (GPL>=2).
38769 * manual/examples/argp-ex1.c: Likewise.
38770 * manual/examples/argp-ex2.c: Likewise.
38771 * manual/examples/argp-ex3.c: Likewise.
38772 * manual/examples/argp-ex4.c: Likewise.
38773 * manual/examples/atexit.c: Likewise.
38774 * manual/examples/db.c: Likewise.
38775 * manual/examples/dir.c: Likewise.
38776 * manual/examples/dir2.c: Likewise.
38777 * manual/examples/execinfo.c: Likewise.
38778 * manual/examples/filecli.c: Likewise.
38779 * manual/examples/filesrv.c: Likewise.
38780 * manual/examples/fmtmsgexpl.c: Likewise.
38781 * manual/examples/genpass.c: Likewise.
38782 * manual/examples/inetcli.c: Likewise.
38783 * manual/examples/inetsrv.c: Likewise.
38784 * manual/examples/isockad.c: Likewise.
38785 * manual/examples/longopt.c: Likewise.
38786 * manual/examples/memopen.c: Likewise.
38787 * manual/examples/memstrm.c: Likewise.
38788 * manual/examples/mkfsock.c: Likewise.
38789 * manual/examples/mkisock.c: Likewise.
38790 * manual/examples/mygetpass.c: Likewise.
38791 * manual/examples/pipe.c: Likewise.
38792 * manual/examples/popen.c: Likewise.
38793 * manual/examples/rprintf.c: Likewise.
38794 * manual/examples/search.c: Likewise.
38795 * manual/examples/select.c: Likewise.
38796 * manual/examples/setjmp.c: Likewise.
38797 * manual/examples/sigh1.c: Likewise.
38798 * manual/examples/sigusr.c: Likewise.
38799 * manual/examples/stpcpy.c: Likewise.
38800 * manual/examples/strdupa.c: Likewise.
38801 * manual/examples/strftim.c: Likewise.
38802 * manual/examples/strncat.c: Likewise.
38803 * manual/examples/subopt.c: Likewise.
38804 * manual/examples/swapcontext.c: Likewise.
38805 * manual/examples/termios.c: Likewise.
38806 * manual/examples/testopt.c: Likewise.
38807 * manual/examples/testpass.c: Likewise.
38808 * manual/examples/timeval_subtract.c: Likewise.
38809
01ae168d
RM
38810 [BZ #13792]
38811 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38812 function to ...
38813 * manual/timeval_subtract.c.texi: ... here, new file.
38814
49efa33d
DM
388152012-03-02 David S. Miller <davem@davemloft.net>
38816
38817 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38818
28afd92d
JM
388192012-03-02 Joseph Myers <joseph@codesourcery.com>
38820
804360ed
JM
38821 [BZ #3976]
38822 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38823 (__sin): Save and restore rounding mode and use round-to-nearest
38824 for all computations.
38825 (__cos): Save and restore rounding mode and use round-to-nearest
38826 for all computations.
38827 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38828 <fenv.h>.
38829 (tan): Save and restore rounding mode and use round-to-nearest for
38830 all computations.
38831 * math/libm-test.inc (cos_test_tonearest): New function.
38832 (cos_test_towardzero): Likewise.
38833 (cos_test_downward): Likewise.
38834 (cos_test_upward): Likewise.
38835 (sin_test_tonearest): Likewise.
38836 (sin_test_towardzero): Likewise.
38837 (sin_test_downward): Likewise.
38838 (sin_test_upward): Likewise.
38839 (tan_test_tonearest): Likewise.
38840 (tan_test_towardzero): Likewise.
38841 (tan_test_downward): Likewise.
38842 (tan_test_upward): Likewise.
38843 (main): Call the new functions.
38844 * sysdeps/i386/fpu/libm-test-ulps: Update.
38845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38846
a6d06d7b
JM
38847 [BZ #10135]
38848 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38849 small n, then large n, before computing and testing k+n.
38850 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38852 Likewise.
38853 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38854 Likewise.
38855 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38856 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38857 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38858 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38859 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38860 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38862 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38863 * math/libm-test.inc (scalbn_test): Add more tests.
38864 (scalbln_test): Likewise.
38865
07e12bb3
JM
38866 * manual/filesys.texi (mode_t): Describe constraints on size and
38867 signedness, not exact equivalence to a particular type.
38868 (ino_t): Likewise.
38869 (ino64_t): Likewise.
38870 (dev_t): Likewise.
38871 (nlink_t): Likewise.
38872 (blkcnt_t): Likewise.
38873 (blkcnt64_t): Likewise.
38874 * manual/llio.texi (off_t): Likewise.
38875
28afd92d
JM
38876 [BZ #3976]
38877 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38878 (__ieee754_exp): Save and restore rounding mode and use
38879 round-to-nearest for all computations.
38880 * math/libm-test.inc (exp_test_tonearest): New function.
38881 (exp_test_towardzero): Likewise.
38882 (exp_test_downward): Likewise.
38883 (exp_test_upward): Likewise.
38884 (main): Call the new functions.
38885 * sysdeps/i386/fpu/libm-test-ulps: Update.
38886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38887
b1eeb65d
CD
388882012-03-01 Chris Demetriou <cgd@google.com>
38889
38890 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38891 have predictable order.
38892
53362a4b
DM
388932012-03-01 David S. Miller <davem@davemloft.net>
38894
3c969083
DM
38895 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38896
759707de
DM
38897 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38898 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38899 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38900 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38901
dfdb8ff2
DM
38902 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38903 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38904 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38906 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38907 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38908 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38909 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38910 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38911
ead89f96
DM
38912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38913
7f66bd07
DM
38914 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38915 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38916 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38917
53362a4b
DM
38918 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38919 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38920 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38921 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38922 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38923 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38925 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38926 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38927 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38928 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38929 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38930 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38931 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38932 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38934 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38935 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38936 * sysdeps/sparc/elf/configure: Regenerated.
38937
7b1902cb
JM
389382012-03-01 Joseph Myers <joseph@codesourcery.com>
38939
bec039bc
JM
38940 * configure.in (AS, LD): Require binutils 2.20 or later.
38941 * configure: Regenerated.
38942 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38943 as required minimum version.
38944 * INSTALL: Regenerated.
38945
7b1902cb
JM
38946 [BZ #2541]
38947 [BZ #4108]
38948 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38949 before squaring exponent.
38950 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38951 bottom long double and 27 bits of top long double before squaring
38952 exponent.
38953 * math/libm-test.inc (erfc_test): Add more tests.
38954 * sysdeps/i386/fpu/libm-test-ulps: Update.
38955 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38957
f775c276
KT
389582012-03-01 Kai Tietz <ktietz@redhat.com>
38959
38960 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38961 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38962 containing bit-fields.
38963 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38964 * soft-fp/single.h (_FP_UNION_S): Likewise.
38965 * soft-fp/double.h (_FP_UNION_D): Likewise.
38966
5b8a4d4a
JM
389672012-02-29 Joseph Myers <joseph@codesourcery.com>
38968
0bab47b6
JM
38969 [BZ #13786]
38970 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38971 not include ../strcmp.S.
38972 [USE_AS_STRNCASECMP_L]: Likewise.
38973 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38974 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38975 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38976 (__strncasecmp_l_ia32): Define as alias to
38977 __strncasecmp_l_nonascii.
38978
0fcad3e2
JM
38979 [BZ #5794]
38980 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38981 * sysdeps/i386/fpu/libm-test-ulps: Update.
38982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38983
5b8a4d4a
JM
38984 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38986
8fdceb2e
JL
389872012-02-29 Jeff Law <law@redhat.com>
38988
38989 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38990 out of bounds read.
38991
1f393a11
MP
389922012-02-29 Marek Polacek <polacek@redhat.com>
38993
38994 [BZ #13706]
38995 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38996 * elf/Makefile: Add rules to run tst-unused-dep.out.
38997
8847f037
DM
389982012-02-28 David S. Miller <davem@davemloft.net>
38999
39000 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39001 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39002 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39003 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39004 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39005 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39006
169d7f11
JM
390072012-02-29 Joseph Myers <joseph@codesourcery.com>
39008
39009 * math/libm-test.inc (llround_test): Move one test from
39010 lround_test. Use TEST_f_L in moved test.
39011 (lround_test): Move misplaced test to llround_test. Add testcase
39012 from bug 2561.
39013
39adf059
UD
390142012-02-28 Ulrich Drepper <drepper@gmail.com>
39015
39016 * sysdeps/x86_64/fpu/e_expf.S: New file.
39017 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39018
71b5d1c5
SB
390192012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39020
39021 [BZ #13637]
39022 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39023 of remain_len that may cause incomplete multi-byte character and
39024 false match.
39025 * posix/bug-regex33.c: New file.
39026 * posix/Makefile (tests): Add bug-regex33.
39027
1f77f049
JM
390282012-02-28 Joseph Myers <joseph@codesourcery.com>
39029
39030 * manual/macros.texi: New file.
39031 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39032 * manual/libc.texinfo: Include macros.texi.
39033 * manual/creatute.texi: Likewise.
39034 * manual/install.texi: Likewise.
39035 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39036 @glibcadj{} in references to the GNU C Library.
39037 * manual/charset.texi: Likewise.
39038 * manual/conf.texi: Likewise.
39039 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39040 when not using those macros.
39041 * manual/creature.texi: Likewise.
39042 * manual/crypt.texi: Likewise.
39043 * manual/errno.texi: Likewise.
39044 * manual/filesys.texi: Likewise.
39045 * manual/header.texi: Likewise.
39046 * manual/install.texi: Likewise.
39047 * manual/intro.texi: Likewise.
39048 * manual/io.texi: Likewise.
39049 * manual/job.texi: Likewise.
39050 * manual/lang.texi: Likewise.
39051 * manual/libc.texiinfo: Likewise.
39052 * manual/llio.texi: Likewise.
39053 * manual/locale.texi: Likewise.
39054 * manual/maint.texi: Likewise.
39055 * manual/math.texi: Likewise.
39056 * manual/memory.texi: Likewise.
39057 * manual/message.texi: Likewise.
39058 * manual/nss.texi: Likewise.
39059 * manual/pattern.texi: Likewise.
39060 * manual/process.texi: Likewise.
39061 * manual/resource.texi: Likewise.
39062 * manual/search.texi: Likewise.
39063 * manual/setjmp.texi: Likewise.
39064 * manual/signal.texi: Likewise.
39065 * manual/socket.texi: Likewise.
39066 * manual/startup.texi: Likewise.
39067 * manual/stdio.texi: Likewise.
39068 * manual/string.texi: Likewise.
39069 * manual/sysinfo.texi: Likewise.
39070 * manual/syslog.texi: Likewise.
39071 * manual/terminal.texi: Likewise.
39072 * manual/time.texi: Likewise.
39073 * manual/users.texi: Likewise.
39074 * INSTALL: Regenerated.
39075 * NOTES: Regenerated.
d40c5d54 39076 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 39077
450bf206
AS
390782012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39079
39080 * include/dirent.h: Include <dirstream.h> before
39081 <dirent/dirent.h>.
39082
741a235b
DM
390832012-02-28 David S. Miller <davem@davemloft.net>
39084
39085 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39086 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39087 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39088 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39089
d6b5aa58
DM
390902012-02-27 David S. Miller <davem@davemloft.net>
39091
1aff59a3
DM
39092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39094 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39095 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39096
d6b5aa58
DM
39097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39098 frame pointer instead of stack pointer relative arg slot.
39099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39100 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39101 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39102
433f48bf
CD
391032012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39104
39105 [BZ #3992]
39106 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39107
d674b76d
DM
391082012-02-27 David S. Miller <davem@davemloft.net>
39109
39110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39114 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39115 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39116 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39117 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39118
0e7727f7
JM
391192012-02-27 Joseph Myers <joseph@codesourcery.com>
39120
39121 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39122 later. Allow versions 5-9.
43be4ca2 39123 * configure: Regenerated.
0e7727f7
JM
39124 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39125 required minimum version and 4.6 as recommended version. Do not
39126 mention bugs in GCC 2.7 and 2.8.
43be4ca2 39127 * INSTALL: Regenerated.
0e7727f7 39128
a78bc654
DM
391292012-02-27 David S. Miller <davem@davemloft.net>
39130
428d5830
DM
39131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39135 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39136 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39137 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39138 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39139
a78bc654
DM
39140 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39141 manipulate bits before adding and subtracting TWO112[sx].
39142 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39143
4579f81c
RM
391442012-02-27 Roland McGrath <roland@hack.frob.com>
39145
36c8acb4
RM
39146 [BZ #13775]
39147 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39148 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39149 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39150 being in POSIX, because they are in 1003.1-2008.
39151
84ad622b
RM
39152 * rt/tst-aio.c: Include <fcntl.h>.
39153 * rt/tst-aio7.c: Likewise.
39154 * rt/tst-aio64.c: Likewise.
39155
4579f81c
RM
39156 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39157
abd923db
JM
391582012-02-27 Joseph Myers <joseph@codesourcery.com>
39159
39160 * manual/install.texi (--with-headers): Describe headers as
39161 interface headers, not private headers.
39162 (Specific advice for GNU/Linux systems): Describe use of headers
39163 from "make headers_install", not private headers from older
39164 kernels.
43be4ca2 39165 * INSTALL: Regenerated.
abd923db
JM
39166 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39167 Change to 2.6.19.
39168 * sysdeps/unix/sysv/linux/configure: Regenerated.
39169
6664049b
JM
39170 * manual/llio.texi (fclean): Remove documentation.
39171
bb8b6697
JM
39172 * manual/Makefile (libc-texi-generated): New variable. Include
39173 version.texi.
39174 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39175 $(libc-texi-generated), not duplicated list of files.
39176 (version.texi, stamp-version): New rules.
39177 (realclean): Remove $(libc-texi-generated), not individual files
39178 from that list. Do not remove dir-add.texinfo.
39179 * manual/libc.texinfo: Comment out uses of edition numbers and
39180 references to printed manual. Remove last-updated dates.
39181 (EDITION): Comment out.
39182 (ISBN): Likewise.
39183 (VERSION, UPDATED): Remove.
39184 (version.texi): Include.
39185
12e5c3b9
AS
391862012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39187
39188 * sysdeps/posix/spawni.c: Include <signal.h>.
39189 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39190 * sysdeps/pthread/aio_fsync.c: Likewise.
39191
4efeffc1 391922012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 39193
ba63ba08
UD
39194 * conform/Makefile (tests): Run only when not cross-compiling and
39195 when fast-check is not defined.
39196
d94a4670
UD
39197 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39198 * conform/data/limits.h-data: Fixes for POSIX2008.
39199 * conform/run-conformtest.sh: Run all tests.
39200 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39201 headers.
39202 * include/bits/dlfcn.h: Likewise.
39203 * include/langinfo.h: Likewise.
39204 * include/monetary.h: Likewise.
39205 * include/sys/poll.h: Likewise.
39206
39207 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39208 for __USE_GNU.
39209 * posix/spawn.h: Define __need_sigset_t.
39210 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39211 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39212 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39213 to get sigevent_t only.
39214 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39215 only for __USE_GNU.
39216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39217 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39218 process_vm_writev only for __USE_GNU.
39219 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
39220
39221 * conform/Makefile: For now ignore errors from run-conformtest.
39222 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39223 POSIX to avoid namespace pollution. Don't prepend headers.
39224 * conform/data/aio.h-data: Fixes for POSIX testing.
39225 * conform/data/fcntl.h-data: Likewise.
39226 * conform/data/glob.h-data: Likewise.
39227 * conform/data/grp.h-data: Likewise.
39228 * conform/data/pthread.h-data: Likewise.
39229 * conform/data/pwd.h-data: Likewise.
39230 * conform/data/signal.h-data: Likewise.
39231 * conform/data/spawn.h-data: Likewise.
39232 * conform/data/stdio.h-data: Likewise.
39233 * conform/data/stdlib.h-data: Likewise.
39234 * conform/data/stropts.h-data: Likewise.
39235 * conform/data/sys/mman.h-data: Likewise.
39236 * conform/data/sys/stat.h-data: Likewise.
39237 * conform/data/sys/types.h-data: Likewise.
39238 * conform/data/sys/wait.h-data: Likewise.
39239 * conform/data/time.h-data: Likewise.
39240 * conform/data/unistd.h-data: Likewise.
39241 * conform/data/utime.h-data: Likewise.
39242
39243 * io/sys/stat.h: fchmod was always in POSIX.
39244 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39245 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39246 * rt/aio.h: Define __need_timespec before including <time.h>.
39247 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39248 struct. Add forward declaration of pthread_attr_t and use it in
39249 sigevent.
39250 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39251 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39252 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39253 always remove CLK_TCK definition.
39254
c20105c3
AS
392552012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39256
39257 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39258
7a270350
UD
392592012-02-25 Ulrich Drepper <drepper@gmail.com>
39260
31341567
UD
39261 * conform/run-conformtest.sh: New file.
39262 * conform/Makefile: Run run-conformtest for tests.
39263 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39264 support.
39265
39266 * conform/data/uchar.h-data: New file.
39267 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39268 * conform/data/arpa/inet.h-data: Likewise.
39269 * conform/data/assert.h-data: Likewise.
39270 * conform/data/complex.h-data: Likewise.
39271 * conform/data/cpio.h-data: Likewise.
39272 * conform/data/ctype.h-data: Likewise.
39273 * conform/data/dirent.h-data: Likewise.
39274 * conform/data/dlfcn.h-data: Likewise.
39275 * conform/data/errno.h-data: Likewise.
39276 * conform/data/fcntl.h-data: Likewise.
39277 * conform/data/float.h-data: Likewise.
39278 * conform/data/fmtmsg.h-data: Likewise.
39279 * conform/data/fnmatch.h-data: Likewise.
39280 * conform/data/ftw.h-data: Likewise.
39281 * conform/data/glob.h-data: Likewise.
39282 * conform/data/grp.h-data: Likewise.
39283 * conform/data/iconv.h-data: Likewise.
39284 * conform/data/inttypes.h-data: Likewise.
39285 * conform/data/langinfo.h-data: Likewise.
39286 * conform/data/libgen.h-data: Likewise.
39287 * conform/data/limits.h-data: Likewise.
39288 * conform/data/locale.h-data: Likewise.
39289 * conform/data/math.h-data: Likewise.
39290 * conform/data/monetary.h-data: Likewise.
39291 * conform/data/mqueue.h-data: Likewise.
39292 * conform/data/ndbm.h-data: Likewise.
39293 * conform/data/net/if.h-data: Likewise.
39294 * conform/data/netdb.h-data: Likewise.
39295 * conform/data/netinet/in.h-data: Likewise.
39296 * conform/data/nl_types.h-data: Likewise.
39297 * conform/data/poll.h-data: Likewise.
39298 * conform/data/pthread.h-data: Likewise.
39299 * conform/data/pwd.h-data: Likewise.
39300 * conform/data/regex.h-data: Likewise.
39301 * conform/data/sched.h-data: Likewise.
39302 * conform/data/search.h-data: Likewise.
39303 * conform/data/semaphore.h-data: Likewise.
39304 * conform/data/setjmp.h-data: Likewise.
39305 * conform/data/signal.h-data: Likewise.
39306 * conform/data/spawn.h-data: Likewise.
39307 * conform/data/stdarg.h-data: Likewise.
39308 * conform/data/stdio.h-data: Likewise.
39309 * conform/data/stdlib.h-data: Likewise.
39310 * conform/data/string.h-data: Likewise.
39311 * conform/data/strings.h-data: Likewise.
39312 * conform/data/stropts.h-data: Likewise.
39313 * conform/data/sys/ipc.h-data: Likewise.
39314 * conform/data/sys/mman.h-data: Likewise.
39315 * conform/data/sys/msg.h-data: Likewise.
39316 * conform/data/sys/resource.h-data: Likewise.
39317 * conform/data/sys/select.h-data: Likewise.
39318 * conform/data/sys/sem.h-data: Likewise.
39319 * conform/data/sys/shm.h-data: Likewise.
39320 * conform/data/sys/socket.h-data: Likewise.
39321 * conform/data/sys/stat.h-data: Likewise.
39322 * conform/data/sys/statvfs.h-data: Likewise.
39323 * conform/data/sys/time.h-data: Likewise.
39324 * conform/data/sys/timeb.h-data: Likewise.
39325 * conform/data/sys/times.h-data: Likewise.
39326 * conform/data/sys/types.h-data: Likewise.
39327 * conform/data/sys/uio.h-data: Likewise.
39328 * conform/data/sys/un.h-data: Likewise.
39329 * conform/data/sys/utsname.h-data: Likewise.
39330 * conform/data/sys/wait.h-data: Likewise.
39331 * conform/data/syslog.h-data: Likewise.
39332 * conform/data/tar.h-data: Likewise.
39333 * conform/data/termios.h-data: Likewise.
39334 * conform/data/utime.h-data: Likewise.
39335 * conform/data/utmpx.h-data: Likewise.
39336 * conform/data/varargs.h-data: Likewise.
39337 * conform/data/wchar.h-data: Likewise.
39338 * conform/data/wctype.h-data: Likewise.
39339 * conform/data/wordexp.h-data: Likewise.
39340
39341 * include/stropts.h: New file.
39342 * include/uchar.h: New file.
39343 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39344 * include/assert.h: Likewise.
39345 * include/ctype.h: Likewise.
39346 * include/dirent.h: Likewise.
39347 * include/dlfcn.h: Likewise.
39348 * include/fcntl.h: Likewise.
39349 * include/fnmatch.h: Likewise.
39350 * include/glob.h: Likewise.
39351 * include/grp.h: Likewise.
39352 * include/libio.h: Likewise.
39353 * include/locale.h: Likewise.
39354 * include/math.h: Likewise.
39355 * include/net/if.h: Likewise.
39356 * include/netdb.h: Likewise.
39357 * include/netinet/in.h: Likewise.
39358 * include/pthread.h: Likewise.
39359 * include/pwd.h: Likewise.
39360 * include/regex.h: Likewise.
39361 * include/sched.h: Likewise.
39362 * include/search.h: Likewise.
39363 * include/setjmp.h: Likewise.
39364 * include/signal.h: Likewise.
39365 * include/stdio.h: Likewise.
39366 * include/stdlib.h: Likewise.
39367 * include/string.h: Likewise.
39368 * include/sys/cdefs.h: Likewise.
39369 * include/sys/mman.h: Likewise.
39370 * include/sys/msg.h: Likewise.
39371 * include/sys/resource.h: Likewise.
39372 * include/sys/select.h: Likewise.
39373 * include/sys/socket.h: Likewise.
39374 * include/sys/stat.h: Likewise.
39375 * include/sys/statvfs.h: Likewise.
39376 * include/sys/time.h: Likewise.
39377 * include/sys/times.h: Likewise.
39378 * include/sys/uio.h: Likewise.
39379 * include/sys/utsname.h: Likewise.
39380 * include/sys/wait.h: Likewise.
39381 * include/termios.h: Likewise.
39382 * include/time.h: Likewise.
39383 * include/ulimit.h: Likewise.
39384 * include/unistd.h: Likewise.
39385 * include/utime.h: Likewise.
39386 * include/wchar.h: Likewise.
39387 * include/wctype.h: Likewise.
39388 * include/wordexp.h: Likewise.
39389
39390 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39391
7a270350
UD
39392 * time/time.h: TIME_UTC must be a macro.
39393 Make timespec_get available for ISO C11 only as well.
39394
7724defc
UD
393952012-02-24 Ulrich Drepper <drepper@gmail.com>
39396
39397 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39398 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39399
6b1d1d46
JM
394002012-02-24 Joseph Myers <joseph@codesourcery.com>
39401
39402 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 39403
0f8bbd69
JM
394042012-02-24 Joseph Myers <joseph@codesourcery.com>
39405
39406 * manual/texinfo.tex: Update to version 2012-01-19.16.
39407
66ab80bc
JM
394082012-02-24 Joseph Myers <joseph@codesourcery.com>
39409
39410 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39411
74981cc5
RM
394122012-02-24 Roland McGrath <roland@hack.frob.com>
39413
ee968201
RM
39414 [BZ #13738]
39415 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39416 * manual/fdl-1.3.texi: New file.
39417 * manual/fdl-1.1.texi: File removed.
39418
74981cc5
RM
39419 [BZ #13738]
39420 * manual/libc.texinfo (FDL_VERSION): New @set.
39421 Use it for mention of FDL in cover text.
39422 (Documentation License): Use it in @include file name.
39423
7bb764bc
JM
394242012-02-22 Joseph Myers <joseph@codesourcery.com>
39425 Roland McGrath <roland@hack.frob.com>
39426
39427 [BZ #5461]
57f41c40
AS
39428 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39429 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
39430 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39431 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39432 name.
39433 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39434
6cbeae47
JM
394352012-02-22 Joseph Myers <joseph@codesourcery.com>
39436
39437 [BZ #2547]
39438 [BZ #11365]
39439 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39440 manipulate bits before adding and subtracting TWO23[sx].
39441 * math/libm-test.inc (nearbyint_test): Add more tests.
39442
fe45ce09
JM
394432012-02-22 Joseph Myers <joseph@codesourcery.com>
39444
39445 [BZ #2548]
39446 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39447 bits before adding and subtracting TWO23[sx].
39448 * math/libm-test.inc (rint_test): Add more tests.
39449 (rint_test_tonearest): Likewise.
39450 (rint_test_towardzero): Likewise.
39451 (rint_test_downward): Likewise.
39452 (rint_test_upward: Likewise.
39453
ff3b3d82
JM
394542012-02-22 Joseph Myers <joseph@codesourcery.com>
39455
39456 [BZ #10110]
39457 * include/stdc-predef.h: New file. Extracted from features.h.
39458 * include/features.h: Include stdc-predef.h.
39459 * Makefile (headers): Add stdc-predef.h.
39460 * CONFORMANCE (Compiler limitations): Update.
39461
ef0aab35
JM
394622012-02-22 Joseph Myers <joseph@codesourcery.com>
39463
39464 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39465
58639409
DM
394662012-02-21 David S. Miller <davem@davemloft.net>
39467
39468 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39469 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39470
c0e70b25
DM
394712012-02-20 David S. Miller <davem@davemloft.net>
39472
39473 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39474 using a normal save/restore sequence, rather than allocating a
39475 dummy stack frame just to store a frame pointer and restore.
39476 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39477
fb06851d
JM
394782012-02-21 Joseph Myers <joseph@codesourcery.com>
39479
39480 * manual/install.texi: Fix stray word in line-wrapped comment.
39481
7a8b71c3
DM
394822012-02-20 David S. Miller <davem@davemloft.net>
39483
d510c123
DM
39484 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39485 both binutils and gcc support GOTDATA.
39486
0722d7c2
DM
39487 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39488 "rd %pc" in the PIC register setup sequences.
39489
3d2b3019
DM
39490 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39491 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39492 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39493 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39494 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39495 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39497 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39499 (SYSCALL_ERROR_HANDLER): Likewise.
39500 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39501 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39503 (SYSCALL_ERROR_HANDLER): Likewise.
39504
c80098a9
DM
39505 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39506 (HAVE_GCC_GOTDATA): New.
39507 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39508 relocation support in both binutils and gcc.
39509 * sysdeps/sparc/elf/configure: Regenerate.
39510
3a2545a0
DM
39511 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39512 * sysdeps/sparc/sparc32/elf/configure: Delete.
39513 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39514 * sysdeps/sparc/sparc64/elf/configure: Delete.
39515 * sysdeps/sparc/elf/configure.in: New file.
39516 * sysdeps/sparc/elf/configure: Generate.
39517
7a8b71c3
DM
39518 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39519 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39520 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39521 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39522 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39523
f1e86fca
JM
395242012-02-21 Joseph Myers <joseph@codesourcery.com>
39525
39526 * manual/install.texi: Do not mention specific glibc version
39527 numbers.
39528 * manual/libc.texinfo (VERSION, UPDATED): Update.
39529 (@copying): Use @copyright{} and range of years.
39530
0e7dfaef
JM
395312012-02-21 Joseph Myers <joseph@codesourcery.com>
39532
39533 [BZ #13695]
39534 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39535 [crti.S not in sysdirs] (generated): Do not append.
39536 [crti.S not in sysdirs] (omit-deps): Likewise.
39537 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39538 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39539 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39540 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39541 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39542 Likewise.
39543 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39544 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39545 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39546 * csu/defs.awk: Remove file.
39547 * sysdeps/generic/initfini.c: Likewise.
39548 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39549 variable.
39550 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39551 Likewise.
39552
599af3ca
JM
395532012-02-20 Joseph Myers <joseph@codesourcery.com>
39554
39555 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39556 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39557 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39559 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39560 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39561 <bits/epoll.h>.
39562 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39563 (__EPOLL_PACKED): Define to empty if not defined by
39564 <bits/epoll.h>.
39565 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39567 bits/epoll.h.
39568
0e499750
JM
395692012-02-20 Joseph Myers <joseph@codesourcery.com>
39570
39571 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39572 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39573 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39574 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39575 <bits/timerfd.h>.
39576 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39578 bits/timerfd.h.
39579
5ad91f6e
JM
395802012-02-20 Joseph Myers <joseph@codesourcery.com>
39581
39582 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39583 in C locale.
39584 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39585 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39586 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39588
06b99b02
AJ
395892012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39590
39591 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39592 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39593
7638c0fd
AS
395942012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39595
39596 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39597 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39598 defined.
39599 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39600 Likewise.
39601 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39602 entry for 2.16.
39603
92221550
AJ
396042012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39605
39606 * math/w_acos.c: Use non-signaling floating-point comparisons.
39607 * math/w_acosf.c: Likewise.
39608 * math/w_acosh.c: Likewise.
39609 * math/w_acoshf.c: Likewise.
39610 * math/w_acoshl.c: Likewise.
39611 * math/w_acosl.c: Likewise.
39612 * math/w_asin.c: Likewise.
39613 * math/w_asinf.c: Likewise.
39614 * math/w_asinl.c: Likewise.
39615 * math/w_atanh.c: Likewise.
39616 * math/w_atanhf.c: Likewise.
39617 * math/w_atanhl.c: Likewise.
39618 * math/w_exp2.c: Likewise.
39619 * math/w_exp2f.c: Likewise.
39620 * math/w_exp2l.c: Likewise.
39621 * math/w_j0.c: Likewise.
39622 * math/w_j0f.c: Likewise.
39623 * math/w_j0l.c: Likewise.
39624 * math/w_j1.c: Likewise.
39625 * math/w_j1f.c: Likewise.
39626 * math/w_j1l.c: Likewise.
39627 * math/w_jn.c: Likewise.
39628 * math/w_jnf.c: Likewise.
39629 * math/w_log.c: Likewise.
39630 * math/w_log10.c: Likewise.
39631 * math/w_log10f.c: Likewise.
39632 * math/w_log10l.c: Likewise.
39633 * math/w_log2.c: Likewise.
39634 * math/w_log2f.c: Likewise.
39635 * math/w_log2l.c: Likewise.
39636 * math/w_logf.c: Likewise.
39637 * math/w_logl.c: Likewise.
39638 * math/w_sqrt.c: Likewise.
39639 * math/w_sqrtf.c: Likewise.
39640 * math/w_sqrtl.c: Likewise.
39641 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39642 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39643 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39644 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39645 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39646
ebaf36eb
JM
396472012-02-19 Joseph Myers <joseph@codesourcery.com>
39648
39649 [BZ #9739]
39650 * manual/string.texi (strnlen): Use correct parameter name in
39651 equivalent expression.
39652
71c254a6
JM
396532012-02-19 Joseph Myers <joseph@codesourcery.com>
39654
39655 [BZ #11174]
39656 * manual/users.texi (seteuid): Consistently use neweuid for
39657 argument name.
39658
16d2c631
JM
396592012-02-19 Joseph Myers <joseph@codesourcery.com>
39660
39661 [BZ #13704]
39662 * manual/nss.texi (Services in the NSS configuration): Correct
39663 list of services in example configuration file.
39664
cd837b09
NB
396652012-02-19 Nick Bowler <nbowler@draconx.ca>
39666
39667 [BZ #11322]
39668 * manual/arith.texi: Remove statements about negative zero
39669 behaving identically to zero.
39670
02c4bbad
JM
396712012-02-18 Joseph Myers <joseph@codesourcery.com>
39672
39673 [BZ #5993]
39674 * manual/install.texi: Do not document upgrading from libc5.
39675
366842e7
JM
396762012-02-18 Joseph Myers <joseph@codesourcery.com>
39677
39678 [BZ #4596]
39679 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39680
dd54084d
DM
396812012-02-18 David S. Miller <davem@davemloft.net>
39682
39683 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39684 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39685 %o7 across the call.
39686 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39687 instead.
39688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39689 SETUP_PIC_REG_LEAF.
39690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39691 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39692 * sysdeps/sparc/crtn.S: Likewise.
39693
2bcc53a3
UD
396942012-02-17 Ulrich Drepper <drepper@gmail.com>
39695
39696 * aout/Makefile: Remove.
39697
09c093b5
RK
396982012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39699
39700 [BZ #13058]
39701 * manual/examples/argp-ex1.c (main): Format definition in GNU
39702 style.
39703 * manual/examples/argp-ex2.c (main): Likewise.
39704 * manual/examples/argp-ex3.c (main): Likewise.
39705 * manual/examples/argp-ex4.c (main): Likewise.
39706 * manual/examples/longopt.c (main): Use new-style prototype
39707 definition.
39708 * manual/examples/strncat.c (main): Specify return type and use
39709 (void) for arguments.
39710 * manual/examples/subopt.c (main): Use char **argv argument.
39711
2ee633a2
JM
397122012-02-17 Joseph Myers <joseph@codesourcery.com>
39713
39714 [BZ #5077]
39715 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39716 rounding modes.
39717
0520adde
FB
397182012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39719
39720 [BZ #6907]
39721 * manual/string.texi (strchr): Change when strchrnul is
39722 recommended.
39723
3f4081cd
DGM
397242012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39725
39726 [BZ #174]
39727 * manual/locale.texi (setlocale): Document LOCPATH.
39728
d1b10e78
JM
397292012-02-17 Joseph Myers <joseph@codesourcery.com>
39730
39731 [BZ #10210]
39732 * manual/process.texi (execle): Move @dots{} before last argument.
39733
79c6869c
PB
397342012-02-17 Paul Bolle <pebolle@tiscali.nl>
39735
39736 [BZ #12047]
39737 * manual/charset.texi (Generic Charset Conversion): Fix typo
39738 (LC_TYPE -> LC_CTYPE).
39739
cc6e48bc
NB
397402012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39741
39742 [BZ #5805]
39743 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39744 (scalbnf): Likewise.
39745 (scalbnl): Likewise.
39746 (scalbln): Likewise.
39747 (scalblnf): Likewise.
39748 (scalblnl): Likewise.
39749 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39750 (vwarnx): Likewise.
39751 (verr): Likewise.
39752 (verrx): Likewise.
39753 * manual/filesys.texi (telldir): Use braces around return type.
39754 * manual/llio.texi (mmap): Add space after comma.
39755 (mmap64): Likewise.
39756 * manual/math.texi (jn): Use @var{} on parameter names.
39757 (jnf): Likewise.
39758 (jnl): Likewise.
39759 (yn): Likewise.
39760 (ynf): Likewise.
39761 (ynl): Likewise.
39762 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39763 line.
39764 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39765 "...".
39766 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39767 (sched_get_priority_max): Likewise.
39768 * manual/signal.texi (sigvec): Add space after comma.
39769 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39770 names.
39771 (if_indextoname): Likewise.
39772 (if_freenameindex): Likewise.
39773 (sendto): Use ',' instead of '.' in prototype.
39774 * manual/startup.texi (syscall): Use @dots{} instead of literal
39775 "...".
39776 * manual/stdio.texi (__fpending): Separate initial words of
39777 paragraph from @deftypefun line.
39778 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39779 "...".
39780 (vsyslog): Use @var{} on parameter names.
39781 * manual/terminal.texi (stty): Use @var{} on parameter names.
39782 * manual/users.texi (getutmp): Use @var{} on parameter names.
39783 (getutmpx): Likewise.
39784
5b23062f
JM
397852012-02-17 Joseph Myers <joseph@codesourcery.com>
39786
39787 [BZ #6884]
39788 * manual/stdio.texi (fopen): Fix typos in description of
39789 ",ccs=STRING".
39790
8dee4833
AJ
397912012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39792
39793 [BZ #4026]
39794 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39795 get clock_id definition.
39796
9078ce93
TS
397972012-02-17 Thomas Schwinge <thomas@schwinge.name>
39798
39799 [BZ #4822]
39800 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39801 (madvise): Cast every argument to void on its own.
39802
3835c55f
JM
398032012-02-17 Joseph Myers <joseph@codesourcery.com>
39804
39805 [BZ #9902]
39806 * manual/startup.texi (Exit Status): Fix typo.
39807
35c47e37
JM
398082012-02-17 Joseph Myers <joseph@codesourcery.com>
39809
39810 [BZ #10140]
39811 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39812 * manual/examples/argp-ex2.c: Likewise.
39813 * manual/examples/argp-ex3.c: Likewise.
39814
e3b69ca7
RH
398152012-02-16 Richard Henderson <rth@redhat.com>
39816
39817 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39818 * sysdeps/s390/s390-32/initfini.c: Remove.
39819 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39820 * sysdeps/s390/s390-64/initfini.c: Remove.
39821
df83af67
KK
398222012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39823
39824 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39825 compiler output for sysdeps/generic/initfini.c.
39826 * sysdeps/sh/elf/initfini.c: Remove file.
39827
f63f3380
DM
398282012-02-16 David S. Miller <davem@davemloft.net>
39829
fb59b3a4
DM
39830 [BZ #11494]
39831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39832
f63f3380
DM
39833 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39834 * sysdeps/sparc/crti.S: New file.
39835 * sysdeps/sparc/crtn.S: New file.
39836 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39837 * sysdeps/sparc/sparc64/Makefile: Likewise.
39838
df6a4a4a
MF
398392012-02-15 Mike Frysinger <vapier@gentoo.org>
39840
6dd8f3dc 39841 [BZ #3335]
df6a4a4a
MF
39842 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39843
1cac7236
RM
398442012-02-15 Roland McGrath <roland@hack.frob.com>
39845
d2c736f8
RM
39846 [BZ #4822]
39847 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39848
1cac7236
RM
39849 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39850 (write, read, close): Likewise.
39851 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39852
8e475601
JM
398532012-02-15 Joseph Myers <joseph@codesourcery.com>
39854
39855 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39856 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39857 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39858 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39859 <bits/signalfd.h>.
39860 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39862 bits/signalfd.h.
39863
ed656b40
MP
398642012-02-14 Marek Polacek <polacek@redhat.com>
39865
39866 * sysdeps/x86_64/crti.S: New file.
39867 * sysdeps/x86_64/crtn.S: New file.
39868 * sysdeps/x86_64/elf/initfini.c: Remove file.
39869
2a979d3a
JM
398702012-02-13 Joseph Myers <joseph@codesourcery.com>
39871
39872 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39873 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39874 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39875 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39876 <bits/inotify.h>.
39877 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39879 bits/inotify.h.
39880
2a418ac3
JM
398812012-02-13 Joseph Myers <joseph@codesourcery.com>
39882
39883 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39884 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39885 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39886 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39887 <bits/eventfd.h>.
39888 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39890 bits/eventfd.h.
39891
fb779be7
TS
398922012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39893
e19e83c5
RM
39894 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39895 __feraiseexcept instead of feraiseexcept.
7c35ffed 39896
fb779be7
TS
39897 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39898 nanosleep invocations.
39899 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39900 strings, and add error checking for a nanosleep invocations.
39901
59ba27a6
PE
399022012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39903
39904 Replace FSF snail mail address with URLs, as per GNU coding standards.
39905 Most of the snail mail addresses were wrong anyway, and omitting
39906 them makes the source code easier to maintain. Almost all of the
39907 changes are to license notices and to locale LC_IDENTIFICATION
39908 addresses, except for this one:
39909 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39910 not its snail mail address.
39911
57b957eb
RH
399122012-02-09 Richard Henderson <rth@twiddle.net>
39913
af850b1c
RH
39914 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39915 of kernel-features.h.
39916
57b957eb
RH
39917 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39918
6b73181a
MP
399192012-02-08 Marek Polacek <polacek@redhat.com>
39920
39921 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39922 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39923 * sysdeps/gnu/_G_config.h: Likewise.
39924 * sysdeps/generic/_G_config.h: Likewise.
39925
26ecc33a
AS
399262012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39927
6c6dbc63
AS
39928 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39929 tests.
39930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39931
e216c012
AS
39932 * sysdeps/powerpc/powerpc32/crti.S: New file.
39933 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39934 * sysdeps/powerpc/powerpc64/crti.S: New file.
39935 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39936
26ecc33a
AS
39937 * Makeconfig (have-initfini): Don't set.
39938 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39939 * configure.in (nopic_initfini): Don't substitute.
39940 * config.h.in (HAVE_INITFINI): Don't #undef.
39941 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39942 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39943
3add8e13
JM
399442012-02-08 Joseph Myers <joseph@codesourcery.com>
39945
39946 Support crti.S and crtn.S provided directly by architectures.
39947 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39948 [crti.S in sysdirs] (omit-deps): Likewise.
39949 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39950 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39951 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39952 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39953 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39954 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39955 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39956 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39957 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39958 compiler output for sysdeps/generic/initfini.c.
39959 * sysdeps/i386/elf/Makefile: Remove file.
39960 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39961
a22f12b4
MP
399622012-02-07 Marek Polacek <polacek@redhat.com>
39963
39964 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39965 * sysdeps/gnu/_G_config.h: Likewise.
39966 * sysdeps/mach/hurd/_G_config.h: Likewise.
39967
148cf100
MP
399682012-02-07 Marek Polacek <polacek@redhat.com>
39969
39970 * math/Makefile (tests): Add tst-CMPLX2.
39971 * math/tst-CMPLX2.c: New file.
39972
cfdc0dd7
AS
399732012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39974
84ba42c4
AS
39975 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39976
cfdc0dd7
AS
39977 * math/libm-test.inc (jn_test): Add missing L suffix.
39978
622c86f4
MP
399792012-02-06 Marek Polacek <polacek@redhat.com>
39980
39981 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39982 * sysdeps/i386/fpu/e_powf.S: Likewise.
39983 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39984 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39985 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39986 * sysdeps/i386/fpu/e_pow.S: Likewise.
39987 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39988 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39989 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39990 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39991 * sysdeps/i386/fpu/e_log2.S: Likewise.
39992 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39993 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39994 * sysdeps/i386/fpu/e_powl.S: Likewise.
39995 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39996 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39997 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39998 * sysdeps/i386/fpu/e_logl.S: Likewise.
39999 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40000 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40001 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40002 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40003 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40004 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40005 * sysdeps/i386/fpu/e_log.S: Likewise.
40006 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40007 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40008 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40009 * sysdeps/i386/fpu/e_logf.S: Likewise.
40010 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40011 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40012 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40013 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40014 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40015 * sysdeps/i386/fpu/e_log10.S: Likewise.
40016 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40017 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40018 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40019 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40020 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40021 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40022 * sysdeps/i386/asm-syntax.h: Likewise.
40023 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40024 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40025 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40026 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40027 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40028 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40029 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40030 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40031 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40032 * sysdeps/powerpc/sysdep.h: Likewise.
40033 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40034 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40035
d4a54ac6
JM
400362012-02-06 Joseph Myers <joseph@codesourcery.com>
40037
40038 [BZ #411]
40039 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40040
314054ea
JM
400412012-02-06 Joseph Myers <joseph@codesourcery.com>
40042
40043 * sysdeps/i386/sysdep.h: Include <features.h>.
40044 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40045 version.
40046
d8e0ca50
JM
400472012-02-05 Joseph Myers <joseph@codesourcery.com>
40048
40049 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40050 Define.
40051 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40052 LOAD_PIC_REG_STR.
40053
b1da7dd9
JM
400542012-02-03 Joseph Myers <joseph@codesourcery.com>
40055
40056 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40057 (SETUP_PIC_REG): Use GET_PC_THUNK.
40058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40059 macro.
40060
9a1d9254
JM
400612012-02-03 Joseph Myers <joseph@codesourcery.com>
40062
40063 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40064 for non-PIC compilation.
40065 (SETUP_PIC_REG): Add .p2align directive.
40066 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40067 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40068 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40069 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40071 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40073 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40074 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40075 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40076 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40077 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40078 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40079 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40080 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40081 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40082 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40083 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40084 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40085 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40086 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40087 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40088 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40089 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40094 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40095 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40096 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40097 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40098 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40099 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40100 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40101 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40102 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40103 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40104 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40105 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40106 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40107
65dc3b75
JM
401082012-02-03 Joseph Myers <joseph@codesourcery.com>
40109
40110 * math/tst-CMPLX.c: Include <stdio.h>.
40111
d55bf177
JM
401122012-01-31 Joseph Myers <joseph@codesourcery.com>
40113
40114 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40115 float.
40116 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40117 * sysdeps/sparc/bits/mathdef.h: Likewise.
40118
69db4f8f
MP
401192012-01-31 Marek Polacek <polacek@redhat.com>
40120
40121 * libio/libio.h: Don't define _PARAMS.
40122 * locale/programs/config.h: Don't define PARAMS.
40123 * stdlib/strtol_l.c: Likewise.
40124 (__strtol_l): Remove PARAMS from the prototype.
40125
41b81892
UD
401262012-01-31 Ulrich Drepper <drepper@gmail.com>
40127
3b49edc0
UD
40128 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40129 names. Just use the correct names. Remove unnecessary wrapper
40130 functions.
40131 * malloc/arena.c: Likewise.
40132 * malloc/hooks.c: Likewise.
40133
41b81892
UD
40134 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40135 ARENA_TEST says not to. Simplify test for creation of a new arena.
40136 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40137
27a25b6e
UD
401382012-01-30 Ulrich Drepper <drepper@gmail.com>
40139
40140 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40141 into tail calls.
40142 (update_get_addr): New function.
40143 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40144 GET_ADDR_MODULE parameter.
40145
c8a89e7d
JM
401462012-01-30 Joseph Myers <joseph@codesourcery.com>
40147
40148 * crypt/cert.c: Remove __STDC__ conditionals.
40149 * crypt/crypt-entry.c: Likewise.
40150 * crypt/crypt_util.c: Likewise.
40151 * libio/filedoalloc.c: Likewise.
40152 * libio/fileops.c: Likewise.
40153 * libio/genops.c: Likewise.
40154 * libio/iofclose.c: Likewise.
40155 * libio/iofdopen.c: Likewise.
40156 * libio/iofopen.c: Likewise.
40157 * libio/iofopen64.c: Likewise.
40158 * libio/iogetdelim.c: Likewise.
40159 * libio/iopopen.c: Likewise.
40160 * libio/obprintf.c: Likewise.
40161 * libio/oldfileops.c: Likewise.
40162 * libio/oldiofclose.c: Likewise.
40163 * libio/oldiofdopen.c: Likewise.
40164 * libio/oldiofopen.c: Likewise.
40165 * libio/oldiopopen.c: Likewise.
40166 * libio/wfiledoalloc.c: Likewise.
40167 * libio/wgenops.c: Likewise.
40168 * locale/programs/xmalloc.c: Likewise.
40169 * misc/syslog.c: Likewise.
40170 * stdio-common/xbug.c: Likewise.
40171 * string/memchr.c: Likewise.
40172 * string/memcmp.c: Likewise.
40173 * string/memrchr.c: Likewise.
40174 * string/rawmemchr.c: Likewise.
40175 * sysdeps/posix/getcwd.c: Likewise.
40176 * time/strftime_l.c: Likewise.
40177
3b100462
JM
401782012-01-30 Joseph Myers <joseph@codesourcery.com>
40179
40180 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
40181 * config.make.in (config-cflags-sse2avx): Define.
40182 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40183 Fix typo.
40184
607998af
CM
401852012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40186
40187 * scripts/config.guess: Update from upstream config git repository.
40188 * scripts/config.sub: Likewise.
40189
3601428f
CM
401902012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40191
3ac8b282
CM
40192 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40193 (EM_NUM): Update.
40194 (R_TILEPRO_*, R_TILEGX_*): New macros.
40195
e034841e
CM
40196 * scripts/firstversions.awk: Fix bug in version range handling.
40197
540d7568
CM
40198 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40199
3601428f
CM
40200 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40201
463de862
CM
40202 * include/sys/epoll.h: New file.
40203 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40204 libc_hidden_def.
40205
73139a76
UD
402062012-01-28 Ulrich Drepper <drepper@gmail.com>
40207
96bc5b45
UD
40208 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40209 Avoid unnecessary __WORDSIZE == 64 test.
40210 (fmaxf): Use VEX format if possible.
40211 (fmax): Likewise.
40212 (fminf): Likewise.
40213 (fmin): Likewise.
40214
56f6f6a2
UD
40215 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40216 * math/math_private.h: Remove libc_fegetround* and
40217 libc_fesetround*.
40218 * sysdeps/i386/configure.in: Check for -msse2avx.
40219 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40220 also if SSE2AVX is defined.
40221 Remove libc_fegetround* and libc_fesetround*.
40222 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40223 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40224 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40225 of HAS_YMM_USABLE.
40226 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40227 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40228 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40230 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40231
73139a76
UD
40232 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40233
d73f93a4
AZ
402342012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40235
40236 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40237 size is not set.
40238 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40239
6ee65ed6
UD
402402012-01-27 Ulrich Drepper <drepper@gmail.com>
40241
40242 [BZ #13618]
40243 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40244 relocation.
40245 * Makeconfig (libm): Define.
40246 * elf/Makefile: Add rules to build and run tst-relsort1.
40247 * elf/tst-relsort1.c: New file.
40248 * elf/tst-relsort1mod1.c: New file.
40249 * elf/tst-relsort1mod2.c: New file.
40250
8db21882
JM
402512012-01-27 Joseph Myers <joseph@codesourcery.com>
40252
40253 * math/s_ldexp.c: Remove __STDC__ conditionals.
40254 * math/s_ldexpf.c: Likewise.
40255 * math/s_ldexpl.c: Likewise.
40256 * math/s_nextafter.c: Likewise.
40257 * math/s_nexttowardf.c: Likewise.
40258 * math/s_significand.c: Likewise.
40259 * math/s_significandf.c: Likewise.
40260 * math/s_significandl.c: Likewise.
40261 * math/w_jnl.c: Likewise.
40262 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40263 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40264 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40265 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40266 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40267 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40268 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40269 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40270 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40271 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40272 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40273 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40274 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40275 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40276 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40277 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40278 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40279 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40281 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40282 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40283 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40284 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40285 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40286 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40287 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40288 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40289 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40290 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40291 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40292 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40293 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40294 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40295 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40296 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40297 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40298 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40299 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40300 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40301 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40302 * sysdeps/ieee754/k_standard.c: Likewise.
40303 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40304 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40305 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40306 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40307 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40308 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40309 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40310 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40311 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40312 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40313 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40314 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40315 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40316 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40317 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40318 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40319 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40322 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40325 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40327 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40328 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40332 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40333 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40334 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40335 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40336 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40337 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40338 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40339 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40342 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40343 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40345 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40346 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40348 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40349 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40350 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40351 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40352 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40353 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40356 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40357 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40358 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40359 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40360 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40361 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40362 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40363 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40364 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40365 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40366 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40367 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40368 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40369 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40370 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40371 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40372 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40373 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40374 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40375 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40376 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40377 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40378 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40379 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40380 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40381 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40382 * sysdeps/ieee754/s_matherr.c: Likewise.
40383 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40384 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40387
965a54a4
JM
403882012-01-26 Joseph Myers <joseph@codesourcery.com>
40389
40390 * crypt/md5.h: Remove __STDC__ conditionals.
40391 * libio/libioP.h: Likewise.
40392 * locale/programs/config.h: Likewise.
40393 * sysdeps/generic/sysdep.h: Likewise.
40394 * sysdeps/i386/asm-syntax.h: Likewise.
40395 * sysdeps/s390/asm-syntax.h: Likewise.
40396 * sysdeps/unix/sysdep.h: Likewise.
40397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40399
7071ad79
JM
404002012-01-26 Joseph Myers <joseph@codesourcery.com>
40401
40402 * libio/libio.h: Remove __STDC__ conditionals.
40403 * malloc/obstack.h: Likewise.
40404 * math/complex.h: Likewise.
40405 * math/math.h: Likewise.
40406 * sysdeps/generic/_G_config.h: Likewise.
40407 * sysdeps/gnu/_G_config.h: Likewise.
40408 * sysdeps/mach/hurd/_G_config.h: Likewise.
40409 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40410 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40411 * sysdeps/sparc/bits/mathdef.h: Likewise.
40412
afc5ed09
UD
404132012-01-26 Ulrich Drepper <drepper@gmail.com>
40414
40415 [BZ #13583]
40416 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 40417 Clean up HAS_* macros.
afc5ed09 40418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
40419 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40420 possible.
40421 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40422 HAS_AVX.
40423 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40424 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40425 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40427 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 40428
bdb6de1d
JM
404292012-01-25 Joseph Myers <joseph@codesourcery.com>
40430
40431 * elf/tst-unique3.cc (gets): Remove declaration.
40432 * elf/tst-unique3lib.cc (gets): Likewise.
40433 * elf/tst-unique3lib2.cc (gets): Likewise.
40434 * elf/tst-unique4.cc (gets): Likewise.
40435
b15549e6
UD
404362012-01-24 Ulrich Drepper <drepper@gmail.com>
40437
40438 * include/stdio.h: Add C++ protection. Add gets declarations and
40439 definitions.
40440 * debug/tst-chk1.c: Don't declare gets here.
40441 * stdio-common/tst-gets.c: Likewise.
40442
a037381f
JM
404432012-01-24 Joseph Myers <joseph@codesourcery.com>
40444
40445 * posix/glob: Remove directory.
40446
f1d4aa75
JM
404472012-01-24 Joseph Myers <joseph@codesourcery.com>
40448
40449 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40450
81c0c964
PT
404512012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40452
40453 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40454 of the non-standard EPFNOSUPPORT.
40455
0ea698ae
ST
404562011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40457
40458 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40459 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40460 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40461
d220b117
UD
404622012-01-21 Ulrich Drepper <drepper@gmail.com>
40463
40464 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40465
3e1aa84e
UD
404662012-01-20 Ulrich Drepper <drepper@gmail.com>
40467
40468 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40469 transient errors.
40470 * nscd/grpcache.c (cache_addgr): Likewise.
40471 * nscd/hstcache.c (cache_addhst): Likewise.
40472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40473 * nscd/pwdcache.c (cache_addpw): Likewise.
40474 * nscd/servicescache.c (cache_addserv): Likewise.
40475
400aa020
UD
404762012-01-16 Ulrich Drepper <drepper@gmail.com>
40477
d77e7869
UD
40478 * malloc/malloc.c: Various cleanups.
40479 * malloc/hooks.c: Likewise.
40480
400aa020
UD
40481 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40482 * stdlib/bug-fmtmsg1.c: New file.
40483
40484 * stdlib/fmtmsg.c (init): Add missing unlock.
40485 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40486
e0a309cf
MP
404872012-01-12 Marek Polacek <polacek@redhat.com>
40488
40489 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40490 and _GNU_SOURCE.
40491
929d11c7
WS
404922012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40493
40494 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40495 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40496 macro to ensure uniqueness of label name.
40497 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40498 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40499
41d0e869
UD
405002012-01-11 Ulrich Drepper <drepper@gmail.com>
40501
0cc5ed3b
UD
40502 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40503
41d0e869
UD
40504 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40505 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40506 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40508
a47a831a
UD
405092012-01-10 Ulrich Drepper <drepper@gmail.com>
40510
daa891c0
UD
40511 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40512
40513 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40514 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40515 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40516
e58ef0f2
UD
40517 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40518
a47a831a 40519 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
40520 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40521 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 40522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
40523
40524 * math/bits/math-finite.h: Add ldexp support.
40525
a0bfc9c7
MP
405262012-01-10 Marek Polacek <polacek@redhat.com>
40527
40528 * locale/programs/localedef.h (show_archive_content): Add noreturn
40529 attribute.
40530
d6e97a1d
UD
405312012-01-09 Ulrich Drepper <drepper@gmail.com>
40532
40533 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40534
d5835c26
UD
405352012-01-08 Ulrich Drepper <drepper@gmail.com>
40536
e5f484c6
UD
40537 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40538
d5835c26
UD
40539 * io/Makefile (headers): Add bits/poll2.h.
40540
d1f741e9
WS
405412011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40542
40543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40544 typo #include statement.
40545
ec09c1c4
UD
405462012-01-08 Ulrich Drepper <drepper@gmail.com>
40547
40548 * include/sys/cdefs.h: Define __attribute_alloc_size.
40549 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40550 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40551 * elf/pldd.c: Likewise.
40552 * iconv/iconv_charmap.c: Likewise.
40553 * iconv/iconvconfig.c: Likewise.
40554 * iconv/strtab.c: Likewise.
40555 * locale/programs/locale.c: Likewise.
40556 * locale/programs/localedef.h: Likewise.
40557 * locale/programs/simple-hash.c: Likewise.
40558 * nscd/nscd.h: Likewise.
40559 * nss/makedb.c: Likewise.
40560 * sysdeps/generic/ldconfig.h: Likewise.
40561 * locale/programs/localedef.c: Remove xmalloc prototype.
40562 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40563
20b38e03
PP
405642012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40565
40566 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40567 appropriate.
40568
a0da5fe1
UD
405692012-01-08 Ulrich Drepper <drepper@gmail.com>
40570
1d5a644a 40571 * math/Makefile (tests): Add tst-CMPLX.
669704fd 40572 * math/tst-CMPLX.c: New file.
1d5a644a 40573
8784a6db
UD
40574 * math/complex.h (CMPLXL): Fix typo.
40575
d9a216c0
UD
40576 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40577 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40578 GLIBC_2.16.
40579 * debug/tst-chk1.c: Add poll and ppoll tests.
40580 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40581 * include/sys/poll.h: Add hidden proto for ppoll.
40582 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40583 * sysdeps/mach/hurd/ppoll.c: Likewise.
40584 * io/ppoll.c: Likewise.
40585 * debug/poll_chk.c: New file.
40586 * debug/ppoll_chk.c: New file.
40587 * include/bits/poll2.h: New file.
40588 * io/bits/poll2.h: New file.
40589
ac097f5c
UD
40590 [BZ #1350]
40591 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40592
2119dcfa
UD
40593 * configure.in: static is always set to yes. Remove.
40594 * config.make.in: Don't set build-static.
40595 * Makeconfig: Remove use of build-static.
40596 * dlfcn/Makefile: Likewise.
40597 * elf/Makefile: Likewise.
40598 * math/Makefile: Likewise.
40599 * misc/Makefile: Likewise.
40600 * nptl/Makefile: Likewise.
40601 * sysdeps/mach/hurd/Makefile: Likewise.
40602
121766a9
UD
40603 * configure.in: PWD_P is not used anymore.
40604 * config.make.in: Remove PWD_P entry.
40605
51a1d39c 40606 * configure.in: Remove last remnants of RANLIB.
8720d066 40607 No need to check for signed size_t anymore.
215f4bdc
UD
40608 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40609 and IA-64.
3857022a 40610 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
40611 * aclocal.m4: Likewise.
40612
d3ed7225
UD
40613 * wcsmbs/mbrtoc16.c: Implement using towc function.
40614 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40615 * wcsmbs/wcsmbsload.c: Likewise.
40616 * iconv/gconv_simple.c: Likewise.
40617 * iconv/gconv_int.h: Likewise.
40618 * iconv/gconv_builtin.h: Likewise.
40619 * iconv/iconv_prog.c: Remove CHAR16 handling.
40620
40621 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40622
40623 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40624
a0da5fe1
UD
40625 * configure.in: Remove --with-elf and --enable-bounded options.
40626 Dont set base_machine for ia64. More non-ELF conditions removed.
40627 Remove testing and setting of leading underscore information.
40628 * config.make.in (build-bounded): Set to no.
40629 * config.h.in: Remove NO_UNDERSCORES entry.
40630 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40631 them.
40632 * csu/start.c: Remove !NO_UNDERSCORE code.
40633 * locale/localeinfo.h: Likewise.
40634 * sysdeps/generic/machine-gmon.h: Likewise.
40635 * sysdeps/generic/sysdep.h: Likewise.
40636 * sysdeps/i386/sysdep.h: Likewise.
40637 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40638 * sysdeps/mach/sysdep.h: Likewise.
40639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40640 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40641 * sysdeps/sh/sysdep.h: Likewise.
40642 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40643 * sysdeps/unix/i386/sysdep.S: Likewise.
40644 * sysdeps/unix/sparc/start.c: Likewise.
40645 * sysdeps/unix/sparc/sysdep.S: Likewise.
40646 * sysdeps/unix/sparc/sysdep.h: Likewise.
40647 * sysdeps/unix/start.c: Likewise.
40648 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40649 * sysdeps/x86_64/sysdep.h: Likewise.
40650
df78418a
UD
406512012-01-07 Ulrich Drepper <drepper@gmail.com>
40652
a784e502
UD
40653 [BZ #13553]
40654 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40655 for non-gcc.
40656 * argp/argp-fmtstream.h: Use const instead __const.
40657 * argp/argp.h: Likewise.
40658 * assert/assert.h: Likewise.
40659 * bits/fenv.h: Likewise.
40660 * bits/sched.h: Likewise.
40661 * bits/sigset.h: Likewise.
40662 * bits/sigthread.h: Likewise.
40663 * catgets/nl_types.h: Likewise.
40664 * conform/data/pthread.h-data: Likewise.
40665 * crypt/crypt-private.h: Likewise.
40666 * crypt/crypt.h: Likewise.
40667 * crypt/crypt_util.c: Likewise.
40668 * ctype/ctype.h: Likewise.
40669 * debug/execinfo.h: Likewise.
40670 * debug/mbsnrtowcs_chk.c: Likewise.
40671 * debug/mbsrtowcs_chk.c: Likewise.
40672 * debug/wcsnrtombs_chk.c: Likewise.
40673 * debug/wcsrtombs_chk.c: Likewise.
40674 * debug/wcstombs_chk.c: Likewise.
40675 * dirent/dirent.h: Likewise.
40676 * dlfcn/dlfcn.h: Likewise.
40677 * elf/neededtest4.c: Likewise.
40678 * grp/grp.h: Likewise.
40679 * gshadow/gshadow.h: Likewise.
40680 * iconv/gconv.h: Likewise.
40681 * iconv/gconv_int.h: Likewise.
40682 * iconv/gconv_simple.c: Likewise.
40683 * iconv/iconv.h: Likewise.
40684 * iconv/loop.c: Likewise.
40685 * iconv/skeleton.c: Likewise.
40686 * include/aio.h: Likewise.
40687 * include/aliases.h: Likewise.
40688 * include/argz.h: Likewise.
40689 * include/arpa/inet.h: Likewise.
40690 * include/assert.h: Likewise.
40691 * include/dirent.h: Likewise.
40692 * include/dlfcn.h: Likewise.
40693 * include/execinfo.h: Likewise.
40694 * include/fcntl.h: Likewise.
40695 * include/fenv.h: Likewise.
40696 * include/glob.h: Likewise.
40697 * include/grp.h: Likewise.
40698 * include/libintl.h: Likewise.
40699 * include/mntent.h: Likewise.
40700 * include/netdb.h: Likewise.
40701 * include/pwd.h: Likewise.
40702 * include/rpc/netdb.h: Likewise.
40703 * include/sched.h: Likewise.
40704 * include/search.h: Likewise.
40705 * include/shadow.h: Likewise.
40706 * include/signal.h: Likewise.
40707 * include/stdio.h: Likewise.
40708 * include/stdlib.h: Likewise.
40709 * include/string.h: Likewise.
40710 * include/sys/socket.h: Likewise.
40711 * include/sys/stat.h: Likewise.
40712 * include/sys/statfs.h: Likewise.
40713 * include/sys/statvfs.h: Likewise.
40714 * include/sys/syslog.h: Likewise.
40715 * include/sys/time.h: Likewise.
40716 * include/sys/uio.h: Likewise.
40717 * include/time.h: Likewise.
40718 * include/unistd.h: Likewise.
40719 * include/utmp.h: Likewise.
40720 * include/wchar.h: Likewise.
40721 * include/wctype.h: Likewise.
40722 * inet/aliases.h: Likewise.
40723 * inet/arpa/inet.h: Likewise.
40724 * inet/netinet/ether.h: Likewise.
40725 * inet/netinet/in.h: Likewise.
40726 * intl/libintl.h: Likewise.
40727 * io/bits/fcntl2.h: Likewise.
40728 * io/fcntl.h: Likewise.
40729 * io/ftw.h: Likewise.
40730 * io/sys/poll.h: Likewise.
40731 * io/sys/stat.h: Likewise.
40732 * io/sys/statfs.h: Likewise.
40733 * io/sys/statvfs.h: Likewise.
40734 * io/utime.h: Likewise.
40735 * libio/bits/stdio.h: Likewise.
40736 * libio/bits/stdio2.h: Likewise.
40737 * libio/libio.h: Likewise.
40738 * libio/libioP.h: Likewise.
40739 * libio/stdio.h: Likewise.
40740 * locale/lc-ctype.c: Likewise.
40741 * locale/locale.h: Likewise.
40742 * login/utmp.h: Likewise.
40743 * malloc/arena.c: Likewise.
40744 * malloc/malloc.c: Likewise.
40745 * malloc/malloc.h: Likewise.
40746 * malloc/mcheck.c: Likewise.
40747 * malloc/mtrace.c: Likewise.
40748 * math/bits/mathcalls.h: Likewise.
40749 * math/fenv.h: Likewise.
40750 * math/math_private.h: Likewise.
40751 * misc/bits/error.h: Likewise.
40752 * misc/bits/syslog.h: Likewise.
40753 * misc/err.h: Likewise.
40754 * misc/error.h: Likewise.
40755 * misc/fstab.h: Likewise.
40756 * misc/mntent.h: Likewise.
40757 * misc/regexp.h: Likewise.
40758 * misc/search.h: Likewise.
40759 * misc/sgtty.h: Likewise.
40760 * misc/sys/mman.h: Likewise.
40761 * misc/sys/syslog.h: Likewise.
40762 * misc/sys/uio.h: Likewise.
40763 * misc/sys/xattr.h: Likewise.
40764 * misc/ttyent.h: Likewise.
40765 * nis/rpcsvc/ypclnt.h: Likewise.
40766 * nss/nss.h: Likewise.
40767 * posix/bits/unistd.h: Likewise.
40768 * posix/fnmatch.h: Likewise.
40769 * posix/glob.h: Likewise.
40770 * posix/sched.h: Likewise.
40771 * posix/spawn.h: Likewise.
40772 * posix/sys/wait.h: Likewise.
40773 * posix/unistd.h: Likewise.
40774 * posix/wordexp.h: Likewise.
40775 * pwd/pwd.h: Likewise.
40776 * resolv/netdb.h: Likewise.
40777 * resource/sys/resource.h: Likewise.
40778 * rt/aio.h: Likewise.
40779 * rt/bits/mqueue2.h: Likewise.
40780 * rt/mqueue.h: Likewise.
40781 * shadow/shadow.h: Likewise.
40782 * signal/signal.h: Likewise.
40783 * socket/send.c: Likewise.
40784 * socket/sendto.c: Likewise.
40785 * socket/sys/socket.h: Likewise.
40786 * stdio-common/printf.h: Likewise.
40787 * stdlib/bits/stdlib.h: Likewise.
40788 * stdlib/fmtmsg.h: Likewise.
40789 * stdlib/monetary.h: Likewise.
40790 * stdlib/stdlib.h: Likewise.
40791 * stdlib/ucontext.h: Likewise.
40792 * streams/stropts.h: Likewise.
40793 * string/argz.h: Likewise.
40794 * string/bits/string2.h: Likewise.
40795 * string/string.h: Likewise.
40796 * string/strings.h: Likewise.
40797 * sunrpc/rpc/auth.h: Likewise.
40798 * sunrpc/rpc/auth_des.h: Likewise.
40799 * sunrpc/rpc/clnt.h: Likewise.
40800 * sunrpc/rpc/netdb.h: Likewise.
40801 * sunrpc/rpc/pmap_clnt.h: Likewise.
40802 * sunrpc/rpc/xdr.h: Likewise.
40803 * sysdeps/generic/inttypes.h: Likewise.
40804 * sysdeps/generic/net/if.h: Likewise.
40805 * sysdeps/generic/sys/swap.h: Likewise.
40806 * sysdeps/gnu/net/if.h: Likewise.
40807 * sysdeps/gnu/utmpx.h: Likewise.
40808 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40809 * sysdeps/i386/i486/bits/string.h: Likewise.
40810 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40811 * sysdeps/s390/bits/string.h: Likewise.
40812 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40813 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40814 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40815 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40816 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40817 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40818 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40819 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40820 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40821 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40822 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40823 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40824 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40825 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40826 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40827 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40828 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40832 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40833 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40834 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40835 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40836 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40837 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40838 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40839 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40840 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40841 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40842 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40843 * sysvipc/sys/ipc.h: Likewise.
40844 * sysvipc/sys/msg.h: Likewise.
40845 * sysvipc/sys/sem.h: Likewise.
40846 * sysvipc/sys/shm.h: Likewise.
40847 * termios/termios.h: Likewise.
40848 * time/sys/time.h: Likewise.
40849 * time/time.h: Likewise.
40850 * wcsmbs/bits/wchar2.h: Likewise.
40851 * wcsmbs/uchar.h: Likewise.
40852 * wcsmbs/wchar.h: Likewise.
40853 * wctype/wctype.h: Likewise.
40854
0269750c
UD
40855 [BZ #13551]
40856 * Makeconfig: Remove all but ELF support including AIX support.
40857 * Makerules: Likewise.
40858 * config.h.in: Likewise.
40859 * config.make.in: Likewise.
40860 * configure: Likewise.
40861 * configure.in: Likewise.
40862 * csu/Makefile: Likewise.
40863 * csu/version.c: Likewise.
40864 * debug/Makefile: Likewise.
40865 * dlfcn/Makefile: Likewise.
40866 * elf/Makefile: Likewise.
40867 * extra-lib.mk: Likewise.
40868 * iconv/Makefile: Likewise.
40869 * include/libc-symbols.h: Likewise.
40870 * include/shlib-compat.h: Likewise.
40871 * resolv/Makefile: Likewise.
40872 * resolv/res_libc.c: Likewise.
40873 * rt/Makefile: Likewise.
40874 * sysdeps/i386/asm-syntax.h: Likewise.
40875 * sysdeps/i386/sysdep.h: Likewise.
40876 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40877 * sysdeps/mach/sysdep.h: Likewise.
40878 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40879 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40880 * sysdeps/s390/asm-syntax.h: Likewise.
40881 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40883 * sysdeps/sh/sysdep.h: Likewise.
40884 * sysdeps/unix/sparc/sysdep.h: Likewise.
40885 * sysdeps/wordsize-32/divdi3.c: Likewise.
40886 * sysdeps/x86_64/sysdep.h: Likewise.
40887
00bbd29b
UD
40888 * argp/Versions: Remove _argp_unlock_xxx.
40889
40890 [BZ #13559]
40891 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40892 * abilist/libBrokenLocale.abilist: Likewise.
40893 * abilist/libanl.abilist: Likewise.
40894 * abilist/libc.abilist: Likewise.
40895 * abilist/libcrypt.abilist: Likewise.
40896 * abilist/libdl.abilist: Likewise.
40897 * abilist/libm.abilist: Likewise.
40898 * abilist/libnsl.abilist: Likewise.
40899 * abilist/libpthread.abilist: Likewise.
40900 * abilist/libresolv.abilist: Likewise.
40901 * abilist/librt.abilist: Likewise.
40902 * abilist/libthread_db.abilist: Likewise.
40903 * abilist/libutil.abilist: Likewise.
40904 * abilist/libnss_db.abilist: New file.
40905
40906 * scripts/abilist.awk: Add support for indirect functions.
40907
a2693a0e
UD
40908 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40909
3f05895f
UD
40910 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40911
ecb6fb48
UD
40912 * shlib-versions: Remove entries for ports architectures.
40913
664f8cb9
UD
40914 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40915 files in ports.
40916 * elf/stackguard-macros.h: Remove support for IA-64.
40917 * elf/tst-auditmod1.c: Likewise.
40918 * sysdeps/generic/ldsodefs.h: Likewise.
40919
7ae81d88
UD
40920 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40921 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40922 configure files.
40923
bdeba135
UD
40924 [BZ #13552]
40925 * configure.in: Remove --enable-omitfp support.
40926 * FAQ.in: Adjust.
40927 * config.make.in: Likewise.
40928 * Makeconfig: Likewise.
40929 * manual/install.texi: Likewise.
40930
d75a0a62
UD
40931 In case anyone cares, the IA-64 architecture could move to ports.
40932 * sysdeps/ia64/*: Removed.
40933 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 40934 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 40935
dcc9756b
UD
40936 [BZ #13555]
40937 * configure.in: Remove entries for unsupported architectures.
40938
d3761ebc 40939 [BZ #13533]
9954432e
UD
40940 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40941 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40942 routines.
40943 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40944 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40945 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40946 fall back to using wcrtomb.
40947 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40948 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40949 renaming.
40950 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40951 * wcsmbs/tst-c16c32-1.c: New file.
40952
40953 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40954 local variable.
40955
c3a87236
UD
40956 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40957
28926a1b
UD
40958 * elf/tst-unique3.cc: Add explicit declaration of gets.
40959 * elf/tst-unique3lib.cc: Likewise.
40960 * elf/tst-unique3lib2.cc: Likewise.
40961 * elf/tst-unique4.cc: Likewise.
40962
df78418a
UD
40963 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40964
8ecd6b2a
JM
409652012-01-06 Joseph Myers <joseph@codesourcery.com>
40966
40967 [BZ #13566]
40968 * assert/assert.h (static_assert): Don't define for C++.
40969 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40970 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40971
9f115170
UD
409722012-01-03 Ulrich Drepper <drepper@gmail.com>
40973
5e0d0300
UD
40974 * iconv/loop.c (single loop): Fix assertion in storing of
40975 remaining bytes.
40976
9f115170
UD
40977 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40978
81fb02b0
UD
409792012-01-01 Ulrich Drepper <drepper@gmail.com>
40980
40981 * posix/getconf.c: Update copyright year.
40982 * nss/getent.c: Likewise.
a316c1f6 40983 * nss/makedb.c: Likewise.
81fb02b0
UD
40984 * iconv/iconvconfig.c: Likewise.
40985 * iconv/iconv_prog.c: Likewise.
40986 * elf/ldconfig.c: Likewise.
a316c1f6
UD
40987 * elf/pldd.c: Likewise.
40988 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
40989 * catgets/gencat.c: Likewise.
40990 * csu/version.c: Likewise.
40991 * elf/ldd.bash.in: Likewise.
40992 * elf/sprof.c (print_version): Likewise.
40993 * locale/programs/locale.c: Likewise.
40994 * locale/programs/localedef.c: Likewise.
a316c1f6 40995 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
40996 * nscd/nscd.c (print_version): Likewise.
40997 * debug/xtrace.sh: Likewise.
40998 * malloc/memusage.sh: Likewise.
40999 * malloc/mtrace.pl: Likewise.
41000 * debug/catchsegv.sh: Likewise.
41001
2ba92745
JJ
410022011-12-30 Jakub Jelinek <jakub@redhat.com>
41003
41004 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41005 pure attribute.
41006
dadebdae
UD
410072011-12-24 Ulrich Drepper <drepper@gmail.com>
41008
d3761ebc 41009 [BZ #13533]
db6af3eb
UD
41010 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41011 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41012 transformations.
41013 * iconv/gconv_int.h: Likewise.
41014 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41015 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41016 from libc for GLIBC_2.16.
41017 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41018 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41019 * wcsmbs/uchar.h: Really define mbstate_t.
41020 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41021 * wcsmbs/c16rtomb.c: New file.
41022 * wcsmbs/mbrtoc16.c: New file.
41023 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41024 for C/POSIX locale.
41025 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41026 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41027
dadebdae
UD
41028 * wcsmbs/wchar.h: Add missing __restrict.
41029
67371b56
UD
410302011-12-23 Ulrich Drepper <drepper@gmail.com>
41031
74033a25
UD
41032 [BZ #13532]
41033 * time/Makefile (routines): Add timespec_get.
41034 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41035 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41036 timespec for ISO C11.
41037 * time/timespec_get.c: New file.
41038 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41039 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41040
380d7e87
UD
41041 [BZ #13531]
41042 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41043 * stdlib/stdlib.h: Declare aligned_alloc.
41044 * Versions.def: Add GLIBC_2.16 for libc.
41045 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41046
4e9e7a35
UD
41047 [BZ 13527]
41048 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41049 ISO C11.
41050
380d7e87 41051 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
41052 code.
41053
03a71829
UD
41054 [BZ #13528]
41055 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41056
839e283e
UD
41057 [BZ #13529]
41058 * assert/assert.h (static_assert): Define.
41059
ce5294e2 41060 * version.h: Update for 2.16 development version.
90fa7312 41061
8d44e150 41062 [BZ #13526]
d7809905
UD
41063 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41064 _ISOC11_SOURCE.
41065
c0da14cd
UD
41066 * version.h (RELEASE): Bump for 2.15 release.
41067 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41068
530a3249
MP
41069 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41070 Patch by Marek Polacek <mpolacek@redhat.com>.
41071
67371b56
UD
41072 * bits/byteswap.h: Protect long long constants with __extension__.
41073 * sysdeps/i386/bits/byteswap.h: Likewise.
41074 * sysdeps/ia64/bits/byteswap.h: Likewise.
41075 * sysdeps/s390/bits/byteswap.h: Likewise.
41076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41077
15db4de1
LD
410782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41079
41080 [BZ #13540]
bbe315ea
LD
41081 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41082 destination buffer.
15db4de1
LD
41083 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41084
2b2596b1
MP
410852011-12-23 Marek Polacek <polacek@redhat.com>
41086
41087 * elf/dl-addr.c (determine_info): Add inline keyword.
41088 * elf/tst-auditmod4b.c (check_avx): Likewise.
41089 * elf/tst-auditmod6b.c (check_avx): Likewise.
41090 * elf/tst-auditmod6c.c (check_avx): Likewise.
41091 * elf/tst-auditmod7b.c (check_avx): Likewise.
41092
70c6c246
UD
410932011-12-23 Ulrich Drepper <drepper@gmail.com>
41094
41095 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41096 !__SSE_MATH__.
41097
c044cf14
LD
410982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41099
15db4de1 41100 [BZ #13540]
c044cf14
LD
41101 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41102 processing for last bytes.
41103
6b13d9d9
BH
411042011-08-06 Bruno Haible <bruno@clisp.org>
41105
d455f537
BH
41106 [BZ #13061]
41107 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41108 U+0385, not to U+1FEE.
41109
6b13d9d9
BH
41110 [BZ #13062]
41111 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41112 entry for U+00A5 U+0301.
41113
db910efd
UD
411142011-12-22 Ulrich Drepper <drepper@gmail.com>
41115
27deeafc
UD
41116 [BZ #13166]
41117 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41118 buffer for the output is too small.
41119
aed9d171
UD
41120 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41121 optimization.
41122
db910efd
UD
41123 [BZ #13185]
41124 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41125 SSE flags if possible.
41126
2bd779ae
LD
411272011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41128
e7f9dac3 41129 [BZ #13540]
2bd779ae
LD
41130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41131 processing for last bytes.
41132
154bfc16
JM
411332011-12-22 Joseph Myers <joseph@codesourcery.com>
41134
41135 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41136 (syscall-list-default-options, syscall-list-default-condition)
41137 (syscall-list-includes): Define.
41138 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41139 list of ABIs and options and #if conditions for each ABI. Do not
41140 handle common syscalls between ABIs specially.
41141 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41142 Remove.
41143 (syscall-list-variants, syscall-list-32bit-options)
41144 (syscall-list-32bit-condition, syscall-list-64bit-options)
41145 (syscall-list-64bit-condition): Define.
41146 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41147 (syscall-list-variants, syscall-list-32bit-options)
41148 (syscall-list-32bit-condition, syscall-list-64bit-options)
41149 (syscall-list-64bit-condition): Define.
41150 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41151 Remove.
41152 (syscall-list-variants, syscall-list-32bit-options)
41153 (syscall-list-32bit-condition, syscall-list-64bit-options)
41154 (syscall-list-64bit-condition): Define.
41155 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41156 Remove.
41157 (syscall-list-variants, syscall-list-32bit-options)
41158 (syscall-list-32bit-condition, syscall-list-64bit-options)
41159 (syscall-list-64bit-condition): Define.
41160
21eaf3a5
UD
411612011-12-22 Ulrich Drepper <drepper@gmail.com>
41162
16c6f992
UD
41163 * locale/iso-639.def: Add brx entry.
41164
41043168
UD
41165 [BZ #13328]
41166 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41167 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41168
21eaf3a5
UD
41169 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41170 __feraiseexcept_renamed.
41171
e3a851a2
UD
411722011-12-21 Ulrich Drepper <drepper@gmail.com>
41173
4920765e
UD
41174 [BZ #13538]
41175 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41176 EPOLLET with unsigned values.
41177 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41178 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41179
e3a851a2
UD
41180 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41181 to large cancellation.
41182 * math/s_cacoshf.c: Likewise.
41183 * math/s_cacoshl.c: Likewise.
41184
b27e24b8
RK
411852011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41186
41187 [BZ #13305]
aebefeee 41188 [BZ #12786]
b27e24b8
RK
41189 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41190 * math/s_cacoshf.c: Likewise.
41191 * math/s_cacoshl.c: Likewise.
41192
ee190f67
UD
411932011-12-21 Ulrich Drepper <drepper@gmail.com>
41194
41195 [BZ #13439]
41196 * iconv/gconv.h: Define __GCONV_SWAP.
41197 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41198 * iconvdata/utf-16.c: Likewise.
41199 * iconvdata/utf-32.c: Likewise.
41200
707f25df
AS
412012011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41202
41203 [BZ #13524]
41204 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41205 numerator after shifting it by one limb.
41206
d2daaa1e
RÁE
412072011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41208
41209 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41210 under [__USE_EXTERN_INLINES].
41211
a4647e72
UD
412122011-12-17 Ulrich Drepper <drepper@gmail.com>
41213
41214 [BZ #13446]
41215 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41216
f0b264f1
AZ
412172011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41218
41219 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41220 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41221 optimized code.
41222 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41223 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41224 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41225 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41226 for strncasecmp/strncasecmp_l compilation.
41227 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41228 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41229
8ef4f244
MP
412302011-12-08 Marek Polacek <mpolacek@redhat.com>
41231
41232 [BZ #13484]
41233 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41234 of __asm__.
41235
97ac2654
UD
412362011-12-17 Ulrich Drepper <drepper@gmail.com>
41237
41238 [BZ #13506]
41239 * time/tzfile.c (__tzfile_read): Check values from file header.
41240
91d2a845
WS
412412011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41242
41243 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41244 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41245 * powerpc/powerpc32/dl-start.S: Likewise.
41246 * powerpc/powerpc32/elf/start.S: Likewise.
41247 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41248 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41249 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41250 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41251 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41252 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41253 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41254 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41255 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41256 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41257 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41258 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41259 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41260 * powerpc/powerpc32/memset.S: Likewise.
41261 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41262 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41263 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41264 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41265 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41266 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41267 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41268 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41269 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41270 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41271 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41272 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41273 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41274
a1267ba1
AZ
412752011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41276
41277 * math/libm-test.inc: Added more nearbyint tests.
41278 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41279 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41281 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41282
ad8ac1bd
RL
412832011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41284
41285 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41286 FD_CLOEXEC.
41287
1d3e4b61
UD
412882011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41289
41290 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41291 Add wcscpy-ssse3 wcscpy-c.
41292 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41293 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41294 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41295 * sysdeps/x86_64/wcschr.S: New file.
41296 * sysdeps/x86_64/wcsrchr.S: New file.
41297 * string/test-strcmp.c: Remove checking of wcscmp function for
41298 wrong alignments.
41299 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41300 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41301 wcsrchr-sse2 wcsrchr-c.
41302 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41303 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41304 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41305 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41306 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41307 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41308 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41309 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41310 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41311 * wcsmbc/wcschr.c (WCSCHR): New macro.
41312
5b330a2d
UD
413132011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41314
41315 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41316 * wcsmbs/test-wcsrchr.c: New file.
41317 * string/test-strrchr.c: Add wcsrchr support.
41318 (WIDE): New macro.
41319 * wcsmbs/test-wcscpy.c: New file.
41320 * string/test-strcpy.c: Add wcscpy support.
41321 (WIDE): New macro.
26428b7c 41322
f039c043
UD
413232011-12-10 Ulrich Drepper <drepper@gmail.com>
41324
41325 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41326 the inner loop.
41327
850fb039
AS
413282011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41329
41330 [BZ #13472]
41331 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41332
4efbd5cb
UD
413332011-12-04 Ulrich Drepper <drepper@gmail.com>
41334
52ff5dd0 41335 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 41336 Minor optimizations.
52ff5dd0 41337
4efbd5cb
UD
41338 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41339 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41340 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41341
8a426e12
UD
413422011-12-03 Ulrich Drepper <drepper@gmail.com>
41343
aff2453d
UD
41344 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41345 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41346 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41347 for gcc to avoid warnings.
41348 * inet/Makefile (tests): Add tst-checks.
41349 * inet/tst-checks.c: New file.
41350
41351 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41352 warning.
41353
41354 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41355 __wmemcmp_sse2.
41356
41357 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41358 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41359
8a426e12
UD
41360 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41361
9bea3473
UD
413622011-12-02 Ulrich Drepper <drepper@gmail.com>
41363
3a965496
UD
41364 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41365 problem.
41366
9bea3473
UD
41367 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41368
f101631b
UD
413692011-11-29 Joseph Myers <joseph@codesourcery.com>
41370
41371 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41372 conditional on GCC version.
41373 (__arch_compare_and_exchange_val_8_acq)
41374 (__arch_compare_and_exchange_val_16_acq)
41375 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41376 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41377 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41378
a98275aa
UD
413792011-12-02 Joseph Myers <joseph@codesourcery.com>
41380
41381 * sysdeps/sh/backtrace.c: New file.
41382
d4cc29a2
AS
413832011-12-02 Andreas Schwab <schwab@redhat.com>
41384
41385 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41386 parenthesis.
41387
6257af2d
AS
413882011-12-01 Andreas Schwab <schwab@redhat.com>
41389
41390 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41391 falling back to utime.
41392
b5f44c1a
AS
413932011-11-30 Andreas Schwab <schwab@redhat.com>
41394
41395 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41396 expectations for float.
41397
f3a6cc0a
AS
413982011-11-29 Andreas Schwab <schwab@redhat.com>
41399
41400 * locale/weight.h (findidx): Add parameter len.
41401 * locale/weightwc.h (findidx): Likewise.
41402 * posix/fnmatch_loop.c (FCT): Adjust caller.
41403 * posix/regcomp.c (build_equiv_class): Likewise.
41404 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41405 * posix/regexec.c (check_node_accept_bytes): Likewise.
41406 * string/strcoll_l.c (STRCOLL): Likewise.
41407 * string/strxfrm_l.c (STRXFRM): Likewise.
41408
9d65ea3a
UD
414092011-11-17 Ulrich Drepper <drepper@gmail.com>
41410
41411 * Makefile.in: Remove CVSOPT handling.
41412 * configure.in: Remove use of AC_REVISION.
41413 * iconvdata/Makefile (distribute): No need to filter out CVS.
41414 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41415 handling.
41416
5583a086
AS
414172011-11-16 Andreas Schwab <schwab@redhat.com>
41418
41419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41420 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41421 [USE_AS_STRNCASECMP_L]: Likewise.
41422 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41423 NO_TLS_DIRECT_SEG_REFS.
41424 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41425 Fix argument offsets for non-PIC.
41426 [USE_AS_STRNCASECMP_L]: Likewise.
41427 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41428 NO_TLS_DIRECT_SEG_REFS.
41429
d62a8200
UD
414302011-11-15 Ulrich Drepper <drepper@gmail.com>
41431
9d65ea3a 41432 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
41433 O_CLOEXEC.
41434 * locale/loadlocale.c (_nl_load_locale): Likewise.
41435
09f93bd3
AS
414362011-11-15 Andreas Schwab <schwab@redhat.com>
41437
446514f9
AS
41438 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41439 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41440 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41441 (SYSCALL_GETTIME): Set errno on error.
41442
09f93bd3
AS
41443 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41444 count references to noai6ai_cached.
41445
312be3f9
UD
414462011-11-15 Ulrich Drepper <drepper@gmail.com>
41447
41448 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41449
41450 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41451 FD_CLOEXEC for /proc/self/maps.
41452
41453 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41454 FD_CLOEXEC for /proc/meminfo.
41455
41456 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41457 gai.conf.
41458
41459 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41460 FD_CLOEXEC for given file.
41461
41462 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41463
41464 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41465 FD_CLOEXEC for /etc/hosts.
41466 (_gethtent): Likewise.
41467
41468 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41469
41470 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41471 cancellation and set FD_CLOEXEC for /etc/netgroup.
41472
41473 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41474 reading /etc/publickey.
41475
41476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41477 allow cancellation when reading /etc/group.
41478
41479 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41480 cancellation.
41481 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41482
41483 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41484 when using data file.
41485
41486 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41487
41488 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41489 (write_nis_obj): Use "c" and "e" in fopen.
41490
41491 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41492
41493 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41494
41495 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41496
41497 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41498
41499 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41500 locale.alias.
41501
41502 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41503
41504 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41505
41506 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41507
41508 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41509 file parsing and set FD_CLOEXEC.
41510
82af0fa8
UD
415112011-11-14 Ulrich Drepper <drepper@gmail.com>
41512
41513 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41514
a5fb313c
AS
415152011-11-14 Andreas Schwab <schwab@redhat.com>
41516
41517 * malloc/arena.c (arena_get2): Don't call reused_arena when
41518 _int_new_arena failed.
41519
6abf3465
UD
415202011-11-14 Ulrich Drepper <drepper@gmail.com>
41521
41522 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41523 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41524 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41525 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41526 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41527 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41528 to compile strcasecmp and strncasecmp.
41529 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41530 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41531
41532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41533
76e3966e
UD
415342011-11-13 Ulrich Drepper <drepper@gmail.com>
41535
41536 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41537 locale-defines.sym to gen-as-const-headers.
41538 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41539 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41541 to compile strcasecmp and strncasecmp.
41542 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41543 strcasecmp_l and strncasecmp_l.
41544 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41545 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41546 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41547 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41548 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41549 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41550 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41551 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41552 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41553 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41554 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41555
ab26144e
UD
415562011-11-12 Ulrich Drepper <drepper@gmail.com>
41557
7edb22ef
UD
41558 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41559 result of SYSDEP_GETTIME_CPU to retval.
41560 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41561 parameter list to macro. Remove trailing semicolon. Adjust users.
41562
9694fc44
UD
41563 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41564 variable.
41565
8ad89ef8
UD
41566 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41567 mantissa words.
41568 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41569
0c822ef9
UD
41570 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41571 from unused variable.
41572
874e0564
UD
41573 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41574 DWARF definitions.
41575 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41576 for assembling.
41577
3a2edc79
UD
41578 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41579 over namespaces.
41580
f3c2577f
UD
41581 * sunrpc/rpc_prot.c (rejected): Fix case value.
41582
294ce126
UD
41583 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41584 unsigned long long int to avoid warnings in shift.
41585
5e2b63c6
UD
41586 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41587 of use of trans.
41588 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41589 variable tmp.
41590
e7f4b08e
UD
41591 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41592 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41593 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41594
ab26144e
UD
41595 * nis/nis_table.c (nis_list): Use variable of correct type for
41596 result of __follow_path call.
41597
8a6d5255
AZ
415982011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41599
41600 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41601 of math functions ceil, trunc, floor, round, and sqrt, when
41602 avaliable on the platform.
41603 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41604 name clash.
41605 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41606 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41607 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41608
aaddc98c
MP
416092011-10-30 Marek Polacek <mpolacek@redhat.com>
41610
41611 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41612 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41613
95b7042b
RM
416142011-11-11 Roland McGrath <roland@hack.frob.com>
41615
41616 * include/unistd.h: Fix __readlink return type.
41617 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41618
57769839
UD
416192011-11-11 Ulrich Drepper <drepper@gmail.com>
41620
41621 * stdlib/ucontext.h: Undo last change for makecontext.
41622
edc5984d
AS
416232011-11-11 Andreas Schwab <schwab@redhat.com>
41624
98591e58
AS
41625 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41626
edc5984d
AS
41627 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41628 * setjmp/setjmp.h: Mark functions as non-leaf.
41629 * setjmp/bits/setjmp2.h: Likewise.
41630 * stdlib/ucontext.h: Likewise.
41631
77cdc054
AS
416322011-11-10 Andreas Schwab <schwab@redhat.com>
41633
41634 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41635 (reused_arena): Don't check arena limit.
41636 (arena_get2): Atomically check arena limit.
41637
fe72eebd
UD
416382011-11-08 Ulrich Drepper <drepper@gmail.com>
41639
5f078c32
UD
41640 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41641 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41642
fe72eebd
UD
41643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41644 instructions.
41645
ae1bc2fa
AS
416462011-11-07 Andreas Schwab <schwab@redhat.com>
41647
7583a88d
AS
41648 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41649 handler when locking.
41650
ae1bc2fa
AS
41651 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41652 Fix size of allocated buffer.
41653
10fb0bfa
AS
416542011-11-04 Andreas Schwab <schwab@redhat.com>
41655
998832a4
AS
41656 [BZ #10103]
41657 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41658 declarations for long double functions.
41659 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41660
10fb0bfa
AS
41661 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41662
3d7ba52b
AS
416632011-11-03 Andreas Schwab <schwab@redhat.com>
41664
a9ae54a1
AS
41665 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41666 installed.
41667
3d7ba52b
AS
41668 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41669 is disabled.
41670
bc8db248
ST
416712011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41672
41673 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41674
45b96dd6
AS
416752011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41676
647776f6
AS
41677 * include/alloca.h (stackinfo_alloca_round): Define.
41678 (extend_alloca): Use it.
41679 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41680 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41681 here.
41682
d91a8b93
AS
41683 * scripts/check-local-headers.sh: Ignore libaudit.h.
41684
45b96dd6
AS
41685 * nscd/Makefile (extra-objs): Make recursively expanded.
41686
432d41ce
UD
416872011-11-01 Ulrich Drepper <drepper@gmail.com>
41688
34372fc6
UD
41689 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41690 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41691
fadb59f8
UD
41692 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41693 * posix/tst-rfc3484-2.c: Likewise.
41694 * posix/tst-rfc3484-3.c: Likewise.
41695
78239589
UD
41696 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41697 process_vm_writev.
41698 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41699 process_vm_writev.
41700 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41701 process_vm_writev from libc using GLIBC_2.15 version.
41702
432d41ce
UD
41703 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41704
02f9c6cf
PP
417052011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41706
41707 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41708 stack usage.
41709
3a2c0242
UD
417102011-10-31 Ulrich Drepper <drepper@gmail.com>
41711
f4ec4833
UD
41712 [BZ #13367]
41713 * nss/getent.c (initgroups_keys): Show error message in case no group
41714 names are given.
41715
3a2c0242
UD
41716 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41717 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41718 __bump_nl_timestamp.
41719 * nscd/connections (nscd_init): When host database is served open
41720 netlink socket and request notification about configuration changes.
41721 (main_loop_poll): Track netlink file descriptor and bump timestamp
41722 in case data becomes available.
41723 (main_loop_epoll): Likewise.
41724 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41725 (database_pers_head): Add extra_data fileds.
41726 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41727 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41728 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41729 Adjust caller.
41730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41731 in6ai data, call __free_in6ai.
41732 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41733 Add -DHAVE_NETLINK.
41734 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41735 interface information. Reuse previous data if netlink timestamp
41736 is not changed.
41737 (__bump_nl_timestamp): New function.
41738 (__free_in6ai): New function.
41739
636064eb
UD
417402011-10-30 Ulrich Drepper <drepper@gmail.com>
41741
41742 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41743 close_not_cancel_no_status here.
41744 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41745
9beb2334
UD
417462011-10-29 Ulrich Drepper <drepper@gmail.com>
41747
6ef76f3b
UD
41748 [BZ #13276]
41749 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41750 return value.
41751
0ffc4f3e 41752 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
41753 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41754 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41755
cb95113e
UD
417562011-07-03 Andreas Jaeger <aj@suse.de>
41757
41758 [BZ #10709]
41759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41760 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41761 * math/libm-test.inc (sin_test): Add test case.
41762
a1b560ff
UD
417632011-10-29 Ulrich Drepper <drepper@gmail.com>
41764
c9aaface
UD
41765 [BZ #13337]
41766 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41767 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41768
d272e7f1
UD
41769 * elf/chroot_canon.c (chroot_canon): Cleanups.
41770
1bc33071
UD
41771 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41772
1760874d
TJ
41773 [BZ #13335]
41774 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41775 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41776
51d91b18
UD
41777 * string/test-strchr.c: Make usable for strchrnul testing.
41778 * string/test-strchrnul.c: New file.
41779 * string/Makefile (strop-tests): Add strchrnul.
41780
a1b560ff 41781 * po/it.po: Update from translation team.
b611fb81 41782 * po/es.po: Likewise.
a1b560ff 41783
a5b81e1f
UD
417842011-10-28 Ulrich Drepper <drepper@gmail.com>
41785
fd52bc6d
UD
41786 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41787 the three constants needed as parameters. Drop the others.
41788 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41789 __m128i_strloadu_tolower.
52e4b9eb
UD
41790 Create and initialize variable zero and use it in all the places
41791 where _mm_setzero_si128 was used.
fd52bc6d 41792
a5b81e1f
UD
41793 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41794 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41795 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41796 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41797 anymore.
41798 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41799 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41800 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41801 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41802 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41803 __mpranred, __mptan.
41804 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41805 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41806 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41807 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41808 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41809 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41810 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41811 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41812 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41813
b4343346
AS
418142011-10-28 Andreas Schwab <schwab@redhat.com>
41815
0c92d8a8
AS
41816 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41817 redefine if SHARED.
41818 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41819
b4343346
AS
41820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41821 wide char related routines to wcsmbs subdir.
41822
3871f58f
AS
418232011-10-27 Andreas Schwab <schwab@redhat.com>
41824
41825 [BZ #13344]
41826 * misc/sys/cdefs.h (__THROWNL): Define.
41827 * posix/unistd.h: Use __THREADNL instead of __THREAD
41828 for memory synchronization functions.
41829
94d44d9f
RM
418302011-10-26 Roland McGrath <roland@hack.frob.com>
41831
21b64b15 41832 [BZ #13349]
94d44d9f
RM
41833 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41834 doesn't exist.
41835 * manual/stdio.texi (Obstack Streams): Node removed.
41836
f6ce9294
AS
418372011-10-26 Andreas Schwab <schwab@redhat.com>
41838
80479147
AS
41839 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41841 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41842
f6ce9294
AS
41843 * math/math_private.h (math_force_eval): Allow non-addressable
41844 arguments.
41845 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41846
618280a1
UD
418472011-10-25 Ulrich Drepper <drepper@gmail.com>
41848
e0016b11
UD
41849 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41850 file is not needed.
41851
41852 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41854 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41855 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41857 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41858 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41859 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41860 Add AVX variants.
41861 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41862 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41863 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41864 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41865 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41866 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41867 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41868 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41869 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41870 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41871 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41872 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41873 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41874 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41875 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41876 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41877 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41878 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41879 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41880
41881 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41882 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41883
618280a1
UD
41884 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41885 place. Use VEX encoding when compiling for AVX.
41886
37822576
AS
418872011-10-25 Andreas Schwab <schwab@redhat.com>
41888
1f1e1947
AS
41889 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41890 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41891
37822576
AS
41892 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41893
31ea014d
UD
418942011-10-25 Ulrich Drepper <drepper@gmail.com>
41895
d7826aa1 41896 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 41897 useless if() expression.
d7826aa1
UD
41898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41899 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41900 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41901 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41902 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41903 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41904 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41905 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41906 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41907 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41908 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41909 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41910 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41911 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41912 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41913 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41914 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41915 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41916 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41917
31ea014d
UD
41918 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41919
16437fec
AS
419202011-10-25 Andreas Schwab <schwab@redhat.com>
41921
41922 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41923 condition.
41924 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41925
31d3cc00
UD
419262011-10-25 Ulrich Drepper <drepper@gmail.com>
41927
41928 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41929 .text section. Avoid duplicate constants.
41930 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41932 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41937 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41939 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41940 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41941 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41942 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41943 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41944 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41946 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41947 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41950 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41951 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41952 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41953 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41954 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41955 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41956 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41957 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41958 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41959 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41960 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41961 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41963 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41964 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41965 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41966 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41967 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41968 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41969 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41970 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41971 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41972 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41973 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41974 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41975
58985aa9
UD
419762011-10-24 Ulrich Drepper <drepper@gmail.com>
41977
202c9deb
UD
41978 * sysdeps/x86_64/dla.h: Move to ...
41979 * sysdeps/x86_64/fpu/dla.h: ...here.
41980 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41981 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 41982
af968f62
UD
41983 * config.make.in: Add have-mfma4 entry.
41984 * configure.in: Substitute libc_cv_cc_fma4.
41985 * math/Makefile (dbl-only-routines): Add sincostab.
41986 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41987 Use __sincostab not sincos.
41988 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41989 name is a macro.
41990 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41994 using __copysign.
41995 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41996 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41997 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41998 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41999 and __inv.
42000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42001 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42002 __copysign.
42003 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42004 define aliases when function name is a macro.
42005 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42006 sysdeps/ieee754/dbl-64/sincos.tbl.
42007 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42008 fma4-enabled routines.
42009 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42010 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42011 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42012 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42013 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42014 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42015 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42016 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42017 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42018 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42019 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42021 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42022 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42023 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42024 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42025 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42026 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42027 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42028 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42029 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42030 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42031 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42032 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42034 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42035 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42036 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42037 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42038 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42039
58985aa9
UD
42040 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42041 rename.
42042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42050
a201fbcf
AS
420512011-10-24 Andreas Schwab <schwab@redhat.com>
42052
42053 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42054
fc2ee42a
LD
420552011-10-23 Ulrich Drepper <drepper@gmail.com>
42056
bb3129bd
UD
42057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42058
0275fff8
UD
42059 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42060 prediction.
42061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42062
2fa2ae85
UD
42063 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42064 Remove unused variable magic_bits.
42065 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42066
fc2ee42a
LD
42067 * string/strnlen.c: Define and use STRNLEN macro.
42068 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42069 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42071 * wcsmbs/wcslen.c: Define and use WCSLEN.
42072 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42073 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42074 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42075 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42076 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42077 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42078 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42079
ce7dd29f
LD
420802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42081
42082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42083 strnlen-sse2-no-bsf.
42084 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42086 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42087 Add strnlen support.
42088 (USE_AS_STRNLEN): New macro.
42089 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42090 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42091 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42092 * sysdeps/x86_64/wcslen.S: New file.
42093
979c70a3
MZ
420942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42095
42096 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42097 XMM-moves are used for copying on small sizes.
42098
2d09f82f
LD
420992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42100
42101 * wcsmbs/Makefile (strop-tests): Add wcschr.
42102 * wcsmbs/test-wcschr.c: New file.
42103 * string/test-strchr.c: Update.
42104 Add wcschr support.
42105 (WIDE): New macro.
42106
619fccca
LD
421072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42108
2d09f82f 42109 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
42110 * wcsmbs/test-wcslen.c: New file.
42111 * string/test-strlen.c: Update.
42112 Add wcslen support.
42113 (WIDE): New macro.
42114
09f699ea
UD
421152011-10-23 Ulrich Drepper <drepper@gmail.com>
42116
42117 * po/it.po: Update from translation team.
42118
95584d3b
LD
421192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42120
42121 * sysdeps/x86_64/wcscmp.S: Update.
42122 Fix wrong comparison semantics.
42123 wcscmp shall use signed comparison not unsigned.
42124 Don't use substraction to avoid overflow bug.
42125 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42126 * wcsmbc/wcscmp.c: Likewise.
42127 * string/test-strcmp.c: Likewise.
42128 Add new tests to check cases with negative values.
42129
c8b3296b
UD
421302011-10-23 Ulrich Drepper <drepper@gmail.com>
42131
42132 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42133 * sysdeps/x86_64/dla.h: ...here. New file.
42134 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42143
246ad57a
AS
421442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42145
42146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42147 __ynl_finite aliases.
42148
a1a87169
UD
421492011-10-22 Ulrich Drepper <drepper@gmail.com>
42150
0d355eb7
UD
42151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42152
a1a87169
UD
42153 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42154 define DLA_FMA.
42155 [DLA_FMA] (EMULV): Use DLA_FMA.
42156 [DLA_FMA] (MUL12): Use EMULV.
42157 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42158 that are not needed.
42159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42164 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42166
ee2aafe0
AS
421672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42168
42169 * math/s_nan.c: Undef __nan.
42170 * math/s_nanf.c: Undef __nanf.
42171 * math/s_nanl.c: Undef __nanl.
42172 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42173 "math_private.h".
42174
bc62c2fb
UD
421752011-10-22 Ulrich Drepper <drepper@gmail.com>
42176
77425c63
UD
42177 * math/s_catan.c: Add branch predictions.
42178 * math/s_catanf.c: Likewise.
42179 * math/s_catanh.c: Likewise.
42180 * math/s_catanhf.c: Likewise.
42181 * math/s_catanhl.c: Likewise.
42182 * math/s_catanl.c: Likewise.
42183 * math/s_cexp.c: Likewise.
42184 * math/s_cexpf.c: Likewise.
42185 * math/s_cexpl.c: Likewise.
42186 * math/s_clog.c: Likewise.
42187 * math/s_clog10.c: Likewise.
42188 * math/s_clog10f.c: Likewise.
42189 * math/s_clog10l.c: Likewise.
42190 * math/s_clogf.c: Likewise.
42191 * math/s_clogl.c: Likewise.
42192 * math/s_csqrt.c: Likewise.
42193 * math/s_csqrtf.c: Likewise.
42194 * math/s_csqrtl.c: Likewise.
42195 * math/s_ctanf.c: Likewise.
42196 * math/s_ctanh.c: Likewise.
42197 * math/s_ctanhf.c: Likewise.
42198 * math/s_ctanhl.c: Likewise.
42199 * math/s_ctanl.c: Likewise.
42200
bc62c2fb
UD
42201 * math/math_private.h: Define __nan, __nanf, __nanl.
42202 * math/s_cacosh.c: Include <math_private.h>.
42203 * math/s_cacoshl.c: Likewise.
42204 * math/s_casinh.c: Likewise.
42205 * math/s_casinhf.c: Likewise.
42206 * math/s_casinhl.c: Likewise.
42207 * math/s_ccos.c: Rely entire on ccosh.
42208 * math/s_ccosf.c: Rely entire on ccoshf.
42209 * math/s_ccosl.c: Rely entirely on ccoshl.
42210 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42211 Remove tests for FE_INVALID.
42212 * math/s_ccoshf.c: Likewise.
42213 * math/s_ccoshl.c: Likewise.
42214 * math/s_csin.c: Likewise.
42215 * math/s_csinf.c: Likewise.
42216 * math/s_csinh.c Likewise.
42217 * math/s_csinhf.c: Likewise.
42218 * math/s_csinhl.c: Likewise.
42219 * math/s_csinl.c: Likewise.
42220 * math/s_ctan.c: Likewise.
42221 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42222 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42223 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42224
8ec250a4
UD
422252011-10-21 Ulrich Drepper <drepper@gmail.com>
42226
c196fed8
UD
42227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42228 compilation problems.
42229
8ec250a4
UD
42230 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42231 __builtin_expect.
42232
8d4f46c6
UD
422332011-10-20 Ulrich Drepper <drepper@gmail.com>
42234
ed72b654
UD
42235 * sysdeps/i386/configure.in: Test for -mfma4 option.
42236 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42237 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42238 COMMON_CPUID_INDEX_80000001.
42239 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42240 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42241 use it if FMA3 is not supported.
42242 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42243
8d4f46c6
UD
42244 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42245 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42246
d45c60c2
AS
422472011-10-20 Andreas Schwab <schwab@redhat.com>
42248
42249 [BZ #12892]
42250 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42251 it would create a cycle with a link time dependency.
42252
d9a4d2ab
UD
422532011-10-19 Ulrich Drepper <drepper@gmail.com>
42254
855d1560
UD
42255 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42256 instruction.
42257 * string/Makefile (strop-tests): Add rawmemchr.
42258 * string/test-rawmemchr.c: New file.
42259
d9a4d2ab
UD
42260 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42261 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42262 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42263 when compiling str{,n}casecmp and when AVX is available. Hook up
42264 new optimized code in initializers.
42265
8f3b1ffe
AS
422662011-10-19 Andreas Schwab <schwab@redhat.com>
42267
42268 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42269 __feraiseexcept instead of feraiseexcept.
42270
d38f1dba
UD
422712011-10-18 Ulrich Drepper <drepper@gmail.com>
42272
d9a8d0ab
UD
42273 * math/math_private.h: Define defaults for libc_fetestexcept and
42274 libc_feupdateenv.
42275 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42276 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42277 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42278 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42279 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42280 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42281 libc_fetestexcept and libc_feupdateenv.
42282
4855e3dd
UD
42283 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42284 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42285 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42286 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42287 libc_feholdexcept_setround.
42288
581d30e3
UD
42289 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42290 Add s_nearbyint-c and s_nearbyintf-c.
42291 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42292 nearbyintf inlines.
42293 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42294 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42295 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42296 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42297
d38f1dba
UD
42298 * math/math_private.h: Define defaults for libc_fegetround,
42299 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42300 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42301 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42302 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42303 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42304 standard functions.
42305 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42306 Remove comments and hacks for old compiler versions.
42307 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42308 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42309 libc_feholdexceptl.
42310
caa6c9d8
AS
423112011-10-18 Andreas Schwab <schwab@redhat.com>
42312
42313 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
42314 (__feraiseexcept_renamed): Add __NTH.
42315 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
42316 namespace violations.
42317
97c066e6
UD
423182011-10-17 Ulrich Drepper <drepper@gmail.com>
42319
99ce7b04
UD
42320 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42321
1004d182
UD
42322 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42323
228a984d
UD
42324 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42325 recently added interfaces.
42326 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42327
c8553a6a
UD
42328 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42329 about macro parameter expansion.
42330
ed22dcf6
UD
42331 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42332 __NO_MATH_INLINES is defined. Cleanups.
42333
42334 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42335 and __floorf is target has SSE4.1.
42336 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42337 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42338 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42339 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42340
b171c137
UD
42341 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42342 name.
42343 (floorf): Likewise.
42344
97c066e6
UD
42345 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42346
629f62ef
AS
423472011-10-17 Andreas Schwab <schwab@redhat.com>
42348
49a43d80
AS
42349 * misc/sys/cdefs.h: Fix last change.
42350
629f62ef
AS
42351 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42352 database lookup.
42353
e453f6cd
UD
423542011-10-16 Ulrich Drepper <drepper@gmail.com>
42355
aa78043a
UD
42356 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42357
ad0f5cad
UD
42358 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42359 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42360 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42361 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42363 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42364 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42365 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42366 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42367 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42368 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42369 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42370 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42371 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42372 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42373 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42374 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42375 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42376 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42377 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42378 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42379 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42380
42381 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42382 ceil, ceilf, floor, floorf.
42383
42384 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42385 Perform IRELATIVE relocations last.
42386
e453f6cd
UD
42387 * elf/do-rel.h: Add another parameter nrelative, replacing the
42388 local variable with the same name. Change name of the function
42389 to end in Rel or Rela (uppercase).
42390 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42391 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42392 elf_dynamic_do_##reloc function.
42393
fd5bdc09
UD
423942011-10-15 Ulrich Drepper <drepper@gmail.com>
42395
79b195b5
UD
42396 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42397 is sufficient, at least on modern CPUs.
42398
d4a28569
UD
42399 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42400
b61099b5
UD
42401 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42402 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42403
bcf01e6d
UD
42404 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42405 __expl_finite.
42406 * math/bits/math-finite.h: Add entries for exp.
42407 * math/e_expl.c: Add __*_finite alias.
42408 * sysdeps/i386/fpu/e_exp.S: Likewise.
42409 * sysdeps/i386/fpu/e_expf.S: Likewise.
42410 * sysdeps/i386/fpu/e_expl.c: Likewise.
42411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42412 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42413 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42414 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42415 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42416 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42417 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42418
ba1a0d59
UD
42419 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42420 is sufficient, at least on modern CPUs.
42421
fd5bdc09
UD
42422 * ctype/ctype-info.c (__ctype_init): Define.
42423 * include/ctype.h (__ctype_init): Declare.
42424 (__ctype_b_loc): The variable is always initialized.
42425 (__ctype_toupper_loc): Likewise.
42426 (__ctype_tolower_loc): Likewise.
42427 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42428 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42429
7872cfb0
AS
424302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42431
b468825a
AS
42432 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42433
7872cfb0
AS
42434 * configure.in: Also look in $cxxmachine/include for C++ system
42435 headers.
42436
be13f7bf
LD
424372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42438
42439 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42440 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42441 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42442 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42444 (USE_AS_WMEMCMP): New macro.
42445 Fixing indents.
42446 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42447 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42448 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42449 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42451 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42452 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42453 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42454 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42455 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42456 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42457 (USE_AS_WMEMCMP): New macro.
42458 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42459 * sysdeps/string/test-memcmp.c: Update.
42460 Fix simple_wmemcmp.
42461 Add new tests.
42462 * wcsmbs/wmemcmp.c: Update.
42463 (WMEMCMP): New macro.
42464 Fix overflow bug.
42465
556a2007
AJ
424662011-10-12 Andreas Jaeger <aj@suse.de>
42467
42468 [BZ #13268]
42469 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42470
538faaa7
UD
424712011-10-15 Ulrich Drepper <drepper@gmail.com>
42472
ab6737ff
UD
42473 * libio/iofwide.c (do_length): Avoid warning.
42474
538faaa7
UD
42475 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42476
396a21b1
UD
424772011-10-14 Ulrich Drepper <drepper@gmail.com>
42478
cdf2901f
UD
42479 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42480
38ad40ce
UD
42481 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42482 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42483 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42484 * sysdeps/i386/i686/fpu/e_log.S: New file.
42485 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42486 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42487
396a21b1
UD
42488 * ctype/ctype.h: Add support for inlined isXXX functions when
42489 compiling C++ code.
42490
6b1f68c9
AS
424912011-10-14 Andreas Schwab <schwab@redhat.com>
42492
349290c0
AS
42493 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42494
6b1f68c9
AS
42495 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42496
f2282d42
RM
424972011-10-13 Roland McGrath <roland@hack.frob.com>
42498
42499 [BZ #13291]
42500 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42501
5298ffa8
AS
425022011-10-13 Andreas Schwab <schwab@redhat.com>
42503
714fad23
AS
42504 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42505 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42506 feraiseexcept.
42507
81dcc7fb
AS
42508 * sysdeps/x86_64/memrchr.S: Check for zero size.
42509
5298ffa8
AS
42510 * string/stratcliff.c: Add memrchr tests.
42511
951fbcec
LD
425122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42513
42514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42515 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42516 rawmemchr-sse2 rawmemchr-sse2-bsf.
42517 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42518 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42519 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42520 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42521 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42522 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42523 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42524 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42525 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42526 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42527 * string/memrchr.c (MEMRCHR): New macro.
42528
0ac5ae23
UD
425292011-10-12 Ulrich Drepper <drepper@gmail.com>
42530
42531 Add integration with gcc's -ffinite-math-only and optimize wrapper
42532 functions in libm.
42533 * Versions.def: Define GLIBC_2.15 version for libm.
42534 * math/Makefile (headers): Add bits/math-finite.h.
42535 * math/bits/math-finite.h: New file.
42536 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42537 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42538 * math/e_acoshl.c: Add __*_finite alias.
42539 * math/e_acosl.c: Likewise.
42540 * math/e_asinl.c: Likewise.
42541 * math/e_atan2l.c: Likewise.
42542 * math/e_atanhl.c: Likewise.
42543 * math/e_coshl.c: Likewise.
42544 * math/e_exp10.c: Likewise.
42545 * math/e_exp10f.c: Likewise.
42546 * math/e_exp10l.c: Likewise.
42547 * math/e_exp2l.c: Likewise.
42548 * math/e_fmodl.c: Likewise.
42549 * math/e_gammal_r.c: Likewise.
42550 * math/e_hypotl.c: Likewise.
42551 * math/e_j0l.c: Likewise.
42552 * math/e_j1l.c: Likewise.
42553 * math/e_jnl.c: Likewise.
42554 * math/e_lgammal_r.c: Likewise.
42555 * math/e_log10l.c: Likewise.
42556 * math/e_log2l.c: Likewise.
42557 * math/e_logl.c: Likewise.
42558 * math/e_powl.c: Likewise.
42559 * math/e_sinhl.c: Likewise.
42560 * math/e_sqrtl.c: Likewise.
42561 * math/e_scalb.c: Completely rewritten and optimized.
42562 * math/e_scalbf.c: Likewise.
42563 * math/e_scalbl.c: Likewise.
42564 * math/w_acos.c: Likewise.
42565 * math/w_acosf.c: Likewise.
42566 * math/w_acosl.c: Likewise.
42567 * math/w_acosh.c: Likewise.
42568 * math/w_acoshf.c: Likewise.
42569 * math/w_acoshl.c: Likewise.
42570 * math/w_asin.c: Likewise.
42571 * math/w_asinf.c: Likewise.
42572 * math/w_asinl.c: Likewise.
42573 * math/w_atan2.c: Likewise.
42574 * math/w_atan2f.c: Likewise.
42575 * math/w_atan2l.c: Likewise.
42576 * math/w_atanh.c: Likewise.
42577 * math/w_atanhf.c: Likewise.
42578 * math/w_atanhl.c: Likewise.
42579 * math/w_exp10.c: Likewise.
42580 * math/w_exp10f.c: Likewise.
42581 * math/w_exp10l.c: Likewise.
42582 * math/w_fmod.c: Likewise.
42583 * math/w_fmodf.c: Likewise.
42584 * math/w_fmodl.c: Likewise.
42585 * math/w_j0.c: Likewise.
42586 * math/w_j0f.c: Likewise.
42587 * math/w_j0l.c: Likewise.
42588 * math/w_j1.c: Likewise.
42589 * math/w_j1f.c: Likewise.
42590 * math/w_j1l.c: Likewise.
42591 * math/w_jn.c: Likewise.
42592 * math/w_jnf.c: Likewise.
42593 * math/w_log.c: Likewise.
42594 * math/w_logf.c: Likewise.
42595 * math/w_logl.c: Likewise.
42596 * math/w_log10.c: Likewise.
42597 * math/w_log10f.c: Likewise.
42598 * math/w_log10l.c: Likewise.
42599 * math/w_log2.c: Likewise.
42600 * math/w_log2f.c: Likewise.
42601 * math/w_log2l.c: Likewise.
42602 * math/w_pow.c: Likewise.
42603 * math/w_powf.c: Likewise.
42604 * math/w_powl.c: Likewise.
42605 * math/w_remainder.c: Likewise.
42606 * math/w_remainderf.c: Likewise.
42607 * math/w_remainderl.c: Likewise.
42608 * math/w_scalb.c: Likewise.
42609 * math/w_scalbf.c: Likewise.
42610 * math/w_scalbl.c: Likewise.
42611 * math/w_sqrt.c: Likewise.
42612 * math/w_sqrtf.c: Likewise.
42613 * math/w_sqrtl.c: Likewise.
42614 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42615 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42616 used.
42617 * math/math_private.h: Declare __kernel_standard_f.
42618 * math/w_cosh.c: Remove cruft and optimize a bit.
42619 * math/w_coshf.c: Likewise.
42620 * math/w_coshl.c: Likewise.
42621 * math/w_exp2.c: Likewise.
42622 * math/w_exp2f.c: Likewise.
42623 * math/w_exp2l.c: Likewise.
42624 * math/w_hypot.c: Likewise.
42625 * math/w_hypotf.c: Likewise.
42626 * math/w_hypotl.c: Likewise.
42627 * math/w_lgamma.c: Likewise.
42628 * math/w_lgamma_r.c: Likewise.
42629 * math/w_lgammaf.c: Likewise.
42630 * math/w_lgammaf_r.c: Likewise.
42631 * math/w_lgammal.c: Likewise.
42632 * math/w_lgammal_r.c: Likewise.
42633 * math/w_sinh.c: Likewise.
42634 * math/w_sinhf.c: Likewise.
42635 * math/w_sinhl.c: Likewise.
42636 * math/w_tgamma.c: Likewise.
42637 * math/w_tgammaf.c: Likewise.
42638 * math/w_tgammal.c: Likewise.
42639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42640 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42641 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42642 Minor optimizations. Pretty printing. Remove cruft.
42643 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42644 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42645 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42646 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42647 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42648 * sysdeps/i386/fpu/e_asin.S: Likewise.
42649 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42650 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42651 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42652 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42653 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42654 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42656 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42657 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42658 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42659 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42660 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42661 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42662 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42663 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42664 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42665 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42666 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42667 * sysdeps/i386/fpu/e_log.S: Likewise.
42668 * sysdeps/i386/fpu/e_log10.S: Likewise.
42669 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42670 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42671 * sysdeps/i386/fpu/e_log2.S: Likewise.
42672 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42673 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42674 * sysdeps/i386/fpu/e_logf.S: Likewise.
42675 * sysdeps/i386/fpu/e_logl.S: Likewise.
42676 * sysdeps/i386/fpu/e_pow.S: Likewise.
42677 * sysdeps/i386/fpu/e_powf.S: Likewise.
42678 * sysdeps/i386/fpu/e_powl.S: Likewise.
42679 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42680 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42681 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42682 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42683 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42684 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42685 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42686 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42687 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42688 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42691 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42692 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42693 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42694 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42695 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42696 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42697 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42698 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42699 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42702 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42704 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42705 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42709 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42710 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42711 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42712 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42713 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42714 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42715 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42716 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42717 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42718 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42719 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42720 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42721 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42722 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42723 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42724 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42725 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42726 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42727 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42728 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42729 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42730 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42731 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42732 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42733 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42734 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42735 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42736 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42737 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42738 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42739 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42740 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42741 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42742 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42743 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42744 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42745 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42746 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42747 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42748 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42749 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42750 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42753 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42755 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42756 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42758 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42759 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42760 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42762 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42764 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42765 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42766 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42767 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42768 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42769 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42773 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42775 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42776 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42777 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42779 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42780 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42781 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42782 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42783 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42784 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42785 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42786 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42787 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42788 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42789 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42790 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42791 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42792 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42793 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42794 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42795 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42796 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42797 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42798 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42799 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42800 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42801 (__isnanf): Likewise.
42802 (__isinf_ns): Likewise.
42803 (__isinf_nsf): Likewise.
42804 (__finite): Likewise.
42805 (__finitef): Likewise.
42806 (__ieee754_sqrt): Define as macro.
42807 (__ieee754_sqrtf): Define as macro.
42808 (__ieee754_sqrtl): Define as macro.
42809 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42810 inlined copy.
42811 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42812 __FINITE_MATH_ONLY__ consistent.
42813 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42814
12cc2fcd
AS
428152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42816
a843a204
AS
42817 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42818 of rawmemchr.
42819
12cc2fcd
AS
42820 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42821
c853acd5
UD
428222011-10-09 Ulrich Drepper <drepper@gmail.com>
42823
42824 * po/ja.po: Update from translation team.
42825
c658d255
RM
428262011-10-08 Roland McGrath <roland@hack.frob.com>
42827
110946e4
RM
42828 * locale/programs/locarchive.c (prepare_address_space): New function.
42829 (create_archive, enlarge_archive, open_archive): Use it.
42830
50604220
RM
42831 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42832 inside [SHARED], where it is used.
42833
c658d255
RM
42834 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42835
42836 * nss/getent.c (netgroup_keys): Remove unused variable.
42837 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42838
6a621eb7
UD
428392011-10-08 Ulrich Drepper <drepper@gmail.com>
42840
7edb55ce
UD
42841 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42842 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42844 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42845 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42846 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42847 * math/Makefile (libm-calls): Add s_isinf_ns.
42848 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42849 * math/multc3.c: Likewise.
42850 * math/s_casin.c: Likewise.
42851 * math/s_casinf.c: Likewise.
42852 * math/s_casinl.c: Likewise.
42853 * math/s_ccos.c: Likewise.
42854 * math/s_ccosf.c: Likewise.
42855 * math/s_ccosl.c: Likewise.
42856 * math/s_ctan.c: Likewise.
42857 * math/s_ctanf.c: Likewise.
42858 * math/s_ctanh.c: Likewise.
42859 * math/s_ctanhf.c: Likewise.
42860 * math/s_ctanhl.c: Likewise.
42861 * math/s_ctanl.c: Likewise.
42862 * math/w_fmod.c: Likewise.
42863 * math/w_fmodf.c: Likewise.
42864 * math/w_fmodl.c: Likewise.
42865 * math/w_remainder.c: Likewise.
42866 * math/w_remainderf.c: Likewise.
42867 * math/w_remainderl.c: Likewise.
42868 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42869 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42870 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42872 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42873 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42874 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42875 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42876
187da0ae
UD
42877 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42878 of the number.
42879 * stdio-common/printf_fphex.c: Likewise.
42880 * stdio-common/printf_size.c: Likewise.
42881
9277c064
UD
42882 * math/e_exp10.c: Include math_private.h using <...> not "...".
42883 * math/e_exp10f.c: Likewise.
42884 * math/e_exp10l.c: Likewise.
42885 * math/e_exp2l.c: Likewise.
42886 * math/e_j0l.c: Likewise.
42887 * math/e_j1l.c: Likewise.
42888 * math/e_jnl.c: Likewise.
42889 * math/e_lgammal_r.c: Likewise.
42890 * math/e_rem_pio2l.c: Likewise.
42891 * math/e_scalb.c: Likewise.
42892 * math/e_scalbf.c: Likewise.
42893 * math/e_scalbl.c: Likewise.
42894 * math/k_cosl.c: Likewise.
42895 * math/k_sinl.c: Likewise.
42896 * math/k_tanl.c: Likewise.
42897 * math/s_cacoshf.c: Likewise.
42898 * math/s_catan.c: Likewise.
42899 * math/s_catanf.c: Likewise.
42900 * math/s_catanh.c: Likewise.
42901 * math/s_catanhf.c: Likewise.
42902 * math/s_catanhl.c: Likewise.
42903 * math/s_catanl.c: Likewise.
42904 * math/s_ccosh.c: Likewise.
42905 * math/s_ccoshf.c: Likewise.
42906 * math/s_ccoshl.c: Likewise.
42907 * math/s_cexp.c: Likewise.
42908 * math/s_cexpf.c: Likewise.
42909 * math/s_cexpl.c: Likewise.
42910 * math/s_clog.c: Likewise.
42911 * math/s_clog10.c: Likewise.
42912 * math/s_clog10f.c: Likewise.
42913 * math/s_clog10l.c: Likewise.
42914 * math/s_clogf.c: Likewise.
42915 * math/s_clogl.c: Likewise.
42916 * math/s_csin.c: Likewise.
42917 * math/s_csinf.c: Likewise.
42918 * math/s_csinh.c: Likewise.
42919 * math/s_csinhf.c: Likewise.
42920 * math/s_csinhl.c: Likewise.
42921 * math/s_csinl.c: Likewise.
42922 * math/s_csqrt.c: Likewise.
42923 * math/s_csqrtf.c: Likewise.
42924 * math/s_csqrtl.c: Likewise.
42925 * math/s_ctan.c: Likewise.
42926 * math/s_ctanf.c: Likewise.
42927 * math/s_ctanh.c: Likewise.
42928 * math/s_ctanhf.c: Likewise.
42929 * math/s_ctanhl.c: Likewise.
42930 * math/s_ctanl.c: Likewise.
42931 * math/s_ldexp.c: Likewise.
42932 * math/s_ldexpf.c: Likewise.
42933 * math/s_ldexpl.c: Likewise.
42934 * math/s_significand.c: Likewise.
42935 * math/s_significandf.c: Likewise.
42936 * math/s_significandl.c: Likewise.
42937 * math/w_acos.c: Likewise.
42938 * math/w_acosf.c: Likewise.
42939 * math/w_acosh.c: Likewise.
42940 * math/w_acoshf.c: Likewise.
42941 * math/w_acoshl.c: Likewise.
42942 * math/w_acosl.c: Likewise.
42943 * math/w_asin.c: Likewise.
42944 * math/w_asinf.c: Likewise.
42945 * math/w_asinl.c: Likewise.
42946 * math/w_atan2.c: Likewise.
42947 * math/w_atan2f.c: Likewise.
42948 * math/w_atan2l.c: Likewise.
42949 * math/w_atanh.c: Likewise.
42950 * math/w_atanhf.c: Likewise.
42951 * math/w_atanhl.c: Likewise.
42952 * math/w_cosh.c: Likewise.
42953 * math/w_coshf.c: Likewise.
42954 * math/w_coshl.c: Likewise.
42955 * math/w_dremf.c: Likewise.
42956 * math/w_exp10.c: Likewise.
42957 * math/w_exp10f.c: Likewise.
42958 * math/w_exp10l.c: Likewise.
42959 * math/w_exp2.c: Likewise.
42960 * math/w_exp2f.c: Likewise.
42961 * math/w_fmod.c: Likewise.
42962 * math/w_fmodf.c: Likewise.
42963 * math/w_fmodl.c: Likewise.
42964 * math/w_hypot.c: Likewise.
42965 * math/w_hypotf.c: Likewise.
42966 * math/w_hypotl.c: Likewise.
42967 * math/w_j0.c: Likewise.
42968 * math/w_j0f.c: Likewise.
42969 * math/w_j0l.c: Likewise.
42970 * math/w_j1.c: Likewise.
42971 * math/w_j1f.c: Likewise.
42972 * math/w_j1l.c: Likewise.
42973 * math/w_jn.c: Likewise.
42974 * math/w_jnf.c: Likewise.
42975 * math/w_jnl.c: Likewise.
42976 * math/w_lgamma.c: Likewise.
42977 * math/w_lgamma_r.c: Likewise.
42978 * math/w_lgammaf.c: Likewise.
42979 * math/w_lgammaf_r.c: Likewise.
42980 * math/w_lgammal.c: Likewise.
42981 * math/w_lgammal_r.c: Likewise.
42982 * math/w_log.c: Likewise.
42983 * math/w_log10.c: Likewise.
42984 * math/w_log10f.c: Likewise.
42985 * math/w_log10l.c: Likewise.
42986 * math/w_log2.c: Likewise.
42987 * math/w_log2f.c: Likewise.
42988 * math/w_log2l.c: Likewise.
42989 * math/w_logf.c: Likewise.
42990 * math/w_logl.c: Likewise.
42991 * math/w_pow.c: Likewise.
42992 * math/w_powf.c: Likewise.
42993 * math/w_powl.c: Likewise.
42994 * math/w_remainder.c: Likewise.
42995 * math/w_remainderf.c: Likewise.
42996 * math/w_remainderl.c: Likewise.
42997 * math/w_scalb.c: Likewise.
42998 * math/w_scalbf.c: Likewise.
42999 * math/w_scalbl.c: Likewise.
43000 * math/w_sinh.c: Likewise.
43001 * math/w_sinhf.c: Likewise.
43002 * math/w_sinhl.c: Likewise.
43003 * math/w_sqrt.c: Likewise.
43004 * math/w_sqrtf.c: Likewise.
43005 * math/w_sqrtl.c: Likewise.
43006 * math/w_tgamma.c: Likewise.
43007 * math/w_tgammaf.c: Likewise.
43008 * math/w_tgammal.c: Likewise.
43009
6a621eb7
UD
43010 * po/ja.po: Update from translation team.
43011
bf582445
AJ
430122011-09-29 Andreas Jaeger <aj@suse.de>
43013
f9efbf3a
AJ
43014 [BZ #13179]
43015 * sunrpc/netname.c (netname2host): Fix logic.
43016
bf582445
AJ
43017 [BZ #6779]
43018 [BZ #6783]
43019 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43020 correctly.
43021 * math/w_remainder.c (__remainder): Likewise.
43022 * math/w_remainderf.c (__remainderf): Likewise.
43023 * math/libm-test.inc (remainder_test): Add test cases.
43024
48693bea
AK
430252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43026
43027 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43028 sdiv_qrnnd.
43029
42622229
LD
430302011-10-07 Ulrich Drepper <drepper@gmail.com>
43031
43032 * string/test-memcmp.c: Avoid unncessary #defines.
43033 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43034
093ecf92
LD
430352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43036
43037 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43038 Use new sse2 version for core i3 - i7 as it's faster
43039 than sse42 version.
43040 (bit_Prefer_PMINUB_for_stringop): New.
43041 * sysdeps/x86_64/rawmemchr.S: Update.
43042 Replace with faster SSE2 version.
43043 * sysdeps/x86_64/memrchr.S: New file.
43044 * sysdeps/x86_64/memchr.S: Update.
43045 Replace with faster SSE2 version.
43046
fde56e5c
MP
430472011-09-12 Marek Polacek <mpolacek@redhat.com>
43048
43049 * elf/dl-load.c (lose): Add cast to avoid warning.
43050
21fd49a9
UD
430512011-10-07 Ulrich Drepper <drepper@gmail.com>
43052
5a06e643
UD
43053 * po/ca.po: Update from translation team.
43054
684ae515
UD
43055 * inet/getnetgrent_r.c: Hook up nscd.
43056 * nscd/Makefile (routines): Add nscd_netgroup.
43057 (nscd-modules): Add netgroupcache.
43058 (CFLAGS-netgroupcache.c): Define.
43059 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43060 (cache_search): Add const to second parameter.
43061 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43062 INNETGR.
43063 (dbs): Add netgrdb entry.
43064 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43065 (verify_persistent_db): Handle netgrdb.
43066 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43067 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43068 GETFDNETGR.
43069 (netgroup_response_header): Define.
43070 (innetgroup_response_header): Define.
43071 (datahead): Add netgroup_response_header and innetgroup_response_header
43072 elements.
43073 * nscd/nscd.conf: Add entries for netgroup cache.
43074 * nscd/nscd.h (dbtype): Add netgrdb.
43075 (_PATH_NSCD_NETGROUP_DB): Define.
43076 (netgroup_iov_disabled): Declare.
43077 (xmalloc, xcalloc, xrealloc): Move declarations here.
43078 (cache_search): Adjust prototype.
43079 Add netgroup-related prototypes.
43080 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43081 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43082 (__nscd_innetgr): Declare.
43083 * nscd/selinux.c (perms): Use access_vector_t as element type and
43084 add netgroup-related initializers.
43085 * nscd/netgroupcache.c: New file.
43086 * nscd/nscd_netgroup.c: New file.
43087 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43088 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43089 For four parameters use innetgr.
43090 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43091 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43092 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43093 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43094
21fd49a9
UD
43095 * nscd/connections.c (register_traced_file): Don't register file
43096 for disabled databases.
43097
054c0457
UD
430982011-10-06 Ulrich Drepper <drepper@gmail.com>
43099
32b63198
UD
43100 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43101
054c0457
UD
43102 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43103 from tree and freeing node.
43104
64031225
JO
431052011-09-25 Jiri Olsa <jolsa@redhat.com>
43106
43107 * nss/nsswitch.c (__nss_database_lookup): Handle
43108 nss_parse_service_list out of memory case.
43109
0490345c
JO
431102011-09-15 Jiri Olsa <jolsa@redhat.com>
43111
43112 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43113 out of memory case.
43114
3a62d00d
AS
431152011-10-04 Andreas Schwab <schwab@redhat.com>
43116
43117 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43118 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43119 pass it down.
43120 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43121 elf_machine_rela, elf_machine_lazy_rel.
43122 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43123 (ELF_DYNAMIC_DO_REL): Likewise.
43124 (ELF_DYNAMIC_DO_RELA): Likewise.
43125 (ELF_DYNAMIC_RELOCATE): Likewise.
43126 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43127 to ELF_DYNAMIC_DO_REL.
43128 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43129 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43130 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43131 elf_machine_rela.
43132 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43133 skip_ifunc, don't call ifunc function if non-zero.
43134 (elf_machine_rela): Likewise.
43135 (elf_machine_lazy_rel): Likewise.
43136 (elf_machine_lazy_rela): Likewise.
43137 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43138 (elf_machine_lazy_rel): Likewise.
43139 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43140 Likewise.
43141 (elf_machine_lazy_rel): Likewise.
43142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43143 Likewise.
43144 (elf_machine_lazy_rel): Likewise.
43145 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43146 (elf_machine_lazy_rel): Likewise.
43147 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43148 (elf_machine_lazy_rel): Likewise.
43149 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43150 (elf_machine_lazy_rel): Likewise.
43151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43152 (elf_machine_lazy_rel): Likewise.
43153 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43154 (elf_machine_lazy_rel): Likewise.
43155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43156 (elf_machine_lazy_rel): Likewise.
43157
68577918
UD
431582011-09-28 Ulrich Drepper <drepper@gmail.com>
43159
43160 * nss/nss_files/files-init.c (_nss_files_init): Use static
43161 initialization for all the *_traced_file variables.
43162
68822d74
AS
431632011-09-28 Andreas Schwab <schwab@redhat.com>
43164
43165 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43166
2056100b
RM
431672011-09-27 Roland McGrath <roland@hack.frob.com>
43168
43169 [BZ #13226]
43170 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43171
32c76b63
AS
431722011-09-27 Andreas Schwab <schwab@redhat.com>
43173
43174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43175 Reread the line before reparsing it.
43176
bf972c9d
AS
431772011-09-26 Andreas Schwab <schwab@redhat.com>
43178
43179 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43180
e057a1b5
JM
431812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43182 Maxim Kuvyrkov <maxim@codesourcery.com>
43183 Joseph Myers <joseph@codesourcery.com>
43184
43185 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43186 if needed for __stack_chk_guard.
43187
bc7e1c36
RM
431882011-09-19 Roland McGrath <roland@hack.frob.com>
43189
ecb1482f
RM
43190 * sysdeps/posix/spawni.c (script_execute): Always define it.
43191 It will be optimized away if unused.
43192 (maybe_script_execute): New function.
43193 (__spawni): Call it.
43194
bc7e1c36
RM
43195 * Makerules: Don't include tls.make.
43196 (config-tls): Always set to thread.
43197 * tls.make.c: File removed.
43198
1c3b002b
MF
431992011-09-19 Mike Frysinger <vapier@gentoo.org>
43200
43201 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43202 * config.make.in (CPPFLAGS-config): New substituted variable.
43203
2840865d
UD
432042011-09-15 Ulrich Drepper <drepper@gmail.com>
43205
88738eb6
UD
43206 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43207
cbf645a6 43208 [BZ #13192]
2840865d
UD
43209 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43210 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43211
b402e91a
RM
432122011-09-15 Roland McGrath <roland@hack.frob.com>
43213
43214 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43215 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43217 (CALL_FAIL): Likewise.
43218 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43219 (CALL_FAIL): Macro removed.
43220 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43221
4c1a1f71
UD
432222011-09-15 Ulrich Drepper <drepper@gmail.com>
43223
43224 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43225 for __FINITE_MATH_ONLY__ == 1.
43226
edc121be
AS
432272011-09-15 Andreas Schwab <schwab@redhat.com>
43228
43229 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43230 __ieee754_sqrt instead of sqrt.
43231 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43232 __ieee754_sqrtf instead of sqrtf.
43233 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43234 __floorf instead of floorf.
43235 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43236 __floorf, __truncf instead of floorf, truncf.
43237
cd205654
UD
432382011-09-14 Ulrich Drepper <drepper@gmail.com>
43239
ee4d0315
UD
43240 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43241
cd205654
UD
43242 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43243 __extern_always_inline.
43244 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43245 32-bit.
43246
48b67d71
AS
432472011-09-14 Andreas Schwab <schwab@redhat.com>
43248
43249 * elf/rtld.c (dl_main): Also relocate in dependency order when
43250 doing symbol dependency testing.
43251
1ae12c75
AS
432522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43253
43254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43255 Always define `refsym'.
43256
995a80df
AS
432572011-09-13 Andreas Schwab <schwab@redhat.com>
43258
e529793b
AS
43259 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43260 (__FD_ELT): Renamed from __FDELT.
43261 * misc/bits/select2.h (__FD_ELT): Likewise.
43262 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43263 __FD_MASK instead of __FDELT, __FDMASK.
43264 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43265 Likewise.
43266 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43267 Likewise.
43268
52d4fef8
AS
43269 * elf/Makefile (gen-ldd): Fix pattern.
43270
995a80df
AS
43271 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43272 (init_tls): Likewise.
43273
8682f8b0
UD
432742011-09-12 Ulrich Drepper <drepper@gmail.com>
43275
43276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43277
de82006d
AS
432782011-09-12 Andreas Schwab <schwab@redhat.com>
43279
a7c8e6a1
AS
43280 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43281 `struct cmsghdr *' instead of `void *'.
43282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43283 Likewise.
43284
0f31fe77
AS
432852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43286
43287 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43288 if non-absolute.
43289 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43290 ldd_rewrite_script.
0f31fe77 43291
32b4c839
UD
432922011-09-11 Ulrich Drepper <drepper@gmail.com>
43293
83cd1420
UD
43294 * configure.in: Remove --with-tls option.
43295 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43296 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43297 out in case it is missing.
43298 * sysdeps/ia64/elf/configure.in: Likewise.
43299 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43300 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43301 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43302 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43303 * sysdeps/sh/elf/configure.in: Likewise.
43304 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43305 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43306 * sysdeps/x86_64/elf/configure.in: Likewise.
43307 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43308 * sysdeps/mach/hurd/tls.h: Likewise.
43309
633f745d
UD
43310 [BZ #13067]
43311 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43312
f318beb8
UD
43313 [BZ #13090]
43314 * configure.in: Fix use of AC_INIT.
43315
32b4c839
UD
43316 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43317
3ce1f295
UD
433182011-09-10 Ulrich Drepper <drepper@gmail.com>
43319
bb016596
UD
43320 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43321 __set_errno.
8e58439c
UD
43322 * malloc/hooks.c: Likewise.
43323
aebae053 43324 [BZ #11929]
02d46fc4
UD
43325 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43326 variables statically.
43327 (narenas): Initialize.
43328 (list_lock): Initialize.
bb016596
UD
43329 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43330 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
43331 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43332 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43333 Add initializers to main_arena and mp_.
43334 (malloc_state): Remove pagesize member. Change all users to use
43335 GLRO(dl_pagesize).
43336
43337 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43338 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43339 is always initialized.
43340
22a89187
UD
43341 * malloc/malloc.c: Removed unused configurations and dead code.
43342 * malloc/arena.c: Likewise.
43343 * malloc/hooks.c: Likewise.
02d46fc4 43344 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 43345
d063d164
UD
43346 * include/tls.h: Removed. USE___THREAD must always be defined.
43347 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43348 * elf/dl-libc.c: Likewise.
43349 * elf/dl-tsd.c: Likewise.
43350 * include/errno.h: Likewise.
43351 * include/netdb.h: Likewise.
43352 * include/resolv.h: Likewise.
43353 * inet/herrno-loc.c: Likewise.
43354 * inet/herrno.c: Likewise.
43355 * malloc/arena.c: Likewise.
43356 * malloc/hooks.c: Likewise.
43357 * malloc/malloc.c: Likewise.
43358 * resolv/res-state.c: Likewise.
43359 * resolv/res_libc.c: Likewise.
43360 * sysdeps/i386/dl-machine.h: Likewise.
43361 * sysdeps/ia64/dl-machine.h: Likewise.
43362 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43363 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43364 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43365 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43366 * sysdeps/sh/dl-machine.h: Likewise.
43367 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43368 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43369 * sysdeps/unix/i386/sysdep.S: Likewise.
43370 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43371 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43376 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43380 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43381 * sysdeps/x86_64/dl-machine.h: Likewise.
43382 * tls.make.c: Likewise.
43383
3ce1f295
UD
43384 * configure.in: Remove --with-__thread option. Make tests for
43385 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43386 tls_model attribute fail if no support is available. Remove
43387 USE_IN_LIBIO.
43388 * Makeconfig: Adjust for dropped configure option. All features are
43389 now mandatory.
43390 * Makerules: Likewise.
43391 * Versions.def: Likewise.
43392 * argp/argp-fmtstream.c: Likewise.
43393 * argp/argp-fmtstream.h: Likewise.
43394 * argp/argp-help.c: Likewise.
43395 * assert/assert.c: Likewise.
43396 * config.h.in: Likewise.
43397 * config.make.in: Likewise.
43398 * configure: Likewise.
43399 * configure.in: Likewise.
43400 * csu/Versions: Likewise.
43401 * csu/init.c: Likewise.
43402 * elf/tst-audit2.c: Likewise.
43403 * elf/tst-tls10.c: Likewise.
43404 * elf/tst-tls10.h: Likewise.
43405 * elf/tst-tls11.c: Likewise.
43406 * elf/tst-tls12.c: Likewise.
43407 * elf/tst-tls14.c: Likewise.
43408 * elf/tst-tlsmod11.c: Likewise.
43409 * elf/tst-tlsmod12.c: Likewise.
43410 * elf/tst-tlsmod13.c: Likewise.
43411 * elf/tst-tlsmod13a.c: Likewise.
43412 * elf/tst-tlsmod14a.c: Likewise.
43413 * elf/tst-tlsmod15b.c: Likewise.
43414 * elf/tst-tlsmod16a.c: Likewise.
43415 * elf/tst-tlsmod16b.c: Likewise.
43416 * elf/tst-tlsmod7.c: Likewise.
43417 * elf/tst-tlsmod8.c: Likewise.
43418 * elf/tst-tlsmod9.c: Likewise.
43419 * gmon/gmon.c: Likewise.
43420 * grp/fgetgrent_r.c: Likewise.
43421 * grp/putgrent.c: Likewise.
43422 * hurd/fopenport.c: Likewise.
43423 * include/libc-symbols.h: Likewise.
43424 * include/tls.h: Likewise.
43425 * intl/gettextP.h: Likewise.
43426 * intl/loadinfo.h: Likewise.
43427 * locale/global-locale.c: Likewise.
43428 * locale/localeinfo.h: Likewise.
43429 * mach/devstream.c: Likewise.
43430 * malloc/arena.c: Likewise.
43431 * malloc/set-freeres.c: Likewise.
43432 * misc/err.c: Likewise.
43433 * misc/getttyent.c: Likewise.
43434 * misc/mntent_r.c: Likewise.
43435 * posix/getopt.c: Likewise.
43436 * posix/wordexp.c: Likewise.
43437 * pwd/fgetpwent_r.c: Likewise.
43438 * resolv/Versions: Likewise.
43439 * resolv/res_hconf.c: Likewise.
43440 * shadow/fgetspent_r.c: Likewise.
43441 * shadow/putspent.c: Likewise.
43442 * stdio-common/printf_fphex.c: Likewise.
43443 * stdio-common/tmpfile.c: Likewise.
43444 * stdlib/abort.c: Likewise.
43445 * stdlib/fmtmsg.c: Likewise.
43446 * sunrpc/auth_unix.c: Likewise.
43447 * sunrpc/clnt_perr.c: Likewise.
43448 * sunrpc/clnt_tcp.c: Likewise.
43449 * sunrpc/clnt_udp.c: Likewise.
43450 * sunrpc/clnt_unix.c: Likewise.
43451 * sunrpc/openchild.c: Likewise.
43452 * sunrpc/svc_simple.c: Likewise.
43453 * sunrpc/svc_tcp.c: Likewise.
43454 * sunrpc/svc_udp.c: Likewise.
43455 * sunrpc/svc_unix.c: Likewise.
43456 * sunrpc/xdr.c: Likewise.
43457 * sunrpc/xdr_array.c: Likewise.
43458 * sunrpc/xdr_rec.c: Likewise.
43459 * sunrpc/xdr_ref.c: Likewise.
43460 * sunrpc/xdr_stdio.c: Likewise.
43461
1248c1c4
PB
434622011-09-09 Ulrich Drepper <drepper@gmail.com>
43463
43464 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43465
434662011-07-03 Andreas Jaeger <aj@suse.de>
43467
43468 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43469 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43470 regenerate with gen-libm-tests.pl.
43471
434722010-05-12 Petr Baudis <pasky@suse.cz>
43473
43474 [BZ #11589]
43475 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43476 around j0() zero points by switching to j1().
43477 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43478 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43480 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43481
f22e1074
UD
434822011-09-09 Ulrich Drepper <drepper@gmail.com>
43483
f19009c1
UD
43484 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43485 instead of 0.
43486 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 43487 instead of 0.
f19009c1
UD
43488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43489 Patch in part by Pavel Roskin <proski@gnu.org>.
43490
3f8cc204
UD
43491 [BZ #13138]
43492 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43493 realloc.
43494 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43495 Free memory block if necessary.
43496
f22e1074
UD
43497 [BZ #12847]
43498 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43499 be NULL. Don't lock in this case.
43500
0a2349f9
RM
435012011-09-09 Roland McGrath <roland@hack.frob.com>
43502
43503 * elf/elf.h (ELFOSABI_GNU): New macro.
43504 (ELFOSABI_LINUX): Define to that.
43505
f3cdd467
DZ
435062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43507
43508 * string/strncat.c (strncat): Undef the symbol in case it has been
43509 defined in bits/string.h.
43510
74718d13
UD
435112011-09-09 Ulrich Drepper <drepper@gmail.com>
43512
633e9e0f
UD
43513 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43514
0a2349f9 43515 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
43516 link map.
43517
f9924780
AJ
435182011-08-17 Andreas Jaeger <aj@suse.de>
43519
43520 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43521
7f5517aa
PP
435222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43523 Ian Lance Taylor <iant@google.com>
43524
43525 * math/libm-test.inc (lround_test): New testcase.
43526 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43527
762011fe
UD
435282011-09-08 Ulrich Drepper <drepper@gmail.com>
43529
92963737
UD
43530 * Makefile: Remove support for automatic cvs check-ins.
43531 * Makerules: Likewise.
43532 * config.make.in: Likewise.
43533 * configure.in: Likewise.
43534 * intl/Makefile: Likewise.
43535 * locale/Makefile: Likewise.
43536 * po/Makefile: Likewise.
43537 * posix/Makefile: Likewise.
43538 * sysdeps/gnu/Makefile: Likewise.
43539 * sysdeps/mach/hurd/Makefile: Likewise.
43540 * sysdeps/sparc/sparc32/Makefile: Likewise.
43541
b0727fd8
JS
43542 [BZ #13118]
43543 * posix/Makefile (bug-regex32-ENV): Define.
43544 Patch by John Stanley <jpsinthemix@verizon.net>.
43545
a0f33f99
UD
43546 * misc/Makefile (headers): Add bits/select2.h.
43547 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43548 * misc/bits/select2.h: New file.
43549 * include/bits/select2.h: New file.
43550 * debug/Makefile (routines): Add fdelt_chk.
43551 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43552 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43553 FD_ISSET.
43554 * debug/fdelt_chk.c: New file.
43555
762011fe
UD
43556 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43557 * wcsmbs/test-wmemcmp.c: Likewise.
43558 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 43559 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
43560
435612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43562
43563 * string/Makefile (strop-tests): Add memcmp.
43564 * string/test-wmemcmp.c: New file.
43565 * string/test-memcmp.c: Add wmemcmp support.
43566
7f513ec8
RM
435672011-09-08 Roland McGrath <roland@hack.frob.com>
43568
0442afb4
RM
43569 [BZ #13153]
43570 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43571 2011-07-19 change.
43572
7f513ec8
RM
43573 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43574 garbage value in a __mach_port_mod_refs call in the cases of the
43575 task-self and thread-self ports.
43576
a12b2239
ST
435772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43578
43579 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43580
610f9ab4
AS
435812011-09-08 Andreas Schwab <schwab@redhat.com>
43582
7f513ec8 43583 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 43584
48882a1a
LD
435852011-09-07 Ulrich Drepper <drepper@gmail.com>
43586
b49865be
UD
43587 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43588
fdc86bc9
UD
43589 * elf/dl-libc.c (dlerror_run): Pass back error code from
43590 dl_catch_error.
43591
c966526a
UD
43592 [BZ #13123]
43593 * elf/dl-load.c (lose): Free l_origin if it is valid.
43594
48882a1a
LD
43595 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43596 names.
43597 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43598 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43599 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43600 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43601 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43602 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43603
77a2a8b4
AZ
436042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43605
43606 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43607 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43608 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43609 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43610 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43611 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43612 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43613 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43614 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43615 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43616
24f579d8
AM
436172011-08-15 Alan Modra <amodra@gmail.com>
43618
43619 [BZ #13092]
43620 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43621 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43622 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43623 ppc_mcount to static-only-routines.
43624 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43625 __mcount_internal.
43626 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43627 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43628
3d4837df
UD
436292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43630
43631 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43632 for finite and infinity parameters.
43633
22700377
WS
436342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43635
43636 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43637 and add nop instructions for throughput optimization.
43638 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43639
5025581e
WS
436402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43641
43642 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43643 aligned copy for power7 with vector-scalar instructions.
43644 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43645
08a300c9
L
436462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43647
43648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43649 AVX check.
43650
59178ef9
AS
436512011-09-07 Andreas Schwab <schwab@redhat.com>
43652
43653 [BZ #13144]
43654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43655 last change.
43656
e38ba7ab
UD
436572011-09-07 Ulrich Drepper <drepper@gmail.com>
43658
43659 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43660 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43661 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43662 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43663 clock_gettime.
43664
d53a73ac
UD
436652011-09-06 Ulrich Drepper <drepper@gmail.com>
43666
fc8bffcc
UD
43667 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43668 Forgot to demangle the pointer.
43669
ceaa0c5d
UD
43670 * sysdeps/i386/sysdep.h: Define atom_text_section.
43671 * sysdeps/x86_64/sysdep.h: Likewise.
43672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43673 section with atom_text_section.
43674 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43675 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43676 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43678 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43679
a77d3c17
UD
43680 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43681 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43682 already be defined. Change to take two parameters and don't assign
43683 result to variable. Adjust all users.
43684 Define INTERNAL_GETTIME if not already defined.
43685 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43686 call.
43687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43688 HAVE_CLOCK_GETTIME_VSYSCALL.
43689 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43690
d53a73ac
UD
43691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43692 gettimeofday vsyscall, just use time.
43693
a8f84144
AS
436942011-09-06 Andreas Schwab <schwab@redhat.com>
43695
43696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43697 <errno.h>.
43698
ef606249
UD
436992011-09-06 Ulrich Drepper <drepper@gmail.com>
43700
43701 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43702 syscall on x86-64.
43703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43704 syscall.
43705 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43706 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43707 syscall if possible.
43708
6585cb60
UD
437092011-09-05 Ulrich Drepper <drepper@gmail.com>
43710
43711 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43712 e_ident. Don't pass to find_mapsXX.
43713 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43714
a5f524e4
LD
437152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43716
43717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43718 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43719 * sysdeps/x86_64/multiarch/strchr.S: Update.
43720 Check bit_slow_BSF bit.
43721 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43722 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43723 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43724
554881ef
UD
437252011-09-05 Ulrich Drepper <drepper@gmail.com>
43726
d96de963
UD
43727 [BZ #13134]
43728 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43729 before glibc 2.15.
43730 (tryshell): Define.
43731 (__spawni): Change last parameter to be flag. Test
43732 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43733 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43734 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43735 * posix/spawni.c: Likewise.
43736 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43737 * posix/spawnp.c: Likewise. Change normal version to use
43738 SPAWN_XFLAGS_USE_PATH.
43739 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43740 SPAWN_XFLAGS_TRY_SHELL.
43741
d48e5868
UD
43742 [BZ #13150]
43743 * posix/glob.h: Remove gcc 1.x support.
43744
554881ef
UD
43745 [BZ #13068]
43746 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43747
693fb948
LD
437482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43749
43750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43751 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43752 strrchr-sse2-bsf
43753 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43754 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43755 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43756 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43757 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43758 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43759
1b48c537
UD
437602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43761
49d42c37
UD
43762 * sysdeps/x86_64/wcscmp.S: New file.
43763
1b48c537
UD
43764 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43765 wcscmp-c wcscmp-sse2
43766 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43767 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43768 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43769 * wcsmbs/wcscmp.c: Allow renaming.
43770
15c95c5d
DM
437712011-09-05 David S. Miller <davem@davemloft.net>
43772
43773 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43774 stack slot, rather than the struct return pointer slot.
43775 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43776 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43778 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43779
2f0ad8f3
UD
437802011-09-05 Ulrich Drepper <drepper@gmail.com>
43781
d88ae418
UD
43782 * po/ja.po: Update from translation team.
43783
2f0ad8f3
UD
43784 [BZ #13144]
43785 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43786 kernel in 64-bit binaries.
43787
5f4318d1
DM
437882011-09-01 David S. Miller <davem@davemloft.net>
43789
43790 * elf/elf.h (HWCAP_SPARC_*): Move to..
43791 * sysdeps/sparc/sysdep.h: this new file and add new values.
43792 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43793 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43794 _DL_HWCAP_COUNT to 24.
43795 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43796 entries.
43797 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43798 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43799 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43801 instead of magic constants.
43802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43803
3ba57516
DM
438042011-08-31 David S. Miller <davem@davemloft.net>
43805
43806 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43808 Reimplement to do errno handling inline.
43809 (SYSCALL_ERROR_HANDLER): New macro.
43810 (__SYSCALL_STRING): Do not do errno handling in asm.
43811 (__CLONE_SYSCALL_STRING): Delete.
43812 (__INTERNAL_SYSCALL_STRING): Delete.
43813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43814 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43815 (PSEUDO): Reimplement to do errno handling inline.
43816 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43817 (SYSCALL_ERROR_HANDLER): New macro.
43818 (__SYSCALL_STRING): Do not do errno handling in asm.
43819 (__CLONE_SYSCALL_STRING): Delete.
43820 (__INTERNAL_SYSCALL_STRING): Delete.
43821 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43822 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43823 i386.
43824 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43825 (inline_syscall*): Add 'err' argument.
43826 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43827 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43828 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43829 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43830
43831 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43832 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43833
2bc17433
AS
438342011-08-30 Andreas Schwab <schwab@redhat.com>
43835
43836 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43837
fbeb5f4d
JO
438382011-08-29 Jiri Olsa <jolsa@redhat.com>
43839
43840 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43841 directive.
43842
ad69cc26
DM
438432011-08-24 David S. Miller <davem@davemloft.net>
43844
43845 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43846
39dd69df
AS
438472011-08-24 Andreas Schwab <schwab@redhat.com>
43848
43849 * elf/Makefile: Add rules to build and run unload8 test.
43850 * elf/unload8.c: New file.
43851 * elf/unload8mod1.c: New file.
43852 * elf/unload8mod1x.c: New file.
43853 * elf/unload8mod2.c: New file.
43854 * elf/unload8mod3.c: New file.
43855
43856 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43857 it wasn't used.
43858
2c0b250a
DM
438592011-08-23 David S. Miller <davem@davemloft.net>
43860
43861 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43862 subtract stack bias.
43863 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43864 %sp not %fp in calculations.
43865 (_JMPBUF_UNWINDS_ADJ): Likewise.
43866
22044b48
DM
43867 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43868 (aio_suspend): Call it to force an exception region around the
43869 AIO_MISC_WAIT() invocation.
43870
2cae4995
AS
438712011-08-23 Andreas Schwab <schwab@redhat.com>
43872
43873 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43874 backslash.
43875
873a772e
AJ
438762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43877
43878 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43879 protection macro.
43880 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43881 and <dl-machine.h>.
43882 (Elf64_FuncDesc): Remove.
43883
25ad0df1
DM
438842011-08-22 David S. Miller <davem@davemloft.net>
43885
43886 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43887 sigaltstack check, add missing cfi directives.
43888 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43889 missing cfi directives, and sigaltstack handling.
43890
e888bcbe
AS
438912011-08-16 Andreas Schwab <schwab@redhat.com>
43892
43893 [BZ #11724]
43894 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43895 object is seen twice.
43896 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43897
43898 * elf/Makefile (distribute): Add tst-initorder2.c.
43899 (tests): Add tst-initorder2.
43900 (modules-names): Add tst-initorder2a tst-initorder2b
43901 tst-initorder2c tst-initorder2d. Add rules to build them.
43902 ($(objpfx)tst-initorder2.out): New rule.
43903 * elf/tst-initorder2.c: New file.
43904 * elf/tst-initorder2.exp: New file.
43905
87162f46
AS
439062011-08-22 Andreas Schwab <schwab@redhat.com>
43907
70538b7f
AS
43908 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43909
f55ffe58
AS
43910 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43911 dependencies back to end of function.
43912
87162f46
AS
43913 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43914 $(elfobjdir)/ld.so.
43915
91b392a4
UD
439162011-08-21 Ulrich Drepper <drepper@gmail.com>
43917
43918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43919 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43921 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43922 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43923 of __vdso_gettimeofday.
43924 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43925 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43926 attribute_hidden.
43927 (_libc_vdso_platform_setup): Remove initialization of
43928 __vdso_gettimeofday and __vdso_time.
43929
5c43483f
UD
439302011-08-20 Ulrich Drepper <drepper@gmail.com>
43931
775a77e7
UD
43932 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43933 and fgetc_unlocked.
43934 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43935 getc_unlocked.
89f447ed 43936
49c74ba9
UD
43937 * elf/dl-open.c (add_to_global): Report additions to the global scope
43938 for LD_DEBUG=scopes.
43939 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 43940 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 43941
5c43483f
UD
43942 [BZ #13114]
43943 * stdio-common/Makefile (tests): Add bug24.
43944 * stdio-common/bug24.c: New file.
43945
a101b025
AJ
439462011-08-19 Andreas Jaeger <aj@suse.de>
43947
43948 [BZ #13114]
43949 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43950 non-existant file when using close-on-exec mode.
43951
c88f1766
UD
439522011-08-20 Ulrich Drepper <drepper@gmail.com>
43953
0276a718
UD
43954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43955 the very first instruction.
43956
c88f1766
UD
43957 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43958 the CFI state in the end.
43959 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43960 inclusion of dl-trampoline.h.
43961 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43962
51ccffa0
AS
439632011-08-19 Andreas Schwab <schwab@redhat.com>
43964
94d7165f
AS
43965 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43966 expectations for long double.
43967
51ccffa0
AS
43968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43969 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43970
fd708658 439712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
43972
43973 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43974 artificual limit depends upon the system page size.
43975
44f0a71e
UD
439762011-08-17 Ulrich Drepper <drepper@gmail.com>
43977
43978 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43979 * resolv/Makefile: Define CFLAGS-libresolv.
43980
8de79a24
AS
439812011-08-17 Andreas Schwab <schwab@redhat.com>
43982
43983 * nss/makedb.c (compute_tables): Make variables used in nested
43984 function static.
43985
27724598
UD
439862011-08-17 Ulrich Drepper <drepper@gmail.com>
43987
c5305d88
UD
43988 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43989 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43990 if buffer was too small.
43991
27724598
UD
43992 * elf/pldd.c (main): Attach to all threads in the process.
43993 Rewrite /proc handling to use *at functions.
43994
076fe015
UD
439952011-08-16 Ulrich Drepper <drepper@gmail.com>
43996
174baab3
UD
43997 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43998 specifies first scope to show.
43999 (dl_open_worker): Update callers. Move printing scope of new
44000 object to before the relocation.
44f0a71e 44001 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
44002 * sysdeps/generic/ldsodefs.h: Update declaration.
44003
076fe015
UD
44004 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44005 string for the scope number.
44006
a60df2c3
UD
440072011-08-14 Ulrich Drepper <drepper@gmail.com>
44008
44009 * nscd/servicescache.c (cache_addserv): Make sure written is always
44010 initialized.
44011
5e4287d1
RM
440122011-08-14 Roland McGrath <roland@hack.frob.com>
44013
85ae0589
RM
44014 * sysdeps/i386/i486/bits/atomic.h
44015 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44016 statement expression, so as to suppress "set but not used" warning.
44017 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44018
69f63097
RM
44019 * string/strncat.c (STRNCAT): Use prototype definition.
44020
675456ef
RM
44021 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44022 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44023 -Iprograms here.
44024 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44025 (localedef-modules): Add localedef.
44026 (locale-modules): Add locale.
44027
5e4287d1
RM
44028 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44029 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44030 to avoid a warning.
44031
9c96ff23
DM
440322011-08-14 David S. Miller <davem@davemloft.net>
44033
44034 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44035 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44036
f9ddf089
UD
440372011-08-13 Ulrich Drepper <drepper@gmail.com>
44038
44f0a71e 44039 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
44040 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44041 * elf/rtld.c (dl_main): Set l_name of vDSO.
44042 Call _dl_show_scope when DL_DEBUG_SCOPES.
44043 (process_dl_debug): Recognize scopes flag and also set it for all.
44044 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44045 Declare _dl_show_scope.
44046
1dc27704
UD
44047 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44048 (do_dlopen): Pass caller_dlopen to dl_open.
44049 (__libc_dlopen_mode): Initialize caller_dlopen.
44050
f9ddf089
UD
44051 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44052 of libc. Make tolower call locale-independent. Optimize a bit by
44053 using isdigit instead of isalnum.
44054 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44055
9ac533d3
UD
440562011-08-12 Ulrich Drepper <drepper@gmail.com>
44057
44058 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44059 was a dependency or dynamically loaded.
44060
89edf2e9
UD
440612011-08-11 Ulrich Drepper <drepper@gmail.com>
44062
8e999d29
UD
44063 * intl/l10nflist.c: Allow architecture-specific pop function.
44064 * sysdeps/x86_64/l10nflist.c: New file.
44065
89edf2e9
UD
44066 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44067 classification.
44068
14d96785
AS
440692011-08-10 Andreas Schwab <schwab@redhat.com>
44070
44071 * include/dirent.h: Add libc_hidden_proto for scandirat and
44072 scandirat64. Don't declare __scandirat64.
44073 * dirent/scandirat.c: Add libc_hidden_def.
44074 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44075 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44076
6761ac04
DM
440772011-08-10 David S. Miller <davem@davemloft.net>
44078
44079 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44080 enum.
44081 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44082 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44083 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44084
c55fbd1e
UD
440852011-08-09 Ulrich Drepper <drepper@gmail.com>
44086
44087 * Versions.def [libc]: Add GLIBC_2.15.
44088 * dirent/Makefile (routines): Add scandirat and scandirat64.
44089 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44090 GLIBC_2.15.
44091 * dirent/dirent.h: Declare scandirat and scandirat64.
44092 * dirent/scandirat.c: New file.
44093 * dirent/scandirat64.c: New file.
44094 * sysdeps/wordsize-64/scandirat.c: New file.
44095 * sysdeps/wordsize-64/scandirat64.c: New file.
44096 * dirent/opendir.c: Define opendirat.
44097 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44098 using scandirat.
44099 * dirent/scandir64.c: Adjust for scandir.c change.
44100 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44101 __scandirat64, and __scandir_cancel_handler.
44102 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44103 additional parameter and use openat instead of open (outside of ld.so).
44104 Add new __opendir as wrapper around __opendirat.
44105 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44106 here without requiring old scandirat implementation.
44107
879165f2
UD
441082011-08-08 Ulrich Drepper <drepper@gmail.com>
44109
44110 * dirent/scandir.c (cancel_handler): Renamed to
44111 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44112 defined. Adjust users.
44113 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44114 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44115
cb7e923b
UD
441162011-08-04 Ulrich Drepper <drepper@gmail.com>
44117
16292edd
UD
44118 * string/test-string.h (IMPL): Use __STRING to expand name and then
44119 stringify it.
44120
cb7e923b
UD
44121 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44122 of cleanups.
44123
cff82933
LD
441242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44125
44126 * string/Makefile: Update.
44127 (strop-tests): Append strncat.
44128 * string/test-wcscmp.c: New file.
44129 New comprehensive test for wcscmp.
44130 * string/test-strcmp.c: Update.
44131 (WIDE): New define.
44132
9be9bfcc
AS
441332011-07-22 Andreas Schwab <schwab@redhat.com>
44134
44135 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44136 line.
44137
2e96f1c7
AS
441382011-07-26 Andreas Schwab <schwab@redhat.com>
44139
44140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44141 encoding to ACE if AI_IDN.
44142
85188888
JJ
441432011-08-01 Jakub Jelinek <jakub@redhat.com>
44144
44145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44146 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44147
5fa16e9b
LD
441482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44149
44150 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44151 Fix overflow bug in strncat.
44152 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44153
44154 * string/test-strncat.c: Update.
44155 Add new tests for checking overflow bugs.
44156
441572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44158
44159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44160 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44161 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44162 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44163 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44164 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44165 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44166 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44167 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44168
44169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44170 (USE_AS_STRCAT): Define.
44171 Add strcat and strncat support.
44172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44173
8c1a459f
AS
441742011-07-25 Andreas Schwab <schwab@redhat.com>
44175
44176 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44177 __n bigger than INT_MAX+1.
44178 (__strncmp_g): Likewise.
44179
bba33c28
UD
441802011-07-23 Ulrich Drepper <drepper@gmail.com>
44181
798be72d
UD
44182 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44183 * libio/stido.h: Likewise.
44184
8accd4dc
UD
44185 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44186 (AF_NFC): Define.
44187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44188 (AF_NFC): Define.
44189
cbff0d96
UD
44190 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44191 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44192 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44193 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44195
9191c04a
UD
44196 [BZ #13021]
44197 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44198 installed.
44199
bba33c28
UD
44200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44201 typo.
44202 (_dl_x86_64_save_sse): Likewise.
44203
90f139dd
UD
442042011-07-22 Ulrich Drepper <drepper@gmail.com>
44205
1aae088a
UD
44206 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44207 OSXSAVE.
44208 (_dl_x86_64_save_sse): Likewise.
44209
8e2045f5
UD
44210 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44211
90f139dd
UD
44212 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44213
1d002f25
AS
442142011-07-21 Andreas Schwab <schwab@redhat.com>
44215
44216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44217 change.
44218 (_dl_x86_64_save_sse): Use correct AVX check.
44219
21137f89
UD
442202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44221
44222 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44223 bug in strncpy/strncat.
44224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44225
a65c0b7a
UD
442262011-07-21 Ulrich Drepper <drepper@gmail.com>
44227
44228 * string/tester.c (test_strcat): Add tests for different alignments
44229 of source and destination.
44230 (test_strncat): Likewise.
44231
6986b98a
UD
442322011-07-20 Ulrich Drepper <drepper@gmail.com>
44233
90bb2039
UD
44234 [BZ #12852]
44235 * posix/glob.c (glob): Check passed in values before using them in
44236 expressions to avoid some overflows.
44237 (glob_in_dir): Likewise.
44238
5644ef54
UD
44239 [BZ #13007]
44240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44241 check for AVX enablement so that we don't crash with old kernels and
44242 new hardware.
44243 * elf/tst-audit4.c: Add same checks here.
44244 * elf/tst-audit6.c: Likewise.
44245
44246 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 44247
bfc9dc9b
AS
442482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44249
44250 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44251
702e64bb
UD
442522011-07-20 Ulrich Drepper <drepper@gmail.com>
44253
44254 * po/cs.po: Update from translation team.
44255 * po/bg.po: Likewise.
44256
295e904f
MP
442572011-07-12 Marek Polacek <mpolacek@redhat.com>
44258
44259 * misc/sys/cdefs.h: Add support for const attribute.
44260 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44261 to gnu_dev_{major,minor,makedev} functions.
44262
3ff94596
MP
442632011-07-20 Marek Polacek <mpolacek@redhat.com>
44264
44265 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44266
28b59fca
AS
442672011-07-20 Andreas Schwab <schwab@redhat.com>
44268
44269 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44270 strlen results.
44271
19df733e
AK
442722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44273
44274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44275 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44276 register in order to avoid conflicts with the soft frame pointer
44277 being held in r11 when necessary.
44278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44279 (INTERNAL_VSYSCALL_NCS): Likewise.
44280
c8835729
MP
442812011-07-14 Marek Polacek <mpolacek@redhat.com>
44282
44283 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44284 * elf/dl-fini.c (_dl_fini): Adjust caller.
44285 * elf/dl-close.c (_dl_close_worker): Likewise.
44286 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44287
b902330c
MP
442882011-07-15 Marek Polacek <mpolacek@redhat.com>
44289
8991e135
MP
44290 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44291 "aux_cache->nlibs < 0".
44292
b902330c
MP
44293 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44294 in the reload-count case.
44295
99710781
LD
442962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44297
44298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44299 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44300 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44301 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44302 * sysdeps/x86_64/multiarch/strcat.S: New file.
44303 * sysdeps/x86_64/multiarch/strncat.S: New file.
44304 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44305 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44306 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44307 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44309 (USE_AS_STRCAT): Define.
44310 Add strcat and strncat support.
44311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44312 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44313 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44314 * string/strncat.c: Update.
44315 (USE_AS_STRNCAT): Define.
44316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44317 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44318 and i7.
44319 * sysdeps/x86_64/multiarch/init-arch.h
44320 (bit_Prefer_PMINUB_for_stringop): New.
44321 (index_Prefer_PMINUB_for_stringop): Likewise.
44322 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44323 bit_Prefer_PMINUB_for_stringop.
44324
7dc6bd90
UD
443252011-07-19 Ulrich Drepper <drepper@gmail.com>
44326
44327 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44328 buffer64.
44329 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44330 of casting of buffer.
44331 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44332 buffer32 and buffer64.
44333 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44334 writes instead of casting of buffer.
44335 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44336 buffer32.
44337 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44338 casting of buffer.
44339
e0e72284
AS
443402011-07-19 Andreas Schwab <schwab@redhat.com>
44341
44342 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44343
feb1eb0b
UD
443442011-07-19 Ulrich Drepper <drepper@gmail.com>
44345
44346 * nscd/nscd.c (termination_handler): Don't do anything for a database
44347 if it has not yet been initialized.
44348
298711ff
UD
443492011-07-18 Ulrich Drepper <drepper@gmail.com>
44350
44351 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44352
443532011-07-15 Marek Polacek <mpolacek@redhat.com>
44354
44355 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44356
f9d68389
UD
443572011-07-18 Ulrich Drepper <drepper@gmail.com>
44358
44359 * po/nl.po: Update from translation team.
44360 * po/sv.po: Likewise.
44361
db290cf5
RM
443622011-07-16 Roland McGrath <roland@hack.frob.com>
44363
44364 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44365 now disallowed by GCC.
5c550700 44366
fd5e21c7
RM
44367 * configure.in (use-default-link): Default to yes if a test -shared
44368 link meets our qualifications.
44369 * configure: Regenerated.
44370
5c550700
RM
44371 * config.make.in (output-format): New variable.
44372 * configure.in: Check for ld --print-output-format support.
44373 * configure: Regenerated.
44374 * Makerules ($(common-objpfx)format.lds)
44375 [$(output-format) != unknown]: Just use $(output-format),
44376 instead of the linker-script munging.
44377
9fa2c032
RM
443782011-07-14 Roland McGrath <roland@hack.frob.com>
44379
a6928d51
RM
44380 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44381 of $(common-objpfx)shlib.lds.
44382 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44383
661607b3
RM
44384 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44385 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44386
9fa2c032
RM
44387 * configure.in (-z relro check): Adjust test code to add a large
44388 writable data section after it.
44389 * configure: Regenerated.
44390
defe9061
RM
443912011-07-11 Roland McGrath <roland@hack.frob.com>
44392
44393 * configure.in (-z relro check): Fix test code to make the variable
44394 truly const.
44395 * configure: Regenerated.
44396
319b9ad4
UD
443972011-07-11 Ulrich Drepper <drepper@gmail.com>
44398
44399 * nscd/nscd.h (struct traced_file): Define.
44400 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44401 elements. Add traced_files.
44402 (inotify_fd): Declare.
44403 (register_traced_file): Declare.
44404 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44405 (inotify_fd): Export.
44406 (resolv_conf_descr): Remove.
44407 (nscd_init): Move inotify descriptor creation to main.
44408 Don't register files for notification here.
44409 (register_traced_file): New function.
44410 (invalidate_cache): Don't use reset_res to determine whether to call
44411 res_init, go through the list of registered files.
44412 (main_loop_poll): The inotify descriptors are now stored in the
44413 structures for the traced files.
44414 (main_loop_epoll): Likewise
44415 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44416 to __nss_disable_nscd.
44417 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44418 for a database anymore. Check the records for all the registered
44419 files instead.
44420 * nss/Makefile (libnss_files-routines): Add files-init.
44421 (libnss_db-routines): Add db-init.
44422 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44423 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44424 * nss/nss_db/db-init.c: New file.
44425 * nss/nss_files/files-init.c: New file.
44426 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44427 __nss_lookup_function.
44428 (__nss_lookup_function): Call nss_load_library.
44429 (nss_load_all_libraries): New function.
44430 (__nss_disable_nscd): Take parameter with callback function for files
44431 to register. Set is_nscd. Load all the DSOs for the NSS modules
44432 used for the cached services.
44433 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44434 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44435 options for features to all the files in nscd.
44436
44437 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44438
23bee3e8
RM
444392011-07-10 Roland McGrath <roland@hack.frob.com>
44440
44441 * csu/elf-init.c (__libc_csu_init): Comment typo.
44442
46a5b7f0
UD
444432011-07-09 Ulrich Drepper <drepper@gmail.com>
44444
44445 * po/pl.po: Update from translation team.
44446 * po/ja.po: Likewise.
44447 * po/ru.po: Likewise.
44448 * po/ko.po: Likewise.
44449 * po/fr.po: Likewise.
44450
d30cf5bb
RM
444512011-07-09 Roland McGrath <roland@hack.frob.com>
44452
113ddea4
RM
44453 * configure.in (.ctors/.dtors header and trailer check):
44454 Use an empirical test on a built program.
44455 * configure: Regenerated.
44456
574920b4
RM
44457 * configure.in (-z relro check): Use an empirical test on a built DSO.
44458 Detect, but do not require, on ia64.
44459 * configure: Regenerated.
44460
d30cf5bb
RM
44461 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44462 Update tests that use readelf to use $READELF instead.
44463 * configure: Regenerated.
44464
8538fdb3
UD
444652011-07-08 Ulrich Drepper <drepper@gmail.com>
44466
44467 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44468 if the result is not used.
44469
04d08991
AJ
444702011-07-05 Andreas Jaeger <aj@suse.de>
44471
44472 [BZ#9696]
44473 * stdlib/tst-strtod.c: Add testcase.
44474
de283087
AD
444752011-07-07 Ulrich Drepper <drepper@gmail.com>
44476
4e5f31c8 44477 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 44478 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
44479 The latter has a higher limit. Take additional parameter to pass to
44480 the new function.
44481 (__pathconf): Pass file to __statfs_link_max.
44482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44483 __statfs_link_max.
44484 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44485 __statfs_link_max.
44486
de283087
AD
44487 [BZ #12868]
44488 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44489 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44490 Handle Lustre.
44491 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44492 (__statfs_filesize_max): Likewise.
44493 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44494
c75fa153
AJ
444952011-07-05 Andreas Jaeger <aj@suse.de>
44496
44497 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44498
1a544854
UD
444992011-07-06 Marek Polacek <mpolacek@redhat.com>
44500
44501 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44502 `status' variable.
44503 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44504 Likewise.
44505
6f0eec67
UD
445062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44507
44508 * Makefile (strop-tests): Add strncat.
44509 * string/test-strncat.c: New file.
44510
aae30307
UD
445112011-06-30 Marek Polacek <mpolacek@redhat.com>
44512
44513 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44514
c0cfb5eb
UD
445152011-06-21 Andreas Jaeger <aj@suse.de>
44516
44517 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44518 Copy rule from iconvdata/Makefile.
44519
01636b21
UD
445202011-07-06 Ulrich Drepper <drepper@gmail.com>
44521
44522 [BZ #12922]
44523 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44524 but no long options are defined, just return 'W'.
44525
9895c8bc
UD
445262011-06-22 Marek Polacek <mpolacek@redhat.com>
44527
44528 [BZ #9696]
44529 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44530
5d4cf042
UD
445312011-07-06 Ulrich Drepper <drepper@gmail.com>
44532
44533 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44534 netgroups to read.
960e5535 44535 (innetgr): Likewise.
5d4cf042 44536
751eb97e
RM
445372011-07-05 Roland McGrath <roland@hack.frob.com>
44538
44539 * config.make.in (install_root): Default to $(DESTDIR).
44540
f15f1e45
UD
445412011-07-05 Ulrich Drepper <drepper@gmail.com>
44542
44543 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44544
4e34ac6a
RM
445452011-07-02 Roland McGrath <roland@hack.frob.com>
44546
5e9b6af4
RM
44547 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44548
84f9ea0f
RM
44549 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44550 containing directory rather than embedding absolute directory names.
44551
ea5ee9f7
RM
44552 * scripts/check-local-headers.sh: Rewritten using awk.
44553 Match by word, not by line. Print error messages for matches.
44554 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44555
1b74661a
RM
44556 * Makerules [shlib-lds-flags empty]:
44557 ($(common-objpfx)libc_pic.opts): New target.
44558 ($(common-objpfx)libc_pic.os.clean): New target.
44559 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44560
44561 * config.make.in (OBJCOPY): New variable.
44562 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44563 * configure: Regenerated.
44564
f781ef40
RM
44565 * config.make.in (use-default-link): New variable.
44566 * configure.in (use_default_link): Grok --with-default-link to set it.
44567 * configure: Regenerated.
44568 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44569 (shlib-lds, shlib-lds-flags): Define to empty.
44570
2d4fa81e
RM
44571 * Makerules (shlib-lds): New variable.
44572 (shlib-lds-flags): New variable.
44573 (build-shlib, build-moduile, build-module-asneeded): Use it.
44574 ($(common-objpfx)libc.so): Use $(shlib-lds).
44575 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44576 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44577
31fffa6b
RM
44578 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44579 DT_FLAGS/DT_FLAGS_1 with zero flags.
44580
4e34ac6a
RM
44581 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44582 linker script munging.
44583
fcfc776b
UD
445842011-07-02 Ulrich Drepper <drepper@gmail.com>
44585
44586 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44587 as 128-bit value.
44588 * crypt/sha512.c (sha512_process_block): Perform total addition using
44589 128-bit if possible.
44590 (__sha512_finish_ctx): Likewise.
44591 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44592 as 64-bit value.
44593 * crypt/sha256.c (SWAP64): Define.
44594 (sha256_process_block): Perform total addition using 64-bit if
44595 possible.
44596 (__sha256_finish_ctx): Likewise.
44597
99231d9a
UD
445982011-07-01 Ulrich Drepper <drepper@gmail.com>
44599
44600 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44601 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44602 * nscd/hstcache.c (cache_addhst): Likewise.
44603 * nscd/grpcache.c (cache_addgr): Likewise.
44604 * nscd/aicache.c (addhstaiX): Likewise
44605 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44606
445b4a53
TK
446072011-07-01 Thorsten Kukuk <kukuk@suse.de>
44608
44609 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44610 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44611 * nscd/hstcache.c (cache_addhst): Likewise.
44612 * nscd/grpcache.c (cache_addgr): Likewise.
44613 * nscd/aicache.c (addhstaiX): Likewise
44614
6d4d8e8e
AS
446152011-07-01 Andreas Schwab <schwab@redhat.com>
44616
44617 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44618 domain only when needed.
44619
89f654c5
AS
446202011-06-30 Andreas Schwab <schwab@redhat.com>
44621
44622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44623 is always restored.
44624
cf3b23ff
UD
446252011-06-29 Ulrich Drepper <drepper@gmail.com>
44626
44627 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44628 are re-adding the entry.
44629 * nscd/servicescache.c (cache_addserv): Likewise.
44630
751626f9
AJ
446312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44632
44633 * sysdeps/generic/dl-irel.h: fix protection against multiple
44634 inclusions.
44635 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44636
9113ea1f
UD
446372011-06-28 Ulrich Drepper <drepper@gmail.com>
44638
5c0b8d90
UD
44639 [BZ #12935]
44640 * malloc/memusage.sh: Fix quoting in message.
44641 * debug/xtrace.sh: Likewise.
44642
9113ea1f
UD
44643 * configure.in: Remove support for --experimental-malloc option, make
44644 it the default.
44645 * config.make.in: Likewise.
44646 * malloc/Makefile: Likewise.
44647
a4172181
AS
446482011-06-27 Andreas Schwab <schwab@redhat.com>
44649
44650 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44651 two-byte characters.
44652
78a7eee7
RM
446532011-06-27 Roland McGrath <roland@hack.frob.com>
44654
62bede13
RM
44655 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44656 AC_CACHE_CHECK invocation.
44657 * configure: Regenerated.
44658
78a7eee7
RM
44659 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44660
5ce33a62
UD
446612011-06-27 Ulrich Drepper <drepper@gmail.com>
44662
034807a9
UD
44663 [BZ #12350]
44664 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44665 bit from old_res_options.
44666
4902da17
UD
44667 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44668
5ce33a62
UD
44669 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44670 value type for setfct.
44671
c2344f56
L
446722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44673
44674 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44675 __gettimeofday instead of gettimeofday.
44676
68468076
UD
446772011-06-26 Ulrich Drepper <drepper@gmail.com>
44678
44679 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44680
acb0d739
L
446812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44682
44683 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44684
44685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44686 info.
44687
8912479f
L
446882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44689
44690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44691 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44692 strcpy-sse2-unaligned strncpy-sse2-unaligned
44693 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44694 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44695 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44696 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44697 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44698 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44699 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44700 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44701 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44702 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44703 (STRCPY): Support SSE2 and SSSE3 versions.
44704
d5495a11
UD
447052011-06-24 Ulrich Drepper <drepper@gmail.com>
44706
44707 [BZ #12874]
44708 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44709 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44710 kernels which artificially limit size of requests.
44711
0b1cbaae
L
447122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44713
44714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44715 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44716 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44717 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44718 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44719 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44720 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44721 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44722 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44724 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44725 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44726 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44727 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44728 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44730 Enable unaligned load optimization for Intel Core i3, i5 and i7
44731 processors.
44732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44733 Define.
44734 (index_Fast_Unaligned_Load): Define.
44735 (HAS_FAST_UNALIGNED_LOAD): Define.
44736
07f494a0
MP
447372011-06-23 Marek Polacek <mpolacek@redhat.com>
44738
44739 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44740
fa3fc0fe
UD
447412011-06-22 Ulrich Drepper <drepper@gmail.com>
44742
44743 [BZ #12907]
44744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44745 until it is clear that the information is realy needed.
44746 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44747
e12df166
AS
447482011-06-22 Andreas Schwab <schwab@redhat.com>
44749
44750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44751
852eb34d
UD
447522011-06-22 Ulrich Drepper <drepper@gmail.com>
44753
84e2a551
UD
44754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44755 /sys/devices/system/cpu/online if it is usable.
44756
852eb34d
UD
44757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44758 reading the information from the /proc filesystem to once a second.
44759
6e502e19
UD
447602011-06-21 Andreas Jaeger <aj@suse.de>
44761
44762 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44763 NULL after inclusion of kernel headers.
44764
75d39ff2
UD
447652011-06-21 Ulrich Drepper <drepper@gmail.com>
44766
51f9aa6a
UD
44767 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44768 calls to internal_setent.
44769
c0244a9d
UD
44770 [BZ #12885]
44771 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44772 addresses using gethostbyname4_r ignore IPv4 addresses.
44773
c5e3c2ae
UD
44774 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44775 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44776
75d39ff2
UD
44777 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44778
42675c6f
DM
447792011-06-20 David S. Miller <davem@davemloft.net>
44780
44781 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44782 inclusions.
44783 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44784
44785 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44786 (elf_irel): Use it.
44787 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44788 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44789 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44790 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44791 * sysdeps/x86_64/dl-irel.h: Likewise.
44792
44793 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44794 * elf/dl-sym.c: Likewise.
44795
57912a71
UD
447962011-06-15 Ulrich Drepper <drepper@gmail.com>
44797
44798 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44799 need to dereference resplen2.
44800
ee22793d
AS
448012011-06-14 Andreas Schwab <schwab@redhat.com>
44802
44803 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44804
a9e836b0
UD
448052011-06-15 Ulrich Drepper <drepper@gmail.com>
44806
77fb9117
UD
44807 * Makeconfig: Define vardbdir and inst_vardbdir.
44808 * nss/Makefile: Add rules to install db-Makefile.
44809
40c1b22c
UD
44810 * nss/nss_db/db-XXX.c: Cleanup.
44811
9f2da732
UD
44812 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44813 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44814 GLIBC_PRIVATE.
44815 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44816 * nss/makedb.c: Implement -g option to specify that value strings
44817 are generated and should not be added to table iterated over for
44818 get*ent calls.
44819 * nss/nss_db/db-initgroups.c: New file.
44820
82e9a1f7
UD
44821 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44822 interface.
44823
c41af17e
UD
44824 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44825 (internal_getgrouplist): Adjust to name change.
44826 Update use_initgroups_entry if this is not the first call.
44827 * nss/databases.def: Add initgroups entry.
44828
a9e836b0
UD
44829 * nss/makedb.c (compute_tables): Check result of multiple hash table
44830 sizes to minimize maximum chain length.
44831
2666d441
UD
448322011-06-14 Ulrich Drepper <drepper@gmail.com>
44833
44834 * Versions.def: Add entry for libnss_db.
44835 * shlib-versions: Likewise.
44836 * nss/Makefile: Add rules to build libnss_db.
44837 * nss/Versions: Add libnss_db information. Organize libnss_files
44838 entries better.
44839 * nss/db-Makefile: Add gshadow support. Change rules for the new
44840 makedb progra. Some minor improvements to generate smaller files.
44841 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44842 here from...
44843 * nss/makedb.c: ...here.
44844 Improve database format to be smaller and require less memory at
44845 runtime.
44846 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44847 db anymore.
44848 * nss/nss_db/db-netgrp.c: Likewise.
44849 * nss/nss_db/db-open.c: Likewise.
44850 * nss/nss_files/flies-XXX.x: Adjust comments.
44851 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44852 * nss/nss_files/files-grp.c: Likewise.
44853 * nss/nss_files/files-hosts.c: Likewise.
44854 * nss/nss_files/files-network.c: Likewise.
44855 * nss/nss_files/files-proto.c: Likewise.
44856 * nss/nss_files/files-pwd.c: Likewise.
44857 * nss/nss_files/files-rpc.c: Likewise.
44858 * nss/nss_files/files-service.c: Likewise.
44859 * nss/nss_files/files-sgrp.c: Likewise.
44860 * nss/nss_files/files-spwd.c: Likewise.
44861 * nss/nss_db/db-alias.c: Removed.
44862 * nss/nss_db/dummy-db.h: Removed.
44863
9ee76b5a
UD
448642011-06-02 Ulrich Drepper <drepper@gmail.com>
44865
44866 * nss/makedb.c: Rewritten to not use database library.
44867 * nss/Makefile: Update to build new makedb program.
44868
c71ca1f8
AJ
448692011-06-14 Andreas Jaeger <aj@suse.de>
44870
44871 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44872 memset declaration.
44873
3154bfb8
UD
448742011-06-10 Andreas Schwab <schwab@redhat.com>
44875
44876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44877 tmpbuf.
44878
b350afab
RM
448792011-06-10 Roland McGrath <roland@hack.frob.com>
44880
decd4e50
RM
44881 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44882 * elf/Makefile ($(objpfx)ld.so): Likewise.
44883
5615eaf2
RM
44884 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44885 Don't list ld.so twice in dependencies.
44886
44887 * posix/bug-regex31.c: Include <stdlib.h>.
44888
44889 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44890
44891 * nis/nss_compat/compat-spwd.c
44892 (getspent_next_nss_netgr): Remove unused variable.
44893 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44894
44895 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44896 nonmembers" output to use the right array.
44897
44898 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44899
44900 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44901
44902 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44903 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44904 * catgets/gencat.c (read_input_file): Likewise.
44905 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44906
44907 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44908 variable definition inside #if's controlling its use.
44909
44910 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44911
44912 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44913
44914 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44915
44916 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44917 unreachable code.
44918
44919 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44920
b68e08db
RM
44921 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44922 * configure: Regenerated.
44923
b350afab
RM
44924 * Makerules: Revert last change.
44925 * elf/Makefile: Likewise.
44926
28368601
RM
449272011-06-09 Roland McGrath <roland@hack.frob.com>
44928
44929 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44930 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44931 (reloc-link): Likewise.
44932
11988f8f
UD
449332011-06-09 Ulrich Drepper <drepper@gmail.com>
44934
44935 * elf/Makefile: Add rules to build pldd.
44936 * elf/pldd.c: New file.
44937 * elf/pldd-xx.c: New file.
44938
e80fab37
UD
449392011-06-07 Ulrich Drepper <drepper@gmail.com>
44940
44941 * version.h: Update for 2.15 development version.
44942
9b849836
DM
449432011-06-07 David S. Miller <davem@davemloft.net>
44944
44945 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44946 ifuncs.
44947 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44948 elf_machine_lazy_rel): Likewise.
44949 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44950 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44951 elf_machine_lazy_rel): Likewise.
44952 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44953 dl_hwcap via passed in argument.
44954 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44955 Likewise.
44956
5a31b283
AK
449572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44958
44959 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44960
069e52f8
RM
449612011-06-06 Roland McGrath <roland@hack.frob.com>
44962
44963 [BZ #12849]
44964 * manual/fdl-1.1.texi: New file, verbatim from:
44965 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44966 * manual/lgpl-2.1.texi: New file, verbatim from:
44967 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44968 * manual/Makefile (licenses): New variable, list those new file names.
44969 (texis): Use it.
44970 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44971
44972 * manual/fdl.texi: File removed.
44973 * manual/lesser.texi: File removed.
44974 * manual/libc.texinfo (Copying, Documentation License):
44975 Use new @include file names, put @appendix directive before @include.
44976
f16846a5
JJ
449772011-06-04 Jakub Jelinek <jakub@redhat.com>
44978
44979 [BZ #12841]
44980 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44981 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44982 (mq_open): Add __NTH.
44983
3d29045b
L
449842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44985
44986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44987 Assume Intel Core i3/i5/i7 processor if AVX is available.
44988
8c297311
UD
449892011-05-31 Ulrich Drepper <drepper@gmail.com>
44990
44991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44992 typo.
44993
c8fc0c91
UD
449942011-05-31 Andreas Schwab <schwab@redhat.com>
44995
44996 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44997 memory. Use alloca_account. Fix memory leak when retrying.
44998
5b27a807
UD
449992011-05-31 Ulrich Drepper <drepper@gmail.com>
45000
356f8bc6
UD
45001 * version.h (RELEASE): Bump for 2.14 release.
45002 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45003
5b27a807
UD
45004 * config.make.in (RANLIB): Remove entry.
45005
01f16ab0
UD
450062011-05-30 Ulrich Drepper <drepper@gmail.com>
45007
41fce8bd
UD
45008 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45009 (libc.pot): Work around missing support for .ksh extension in xgettext.
45010
4769ae77
UD
45011 [BZ #12684]
45012 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45013 if both request failed.
45014 (send_dg): In case of server errors clear resplen or *resplen2.
45015
6b1e7d19
UD
45016 [BZ #12454]
45017 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45018 when there are multiple maps.
45019 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45020 (_dl_fini): Remove test here.
45021
01f16ab0
UD
45022 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45023
b1ebd700
UD
450242011-05-29 Ulrich Drepper <drepper@gmail.com>
45025
7ae22829
UD
45026 [BZ #12350]
45027 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45028 bit from old_res_options.
45029 (gaih_inet): Likewise.
45030
553149f6 45031 [BZ #11099]
18a84741 45032 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
45033 as signed.
45034
652ffab1
UD
45035 * resolv/res_init.c (res_setoptions): Make the code more compact.
45036
16985fd0
UD
45037 [BZ #11558]
45038 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45039 set RES_USEVC.
45040
0464f746
UD
45041 [BZ #11634]
45042 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45043
7d17596c
UD
45044 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45045
cf6bbbd7
UD
45046 [BZ #11781]
45047 * malloc/malloc.h: Declare malloc hook variables as volatile.
45048
13f1ab36
UD
45049 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45050 in last patch.
45051
b1ebd700
UD
45052 [BZ #11799]
45053 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 45054 raise in the comment.
80e2212d
UD
45055 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45056 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45057 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 45058
ce67228d
UD
450592011-05-28 Ulrich Drepper <drepper@gmail.com>
45060
8887a920
UD
45061 [BZ #12811]
45062 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45063 grow the buffers more if it already has to be sufficient.
45064 (build_wcs_upper_buffer): Likewise.
45065 * posix/regexec.c (check_matching): Likewise.
45066 (clean_state_log_if_needed): Likewise.
45067 (extend_buffers): Don't enlarge buffers beyond size of the input
45068 buffer.
45069 Patches mostly by Emil Wojak <emil@wojak.eu>.
45070 * posix/bug-regex32.c: New file.
45071 * posix/Makefile (tests): Add bug-regex32.
45072
4f031072
UD
45073 * locale/findlocale.c (_nl_find_locale): Return right away if
45074 _nl_explode_name failed.
45075 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45076
d0478f0c
UD
45077 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45078
de81b246
UD
45079 * debug/xtrace.sh: Unify messages.
45080 * malloc/memusage.sh: Likewise.
45081
c738465a
UD
45082 [BZ #12813]
45083 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45084 time symbol from vDSO. Substitute with vsyscall if not available.
45085 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45086 __vdso_time.
45087
f1f929d7
UD
45088 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45089 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45090 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45091 Add sendmmsg and internal_sendmmsg.
45092 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45093 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45094 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45095
ce67228d
UD
45096 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45097 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45098 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45099
e57420c6
UD
451002011-05-27 Ulrich Drepper <drepper@gmail.com>
45101
a8509ca5
UD
45102 [BZ #12813]
45103 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45104 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45105 available.
45106 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45107 __vdso_getcpu.
45108
e57420c6
UD
45109 [BZ #12814]
45110 * iconvdata/Makefile (tests): Add bug-iconv9.
45111 * iconvdata/bug-iconv9.c: New file.
45112
4d07db15
AS
451132011-05-27 Andreas Schwab <schwab@redhat.com>
45114
45115 [BZ #12814]
45116 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45117
ea486f69
JJ
451182011-05-25 Jakub Jelinek <jakub@redhat.com>
45119
45120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45121 (struct user_regs_struct): Change intcs field back to cs.
45122
6f038433
UD
451232011-05-25 Ulrich Drepper <drepper@gmail.com>
45124
45125 * po/ja.po: Update from translation team.
45126
67f86a25
UD
451272011-05-23 Ulrich Drepper <drepper@gmail.com>
45128
45129 [BZ #12795]
45130 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45131 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45132
def7fbd6
AS
451332011-05-20 Andreas Schwab <schwab@redhat.com>
45134
45135 * stdlib/longlong.h: Update from GCC.
45136
f50ef8f1
AS
451372011-05-23 Andreas Schwab <schwab@redhat.com>
45138
45139 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45140 parameter name.
45141 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45142 Add parameter name.
45143 (__sysconf): Pass it down.
45144
de7ce8f1
UD
451452011-05-22 Ulrich Drepper <drepper@gmail.com>
45146
f2962a71
UD
45147 [BZ #12671]
45148 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45149 some situations.
45150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45151 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45152 add in in __libc_use_alloca calls. Adjust callers.
45153 (glob): Use malloc in some situations.
45154
de7ce8f1
UD
45155 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45156 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45157 pltexit.
45158
aec84f53
UD
451592011-05-21 Ulrich Drepper <drepper@gmail.com>
45160
05bb4a68
UD
45161 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45162 and CLOCK_BOOTTIME_ALARM.
45163
7ea72f99
UD
45164 [BZ #12782]
45165 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45166 is returned.
45167
7e4afad5
UD
45168 * string/_strerror.c (__strerror_r): Print negative errors as signed
45169 numbers.
45170
8e211fec
UD
45171 [BZ #12777]
45172 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45173 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45174 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45175
f7d82dc9
UD
45176 * configure.in: Fix typo in redirection and correct removal of test
45177 files in two cases.
45178
cc9e536d
UD
45179 [BZ #12788]
45180 * locale/setlocale.c (new_composite_name): Fix test to check for
45181 identical name of all categories.
45182
aec84f53
UD
45183 [BZ #12792]
45184 * libio/filedoalloc.c (local_isatty): New function.
45185 (_IO_file_doallocate): Use local_isatty.
45186 * stdio-common/perror.c (perror): In case a new stream is used
45187 forward the stream error.
45188 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45189 error flag.
45190
78e64fdc
RT
451912011-05-20 Ulrich Drepper <drepper@gmail.com>
45192
34a9094f
UD
45193 [BZ #11869]
45194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45195 alloca.
45196 * include/alloca.h (extend_alloca_account): Define.
45197
78e64fdc
RT
45198 [BZ #11857]
45199 * posix/regex.h: Fix comments with documentation of user-accessible
45200 fields after compilation and describe correct free'ing of pattern
45201 after re_compile_pattern.
45202 Patch by Reuben Thomas <rrt@sc3d.org>.
45203
457bddfc
RA
452042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45205
45206 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45207 and -mno-altivec to prevent the compiler from using Altivec and/or
45208 VSX instructions when the corresponding registers are not available.
45209
a4527b51
AS
452102011-05-19 Andreas Schwab <schwab@redhat.com>
45211
45212 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45213
ed690b2f
UD
452142011-05-19 Ulrich Drepper <drepper@gmail.com>
45215
45216 * libio/freopen.c (freopen): Use __dup2, not dup2.
45217 * libio/freopen64.c (freopen64): Likewise.
45218
8db73634
L
452192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45220
45221 [BZ #12775]
45222 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45223 * math/Makefile (tests): Add test-powl.
45224 (CFLAGS-test-powl.c): Define.
45225 * math/test-powl.c: New file.
45226
0a197a9d
L
452272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45228
45229 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45230
ee30c380
UD
452312011-05-17 Ulrich Drepper <drepper@gmail.com>
45232
45233 [BZ #11837]
45234 * iconvdata/gb18030.c: Update to GB18020-2005.
45235
6ce75379
UD
452362011-05-16 Ulrich Drepper <drepper@gmail.com>
45237
a4b89fd8
AR
45238 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45239 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45240 Patch by Aharon Robbins <arnold@skeeve.com>.
45241
ea389b12
UD
45242 [BZ #11892]
45243 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45244 on the stack.
45245
68a3f91f
UD
45246 [BZ #11895]
45247 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45248 through underflows.
45249
15cc7dd1
UD
45250 [BZ #12766]
45251 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45252 point to strings before performing equality test for error_one_per_line
45253 mode.
45254
f3799213
UD
45255 [BZ #11697]
45256 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45257
d79a9c94
UD
45258 [BZ #11820]
45259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45260 (struct user_fpregs_struct): Avoid __uint*_t types.
45261
56e5eb46
UD
45262 [BZ #6420]
45263 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45264 symbol info. Use it instead of calling _dl_addr locally.
45265 (lock_and_info): New function.
45266 (tr_freehook): Call lock_and_info and pass symbol info as additional
45267 parameter to tr_where.
45268 (tr_mallochook): Likewise.
45269 (tr_reallochook): Likewise.
45270 (tr_memalignhook): Likewise.
45271
6ce75379
UD
45272 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45273 used and couldn't be at all thread-safe.
45274
f8a3b5bf
UD
452752011-05-15 Ulrich Drepper <drepper@gmail.com>
45276
94b7cc37
UD
45277 * libio/freopen.c (freopen): Don't close old file descriptor
45278 before the new one is opened. Instead dup the new file descriptor
45279 to the old one after the new stream is created.
45280 * libio/freopen64.c (freopen64): Likewise.
45281 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45282 * libio/fileops.c (_IO_new_file_close_it): Handle new
45283 _IO_FLAGS2_NOCLOSE flag.
45284 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45285 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45286 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45287 _IO_FLAGS2_NOCLOSE flag.
45288 * include/unistd.h: Add hidden_proto for dup3.
45289 Define __have_dup3.
45290 * io/dup3.c: Define hidden symbol.
45291 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45292
bd25564e
UD
45293 [BZ #7101]
45294 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45295 when an incomplete long option is used.
45296 * posix/tst-getopt_long1.c: New file.
45297 * posix/Makefile (tests): Add tst-getopt_long1.
45298
c84cfef4
UD
45299 [BZ #10138]
45300 * scripts/config.guess: Update from autoconf-2.68.
45301 * scripts/config.sub: Likewise.
45302
3b85df27
UD
45303 [BZ #10157]
45304 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45305 tests into ...
45306 (has_cpuclock): ...this. New function.
45307 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45308 macro here based on has_cpuclock code.
45309
15a856b1
UD
45310 [BZ #10149]
45311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45312 First byte (not low byte) is now always NUL.
45313 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45314
05f399e6
UD
45315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45316 Use non-cancelable interfaces.
45317
10a52685 45318 [BZ #9809]
94ecc67d
UD
45319 * locale/iso-639.def: Add entry for Sorani.
45320
f8a3b5bf
UD
45321 [BZ #11901]
45322 * include/stdlib.h: Move include protection to the right place.
45323 Define abort_msg_s. Declare __abort_msg with it.
45324 * stdlib/abort.c (__abort_msg): Adjust type.
45325 * assert/assert.c (__assert_fail_base): New function. Majority
45326 of code from __assert_fail. Allocate memory for __abort_msg with
45327 mmap.
45328 (__assert_fail): Now call __assert_fail_base.
45329 * assert/assert-perr.c: Remove bulk of implementation. Use
45330 __assert_fail_base.
45331 * include/assert.hL Declare __assert_fail_base.
45332 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45333 mmap.
45334 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45335
1af4e298
UD
453362011-05-14 Ulrich Drepper <drepper@gmail.com>
45337
f8a3b5bf 45338 [BZ #11952]
d26dfc60
MG
45339 [BZ #12453]
45340 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45341 until all modules are registered in the DTV.
45342 * elf/Makefile: Add rules to build and run tst-tls19.
45343 * elf/tst-tls19.c: New file.
45344 * elf/tst-tls19mod1.c: New file.
45345 * elf/tst-tls19mod2.c: New file.
45346 * elf/tst-tls19mod3.c: New file.
45347 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45348
2fc54d6f
UD
45349 [BZ #12083]
45350 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45351 correctly.
45352
98d76b46
UD
45353 [BZ #12601]
45354 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45355 two-byte sequence errors.
45356 * iconvdata/Makefile (tests): Add bug-iconv8.
45357 * iconvdata/bug-iconv8.c: New file.
45358
da3c19ef
UD
45359 [BZ #12626]
45360 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45361 buf2 definition.
45362
ca408c15
UD
45363 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45364
d6f67f7d
UD
45365 [BZ #12432]
45366 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45367 (dummy_getcfa): New function.
45368 (init): Get _Unwind_GetCFA address, use dummy if not found.
45369 (backtrace_helper): In recursion check, also check whether CFA changes.
45370 (__backtrace): Completely initialize arg.
45371
1af4e298 45372 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
45373 storing incomplete byte sequence in state object. Avoid testing for
45374 guaranteed too small input if we know there is enough data available.
1af4e298 45375
da62f81b
AS
453762011-05-11 Andreas Schwab <schwab@redhat.com>
45377
45378 * Makeconfig (+link-pie): Indent.
45379 * Rules (binaries-pie): Define if $(have-fpie) and
45380 $(build-shared).
45381 (binaries-shared): Also filter out $(binaries-pie).
45382 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45383 * nscd/Makefile (others-pie): Add nscd.
45384 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45385 ($(objpfx)nscd): Remove command override.
45386 * login/Makefile (others-pie): Add pt_chown.
45387 ($(objpfx)pt_chown): Remove command override.
45388 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45389 remove command overrides.
45390
fcabc0f8
UD
453912011-05-13 Ulrich Drepper <drepper@gmail.com>
45392
20030ae6
UD
45393 * libio/tst_putwc.c: Fix error messages.
45394
fcabc0f8
UD
45395 [BZ #12724]
45396 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45397 currently writing and seek to current position when not.
45398 * libio/Makefile (tests): Add bug-fclose1.
45399 * libio/bug-fclose1.c: New file.
45400
320a5dc0
PB
454012011-05-12 Ulrich Drepper <drepper@gmail.com>
45402
45403 [BZ #12511]
45404 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45405 don't set DF_1_NODELETE here.
45406 (do_lookup_x): When entering new entry test for copy relocation
45407 and if necessary set DF_1_NODELETE flag.
45408 * elf/tst-unique4.cc: New file.
45409 * elf/tst-unique4.h: New file.
45410 * elf/tst-unique4lib.cc: New file.
45411 * elf/Makefile: Add rules to build and run tst-unique4.
45412 Patch by Piotr Bury <pbury@goahead.com>.
45413
22836f52
UD
454142011-05-11 Ulrich Drepper <drepper@gmail.com>
45415
f574184a
UD
45416 [BZ #12052]
45417 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45418
e1fb097f
UD
45419 [BZ #12625]
45420 * misc/mntent_r.c (addmntent): Flush the stream after the output
45421
22836f52
UD
45422 [BZ #12393]
45423 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45424 (is_trusted_path_normalize): Skip initial colon. Append slash
45425 to empty buffer. Duplicate is_trusted_path code but allow
45426 constructed patch to be prefix.
45427 (is_dst): Allow $ORIGIN followed by /.
45428 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45429 Correct testing of result of is_trusted_path_normalize
45430 (decompose_rpath): Fix warning.
45431
7b3b0b2a
UD
454322011-05-10 Ulrich Drepper <drepper@gmail.com>
45433
45434 [BZ #11257]
45435 * grp/initgroups.c (internal_getgrouplist): When we found the service
45436 list through the initgroups entry in nsswitch.conf do not always
45437 continue on a successful lookup. Don't always use the
eac80ce2 45438 __nss_group_database value if it is set.
7b3b0b2a
UD
45439 * nss/nsswitch.conf (initgroups): Change action for successful db
45440 lookup to continue for compatibility.
45441
2a81eaa5
UD
454422011-05-09 Ulrich Drepper <drepper@gmail.com>
45443
be97a69e
UD
45444 [BZ #11532]
45445 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45446 and CP774 modules.
45447 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45448 and CP774 modules.
45449 * iconvdata/tst-tables.sh: Likewise.
45450 * iconvdata/cp770.c: New file.
45451 * iconvdata/cp771.c: New file.
45452 * iconvdata/cp772.c: New file.
45453 * iconvdata/cp773.c: New file.
45454 * iconvdata/cp774.c: New file.
45455 * iconvdata/testdata/CP770: New file.
45456 * iconvdata/testdata/CP770..UTF8: New file.
45457 * iconvdata/testdata/CP771: New file.
45458 * iconvdata/testdata/CP771..UTF8: New file.
45459 * iconvdata/testdata/CP772: New file.
45460 * iconvdata/testdata/CP772..UTF8: New file.
45461 * iconvdata/testdata/CP773: New file.
45462 * iconvdata/testdata/CP773..UTF8: New file.
45463 * iconvdata/testdata/CP774: New file.
45464 * iconvdata/testdata/CP774..UTF8: New file.
45465
45466 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45467 END CHARMAP line.
45468 * iconvdata/gen-8bit-gap.sh: Likewise.
45469 * iconvdata/gen-8bit.sh: Likewise.
45470
c1e9e399
UD
45471 * locale/iso-639.def: Add ary entry.
45472
24c55fb3 45473 [BZ #11258]
96b4b1b0
UD
45474 * locale/C-translit.h.in: Add U20A1 transliteration.
45475
bdc2f971
KB
45476 [BZ #12178]
45477 * locale/iso-639.def: Add wae entry.
45478 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45479
2952b117
UD
45480 [BZ #12545]
45481 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45482 for n.
45483
2a81eaa5
UD
45484 [BZ #12711]
45485 * locale/C-translit.h.in: Add entry for U20B9.
45486 Patch by pravin.d.s@gmail.com.
45487
28377d1b
UD
454882011-05-08 Ulrich Drepper <drepper@gmail.com>
45489
7fb90fb8
UD
45490 [BZ #12713]
45491 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45492 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
45493 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45494 in rtld. Use *stat64.
7fb90fb8 45495 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 45496 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 45497 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
45498 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45499 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45500 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45501 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45502 __fstatat64 macros.
7fb90fb8
UD
45503 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45504 * dirent/rewinddir.c: Add libc_hidden_def.
45505 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 45506 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 45507
28377d1b
UD
45508 * include/dirent.h (__alloc_dir): Add flags parameter.
45509 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45510 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45511 __alloc_dir.
45512 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45513 from fdopendir if O_CLOEXEC is already set.
45514
66bdbaa4
AM
455152011-03-15 Alan Modra <amodra@gmail.com>
45516
45517 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45518 l_tls_firstbyte_offset non-zero. Save padding offset in
45519 l_tls_firstbyte_offset for later use.
45520 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45521 freeing static tls block.
45522
95721191
JN
455232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45524
45525 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45526 where #ifdef was intended. The intent is to prevent ARG_MAX from
45527 being defined by the kernel headers.
45528
f87dfb1f
UD
455292011-05-07 Ulrich Drepper <drepper@gmail.com>
45530
45531 [BZ #12734]
45532 * resolv/resolv.h: Define RES_NOTLDQUERY.
45533 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45534 no-tld-query and set RES_NOTLDQUERY.
45535 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45536 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45537 modern BIND to search name as TLD unless forbidden.
45538
47c3cd7a
UD
455392011-05-07 Petr Baudis <pasky@suse.cz>
45540 Ulrich Drepper <drepper@gmail.com>
45541
45542 [BZ #12393]
45543 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45544 (is_trusted_path): ...to here.
c1e9ea35 45545 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 45546 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 45547 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 45548
8a35c912
PP
455492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45550
45551 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45552 __BEGIN/__END_DECLS.
45553
acd41f47
UD
455542011-05-06 Ulrich Drepper <drepper@gmail.com>
45555
45556 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45557 NSS_STATUS_NOTFOUND if no record was found.
45558
597df647
AS
455592011-05-05 Andreas Schwab <schwab@redhat.com>
45560
45561 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45562 (headers-not-in-tirpc): Remove rpc/netdb.h
45563 * resolv/netdb.h: Revert last change.
45564
b9af1301
PP
455652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45566
45567 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45568 circular dependency between libgcc.a and libc.a.
45569
4e34d5f5
AS
455702011-05-05 Andreas Schwab <schwab@redhat.com>
45571
45572 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45573 * nis/Makefile: Don't install rpcsvc/*.
45574 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45575 instead of <rpc/types.h>.
45576 (MAXHOSTNAMELEN): Define.
45577
00ee369c
AS
455782011-05-03 Andreas Schwab <schwab@redhat.com>
45579
45580 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45581
0b592a30
MB
455822011-04-28 Maciej Babinski <mbabinski@google.com>
45583
45584 [BZ #12714]
45585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45586 gethostbyname4_r when IPv6 results are possible.
45587
6e04cbbe
UD
455882011-05-02 Ulrich Drepper <drepper@gmail.com>
45589
45590 [BZ #12723]
45591 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45592 _PC_PIPE_BUF handling.
45593
e4ecafe0
BH
455942011-04-30 Bruno Haible <bruno@clisp.org>
45595
45596 [BZ #12717]
45597 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45598 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45599 to 'int'.
45600 * inet/getnameinfo.c (getnameinfo): Likewise.
45601
125ee683
UD
456022011-04-29 Ulrich Drepper <drepper@gmail.com>
45603
45604 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45605 to groups setting in database lookup.
45606 * nss/nsswitch.conf: Add initgroups entry.
45607
b722481a
EB
456082011-04-22 Ulrich Drepper <drepper@gmail.com>
45609
45610 [BZ #12685]
45611 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45612 mode string.
45613 Patch by Eric Blake <eblake@redhat.com>.
45614
4df46dbd
L
456152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45616
45617 * sunrpc/Makefile (need-export-routines): Add svc_run.
45618 (routines): Remove svc_run.
45619 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45620 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45621 * sunrpc/svc_run.c (svc_run): Likewise.
45622 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45623
e84142d2
UD
456242011-04-21 Ulrich Drepper <drepper@gmail.com>
45625
45626 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45627 problem in reallocation in last patch.
45628
877175d8
UD
456292011-04-20 Ulrich Drepper <drepper@gmail.com>
45630
45631 * sunrpc/Makefile: Move inclusion of Rules.
45632
ab8eed78
UD
456332011-04-19 Ulrich Drepper <drepper@gmail.com>
45634
45635 * nss/nss_files/files-initgroups.c: New file.
45636 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45637 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45638 _nss_files_initgroups_dyn.
45639
e3d8f584
RS
456402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45641
45642 * elf/elf.h (R_ARM_IRELATIVE): Define.
45643
af190f45
UD
456442011-04-19 Ulrich Drepper <drepper@gmail.com>
45645
45646 * po/ru.po: Update from translation team.
45647
53cf59ef
UD
456482011-04-17 Ulrich Drepper <drepper@gmail.com>
45649
45650 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45651 dependencies.
45652
4c559bcd
MF
456532011-02-06 Mike Frysinger <vapier@gentoo.org>
45654
45655 [BZ #12653]
45656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45657 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45659 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45661
4420675c
AS
456622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45663
45664 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45665 differing bytes.
45666 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45667 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45668 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45669
75ea32ab
UD
456702011-04-17 Ulrich Drepper <drepper@gmail.com>
45671
45672 [BZ #12420]
45673 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45674 storing it.
45675 * stdlib/bug-getcontext.c: New file.
45676 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45677
27390476
AK
456782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45679
45680 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45681 instructions into .machine "z9-109".
45682 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45683 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45684
10442705
AK
456852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45686
45687 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45688 between environment variables and auxiliary vector.
45689
7b57bfe5
UD
456902011-04-16 Ulrich Drepper <drepper@gmail.com>
45691
45692 * Makefile: Add rules to build linkobj/libc.so.
45693 * include/libc-symbols.h: Define libc_hidden_nolink.
45694 * include/rpc/auth.h: Mark functions which are to be hidden.
45695 * include/rpc/auth_des.h: Likewise.
45696 * include/rpc/auth_unix.h: Likewise.
45697 * include/rpc/clnt.h: Likewise.
45698 * include/rpc/des_crypt.h: Likewise.
45699 * include/rpc/key_prot.h: Likewise.
45700 * include/rpc/pmap_clnt.h: Likewise.
45701 * include/rpc/pmap_prot.h: Likewise.
45702 * include/rpc/pmap_rmt.h: Likewise.
45703 * include/rpc/rpc_msg.h: Likewise.
45704 * include/rpc/svc.h: Likewise.
45705 * include/rpc/svc_auth.h: Likewise.
45706 * include/rpc/xdr.h: Likewise.
45707 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45708 * nss/Makefile: Likewise.
45709 * sunrpc/Makefile: Don't install headers. Build library with normal
45710 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45711 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45712 for the compat linking library. Remove use of INTDEF/INTUSE.
45713 * sunrpc/auth_none.c: Likewise.
45714 * sunrpc/auth_unix.c: Likewise.
45715 * sunrpc/authdes_prot.c: Likewise.
45716 * sunrpc/authuxprot.c: Likewise.
45717 * sunrpc/clnt_gen.c: Likewise.
45718 * sunrpc/clnt_perr.c: Likewise.
45719 * sunrpc/clnt_raw.c: Likewise.
45720 * sunrpc/clnt_simp.c: Likewise.
45721 * sunrpc/clnt_tcp.c: Likewise.
45722 * sunrpc/clnt_udp.c: Likewise.
45723 * sunrpc/clnt_unix.c: Likewise.
45724 * sunrpc/des_crypt.c: Likewise.
45725 * sunrpc/des_soft.c: Likewise.
45726 * sunrpc/get_myaddr.c: Likewise.
45727 * sunrpc/key_call.c: Likewise.
45728 * sunrpc/key_prot.c: Likewise.
45729 * sunrpc/netname.c: Likewise.
45730 * sunrpc/pm_getmaps.c: Likewise.
45731 * sunrpc/pm_getport.c: Likewise.
45732 * sunrpc/pmap_clnt.c: Likewise.
45733 * sunrpc/pmap_prot.c: Likewise.
45734 * sunrpc/pmap_prot2.c: Likewise.
45735 * sunrpc/pmap_rmt.c: Likewise.
45736 * sunrpc/publickey.c: Likewise.
45737 * sunrpc/rpc_cmsg.c: Likewise.
45738 * sunrpc/rpc_common.c: Likewise.
45739 * sunrpc/rpc_dtable.c: Likewise.
45740 * sunrpc/rpc_prot.c: Likewise.
45741 * sunrpc/rpc_thread.c: Likewise.
45742 * sunrpc/rtime.c: Likewise.
45743 * sunrpc/svc.c: Likewise.
45744 * sunrpc/svc_auth.c: Likewise.
45745 * sunrpc/svc_authux.c: Likewise.
45746 * sunrpc/svc_raw.c: Likewise.
45747 * sunrpc/svc_run.c: Likewise.
45748 * sunrpc/svc_simple.c: Likewise.
45749 * sunrpc/svc_tcp.c: Likewise.
45750 * sunrpc/svc_udp.c: Likewise.
45751 * sunrpc/svc_unix.c: Likewise.
45752 * sunrpc/svcauth_des.c: Likewise.
45753 * sunrpc/xcrypt.c: Likewise.
45754 * sunrpc/xdr.c: Likewise.
45755 * sunrpc/xdr_array.c: Likewise.
45756 * sunrpc/xdr_float.c: Likewise.
45757 * sunrpc/xdr_intXX_t.c: Likewise.
45758 * sunrpc/xdr_mem.c: Likewise.
45759 * sunrpc/xdr_rec.c: Likewise.
45760 * sunrpc/xdr_ref.c: Likewise.
45761 * sunrpc/xdr_sizeof.c: Likewise.
45762 * sunrpc/xdr_stdio.c: Likewise.
45763
e6c61494
UD
457642011-04-10 Ulrich Drepper <drepper@gmail.com>
45765
45766 [BZ #12650]
45767 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45768 * sysdeps/ia64/dl-tls.h: Likewise.
45769 * sysdeps/powerpc/dl-tls.h: Likewise.
45770 * sysdeps/s390/dl-tls.h: Likewise.
45771 * sysdeps/sh/dl-tls.h: Likewise.
45772 * sysdeps/sparc/dl-tls.h: Likewise.
45773 * sysdeps/x86_64/dl-tls.h: Likewise.
45774 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45775
34fe483e
AS
457762011-03-14 Andreas Schwab <schwab@redhat.com>
45777
45778 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45779 rpath element also skip the following colon.
45780 (expand_dynamic_string_token): Add is_path parameter and pass
45781 down to DL_DST_REQUIRED and _dl_dst_substitute.
45782 (decompose_rpath): Call expand_dynamic_string_token with
45783 non-zero is_path. Ignore empty rpaths.
45784 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45785 with zero is_path.
45786
f12a32e6
AS
457872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45788
45789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45790 Make cancelable.
45791
38a7d692
UD
457922011-04-09 Ulrich Drepper <drepper@gmail.com>
45793
45794 [BZ #12655]
45795 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45796 Patch by Filipe David Manana <fdmanana@apache.org>.
45797
e451d22b
AS
457982011-04-07 Andreas Schwab <schwab@redhat.com>
45799
45800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45801 Maintain aligned stack.
45802 (CHECK_RSP): Remove unused macro.
45803
dedc7c7b
UD
458042011-04-03 Ulrich Drepper <drepper@gmail.com>
45805
45806 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45807 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45808
94521213
UD
458092011-04-02 Ulrich Drepper <drepper@gmail.com>
45810
45811 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45812
8cb700c0 45813 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 45814
0354e355
L
458152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45816
45817 [BZ #12518]
45818 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45819 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45820 * sysdeps/x86_64/memmove.c: New file.
45821 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45822 (memcpy): Renamed to ...
45823 (__new_memcpy): This.
45824 (memcpy): Provide GLIBC_2_14 memcpy.
45825 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45826 (memcpy): Provide GLIBC_2_2_5 memcpy.
45827
8593482f
UD
458282011-04-01 Ulrich Drepper <drepper@gmail.com>
45829
45830 [BZ #12631]
45831 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45832
81a5726b
AS
458332011-03-30 Andreas Schwab <schwab@redhat.com>
45834
45835 * misc/syncfs.c: New file.
45836 * misc/Makefile (routines): Add syncfs.
45837 * posix/unistd.h: Declare syncfs.
45838 * sysdeps/unix/syscalls.list: Add syncfs.
45839
00e5419f
AS
458402011-04-01 Andreas Schwab <schwab@redhat.com>
45841
45842 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45843 open_by_handle_at.
45844 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45845 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45847 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45849 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45851
748876bf
UD
458522011-04-01 Ulrich Drepper <drepper@gmail.com>
45853
658e451d
UD
45854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45856 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45861
748876bf
UD
45862 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45863 sync_file_range.c with -fexceptions.
45864 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45865 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45866 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45867 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45868 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45869 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45870 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
45871 sync_file_range as cancellation point
45872 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45873 now a wrapper around __call_sync_file_range with cancellation handling.
45874 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45875 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45876 function name to __call_sync_file_range.
45877 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45878 Add call_sync_file_range.
748876bf 45879
6e63d5e1
AS
458802011-04-01 Andreas Schwab <schwab@redhat.com>
45881
45882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 45883 bits/timex.h.
6e63d5e1 45884
46998f74
UD
458852011-04-01 Ulrich Drepper <drepper@gmail.com>
45886
4c1423ed
UD
45887 * iconv/iconv.h: Fix typo in comment.
45888 * io/fcntl.h: Likewise.
45889 * libio/stdio.h: Likewise.
45890 * posix/spawn.h: Likewise.
45891 * posix/unistd.h: Likewise.
45892 * stdlib/stdlib.h: Likewise.
45893 * time/time.h: Likewise.
45894 * wcsmbs/wchar.h: Likewise.
45895
158648c0
UD
45896 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45897 open_by_handle): Add.
45898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45899 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45900 Augment a few comments.
45901 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45903 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45906 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45907 open_by_handle.
45908
46998f74
UD
45909 * io/fcntl.h (AT_EMPTY_PATH): Define.
45910
83fe108b
UD
459112011-03-30 Ulrich Drepper <drepper@gmail.com>
45912
45913 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45914 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45915 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45916 to...
45917 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
45918 * Versions.def: Add GLIBC_2.14.
45919 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45920 Export.
83fe108b 45921
bb242059
UD
459222011-03-22 Ulrich Drepper <drepper@gmail.com>
45923
45924 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45925 round counter.
45926 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45927
c97a1282
L
459282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45929
45930 [BZ #12597]
45931 * string/test-strncmp.c (do_page_test): New function.
45932 (check2): Likewise.
45933 (test_main): Call check2.
45934 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45935
2a115601
UD
459362011-03-20 Ulrich Drepper <drepper@gmail.com>
45937
45938 [BZ #12587]
45939 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45940 Handle cache information in CPU leaf 4.
45941 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45942
8126d904
UD
459432011-03-18 Ulrich Drepper <drepper@gmail.com>
45944
042c49c6 45945 [BZ #12583]
8126d904
UD
45946 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45947 character representation.
45948 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45949
ccfe366e
RA
459502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45951
45952 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45953 END(__isnan) to END(__isnanf) to match function entry point/label
45954 EALIGN(__isnanf,...).
45955
c6e13027
JJ
459562011-03-10 Jakub Jelinek <jakub@redhat.com>
45957
45958 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45959
33f85a3f
UD
459602011-03-10 Ulrich Drepper <drepper@gmail.com>
45961
028478fa
UD
45962 [BZ #12510]
45963 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45964 copy from the symbol referenced in the relocation to initialize the
45965 used variable.
45966 Patch by Piotr Bury <pbury@goahead.com>.
45967 * elf/Makefile: Add rules to build and tst-unique3.
45968 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45969 * elf/tst-unique3.cc: New file.
45970 * elf/tst-unique3.h: New file.
45971 * elf/tst-unique3lib.cc: New file.
45972 * elf/tst-unique3lib2.cc: New file.
45973
33f85a3f
UD
45974 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45975
03592fc7
MF
459762011-03-10 Mike Frysinger <vapier@gentoo.org>
45977
45978 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45979 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45980 to _start.
03592fc7 45981
6a5ee102
UD
459822011-03-06 Ulrich Drepper <drepper@gmail.com>
45983
45984 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45985 to-be-loaded object along a path to loader is ld.so.
45986
7e4ba49c
HJ
459872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45988 Ulrich Drepper <drepper@gmail.com>
45989
45990 * sysdeps/x86_64/memset.S: After aligning destination, code
45991 branches to different locations depending on the value of
45992 misalignment, when multiarch is enabled. Fix this.
45993
459942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45995
45996 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45997 Set _x86_64_preferred_memory_instruction for AMD processsors.
45998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45999 Set bit_Prefer_SSE_for_memop for AMD processors.
46000
13a804de
UD
460012011-03-04 Ulrich Drepper <drepper@gmail.com>
46002
46003 * libio/fmemopen.c (fmemopen): Optimize a bit.
46004
9d25c392
AS
460052011-03-03 Andreas Schwab <schwab@redhat.com>
46006
46007 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46008
a5543c6a
RM
460092011-03-03 Roland McGrath <roland@redhat.com>
46010
46011 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46012
012d35f7
DM
460132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46014
7e4ba49c 46015 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
46016 __bzero_ultra1 instead of __memset_ultra1.
46017
4bff6e01
AS
460182011-02-23 Andreas Schwab <schwab@redhat.com>
46019 Ulrich Drepper <drepper@gmail.com>
46020
46021 [BZ #12509]
46022 * include/link.h (struct link_map): Add l_orig_initfini.
46023 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46024 returning unsuccessfully.
46025 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46026 close of a file loaded at startup, restore the original l_initfini
46027 list.
46028 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46029 list, store the pointer.
46030 * elf/Makefile ($(objpfx)noload-mem): New rule.
46031 (noload-ENV): Define.
46032 (tests): Add $(objpfx)noload-mem.
46033 * elf/noload.c: Include <memcheck.h>.
46034 (main): Call mtrace. Close all opened handles.
46035
f2092faf
AS
460362011-02-17 Andreas Schwab <schwab@redhat.com>
46037
46038 [BZ #12454]
46039 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46040 dependencies are missing.
46041
6c8a2e88
ST
460422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46043
f2092faf 46044 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
46045 Hurd needs munmap.
46046 * sysdeps/mach/hurd/ifreq.h: New file.
46047
84a42118
PB
460482011-01-27 Petr Baudis <pasky@suse.cz>
46049 Ulrich Drepper <drepper@gmail.com>
46050
071f805e 46051 [BZ 12445]#
84a42118
PB
46052 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46053 to extend_alloca().
46054 * stdio-common/bug23.c: New file.
46055 * stdio-common/Makefile (tests): Add bug23.
46056
e23fe25b
AS
460572010-09-28 Andreas Schwab <schwab@redhat.com>
46058 Ulrich Drepper <drepper@gmail.com>
46059
46060 [BZ #12489]
46061 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46062 before performing relro protection. At old place add assertion
46063 to make sure nothing changed.
46064
d3f02e10
NS
460652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46066 Glauber de Oliveira Costa <glommer@gmail.com>
46067
46068 * elf/elf.h: Add new ARM TLS relocs.
46069
d55fd7a5
RA
460702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46071
46072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46073 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46074 cast from r3.
46075 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46076 'tests' variable.
46077 * sysdeps/wordsize-64/tst-writev.c: New file.
46078
2206397e
RA
460792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46080
46081 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46082 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46083 insns in _dl_start to prevent a TOC reference before relocs are
46084 resolved.
46085
e9433893
UD
460862011-02-15 Ulrich Drepper <drepper@gmail.com>
46087
46088 [BZ #12469]
46089 * Makeconfig: Remove RANLIB definition.
46090 * Makerules: Don't use RANLIB.
46091 * aclocal.m4: Remove ranlib test.
46092 * configure.in: No need to check for ranlib.
46093 * elf/rtld-Rules: Don't use RANLIB.
46094
f75286c6
ST
460952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46096
8e31c82d
ST
46097 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46098 protection macro.
46099 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46100 inclusion protection macro.
46101
f75286c6
ST
46102 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46103 SIGRTMIN and SIGRTMAX and print information in that case only when
46104 SIGRTMIN is defined.
46105
c1d0e639
JJ
461062011-02-11 Jakub Jelinek <jakub@redhat.com>
46107
46108 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46109 arginfo fn returning -1.
46110
46111 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46112 and thousands string is zero terminated.
46113
edf9294e
AS
461142011-02-03 Andreas Schwab <schwab@redhat.com>
46115
46116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46117 sysdeps/unix/sysv/linux/bits/socket.h.
46118
2b7e92df
ST
461192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46120
edf9294e
AS
46121 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46122 (__CPU_COUNT): Remove old macros.
46123 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46124 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46125 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
46126 (__sched_cpualloc, __sched_cpufree): Add declarations.
46127
a4c7ea7b
UD
461282011-02-05 Ulrich Drepper <drepper@gmail.com>
46129
46130 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46131 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46132 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46133 (readdhstai): Return value of addhstaiX call.
46134 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46135 (addgrbyX): Return value returned by cache_addgr.
46136 (readdgrbyname): Return value returned by addgrbyX.
46137 (readdgrbygid): Likewise.
46138 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46139 (addpwbyX): Return value returned by cache_addpw.
46140 (readdpwbyname): Return value returned by addhstbyX.
46141 (readdpwbyuid): Likewise.
46142 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46143 (addservbyX): Return value returned by cache_addserv.
46144 (readdservbyname): Return value returned by addservbyX:
46145 (readdservbyport): Likewise.
46146 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46147 (addhstbyX): Return value returned by cache_addhst.
46148 (readdhstbyname): Return value returned by addhstbyX.
46149 (readdhstbyaddr): Likewise.
46150 (readdhstbynamev6): Likewise.
46151 (readdhstbyaddrv6): Likewise.
46152 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46153 (readdinitgroups): Return value returned by addinitgroupsX.
46154 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46155 (prune_cache): Keep track of timeout value of re-added entries.
46156 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46157 * nscd/nscd.h: Adjust prototypes of readd* functions.
46158
a0bf67cc
RM
461592011-02-04 Roland McGrath <roland@redhat.com>
46160
46161 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46162 (nis_stats): Likewise.
46163 * nis/nis_modify.c (nis_modify): Likewise.
46164 * nis/nis_remove.c (nis_remove): Likewise.
46165 * nis/nis_add.c (nis_add): Likewise.
46166
46167 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46168
46169 * posix/fnmatch_loop.c: Add some consts.
46170
46171 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46172
435b95eb
L
461732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46174
46175 [BZ #12460]
46176 * config.make.in (config-cflags-novzeroupper): Define.
46177 * configure.in: Substitute libc_cv_cc_novzeroupper.
46178 * elf/Makefile (AVX-CFLAGS): Define.
46179 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46180 (CFLAGS-tst-auditmod4a.c): Likewise.
46181 (CFLAGS-tst-auditmod4b.c): Likewise.
46182 (CFLAGS-tst-auditmod6b.c): Likewise.
46183 (CFLAGS-tst-auditmod6c.c): Likewise.
46184 (CFLAGS-tst-auditmod7b.c): Likewise.
46185 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46186
8517b15e
UD
461872011-02-02 Ulrich Drepper <drepper@gmail.com>
46188
46189 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46190 function to the callback.
46191 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46192
10a656fe
AS
461932011-02-02 Andreas Schwab <schwab@redhat.com>
46194
46195 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46196 of errno.
46197
968dad0a
UD
461982011-01-19 Ulrich Drepper <drepper@gmail.com>
46199
9f94d2ea 46200 [BZ #11724]
968dad0a
UD
46201 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46202 of constructors.
46203 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46204 of destructors.
46205 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46206
46207 [BZ #11724]
46208 * elf/Makefile: Add rules to build and run new test.
46209 * elf/tst-initorder.c: New file.
46210 * elf/tst-initorder.exp: New file.
46211 * elf/tst-initordera1.c: New file.
46212 * elf/tst-initordera2.c: New file.
46213 * elf/tst-initordera3.c: New file.
46214 * elf/tst-initordera4.c: New file.
46215 * elf/tst-initorderb1.c: New file.
46216 * elf/tst-initorderb2.c: New file.
46217 * elf/tst-order-a1.c: New file.
46218 * elf/tst-order-a2.c: New file.
46219 * elf/tst-order-a3.c: New file.
46220 * elf/tst-order-a4.c: New file.
46221 * elf/tst-order-b1.c: New file.
46222 * elf/tst-order-b2.c: New file.
46223 * elf/tst-order-main.c: New file.
46224 New test case by George Gensure <werkt0@gmail.com>.
46225
86e92359
UD
462262010-10-01 Andreas Schwab <schwab@redhat.com>
46227
46228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46229 decoding ACE if AI_CANONIDN.
46230
5d5732b0
UD
462312011-01-18 Ulrich Drepper <drepper@gmail.com>
46232
46233 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46234
a77e8cbc
UD
462352011-01-17 Ulrich Drepper <drepper@gmail.com>
46236
6392473f
UD
46237 * version.h (RELEASE): Bump for 2.13 release.
46238 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46239
620a0529
UD
46240 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46241
18ba70a5
UD
46242 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46243 MADV_NOHUGEPAGE.
32465c3e
UD
46244 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46245 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46246 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46247 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46249 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46250
c0dafcf1
UD
46251 * posix/getconf.c: Update copyright year.
46252 * catgets/gencat.c: Likewise.
46253 * csu/version.c: Likewise.
46254 * debug/catchsegv.sh: Likewise.
46255 * debug/xtrace.sh: Likewise.
46256 * elf/ldconfig.c: Likewise.
46257 * elf/ldd.bash.in: Likewise.
46258 * elf/sprof.c (print_version): Likewise.
46259 * iconv/iconv_prog.c: Likewise.
46260 * iconv/iconvconfig.c: Likewise.
46261 * locale/programs/locale.c: Likewise.
46262 * locale/programs/localedef.c: Likewise.
46263 * malloc/memusage.sh: Likewise.
46264 * malloc/mtrace.pl: Likewise.
46265 * nscd/nscd.c (print_version): Likewise.
46266 * nss/getent.c: Likewise.
46267
a77e8cbc
UD
46268 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46269 PF_CAIF, and PF_ALG.
46270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46271
77e8bddf
AS
462722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46273
1f20b93a
AS
46274 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46275 (modules-names): Use them.
46276 (ifunc-test-modules, ifunc-pie-tests): Define.
46277 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46278 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46279 (test-extras): Likewise.
46280 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46281 $(compile-command.c).
46282 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46283 (all-built-dso): Define.
46284 (check-textrel.out, check-execstack.out): Depend on it.
46285
77e8bddf
AS
46286 * configure.in: Don't override --enable-multi-arch.
46287
bc425b33
UD
462882011-01-15 Ulrich Drepper <drepper@gmail.com>
46289
46290 [BZ #6812]
46291 * nscd/hstcache.c (tryagain): Define.
46292 (cache_addhst): Return tryagain not notfound for temporary errors.
46293 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46294 failed.
46295
794c3ad3
UD
462962011-01-14 Ulrich Drepper <drepper@gmail.com>
46297
70181fdd
UD
46298 [BZ #10563]
46299 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46300 to make the syscall.
46301 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46302
794c3ad3
UD
46303 [BZ #12378]
46304 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46305 and fall back to matching as normal character if the string ends before
46306 the matching ']' is found. This is what POSIX requires.
46307 * posix/testfnm.c: Adjust test result.
46308 * posix/globtest.sh: Adjust test result. Add new test.
46309 * posix/tst-fnmatch.input: Likewise.
46310 * posix/tst-fnmatch2.c: Add new test.
46311
68dc9497
AS
463122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46313
46314 * elf/Makefile (check-execstack): Revert last change. Depend on
46315 check-execstack.h.
46316 (check-execstack.h): New target.
46317 (generated): Add check-execstack.h.
46318 * elf/check-execstack.c: Include "check-execstack.h".
46319 (main): Revert last change.
46320 (handle_file): Return zero if GNU_STACK is absent and
46321 DEFAULT_STACK_PERMS doesn't include PF_X.
46322
451f001b
UD
463232011-01-13 Ulrich Drepper <drepper@gmail.com>
46324
cfa28e56
UD
46325 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46326 in child fails because the descriptor is already closed.
8cf8ce17
UD
46327 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46328 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46329 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 46330
1086d70d
UD
46331 [BZ #12397]
46332 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46333 syscall.
46334
451f001b
UD
46335 [BZ #10484]
46336 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46337 temporary buffer used to handle multi lookups locally.
a85b5cb4 46338 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 46339
08769175
UD
463402011-01-12 Ulrich Drepper <drepper@gmail.com>
46341
46342 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46343 loader is ld.so.
46344
5e49c52e
UD
463452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46346
46347 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46348 alignment for SSE2.
46349
60522a5f
UD
463502011-01-12 Ulrich Drepper <drepper@gmail.com>
46351
46352 [BZ #12394]
46353 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46354 characters. When rounding increased number of integer digits recompute
46355 number of groups.
46356 * stdio-common/tst-grouping.c: New file.
46357 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46358
f257bbd7
UD
463592011-01-09 Ulrich Drepper <drepper@gmail.com>
46360
46361 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46362 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46363
46364 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46365 void.
46366 * bits/select.h: Likewise.
46367
fa9c15cb
UD
463682011-01-08 Ulrich Drepper <drepper@gmail.com>
46369
46370 * po/ja.po: Update from translation team.
46371
16c2895f
DM
463722011-01-04 David S. Miller <davem@sunset.davemloft.net>
46373
46374 [BZ #11155]
46375 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46376 implementation just like for lxstat, fxstatat, et al.
46377
2543fef2
JM
463782010-12-27 Jim Meyering <meyering@redhat.com>
46379
46380 [BZ #12348]
46381 * posix/regexec.c (build_trtable): Return failure indication upon
46382 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46383
98727dbe
UD
463842010-12-25 Ulrich Drepper <drepper@gmail.com>
46385
5bd6dc5c
UD
46386 [BZ #12201]
46387 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46388 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46389 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46390 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46391
97983464
UD
46392 [BZ #12207]
46393 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46394
98727dbe
UD
46395 [BZ #12204]
46396 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46397 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46398
4a531bb0
L
463992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46400
46401 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46402 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46403 script has SORT_BY_INIT_PRIORITY.
46404 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46405 NO_CTORS_DTORS_SECTIONS is defined.
46406 * elf/soinit.c: Likewise.
46407 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46408 NO_CTORS_DTORS_SECTIONS is defined.
46409 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46410 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46411 * sysdeps/sh/init-first.c: Likewise.
46412 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46413
07eb4b71
UD
464142010-12-24 Ulrich Drepper <drepper@gmail.com>
46415
46416 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46417 always use the slow path.
46418
30950a5f
RA
464192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46420
46421 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46422 similar rule which adds the sysdep directories to the header search in
46423 order to pick up the correct platform stackinfo.h.
46424 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46425 perform test if it is, otherwise return successfully without testing.
46426 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46427 DEFAULT_STACK_PERMS define in stackinfo.h.
46428 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46429 defined in stackinfo.h.
46430 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46431 DEFAULT_STACK_PERMS defined in stackinfo.h.
46432 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46433 * sysdeps/ia64/stackinfo.h: Likewise.
46434 * sysdeps/s390/stackinfo.h: Likewise.
46435 * sysdeps/sh/stackinfo.h: Likewise.
46436 * sysdeps/sparc/stackinfo.h: Likewise.
46437 * sysdeps/x86_64/stackinfo.h: Likewise.
46438 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46439 PF_X for powerpc64. Retain PF_X for powerpc32.
46440
db753e2c
UD
464412010-12-19 Ulrich Drepper <drepper@gmail.com>
46442
14b697f7
UD
46443 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46444 accurately.
db753e2c
UD
46445 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46446 GETDENTS_64BIT_ALIGNED.
46447
28300719
UD
464482010-12-14 Ulrich Drepper <dreper@gmail.com>
46449
14b697f7 46450 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 46451
4f197237
AS
464522010-12-10 Andreas Schwab <schwab@redhat.com>
46453
dbb0472f
AS
46454 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46455 _GNU_SOURCE.
46456
4f197237
AS
46457 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46458 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46459 Remove __restrict.
46460 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46461 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46462
fb88ac72
UD
464632010-12-09 Ulrich Drepper <drepper@gmail.com>
46464
46465 [BZ #11655]
46466 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46467 are initialized.
46468
42acbb92
JJ
464692010-12-09 Jakub Jelinek <jakub@redhat.com>
46470
46471 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46472
c038d98d
UD
464732010-12-03 Ulrich Drepper <drepper@gmail.com>
46474
46475 * po/it.po: Update from translation team.
46476
3a4a2499
L
464772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46478
46479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46480 unused codes.
46481
1e24cf6e
UD
464822010-11-30 Ulrich Drepper <drepper@gmail.com>
46483
46484 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46485
a7690819
AS
464862010-11-24 Andreas Schwab <schwab@redhat.com>
46487
46488 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46489 specially.
46490 (gaih_getanswer_slice): Likewise.
46491
3bf8d1b1
JJ
464922010-10-20 Jakub Jelinek <jakub@redhat.com>
46493
46494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46495
6db52fbb
PB
464962010-05-31 Petr Baudis <pasky@suse.cz>
46497
46498 [BZ #11149]
46499 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46500 silently even in the chroot mode.
46501
eaca7569
UD
465022010-11-22 Ulrich Drepper <drepper@gmail.com>
46503
46504 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46505 last patch a bit. Pretty printing
46506
3056dcdb
UD
465072010-05-31 Petr Baudis <pasky@suse.cz>
46508
46509 [BZ #10085]
46510 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46511 initialization of skip_initgroups_dyn.
46512
cf7c9078
UD
465132010-11-19 Ulrich Drepper <drepper@gmail.com>
46514
46515 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46516 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46517
a1fb5e3e
UD
465182010-11-16 Ulrich Drepper <drepper@gmail.com>
46519
46520 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46521
3540d66b
AS
465222010-11-11 Andreas Schwab <schwab@redhat.com>
46523
46524 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46525 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46526 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46527 ($(objpfx)tst-fnmatch-mem): New rule.
46528 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46529 * posix/tst-fnmatch.c (main): Call mtrace.
46530
13b69574
L
465312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46532
46533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46534 Support Intel processor model 6 and model 0x2c.
46535
da93d214
LM
465362010-11-10 Luis Machado <luisgpm@br.ibm.com>
46537
46538 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46539 signed comparison.
46540
8ca52c6e
L
465412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46542
46543 [BZ #12205]
46544 * string/test-strncasecmp.c (check_result): New function.
46545 (do_one_test): Use it.
46546 (check1): New function.
46547 (test_main): Use it.
46548 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46549 Support strcasecmp and strncasecmp.
46550
69da074d
UD
465512010-11-08 Ulrich Drepper <drepper@gmail.com>
46552
46553 [BZ #12194]
46554 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46555 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46556
ff02d528
L
465572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46558
46559 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46560 IFUNC support.
46561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46562 memset-x86-64.
46563 * sysdeps/x86_64/multiarch/bzero.S: New file.
46564 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46565 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46566 * sysdeps/x86_64/multiarch/memset.S: New file.
46567 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46569 Set bit_Prefer_SSE_for_memop for Intel processors.
46570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46571 Define.
46572 (index_Prefer_SSE_for_memop): Define.
46573 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46574
344d0b54
LM
465752010-11-04 Luis Machado <luisgpm@br.ibm.com>
46576
46577 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46578 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46579
c0dde15b
UD
465802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46581
46582 [BZ #12191]
46583 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46584 (__x86_64_raw_data_cache_size_half): Likewise.
46585 (__x86_64_raw_shared_cache_size): Likewise.
46586 (__x86_64_raw_shared_cache_size_half): Likewise.
46587
46588 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46589 (__x86_64_raw_data_cache_size_half): Likewise.
46590 (__x86_64_raw_shared_cache_size): Likewise.
46591 (__x86_64_raw_shared_cache_size_half): Likewise.
46592 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46593 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46594 and __x86_64_raw_shared_cache_size_half. Round
46595 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46596 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46597 to multiple of 256 bytes.
46598
0e516e0e
MS
465992010-11-03 Ulrich Drepper <drepper@gmail.com>
46600
46601 [BZ #12167]
46602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46603 of inacessible symlinks. Verify result of symlink before returning it.
46604 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46605 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46606
0e012e87
ER
466072010-10-28 Erich Ritz <erichritz@gmail.com>
46608
46609 * math/math.h (isinf): Fix typo in comment.
46610
de0ff7bc
UD
466112010-11-01 Ulrich Drepper <drepper@gmail.com>
46612
46613 * po/da.po: Update from translation team.
46614
fa41c84d
UD
466152010-10-26 Ulrich Drepper <drepper@gmail.com>
46616
46617 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46618 is added to the list.
46619
f0967738
AK
466202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46621 Ulrich Drepper <drepper@gmail.com>
46622
46623 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46624 the global list here. Move code to...
46625 (_dl_add_to_namespace_list): ...here. New function.
46626 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46627 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46628 * elf/dl-load.c (lose): Don't remove the element from the list.
46629 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46630 (_dl_map_object): Likewise.
46631
466322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
46633
46634 [BZ #12159]
46635 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46636 into all bytes of SSE register.
46637 Patch by Richard Li <richardpku@gmail.com>.
46638
f0967738 466392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
46640
46641 [BZ #12140]
46642 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46643 perturbing.
46644
d0b9e94f
MB
466452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46646
46647 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46648 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46649 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46650 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46652 submachine.
46653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46654
8e9f92e9
AS
466552010-10-22 Andreas Schwab <schwab@redhat.com>
46656
46657 * include/dlfcn.h (__RTLD_SECURE): Define.
46658 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46659 mode & __RTLD_SECURE instead.
46660 (open_path): Rename preloaded parameter to secure.
46661 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46662 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46663 * elf/dl-deps.c (openaux): Likewise.
46664 * elf/rtld.c (struct map_args): Remove is_preloaded.
46665 (map_doit): Don't use it.
46666 (dl_main): Likewise.
46667 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46668 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46669
bc96fbda
AS
466702010-09-09 Andreas Schwab <schwab@redhat.com>
46671
46672 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46673 (sysd-rules-targets): Remove duplicates.
46674 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46675 rtld-%.$o dependency.
46676
22cd1c9b
AS
466772010-10-18 Andreas Schwab <schwab@redhat.com>
46678
46679 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46680 _dl_map_object do it.
46681
18edac48
UD
466822010-10-19 Ulrich Drepper <drepper@gmail.com>
46683
46684 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46685 fast fma builtins, define the macros in the C99 standard.
46686 (FP_FAST_FMAF): Likewise.
46687 (FP_FAST_FMAL): Likewise.
46688 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46689
46690 * bits/mathdef.h: Update copyright year.
46691 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46692
d2050124
MM
466932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46694
46695 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46696 builtins, define the macros in the C99 standard.
46697 (FP_FAST_FMAF): Likewise.
46698 (FP_FAST_FMAL): Likewise.
46699 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46700 multiply/add.
46701 (FP_FAST_FMAF): Likewise.
46702
475facd1
JJ
467032010-10-15 Jakub Jelinek <jakub@redhat.com>
46704
46705 [BZ #3268]
46706 * math/libm-test.inc (fma_test): Some new testcases.
46707 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46708 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46709 y and infinite z. Do multiplication by C already in long double.
46710 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46712 y and infinite z. Do bitwise or of inexact bit into u.d.
46713 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46714 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46715 * sysdeps/i386/fpu/s_fma.S: Removed.
46716 * sysdeps/i386/fpu/s_fmal.S: Removed.
46717
7c08a05c
JJ
467182010-10-16 Jakub Jelinek <jakub@redhat.com>
46719
46720 [BZ #3268]
46721 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46723 computation is not scheduled after fetestexcept. Fix value
46724 of minimum denormal long double.
46725
f3f7372d
JJ
467262010-10-14 Jakub Jelinek <jakub@redhat.com>
46727
46728 [BZ #3268]
46729 * math/libm-test.inc (fma_test): Add some more tests.
46730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46731 correctly.
46732
14d43591
AS
467332010-10-15 Andreas Schwab <schwab@redhat.com>
46734
46735 * scripts/data/localplt-s390-linux-gnu.data: New file.
46736 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46737
5e908464
JJ
467382010-10-13 Jakub Jelinek <jakub@redhat.com>
46739
46740 [BZ #3268]
46741 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46742 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46743 instead of dbl-64.
46744 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46745 inlines.
46746 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46748 if one of x and y is very large and the other is subnormal.
46749 * sysdeps/s390/fpu/s_fmaf.c: New file.
46750 * sysdeps/s390/fpu/s_fma.c: New file.
46751 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46752 * sysdeps/powerpc/fpu/s_fma.S: New file.
46753 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46754 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46755 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46756
467572010-10-12 Jakub Jelinek <jakub@redhat.com>
46758
46759 [BZ #3268]
46760 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46761 fma tests.
46762 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46763 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46764 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46765 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46766 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46767 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46768 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46769
b833d51f
UD
467702010-10-12 Ulrich Drepper <drepper@redhat.com>
46771
46772 [BZ #12078]
46773 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46774 * posix/bug-regex31.input: Add test case.
46775
1751705d
UD
467762010-10-11 Ulrich Drepper <drepper@gmail.com>
46777
e9b9cbf5
UD
46778 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46779 * posix/bug-regex31.input: New file.
46780
46781 [BZ #12078]
46782 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46783 (parse_sub_exp): Fix last change, use postorder.
46784
ef06edbe
UD
46785 * posix/bug-regex31.c: New file.
46786 * posix/Makefile: Add rules to build and run bug-regex31.
46787
a129c80d
UD
46788 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46789
46790 [BZ #12078]
46791 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46792
b76b818e
UD
46793 [BZ #12108]
46794 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46795 to have entries in sys_siglist.
46796
1751705d
UD
46797 [BZ #12093]
46798 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46799 be NULL.
46800
9ff8d36f
JJ
468012010-10-07 Jakub Jelinek <jakub@redhat.com>
46802
46803 [BZ #3268]
46804 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46805 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46806 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46807 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46808 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46809 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46810 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46811 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46812 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46813 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46814 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46815 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46816 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46817 * math/ftestexcept.c (fetestexcept): Likewise.
46818 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46819 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46820 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46821 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46822 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46823 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46824 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46825
af325969
UD
468262010-10-11 Ulrich Drepper <drepper@gmail.com>
46827
c579b202 46828 [BZ #12107]
af325969
UD
46829 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46830 newline.
46831
67a67b95
UD
468322010-10-06 Ulrich Drepper <drepper@gmail.com>
46833
46834 * string/bug-strstr1.c: New file.
46835 * string/Makefile: Add rules to build and run bug-strstr1.
46836
5fb308bc
EB
468372010-10-05 Eric Blake <eblake@redhat.com>
46838
46839 [BZ #12092]
46840 * string/str-two-way.h (two_way_long_needle): Always clear memory
46841 when skipping input due to the shift table.
46842
45db99c7
UD
468432010-10-03 Ulrich Drepper <drepper@gmail.com>
46844
3b111893
UD
46845 [BZ #12005]
46846 * malloc/mcheck.c: Handle large requests.
46847
45db99c7
UD
46848 [BZ #12077]
46849 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46850 for strncmp and strncasecmp.
46851 * string/stratcliff.c: Add tests for strcmp and strncmp.
46852 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46853
cf7a1eb8
NI
468542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46855
46856 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46857 __set_fpscr.
46858
6484ba5e
AJ
468592010-09-30 Andreas Jaeger <aj@suse.de>
46860
46861 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46862 (CGROUP_SUPER_MAGIC): Define.
46863 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46864 Handle btrfs and cgroup file systems.
46865 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46866 Likewise.
46867
91c42559
LM
468682010-09-27 Luis Machado <luisgpm@br.ibm.com>
46869
46870 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46871 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46872
87a97932
AK
468732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46874
46875 [BZ #12067]
46876 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46877 trying to locate the ELF header.
46878
c21cc9bc
AS
468792010-09-27 Andreas Schwab <schwab@redhat.com>
46880
46881 [BZ #11611]
46882 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46883 Mask out sign-bit copies when constructing f_fsid.
46884
315970f6
PB
468852010-09-24 Petr Baudis <pasky@suse.cz>
46886
46887 * debug/stack_chk_fail_local.c: Add missing licence exception.
46888 * debug/warning-nop.c: Likewise.
46889
1ac7a2c7
JM
468902010-09-15 Joseph Myers <joseph@codesourcery.com>
46891
46892 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46893 implementing getdents64 using getdents syscall, set d_type if
46894 __ASSUME_GETDENTS32_D_TYPE.
46895
56801c50
AS
468962010-09-16 Andreas Schwab <schwab@redhat.com>
46897
46898 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46899 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46900
dda51327
UD
469012010-09-21 Ulrich Drepper <drepper@redhat.com>
46902
46903 [BZ #12037]
46904 * posix/unistd.h: Undo change of feature selection for ftruncate from
46905 2010-01-11.
46906
8ffcee4a
UD
469072010-09-20 Ulrich Drepper <drepper@redhat.com>
46908
a545ecd9 46909 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
46910 detection.
46911
e24f0a8b
AS
469122010-09-20 Andreas Schwab <schwab@redhat.com>
46913
46914 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46915 fanotify_mark.
46916 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46917
7291c56f
AS
469182010-09-14 Andreas Schwab <schwab@redhat.com>
46919
46920 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46921 variables after CHECK_SP call.
46922 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46923
bc5fb037
AS
469242010-09-13 Andreas Schwab <schwab@redhat.com>
46925 Ulrich Drepper <drepper@redhat.com>
46926
46927 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46928 re-relocationg ld.so.
46929 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46930 _dl_init_paths call.
46931 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46932 here anymore.
46933
e66e7419
UD
469342010-09-14 Ulrich Drepper <drepper@redhat.com>
46935
46936 * resolv/res_init.c (__res_vinit): Count the default server we added.
46937
c044aa75
CLT
469382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46939 Ulrich Drepper <drepper@redhat.com>
46940
46941 [BZ #11968]
46942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46943 (____longjmp_chk): Use %ebx for saving value across system call.
46944 Add unwind info.
46945
32cf4069
AS
469462010-09-06 Andreas Schwab <schwab@redhat.com>
46947
46948 * manual/Makefile: Don't mix pattern rules with normal rules.
46949
817328ee
AS
469502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46951
46952 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46953 operation.
46954 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46955 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46956 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46957 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46958 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46959 Likewise.
46960
29fddf61
UD
469612010-09-04 Ulrich Drepper <drepper@redhat.com>
46962
46963 [BZ #11979]
46964 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46965 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46966
0959ffc9
UD
469672010-09-02 Ulrich Drepper <drepper@redhat.com>
46968
46969 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46970 * sysdeps/x86_64/addmul_1.S: Likewise.
46971 * sysdeps/x86_64/lshift.S: Likewise.
46972 * sysdeps/x86_64/mul_1.S: Likewise.
46973 * sysdeps/x86_64/rshift.S: Likewise.
46974 * sysdeps/x86_64/sub_n.S: Likewise.
46975 * sysdeps/x86_64/submul_1.S: Likewise.
46976
ece29840
ST
469772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46978
0959ffc9
UD
46979 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46980 Define __sched_param instead of SCHED_* and sched_param when
ece29840 46981 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 46982 * bits/sched.h [__need_schedparam]
ece29840 46983 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
46984 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46985 (__defined_schedparam): Define to 1.
ece29840
ST
46986 (__sched_param): New structure, identical to sched_param.
46987 (__need_schedparam): Undefine.
46988
e53a31fe
MF
469892010-08-31 Mike Frysinger <vapier@gentoo.org>
46990
fdc0c10d
MF
46991 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46992 (epoll_create1): Declare.
46993
e53a31fe
MF
46994 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46995
a726d796
AS
469962010-08-31 Andreas Schwab <schwab@redhat.com>
46997
46998 [BZ #7066]
46999 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47000 shifting retval into place.
47001
2f3e3dc7
UD
470022010-09-01 Ulrich Drepper <drepper@redhat.com>
47003
f2933da9
UD
47004 * nis/rpcsvc/nis.h: Update copyright notice.
47005 * nis/rpcsvc/nis.x: Likewise.
47006 * nis/rpcsvc/nis_callback.h: Likewise.
47007 * nis/rpcsvc/nis_callback.x: Likewise.
47008 * nis/rpcsvc/nis_object.x: Likewise.
47009 * nis/rpcsvc/nis_tags.h: Likewise.
47010 * nis/rpcsvc/yp.h: Likewise.
47011 * nis/rpcsvc/yp.x: Likewise.
47012 * nis/rpcsvc/ypupd.h: Likewise.
47013 * nis/yp_xdr.c: Likewise.
47014 * nis/ypupdate_xdr.c: Likewise.
47015
2f3e3dc7
UD
47016 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47017 mainly the body of pmap_getport. Add parameters to specify timeouts.
47018 (pmap_getport): Use __libc_rpc_getport.
47019 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47020 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47021 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47022
f3dcc2f9
AS
470232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47024
47025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47026 fanotify_mark.
47027
6d34eb5b
RM
470282010-08-27 Roland McGrath <roland@redhat.com>
47029
47030 * sysdeps/i386/i686/multiarch/Makefile
47031 (CFLAGS-varshift.c): New variable.
47032
9ea3de11
UD
470332010-08-27 Ulrich Drepper <drepper@redhat.com>
47034
c96d23fc
UD
47035 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47036 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47037
9ea3de11
UD
47038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47039
47040 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47041
623aac7f
L
470422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47043
47044 * sysdeps/x86_64/strlen.S: Unroll the loop.
47045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47046 strlen-sse2 strlen-sse2-bsf.
47047 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47048 __strlen_no_bsf if bit_Slow_BSF is set.
47049 (__strlen_sse42): Removed.
47050 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47051 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47052
8b2b7715
RM
470532010-08-25 Roland McGrath <roland@redhat.com>
47054
47055 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47056 * sysdeps/x86_64/multiarch/varshift.c: New file.
47057 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47058 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47059 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47060 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47061
e73015f2
L
470622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47063
47064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47065 strlen-sse2 strlen-sse2-bsf.
47066 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47067 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47068 (__strlen_sse2): Removed.
47069 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47072 bit_Slow_BSF for Atom.
47073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47074 (index_Slow_BSF): Define.
47075 (HAS_SLOW_BSF): Define.
47076
df24a73e
UD
470772010-08-25 Ulrich Drepper <drepper@redhat.com>
47078
47079 [BZ #10851]
47080 * resolv/res_init.c (__res_vinit): When no server address at all
47081 is given default to loopback.
47082
f2ac4868
RM
470832010-08-24 Roland McGrath <roland@redhat.com>
47084
09055553
RM
47085 * configure.in: Remove config-name.h generation.
47086 * configure: Regenerated.
47087 * config-name.in: File removed.
47088 * scripts/config-uname.sh: New file.
47089 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47090 ($(objdir)config-name.h): New target.
47091
f2ac4868
RM
47092 * sunrpc/rpc_parse.h: Avoid nested comment.
47093
73f27d5e
RH
470942010-08-24 Richard Henderson <rth@redhat.com>
47095 Ulrich Drepper <drepper@redhat.com>
47096 H.J. Lu <hongjiu.lu@intel.com>
47097
47098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47100 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47101 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47102 _mm_alignr_epi8 with _mm_loadu_si128.
47103 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47104 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47105 (__m128i_shift_right): Removed.
47106 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47107 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47108 * sysdeps/x86_64/multiarch/varshift.h: New file.
47109 * sysdeps/x86_64/multiarch/varshift.S: New file.
47110
84b9230c
MF
471112010-08-21 Mike Frysinger <vapier@gentoo.org>
47112
47113 * configure.in: Move assembler checks to before sysdep dir checking.
47114
9bbd0ddc
PB
471152010-08-20 Petr Baudis <pasky@suse.cz>
47116
47117 * LICENSES: Sync the sunrpc license.
47118
9da4bb31
UD
471192010-08-19 Ulrich Drepper <drepper@redhat.com>
47120
a7ab6ec8
UD
47121 * sunrpc/auth_des.c: Update copyright notice once again.
47122 * sunrpc/auth_none.c: Likewise.
47123 * sunrpc/auth_unix.c: Likewise.
47124 * sunrpc/authdes_prot.c: Likewise.
47125 * sunrpc/authuxprot.c: Likewise.
47126 * sunrpc/bindrsvprt.c: Likewise.
47127 * sunrpc/clnt_gen.c: Likewise.
47128 * sunrpc/clnt_perr.c: Likewise.
47129 * sunrpc/clnt_raw.c: Likewise.
47130 * sunrpc/clnt_simp.c: Likewise.
47131 * sunrpc/clnt_tcp.c: Likewise.
47132 * sunrpc/clnt_udp.c: Likewise.
47133 * sunrpc/clnt_unix.c: Likewise.
47134 * sunrpc/des_crypt.c: Likewise.
47135 * sunrpc/des_soft.c: Likewise.
47136 * sunrpc/get_myaddr.c: Likewise.
47137 * sunrpc/getrpcport.c: Likewise.
47138 * sunrpc/key_call.c: Likewise.
47139 * sunrpc/key_prot.c: Likewise.
47140 * sunrpc/openchild.c: Likewise.
47141 * sunrpc/pm_getmaps.c: Likewise.
47142 * sunrpc/pm_getport.c: Likewise.
47143 * sunrpc/pmap_clnt.c: Likewise.
47144 * sunrpc/pmap_prot.c: Likewise.
47145 * sunrpc/pmap_prot2.c: Likewise.
47146 * sunrpc/pmap_rmt.c: Likewise.
47147 * sunrpc/rpc/auth.h: Likewise.
47148 * sunrpc/rpc/auth_unix.h: Likewise.
47149 * sunrpc/rpc/clnt.h: Likewise.
47150 * sunrpc/rpc/des_crypt.h: Likewise.
47151 * sunrpc/rpc/key_prot.h: Likewise.
47152 * sunrpc/rpc/netdb.h: Likewise.
47153 * sunrpc/rpc/pmap_clnt.h: Likewise.
47154 * sunrpc/rpc/pmap_prot.h: Likewise.
47155 * sunrpc/rpc/pmap_rmt.h: Likewise.
47156 * sunrpc/rpc/rpc.h: Likewise.
47157 * sunrpc/rpc/rpc_des.h: Likewise.
47158 * sunrpc/rpc/rpc_msg.h: Likewise.
47159 * sunrpc/rpc/svc.h: Likewise.
47160 * sunrpc/rpc/svc_auth.h: Likewise.
47161 * sunrpc/rpc/types.h: Likewise.
47162 * sunrpc/rpc/xdr.h: Likewise.
47163 * sunrpc/rpc_clntout.c: Likewise.
47164 * sunrpc/rpc_cmsg.c: Likewise.
47165 * sunrpc/rpc_common.c: Likewise.
47166 * sunrpc/rpc_cout.c: Likewise.
47167 * sunrpc/rpc_dtable.c: Likewise.
47168 * sunrpc/rpc_hout.c: Likewise.
47169 * sunrpc/rpc_main.c: Likewise.
47170 * sunrpc/rpc_parse.c: Likewise.
47171 * sunrpc/rpc_parse.h: Likewise.
47172 * sunrpc/rpc_prot.c: Likewise.
47173 * sunrpc/rpc_sample.c: Likewise.
47174 * sunrpc/rpc_scan.c: Likewise.
47175 * sunrpc/rpc_scan.h: Likewise.
47176 * sunrpc/rpc_svcout.c: Likewise.
47177 * sunrpc/rpc_tblout.c: Likewise.
47178 * sunrpc/rpc_util.c: Likewise.
47179 * sunrpc/rpc_util.h: Likewise.
47180 * sunrpc/rpcinfo.c: Likewise.
47181 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47182 * sunrpc/rpcsvc/key_prot.x: Likewise.
47183 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47184 * sunrpc/rpcsvc/mount.x: Likewise.
47185 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47186 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47187 * sunrpc/rpcsvc/rex.x: Likewise.
47188 * sunrpc/rpcsvc/rstat.x: Likewise.
47189 * sunrpc/rpcsvc/rusers.x: Likewise.
47190 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47191 * sunrpc/rpcsvc/spray.x: Likewise.
47192 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47193 * sunrpc/rtime.c: Likewise.
47194 * sunrpc/svc.c: Likewise.
47195 * sunrpc/svc_auth.c: Likewise.
47196 * sunrpc/svc_authux.c: Likewise.
47197 * sunrpc/svc_raw.c: Likewise.
47198 * sunrpc/svc_run.c: Likewise.
47199 * sunrpc/svc_simple.c: Likewise.
47200 * sunrpc/svc_tcp.c: Likewise.
47201 * sunrpc/svc_udp.c: Likewise.
47202 * sunrpc/svc_unix.c: Likewise.
47203 * sunrpc/svcauth_des.c: Likewise.
47204 * sunrpc/xcrypt.c: Likewise.
47205 * sunrpc/xdr.c: Likewise.
47206 * sunrpc/xdr_array.c: Likewise.
47207 * sunrpc/xdr_float.c: Likewise.
47208 * sunrpc/xdr_mem.c: Likewise.
47209 * sunrpc/xdr_rec.c: Likewise.
47210 * sunrpc/xdr_ref.c: Likewise.
47211 * sunrpc/xdr_sizeof.c: Likewise.
47212 * sunrpc/xdr_stdio.c: Likewise.
47213
9da4bb31
UD
47214 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47215 handling.
47216
bdaa77bc
AS
472172010-08-19 Andreas Schwab <schwab@redhat.com>
47218
47219 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47220
fe2f79db
LM
472212010-08-19 Luis Machado <luisgpm@br.ibm.com>
47222
47223 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47224 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47225 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47226 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47227 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47228 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47229 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47230 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47231 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47232 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47233 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47234 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47235 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47236 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47237
b9b42ee0
AB
472382010-07-26 Anton Blanchard <anton@samba.org>
47239
47240 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47241 * malloc/arena.c (heap_trim): Likewise.
47242
1c06ba31
UD
472432010-08-16 Ulrich Drepper <drepper@redhat.com>
47244
47245 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47246 here. Not...
47247 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47248 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47249
f8392f40
L
472502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47251
47252 * sysdeps/i386/elf/Makefile: New file.
47253
3162f12e
AS
472542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47255
47256 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47257 from fanotify_init.
47258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47260
28c90b2c
UD
472612010-08-15 Ulrich Drepper <drepper@redhat.com>
47262
47263 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47264 of strncasecmp_l.
1feccb6c 47265 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 47266
ca6bb004
UD
472672010-08-14 Ulrich Drepper <drepper@redhat.com>
47268
e9f82e0d
UD
47269 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47270 strncase_l-nonascii.
47271 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47272 Add strncase_l-ssse3.
47273 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47274 * sysdeps/x86_64/strcmp.S: Likewise.
47275 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47276 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47277 * sysdeps/x86_64/strncase.S: New file.
47278 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47279 * sysdeps/x86_64/strncase_l.S: New file.
47280 * string/Makefile (strop-tests): Add strncasecmp.
47281 * string/test-strncasecmp.c: New file.
47282
47283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47284 warning.
47285
ca6bb004
UD
47286 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47287 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47288
052fa7b3
AS
472892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47290
47291 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47292
962dba78
UD
472932010-08-12 Ulrich Drepper <drepper@redhat.com>
47294
47295 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47296 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47297 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47298
bebff237
AM
472992010-05-01 Alan Modra <amodra@gmail.com>
47300
47301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47302 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47303 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47304 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47305 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47306 tidying. Don't tail-call __sigjmp_save for static lib.
47307 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47308 save location.
47309 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47310 (CALL_MCOUNT): Add eh info, and nop after bl.
47311 (TAIL_CALL_SYSCALL_ERROR): New macro.
47312 (PSEUDO_RET): Use it.
47313 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47314 Correct save location of integer regs and cr.
47315 (_dl_profile_resolve): Correct cr save location. Delete nops
47316 after bl when SHARED. Reduce cfi size a little by better
47317 placement of cfi directives.
47318 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47319 make a stack frame. Instead use parm save area as a temp.
47320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47321 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47323 Don't make a stack frame for parent, use parm save area.
47324 Increase child stack frame to 112 bytes. Don't save unused reg,
47325 and adjust reg usage. Set up cfi on error recovery and
47326 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47328 (__makecontext): Add dummy nop after jump to exit.
47329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47330 Use correct parm save area and cr save, reduce stack frame.
47331 Correct cfi for possible PSEUDO_RET frame setup.
47332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47333 Branch to local label emitted by PSEUDO_RET rather than
47334 __syscall_error.
47335
02637374
AS
473362010-08-12 Andreas Schwab <schwab@redhat.com>
47337
47338 [BZ #11904]
47339 * locale/programs/locale.c (print_assignment): New function.
47340 (show_locale_vars): Use it.
47341
c3e2f19b
UD
473422010-08-11 Ulrich Drepper <drepper@redhat.com>
47343
3cdaa6ad
UD
47344 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47345 field.
47346 (struct statfs64): Likewise.
47347 (_STATFS_F_FLAGS): Define.
47348 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47350 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47351 (ST_VALID): Define locally.
47352 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47353 __statvfs_getflags, use the provided value.
47354 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47355 __ASSUME_STATFS_F_FLAGS.
47356
754f7da3
UD
47357 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47358
10b3bedc
UD
47359 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47360 Add sys/fanotify.h.
47361 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47362 fanotify_mask for GLIBC_2.13.
47363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47364 fanotify_init and fanotify_mark.
47365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47366 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47367
c08fb0d7
UD
47368 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47369 Add prlimit.
47370 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47371 prlimit64 for GLIBC_2.13.
47372 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47373 prlimit64.
47374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47375 syscall.
47376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47377 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47378 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47379 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47381 add prlimit alias.
47382 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47383
15bac72b
UD
47384 [BZ #11903]
47385 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47386 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47387
c3e2f19b
UD
47388 * nss/Makefile: Add rules to build and run tst-nss-test1.
47389 * shlib-versions: Add entry for libnss_test1.
47390 * nss/nss_test1.c: New file.
47391 * nss/tst-nss-test1.c: New file.
47392
47393 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47394 (__nss_configure_lookup): Set appropriate entry in
47395 __nss_configure_lookup to true.
47396 * nss/nsswitch.h: Define enum with indeces of databases in
47397 databases and __nss_database_custom arrays. Declare
47398 __nss_database_custom.
47399 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47400 to avoid using nscd when custom rules are installed.
47401 * nss/getXXbyYY_r.c: Likewise.
47402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47403
47404 * nss/nss_files/files-parse.c: Whitespace fixes.
47405
f15ce4d8
UD
474062010-08-09 Ulrich Drepper <drepper@redhat.com>
47407
47408 [BZ #11883]
47409 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47410 * posix/fnmatch_loop.c: Likewise.
47411
d22e4cc9
AK
474122010-07-17 Andi Kleen <ak@linux.intel.com>
47413
47414 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47415 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47416 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47417 * Versions.def [GLIBC_2.13]: Add.
47418
805bc17d
UD
474192010-08-06 Ulrich Drepper <drepper@redhat.com>
47420
47421 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47422 Also fail if tpwd after pwuid call is NULL.
47423
5a42321d
ST
474242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47425
47426 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47427 when converting to ms.
47428
fd3ebeda
ST
474292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47430
47431 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47432 EOPNOTSUPP errors with ENOTTY.
47433 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47434 EOPNOTSUPP errors with ENOTTY.
47435
73507d3a
UD
474362010-07-31 Ulrich Drepper <drepper@redhat.com>
47437
47438 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47439 Add strcasecmp_l-ssse3.
47440 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47441 strcasecmp.
47442 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47443 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47444 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47445
fe36dd02
UD
474462010-07-30 Ulrich Drepper <drepper@redhat.com>
47447
66f6765a
UD
47448 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47449
42e08a54
UD
47450 * string/Makefile (strop-tests): Add strcasecmp.
47451 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47452 strcasecmp_l-nonascii.
47453 (gen-as-const-headers): Add locale-defines.sym.
47454 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47455 * sysdeps/x86_64/strcasecmp.S: New file.
47456 * sysdeps/x86_64/strcasecmp_l.S: New file.
47457 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47458 * sysdeps/x86_64/locale-defines.sym: New file.
47459 * string/test-strcasecmp.c: New file.
47460
fe36dd02
UD
47461 * string/test-strcasestr.c: Test both ends of the range of characters.
47462 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47463
48cbc0d6
RM
474642010-07-29 Roland McGrath <roland@redhat.com>
47465
76e6d6bc 47466 [BZ #11856]
48cbc0d6
RM
47467 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47468
880113d9
UD
474692010-07-27 Ulrich Drepper <drepper@redhat.com>
47470
47471 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47472 for ld.so.
47473
deb9cabb
AS
474742010-07-27 Andreas Schwab <schwab@redhat.com>
47475
47476 * manual/memory.texi (Malloc Tunable Parameters): Document
47477 M_PERTURB.
47478
1c7570ff
RM
474792010-07-26 Roland McGrath <roland@redhat.com>
47480
47481 [BZ #11840]
47482 * configure.in (-fgnu89-inline check): Set and substitute
47483 gnu89_inline, not libc_cv_gnu89_inline.
47484 * configure: Regenerated.
47485 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47486
24fb0f88
UD
474872010-07-26 Ulrich Drepper <drepper@redhat.com>
47488
47489 * string/test-strnlen.c: New file.
47490 * string/Makefile (strop-tests): Add strnlen.
47491 * string/tester.c (test_strnlen): Add a few more test cases.
47492 * string/tst-strlen.c: Better error reporting.
47493
47494 * sysdeps/x86_64/strnlen.S: New file.
47495
8e96b93a
UD
474962010-07-24 Ulrich Drepper <drepper@redhat.com>
47497
47498 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47499 lower-latency instructions.
47500
dbc676d4
UD
475012010-07-23 Ulrich Drepper <drepper@redhat.com>
47502
47503 * string/test-strcasestr.c: New file.
47504 * string/test-strstr.c: New file.
47505 * string/Makefile (strop-tests): Add strstr and strcasestr.
47506 * string/str-two-way.h: Don't undefine MAX.
47507 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47508
f6a31e0e
AS
475092010-07-21 Andreas Schwab <schwab@redhat.com>
47510
47511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47512 strcasestr-nonascii.
47513 (CFLAGS-strcasestr-nonascii.c): Define.
47514 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47515 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47516 Remove unused attribute.
47517
5dbc3b6c
RM
475182010-07-20 Roland McGrath <roland@redhat.com>
47519
47520 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47521 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47522 ld.so.cache was broken. With it, there is no way to disable dsocaps
47523 like LD_HWCAP_MASK can disable hwcaps.
47524
23d101d8
EPM
475252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47526
47527 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47528
cc9f2e47
UD
475292010-07-16 Ulrich Drepper <drepper@redhat.com>
47530
47531 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47532 call in strcasestr.
47533 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47534 __strcasestr_sse42_nonascii.
47535 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47536 strcasestr-nonascii.c.
47537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47538
77c1b069
LM
475392010-06-15 Luis Machado <luisgpm@br.ibm.com>
47540
47541 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47542 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47543 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47544 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47545
440566c3
UD
475462010-07-09 Ulrich Drepper <drepper@redhat.com>
47547
47548 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47549 fcntl.
47550
5be9d05d
AS
475512010-07-06 Andreas Schwab <schwab@redhat.com>
47552
c30b7ee2 47553 [BZ #11577]
5be9d05d
AS
47554 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47555 dl_signal_cerror.
47556
8a492a67
UD
475572010-07-06 Ulrich Drepper <drepper@redhat.com>
47558
47559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47560 _PC_PIPE_BUF using F_GETPIPE_SZ.
47561
713df3d5
RM
475622010-07-05 Roland McGrath <roland@redhat.com>
47563
47564 * manual/arith.texi (Rounding Functions): Fix rint description
47565 implicit in round description.
47566
702e8f14
UD
475672010-07-02 Ulrich Drepper <drepper@redhat.com>
47568
47569 * elf/Makefile: Fix linking for a few tests to make recent linker
47570 happy.
47571
52ed8be9
AS
475722010-06-30 Andreas Schwab <schwab@redhat.com>
47573
47574 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47575 $(common-objpfx)libc_nonshared.a.
47576
f47c9a11
LM
475772010-06-21 Luis Machado <luisgpm@br.ibm.com>
47578
47579 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47580 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47581 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47582 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47583 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47584 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47585 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47586 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47601 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47602 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47603 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47604 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47605 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47606 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47607 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47608 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47609 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47610 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47611 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47612 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47627
6fb8cbcb
L
476282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47629
47630 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47631 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47632 * string/memmove.c (memmove): Renamed to ...
47633 (MEMMOVE): ...this. Default to memmove.
47634 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47635 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47636 (END_CHK): Define.
47637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47638 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47639 mempcpy-ssse3-back memmove-ssse3-back.
47640 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47641 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47642 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47643 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47644 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47645 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47646 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47647 * sysdeps/x86_64/multiarch/memmove.c: New file.
47648 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47649 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47650 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47651 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47652 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47653 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47654 Define.
47655 (index_Fast_Copy_Backward): Define.
47656 (HAS_ARCH_FEATURE): Define.
47657 (HAS_FAST_REP_STRING): Define.
47658 (HAS_FAST_COPY_BACKWARD): Define.
47659
4e733bac 476602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
47661
47662 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47663 Restore proper fallback handling.
47664
63c4ed22
UD
476652010-06-19 Ulrich Drepper <drepper@redhat.com>
47666
ac2b484c
UD
47667 [BZ #11701]
47668 * posix/group_member.c (__group_member): Correct checking loop.
47669
63c4ed22
UD
47670 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47671 OOM in getpwuid_r correctly. Return error number when the caller
47672 should return, otherwise -1.
47673 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47674 call returning > 0 value.
47675 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47676
765ade4b
AS
476772010-06-07 Andreas Schwab <schwab@redhat.com>
47678
47679 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47680 libc_nonshared.a from targets in modules-names.
47681
80da2e09
KS
476822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47683
47684 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47685 requires it.
47686
158db122
LM
476872010-06-10 Luis Machado <luisgpm@br.ibm.com>
47688
47689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47690 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47693
caa78cf8
AS
476942010-06-02 Andreas Schwab <schwab@redhat.com>
47695
47696 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47697
b2ef2c01
UD
476982010-06-14 Ulrich Drepper <drepper@redhat.com>
47699
47700 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47701 and F_GETPIPE_SZ.
47702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47703 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47707 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47708
fbd643b6
RM
477092010-06-14 Roland McGrath <roland@redhat.com>
47710
47711 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47712
f32f2869
JJ
477132010-06-07 Jakub Jelinek <jakub@redhat.com>
47714
47715 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47716 __REDIRECT followed by __THROW.
47717 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47718 * posix/getopt.h (getopt): Likewise.
47719
2a50c078
EPM
477202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47721
47722 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47723 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47724 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47725 in AT_FLAGS.
47726 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47727 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47728
eb5ad2eb
LM
477292010-05-28 Luis Machado <luisgpm@br.ibm.com>
47730
47731 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47732
3c88fe1e
L
477332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47734
47735 [BZ #11640]
47736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47737 Properly check family and model.
47738
d2f73151
TY
477392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47740
47741 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47742
ebd2e13d
LM
477432010-05-24 Luis Machado <luisgpm@br.ibm.com>
47744
47745 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47746
b32b8b45
UD
477472010-05-21 Ulrich Drepper <drepper@redhat.com>
47748
47749 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47750 symbol reference.
47751
9acbe24d
AS
477522010-05-19 Andreas Schwab <schwab@redhat.com>
47753
47754 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47755 symbol reference.
47756
f0ccf6ea
AS
477572010-05-21 Andreas Schwab <schwab@redhat.com>
47758
3d04ff3a
AS
47759 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47760 and internal_recvmmsg.
47761 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47762 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47763 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47764 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47765
f0ccf6ea
AS
47766 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47767 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47768 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47769
5b08ac57
AS
477702010-05-20 Andreas Schwab <schwab@redhat.com>
47771
47772 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47773
4828935d
LM
477742010-05-17 Luis Machado <luisgpm@br.ibm.com>
47775
47776 POWER7 optimizations.
47777 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47778 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47779
373d545e
UD
477802010-05-19 Ulrich Drepper <drepper@redhat.com>
47781
47782 * version.h: Update for 2.13 development version.
47783
21a2b1ae
AS
477842010-05-12 Andrew Stubbs <ams@codesourcery.com>
47785
47786 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47787 exceptions. Return 0.
47788
3f7dcb2b
RM
477892010-05-07 Roland McGrath <roland@redhat.com>
47790
47791 * elf/ldconfig.c (main): Add a const.
47792
5f24d53a 477932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 47794
a160f8d8
UD
47795 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47796 (args_options): Add no-idn option.
47797 (ahosts_keys_int): Add idn_flags to ai_flags.
47798 (parse_option): Handle 'i' option to clear idn_flags.
47799
5f24d53a
UD
47800 * malloc/malloc.c (_int_free): Possible race in the most recently
47801 added check. Only act on the data if no current modification
47802 happened.
265bb1ce
UD
47803
47804See ChangeLog.17 for earlier changes.